Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-10 23:59:03.853613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 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 1
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/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 : 2 : upload photos already in processing! 
2025-04-11 00:00:06.749194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/15/16/image_06042025_15_17_06_9343.jpg', '/home/pi/Desktop/images/06042025/15/17/image_06042025_15_17_17_10343.jpg', '/home/pi/Desktop/images/06042025/15/17/image_06042025_15_17_26_9429.jpg', '/home/pi/Desktop/images/06042025/15/17/image_06042025_15_17_36_10429.jpg', '/home/pi/Desktop/images/06042025/15/17/image_06042025_15_17_47_10362.jpg', '/home/pi/Desktop/images/06042025/15/17/image_06042025_15_17_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/15/16/image_06042025_15_17_06_9343.jpg
/home/pi/Desktop/images/06042025/15/17/image_06042025_15_17_17_10343.jpg
/home/pi/Desktop/images/06042025/15/17/image_06042025_15_17_26_9429.jpg
/home/pi/Desktop/images/06042025/15/17/image_06042025_15_17_36_10429.jpg
/home/pi/Desktop/images/06042025/15/17/image_06042025_15_17_47_10362.jpg
/home/pi/Desktop/images/06042025/15/17/image_06042025_15_17_56_9360.jpg
2025-04-11 00:00:06.749194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/15/16/image_06042025_15_17_06_9343.jpg', '/home/pi/Desktop/images/06042025/15/17/image_06042025_15_17_17_10343.jpg', '/home/pi/Desktop/images/06042025/15/17/image_06042025_15_17_26_9429.jpg', '/home/pi/Desktop/images/06042025/15/17/image_06042025_15_17_36_10429.jpg', '/home/pi/Desktop/images/06042025/15/17/image_06042025_15_17_47_10362.jpg', '/home/pi/Desktop/images/06042025/15/17/image_06042025_15_17_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/15/16/image_06042025_15_17_06_9343.jpg
/home/pi/Desktop/images/06042025/15/17/image_06042025_15_17_17_10343.jpg
/home/pi/Desktop/images/06042025/15/17/image_06042025_15_17_26_9429.jpg
/home/pi/Desktop/images/06042025/15/17/image_06042025_15_17_36_10429.jpg
/home/pi/Desktop/images/06042025/15/17/image_06042025_15_17_47_10362.jpg
/home/pi/Desktop/images/06042025/15/17/image_06042025_15_17_56_9360.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351366830","1351366838","1351366826","1351366814","1351366852","1351366834"],"photo_ids_order":["1351366814","1351366826","1351366830","1351366834","1351366838","1351366852"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/29c9dd444502ba5b990433ee4041ec63.jpg","text":"TemporaryFile(/tmp/multipartBody1497960719666860422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322469733,"filename":"image_06042025_15_17_26_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3e6ceab7796272387e1925a76b124dd1.jpg","text":"TemporaryFile(/tmp/multipartBody2497699736501393070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322469733,"filename":"image_06042025_15_17_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/11/b91f58f6185956095cf325056e72232c.jpg","text":"TemporaryFile(/tmp/multipartBody3510018792466653848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322469733,"filename":"image_06042025_15_17_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/11/dea8d8c44ab8e5dfd382b78ac69f21d9.jpg","text":"TemporaryFile(/tmp/multipartBody5017068497818959791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322469733,"filename":"image_06042025_15_17_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/11/1a424c3e5d13ced4df6d6c905d8abf9e.jpg","text":"TemporaryFile(/tmp/multipartBody5296610201792864545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322469733,"filename":"image_06042025_15_17_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/11/f87664f5962d7964cef54594e21e0f72.jpg","text":"TemporaryFile(/tmp/multipartBody4562268251863115739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322469733,"filename":"image_06042025_15_17_36_10429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351366830","file1":"1351366826","file0":"1351366814","file4":"1351366838","file5":"1351366852","file3":"1351366834"},"map_files_photo_id_array":[{"photo_id":"1351366852","filename":"file5"},{"photo_id":"1351366830","filename":"file2"},{"photo_id":"1351366838","filename":"file4"},{"photo_id":"1351366826","filename":"file1"},{"photo_id":"1351366814","filename":"file0"},{"photo_id":"1351366834","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351366830":["hashtag1","hashtag2"]},{"1351366838":["hashtag1","hashtag2"]},{"1351366826":["hashtag1","hashtag2"]},{"1351366814":["hashtag1","hashtag2"]},{"1351366852":["hashtag1","hashtag2"]},{"1351366834":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351366830, 1351366838, 1351366826, 1351366814, 1351366852, 1351366834)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.65386962890625 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351366878","1351366857","1351366818","1351366874","1351366840","1351366831"],"photo_ids_order":["1351366818","1351366831","1351366840","1351366857","1351366874","1351366878"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/860ac7f085f0e17203f51a3b6aa4da53.jpg","text":"TemporaryFile(/tmp/multipartBody265970786265639340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322469817,"filename":"image_06042025_15_17_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/11/e0239c67bf23c000b51c6fe122381b73.jpg","text":"TemporaryFile(/tmp/multipartBody6484155020696536988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322469817,"filename":"image_06042025_15_17_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/11/e67762c964eb77e725131b7986cc36ed.jpg","text":"TemporaryFile(/tmp/multipartBody2252113691704442415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322469817,"filename":"image_06042025_15_17_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/11/3a80786ca4c119ac7f4a2e4bc59c709e.jpg","text":"TemporaryFile(/tmp/multipartBody2855453325649681690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322469817,"filename":"image_06042025_15_17_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/11/ede0934b70eafc54033b83f1dc2e811b.jpg","text":"TemporaryFile(/tmp/multipartBody6391076171592271367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322469817,"filename":"image_06042025_15_17_26_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e655abae169acaa5ae33430f48f82786.jpg","text":"TemporaryFile(/tmp/multipartBody3124916719352536498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322469817,"filename":"image_06042025_15_17_17_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351366840","file1":"1351366831","file0":"1351366818","file4":"1351366874","file5":"1351366878","file3":"1351366857"},"map_files_photo_id_array":[{"photo_id":"1351366878","filename":"file5"},{"photo_id":"1351366840","filename":"file2"},{"photo_id":"1351366874","filename":"file4"},{"photo_id":"1351366831","filename":"file1"},{"photo_id":"1351366818","filename":"file0"},{"photo_id":"1351366857","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351366878":["hashtag1","hashtag2"]},{"1351366857":["hashtag1","hashtag2"]},{"1351366818":["hashtag1","hashtag2"]},{"1351366874":["hashtag1","hashtag2"]},{"1351366840":["hashtag1","hashtag2"]},{"1351366831":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351366878, 1351366857, 1351366818, 1351366874, 1351366840, 1351366831)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.9270875453949 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 00:01:03.831013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/15/17/image_06042025_15_18_07_10359.jpg', '/home/pi/Desktop/images/06042025/15/18/image_06042025_15_18_17_10405.jpg', '/home/pi/Desktop/images/06042025/15/18/image_06042025_15_18_26_9355.jpg', '/home/pi/Desktop/images/06042025/15/18/image_06042025_15_18_37_10367.jpg', '/home/pi/Desktop/images/06042025/15/18/image_06042025_15_18_46_9471.jpg', '/home/pi/Desktop/images/06042025/15/18/image_06042025_15_18_57_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/15/17/image_06042025_15_18_07_10359.jpg
/home/pi/Desktop/images/06042025/15/18/image_06042025_15_18_17_10405.jpg
/home/pi/Desktop/images/06042025/15/18/image_06042025_15_18_26_9355.jpg
/home/pi/Desktop/images/06042025/15/18/image_06042025_15_18_37_10367.jpg
/home/pi/Desktop/images/06042025/15/18/image_06042025_15_18_46_9471.jpg
/home/pi/Desktop/images/06042025/15/18/image_06042025_15_18_57_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":["1351367024","1351366970","1351367050","1351366990","1351367128","1351367076"],"photo_ids_order":["1351366970","1351366990","1351367024","1351367050","1351367076","1351367128"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3c9814f31ebcd9661fddd0151824db92.jpg","text":"TemporaryFile(/tmp/multipartBody4735892404174269758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322524818,"filename":"image_06042025_15_18_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/11/bae07d885acf17f442067be99525be49.jpg","text":"TemporaryFile(/tmp/multipartBody6620049344805874673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322524818,"filename":"image_06042025_15_18_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/11/b11d096bb6533110571743874631936a.jpg","text":"TemporaryFile(/tmp/multipartBody565796588260331345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322524818,"filename":"image_06042025_15_18_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/11/8b24e2b888b51972bd8a4a6094b93330.jpg","text":"TemporaryFile(/tmp/multipartBody2791146363409083959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322524818,"filename":"image_06042025_15_18_17_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0cf63c16f3ef07dd058d7b03884a19e3.jpg","text":"TemporaryFile(/tmp/multipartBody151079911643231828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322524818,"filename":"image_06042025_15_18_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/11/b5ab926eb46e1340f002f6142759bb8b.jpg","text":"TemporaryFile(/tmp/multipartBody7735378211176240516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322524818,"filename":"image_06042025_15_18_46_9471.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351367024","file1":"1351366990","file0":"1351366970","file4":"1351367076","file5":"1351367128","file3":"1351367050"},"map_files_photo_id_array":[{"photo_id":"1351367128","filename":"file5"},{"photo_id":"1351367024","filename":"file2"},{"photo_id":"1351367076","filename":"file4"},{"photo_id":"1351366990","filename":"file1"},{"photo_id":"1351366970","filename":"file0"},{"photo_id":"1351367050","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351367024":["hashtag1","hashtag2"]},{"1351366970":["hashtag1","hashtag2"]},{"1351367050":["hashtag1","hashtag2"]},{"1351366990":["hashtag1","hashtag2"]},{"1351367128":["hashtag1","hashtag2"]},{"1351367076":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351367024, 1351366970, 1351367050, 1351366990, 1351367128, 1351367076)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.26200985908508 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 00:02:03.166013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/15/18/image_06042025_15_19_07_10436.jpg', '/home/pi/Desktop/images/06042025/15/19/image_06042025_15_19_16_9353.jpg', '/home/pi/Desktop/images/06042025/15/19/image_06042025_15_19_27_10417.jpg', '/home/pi/Desktop/images/06042025/15/19/image_06042025_15_19_36_9347.jpg', '/home/pi/Desktop/images/06042025/15/19/image_06042025_15_19_46_10377.jpg', '/home/pi/Desktop/images/06042025/15/19/image_06042025_15_19_57_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/15/18/image_06042025_15_19_07_10436.jpg
/home/pi/Desktop/images/06042025/15/19/image_06042025_15_19_16_9353.jpg
/home/pi/Desktop/images/06042025/15/19/image_06042025_15_19_27_10417.jpg
/home/pi/Desktop/images/06042025/15/19/image_06042025_15_19_36_9347.jpg
/home/pi/Desktop/images/06042025/15/19/image_06042025_15_19_46_10377.jpg
/home/pi/Desktop/images/06042025/15/19/image_06042025_15_19_57_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":["1351367543","1351367351","1351367534","1351367494","1351367512","1351367388"],"photo_ids_order":["1351367351","1351367388","1351367494","1351367512","1351367534","1351367543"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/460415d5de22811d501a04501354555e.jpg","text":"TemporaryFile(/tmp/multipartBody2695187073805180755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322585737,"filename":"image_06042025_15_19_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/11/d14c946a0b3dc9dca62018671e079e0b.jpg","text":"TemporaryFile(/tmp/multipartBody5476946574753072834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322585737,"filename":"image_06042025_15_19_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/11/2d566978a7c107de7a7b2262563341c5.jpg","text":"TemporaryFile(/tmp/multipartBody2649169728514811911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322585737,"filename":"image_06042025_15_19_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/11/fdac2a08431e2b4ff77777602c19db4b.jpg","text":"TemporaryFile(/tmp/multipartBody9160513945076822506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322585737,"filename":"image_06042025_15_19_27_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3a31fe860b31477c07905d936a54ab3f.jpg","text":"TemporaryFile(/tmp/multipartBody9144226884009044932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322585737,"filename":"image_06042025_15_19_36_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/782d068c1d6d0a5c11557b64f0613fbb.jpg","text":"TemporaryFile(/tmp/multipartBody5256869019408100396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322585737,"filename":"image_06042025_15_19_16_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351367494","file1":"1351367388","file0":"1351367351","file4":"1351367534","file5":"1351367543","file3":"1351367512"},"map_files_photo_id_array":[{"photo_id":"1351367543","filename":"file5"},{"photo_id":"1351367494","filename":"file2"},{"photo_id":"1351367534","filename":"file4"},{"photo_id":"1351367388","filename":"file1"},{"photo_id":"1351367351","filename":"file0"},{"photo_id":"1351367512","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351367543":["hashtag1","hashtag2"]},{"1351367351":["hashtag1","hashtag2"]},{"1351367534":["hashtag1","hashtag2"]},{"1351367494":["hashtag1","hashtag2"]},{"1351367512":["hashtag1","hashtag2"]},{"1351367388":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351367543, 1351367351, 1351367534, 1351367494, 1351367512, 1351367388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.77123832702637 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 00:03:04.054438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/15/19/image_06042025_15_20_06_9328.jpg', '/home/pi/Desktop/images/06042025/15/20/image_06042025_15_20_16_10359.jpg', '/home/pi/Desktop/images/06042025/15/20/image_06042025_15_20_27_10432.jpg', '/home/pi/Desktop/images/06042025/15/20/image_06042025_15_20_36_9346.jpg', '/home/pi/Desktop/images/06042025/15/20/image_06042025_15_20_47_10363.jpg', '/home/pi/Desktop/images/06042025/15/21/image_06042025_15_21_17_10334.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/15/19/image_06042025_15_20_06_9328.jpg
/home/pi/Desktop/images/06042025/15/20/image_06042025_15_20_16_10359.jpg
/home/pi/Desktop/images/06042025/15/20/image_06042025_15_20_27_10432.jpg
/home/pi/Desktop/images/06042025/15/20/image_06042025_15_20_36_9346.jpg
/home/pi/Desktop/images/06042025/15/20/image_06042025_15_20_47_10363.jpg
/home/pi/Desktop/images/06042025/15/21/image_06042025_15_21_17_10334.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351367844","1351367700","1351367882","1351367747","1351367932","1351367775"],"photo_ids_order":["1351367700","1351367747","1351367775","1351367844","1351367882","1351367932"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7225dbd42243973923d34c7cbf320f54.jpg","text":"TemporaryFile(/tmp/multipartBody6318321431498494218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322646592,"filename":"image_06042025_15_20_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/11/e2c0a7f64427d8c040405357098b6095.jpg","text":"TemporaryFile(/tmp/multipartBody2336025906957514439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322646592,"filename":"image_06042025_15_20_06_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/81b607339d84011d704008dbe4984b52.jpg","text":"TemporaryFile(/tmp/multipartBody8369955941047309884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322646592,"filename":"image_06042025_15_20_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/11/3d621d0d3416a8e6b118ac52fe643b5a.jpg","text":"TemporaryFile(/tmp/multipartBody4620282835000511308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322646592,"filename":"image_06042025_15_20_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/11/16d7d551dc896e59fe3fc72a41e3d12a.jpg","text":"TemporaryFile(/tmp/multipartBody7381011180289561776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322646592,"filename":"image_06042025_15_21_17_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/36346ad180cb2b0b6a3188e712a2cce0.jpg","text":"TemporaryFile(/tmp/multipartBody1947149729965450038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322646592,"filename":"image_06042025_15_20_27_10432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351367775","file1":"1351367747","file0":"1351367700","file4":"1351367882","file5":"1351367932","file3":"1351367844"},"map_files_photo_id_array":[{"photo_id":"1351367932","filename":"file5"},{"photo_id":"1351367775","filename":"file2"},{"photo_id":"1351367882","filename":"file4"},{"photo_id":"1351367747","filename":"file1"},{"photo_id":"1351367700","filename":"file0"},{"photo_id":"1351367844","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351367844":["hashtag1","hashtag2"]},{"1351367700":["hashtag1","hashtag2"]},{"1351367882":["hashtag1","hashtag2"]},{"1351367747":["hashtag1","hashtag2"]},{"1351367932":["hashtag1","hashtag2"]},{"1351367775":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351367844, 1351367700, 1351367882, 1351367747, 1351367932, 1351367775)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.92448353767395 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -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-11 00:03:42.970760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/15/21/image_06042025_15_21_26_9354.jpg', '/home/pi/Desktop/images/06042025/15/21/image_06042025_15_21_36_10358.jpg', '/home/pi/Desktop/images/06042025/15/21/image_06042025_15_21_47_10369.jpg', '/home/pi/Desktop/images/06042025/15/21/image_06042025_15_21_56_9349.jpg', '/home/pi/Desktop/images/06042025/15/21/image_06042025_15_22_06_10353.jpg', '/home/pi/Desktop/images/06042025/15/22/image_06042025_15_22_17_10330.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/15/21/image_06042025_15_21_26_9354.jpg
/home/pi/Desktop/images/06042025/15/21/image_06042025_15_21_36_10358.jpg
/home/pi/Desktop/images/06042025/15/21/image_06042025_15_21_47_10369.jpg
/home/pi/Desktop/images/06042025/15/21/image_06042025_15_21_56_9349.jpg
/home/pi/Desktop/images/06042025/15/21/image_06042025_15_22_06_10353.jpg
/home/pi/Desktop/images/06042025/15/22/image_06042025_15_22_17_10330.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351368365","1351368289","1351368241","1351368178","1351368387","1351368117"],"photo_ids_order":["1351368117","1351368178","1351368241","1351368289","1351368365","1351368387"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/abfc795d14899d5bf4315bd0aca77e1d.jpg","text":"TemporaryFile(/tmp/multipartBody8665743247113295716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322685448,"filename":"image_06042025_15_22_06_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0b4c0b87fa2b93f02501154debfbed0a.jpg","text":"TemporaryFile(/tmp/multipartBody3151865032168481705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322685448,"filename":"image_06042025_15_21_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/11/75d2e91d945c443e8a27758492ce1fb8.jpg","text":"TemporaryFile(/tmp/multipartBody4196928726703708181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322685448,"filename":"image_06042025_15_21_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/11/df2c1d934fd0df9a6fa3d86f3950b3b3.jpg","text":"TemporaryFile(/tmp/multipartBody5287815637453850929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322685448,"filename":"image_06042025_15_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/11/20419b220697cc6b485387740223278f.jpg","text":"TemporaryFile(/tmp/multipartBody3485067622331689017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322685448,"filename":"image_06042025_15_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/11/d0cc70cdcc216384ae0b4c7835c82ba3.jpg","text":"TemporaryFile(/tmp/multipartBody6513729582917342104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322685448,"filename":"image_06042025_15_21_26_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351368241","file1":"1351368178","file0":"1351368117","file4":"1351368365","file5":"1351368387","file3":"1351368289"},"map_files_photo_id_array":[{"photo_id":"1351368387","filename":"file5"},{"photo_id":"1351368241","filename":"file2"},{"photo_id":"1351368365","filename":"file4"},{"photo_id":"1351368178","filename":"file1"},{"photo_id":"1351368117","filename":"file0"},{"photo_id":"1351368289","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351368365":["hashtag1","hashtag2"]},{"1351368289":["hashtag1","hashtag2"]},{"1351368241":["hashtag1","hashtag2"]},{"1351368178":["hashtag1","hashtag2"]},{"1351368387":["hashtag1","hashtag2"]},{"1351368117":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351368365, 1351368289, 1351368241, 1351368178, 1351368387, 1351368117)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.79139304161072 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -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-11 00:04:42.173088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/15/22/image_06042025_15_22_26_9357.jpg', '/home/pi/Desktop/images/06042025/15/22/image_06042025_15_22_37_10376.jpg', '/home/pi/Desktop/images/06042025/15/22/image_06042025_15_22_46_9511.jpg', '/home/pi/Desktop/images/06042025/15/22/image_06042025_15_22_56_10364.jpg', '/home/pi/Desktop/images/06042025/15/22/image_06042025_15_23_07_10366.jpg', '/home/pi/Desktop/images/06042025/15/23/image_06042025_15_23_16_9345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/15/22/image_06042025_15_22_26_9357.jpg
/home/pi/Desktop/images/06042025/15/22/image_06042025_15_22_37_10376.jpg
/home/pi/Desktop/images/06042025/15/22/image_06042025_15_22_46_9511.jpg
/home/pi/Desktop/images/06042025/15/22/image_06042025_15_22_56_10364.jpg
/home/pi/Desktop/images/06042025/15/22/image_06042025_15_23_07_10366.jpg
/home/pi/Desktop/images/06042025/15/23/image_06042025_15_23_16_9345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351368665","1351368788","1351368694","1351368772","1351368751","1351368717"],"photo_ids_order":["1351368665","1351368694","1351368717","1351368751","1351368772","1351368788"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/fd0de4553b5c908dff4ee5ddb7a0c9ca.jpg","text":"TemporaryFile(/tmp/multipartBody6197036393156847253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322743830,"filename":"image_06042025_15_22_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/11/270a29b63e173afd4c63dd1e9b1074c6.jpg","text":"TemporaryFile(/tmp/multipartBody4392311207551174052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322743830,"filename":"image_06042025_15_23_16_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f18e37f518db639376f1fb63547e797e.jpg","text":"TemporaryFile(/tmp/multipartBody7470762129754029181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322743830,"filename":"image_06042025_15_22_37_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/11/5b89ecb4248e8bc9c7292da5c34a23e2.jpg","text":"TemporaryFile(/tmp/multipartBody5675116558450028244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322743830,"filename":"image_06042025_15_23_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/11/f29a9372bcad3e0d4d3aa85c8defbafc.jpg","text":"TemporaryFile(/tmp/multipartBody5845095861567113277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322743830,"filename":"image_06042025_15_22_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/11/3f32f3c6843959e344af87bb10cb65eb.jpg","text":"TemporaryFile(/tmp/multipartBody4880812500705730001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322743830,"filename":"image_06042025_15_22_46_9511.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351368717","file1":"1351368694","file0":"1351368665","file4":"1351368772","file5":"1351368788","file3":"1351368751"},"map_files_photo_id_array":[{"photo_id":"1351368788","filename":"file5"},{"photo_id":"1351368717","filename":"file2"},{"photo_id":"1351368772","filename":"file4"},{"photo_id":"1351368694","filename":"file1"},{"photo_id":"1351368665","filename":"file0"},{"photo_id":"1351368751","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351368665":["hashtag1","hashtag2"]},{"1351368788":["hashtag1","hashtag2"]},{"1351368694":["hashtag1","hashtag2"]},{"1351368772":["hashtag1","hashtag2"]},{"1351368751":["hashtag1","hashtag2"]},{"1351368717":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351368665, 1351368788, 1351368694, 1351368772, 1351368751, 1351368717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.48908591270447 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -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-11 00:05:42.403228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/15/23/image_06042025_15_23_26_10372.jpg', '/home/pi/Desktop/images/06042025/15/23/image_06042025_15_23_47_9566.jpg', '/home/pi/Desktop/images/06042025/15/23/image_06042025_15_23_57_10457.jpg', '/home/pi/Desktop/images/06042025/15/24/image_06042025_15_24_26_9432.jpg', '/home/pi/Desktop/images/06042025/15/24/image_06042025_15_24_36_10358.jpg', '/home/pi/Desktop/images/06042025/15/24/image_06042025_15_24_47_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/15/23/image_06042025_15_23_26_10372.jpg
/home/pi/Desktop/images/06042025/15/23/image_06042025_15_23_47_9566.jpg
/home/pi/Desktop/images/06042025/15/23/image_06042025_15_23_57_10457.jpg
/home/pi/Desktop/images/06042025/15/24/image_06042025_15_24_26_9432.jpg
/home/pi/Desktop/images/06042025/15/24/image_06042025_15_24_36_10358.jpg
/home/pi/Desktop/images/06042025/15/24/image_06042025_15_24_47_10358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351369070","1351369189","1351369120","1351369033","1351369098","1351369233"],"photo_ids_order":["1351369033","1351369070","1351369098","1351369120","1351369189","1351369233"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/af519352afce36334394197ee9fad994.jpg","text":"TemporaryFile(/tmp/multipartBody4849217481013906047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322804074,"filename":"image_06042025_15_23_47_9566.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/cf8e4a3fbf43e7f78be3c85265251714.jpg","text":"TemporaryFile(/tmp/multipartBody1216428467047837770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322804074,"filename":"image_06042025_15_24_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/11/d0d32ff489b8e5630ac9fa7333e7f186.jpg","text":"TemporaryFile(/tmp/multipartBody8221356331286256047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322804074,"filename":"image_06042025_15_24_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/11/27cd4f2f5c6e68e2b0515494522a8944.jpg","text":"TemporaryFile(/tmp/multipartBody4973496970734416968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322804074,"filename":"image_06042025_15_23_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/11/3b52d9038b4d71ec1f00a1c58ad45634.jpg","text":"TemporaryFile(/tmp/multipartBody6721819352076366350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322804074,"filename":"image_06042025_15_23_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/11/d23550290f3012538ffc19631ab21ff0.jpg","text":"TemporaryFile(/tmp/multipartBody3990963760338702192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322804074,"filename":"image_06042025_15_24_47_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351369098","file1":"1351369070","file0":"1351369033","file4":"1351369189","file5":"1351369233","file3":"1351369120"},"map_files_photo_id_array":[{"photo_id":"1351369233","filename":"file5"},{"photo_id":"1351369098","filename":"file2"},{"photo_id":"1351369189","filename":"file4"},{"photo_id":"1351369070","filename":"file1"},{"photo_id":"1351369033","filename":"file0"},{"photo_id":"1351369120","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351369070":["hashtag1","hashtag2"]},{"1351369189":["hashtag1","hashtag2"]},{"1351369120":["hashtag1","hashtag2"]},{"1351369033":["hashtag1","hashtag2"]},{"1351369098":["hashtag1","hashtag2"]},{"1351369233":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351369070, 1351369189, 1351369120, 1351369033, 1351369098, 1351369233)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.580339193344116 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -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-11 00:06:42.577067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/15/24/image_06042025_15_24_56_9345.jpg', '/home/pi/Desktop/images/06042025/15/24/image_06042025_15_25_07_10346.jpg', '/home/pi/Desktop/images/06042025/15/25/image_06042025_15_25_17_10448.jpg', '/home/pi/Desktop/images/06042025/15/25/image_06042025_15_25_26_9354.jpg', '/home/pi/Desktop/images/06042025/15/25/image_06042025_15_25_37_10478.jpg', '/home/pi/Desktop/images/06042025/15/25/image_06042025_15_25_46_9452.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/15/24/image_06042025_15_24_56_9345.jpg
/home/pi/Desktop/images/06042025/15/24/image_06042025_15_25_07_10346.jpg
/home/pi/Desktop/images/06042025/15/25/image_06042025_15_25_17_10448.jpg
/home/pi/Desktop/images/06042025/15/25/image_06042025_15_25_26_9354.jpg
/home/pi/Desktop/images/06042025/15/25/image_06042025_15_25_37_10478.jpg
/home/pi/Desktop/images/06042025/15/25/image_06042025_15_25_46_9452.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351369771","1351369687","1351369624","1351369665","1351369746","1351369725"],"photo_ids_order":["1351369624","1351369665","1351369687","1351369725","1351369746","1351369771"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/395d32c21ccbc9a2212eca996916653c.jpg","text":"TemporaryFile(/tmp/multipartBody3561299708752163901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322864232,"filename":"image_06042025_15_25_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/11/f5498d26adc388bbcc87e215b8b8a39e.jpg","text":"TemporaryFile(/tmp/multipartBody603916215682047519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322864232,"filename":"image_06042025_15_25_17_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5fdc8449ba2fbf5091a29cc7101561cc.jpg","text":"TemporaryFile(/tmp/multipartBody4485097023616673772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322864232,"filename":"image_06042025_15_24_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/11/b800d290e294479daae0b41b854d0abc.jpg","text":"TemporaryFile(/tmp/multipartBody1574499588741261247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322864232,"filename":"image_06042025_15_25_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/11/9328f7d7a4918b9f6cfc2356cb392283.jpg","text":"TemporaryFile(/tmp/multipartBody5223374776694557196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322864232,"filename":"image_06042025_15_25_37_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/11/3b2e28cbc3e830db54849842449aef52.jpg","text":"TemporaryFile(/tmp/multipartBody1904640897650813480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322864232,"filename":"image_06042025_15_25_26_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351369687","file1":"1351369665","file0":"1351369624","file4":"1351369746","file5":"1351369771","file3":"1351369725"},"map_files_photo_id_array":[{"photo_id":"1351369771","filename":"file5"},{"photo_id":"1351369687","filename":"file2"},{"photo_id":"1351369746","filename":"file4"},{"photo_id":"1351369665","filename":"file1"},{"photo_id":"1351369624","filename":"file0"},{"photo_id":"1351369725","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351369771":["hashtag1","hashtag2"]},{"1351369687":["hashtag1","hashtag2"]},{"1351369624":["hashtag1","hashtag2"]},{"1351369665":["hashtag1","hashtag2"]},{"1351369746":["hashtag1","hashtag2"]},{"1351369725":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351369771, 1351369687, 1351369624, 1351369665, 1351369746, 1351369725)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.67141509056091 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -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-11 00:07:42.801093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/15/25/image_06042025_15_25_57_10366.jpg', '/home/pi/Desktop/images/06042025/15/25/image_06042025_15_26_06_9411.jpg', '/home/pi/Desktop/images/06042025/15/26/image_06042025_15_26_16_10358.jpg', '/home/pi/Desktop/images/06042025/15/26/image_06042025_15_26_27_10388.jpg', '/home/pi/Desktop/images/06042025/15/26/image_06042025_15_26_36_9384.jpg', '/home/pi/Desktop/images/06042025/15/26/image_06042025_15_26_47_10374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/15/25/image_06042025_15_25_57_10366.jpg
/home/pi/Desktop/images/06042025/15/25/image_06042025_15_26_06_9411.jpg
/home/pi/Desktop/images/06042025/15/26/image_06042025_15_26_16_10358.jpg
/home/pi/Desktop/images/06042025/15/26/image_06042025_15_26_27_10388.jpg
/home/pi/Desktop/images/06042025/15/26/image_06042025_15_26_36_9384.jpg
/home/pi/Desktop/images/06042025/15/26/image_06042025_15_26_47_10374.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351370000","1351369965","1351369944","1351369929","1351369905","1351369976"],"photo_ids_order":["1351369905","1351369929","1351369944","1351369965","1351369976","1351370000"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f79c1e95874f923ba3b7cb23457c5946.jpg","text":"TemporaryFile(/tmp/multipartBody8163048237133201227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322924518,"filename":"image_06042025_15_26_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/11/1fc8a82bb1e7ad50c20fb6b4d1c11110.jpg","text":"TemporaryFile(/tmp/multipartBody7713350823938685327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322924518,"filename":"image_06042025_15_26_27_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a45275769b2b24ef4382259a1c53e569.jpg","text":"TemporaryFile(/tmp/multipartBody1715316087434999085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322924518,"filename":"image_06042025_15_26_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/11/d359f14123a85d03e509033659fa0771.jpg","text":"TemporaryFile(/tmp/multipartBody5996885986606915048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322924518,"filename":"image_06042025_15_26_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/11/45e281fac2eea351b925f2c1bd03685a.jpg","text":"TemporaryFile(/tmp/multipartBody4632877210476647587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322924518,"filename":"image_06042025_15_25_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/11/23e148e94c517b2ef1d1b70da3507696.jpg","text":"TemporaryFile(/tmp/multipartBody5440503104516790029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322924518,"filename":"image_06042025_15_26_36_9384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351369944","file1":"1351369929","file0":"1351369905","file4":"1351369976","file5":"1351370000","file3":"1351369965"},"map_files_photo_id_array":[{"photo_id":"1351370000","filename":"file5"},{"photo_id":"1351369944","filename":"file2"},{"photo_id":"1351369976","filename":"file4"},{"photo_id":"1351369929","filename":"file1"},{"photo_id":"1351369905","filename":"file0"},{"photo_id":"1351369965","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351370000":["hashtag1","hashtag2"]},{"1351369965":["hashtag1","hashtag2"]},{"1351369944":["hashtag1","hashtag2"]},{"1351369929":["hashtag1","hashtag2"]},{"1351369905":["hashtag1","hashtag2"]},{"1351369976":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351370000, 1351369965, 1351369944, 1351369929, 1351369905, 1351369976)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.528233766555786 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -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-11 00:08:42.961505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/15/26/image_06042025_15_26_57_10427.jpg', '/home/pi/Desktop/images/06042025/15/26/image_06042025_15_27_06_9334.jpg', '/home/pi/Desktop/images/06042025/15/27/image_06042025_15_27_17_10358.jpg', '/home/pi/Desktop/images/06042025/15/27/image_06042025_15_27_26_9375.jpg', '/home/pi/Desktop/images/06042025/15/27/image_06042025_15_27_36_10353.jpg', '/home/pi/Desktop/images/06042025/15/27/image_06042025_15_27_47_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/15/26/image_06042025_15_26_57_10427.jpg
/home/pi/Desktop/images/06042025/15/26/image_06042025_15_27_06_9334.jpg
/home/pi/Desktop/images/06042025/15/27/image_06042025_15_27_17_10358.jpg
/home/pi/Desktop/images/06042025/15/27/image_06042025_15_27_26_9375.jpg
/home/pi/Desktop/images/06042025/15/27/image_06042025_15_27_36_10353.jpg
/home/pi/Desktop/images/06042025/15/27/image_06042025_15_27_47_10375.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351370115","1351370100","1351370120","1351370123","1351370085","1351370130"],"photo_ids_order":["1351370085","1351370100","1351370115","1351370120","1351370123","1351370130"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/84c9055a46288d82c4d6a6ff2ca391bd.jpg","text":"TemporaryFile(/tmp/multipartBody1860940077768774390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322984660,"filename":"image_06042025_15_27_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/11/abae5a61d4b85ed447d256e791d8fa62.jpg","text":"TemporaryFile(/tmp/multipartBody5125997025704769173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322984660,"filename":"image_06042025_15_27_06_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/cd551e78c8e88d5ec1cbad761658804e.jpg","text":"TemporaryFile(/tmp/multipartBody6939939045501660952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322984660,"filename":"image_06042025_15_27_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/11/3a9aeaef24fad1725e7b4d98762957fe.jpg","text":"TemporaryFile(/tmp/multipartBody8213715919419368405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322984660,"filename":"image_06042025_15_27_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/11/ef7dbafd493e2640a996123fa420ce78.jpg","text":"TemporaryFile(/tmp/multipartBody7000676981317826883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322984660,"filename":"image_06042025_15_26_57_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/09f91213153f53b2cea998f328cca129.jpg","text":"TemporaryFile(/tmp/multipartBody3948730814062370065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744322984660,"filename":"image_06042025_15_27_47_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351370115","file1":"1351370100","file0":"1351370085","file4":"1351370123","file5":"1351370130","file3":"1351370120"},"map_files_photo_id_array":[{"photo_id":"1351370130","filename":"file5"},{"photo_id":"1351370115","filename":"file2"},{"photo_id":"1351370123","filename":"file4"},{"photo_id":"1351370100","filename":"file1"},{"photo_id":"1351370085","filename":"file0"},{"photo_id":"1351370120","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351370115":["hashtag1","hashtag2"]},{"1351370100":["hashtag1","hashtag2"]},{"1351370120":["hashtag1","hashtag2"]},{"1351370123":["hashtag1","hashtag2"]},{"1351370085":["hashtag1","hashtag2"]},{"1351370130":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351370115, 1351370100, 1351370120, 1351370123, 1351370085, 1351370130)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.54916310310364 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -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-11 00:09:42.203815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/15/27/image_06042025_15_28_07_10359.jpg', '/home/pi/Desktop/images/06042025/15/28/image_06042025_15_28_17_10474.jpg', '/home/pi/Desktop/images/06042025/15/28/image_06042025_15_28_26_9365.jpg', '/home/pi/Desktop/images/06042025/15/28/image_06042025_15_28_37_10365.jpg', '/home/pi/Desktop/images/06042025/15/28/image_06042025_15_28_46_9356.jpg', '/home/pi/Desktop/images/06042025/15/28/image_06042025_15_28_57_10437.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/15/27/image_06042025_15_28_07_10359.jpg
/home/pi/Desktop/images/06042025/15/28/image_06042025_15_28_17_10474.jpg
/home/pi/Desktop/images/06042025/15/28/image_06042025_15_28_26_9365.jpg
/home/pi/Desktop/images/06042025/15/28/image_06042025_15_28_37_10365.jpg
/home/pi/Desktop/images/06042025/15/28/image_06042025_15_28_46_9356.jpg
/home/pi/Desktop/images/06042025/15/28/image_06042025_15_28_57_10437.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351370183","1351370192","1351370176","1351370185","1351370188","1351370163"],"photo_ids_order":["1351370163","1351370176","1351370183","1351370185","1351370188","1351370192"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/481569bfd02da6a9d37f63b3df788fee.jpg","text":"TemporaryFile(/tmp/multipartBody2325028521882688596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323043866,"filename":"image_06042025_15_28_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/11/62c352104432b4c80187e06b36fbe001.jpg","text":"TemporaryFile(/tmp/multipartBody1257891644416477672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323043866,"filename":"image_06042025_15_28_57_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/64502fc9e97613876971ba92d3bb82c6.jpg","text":"TemporaryFile(/tmp/multipartBody7124220451977323852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323043866,"filename":"image_06042025_15_28_17_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/11/aee9614c95213c262f181b25cee6322f.jpg","text":"TemporaryFile(/tmp/multipartBody5305829758198048378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323043866,"filename":"image_06042025_15_28_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/11/1326ec18b865bc5c036a739af22da1cf.jpg","text":"TemporaryFile(/tmp/multipartBody4627040475088756269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323043866,"filename":"image_06042025_15_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/11/373def2d6349608f7be3f17ddfcdb494.jpg","text":"TemporaryFile(/tmp/multipartBody53380484856411949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323043866,"filename":"image_06042025_15_28_07_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351370183","file1":"1351370176","file0":"1351370163","file4":"1351370188","file5":"1351370192","file3":"1351370185"},"map_files_photo_id_array":[{"photo_id":"1351370192","filename":"file5"},{"photo_id":"1351370183","filename":"file2"},{"photo_id":"1351370188","filename":"file4"},{"photo_id":"1351370176","filename":"file1"},{"photo_id":"1351370163","filename":"file0"},{"photo_id":"1351370185","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351370183":["hashtag1","hashtag2"]},{"1351370192":["hashtag1","hashtag2"]},{"1351370176":["hashtag1","hashtag2"]},{"1351370185":["hashtag1","hashtag2"]},{"1351370188":["hashtag1","hashtag2"]},{"1351370163":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351370183, 1351370192, 1351370176, 1351370185, 1351370188, 1351370163)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.64303636550903 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -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-11 00:10:42.419029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/15/28/image_06042025_15_29_07_10435.jpg', '/home/pi/Desktop/images/06042025/15/29/image_06042025_15_29_16_9335.jpg', '/home/pi/Desktop/images/06042025/15/29/image_06042025_15_29_27_10367.jpg', '/home/pi/Desktop/images/06042025/15/29/image_06042025_15_29_36_9385.jpg', '/home/pi/Desktop/images/06042025/15/29/image_06042025_15_29_46_10370.jpg', '/home/pi/Desktop/images/06042025/15/30/image_06042025_15_30_17_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/15/28/image_06042025_15_29_07_10435.jpg
/home/pi/Desktop/images/06042025/15/29/image_06042025_15_29_16_9335.jpg
/home/pi/Desktop/images/06042025/15/29/image_06042025_15_29_27_10367.jpg
/home/pi/Desktop/images/06042025/15/29/image_06042025_15_29_36_9385.jpg
/home/pi/Desktop/images/06042025/15/29/image_06042025_15_29_46_10370.jpg
/home/pi/Desktop/images/06042025/15/30/image_06042025_15_30_17_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":["1351370229","1351370225","1351370219","1351370213","1351370207","1351370221"],"photo_ids_order":["1351370207","1351370213","1351370219","1351370221","1351370225","1351370229"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c843495d78822ea951233e1029d1968b.jpg","text":"TemporaryFile(/tmp/multipartBody2678521457618348780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323104094,"filename":"image_06042025_15_30_17_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a29250d23fed92f44d9c4f3dc128332c.jpg","text":"TemporaryFile(/tmp/multipartBody6338921256718699996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323104094,"filename":"image_06042025_15_29_46_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/fbb7d6c0059a920b18ac214df62d4577.jpg","text":"TemporaryFile(/tmp/multipartBody6689803221656669971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323104094,"filename":"image_06042025_15_29_27_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b08328a802e0f6a7219396a663e78e81.jpg","text":"TemporaryFile(/tmp/multipartBody5478376435915058909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323104094,"filename":"image_06042025_15_29_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/11/e0b4e1fc763669e9c5c1d99afe1f0b18.jpg","text":"TemporaryFile(/tmp/multipartBody7210384802543603523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323104094,"filename":"image_06042025_15_29_07_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2ce22cc5c9f8e52aa267a40f5861a3c7.jpg","text":"TemporaryFile(/tmp/multipartBody4789104037901484433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323104094,"filename":"image_06042025_15_29_36_9385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351370219","file1":"1351370213","file0":"1351370207","file4":"1351370225","file5":"1351370229","file3":"1351370221"},"map_files_photo_id_array":[{"photo_id":"1351370229","filename":"file5"},{"photo_id":"1351370219","filename":"file2"},{"photo_id":"1351370225","filename":"file4"},{"photo_id":"1351370213","filename":"file1"},{"photo_id":"1351370207","filename":"file0"},{"photo_id":"1351370221","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351370229":["hashtag1","hashtag2"]},{"1351370225":["hashtag1","hashtag2"]},{"1351370219":["hashtag1","hashtag2"]},{"1351370213":["hashtag1","hashtag2"]},{"1351370207":["hashtag1","hashtag2"]},{"1351370221":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351370229, 1351370225, 1351370219, 1351370213, 1351370207, 1351370221)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.64549899101257 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -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-11 00:11:42.651342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/15/30/image_06042025_15_30_36_9454.jpg', '/home/pi/Desktop/images/06042025/15/30/image_06042025_15_30_47_10343.jpg', '/home/pi/Desktop/images/06042025/15/30/image_06042025_15_30_56_9349.jpg', '/home/pi/Desktop/images/06042025/15/30/image_06042025_15_31_06_10348.jpg', '/home/pi/Desktop/images/06042025/15/31/image_06042025_15_31_17_10362.jpg', '/home/pi/Desktop/images/06042025/15/31/image_06042025_15_31_26_9401.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/15/30/image_06042025_15_30_36_9454.jpg
/home/pi/Desktop/images/06042025/15/30/image_06042025_15_30_47_10343.jpg
/home/pi/Desktop/images/06042025/15/30/image_06042025_15_30_56_9349.jpg
/home/pi/Desktop/images/06042025/15/30/image_06042025_15_31_06_10348.jpg
/home/pi/Desktop/images/06042025/15/31/image_06042025_15_31_17_10362.jpg
/home/pi/Desktop/images/06042025/15/31/image_06042025_15_31_26_9401.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351370252","1351370269","1351370278","1351370248","1351370302","1351370322"],"photo_ids_order":["1351370248","1351370252","1351370269","1351370278","1351370302","1351370322"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f2a73721214e0cb34cb6d5feef6bfa8e.jpg","text":"TemporaryFile(/tmp/multipartBody4384755874319836170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323164352,"filename":"image_06042025_15_30_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/11/441aad1fd7f369da500767f3cd4011d1.jpg","text":"TemporaryFile(/tmp/multipartBody5499462208157482568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323164352,"filename":"image_06042025_15_30_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/11/ef2afaadd789bbfb4bbba12a8f5f3137.jpg","text":"TemporaryFile(/tmp/multipartBody3928072181818455153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323164352,"filename":"image_06042025_15_31_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/11/25c1f9eafa919fa7e00f43b3b68be30a.jpg","text":"TemporaryFile(/tmp/multipartBody748193504978915567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323164352,"filename":"image_06042025_15_30_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/11/3f5ffa734cf2f3e2d5dd8d5d6ddfbde3.jpg","text":"TemporaryFile(/tmp/multipartBody1081496251459202578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323164352,"filename":"image_06042025_15_31_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/11/1b11836c71651973fa5033eb2dab8a8f.jpg","text":"TemporaryFile(/tmp/multipartBody1016218817241622046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323164352,"filename":"image_06042025_15_31_26_9401.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351370269","file1":"1351370252","file0":"1351370248","file4":"1351370302","file5":"1351370322","file3":"1351370278"},"map_files_photo_id_array":[{"photo_id":"1351370322","filename":"file5"},{"photo_id":"1351370269","filename":"file2"},{"photo_id":"1351370302","filename":"file4"},{"photo_id":"1351370252","filename":"file1"},{"photo_id":"1351370248","filename":"file0"},{"photo_id":"1351370278","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351370252":["hashtag1","hashtag2"]},{"1351370269":["hashtag1","hashtag2"]},{"1351370278":["hashtag1","hashtag2"]},{"1351370248":["hashtag1","hashtag2"]},{"1351370302":["hashtag1","hashtag2"]},{"1351370322":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351370252, 1351370269, 1351370278, 1351370248, 1351370302, 1351370322)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.78095269203186 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -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-11 00:12:42.808027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/15/31/image_06042025_15_31_37_10452.jpg', '/home/pi/Desktop/images/06042025/15/31/image_06042025_15_31_46_9469.jpg', '/home/pi/Desktop/images/06042025/15/31/image_06042025_15_31_57_10372.jpg', '/home/pi/Desktop/images/06042025/15/32/image_06042025_15_32_16_9341.jpg', '/home/pi/Desktop/images/06042025/15/32/image_06042025_15_32_47_10402.jpg', '/home/pi/Desktop/images/06042025/15/32/image_06042025_15_33_06_9341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/15/31/image_06042025_15_31_37_10452.jpg
/home/pi/Desktop/images/06042025/15/31/image_06042025_15_31_46_9469.jpg
/home/pi/Desktop/images/06042025/15/31/image_06042025_15_31_57_10372.jpg
/home/pi/Desktop/images/06042025/15/32/image_06042025_15_32_16_9341.jpg
/home/pi/Desktop/images/06042025/15/32/image_06042025_15_32_47_10402.jpg
/home/pi/Desktop/images/06042025/15/32/image_06042025_15_33_06_9341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351370642","1351370560","1351370659","1351370623","1351370518","1351370544"],"photo_ids_order":["1351370518","1351370544","1351370560","1351370623","1351370642","1351370659"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/077a2c04b517482521085a34aaa4997b.jpg","text":"TemporaryFile(/tmp/multipartBody1950195869941005899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323224506,"filename":"image_06042025_15_32_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/11/84fc5466f7e3298725735e23b0e78207.jpg","text":"TemporaryFile(/tmp/multipartBody8351494732140073615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323224506,"filename":"image_06042025_15_31_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/11/aa1b4020762817ed1cb94aa488b5b57b.jpg","text":"TemporaryFile(/tmp/multipartBody5949639479996336394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323224506,"filename":"image_06042025_15_33_06_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/bf42a78ea0c1faa09c0eeb3eea86f5d3.jpg","text":"TemporaryFile(/tmp/multipartBody2023727034054114536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323224506,"filename":"image_06042025_15_32_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/11/256d5958406b8960ac1726f1f9c85f45.jpg","text":"TemporaryFile(/tmp/multipartBody2672224366009387635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323224506,"filename":"image_06042025_15_31_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/11/3a9b20b28841629bd6cd5bfb33cf42af.jpg","text":"TemporaryFile(/tmp/multipartBody4141415754540635183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323224506,"filename":"image_06042025_15_31_46_9469.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351370560","file1":"1351370544","file0":"1351370518","file4":"1351370642","file5":"1351370659","file3":"1351370623"},"map_files_photo_id_array":[{"photo_id":"1351370659","filename":"file5"},{"photo_id":"1351370560","filename":"file2"},{"photo_id":"1351370642","filename":"file4"},{"photo_id":"1351370544","filename":"file1"},{"photo_id":"1351370518","filename":"file0"},{"photo_id":"1351370623","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351370642":["hashtag1","hashtag2"]},{"1351370560":["hashtag1","hashtag2"]},{"1351370659":["hashtag1","hashtag2"]},{"1351370623":["hashtag1","hashtag2"]},{"1351370518":["hashtag1","hashtag2"]},{"1351370544":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351370642, 1351370560, 1351370659, 1351370623, 1351370518, 1351370544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.48350787162781 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -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-11 00:13:43.005130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/15/33/image_06042025_15_33_17_10358.jpg', '/home/pi/Desktop/images/06042025/15/33/image_06042025_15_33_26_9412.jpg', '/home/pi/Desktop/images/06042025/15/33/image_06042025_15_34_07_10413.jpg', '/home/pi/Desktop/images/06042025/15/34/image_06042025_15_34_17_10355.jpg', '/home/pi/Desktop/images/06042025/15/34/image_06042025_15_34_26_9370.jpg', '/home/pi/Desktop/images/06042025/15/34/image_06042025_15_34_37_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/15/33/image_06042025_15_33_17_10358.jpg
/home/pi/Desktop/images/06042025/15/33/image_06042025_15_33_26_9412.jpg
/home/pi/Desktop/images/06042025/15/33/image_06042025_15_34_07_10413.jpg
/home/pi/Desktop/images/06042025/15/34/image_06042025_15_34_17_10355.jpg
/home/pi/Desktop/images/06042025/15/34/image_06042025_15_34_26_9370.jpg
/home/pi/Desktop/images/06042025/15/34/image_06042025_15_34_37_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":["1351370990","1351370975","1351370816","1351370912","1351370850","1351370838"],"photo_ids_order":["1351370816","1351370838","1351370850","1351370912","1351370975","1351370990"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/018a3acbe053c36df58fb5ce7b30e7c7.jpg","text":"TemporaryFile(/tmp/multipartBody689964009002897099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323284688,"filename":"image_06042025_15_34_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/11/9a758d3f340e880224dd7d32a95fc1d5.jpg","text":"TemporaryFile(/tmp/multipartBody7246638169313629180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323284688,"filename":"image_06042025_15_34_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/11/d1fe9773ee928cc42772afcd374a2136.jpg","text":"TemporaryFile(/tmp/multipartBody7378324972357223652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323284688,"filename":"image_06042025_15_33_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/11/f7c228ac33344b30703c123edd8b32a3.jpg","text":"TemporaryFile(/tmp/multipartBody1607263867987966415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323284688,"filename":"image_06042025_15_34_17_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d45790e27eddbd1e5c621ddf506a0325.jpg","text":"TemporaryFile(/tmp/multipartBody2238221823594804387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323284688,"filename":"image_06042025_15_34_07_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/19a1363930969f2e358f054c8f890f7e.jpg","text":"TemporaryFile(/tmp/multipartBody6519063847439912428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323284688,"filename":"image_06042025_15_33_26_9412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351370850","file1":"1351370838","file0":"1351370816","file4":"1351370975","file5":"1351370990","file3":"1351370912"},"map_files_photo_id_array":[{"photo_id":"1351370990","filename":"file5"},{"photo_id":"1351370850","filename":"file2"},{"photo_id":"1351370975","filename":"file4"},{"photo_id":"1351370838","filename":"file1"},{"photo_id":"1351370816","filename":"file0"},{"photo_id":"1351370912","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351370990":["hashtag1","hashtag2"]},{"1351370975":["hashtag1","hashtag2"]},{"1351370816":["hashtag1","hashtag2"]},{"1351370912":["hashtag1","hashtag2"]},{"1351370850":["hashtag1","hashtag2"]},{"1351370838":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351370990, 1351370975, 1351370816, 1351370912, 1351370850, 1351370838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.505329608917236 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -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-11 00:14:42.180346
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/15/34/image_06042025_15_34_57_10367.jpg', '/home/pi/Desktop/images/06042025/15/34/image_06042025_15_35_07_10409.jpg', '/home/pi/Desktop/images/06042025/15/35/image_06042025_15_35_16_9376.jpg', '/home/pi/Desktop/images/06042025/15/35/image_06042025_15_35_36_9381.jpg', '/home/pi/Desktop/images/06042025/15/35/image_06042025_15_35_46_10367.jpg', '/home/pi/Desktop/images/06042025/15/35/image_06042025_15_36_06_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/15/34/image_06042025_15_34_57_10367.jpg
/home/pi/Desktop/images/06042025/15/34/image_06042025_15_35_07_10409.jpg
/home/pi/Desktop/images/06042025/15/35/image_06042025_15_35_16_9376.jpg
/home/pi/Desktop/images/06042025/15/35/image_06042025_15_35_36_9381.jpg
/home/pi/Desktop/images/06042025/15/35/image_06042025_15_35_46_10367.jpg
/home/pi/Desktop/images/06042025/15/35/image_06042025_15_36_06_9393.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351371358","1351371480","1351371406","1351371513","1351371501","1351371473"],"photo_ids_order":["1351371358","1351371406","1351371473","1351371480","1351371501","1351371513"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/33a80642f5c21c59649ce677220f8881.jpg","text":"TemporaryFile(/tmp/multipartBody3220375696662737414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323343839,"filename":"image_06042025_15_34_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/11/2dea959e0e0715cd00e555b8a1b3ae80.jpg","text":"TemporaryFile(/tmp/multipartBody3381703767631307784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323343839,"filename":"image_06042025_15_35_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/11/dbbe04a3d332d2c12bc1c107e676d3bf.jpg","text":"TemporaryFile(/tmp/multipartBody2948746393635879831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323343839,"filename":"image_06042025_15_35_07_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/11/9a4f24866ec8ac8850dcfead6fe7ed05.jpg","text":"TemporaryFile(/tmp/multipartBody2265381512249850587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323343839,"filename":"image_06042025_15_36_06_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0188f1e20eeacec994c5213c7cce75c0.jpg","text":"TemporaryFile(/tmp/multipartBody9034941082720649716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323343839,"filename":"image_06042025_15_35_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/11/2f90d2a2d1fc798146563f738ed631cd.jpg","text":"TemporaryFile(/tmp/multipartBody7356486933510737939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323343839,"filename":"image_06042025_15_35_16_9376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351371473","file1":"1351371406","file0":"1351371358","file4":"1351371501","file5":"1351371513","file3":"1351371480"},"map_files_photo_id_array":[{"photo_id":"1351371513","filename":"file5"},{"photo_id":"1351371473","filename":"file2"},{"photo_id":"1351371501","filename":"file4"},{"photo_id":"1351371406","filename":"file1"},{"photo_id":"1351371358","filename":"file0"},{"photo_id":"1351371480","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351371358":["hashtag1","hashtag2"]},{"1351371480":["hashtag1","hashtag2"]},{"1351371406":["hashtag1","hashtag2"]},{"1351371513":["hashtag1","hashtag2"]},{"1351371501":["hashtag1","hashtag2"]},{"1351371473":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351371358, 1351371480, 1351371406, 1351371513, 1351371501, 1351371473)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.38643932342529 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -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-11 00:15:42.433884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/15/36/image_06042025_15_36_17_10344.jpg', '/home/pi/Desktop/images/06042025/15/36/image_06042025_15_36_27_10399.jpg', '/home/pi/Desktop/images/06042025/15/36/image_06042025_15_36_36_9373.jpg', '/home/pi/Desktop/images/06042025/15/36/image_06042025_15_36_47_10370.jpg', '/home/pi/Desktop/images/06042025/15/36/image_06042025_15_36_56_9383.jpg', '/home/pi/Desktop/images/06042025/15/36/image_06042025_15_37_07_10421.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/15/36/image_06042025_15_36_17_10344.jpg
/home/pi/Desktop/images/06042025/15/36/image_06042025_15_36_27_10399.jpg
/home/pi/Desktop/images/06042025/15/36/image_06042025_15_36_36_9373.jpg
/home/pi/Desktop/images/06042025/15/36/image_06042025_15_36_47_10370.jpg
/home/pi/Desktop/images/06042025/15/36/image_06042025_15_36_56_9383.jpg
/home/pi/Desktop/images/06042025/15/36/image_06042025_15_37_07_10421.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351371620","1351371617","1351371632","1351371613","1351371621","1351371615"],"photo_ids_order":["1351371613","1351371615","1351371617","1351371620","1351371621","1351371632"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/06303a69869afd1a06e14093c05bafcf.jpg","text":"TemporaryFile(/tmp/multipartBody2418902412467343104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323404095,"filename":"image_06042025_15_36_47_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4291cfe219248e8dd12df57fb15c8cbe.jpg","text":"TemporaryFile(/tmp/multipartBody8062370173060478775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323404095,"filename":"image_06042025_15_36_36_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/fac5cc8203558a506671e4bbeb09f7d1.jpg","text":"TemporaryFile(/tmp/multipartBody7723369063401801207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323404095,"filename":"image_06042025_15_37_07_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a9360bbc1f8d7cae3aaf47108659f314.jpg","text":"TemporaryFile(/tmp/multipartBody1682099107624530667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323404095,"filename":"image_06042025_15_36_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/11/c0ea4ae14a1f7100df8f991f56c8cbe6.jpg","text":"TemporaryFile(/tmp/multipartBody6778288864382529034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323404095,"filename":"image_06042025_15_36_56_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/221a5922156699621ad84ab9ee6d2292.jpg","text":"TemporaryFile(/tmp/multipartBody4510882359633997153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323404095,"filename":"image_06042025_15_36_27_10399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351371617","file1":"1351371615","file0":"1351371613","file4":"1351371621","file5":"1351371632","file3":"1351371620"},"map_files_photo_id_array":[{"photo_id":"1351371632","filename":"file5"},{"photo_id":"1351371617","filename":"file2"},{"photo_id":"1351371621","filename":"file4"},{"photo_id":"1351371615","filename":"file1"},{"photo_id":"1351371613","filename":"file0"},{"photo_id":"1351371620","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351371620":["hashtag1","hashtag2"]},{"1351371617":["hashtag1","hashtag2"]},{"1351371632":["hashtag1","hashtag2"]},{"1351371613":["hashtag1","hashtag2"]},{"1351371621":["hashtag1","hashtag2"]},{"1351371615":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351371620, 1351371617, 1351371632, 1351371613, 1351371621, 1351371615)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.960962533950806 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -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-11 00:16:42.787263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/15/37/image_06042025_15_37_17_10498.jpg', '/home/pi/Desktop/images/06042025/15/37/image_06042025_15_37_26_9356.jpg', '/home/pi/Desktop/images/06042025/15/37/image_06042025_15_37_37_10390.jpg', '/home/pi/Desktop/images/06042025/15/37/image_06042025_15_37_46_9399.jpg', '/home/pi/Desktop/images/06042025/15/37/image_06042025_15_37_57_10375.jpg', '/home/pi/Desktop/images/06042025/15/37/image_06042025_15_38_07_10402.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/15/37/image_06042025_15_37_17_10498.jpg
/home/pi/Desktop/images/06042025/15/37/image_06042025_15_37_26_9356.jpg
/home/pi/Desktop/images/06042025/15/37/image_06042025_15_37_37_10390.jpg
/home/pi/Desktop/images/06042025/15/37/image_06042025_15_37_46_9399.jpg
/home/pi/Desktop/images/06042025/15/37/image_06042025_15_37_57_10375.jpg
/home/pi/Desktop/images/06042025/15/37/image_06042025_15_38_07_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":["1351371775","1351371771","1351371768","1351371753","1351371750","1351371797"],"photo_ids_order":["1351371750","1351371753","1351371768","1351371771","1351371775","1351371797"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/18fc00149d66f4d875c1869a8351bb34.jpg","text":"TemporaryFile(/tmp/multipartBody8223548737974614110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323464462,"filename":"image_06042025_15_37_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/11/1dc49b0410e3bdd5017bb9e1e030caf3.jpg","text":"TemporaryFile(/tmp/multipartBody4784001432048840937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323464462,"filename":"image_06042025_15_37_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/11/6565f7e263337e79ba005ff705143336.jpg","text":"TemporaryFile(/tmp/multipartBody1825196350276059783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323464462,"filename":"image_06042025_15_37_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/11/088e5c50bab09b7ba356b6fa4ce5d3ca.jpg","text":"TemporaryFile(/tmp/multipartBody9092206660566413663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323464462,"filename":"image_06042025_15_37_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/11/8d08cee4770c6b3ec704076d53019cdb.jpg","text":"TemporaryFile(/tmp/multipartBody2084536503870222699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323464462,"filename":"image_06042025_15_37_17_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/11/7504907ea786454913c1b53f3e335a26.jpg","text":"TemporaryFile(/tmp/multipartBody6214442283318045973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323464462,"filename":"image_06042025_15_38_07_10402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351371768","file1":"1351371753","file0":"1351371750","file4":"1351371775","file5":"1351371797","file3":"1351371771"},"map_files_photo_id_array":[{"photo_id":"1351371797","filename":"file5"},{"photo_id":"1351371768","filename":"file2"},{"photo_id":"1351371775","filename":"file4"},{"photo_id":"1351371753","filename":"file1"},{"photo_id":"1351371750","filename":"file0"},{"photo_id":"1351371771","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351371775":["hashtag1","hashtag2"]},{"1351371771":["hashtag1","hashtag2"]},{"1351371768":["hashtag1","hashtag2"]},{"1351371753":["hashtag1","hashtag2"]},{"1351371750":["hashtag1","hashtag2"]},{"1351371797":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351371775, 1351371771, 1351371768, 1351371753, 1351371750, 1351371797)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.02365159988403 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -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-11 00:17:42.962392
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/15/38/image_06042025_15_38_16_9411.jpg', '/home/pi/Desktop/images/06042025/15/38/image_06042025_15_38_27_10412.jpg', '/home/pi/Desktop/images/06042025/15/38/image_06042025_15_38_36_9351.jpg', '/home/pi/Desktop/images/06042025/15/38/image_06042025_15_38_46_10368.jpg', '/home/pi/Desktop/images/06042025/15/38/image_06042025_15_38_57_10478.jpg', '/home/pi/Desktop/images/06042025/15/39/image_06042025_15_39_17_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/15/38/image_06042025_15_38_16_9411.jpg
/home/pi/Desktop/images/06042025/15/38/image_06042025_15_38_27_10412.jpg
/home/pi/Desktop/images/06042025/15/38/image_06042025_15_38_36_9351.jpg
/home/pi/Desktop/images/06042025/15/38/image_06042025_15_38_46_10368.jpg
/home/pi/Desktop/images/06042025/15/38/image_06042025_15_38_57_10478.jpg
/home/pi/Desktop/images/06042025/15/39/image_06042025_15_39_17_10369.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351371967","1351372102","1351371982","1351372086","1351372035","1351372005"],"photo_ids_order":["1351371967","1351371982","1351372005","1351372035","1351372086","1351372102"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e53a597515f3a85fa5ad7a29994af7c7.jpg","text":"TemporaryFile(/tmp/multipartBody8137474800167933229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323524672,"filename":"image_06042025_15_38_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/11/738805e1f494fc04f795fcc7675f008d.jpg","text":"TemporaryFile(/tmp/multipartBody6175986305127657514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323524672,"filename":"image_06042025_15_39_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/11/ff1d9781b020dee46288c140fcc15ab7.jpg","text":"TemporaryFile(/tmp/multipartBody7033795922997648392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323524672,"filename":"image_06042025_15_38_27_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/36f30e2484ccb82d93a21147f48896ec.jpg","text":"TemporaryFile(/tmp/multipartBody6364499473478906357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323524672,"filename":"image_06042025_15_38_57_10478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b89659bb5a987a959b93821945c52d52.jpg","text":"TemporaryFile(/tmp/multipartBody4663593435921732313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323524672,"filename":"image_06042025_15_38_46_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8b3a7ff4f3bdfda850f5474f93956f66.jpg","text":"TemporaryFile(/tmp/multipartBody8224887139534898418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323524672,"filename":"image_06042025_15_38_36_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351372005","file1":"1351371982","file0":"1351371967","file4":"1351372086","file5":"1351372102","file3":"1351372035"},"map_files_photo_id_array":[{"photo_id":"1351372102","filename":"file5"},{"photo_id":"1351372005","filename":"file2"},{"photo_id":"1351372086","filename":"file4"},{"photo_id":"1351371982","filename":"file1"},{"photo_id":"1351371967","filename":"file0"},{"photo_id":"1351372035","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351371967":["hashtag1","hashtag2"]},{"1351372102":["hashtag1","hashtag2"]},{"1351371982":["hashtag1","hashtag2"]},{"1351372086":["hashtag1","hashtag2"]},{"1351372035":["hashtag1","hashtag2"]},{"1351372005":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351371967, 1351372102, 1351371982, 1351372086, 1351372035, 1351372005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.06359386444092 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -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-11 00:18:42.173769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/15/39/image_06042025_15_39_26_9347.jpg', '/home/pi/Desktop/images/06042025/15/39/image_06042025_15_39_36_10351.jpg', '/home/pi/Desktop/images/06042025/15/39/image_06042025_15_39_47_10365.jpg', '/home/pi/Desktop/images/06042025/15/39/image_06042025_15_39_56_9385.jpg', '/home/pi/Desktop/images/06042025/15/39/image_06042025_15_40_07_10430.jpg', '/home/pi/Desktop/images/06042025/15/40/image_06042025_15_40_26_9403.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/15/39/image_06042025_15_39_26_9347.jpg
/home/pi/Desktop/images/06042025/15/39/image_06042025_15_39_36_10351.jpg
/home/pi/Desktop/images/06042025/15/39/image_06042025_15_39_47_10365.jpg
/home/pi/Desktop/images/06042025/15/39/image_06042025_15_39_56_9385.jpg
/home/pi/Desktop/images/06042025/15/39/image_06042025_15_40_07_10430.jpg
/home/pi/Desktop/images/06042025/15/40/image_06042025_15_40_26_9403.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351372202","1351372207","1351372190","1351372187","1351372181","1351372195"],"photo_ids_order":["1351372181","1351372187","1351372190","1351372195","1351372202","1351372207"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f089521d93561a60b82c458f68f15c6e.jpg","text":"TemporaryFile(/tmp/multipartBody6299899017535135363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323583832,"filename":"image_06042025_15_40_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/11/161bf81ba03c051802c779c6f17f6bb9.jpg","text":"TemporaryFile(/tmp/multipartBody7548764066202939718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323583832,"filename":"image_06042025_15_40_26_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4faa0387d0e341a4085671db8684cd32.jpg","text":"TemporaryFile(/tmp/multipartBody3082062807896583746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323583832,"filename":"image_06042025_15_39_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/11/e77bab0fded4d377dc9d4affb37add59.jpg","text":"TemporaryFile(/tmp/multipartBody601575140951551397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323583832,"filename":"image_06042025_15_39_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/11/68c83ade5442a673def3263ebe15a7c9.jpg","text":"TemporaryFile(/tmp/multipartBody113314533943409064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323583832,"filename":"image_06042025_15_39_26_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d4ff0a080d6c27dbe69fffc926578817.jpg","text":"TemporaryFile(/tmp/multipartBody2336685183916792820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323583832,"filename":"image_06042025_15_39_56_9385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351372190","file1":"1351372187","file0":"1351372181","file4":"1351372202","file5":"1351372207","file3":"1351372195"},"map_files_photo_id_array":[{"photo_id":"1351372207","filename":"file5"},{"photo_id":"1351372190","filename":"file2"},{"photo_id":"1351372202","filename":"file4"},{"photo_id":"1351372187","filename":"file1"},{"photo_id":"1351372181","filename":"file0"},{"photo_id":"1351372195","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351372202":["hashtag1","hashtag2"]},{"1351372207":["hashtag1","hashtag2"]},{"1351372190":["hashtag1","hashtag2"]},{"1351372187":["hashtag1","hashtag2"]},{"1351372181":["hashtag1","hashtag2"]},{"1351372195":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351372202, 1351372207, 1351372190, 1351372187, 1351372181, 1351372195)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.143709659576416 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -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-11 00:19:42.433451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/15/40/image_06042025_15_40_37_10521.jpg', '/home/pi/Desktop/images/06042025/15/40/image_06042025_15_40_46_9350.jpg', '/home/pi/Desktop/images/06042025/15/40/image_06042025_15_41_06_9400.jpg', '/home/pi/Desktop/images/06042025/15/41/image_06042025_15_41_16_10423.jpg', '/home/pi/Desktop/images/06042025/15/41/image_06042025_15_41_27_10452.jpg', '/home/pi/Desktop/images/06042025/15/41/image_06042025_15_41_47_10374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/15/40/image_06042025_15_40_37_10521.jpg
/home/pi/Desktop/images/06042025/15/40/image_06042025_15_40_46_9350.jpg
/home/pi/Desktop/images/06042025/15/40/image_06042025_15_41_06_9400.jpg
/home/pi/Desktop/images/06042025/15/41/image_06042025_15_41_16_10423.jpg
/home/pi/Desktop/images/06042025/15/41/image_06042025_15_41_27_10452.jpg
/home/pi/Desktop/images/06042025/15/41/image_06042025_15_41_47_10374.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351372486","1351372444","1351372420","1351372437","1351372448","1351372424"],"photo_ids_order":["1351372420","1351372424","1351372437","1351372444","1351372448","1351372486"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/27bbca3edb9664b9012ecac694ef8a59.jpg","text":"TemporaryFile(/tmp/multipartBody8110681604526957419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323644086,"filename":"image_06042025_15_41_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/11/438266844353f7748354449b2f4890ce.jpg","text":"TemporaryFile(/tmp/multipartBody3644444152499201850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323644086,"filename":"image_06042025_15_41_16_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1d45fc3d72f2eee1e8771ced468b20ac.jpg","text":"TemporaryFile(/tmp/multipartBody4061542908830866695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323644086,"filename":"image_06042025_15_40_37_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/11/819e92987503888f51aeeebb5537f854.jpg","text":"TemporaryFile(/tmp/multipartBody5337787102439905476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323644086,"filename":"image_06042025_15_41_06_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/16a6578e97d2a0e7e0884dc56059ebdd.jpg","text":"TemporaryFile(/tmp/multipartBody1783417085137089067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323644086,"filename":"image_06042025_15_41_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/11/d5753a32d5fff3d5ef6e8cc2fe9979a9.jpg","text":"TemporaryFile(/tmp/multipartBody6304525669272631168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323644086,"filename":"image_06042025_15_40_46_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351372437","file1":"1351372424","file0":"1351372420","file4":"1351372448","file5":"1351372486","file3":"1351372444"},"map_files_photo_id_array":[{"photo_id":"1351372486","filename":"file5"},{"photo_id":"1351372437","filename":"file2"},{"photo_id":"1351372448","filename":"file4"},{"photo_id":"1351372424","filename":"file1"},{"photo_id":"1351372420","filename":"file0"},{"photo_id":"1351372444","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351372486":["hashtag1","hashtag2"]},{"1351372444":["hashtag1","hashtag2"]},{"1351372420":["hashtag1","hashtag2"]},{"1351372437":["hashtag1","hashtag2"]},{"1351372448":["hashtag1","hashtag2"]},{"1351372424":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351372486, 1351372444, 1351372420, 1351372437, 1351372448, 1351372424)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.86154341697693 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -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-11 00:20:42.666318
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/15/41/image_06042025_15_41_56_9464.jpg', '/home/pi/Desktop/images/06042025/15/41/image_06042025_15_42_07_10427.jpg', '/home/pi/Desktop/images/06042025/15/42/image_06042025_15_42_16_9478.jpg', '/home/pi/Desktop/images/06042025/15/42/image_06042025_15_42_26_10346.jpg', '/home/pi/Desktop/images/06042025/15/42/image_06042025_15_42_37_10469.jpg', '/home/pi/Desktop/images/06042025/15/42/image_06042025_15_42_46_9362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/15/41/image_06042025_15_41_56_9464.jpg
/home/pi/Desktop/images/06042025/15/41/image_06042025_15_42_07_10427.jpg
/home/pi/Desktop/images/06042025/15/42/image_06042025_15_42_16_9478.jpg
/home/pi/Desktop/images/06042025/15/42/image_06042025_15_42_26_10346.jpg
/home/pi/Desktop/images/06042025/15/42/image_06042025_15_42_37_10469.jpg
/home/pi/Desktop/images/06042025/15/42/image_06042025_15_42_46_9362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351372525","1351372519","1351372513","1351372609","1351372578","1351372516"],"photo_ids_order":["1351372513","1351372516","1351372519","1351372525","1351372578","1351372609"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b0d52c8b3e9b5426cec46a1e7c067e21.jpg","text":"TemporaryFile(/tmp/multipartBody1417247388412427265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323704507,"filename":"image_06042025_15_42_26_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/269a22e14e341f19732bf49e750910b7.jpg","text":"TemporaryFile(/tmp/multipartBody3924490476201387449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323704507,"filename":"image_06042025_15_42_16_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/11/3cc63c0b3a2b97d3ca94de020c5c6538.jpg","text":"TemporaryFile(/tmp/multipartBody5090382564279156054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323704507,"filename":"image_06042025_15_41_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/11/5ec131f18be43c4dee623e276efdc705.jpg","text":"TemporaryFile(/tmp/multipartBody5811728566690915605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323704507,"filename":"image_06042025_15_42_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/11/839f71a1841ba4dcff3ef79c7c1f2466.jpg","text":"TemporaryFile(/tmp/multipartBody8040475603359600510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323704507,"filename":"image_06042025_15_42_37_10469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/327363fd1f1280c335880caa488fdaed.jpg","text":"TemporaryFile(/tmp/multipartBody4689347065747054549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323704507,"filename":"image_06042025_15_42_07_10427.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351372519","file1":"1351372516","file0":"1351372513","file4":"1351372578","file5":"1351372609","file3":"1351372525"},"map_files_photo_id_array":[{"photo_id":"1351372609","filename":"file5"},{"photo_id":"1351372519","filename":"file2"},{"photo_id":"1351372578","filename":"file4"},{"photo_id":"1351372516","filename":"file1"},{"photo_id":"1351372513","filename":"file0"},{"photo_id":"1351372525","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351372525":["hashtag1","hashtag2"]},{"1351372519":["hashtag1","hashtag2"]},{"1351372513":["hashtag1","hashtag2"]},{"1351372609":["hashtag1","hashtag2"]},{"1351372578":["hashtag1","hashtag2"]},{"1351372516":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351372525, 1351372519, 1351372513, 1351372609, 1351372578, 1351372516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.17877745628357 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -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-11 00:21:42.952739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/15/42/image_06042025_15_43_06_9498.jpg', '/home/pi/Desktop/images/06042025/15/43/image_06042025_15_43_16_10427.jpg', '/home/pi/Desktop/images/06042025/15/43/image_06042025_15_43_27_10427.jpg', '/home/pi/Desktop/images/06042025/15/43/image_06042025_15_43_36_9436.jpg', '/home/pi/Desktop/images/06042025/15/43/image_06042025_15_43_47_10456.jpg', '/home/pi/Desktop/images/06042025/15/44/image_06042025_15_44_17_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/15/42/image_06042025_15_43_06_9498.jpg
/home/pi/Desktop/images/06042025/15/43/image_06042025_15_43_16_10427.jpg
/home/pi/Desktop/images/06042025/15/43/image_06042025_15_43_27_10427.jpg
/home/pi/Desktop/images/06042025/15/43/image_06042025_15_43_36_9436.jpg
/home/pi/Desktop/images/06042025/15/43/image_06042025_15_43_47_10456.jpg
/home/pi/Desktop/images/06042025/15/44/image_06042025_15_44_17_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":["1351372717","1351372705","1351372714","1351372708","1351372702","1351372710"],"photo_ids_order":["1351372702","1351372705","1351372708","1351372710","1351372714","1351372717"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/68c5a477e7ead6e8b775383222af2097.jpg","text":"TemporaryFile(/tmp/multipartBody2653567032292903585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323764631,"filename":"image_06042025_15_44_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/11/e317db83bb5e6889420d22a03fc2db08.jpg","text":"TemporaryFile(/tmp/multipartBody5142391920298853246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323764631,"filename":"image_06042025_15_43_16_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a020ee67b075d31b2c326c2cacc83f22.jpg","text":"TemporaryFile(/tmp/multipartBody3498855764851695859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323764631,"filename":"image_06042025_15_43_47_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/cd06c14ad8d91ddefba26807d7170739.jpg","text":"TemporaryFile(/tmp/multipartBody2148225305859545314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323764631,"filename":"image_06042025_15_43_27_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9b01a20f28517af66165ed4c40c902f0.jpg","text":"TemporaryFile(/tmp/multipartBody4705406776461493126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323764631,"filename":"image_06042025_15_43_06_9498.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/366e8ec107756025f5d6bbb376649e94.jpg","text":"TemporaryFile(/tmp/multipartBody7541274218847048878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323764631,"filename":"image_06042025_15_43_36_9436.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351372708","file1":"1351372705","file0":"1351372702","file4":"1351372714","file5":"1351372717","file3":"1351372710"},"map_files_photo_id_array":[{"photo_id":"1351372717","filename":"file5"},{"photo_id":"1351372708","filename":"file2"},{"photo_id":"1351372714","filename":"file4"},{"photo_id":"1351372705","filename":"file1"},{"photo_id":"1351372702","filename":"file0"},{"photo_id":"1351372710","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351372717":["hashtag1","hashtag2"]},{"1351372705":["hashtag1","hashtag2"]},{"1351372714":["hashtag1","hashtag2"]},{"1351372708":["hashtag1","hashtag2"]},{"1351372702":["hashtag1","hashtag2"]},{"1351372710":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351372717, 1351372705, 1351372714, 1351372708, 1351372702, 1351372710)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.70636320114136 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -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-11 00:22:43.143511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/15/44/image_06042025_15_44_37_10411.jpg', '/home/pi/Desktop/images/06042025/15/44/image_06042025_15_44_46_9345.jpg', '/home/pi/Desktop/images/06042025/15/44/image_06042025_15_44_56_10356.jpg', '/home/pi/Desktop/images/06042025/15/44/image_06042025_15_45_07_10364.jpg', '/home/pi/Desktop/images/06042025/15/45/image_06042025_15_45_16_9355.jpg', '/home/pi/Desktop/images/06042025/15/45/image_06042025_15_45_37_10462.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/15/44/image_06042025_15_44_37_10411.jpg
/home/pi/Desktop/images/06042025/15/44/image_06042025_15_44_46_9345.jpg
/home/pi/Desktop/images/06042025/15/44/image_06042025_15_44_56_10356.jpg
/home/pi/Desktop/images/06042025/15/44/image_06042025_15_45_07_10364.jpg
/home/pi/Desktop/images/06042025/15/45/image_06042025_15_45_16_9355.jpg
/home/pi/Desktop/images/06042025/15/45/image_06042025_15_45_37_10462.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351372891","1351372876","1351372872","1351372889","1351372850","1351372907"],"photo_ids_order":["1351372850","1351372872","1351372876","1351372889","1351372891","1351372907"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4609f5aa664b29300b064e965c9c62df.jpg","text":"TemporaryFile(/tmp/multipartBody6071532450708847710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323824817,"filename":"image_06042025_15_45_16_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3ca2267be3eb10b68e654b228f7b5ad8.jpg","text":"TemporaryFile(/tmp/multipartBody57276854510435288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323824817,"filename":"image_06042025_15_44_56_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d53e7fddeba836a96951e5fbc8930ecf.jpg","text":"TemporaryFile(/tmp/multipartBody190649667450646132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323824817,"filename":"image_06042025_15_44_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/11/95fd14420761766b9760b605fdcff6c4.jpg","text":"TemporaryFile(/tmp/multipartBody5910791371499617133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323824817,"filename":"image_06042025_15_45_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/11/0e87d822eb58ce0de75605e63ea727c7.jpg","text":"TemporaryFile(/tmp/multipartBody1143140270924268493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323824817,"filename":"image_06042025_15_44_37_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e499e9413b2650e17bc81103337b2bca.jpg","text":"TemporaryFile(/tmp/multipartBody5471964405420417430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323824817,"filename":"image_06042025_15_45_37_10462.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351372876","file1":"1351372872","file0":"1351372850","file4":"1351372891","file5":"1351372907","file3":"1351372889"},"map_files_photo_id_array":[{"photo_id":"1351372907","filename":"file5"},{"photo_id":"1351372876","filename":"file2"},{"photo_id":"1351372891","filename":"file4"},{"photo_id":"1351372872","filename":"file1"},{"photo_id":"1351372850","filename":"file0"},{"photo_id":"1351372889","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351372891":["hashtag1","hashtag2"]},{"1351372876":["hashtag1","hashtag2"]},{"1351372872":["hashtag1","hashtag2"]},{"1351372889":["hashtag1","hashtag2"]},{"1351372850":["hashtag1","hashtag2"]},{"1351372907":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351372891, 1351372876, 1351372872, 1351372889, 1351372850, 1351372907)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.737334966659546 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -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-11 00:23:42.452938
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/15/45/image_06042025_15_45_46_9395.jpg', '/home/pi/Desktop/images/06042025/15/45/image_06042025_15_45_57_10363.jpg', '/home/pi/Desktop/images/06042025/15/45/image_06042025_15_46_06_9427.jpg', '/home/pi/Desktop/images/06042025/15/46/image_06042025_15_46_17_10407.jpg', '/home/pi/Desktop/images/06042025/15/46/image_06042025_15_46_26_9433.jpg', '/home/pi/Desktop/images/06042025/15/46/image_06042025_15_46_36_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/15/45/image_06042025_15_45_46_9395.jpg
/home/pi/Desktop/images/06042025/15/45/image_06042025_15_45_57_10363.jpg
/home/pi/Desktop/images/06042025/15/45/image_06042025_15_46_06_9427.jpg
/home/pi/Desktop/images/06042025/15/46/image_06042025_15_46_17_10407.jpg
/home/pi/Desktop/images/06042025/15/46/image_06042025_15_46_26_9433.jpg
/home/pi/Desktop/images/06042025/15/46/image_06042025_15_46_36_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":["1351373023","1351373013","1351373021","1351373030","1351373018","1351373044"],"photo_ids_order":["1351373013","1351373018","1351373021","1351373023","1351373030","1351373044"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/457126af6b713a6930c14209e5a8d735.jpg","text":"TemporaryFile(/tmp/multipartBody8051348001855971687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323884131,"filename":"image_06042025_15_46_17_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/bc7a48f7453c346c7b59226ce94848ad.jpg","text":"TemporaryFile(/tmp/multipartBody8371730053888977078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323884131,"filename":"image_06042025_15_45_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/11/25c43b315b8bff0c27cd8efe02f24f5c.jpg","text":"TemporaryFile(/tmp/multipartBody1802210070448889118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323884131,"filename":"image_06042025_15_46_06_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ac9ed413a19f722f593975bc2aea742e.jpg","text":"TemporaryFile(/tmp/multipartBody4885133716259553022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323884131,"filename":"image_06042025_15_46_26_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/24c9b071ffebf5c86ffd961439fa6d75.jpg","text":"TemporaryFile(/tmp/multipartBody1967667518071590441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323884131,"filename":"image_06042025_15_45_57_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a03fbecb11f0fc6b9d3fda3f90d90181.jpg","text":"TemporaryFile(/tmp/multipartBody5380749729204783473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323884131,"filename":"image_06042025_15_46_36_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351373021","file1":"1351373018","file0":"1351373013","file4":"1351373030","file5":"1351373044","file3":"1351373023"},"map_files_photo_id_array":[{"photo_id":"1351373044","filename":"file5"},{"photo_id":"1351373021","filename":"file2"},{"photo_id":"1351373030","filename":"file4"},{"photo_id":"1351373018","filename":"file1"},{"photo_id":"1351373013","filename":"file0"},{"photo_id":"1351373023","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351373023":["hashtag1","hashtag2"]},{"1351373013":["hashtag1","hashtag2"]},{"1351373021":["hashtag1","hashtag2"]},{"1351373030":["hashtag1","hashtag2"]},{"1351373018":["hashtag1","hashtag2"]},{"1351373044":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351373023, 1351373013, 1351373021, 1351373030, 1351373018, 1351373044)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.76938772201538 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -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-11 00:24:42.689309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/15/46/image_06042025_15_46_47_10529.jpg', '/home/pi/Desktop/images/06042025/15/46/image_06042025_15_47_07_10385.jpg', '/home/pi/Desktop/images/06042025/15/47/image_06042025_15_47_16_9421.jpg', '/home/pi/Desktop/images/06042025/15/47/image_06042025_15_47_26_10367.jpg', '/home/pi/Desktop/images/06042025/15/47/image_06042025_15_47_37_10354.jpg', '/home/pi/Desktop/images/06042025/15/47/image_06042025_15_47_46_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/15/46/image_06042025_15_46_47_10529.jpg
/home/pi/Desktop/images/06042025/15/46/image_06042025_15_47_07_10385.jpg
/home/pi/Desktop/images/06042025/15/47/image_06042025_15_47_16_9421.jpg
/home/pi/Desktop/images/06042025/15/47/image_06042025_15_47_26_10367.jpg
/home/pi/Desktop/images/06042025/15/47/image_06042025_15_47_37_10354.jpg
/home/pi/Desktop/images/06042025/15/47/image_06042025_15_47_46_9386.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351373212","1351373113","1351373184","1351373084","1351373078","1351373081"],"photo_ids_order":["1351373078","1351373081","1351373084","1351373113","1351373184","1351373212"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e9c725115753aec8777bf6ded858309c.jpg","text":"TemporaryFile(/tmp/multipartBody5633902732592585539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323944507,"filename":"image_06042025_15_47_46_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/becd48d7a62f8524b01623c9f0d3ac89.jpg","text":"TemporaryFile(/tmp/multipartBody1762062231471424156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323944507,"filename":"image_06042025_15_47_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/11/7b48ac23edfbe709244251313a89e302.jpg","text":"TemporaryFile(/tmp/multipartBody4079009635260305514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323944507,"filename":"image_06042025_15_47_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/11/de6cdff094ffc14eddb6bedf5568e44a.jpg","text":"TemporaryFile(/tmp/multipartBody6295251863040603226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323944507,"filename":"image_06042025_15_47_16_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9dd49a9d8012876d66d7cb89abd70bd7.jpg","text":"TemporaryFile(/tmp/multipartBody5878269939608827089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323944507,"filename":"image_06042025_15_46_47_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/11/dff040eb9650a4e6fe98986843a24f88.jpg","text":"TemporaryFile(/tmp/multipartBody4024231345251488255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744323944507,"filename":"image_06042025_15_47_07_10385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351373084","file1":"1351373081","file0":"1351373078","file4":"1351373184","file5":"1351373212","file3":"1351373113"},"map_files_photo_id_array":[{"photo_id":"1351373212","filename":"file5"},{"photo_id":"1351373084","filename":"file2"},{"photo_id":"1351373184","filename":"file4"},{"photo_id":"1351373081","filename":"file1"},{"photo_id":"1351373078","filename":"file0"},{"photo_id":"1351373113","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351373212":["hashtag1","hashtag2"]},{"1351373113":["hashtag1","hashtag2"]},{"1351373184":["hashtag1","hashtag2"]},{"1351373084":["hashtag1","hashtag2"]},{"1351373078":["hashtag1","hashtag2"]},{"1351373081":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351373212, 1351373113, 1351373184, 1351373084, 1351373078, 1351373081)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.20182490348816 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -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-11 00:25:42.918901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/15/47/image_06042025_15_47_57_10408.jpg', '/home/pi/Desktop/images/06042025/15/47/image_06042025_15_48_06_9421.jpg', '/home/pi/Desktop/images/06042025/15/48/image_06042025_15_48_16_10409.jpg', '/home/pi/Desktop/images/06042025/15/48/image_06042025_15_48_27_10367.jpg', '/home/pi/Desktop/images/06042025/15/48/image_06042025_15_48_36_9384.jpg', '/home/pi/Desktop/images/06042025/15/48/image_06042025_15_48_47_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/15/47/image_06042025_15_47_57_10408.jpg
/home/pi/Desktop/images/06042025/15/47/image_06042025_15_48_06_9421.jpg
/home/pi/Desktop/images/06042025/15/48/image_06042025_15_48_16_10409.jpg
/home/pi/Desktop/images/06042025/15/48/image_06042025_15_48_27_10367.jpg
/home/pi/Desktop/images/06042025/15/48/image_06042025_15_48_36_9384.jpg
/home/pi/Desktop/images/06042025/15/48/image_06042025_15_48_47_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":["1351373475","1351373505","1351373555","1351373483","1351373417","1351373533"],"photo_ids_order":["1351373417","1351373475","1351373483","1351373505","1351373533","1351373555"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3c5df11df242b813f00e20f5113b3869.jpg","text":"TemporaryFile(/tmp/multipartBody7002286883398852974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324004598,"filename":"image_06042025_15_48_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/11/a381e6fd33463de787453a672357222e.jpg","text":"TemporaryFile(/tmp/multipartBody6301297095801803002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324004598,"filename":"image_06042025_15_48_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/11/b5f9c806e47ec19798bf18b720df181f.jpg","text":"TemporaryFile(/tmp/multipartBody8782272113569205980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324004598,"filename":"image_06042025_15_48_47_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1389058decabb9ae8d69becaf526e87d.jpg","text":"TemporaryFile(/tmp/multipartBody7847578090244978744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324004598,"filename":"image_06042025_15_48_16_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/bee04a444a1087dc9bfb9b860b9d6923.jpg","text":"TemporaryFile(/tmp/multipartBody7033955987157491011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324004598,"filename":"image_06042025_15_47_57_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f0b43182d3afbe29770dfb20ecdb5ca4.jpg","text":"TemporaryFile(/tmp/multipartBody5894952959506283938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324004598,"filename":"image_06042025_15_48_36_9384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351373483","file1":"1351373475","file0":"1351373417","file4":"1351373533","file5":"1351373555","file3":"1351373505"},"map_files_photo_id_array":[{"photo_id":"1351373555","filename":"file5"},{"photo_id":"1351373483","filename":"file2"},{"photo_id":"1351373533","filename":"file4"},{"photo_id":"1351373475","filename":"file1"},{"photo_id":"1351373417","filename":"file0"},{"photo_id":"1351373505","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351373475":["hashtag1","hashtag2"]},{"1351373505":["hashtag1","hashtag2"]},{"1351373555":["hashtag1","hashtag2"]},{"1351373483":["hashtag1","hashtag2"]},{"1351373417":["hashtag1","hashtag2"]},{"1351373533":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351373475, 1351373505, 1351373555, 1351373483, 1351373417, 1351373533)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.4389750957489 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -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-11 00:26:43.135223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/15/48/image_06042025_15_48_57_10447.jpg', '/home/pi/Desktop/images/06042025/15/48/image_06042025_15_49_06_9403.jpg', '/home/pi/Desktop/images/06042025/15/49/image_06042025_15_49_37_10397.jpg', '/home/pi/Desktop/images/06042025/15/49/image_06042025_15_49_47_10364.jpg', '/home/pi/Desktop/images/06042025/15/49/image_06042025_15_49_56_9347.jpg', '/home/pi/Desktop/images/06042025/15/49/image_06042025_15_50_07_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/15/48/image_06042025_15_48_57_10447.jpg
/home/pi/Desktop/images/06042025/15/48/image_06042025_15_49_06_9403.jpg
/home/pi/Desktop/images/06042025/15/49/image_06042025_15_49_37_10397.jpg
/home/pi/Desktop/images/06042025/15/49/image_06042025_15_49_47_10364.jpg
/home/pi/Desktop/images/06042025/15/49/image_06042025_15_49_56_9347.jpg
/home/pi/Desktop/images/06042025/15/49/image_06042025_15_50_07_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":["1351374135","1351374111","1351373996","1351373928","1351374020","1351374073"],"photo_ids_order":["1351373928","1351373996","1351374020","1351374073","1351374111","1351374135"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0151a2454eb2e2436ca192b54c4974bf.jpg","text":"TemporaryFile(/tmp/multipartBody7924339913606937643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324064828,"filename":"image_06042025_15_50_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/11/66acc529a30e0e50b51a7cd11211c01b.jpg","text":"TemporaryFile(/tmp/multipartBody7511911605218958544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324064828,"filename":"image_06042025_15_49_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/11/497c47a20a9ba97010a2092ac23c4957.jpg","text":"TemporaryFile(/tmp/multipartBody2332274259603480931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324064828,"filename":"image_06042025_15_49_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/11/a59ed720becbad4bcdebfee38c51f531.jpg","text":"TemporaryFile(/tmp/multipartBody2748383070896566460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324064828,"filename":"image_06042025_15_48_57_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/11/708446b2d3f07b3e7ed64f63217342bd.jpg","text":"TemporaryFile(/tmp/multipartBody4014375255911585503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324064828,"filename":"image_06042025_15_49_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/11/b50bf9662a82e1f3bf7d6fe3378c03a5.jpg","text":"TemporaryFile(/tmp/multipartBody5888364949628676707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324064828,"filename":"image_06042025_15_49_47_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351374020","file1":"1351373996","file0":"1351373928","file4":"1351374111","file5":"1351374135","file3":"1351374073"},"map_files_photo_id_array":[{"photo_id":"1351374135","filename":"file5"},{"photo_id":"1351374020","filename":"file2"},{"photo_id":"1351374111","filename":"file4"},{"photo_id":"1351373996","filename":"file1"},{"photo_id":"1351373928","filename":"file0"},{"photo_id":"1351374073","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351374135":["hashtag1","hashtag2"]},{"1351374111":["hashtag1","hashtag2"]},{"1351373996":["hashtag1","hashtag2"]},{"1351373928":["hashtag1","hashtag2"]},{"1351374020":["hashtag1","hashtag2"]},{"1351374073":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351374135, 1351374111, 1351373996, 1351373928, 1351374020, 1351374073)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.9827299118042 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -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-11 00:27:42.304182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/15/50/image_06042025_15_50_16_9359.jpg', '/home/pi/Desktop/images/06042025/15/50/image_06042025_15_50_26_10377.jpg', '/home/pi/Desktop/images/06042025/15/50/image_06042025_15_50_37_10471.jpg', '/home/pi/Desktop/images/06042025/15/50/image_06042025_15_50_46_9358.jpg', '/home/pi/Desktop/images/06042025/15/50/image_06042025_15_50_57_10390.jpg', '/home/pi/Desktop/images/06042025/15/50/image_06042025_15_51_06_9403.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/15/50/image_06042025_15_50_16_9359.jpg
/home/pi/Desktop/images/06042025/15/50/image_06042025_15_50_26_10377.jpg
/home/pi/Desktop/images/06042025/15/50/image_06042025_15_50_37_10471.jpg
/home/pi/Desktop/images/06042025/15/50/image_06042025_15_50_46_9358.jpg
/home/pi/Desktop/images/06042025/15/50/image_06042025_15_50_57_10390.jpg
/home/pi/Desktop/images/06042025/15/50/image_06042025_15_51_06_9403.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.5851025581359863 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 00:28:02.999151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/15/50/image_06042025_15_50_16_9359.jpg', '/home/pi/Desktop/images/06042025/15/50/image_06042025_15_50_26_10377.jpg', '/home/pi/Desktop/images/06042025/15/50/image_06042025_15_50_37_10471.jpg', '/home/pi/Desktop/images/06042025/15/50/image_06042025_15_50_46_9358.jpg', '/home/pi/Desktop/images/06042025/15/50/image_06042025_15_50_57_10390.jpg', '/home/pi/Desktop/images/06042025/15/50/image_06042025_15_51_06_9403.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/15/50/image_06042025_15_50_16_9359.jpg
/home/pi/Desktop/images/06042025/15/50/image_06042025_15_50_26_10377.jpg
/home/pi/Desktop/images/06042025/15/50/image_06042025_15_50_37_10471.jpg
/home/pi/Desktop/images/06042025/15/50/image_06042025_15_50_46_9358.jpg
/home/pi/Desktop/images/06042025/15/50/image_06042025_15_50_57_10390.jpg
/home/pi/Desktop/images/06042025/15/50/image_06042025_15_51_06_9403.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351374435","1351374467","1351374405","1351374368","1351374449","1351374487"],"photo_ids_order":["1351374368","1351374405","1351374435","1351374449","1351374467","1351374487"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b96e3326b384456ba2d1144d8b906125.jpg","text":"TemporaryFile(/tmp/multipartBody8275114509438324740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324143771,"filename":"image_06042025_15_50_37_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/11/467fa3f2bc3d0b0e01d577b95dd1ca13.jpg","text":"TemporaryFile(/tmp/multipartBody970196684042682710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324143771,"filename":"image_06042025_15_50_57_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/40bf43e488781aed3c26b5e5b4d12b5e.jpg","text":"TemporaryFile(/tmp/multipartBody5801047819473457040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324143771,"filename":"image_06042025_15_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/11/2a76c09c4bcef936386fbaf1281a0ba2.jpg","text":"TemporaryFile(/tmp/multipartBody1814300089262851889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324143771,"filename":"image_06042025_15_50_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/11/b2cab8e1795362c05fef7d687906f577.jpg","text":"TemporaryFile(/tmp/multipartBody4301155783836246071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324143771,"filename":"image_06042025_15_50_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/11/037ba5492b6468db51928bb0aeb7bb6a.jpg","text":"TemporaryFile(/tmp/multipartBody3774960716489818450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324143771,"filename":"image_06042025_15_51_06_9403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351374435","file1":"1351374405","file0":"1351374368","file4":"1351374467","file5":"1351374487","file3":"1351374449"},"map_files_photo_id_array":[{"photo_id":"1351374487","filename":"file5"},{"photo_id":"1351374435","filename":"file2"},{"photo_id":"1351374467","filename":"file4"},{"photo_id":"1351374405","filename":"file1"},{"photo_id":"1351374368","filename":"file0"},{"photo_id":"1351374449","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351374435":["hashtag1","hashtag2"]},{"1351374467":["hashtag1","hashtag2"]},{"1351374405":["hashtag1","hashtag2"]},{"1351374368":["hashtag1","hashtag2"]},{"1351374449":["hashtag1","hashtag2"]},{"1351374487":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351374435, 1351374467, 1351374405, 1351374368, 1351374449, 1351374487)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.52812218666077 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -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-11 00:28:42.483019
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/15/51/image_06042025_15_51_47_10391.jpg', '/home/pi/Desktop/images/06042025/15/51/image_06042025_15_51_57_10462.jpg', '/home/pi/Desktop/images/06042025/15/51/image_06042025_15_52_06_9323.jpg', '/home/pi/Desktop/images/06042025/15/52/image_06042025_15_52_36_10356.jpg', '/home/pi/Desktop/images/06042025/15/52/image_06042025_15_53_07_10400.jpg', '/home/pi/Desktop/images/06042025/15/53/image_06042025_15_53_26_9365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/15/51/image_06042025_15_51_47_10391.jpg
/home/pi/Desktop/images/06042025/15/51/image_06042025_15_51_57_10462.jpg
/home/pi/Desktop/images/06042025/15/51/image_06042025_15_52_06_9323.jpg
/home/pi/Desktop/images/06042025/15/52/image_06042025_15_52_36_10356.jpg
/home/pi/Desktop/images/06042025/15/52/image_06042025_15_53_07_10400.jpg
/home/pi/Desktop/images/06042025/15/53/image_06042025_15_53_26_9365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351374663","1351374579","1351374543","1351374603","1351374689","1351374646"],"photo_ids_order":["1351374543","1351374579","1351374603","1351374646","1351374663","1351374689"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/74400a823d789b928a4d590eed14c497.jpg","text":"TemporaryFile(/tmp/multipartBody5043268640002367707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324184153,"filename":"image_06042025_15_53_07_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/551785ff8b8b3976e6376927296283ba.jpg","text":"TemporaryFile(/tmp/multipartBody2804323538862022210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324184153,"filename":"image_06042025_15_51_57_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5e4a3c0bb427f589af42a3028612bd60.jpg","text":"TemporaryFile(/tmp/multipartBody4800201735536143948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324184153,"filename":"image_06042025_15_51_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/11/6dcd5e68a311b792b0bd58541dbd5e03.jpg","text":"TemporaryFile(/tmp/multipartBody7617850492772679515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324184153,"filename":"image_06042025_15_52_06_9323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/84649f8ff3c6ff492fb783668fc24a96.jpg","text":"TemporaryFile(/tmp/multipartBody7663054904013957698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324184153,"filename":"image_06042025_15_53_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/11/f8285bc793bfcf52d462986dadfc36c9.jpg","text":"TemporaryFile(/tmp/multipartBody2898358762000814085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324184153,"filename":"image_06042025_15_52_36_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351374603","file1":"1351374579","file0":"1351374543","file4":"1351374663","file5":"1351374689","file3":"1351374646"},"map_files_photo_id_array":[{"photo_id":"1351374689","filename":"file5"},{"photo_id":"1351374603","filename":"file2"},{"photo_id":"1351374663","filename":"file4"},{"photo_id":"1351374579","filename":"file1"},{"photo_id":"1351374543","filename":"file0"},{"photo_id":"1351374646","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351374663":["hashtag1","hashtag2"]},{"1351374579":["hashtag1","hashtag2"]},{"1351374543":["hashtag1","hashtag2"]},{"1351374603":["hashtag1","hashtag2"]},{"1351374689":["hashtag1","hashtag2"]},{"1351374646":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351374663, 1351374579, 1351374543, 1351374603, 1351374689, 1351374646)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.43327856063843 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -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-11 00:29:42.656911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/15/53/image_06042025_15_53_37_10341.jpg', '/home/pi/Desktop/images/06042025/15/53/image_06042025_15_53_57_10361.jpg', '/home/pi/Desktop/images/06042025/15/53/image_06042025_15_54_07_10341.jpg', '/home/pi/Desktop/images/06042025/15/54/image_06042025_15_54_16_9379.jpg', '/home/pi/Desktop/images/06042025/15/54/image_06042025_15_54_27_10360.jpg', '/home/pi/Desktop/images/06042025/15/54/image_06042025_15_54_37_10402.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/15/53/image_06042025_15_53_37_10341.jpg
/home/pi/Desktop/images/06042025/15/53/image_06042025_15_53_57_10361.jpg
/home/pi/Desktop/images/06042025/15/53/image_06042025_15_54_07_10341.jpg
/home/pi/Desktop/images/06042025/15/54/image_06042025_15_54_16_9379.jpg
/home/pi/Desktop/images/06042025/15/54/image_06042025_15_54_27_10360.jpg
/home/pi/Desktop/images/06042025/15/54/image_06042025_15_54_37_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":["1351374938","1351374898","1351374923","1351374871","1351374973","1351374847"],"photo_ids_order":["1351374847","1351374871","1351374898","1351374923","1351374938","1351374973"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/40a380b4404c9e9bf247340dcb9293ab.jpg","text":"TemporaryFile(/tmp/multipartBody7382898118138751617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324247289,"filename":"image_06042025_15_54_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/11/075992ea6b7a9e7a06271a1705107fd2.jpg","text":"TemporaryFile(/tmp/multipartBody9016289744184926073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324247289,"filename":"image_06042025_15_54_07_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/76fef37a450f26ae2159d430c3017e9d.jpg","text":"TemporaryFile(/tmp/multipartBody9057886776237926578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324247289,"filename":"image_06042025_15_54_16_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8127d5086d3842830e4e737fc56b208c.jpg","text":"TemporaryFile(/tmp/multipartBody2412969820256640467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324247289,"filename":"image_06042025_15_53_57_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d80a891a336ad9b62538daebd66a9dcf.jpg","text":"TemporaryFile(/tmp/multipartBody2159573762686373613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324247289,"filename":"image_06042025_15_54_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/11/15ae81a15fe855d06a745e326d545301.jpg","text":"TemporaryFile(/tmp/multipartBody5400693678331716914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324247289,"filename":"image_06042025_15_53_37_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351374898","file1":"1351374871","file0":"1351374847","file4":"1351374938","file5":"1351374973","file3":"1351374923"},"map_files_photo_id_array":[{"photo_id":"1351374973","filename":"file5"},{"photo_id":"1351374898","filename":"file2"},{"photo_id":"1351374938","filename":"file4"},{"photo_id":"1351374871","filename":"file1"},{"photo_id":"1351374847","filename":"file0"},{"photo_id":"1351374923","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351374938":["hashtag1","hashtag2"]},{"1351374898":["hashtag1","hashtag2"]},{"1351374923":["hashtag1","hashtag2"]},{"1351374871":["hashtag1","hashtag2"]},{"1351374973":["hashtag1","hashtag2"]},{"1351374847":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351374938, 1351374898, 1351374923, 1351374871, 1351374973, 1351374847)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.080342531204224 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -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-11 00:30:42.821175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/15/54/image_06042025_15_54_46_9349.jpg', '/home/pi/Desktop/images/06042025/15/55/image_06042025_15_55_16_10369.jpg', '/home/pi/Desktop/images/06042025/15/55/image_06042025_15_55_27_10354.jpg', '/home/pi/Desktop/images/06042025/15/55/image_06042025_15_55_36_9430.jpg', '/home/pi/Desktop/images/06042025/15/55/image_06042025_15_55_47_10371.jpg', '/home/pi/Desktop/images/06042025/15/55/image_06042025_15_56_06_9344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/15/54/image_06042025_15_54_46_9349.jpg
/home/pi/Desktop/images/06042025/15/55/image_06042025_15_55_16_10369.jpg
/home/pi/Desktop/images/06042025/15/55/image_06042025_15_55_27_10354.jpg
/home/pi/Desktop/images/06042025/15/55/image_06042025_15_55_36_9430.jpg
/home/pi/Desktop/images/06042025/15/55/image_06042025_15_55_47_10371.jpg
/home/pi/Desktop/images/06042025/15/55/image_06042025_15_56_06_9344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351375209","1351375379","1351375285","1351375186","1351375240","1351375335"],"photo_ids_order":["1351375186","1351375209","1351375240","1351375285","1351375335","1351375379"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2445be36e1bb542e342745f8e09b23a8.jpg","text":"TemporaryFile(/tmp/multipartBody8097483599800739792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324304480,"filename":"image_06042025_15_55_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/11/0225b92dbc46c6d5726de20aadd81c2b.jpg","text":"TemporaryFile(/tmp/multipartBody5982941595289074609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324304480,"filename":"image_06042025_15_56_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/11/f37177a69d433232d74302b94d57a856.jpg","text":"TemporaryFile(/tmp/multipartBody3080703900955141508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324304480,"filename":"image_06042025_15_55_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/11/4564bfd520d0bc46cbdba2ab932f6919.jpg","text":"TemporaryFile(/tmp/multipartBody7934399525379846627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324304480,"filename":"image_06042025_15_54_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/11/a1123d6c57e884501cf41a1bd0598a45.jpg","text":"TemporaryFile(/tmp/multipartBody4741787930664470884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324304480,"filename":"image_06042025_15_55_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/11/84b3f7f022b01d8f04a6d68abef262a6.jpg","text":"TemporaryFile(/tmp/multipartBody1165094398345126339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324304480,"filename":"image_06042025_15_55_47_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351375240","file1":"1351375209","file0":"1351375186","file4":"1351375335","file5":"1351375379","file3":"1351375285"},"map_files_photo_id_array":[{"photo_id":"1351375379","filename":"file5"},{"photo_id":"1351375240","filename":"file2"},{"photo_id":"1351375335","filename":"file4"},{"photo_id":"1351375209","filename":"file1"},{"photo_id":"1351375186","filename":"file0"},{"photo_id":"1351375285","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351375209":["hashtag1","hashtag2"]},{"1351375379":["hashtag1","hashtag2"]},{"1351375285":["hashtag1","hashtag2"]},{"1351375186":["hashtag1","hashtag2"]},{"1351375240":["hashtag1","hashtag2"]},{"1351375335":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351375209, 1351375379, 1351375285, 1351375186, 1351375240, 1351375335)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.995813608169556 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -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-11 00:31:43.054637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/15/56/image_06042025_15_56_17_10335.jpg', '/home/pi/Desktop/images/06042025/15/56/image_06042025_15_56_36_10349.jpg', '/home/pi/Desktop/images/06042025/15/56/image_06042025_15_56_47_10370.jpg', '/home/pi/Desktop/images/06042025/15/56/image_06042025_15_57_07_10342.jpg', '/home/pi/Desktop/images/06042025/15/57/image_06042025_15_57_17_10459.jpg', '/home/pi/Desktop/images/06042025/15/57/image_06042025_15_57_27_9957.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/15/56/image_06042025_15_56_17_10335.jpg
/home/pi/Desktop/images/06042025/15/56/image_06042025_15_56_36_10349.jpg
/home/pi/Desktop/images/06042025/15/56/image_06042025_15_56_47_10370.jpg
/home/pi/Desktop/images/06042025/15/56/image_06042025_15_57_07_10342.jpg
/home/pi/Desktop/images/06042025/15/57/image_06042025_15_57_17_10459.jpg
/home/pi/Desktop/images/06042025/15/57/image_06042025_15_57_27_9957.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351375641","1351375623","1351375571","1351375645","1351375639","1351375677"],"photo_ids_order":["1351375571","1351375623","1351375639","1351375641","1351375645","1351375677"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c78cdc38538484bc75463de1a52796ca.jpg","text":"TemporaryFile(/tmp/multipartBody4364849524515493198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324364737,"filename":"image_06042025_15_57_07_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/cbe49d9220e5b89b98ba1c14f7b0948e.jpg","text":"TemporaryFile(/tmp/multipartBody3528786559519162013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324364737,"filename":"image_06042025_15_56_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/11/0a8834dafe77ca794d37e4e0f741950f.jpg","text":"TemporaryFile(/tmp/multipartBody4691618823980006915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324364737,"filename":"image_06042025_15_56_17_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/edea309eb27de93ac19f77649b8da04b.jpg","text":"TemporaryFile(/tmp/multipartBody4435410350914946096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324364737,"filename":"image_06042025_15_57_17_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/160299de7ae1f408dc3e94f0a819c97e.jpg","text":"TemporaryFile(/tmp/multipartBody9146635676360785111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324364737,"filename":"image_06042025_15_56_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/11/268e3c8c2a95a0e6d1ada5a0b8f9d132.jpg","text":"TemporaryFile(/tmp/multipartBody4508906769843236187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324364737,"filename":"image_06042025_15_57_27_9957.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351375639","file1":"1351375623","file0":"1351375571","file4":"1351375645","file5":"1351375677","file3":"1351375641"},"map_files_photo_id_array":[{"photo_id":"1351375677","filename":"file5"},{"photo_id":"1351375639","filename":"file2"},{"photo_id":"1351375645","filename":"file4"},{"photo_id":"1351375623","filename":"file1"},{"photo_id":"1351375571","filename":"file0"},{"photo_id":"1351375641","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351375641":["hashtag1","hashtag2"]},{"1351375623":["hashtag1","hashtag2"]},{"1351375571":["hashtag1","hashtag2"]},{"1351375645":["hashtag1","hashtag2"]},{"1351375639":["hashtag1","hashtag2"]},{"1351375677":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351375641, 1351375623, 1351375571, 1351375645, 1351375639, 1351375677)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.36569333076477 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -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-11 00:32:42.259408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/15/59/image_06042025_15_59_27_10371.jpg', '/home/pi/Desktop/images/06042025/15/59/image_06042025_15_59_36_9358.jpg', '/home/pi/Desktop/images/06042025/15/59/image_06042025_15_59_46_10368.jpg', '/home/pi/Desktop/images/06042025/15/59/image_06042025_15_59_57_10365.jpg', '/home/pi/Desktop/images/06042025/16/01/image_06042025_16_01_36_10357.jpg', '/home/pi/Desktop/images/06042025/16/01/image_06042025_16_01_55_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/15/59/image_06042025_15_59_27_10371.jpg
/home/pi/Desktop/images/06042025/15/59/image_06042025_15_59_36_9358.jpg
/home/pi/Desktop/images/06042025/15/59/image_06042025_15_59_46_10368.jpg
/home/pi/Desktop/images/06042025/15/59/image_06042025_15_59_57_10365.jpg
/home/pi/Desktop/images/06042025/16/01/image_06042025_16_01_36_10357.jpg
/home/pi/Desktop/images/06042025/16/01/image_06042025_16_01_55_10363.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351375953","1351375937","1351375922","1351375945","1351375969","1351375960"],"photo_ids_order":["1351375922","1351375937","1351375945","1351375953","1351375960","1351375969"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/51d57fb22e8ede16934174fb8dcfb896.jpg","text":"TemporaryFile(/tmp/multipartBody3108837772685812951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324423908,"filename":"image_06042025_15_59_57_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/fa7855f472a4438ae969b135746a5270.jpg","text":"TemporaryFile(/tmp/multipartBody540153822917003614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324423908,"filename":"image_06042025_15_59_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/11/870d070fa04dc80c532ad14baa3c0587.jpg","text":"TemporaryFile(/tmp/multipartBody4463947859077609530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324423908,"filename":"image_06042025_15_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/11/8fa6b088f4cd1b480e651b9cb0558537.jpg","text":"TemporaryFile(/tmp/multipartBody4883429537717075523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324423908,"filename":"image_06042025_15_59_46_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8b578664841d7e47090948eee6d7c481.jpg","text":"TemporaryFile(/tmp/multipartBody3287448051544779319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324423908,"filename":"image_06042025_16_01_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/11/4a8698664dce43943caedbf6214c6ad0.jpg","text":"TemporaryFile(/tmp/multipartBody302048545045323389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324423908,"filename":"image_06042025_16_01_36_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351375945","file1":"1351375937","file0":"1351375922","file4":"1351375960","file5":"1351375969","file3":"1351375953"},"map_files_photo_id_array":[{"photo_id":"1351375969","filename":"file5"},{"photo_id":"1351375945","filename":"file2"},{"photo_id":"1351375960","filename":"file4"},{"photo_id":"1351375937","filename":"file1"},{"photo_id":"1351375922","filename":"file0"},{"photo_id":"1351375953","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351375953":["hashtag1","hashtag2"]},{"1351375937":["hashtag1","hashtag2"]},{"1351375922":["hashtag1","hashtag2"]},{"1351375945":["hashtag1","hashtag2"]},{"1351375969":["hashtag1","hashtag2"]},{"1351375960":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351375953, 1351375937, 1351375922, 1351375945, 1351375969, 1351375960)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.721843957901 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 00:34:02.625264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/16/01/image_06042025_16_02_06_10346.jpg', '/home/pi/Desktop/images/06042025/16/02/image_06042025_16_02_15_9434.jpg', '/home/pi/Desktop/images/06042025/16/02/image_06042025_16_03_05_10436.jpg', '/home/pi/Desktop/images/06042025/16/03/image_06042025_16_03_25_9369.jpg', '/home/pi/Desktop/images/06042025/16/03/image_06042025_16_03_35_10370.jpg', '/home/pi/Desktop/images/06042025/16/03/image_06042025_16_04_06_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/16/01/image_06042025_16_02_06_10346.jpg
/home/pi/Desktop/images/06042025/16/02/image_06042025_16_02_15_9434.jpg
/home/pi/Desktop/images/06042025/16/02/image_06042025_16_03_05_10436.jpg
/home/pi/Desktop/images/06042025/16/03/image_06042025_16_03_25_9369.jpg
/home/pi/Desktop/images/06042025/16/03/image_06042025_16_03_35_10370.jpg
/home/pi/Desktop/images/06042025/16/03/image_06042025_16_04_06_10353.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351376264","1351376153","1351376299","1351376284","1351376218","1351376283"],"photo_ids_order":["1351376153","1351376218","1351376264","1351376283","1351376284","1351376299"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6ec67f47d7aeaa91806776daed88978a.jpg","text":"TemporaryFile(/tmp/multipartBody1077716596604747778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324503477,"filename":"image_06042025_16_03_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/11/3d93db84524da294880725bae5c8d9ce.jpg","text":"TemporaryFile(/tmp/multipartBody6639709688193739789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324503477,"filename":"image_06042025_16_02_06_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c266b5a6340f873932ed94fad1788941.jpg","text":"TemporaryFile(/tmp/multipartBody3871787185591860114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324503477,"filename":"image_06042025_16_04_06_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e1bed73762f92c77f568262ffb1ddfd2.jpg","text":"TemporaryFile(/tmp/multipartBody2582522709488957360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324503477,"filename":"image_06042025_16_03_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/11/a9dde7872ee8781762010ce6e8ebcc2c.jpg","text":"TemporaryFile(/tmp/multipartBody5666894911622615613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324503477,"filename":"image_06042025_16_02_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/11/8a97c5d5fbf90c439a27e6ed475bea31.jpg","text":"TemporaryFile(/tmp/multipartBody6552873147561046420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324503477,"filename":"image_06042025_16_03_25_9369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351376264","file1":"1351376218","file0":"1351376153","file4":"1351376284","file5":"1351376299","file3":"1351376283"},"map_files_photo_id_array":[{"photo_id":"1351376299","filename":"file5"},{"photo_id":"1351376264","filename":"file2"},{"photo_id":"1351376284","filename":"file4"},{"photo_id":"1351376218","filename":"file1"},{"photo_id":"1351376153","filename":"file0"},{"photo_id":"1351376283","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351376264":["hashtag1","hashtag2"]},{"1351376153":["hashtag1","hashtag2"]},{"1351376299":["hashtag1","hashtag2"]},{"1351376284":["hashtag1","hashtag2"]},{"1351376218":["hashtag1","hashtag2"]},{"1351376283":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351376264, 1351376153, 1351376299, 1351376284, 1351376218, 1351376283)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.40106749534607 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 00:35:03.664041
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/16/04/image_06042025_16_04_15_9397.jpg', '/home/pi/Desktop/images/06042025/16/04/image_06042025_16_04_25_10380.jpg', '/home/pi/Desktop/images/06042025/16/04/image_06042025_16_04_45_9339.jpg', '/home/pi/Desktop/images/06042025/16/05/image_06042025_16_05_56_10372.jpg', '/home/pi/Desktop/images/06042025/16/07/image_06042025_16_07_45_9409.jpg', '/home/pi/Desktop/images/06042025/16/07/image_06042025_16_08_06_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/16/04/image_06042025_16_04_15_9397.jpg
/home/pi/Desktop/images/06042025/16/04/image_06042025_16_04_25_10380.jpg
/home/pi/Desktop/images/06042025/16/04/image_06042025_16_04_45_9339.jpg
/home/pi/Desktop/images/06042025/16/05/image_06042025_16_05_56_10372.jpg
/home/pi/Desktop/images/06042025/16/07/image_06042025_16_07_45_9409.jpg
/home/pi/Desktop/images/06042025/16/07/image_06042025_16_08_06_10355.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351376957","1351376765","1351376972","1351376995","1351376600","1351376805"],"photo_ids_order":["1351376600","1351376765","1351376805","1351376957","1351376972","1351376995"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d65a914fb51960a0e45b7168e89ddc6f.jpg","text":"TemporaryFile(/tmp/multipartBody3107038904978793746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324564613,"filename":"image_06042025_16_05_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/11/34ad9215488adc386ffc005c3f2dbd31.jpg","text":"TemporaryFile(/tmp/multipartBody3276578275422852891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324564613,"filename":"image_06042025_16_04_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/11/3474b11b8ea92ca1afdd0b232e40f6b8.jpg","text":"TemporaryFile(/tmp/multipartBody5345721817513237624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324564613,"filename":"image_06042025_16_07_45_9409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a803b39faffc59008f43c27dd7ad3207.jpg","text":"TemporaryFile(/tmp/multipartBody2786560797487288357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324564613,"filename":"image_06042025_16_08_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/11/fce2a5bb0e5166d4bb14c879bf4e664e.jpg","text":"TemporaryFile(/tmp/multipartBody653660583335615333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324564613,"filename":"image_06042025_16_04_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/11/285cf1c68c3b38cd209bc4803ee5df81.jpg","text":"TemporaryFile(/tmp/multipartBody6343894376877774809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324564613,"filename":"image_06042025_16_04_45_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351376805","file1":"1351376765","file0":"1351376600","file4":"1351376972","file5":"1351376995","file3":"1351376957"},"map_files_photo_id_array":[{"photo_id":"1351376995","filename":"file5"},{"photo_id":"1351376805","filename":"file2"},{"photo_id":"1351376972","filename":"file4"},{"photo_id":"1351376765","filename":"file1"},{"photo_id":"1351376600","filename":"file0"},{"photo_id":"1351376957","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351376957":["hashtag1","hashtag2"]},{"1351376765":["hashtag1","hashtag2"]},{"1351376972":["hashtag1","hashtag2"]},{"1351376995":["hashtag1","hashtag2"]},{"1351376600":["hashtag1","hashtag2"]},{"1351376805":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351376957, 1351376765, 1351376972, 1351376995, 1351376600, 1351376805)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.81061863899231 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 00:36:02.653896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/16/08/image_06042025_16_08_25_10373.jpg', '/home/pi/Desktop/images/06042025/16/08/image_06042025_16_08_35_9349.jpg', '/home/pi/Desktop/images/06042025/16/08/image_06042025_16_08_45_10381.jpg', '/home/pi/Desktop/images/06042025/16/09/image_06042025_16_10_05_9444.jpg', '/home/pi/Desktop/images/06042025/16/10/image_06042025_16_10_16_10349.jpg', '/home/pi/Desktop/images/06042025/16/10/image_06042025_16_10_35_10476.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/16/08/image_06042025_16_08_25_10373.jpg
/home/pi/Desktop/images/06042025/16/08/image_06042025_16_08_35_9349.jpg
/home/pi/Desktop/images/06042025/16/08/image_06042025_16_08_45_10381.jpg
/home/pi/Desktop/images/06042025/16/09/image_06042025_16_10_05_9444.jpg
/home/pi/Desktop/images/06042025/16/10/image_06042025_16_10_16_10349.jpg
/home/pi/Desktop/images/06042025/16/10/image_06042025_16_10_35_10476.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351377302","1351377265","1351377235","1351377331","1351377243","1351377176"],"photo_ids_order":["1351377176","1351377235","1351377243","1351377265","1351377302","1351377331"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a6e02c541f0e12c467a50cefb82e570d.jpg","text":"TemporaryFile(/tmp/multipartBody8155738784642676607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324623505,"filename":"image_06042025_16_10_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/11/d76bc50fcf920c81435aa37b77c67d94.jpg","text":"TemporaryFile(/tmp/multipartBody8234619365601143628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324623505,"filename":"image_06042025_16_10_05_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/54314acf9c3274f7497e1a3bd53eff7a.jpg","text":"TemporaryFile(/tmp/multipartBody6721666258473410203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324623505,"filename":"image_06042025_16_08_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/11/d1727da94d54a4cbb44833b2af462f2b.jpg","text":"TemporaryFile(/tmp/multipartBody3783224090820793156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324623505,"filename":"image_06042025_16_10_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/11/83d857e43ccf202e0ad554416b3a9d01.jpg","text":"TemporaryFile(/tmp/multipartBody5616269507636205909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324623505,"filename":"image_06042025_16_08_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/11/d27d4da8a048781b299c9e485077d4ef.jpg","text":"TemporaryFile(/tmp/multipartBody6562028879801195794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324623505,"filename":"image_06042025_16_08_25_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351377243","file1":"1351377235","file0":"1351377176","file4":"1351377302","file5":"1351377331","file3":"1351377265"},"map_files_photo_id_array":[{"photo_id":"1351377331","filename":"file5"},{"photo_id":"1351377243","filename":"file2"},{"photo_id":"1351377302","filename":"file4"},{"photo_id":"1351377235","filename":"file1"},{"photo_id":"1351377176","filename":"file0"},{"photo_id":"1351377265","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351377302":["hashtag1","hashtag2"]},{"1351377265":["hashtag1","hashtag2"]},{"1351377235":["hashtag1","hashtag2"]},{"1351377331":["hashtag1","hashtag2"]},{"1351377243":["hashtag1","hashtag2"]},{"1351377176":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351377302, 1351377265, 1351377235, 1351377331, 1351377243, 1351377176)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.58139109611511 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 00:37:03.364677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/16/10/image_06042025_16_10_55_10369.jpg', '/home/pi/Desktop/images/06042025/16/10/image_06042025_16_11_06_10344.jpg', '/home/pi/Desktop/images/06042025/16/11/image_06042025_16_11_15_9392.jpg', '/home/pi/Desktop/images/06042025/16/11/image_06042025_16_11_25_10368.jpg', '/home/pi/Desktop/images/06042025/16/11/image_06042025_16_11_45_9441.jpg', '/home/pi/Desktop/images/06042025/16/11/image_06042025_16_11_56_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/16/10/image_06042025_16_10_55_10369.jpg
/home/pi/Desktop/images/06042025/16/10/image_06042025_16_11_06_10344.jpg
/home/pi/Desktop/images/06042025/16/11/image_06042025_16_11_15_9392.jpg
/home/pi/Desktop/images/06042025/16/11/image_06042025_16_11_25_10368.jpg
/home/pi/Desktop/images/06042025/16/11/image_06042025_16_11_45_9441.jpg
/home/pi/Desktop/images/06042025/16/11/image_06042025_16_11_56_10440.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351377446","1351377477","1351377459","1351377534","1351377513","1351377497"],"photo_ids_order":["1351377446","1351377459","1351377477","1351377497","1351377513","1351377534"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/446b0e86627a8ddd181c41ffb3e98733.jpg","text":"TemporaryFile(/tmp/multipartBody3075806364042559452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324684439,"filename":"image_06042025_16_10_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/11/8fd481cd0e176dab8c14e7a7286af057.jpg","text":"TemporaryFile(/tmp/multipartBody3601568714785491354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324684439,"filename":"image_06042025_16_11_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/11/3bff42aea656d24db24c9416429a045e.jpg","text":"TemporaryFile(/tmp/multipartBody3357941864630276258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324684439,"filename":"image_06042025_16_11_06_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f837f752dae7d899000df7e75c77edff.jpg","text":"TemporaryFile(/tmp/multipartBody1768549127363824921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324684439,"filename":"image_06042025_16_11_56_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f02783a3bb681b2739db80f32c66e5ae.jpg","text":"TemporaryFile(/tmp/multipartBody1982584492537051368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324684439,"filename":"image_06042025_16_11_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/11/4147ac097723d1278c70a2e52e8e57a6.jpg","text":"TemporaryFile(/tmp/multipartBody3122267135337358801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324684439,"filename":"image_06042025_16_11_25_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351377477","file1":"1351377459","file0":"1351377446","file4":"1351377513","file5":"1351377534","file3":"1351377497"},"map_files_photo_id_array":[{"photo_id":"1351377534","filename":"file5"},{"photo_id":"1351377477","filename":"file2"},{"photo_id":"1351377513","filename":"file4"},{"photo_id":"1351377459","filename":"file1"},{"photo_id":"1351377446","filename":"file0"},{"photo_id":"1351377497","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351377446":["hashtag1","hashtag2"]},{"1351377477":["hashtag1","hashtag2"]},{"1351377459":["hashtag1","hashtag2"]},{"1351377534":["hashtag1","hashtag2"]},{"1351377513":["hashtag1","hashtag2"]},{"1351377497":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351377446, 1351377477, 1351377459, 1351377534, 1351377513, 1351377497)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.219815731048584 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 00:38:02.748381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/16/11/image_06042025_16_12_05_9396.jpg', '/home/pi/Desktop/images/06042025/16/12/image_06042025_16_12_15_10365.jpg', '/home/pi/Desktop/images/06042025/16/12/image_06042025_16_12_26_10362.jpg', '/home/pi/Desktop/images/06042025/16/12/image_06042025_16_12_35_9339.jpg', '/home/pi/Desktop/images/06042025/16/12/image_06042025_16_12_45_10348.jpg', '/home/pi/Desktop/images/06042025/16/12/image_06042025_16_12_56_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/16/11/image_06042025_16_12_05_9396.jpg
/home/pi/Desktop/images/06042025/16/12/image_06042025_16_12_15_10365.jpg
/home/pi/Desktop/images/06042025/16/12/image_06042025_16_12_26_10362.jpg
/home/pi/Desktop/images/06042025/16/12/image_06042025_16_12_35_9339.jpg
/home/pi/Desktop/images/06042025/16/12/image_06042025_16_12_45_10348.jpg
/home/pi/Desktop/images/06042025/16/12/image_06042025_16_12_56_10346.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351377734","1351377809","1351377871","1351377783","1351377915","1351377758"],"photo_ids_order":["1351377734","1351377758","1351377783","1351377809","1351377871","1351377915"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ade378f91cc5e4f5382285ee0f9941ee.jpg","text":"TemporaryFile(/tmp/multipartBody4808145593243928595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324743597,"filename":"image_06042025_16_12_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/11/016861b4e4cdc8b9abef58b677a11caf.jpg","text":"TemporaryFile(/tmp/multipartBody5347864205845620612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324743597,"filename":"image_06042025_16_12_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/11/ceddf53d3c4c32382e38920fbc64f2e8.jpg","text":"TemporaryFile(/tmp/multipartBody123911722927108269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324743597,"filename":"image_06042025_16_12_45_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/29b206dbd8228a2b2db58fb9422ba6af.jpg","text":"TemporaryFile(/tmp/multipartBody5600129963961406357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324743597,"filename":"image_06042025_16_12_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/11/560acf6f13f15adfe945281cff569291.jpg","text":"TemporaryFile(/tmp/multipartBody1520679940812038414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324743597,"filename":"image_06042025_16_12_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/11/917cea822fe3e19a5780b3594d1b5183.jpg","text":"TemporaryFile(/tmp/multipartBody7493925328104986330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324743597,"filename":"image_06042025_16_12_15_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351377783","file1":"1351377758","file0":"1351377734","file4":"1351377871","file5":"1351377915","file3":"1351377809"},"map_files_photo_id_array":[{"photo_id":"1351377915","filename":"file5"},{"photo_id":"1351377783","filename":"file2"},{"photo_id":"1351377871","filename":"file4"},{"photo_id":"1351377758","filename":"file1"},{"photo_id":"1351377734","filename":"file0"},{"photo_id":"1351377809","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351377734":["hashtag1","hashtag2"]},{"1351377809":["hashtag1","hashtag2"]},{"1351377871":["hashtag1","hashtag2"]},{"1351377783":["hashtag1","hashtag2"]},{"1351377915":["hashtag1","hashtag2"]},{"1351377758":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351377734, 1351377809, 1351377871, 1351377783, 1351377915, 1351377758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.26210927963257 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 00:39:03.838228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/16/12/image_06042025_16_13_05_9414.jpg', '/home/pi/Desktop/images/06042025/16/13/image_06042025_16_13_15_10366.jpg', '/home/pi/Desktop/images/06042025/16/13/image_06042025_16_13_35_10399.jpg', '/home/pi/Desktop/images/06042025/16/13/image_06042025_16_13_46_10354.jpg', '/home/pi/Desktop/images/06042025/16/13/image_06042025_16_13_55_9470.jpg', '/home/pi/Desktop/images/06042025/16/13/image_06042025_16_14_05_10387.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/16/12/image_06042025_16_13_05_9414.jpg
/home/pi/Desktop/images/06042025/16/13/image_06042025_16_13_15_10366.jpg
/home/pi/Desktop/images/06042025/16/13/image_06042025_16_13_35_10399.jpg
/home/pi/Desktop/images/06042025/16/13/image_06042025_16_13_46_10354.jpg
/home/pi/Desktop/images/06042025/16/13/image_06042025_16_13_55_9470.jpg
/home/pi/Desktop/images/06042025/16/13/image_06042025_16_14_05_10387.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351378099","1351378126","1351378021","1351378172","1351378040","1351378052"],"photo_ids_order":["1351378021","1351378040","1351378052","1351378099","1351378126","1351378172"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/91e427fe7e8ae788f4313db22001016c.jpg","text":"TemporaryFile(/tmp/multipartBody4517007783988617554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324804822,"filename":"image_06042025_16_13_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/11/2f2136caec61b755ddfd70df43f6bdcc.jpg","text":"TemporaryFile(/tmp/multipartBody8305307782712689804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324804822,"filename":"image_06042025_16_13_55_9470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e61104482f8a9971b25799dec1237749.jpg","text":"TemporaryFile(/tmp/multipartBody4140286436743556982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324804822,"filename":"image_06042025_16_13_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/11/27df1b814dead6d25d76709a839d7b71.jpg","text":"TemporaryFile(/tmp/multipartBody5640940003254453899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324804822,"filename":"image_06042025_16_14_05_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2aa4bbf9bbd6060bc411e0a85b1558e1.jpg","text":"TemporaryFile(/tmp/multipartBody8930337395542109762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324804822,"filename":"image_06042025_16_13_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/11/e2d55e01ddbd936a58815ecc7b510a58.jpg","text":"TemporaryFile(/tmp/multipartBody4704456565142877937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324804822,"filename":"image_06042025_16_13_35_10399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351378052","file1":"1351378040","file0":"1351378021","file4":"1351378126","file5":"1351378172","file3":"1351378099"},"map_files_photo_id_array":[{"photo_id":"1351378172","filename":"file5"},{"photo_id":"1351378052","filename":"file2"},{"photo_id":"1351378126","filename":"file4"},{"photo_id":"1351378040","filename":"file1"},{"photo_id":"1351378021","filename":"file0"},{"photo_id":"1351378099","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351378099":["hashtag1","hashtag2"]},{"1351378126":["hashtag1","hashtag2"]},{"1351378021":["hashtag1","hashtag2"]},{"1351378172":["hashtag1","hashtag2"]},{"1351378040":["hashtag1","hashtag2"]},{"1351378052":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351378099, 1351378126, 1351378021, 1351378172, 1351378040, 1351378052)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.06729054450989 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 00:40:02.662424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/16/14/image_06042025_16_14_15_9335.jpg', '/home/pi/Desktop/images/06042025/16/14/image_06042025_16_14_45_9351.jpg', '/home/pi/Desktop/images/06042025/16/14/image_06042025_16_14_55_10401.jpg', '/home/pi/Desktop/images/06042025/16/14/image_06042025_16_15_06_10349.jpg', '/home/pi/Desktop/images/06042025/16/15/image_06042025_16_15_15_9376.jpg', '/home/pi/Desktop/images/06042025/16/15/image_06042025_16_15_25_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/16/14/image_06042025_16_14_15_9335.jpg
/home/pi/Desktop/images/06042025/16/14/image_06042025_16_14_45_9351.jpg
/home/pi/Desktop/images/06042025/16/14/image_06042025_16_14_55_10401.jpg
/home/pi/Desktop/images/06042025/16/14/image_06042025_16_15_06_10349.jpg
/home/pi/Desktop/images/06042025/16/15/image_06042025_16_15_15_9376.jpg
/home/pi/Desktop/images/06042025/16/15/image_06042025_16_15_25_10370.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351378915","1351378695","1351378606","1351378734","1351378643","1351378798"],"photo_ids_order":["1351378606","1351378643","1351378695","1351378734","1351378798","1351378915"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/bd2ba4c619a5d8e168284f133359f1fd.jpg","text":"TemporaryFile(/tmp/multipartBody6097614783475407983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324863532,"filename":"image_06042025_16_15_25_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9edb8a1679081542c811af375ee7431f.jpg","text":"TemporaryFile(/tmp/multipartBody8652757705992662772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324863532,"filename":"image_06042025_16_14_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/11/e959b25ed10500b319672dd2e4fb1f18.jpg","text":"TemporaryFile(/tmp/multipartBody4560605441661543731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324863532,"filename":"image_06042025_16_14_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/11/651d9822d4bb10bdef6e28927f02ac52.jpg","text":"TemporaryFile(/tmp/multipartBody5143621650949063544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324863532,"filename":"image_06042025_16_15_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/11/3fe39ff50413f7af67cddf91313dcbfa.jpg","text":"TemporaryFile(/tmp/multipartBody8400915064701276556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324863532,"filename":"image_06042025_16_14_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/11/6476217d70ca97722ef0574711fb56d1.jpg","text":"TemporaryFile(/tmp/multipartBody5975394640550678789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324863532,"filename":"image_06042025_16_15_15_9376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351378695","file1":"1351378643","file0":"1351378606","file4":"1351378798","file5":"1351378915","file3":"1351378734"},"map_files_photo_id_array":[{"photo_id":"1351378915","filename":"file5"},{"photo_id":"1351378695","filename":"file2"},{"photo_id":"1351378798","filename":"file4"},{"photo_id":"1351378643","filename":"file1"},{"photo_id":"1351378606","filename":"file0"},{"photo_id":"1351378734","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351378915":["hashtag1","hashtag2"]},{"1351378695":["hashtag1","hashtag2"]},{"1351378606":["hashtag1","hashtag2"]},{"1351378734":["hashtag1","hashtag2"]},{"1351378643":["hashtag1","hashtag2"]},{"1351378798":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351378915, 1351378695, 1351378606, 1351378734, 1351378643, 1351378798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.77456712722778 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 00:41:03.652718
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/16/15/image_06042025_16_15_36_10372.jpg', '/home/pi/Desktop/images/06042025/16/15/image_06042025_16_15_45_9446.jpg', '/home/pi/Desktop/images/06042025/16/15/image_06042025_16_15_56_10345.jpg', '/home/pi/Desktop/images/06042025/16/15/image_06042025_16_16_05_9416.jpg', '/home/pi/Desktop/images/06042025/16/16/image_06042025_16_16_15_10355.jpg', '/home/pi/Desktop/images/06042025/16/16/image_06042025_16_16_26_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/16/15/image_06042025_16_15_36_10372.jpg
/home/pi/Desktop/images/06042025/16/15/image_06042025_16_15_45_9446.jpg
/home/pi/Desktop/images/06042025/16/15/image_06042025_16_15_56_10345.jpg
/home/pi/Desktop/images/06042025/16/15/image_06042025_16_16_05_9416.jpg
/home/pi/Desktop/images/06042025/16/16/image_06042025_16_16_15_10355.jpg
/home/pi/Desktop/images/06042025/16/16/image_06042025_16_16_26_10386.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351379524","1351379084","1351379357","1351379167","1351379452","1351379242"],"photo_ids_order":["1351379084","1351379167","1351379242","1351379357","1351379452","1351379524"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ec9c445f54ba2d4f766427d6b8edcf03.jpg","text":"TemporaryFile(/tmp/multipartBody5097581631320111710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324924666,"filename":"image_06042025_16_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/11/fb40f4fb85a070666e9b91af4ba124cb.jpg","text":"TemporaryFile(/tmp/multipartBody8182892390183663131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324924666,"filename":"image_06042025_16_15_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/11/43a0bd55c44fc7a9dbaa4d3b0a2010a6.jpg","text":"TemporaryFile(/tmp/multipartBody5291431047532485061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324924666,"filename":"image_06042025_16_16_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/11/463532d09fc087f93ddff4910bdea21f.jpg","text":"TemporaryFile(/tmp/multipartBody8859379901277455824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324924666,"filename":"image_06042025_16_15_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/11/0a58202ff8336c6d661f15f8dcac1b56.jpg","text":"TemporaryFile(/tmp/multipartBody8502247260562769426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324924666,"filename":"image_06042025_16_16_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/11/127a2bd6157a82332690393a02656c56.jpg","text":"TemporaryFile(/tmp/multipartBody5701045990045399077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744324924666,"filename":"image_06042025_16_15_56_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351379242","file1":"1351379167","file0":"1351379084","file4":"1351379452","file5":"1351379524","file3":"1351379357"},"map_files_photo_id_array":[{"photo_id":"1351379524","filename":"file5"},{"photo_id":"1351379242","filename":"file2"},{"photo_id":"1351379452","filename":"file4"},{"photo_id":"1351379167","filename":"file1"},{"photo_id":"1351379084","filename":"file0"},{"photo_id":"1351379357","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351379524":["hashtag1","hashtag2"]},{"1351379084":["hashtag1","hashtag2"]},{"1351379357":["hashtag1","hashtag2"]},{"1351379167":["hashtag1","hashtag2"]},{"1351379452":["hashtag1","hashtag2"]},{"1351379242":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351379524, 1351379084, 1351379357, 1351379167, 1351379452, 1351379242)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.06390142440796 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 00:43:03.538234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/16/16/image_06042025_16_16_35_9388.jpg', '/home/pi/Desktop/images/06042025/16/16/image_06042025_16_16_46_10440.jpg', '/home/pi/Desktop/images/06042025/16/16/image_06042025_16_16_55_9421.jpg', '/home/pi/Desktop/images/06042025/16/16/image_06042025_16_17_05_10355.jpg', '/home/pi/Desktop/images/06042025/16/17/image_06042025_16_17_16_10349.jpg', '/home/pi/Desktop/images/06042025/16/17/image_06042025_16_17_35_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/16/16/image_06042025_16_16_35_9388.jpg
/home/pi/Desktop/images/06042025/16/16/image_06042025_16_16_46_10440.jpg
/home/pi/Desktop/images/06042025/16/16/image_06042025_16_16_55_9421.jpg
/home/pi/Desktop/images/06042025/16/16/image_06042025_16_17_05_10355.jpg
/home/pi/Desktop/images/06042025/16/17/image_06042025_16_17_16_10349.jpg
/home/pi/Desktop/images/06042025/16/17/image_06042025_16_17_35_10364.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351380052","1351380069","1351380144","1351380030","1351380173","1351380137"],"photo_ids_order":["1351380030","1351380052","1351380069","1351380137","1351380144","1351380173"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/520ebfc3262b8a262dd1152464cec689.jpg","text":"TemporaryFile(/tmp/multipartBody3881594078211424372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744325044503,"filename":"image_06042025_16_16_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/11/99042ef78f933550286c2ddf8409892b.jpg","text":"TemporaryFile(/tmp/multipartBody1611575431062888679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744325044503,"filename":"image_06042025_16_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/11/efe90b8e571fafe73119c3f049467220.jpg","text":"TemporaryFile(/tmp/multipartBody8089735852589230435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744325044503,"filename":"image_06042025_16_17_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/11/59d775f827a4a3c49a2078721950d72a.jpg","text":"TemporaryFile(/tmp/multipartBody3004666559580067417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744325044503,"filename":"image_06042025_16_16_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/11/3335c3508d515a7a9f74301ef80659bc.jpg","text":"TemporaryFile(/tmp/multipartBody5801111961666736328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744325044503,"filename":"image_06042025_16_17_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/11/808656fc0c1a158e1acca9f959a99fd8.jpg","text":"TemporaryFile(/tmp/multipartBody1073802568544074775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744325044503,"filename":"image_06042025_16_17_05_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351380069","file1":"1351380052","file0":"1351380030","file4":"1351380144","file5":"1351380173","file3":"1351380137"},"map_files_photo_id_array":[{"photo_id":"1351380173","filename":"file5"},{"photo_id":"1351380069","filename":"file2"},{"photo_id":"1351380144","filename":"file4"},{"photo_id":"1351380052","filename":"file1"},{"photo_id":"1351380030","filename":"file0"},{"photo_id":"1351380137","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351380052":["hashtag1","hashtag2"]},{"1351380069":["hashtag1","hashtag2"]},{"1351380144":["hashtag1","hashtag2"]},{"1351380030":["hashtag1","hashtag2"]},{"1351380173":["hashtag1","hashtag2"]},{"1351380137":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351380052, 1351380069, 1351380144, 1351380030, 1351380173, 1351380137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.53677248954773 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 00:44:03.190983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/16/17/image_06042025_16_17_45_9415.jpg', '/home/pi/Desktop/images/06042025/16/18/image_06042025_16_18_15_9437.jpg', '/home/pi/Desktop/images/06042025/16/20/image_06042025_16_20_55_9337.jpg', '/home/pi/Desktop/images/06042025/16/21/image_06042025_16_21_55_10371.jpg', '/home/pi/Desktop/images/06042025/16/21/image_06042025_16_22_06_10360.jpg', '/home/pi/Desktop/images/06042025/16/22/image_06042025_16_22_15_9474.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/16/17/image_06042025_16_17_45_9415.jpg
/home/pi/Desktop/images/06042025/16/18/image_06042025_16_18_15_9437.jpg
/home/pi/Desktop/images/06042025/16/20/image_06042025_16_20_55_9337.jpg
/home/pi/Desktop/images/06042025/16/21/image_06042025_16_21_55_10371.jpg
/home/pi/Desktop/images/06042025/16/21/image_06042025_16_22_06_10360.jpg
/home/pi/Desktop/images/06042025/16/22/image_06042025_16_22_15_9474.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351380523","1351380381","1351380498","1351380444","1351380321","1351380481"],"photo_ids_order":["1351380321","1351380381","1351380444","1351380481","1351380498","1351380523"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/082c144a1416c6ba9a077ce4bf7b73bf.jpg","text":"TemporaryFile(/tmp/multipartBody1929787104376432808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744325104047,"filename":"image_06042025_16_22_15_9474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7ac4bd1c0c794a7ef1c3cd9055b94f43.jpg","text":"TemporaryFile(/tmp/multipartBody378905411474367958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744325104047,"filename":"image_06042025_16_18_15_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/de5a717d40acb00357dd72a37eb175a4.jpg","text":"TemporaryFile(/tmp/multipartBody334304263830031138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744325104047,"filename":"image_06042025_16_22_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/11/e17cc27c5d81e451c957a1f55cf96641.jpg","text":"TemporaryFile(/tmp/multipartBody5673269135508573669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744325104047,"filename":"image_06042025_16_20_55_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/488d46b57f2988eaf7b423822d762727.jpg","text":"TemporaryFile(/tmp/multipartBody8768166555752795429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744325104047,"filename":"image_06042025_16_17_45_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e8b39c0b3e9e8097374303400db81b04.jpg","text":"TemporaryFile(/tmp/multipartBody708513520369465400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744325104047,"filename":"image_06042025_16_21_55_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351380444","file1":"1351380381","file0":"1351380321","file4":"1351380498","file5":"1351380523","file3":"1351380481"},"map_files_photo_id_array":[{"photo_id":"1351380523","filename":"file5"},{"photo_id":"1351380444","filename":"file2"},{"photo_id":"1351380498","filename":"file4"},{"photo_id":"1351380381","filename":"file1"},{"photo_id":"1351380321","filename":"file0"},{"photo_id":"1351380481","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351380523":["hashtag1","hashtag2"]},{"1351380381":["hashtag1","hashtag2"]},{"1351380498":["hashtag1","hashtag2"]},{"1351380444":["hashtag1","hashtag2"]},{"1351380321":["hashtag1","hashtag2"]},{"1351380481":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351380523, 1351380381, 1351380498, 1351380444, 1351380321, 1351380481)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.24811506271362 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 00:45:03.592621
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/16/22/image_06042025_16_22_35_9344.jpg', '/home/pi/Desktop/images/06042025/16/23/image_06042025_16_23_15_10366.jpg', '/home/pi/Desktop/images/06042025/16/23/image_06042025_16_23_25_9413.jpg', '/home/pi/Desktop/images/06042025/16/23/image_06042025_16_23_55_9356.jpg', '/home/pi/Desktop/images/06042025/16/24/image_06042025_16_24_15_9352.jpg', '/home/pi/Desktop/images/06042025/16/24/image_06042025_16_24_45_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/16/22/image_06042025_16_22_35_9344.jpg
/home/pi/Desktop/images/06042025/16/23/image_06042025_16_23_15_10366.jpg
/home/pi/Desktop/images/06042025/16/23/image_06042025_16_23_25_9413.jpg
/home/pi/Desktop/images/06042025/16/23/image_06042025_16_23_55_9356.jpg
/home/pi/Desktop/images/06042025/16/24/image_06042025_16_24_15_9352.jpg
/home/pi/Desktop/images/06042025/16/24/image_06042025_16_24_45_9438.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351380676","1351380739","1351380618","1351380851","1351380914","1351380800"],"photo_ids_order":["1351380618","1351380676","1351380739","1351380800","1351380851","1351380914"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1a1f4152ed5004727c1bec29f309fead.jpg","text":"TemporaryFile(/tmp/multipartBody5271895707467106021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744325164532,"filename":"image_06042025_16_23_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/11/04217c79e95322c26ce0051a131f3c86.jpg","text":"TemporaryFile(/tmp/multipartBody847659546903288722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744325164532,"filename":"image_06042025_16_23_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/11/85b465174fe4d67bd6b4c066c7265dba.jpg","text":"TemporaryFile(/tmp/multipartBody4297756991320895939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744325164532,"filename":"image_06042025_16_22_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/11/a8b0493c7b73dd0b8836e79fbbfd6c3e.jpg","text":"TemporaryFile(/tmp/multipartBody5452335127914267552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744325164532,"filename":"image_06042025_16_24_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/11/f30f6eebcc97c9ca06c16ae9c92f51b5.jpg","text":"TemporaryFile(/tmp/multipartBody107632702864390479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744325164532,"filename":"image_06042025_16_24_45_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9a843c162d06adfdce1bd714c6691928.jpg","text":"TemporaryFile(/tmp/multipartBody741012270248590350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744325164532,"filename":"image_06042025_16_23_55_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351380739","file1":"1351380676","file0":"1351380618","file4":"1351380851","file5":"1351380914","file3":"1351380800"},"map_files_photo_id_array":[{"photo_id":"1351380914","filename":"file5"},{"photo_id":"1351380739","filename":"file2"},{"photo_id":"1351380851","filename":"file4"},{"photo_id":"1351380676","filename":"file1"},{"photo_id":"1351380618","filename":"file0"},{"photo_id":"1351380800","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351380676":["hashtag1","hashtag2"]},{"1351380739":["hashtag1","hashtag2"]},{"1351380618":["hashtag1","hashtag2"]},{"1351380851":["hashtag1","hashtag2"]},{"1351380914":["hashtag1","hashtag2"]},{"1351380800":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351380676, 1351380739, 1351380618, 1351380851, 1351380914, 1351380800)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.833197832107544 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 00:46:03.316123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/16/24/image_06042025_16_24_55_10350.jpg', '/home/pi/Desktop/images/06042025/16/24/image_06042025_16_25_06_10359.jpg', '/home/pi/Desktop/images/06042025/16/25/image_06042025_16_25_15_9449.jpg', '/home/pi/Desktop/images/06042025/16/25/image_06042025_16_26_05_10348.jpg', '/home/pi/Desktop/images/06042025/16/26/image_06042025_16_26_15_10348.jpg', '/home/pi/Desktop/images/06042025/16/26/image_06042025_16_26_35_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/16/24/image_06042025_16_24_55_10350.jpg
/home/pi/Desktop/images/06042025/16/24/image_06042025_16_25_06_10359.jpg
/home/pi/Desktop/images/06042025/16/25/image_06042025_16_25_15_9449.jpg
/home/pi/Desktop/images/06042025/16/25/image_06042025_16_26_05_10348.jpg
/home/pi/Desktop/images/06042025/16/26/image_06042025_16_26_15_10348.jpg
/home/pi/Desktop/images/06042025/16/26/image_06042025_16_26_35_10376.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351381003","1351380996","1351380990","1351381035","1351381010","1351381028"],"photo_ids_order":["1351380990","1351380996","1351381003","1351381010","1351381028","1351381035"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/df6008f62f30b663faf3dabe842c9cbf.jpg","text":"TemporaryFile(/tmp/multipartBody1739823356985152717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744325224169,"filename":"image_06042025_16_25_15_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a9dfa9a37ac6aa584eaba9c83d0a7064.jpg","text":"TemporaryFile(/tmp/multipartBody2517272076816018123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744325224169,"filename":"image_06042025_16_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/11/bceae02a582ee9fda4db85dfb49f9b40.jpg","text":"TemporaryFile(/tmp/multipartBody4461200601876984487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744325224169,"filename":"image_06042025_16_24_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/11/a2622c261e92a841adf06cd386099cfd.jpg","text":"TemporaryFile(/tmp/multipartBody3860189296708340334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744325224169,"filename":"image_06042025_16_26_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/11/89caf9d31c686d50e4e7b529d358ce63.jpg","text":"TemporaryFile(/tmp/multipartBody6362210967959270675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744325224169,"filename":"image_06042025_16_26_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/11/df756adc7af40823fd1dd318a4d84bab.jpg","text":"TemporaryFile(/tmp/multipartBody7249836458722462528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744325224169,"filename":"image_06042025_16_26_15_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351381003","file1":"1351380996","file0":"1351380990","file4":"1351381028","file5":"1351381035","file3":"1351381010"},"map_files_photo_id_array":[{"photo_id":"1351381035","filename":"file5"},{"photo_id":"1351381003","filename":"file2"},{"photo_id":"1351381028","filename":"file4"},{"photo_id":"1351380996","filename":"file1"},{"photo_id":"1351380990","filename":"file0"},{"photo_id":"1351381010","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351381003":["hashtag1","hashtag2"]},{"1351380996":["hashtag1","hashtag2"]},{"1351380990":["hashtag1","hashtag2"]},{"1351381035":["hashtag1","hashtag2"]},{"1351381010":["hashtag1","hashtag2"]},{"1351381028":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351381003, 1351380996, 1351380990, 1351381035, 1351381010, 1351381028)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.45685315132141 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 00:47:03.381543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/16/26/image_06042025_16_27_05_10364.jpg', '/home/pi/Desktop/images/06042025/16/27/image_06042025_16_27_15_9351.jpg', '/home/pi/Desktop/images/06042025/16/27/image_06042025_16_27_36_10367.jpg', '/home/pi/Desktop/images/06042025/16/27/image_06042025_16_27_45_9414.jpg', '/home/pi/Desktop/images/06042025/16/27/image_06042025_16_27_55_10376.jpg', '/home/pi/Desktop/images/06042025/16/29/image_06042025_16_29_35_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/16/26/image_06042025_16_27_05_10364.jpg
/home/pi/Desktop/images/06042025/16/27/image_06042025_16_27_15_9351.jpg
/home/pi/Desktop/images/06042025/16/27/image_06042025_16_27_36_10367.jpg
/home/pi/Desktop/images/06042025/16/27/image_06042025_16_27_45_9414.jpg
/home/pi/Desktop/images/06042025/16/27/image_06042025_16_27_55_10376.jpg
/home/pi/Desktop/images/06042025/16/29/image_06042025_16_29_35_10359.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351381123","1351381245","1351381068","1351381094","1351381061","1351381168"],"photo_ids_order":["1351381061","1351381068","1351381094","1351381123","1351381168","1351381245"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/145a52871eb265b35f7d330268d4c6de.jpg","text":"TemporaryFile(/tmp/multipartBody3291654941617707862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744325284362,"filename":"image_06042025_16_27_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/11/8dd29c9b55cc936d773b489a1fd03e98.jpg","text":"TemporaryFile(/tmp/multipartBody3987690696645010620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744325284362,"filename":"image_06042025_16_29_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/11/bd5fa42836cc71252e3f963a1c954792.jpg","text":"TemporaryFile(/tmp/multipartBody5059166953138118785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744325284362,"filename":"image_06042025_16_27_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/11/27715ccef0bfc56df681477568a2fcb9.jpg","text":"TemporaryFile(/tmp/multipartBody1371922853828963393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744325284362,"filename":"image_06042025_16_27_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/11/27249924074e789bad82a1dd33884ddb.jpg","text":"TemporaryFile(/tmp/multipartBody2530912906358532711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744325284362,"filename":"image_06042025_16_27_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/11/ed1d3f4f28eb15d7265293de542a54cd.jpg","text":"TemporaryFile(/tmp/multipartBody6130816521783253441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744325284362,"filename":"image_06042025_16_27_55_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351381094","file1":"1351381068","file0":"1351381061","file4":"1351381168","file5":"1351381245","file3":"1351381123"},"map_files_photo_id_array":[{"photo_id":"1351381245","filename":"file5"},{"photo_id":"1351381094","filename":"file2"},{"photo_id":"1351381168","filename":"file4"},{"photo_id":"1351381068","filename":"file1"},{"photo_id":"1351381061","filename":"file0"},{"photo_id":"1351381123","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351381123":["hashtag1","hashtag2"]},{"1351381245":["hashtag1","hashtag2"]},{"1351381068":["hashtag1","hashtag2"]},{"1351381094":["hashtag1","hashtag2"]},{"1351381061":["hashtag1","hashtag2"]},{"1351381168":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351381123, 1351381245, 1351381068, 1351381094, 1351381061, 1351381168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.734354972839355 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 00:49:03.350734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/16/29/image_06042025_16_29_46_10416.jpg', '/home/pi/Desktop/images/06042025/16/29/image_06042025_16_30_05_10437.jpg', '/home/pi/Desktop/images/06042025/16/30/image_06042025_16_30_15_9345.jpg', '/home/pi/Desktop/images/06042025/16/30/image_06042025_16_30_25_10439.jpg', '/home/pi/Desktop/images/06042025/16/30/image_06042025_16_31_05_9341.jpg', '/home/pi/Desktop/images/06042025/16/31/image_06042025_16_31_15_10452.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/16/29/image_06042025_16_29_46_10416.jpg
/home/pi/Desktop/images/06042025/16/29/image_06042025_16_30_05_10437.jpg
/home/pi/Desktop/images/06042025/16/30/image_06042025_16_30_15_9345.jpg
/home/pi/Desktop/images/06042025/16/30/image_06042025_16_30_25_10439.jpg
/home/pi/Desktop/images/06042025/16/30/image_06042025_16_31_05_9341.jpg
/home/pi/Desktop/images/06042025/16/31/image_06042025_16_31_15_10452.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351381519","1351381491","1351381464","1351381467","1351381460","1351381471"],"photo_ids_order":["1351381460","1351381464","1351381467","1351381471","1351381491","1351381519"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0ddd317506c6839bf5f1957baddb9959.jpg","text":"TemporaryFile(/tmp/multipartBody3268701375575881107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744325404332,"filename":"image_06042025_16_31_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/11/704c1521c7f82f6847c8294de8d4bacf.jpg","text":"TemporaryFile(/tmp/multipartBody3821023445013878592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744325404332,"filename":"image_06042025_16_31_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/11/2acea351f0e209cd6a4d668de4df8935.jpg","text":"TemporaryFile(/tmp/multipartBody2169125026063578948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744325404332,"filename":"image_06042025_16_30_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/11/edd61607e65245f9300522adc77776fc.jpg","text":"TemporaryFile(/tmp/multipartBody3631595603684621944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744325404332,"filename":"image_06042025_16_30_15_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3b6b8bbc6b3f4807ad011c4aee08f97b.jpg","text":"TemporaryFile(/tmp/multipartBody3213120607164183081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744325404332,"filename":"image_06042025_16_29_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/11/e1eb487265bbdd90ca36e32c18c9515a.jpg","text":"TemporaryFile(/tmp/multipartBody3695879537149363611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744325404332,"filename":"image_06042025_16_30_25_10439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351381467","file1":"1351381464","file0":"1351381460","file4":"1351381491","file5":"1351381519","file3":"1351381471"},"map_files_photo_id_array":[{"photo_id":"1351381519","filename":"file5"},{"photo_id":"1351381467","filename":"file2"},{"photo_id":"1351381491","filename":"file4"},{"photo_id":"1351381464","filename":"file1"},{"photo_id":"1351381460","filename":"file0"},{"photo_id":"1351381471","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351381519":["hashtag1","hashtag2"]},{"1351381491":["hashtag1","hashtag2"]},{"1351381464":["hashtag1","hashtag2"]},{"1351381467":["hashtag1","hashtag2"]},{"1351381460":["hashtag1","hashtag2"]},{"1351381471":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351381519, 1351381491, 1351381464, 1351381467, 1351381460, 1351381471)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.17392945289612 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 00:50:02.600201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/16/31/image_06042025_16_31_26_10368.jpg', '/home/pi/Desktop/images/06042025/16/31/image_06042025_16_31_35_9370.jpg', '/home/pi/Desktop/images/06042025/16/31/image_06042025_16_31_45_10385.jpg', '/home/pi/Desktop/images/06042025/16/31/image_06042025_16_31_55_9345.jpg', '/home/pi/Desktop/images/06042025/16/31/image_06042025_16_32_05_10399.jpg', '/home/pi/Desktop/images/06042025/16/32/image_06042025_16_32_15_10343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/16/31/image_06042025_16_31_26_10368.jpg
/home/pi/Desktop/images/06042025/16/31/image_06042025_16_31_35_9370.jpg
/home/pi/Desktop/images/06042025/16/31/image_06042025_16_31_45_10385.jpg
/home/pi/Desktop/images/06042025/16/31/image_06042025_16_31_55_9345.jpg
/home/pi/Desktop/images/06042025/16/31/image_06042025_16_32_05_10399.jpg
/home/pi/Desktop/images/06042025/16/32/image_06042025_16_32_15_10343.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351381639","1351381770","1351381800","1351381685","1351381649","1351381715"],"photo_ids_order":["1351381639","1351381649","1351381685","1351381715","1351381770","1351381800"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/84bcb7f11043cab10339319bc5cf049f.jpg","text":"TemporaryFile(/tmp/multipartBody1180957554446211773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744325463448,"filename":"image_06042025_16_31_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/11/da999ed9bb0385cdbed66492b30e1d42.jpg","text":"TemporaryFile(/tmp/multipartBody4683266340816248197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744325463448,"filename":"image_06042025_16_32_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/11/c6e765bcc6a1c7415584d25e68f9304f.jpg","text":"TemporaryFile(/tmp/multipartBody782784403174612112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744325463448,"filename":"image_06042025_16_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/11/d3973148398293a6d3909456570d10ad.jpg","text":"TemporaryFile(/tmp/multipartBody3437174819866388840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744325463448,"filename":"image_06042025_16_31_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/11/71aedbf1879dbf1d0cb83a70bf32240e.jpg","text":"TemporaryFile(/tmp/multipartBody4707640566481652811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744325463448,"filename":"image_06042025_16_31_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/11/af55c5bb1a1b89cd7c2f7501662d730a.jpg","text":"TemporaryFile(/tmp/multipartBody5707799559492521968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744325463448,"filename":"image_06042025_16_31_55_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351381685","file1":"1351381649","file0":"1351381639","file4":"1351381770","file5":"1351381800","file3":"1351381715"},"map_files_photo_id_array":[{"photo_id":"1351381800","filename":"file5"},{"photo_id":"1351381685","filename":"file2"},{"photo_id":"1351381770","filename":"file4"},{"photo_id":"1351381649","filename":"file1"},{"photo_id":"1351381639","filename":"file0"},{"photo_id":"1351381715","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351381639":["hashtag1","hashtag2"]},{"1351381770":["hashtag1","hashtag2"]},{"1351381800":["hashtag1","hashtag2"]},{"1351381685":["hashtag1","hashtag2"]},{"1351381649":["hashtag1","hashtag2"]},{"1351381715":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351381639, 1351381770, 1351381800, 1351381685, 1351381649, 1351381715)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.68418264389038 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 00:51:03.749804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/16/32/image_06042025_16_32_25_9351.jpg', '/home/pi/Desktop/images/06042025/16/32/image_06042025_16_32_35_10440.jpg', '/home/pi/Desktop/images/06042025/16/32/image_06042025_16_32_46_10390.jpg', '/home/pi/Desktop/images/06042025/16/32/image_06042025_16_32_55_9480.jpg', '/home/pi/Desktop/images/06042025/16/32/image_06042025_16_33_06_10353.jpg', '/home/pi/Desktop/images/06042025/16/33/image_06042025_16_33_15_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/16/32/image_06042025_16_32_25_9351.jpg
/home/pi/Desktop/images/06042025/16/32/image_06042025_16_32_35_10440.jpg
/home/pi/Desktop/images/06042025/16/32/image_06042025_16_32_46_10390.jpg
/home/pi/Desktop/images/06042025/16/32/image_06042025_16_32_55_9480.jpg
/home/pi/Desktop/images/06042025/16/32/image_06042025_16_33_06_10353.jpg
/home/pi/Desktop/images/06042025/16/33/image_06042025_16_33_15_9356.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351382495","1351382360","1351382243","1351382426","1351382608","1351382167"],"photo_ids_order":["1351382167","1351382243","1351382360","1351382426","1351382495","1351382608"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/77bab5b12629effc453a86692af31fa6.jpg","text":"TemporaryFile(/tmp/multipartBody2446607871636507340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744325524730,"filename":"image_06042025_16_33_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/11/e82c8fd2d5720e1c0af877b08eaa7d82.jpg","text":"TemporaryFile(/tmp/multipartBody6647692828568694640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744325524730,"filename":"image_06042025_16_32_46_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d1b43573935218d6e902bc6d257ed144.jpg","text":"TemporaryFile(/tmp/multipartBody4028780845759562243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744325524730,"filename":"image_06042025_16_32_35_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e6b22ad8ef0225f80e7f333355a13a7e.jpg","text":"TemporaryFile(/tmp/multipartBody7339405800256154910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744325524730,"filename":"image_06042025_16_32_55_9480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/efecfbdcadcade408b199b078fe4378f.jpg","text":"TemporaryFile(/tmp/multipartBody7286046731042963392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744325524730,"filename":"image_06042025_16_33_15_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4b29aa64fc72a7699e2e6de192f34b08.jpg","text":"TemporaryFile(/tmp/multipartBody446535516668028698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744325524730,"filename":"image_06042025_16_32_25_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351382360","file1":"1351382243","file0":"1351382167","file4":"1351382495","file5":"1351382608","file3":"1351382426"},"map_files_photo_id_array":[{"photo_id":"1351382608","filename":"file5"},{"photo_id":"1351382360","filename":"file2"},{"photo_id":"1351382495","filename":"file4"},{"photo_id":"1351382243","filename":"file1"},{"photo_id":"1351382167","filename":"file0"},{"photo_id":"1351382426","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351382495":["hashtag1","hashtag2"]},{"1351382360":["hashtag1","hashtag2"]},{"1351382243":["hashtag1","hashtag2"]},{"1351382426":["hashtag1","hashtag2"]},{"1351382608":["hashtag1","hashtag2"]},{"1351382167":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351382495, 1351382360, 1351382243, 1351382426, 1351382608, 1351382167)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.33406043052673 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 00:52:02.684733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/16/33/image_06042025_16_33_25_10431.jpg', '/home/pi/Desktop/images/06042025/16/33/image_06042025_16_33_45_9595.jpg', '/home/pi/Desktop/images/06042025/16/33/image_06042025_16_33_56_10341.jpg', '/home/pi/Desktop/images/06042025/16/33/image_06042025_16_34_05_9459.jpg', '/home/pi/Desktop/images/06042025/16/34/image_06042025_16_34_16_10364.jpg', '/home/pi/Desktop/images/06042025/16/34/image_06042025_16_34_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/16/33/image_06042025_16_33_25_10431.jpg
/home/pi/Desktop/images/06042025/16/33/image_06042025_16_33_45_9595.jpg
/home/pi/Desktop/images/06042025/16/33/image_06042025_16_33_56_10341.jpg
/home/pi/Desktop/images/06042025/16/33/image_06042025_16_34_05_9459.jpg
/home/pi/Desktop/images/06042025/16/34/image_06042025_16_34_16_10364.jpg
/home/pi/Desktop/images/06042025/16/34/image_06042025_16_34_25_9361.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351382943","1351383281","1351383206","1351382966","1351383085","1351383136"],"photo_ids_order":["1351382943","1351382966","1351383085","1351383136","1351383206","1351383281"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f6958434aa7db7a546f295e7d18cb859.jpg","text":"TemporaryFile(/tmp/multipartBody5274473948807850651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744325583545,"filename":"image_06042025_16_33_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/11/289b4224a0fee30272e1c82cf8c18340.jpg","text":"TemporaryFile(/tmp/multipartBody3214028081935210554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744325583545,"filename":"image_06042025_16_34_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/11/697a32101fa4a79d87bedffccfc464e9.jpg","text":"TemporaryFile(/tmp/multipartBody487682320898679070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744325583545,"filename":"image_06042025_16_34_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/11/d79120dd5aac061bc8d000aa721d171f.jpg","text":"TemporaryFile(/tmp/multipartBody6424192590211527115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744325583545,"filename":"image_06042025_16_33_45_9595.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f0728c81325bafa6517b18aea597c5d6.jpg","text":"TemporaryFile(/tmp/multipartBody2660322361529473300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744325583545,"filename":"image_06042025_16_33_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/11/d6b3878a4db9e30a5bb6fb7af624e672.jpg","text":"TemporaryFile(/tmp/multipartBody1850428647164853311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744325583545,"filename":"image_06042025_16_34_05_9459.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351383085","file1":"1351382966","file0":"1351382943","file4":"1351383206","file5":"1351383281","file3":"1351383136"},"map_files_photo_id_array":[{"photo_id":"1351383281","filename":"file5"},{"photo_id":"1351383085","filename":"file2"},{"photo_id":"1351383206","filename":"file4"},{"photo_id":"1351382966","filename":"file1"},{"photo_id":"1351382943","filename":"file0"},{"photo_id":"1351383136","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351382943":["hashtag1","hashtag2"]},{"1351383281":["hashtag1","hashtag2"]},{"1351383206":["hashtag1","hashtag2"]},{"1351382966":["hashtag1","hashtag2"]},{"1351383085":["hashtag1","hashtag2"]},{"1351383136":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351382943, 1351383281, 1351383206, 1351382966, 1351383085, 1351383136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.854305267333984 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 00:53:03.707300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/16/34/image_06042025_16_34_35_10360.jpg', '/home/pi/Desktop/images/06042025/16/34/image_06042025_16_34_46_10360.jpg', '/home/pi/Desktop/images/06042025/16/34/image_06042025_16_34_55_9393.jpg', '/home/pi/Desktop/images/06042025/16/34/image_06042025_16_35_05_10364.jpg', '/home/pi/Desktop/images/06042025/16/35/image_06042025_16_35_16_10384.jpg', '/home/pi/Desktop/images/06042025/16/35/image_06042025_16_35_25_9436.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/16/34/image_06042025_16_34_35_10360.jpg
/home/pi/Desktop/images/06042025/16/34/image_06042025_16_34_46_10360.jpg
/home/pi/Desktop/images/06042025/16/34/image_06042025_16_34_55_9393.jpg
/home/pi/Desktop/images/06042025/16/34/image_06042025_16_35_05_10364.jpg
/home/pi/Desktop/images/06042025/16/35/image_06042025_16_35_16_10384.jpg
/home/pi/Desktop/images/06042025/16/35/image_06042025_16_35_25_9436.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351383903","1351383705","1351383968","1351383844","1351383733","1351383780"],"photo_ids_order":["1351383705","1351383733","1351383780","1351383844","1351383903","1351383968"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3dd48cb101c9b38a30be86792c4e18d6.jpg","text":"TemporaryFile(/tmp/multipartBody8243359960212806451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744325644674,"filename":"image_06042025_16_35_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/11/c70c5d207dcd067a0d73a5235c928d90.jpg","text":"TemporaryFile(/tmp/multipartBody3648598599741049130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744325644674,"filename":"image_06042025_16_34_35_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/199a016af8f701e269a3f64910f46052.jpg","text":"TemporaryFile(/tmp/multipartBody1663710738183319739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744325644674,"filename":"image_06042025_16_35_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/11/be3beb960c2b2b2c6f441cb7f8f94505.jpg","text":"TemporaryFile(/tmp/multipartBody3472503287705705775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744325644674,"filename":"image_06042025_16_35_05_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/898b256fb373d925b3b3b5a436369385.jpg","text":"TemporaryFile(/tmp/multipartBody5491596160722762691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744325644674,"filename":"image_06042025_16_34_46_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/658678df63970ad1fc4ecc3c88dc1671.jpg","text":"TemporaryFile(/tmp/multipartBody2724692614525939597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744325644674,"filename":"image_06042025_16_34_55_9393.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351383780","file1":"1351383733","file0":"1351383705","file4":"1351383903","file5":"1351383968","file3":"1351383844"},"map_files_photo_id_array":[{"photo_id":"1351383968","filename":"file5"},{"photo_id":"1351383780","filename":"file2"},{"photo_id":"1351383903","filename":"file4"},{"photo_id":"1351383733","filename":"file1"},{"photo_id":"1351383705","filename":"file0"},{"photo_id":"1351383844","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351383903":["hashtag1","hashtag2"]},{"1351383705":["hashtag1","hashtag2"]},{"1351383968":["hashtag1","hashtag2"]},{"1351383844":["hashtag1","hashtag2"]},{"1351383733":["hashtag1","hashtag2"]},{"1351383780":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351383903, 1351383705, 1351383968, 1351383844, 1351383733, 1351383780)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.04038166999817 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 00:54:02.737438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/16/35/image_06042025_16_35_36_10362.jpg', '/home/pi/Desktop/images/06042025/16/35/image_06042025_16_35_45_9466.jpg', '/home/pi/Desktop/images/06042025/16/35/image_06042025_16_35_55_10448.jpg', '/home/pi/Desktop/images/06042025/16/35/image_06042025_16_36_05_9341.jpg', '/home/pi/Desktop/images/06042025/16/36/image_06042025_16_36_15_10429.jpg', '/home/pi/Desktop/images/06042025/16/36/image_06042025_16_36_25_9720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/16/35/image_06042025_16_35_36_10362.jpg
/home/pi/Desktop/images/06042025/16/35/image_06042025_16_35_45_9466.jpg
/home/pi/Desktop/images/06042025/16/35/image_06042025_16_35_55_10448.jpg
/home/pi/Desktop/images/06042025/16/35/image_06042025_16_36_05_9341.jpg
/home/pi/Desktop/images/06042025/16/36/image_06042025_16_36_15_10429.jpg
/home/pi/Desktop/images/06042025/16/36/image_06042025_16_36_25_9720.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351384241","1351384294","1351384324","1351384266","1351384227","1351384314"],"photo_ids_order":["1351384227","1351384241","1351384266","1351384294","1351384314","1351384324"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/46a67da85547ae140aabad853111c710.jpg","text":"TemporaryFile(/tmp/multipartBody1978574622331299579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744325703600,"filename":"image_06042025_16_35_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/11/f8eb66736f7bf2cb850249d5aba5697e.jpg","text":"TemporaryFile(/tmp/multipartBody1051861065723188952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744325703600,"filename":"image_06042025_16_36_05_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/710369defc9545a6d7d6a9c116224dbc.jpg","text":"TemporaryFile(/tmp/multipartBody5480579837936719821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744325703600,"filename":"image_06042025_16_36_25_9720.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/37094931b0fac49901b52d5527f32d20.jpg","text":"TemporaryFile(/tmp/multipartBody4703247625974945659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744325703600,"filename":"image_06042025_16_35_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/11/942da25f38caa6e4164054d4f2fea1fe.jpg","text":"TemporaryFile(/tmp/multipartBody2947084153994545676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744325703600,"filename":"image_06042025_16_35_36_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/cdcd82f1317f70c9680e0a8331c49dec.jpg","text":"TemporaryFile(/tmp/multipartBody3799647452257611818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744325703600,"filename":"image_06042025_16_36_15_10429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351384266","file1":"1351384241","file0":"1351384227","file4":"1351384314","file5":"1351384324","file3":"1351384294"},"map_files_photo_id_array":[{"photo_id":"1351384324","filename":"file5"},{"photo_id":"1351384266","filename":"file2"},{"photo_id":"1351384314","filename":"file4"},{"photo_id":"1351384241","filename":"file1"},{"photo_id":"1351384227","filename":"file0"},{"photo_id":"1351384294","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351384241":["hashtag1","hashtag2"]},{"1351384294":["hashtag1","hashtag2"]},{"1351384324":["hashtag1","hashtag2"]},{"1351384266":["hashtag1","hashtag2"]},{"1351384227":["hashtag1","hashtag2"]},{"1351384314":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351384241, 1351384294, 1351384324, 1351384266, 1351384227, 1351384314)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.51431107521057 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 00:55:03.818084
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/16/36/image_06042025_16_36_35_10343.jpg', '/home/pi/Desktop/images/06042025/16/36/image_06042025_16_36_46_10358.jpg', '/home/pi/Desktop/images/06042025/16/36/image_06042025_16_36_55_9477.jpg', '/home/pi/Desktop/images/06042025/16/36/image_06042025_16_37_06_10414.jpg', '/home/pi/Desktop/images/06042025/16/37/image_06042025_16_37_15_9337.jpg', '/home/pi/Desktop/images/06042025/16/37/image_06042025_16_37_25_10457.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/16/36/image_06042025_16_36_35_10343.jpg
/home/pi/Desktop/images/06042025/16/36/image_06042025_16_36_46_10358.jpg
/home/pi/Desktop/images/06042025/16/36/image_06042025_16_36_55_9477.jpg
/home/pi/Desktop/images/06042025/16/36/image_06042025_16_37_06_10414.jpg
/home/pi/Desktop/images/06042025/16/37/image_06042025_16_37_15_9337.jpg
/home/pi/Desktop/images/06042025/16/37/image_06042025_16_37_25_10457.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351384433","1351384498","1351384400","1351384476","1351384458","1351384419"],"photo_ids_order":["1351384400","1351384419","1351384433","1351384458","1351384476","1351384498"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3d67d8f7e39e1ea4a239b4ca18192776.jpg","text":"TemporaryFile(/tmp/multipartBody2356605860354597120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744325764798,"filename":"image_06042025_16_36_55_9477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e1cb29a4447b49ddf69073beebd51271.jpg","text":"TemporaryFile(/tmp/multipartBody5770788271671835355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744325764798,"filename":"image_06042025_16_37_25_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c6c76dea3ef25a78b69af9c7023234dc.jpg","text":"TemporaryFile(/tmp/multipartBody104793068346279222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744325764798,"filename":"image_06042025_16_36_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/11/99f6264b25bc642888596f0653689b2b.jpg","text":"TemporaryFile(/tmp/multipartBody1301186532854635632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744325764798,"filename":"image_06042025_16_37_15_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b20b5bb3dd542a58a2b3958017619f06.jpg","text":"TemporaryFile(/tmp/multipartBody5102116488156744822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744325764798,"filename":"image_06042025_16_37_06_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/36a6aebc68c82980c8037d404ed38bee.jpg","text":"TemporaryFile(/tmp/multipartBody7099026144603066337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744325764798,"filename":"image_06042025_16_36_46_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351384433","file1":"1351384419","file0":"1351384400","file4":"1351384476","file5":"1351384498","file3":"1351384458"},"map_files_photo_id_array":[{"photo_id":"1351384498","filename":"file5"},{"photo_id":"1351384433","filename":"file2"},{"photo_id":"1351384476","filename":"file4"},{"photo_id":"1351384419","filename":"file1"},{"photo_id":"1351384400","filename":"file0"},{"photo_id":"1351384458","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351384433":["hashtag1","hashtag2"]},{"1351384498":["hashtag1","hashtag2"]},{"1351384400":["hashtag1","hashtag2"]},{"1351384476":["hashtag1","hashtag2"]},{"1351384458":["hashtag1","hashtag2"]},{"1351384419":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351384433, 1351384498, 1351384400, 1351384476, 1351384458, 1351384419)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.0756938457489 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 00:56:02.779171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/16/37/image_06042025_16_37_45_9395.jpg', '/home/pi/Desktop/images/06042025/16/37/image_06042025_16_37_55_10363.jpg', '/home/pi/Desktop/images/06042025/16/37/image_06042025_16_38_05_9360.jpg', '/home/pi/Desktop/images/06042025/16/38/image_06042025_16_38_15_10406.jpg', '/home/pi/Desktop/images/06042025/16/38/image_06042025_16_38_26_10364.jpg', '/home/pi/Desktop/images/06042025/16/38/image_06042025_16_38_35_9408.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/16/37/image_06042025_16_37_45_9395.jpg
/home/pi/Desktop/images/06042025/16/37/image_06042025_16_37_55_10363.jpg
/home/pi/Desktop/images/06042025/16/37/image_06042025_16_38_05_9360.jpg
/home/pi/Desktop/images/06042025/16/38/image_06042025_16_38_15_10406.jpg
/home/pi/Desktop/images/06042025/16/38/image_06042025_16_38_26_10364.jpg
/home/pi/Desktop/images/06042025/16/38/image_06042025_16_38_35_9408.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351384613","1351384607","1351384615","1351384600","1351384620","1351384611"],"photo_ids_order":["1351384600","1351384607","1351384611","1351384613","1351384615","1351384620"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7fd8ceb55abca9fc41a261aabf145007.jpg","text":"TemporaryFile(/tmp/multipartBody8634303901590884705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744325823638,"filename":"image_06042025_16_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/11/89f2a629dd7925497128de004564260b.jpg","text":"TemporaryFile(/tmp/multipartBody2222210724879584730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744325823638,"filename":"image_06042025_16_37_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/11/dd0e329a253699c81b2da934a15aaf9d.jpg","text":"TemporaryFile(/tmp/multipartBody3098384311603721418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744325823638,"filename":"image_06042025_16_38_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/11/69a4191e91470e7cf2ca762bd105cb3c.jpg","text":"TemporaryFile(/tmp/multipartBody1189282159862529858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744325823638,"filename":"image_06042025_16_37_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/11/ee908efd80ee829a6f5963c9c4fb29be.jpg","text":"TemporaryFile(/tmp/multipartBody8728130622746472444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744325823638,"filename":"image_06042025_16_38_35_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/91255331fa2d1164f0a20e2ae5c32de2.jpg","text":"TemporaryFile(/tmp/multipartBody6010512823679203332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744325823638,"filename":"image_06042025_16_38_05_9360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351384611","file1":"1351384607","file0":"1351384600","file4":"1351384615","file5":"1351384620","file3":"1351384613"},"map_files_photo_id_array":[{"photo_id":"1351384620","filename":"file5"},{"photo_id":"1351384611","filename":"file2"},{"photo_id":"1351384615","filename":"file4"},{"photo_id":"1351384607","filename":"file1"},{"photo_id":"1351384600","filename":"file0"},{"photo_id":"1351384613","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351384613":["hashtag1","hashtag2"]},{"1351384607":["hashtag1","hashtag2"]},{"1351384615":["hashtag1","hashtag2"]},{"1351384600":["hashtag1","hashtag2"]},{"1351384620":["hashtag1","hashtag2"]},{"1351384611":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351384613, 1351384607, 1351384615, 1351384600, 1351384620, 1351384611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.00237250328064 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 00:57:04.024646
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/16/38/image_06042025_16_38_45_10384.jpg', '/home/pi/Desktop/images/06042025/16/38/image_06042025_16_38_55_9392.jpg', '/home/pi/Desktop/images/06042025/16/38/image_06042025_16_39_05_10449.jpg', '/home/pi/Desktop/images/06042025/16/39/image_06042025_16_39_16_10349.jpg', '/home/pi/Desktop/images/06042025/16/39/image_06042025_16_39_35_10356.jpg', '/home/pi/Desktop/images/06042025/16/39/image_06042025_16_39_46_10422.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/16/38/image_06042025_16_38_45_10384.jpg
/home/pi/Desktop/images/06042025/16/38/image_06042025_16_38_55_9392.jpg
/home/pi/Desktop/images/06042025/16/38/image_06042025_16_39_05_10449.jpg
/home/pi/Desktop/images/06042025/16/39/image_06042025_16_39_16_10349.jpg
/home/pi/Desktop/images/06042025/16/39/image_06042025_16_39_35_10356.jpg
/home/pi/Desktop/images/06042025/16/39/image_06042025_16_39_46_10422.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351384693","1351384687","1351384705","1351384695","1351384665","1351384710"],"photo_ids_order":["1351384665","1351384687","1351384693","1351384695","1351384705","1351384710"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8a031599e4f280ab768f70d71df0f0c1.jpg","text":"TemporaryFile(/tmp/multipartBody1891593612107252926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744325884967,"filename":"image_06042025_16_39_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/11/1f759d0204b883ccf9322445e968e076.jpg","text":"TemporaryFile(/tmp/multipartBody8999141529462732865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744325884967,"filename":"image_06042025_16_38_55_9392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/011c7cda764e4668d5cf7e4071a8b066.jpg","text":"TemporaryFile(/tmp/multipartBody6288656896704073034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744325884967,"filename":"image_06042025_16_39_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/11/02757a55ebc6b3fe6c45fb2fa03f354d.jpg","text":"TemporaryFile(/tmp/multipartBody1852743959045836837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744325884967,"filename":"image_06042025_16_39_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/11/cdcea4c956ad32af6cebc0f79091aba6.jpg","text":"TemporaryFile(/tmp/multipartBody5465406705788891804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744325884967,"filename":"image_06042025_16_38_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/11/2059eddd1673bd2cdee98fd403fced6f.jpg","text":"TemporaryFile(/tmp/multipartBody1450393348732823056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744325884967,"filename":"image_06042025_16_39_46_10422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351384693","file1":"1351384687","file0":"1351384665","file4":"1351384705","file5":"1351384710","file3":"1351384695"},"map_files_photo_id_array":[{"photo_id":"1351384710","filename":"file5"},{"photo_id":"1351384693","filename":"file2"},{"photo_id":"1351384705","filename":"file4"},{"photo_id":"1351384687","filename":"file1"},{"photo_id":"1351384665","filename":"file0"},{"photo_id":"1351384695","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351384693":["hashtag1","hashtag2"]},{"1351384687":["hashtag1","hashtag2"]},{"1351384705":["hashtag1","hashtag2"]},{"1351384695":["hashtag1","hashtag2"]},{"1351384665":["hashtag1","hashtag2"]},{"1351384710":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351384693, 1351384687, 1351384705, 1351384695, 1351384665, 1351384710)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.61413931846619 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 00:59:03.453820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/16/39/image_06042025_16_39_55_9357.jpg', '/home/pi/Desktop/images/06042025/16/39/image_06042025_16_40_05_10372.jpg', '/home/pi/Desktop/images/06042025/16/40/image_06042025_16_40_15_9389.jpg', '/home/pi/Desktop/images/06042025/16/40/image_06042025_16_40_25_10435.jpg', '/home/pi/Desktop/images/06042025/16/40/image_06042025_16_40_36_10403.jpg', '/home/pi/Desktop/images/06042025/16/40/image_06042025_16_40_45_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/16/39/image_06042025_16_39_55_9357.jpg
/home/pi/Desktop/images/06042025/16/39/image_06042025_16_40_05_10372.jpg
/home/pi/Desktop/images/06042025/16/40/image_06042025_16_40_15_9389.jpg
/home/pi/Desktop/images/06042025/16/40/image_06042025_16_40_25_10435.jpg
/home/pi/Desktop/images/06042025/16/40/image_06042025_16_40_36_10403.jpg
/home/pi/Desktop/images/06042025/16/40/image_06042025_16_40_45_9333.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351385108","1351385123","1351385149","1351385077","1351385169","1351385087"],"photo_ids_order":["1351385077","1351385087","1351385108","1351385123","1351385149","1351385169"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/470fa46dfd2b35b148b97df4d3389759.jpg","text":"TemporaryFile(/tmp/multipartBody299341953612066717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326004413,"filename":"image_06042025_16_40_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/11/faa54d9ef166ea850944158466e16139.jpg","text":"TemporaryFile(/tmp/multipartBody1528713652819832381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326004413,"filename":"image_06042025_16_40_25_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d790f7c4a55ca9c2c2acf579619cd5b5.jpg","text":"TemporaryFile(/tmp/multipartBody5511427816957555364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326004413,"filename":"image_06042025_16_40_36_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/575489d93c15351617af5c048e2a80c5.jpg","text":"TemporaryFile(/tmp/multipartBody747311284320598662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326004413,"filename":"image_06042025_16_39_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/11/56a4e5fb6f772755a8f8f079672d6d4b.jpg","text":"TemporaryFile(/tmp/multipartBody2553384965805169406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326004413,"filename":"image_06042025_16_40_45_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9afc18e8fbe40fe61ff9988b92da61cb.jpg","text":"TemporaryFile(/tmp/multipartBody2463855594313761486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326004413,"filename":"image_06042025_16_40_05_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351385108","file1":"1351385087","file0":"1351385077","file4":"1351385149","file5":"1351385169","file3":"1351385123"},"map_files_photo_id_array":[{"photo_id":"1351385169","filename":"file5"},{"photo_id":"1351385108","filename":"file2"},{"photo_id":"1351385149","filename":"file4"},{"photo_id":"1351385087","filename":"file1"},{"photo_id":"1351385077","filename":"file0"},{"photo_id":"1351385123","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351385108":["hashtag1","hashtag2"]},{"1351385123":["hashtag1","hashtag2"]},{"1351385149":["hashtag1","hashtag2"]},{"1351385077":["hashtag1","hashtag2"]},{"1351385169":["hashtag1","hashtag2"]},{"1351385087":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351385108, 1351385123, 1351385149, 1351385077, 1351385169, 1351385087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.538315773010254 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 00:59:52.724907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/16/40/image_06042025_16_40_56_10522.jpg', '/home/pi/Desktop/images/06042025/16/40/image_06042025_16_41_05_9496.jpg', '/home/pi/Desktop/images/06042025/16/41/image_06042025_16_41_15_10333.jpg', '/home/pi/Desktop/images/06042025/16/41/image_06042025_16_41_45_10345.jpg', '/home/pi/Desktop/images/06042025/16/41/image_06042025_16_41_55_9359.jpg', '/home/pi/Desktop/images/06042025/16/41/image_06042025_16_42_05_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/16/40/image_06042025_16_40_56_10522.jpg
/home/pi/Desktop/images/06042025/16/40/image_06042025_16_41_05_9496.jpg
/home/pi/Desktop/images/06042025/16/41/image_06042025_16_41_15_10333.jpg
/home/pi/Desktop/images/06042025/16/41/image_06042025_16_41_45_10345.jpg
/home/pi/Desktop/images/06042025/16/41/image_06042025_16_41_55_9359.jpg
/home/pi/Desktop/images/06042025/16/41/image_06042025_16_42_05_10449.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351385234","1351385228","1351385251","1351385209","1351385279","1351385267"],"photo_ids_order":["1351385209","1351385228","1351385234","1351385251","1351385267","1351385279"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3c9625c0edc0b16cd5b38fc5e0e10bb8.jpg","text":"TemporaryFile(/tmp/multipartBody2044054071924712443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326054390,"filename":"image_06042025_16_41_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/11/018075f7e57449a550d5c9d369d935c9.jpg","text":"TemporaryFile(/tmp/multipartBody8285762215500630654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326054390,"filename":"image_06042025_16_41_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/11/e6ddfb174f9a613949bcf12e9b7549ea.jpg","text":"TemporaryFile(/tmp/multipartBody5703227292528936387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326054390,"filename":"image_06042025_16_41_45_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/af970f48b96fa92fc350e1b196c9c53f.jpg","text":"TemporaryFile(/tmp/multipartBody8727114268725259236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326054390,"filename":"image_06042025_16_40_56_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/11/35252e1e258df6d343ea54e0efd0c2aa.jpg","text":"TemporaryFile(/tmp/multipartBody7929313996246296943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326054390,"filename":"image_06042025_16_42_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/11/0b6f2002056eff263305df2c6834563b.jpg","text":"TemporaryFile(/tmp/multipartBody593840862365551931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326054390,"filename":"image_06042025_16_41_55_9359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351385234","file1":"1351385228","file0":"1351385209","file4":"1351385267","file5":"1351385279","file3":"1351385251"},"map_files_photo_id_array":[{"photo_id":"1351385279","filename":"file5"},{"photo_id":"1351385234","filename":"file2"},{"photo_id":"1351385267","filename":"file4"},{"photo_id":"1351385228","filename":"file1"},{"photo_id":"1351385209","filename":"file0"},{"photo_id":"1351385251","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351385234":["hashtag1","hashtag2"]},{"1351385228":["hashtag1","hashtag2"]},{"1351385251":["hashtag1","hashtag2"]},{"1351385209":["hashtag1","hashtag2"]},{"1351385279":["hashtag1","hashtag2"]},{"1351385267":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351385234, 1351385228, 1351385251, 1351385209, 1351385279, 1351385267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.5937180519104 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 01:00:33.049619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/16/42/image_06042025_16_42_16_10363.jpg', '/home/pi/Desktop/images/06042025/16/42/image_06042025_16_42_35_10382.jpg', '/home/pi/Desktop/images/06042025/16/42/image_06042025_16_42_55_10460.jpg', '/home/pi/Desktop/images/06042025/16/42/image_06042025_16_43_06_10418.jpg', '/home/pi/Desktop/images/06042025/16/43/image_06042025_16_43_15_9374.jpg', '/home/pi/Desktop/images/06042025/16/43/image_06042025_16_43_25_10435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/16/42/image_06042025_16_42_16_10363.jpg
/home/pi/Desktop/images/06042025/16/42/image_06042025_16_42_35_10382.jpg
/home/pi/Desktop/images/06042025/16/42/image_06042025_16_42_55_10460.jpg
/home/pi/Desktop/images/06042025/16/42/image_06042025_16_43_06_10418.jpg
/home/pi/Desktop/images/06042025/16/43/image_06042025_16_43_15_9374.jpg
/home/pi/Desktop/images/06042025/16/43/image_06042025_16_43_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":["1351385312","1351385320","1351385314","1351385308","1351385349","1351385334"],"photo_ids_order":["1351385308","1351385312","1351385314","1351385320","1351385334","1351385349"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/39e308e3767be635dec2b0e77b7d687d.jpg","text":"TemporaryFile(/tmp/multipartBody6666150704155692712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326094783,"filename":"image_06042025_16_42_35_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a55ab287040bacf4586914b83b598143.jpg","text":"TemporaryFile(/tmp/multipartBody7809841364581832966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326094783,"filename":"image_06042025_16_43_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/11/286bcaecacd4298d0eb778b10c7c4fcc.jpg","text":"TemporaryFile(/tmp/multipartBody7236313527030163063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326094783,"filename":"image_06042025_16_42_55_10460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c47dad286430d73dcad1b7da372f8831.jpg","text":"TemporaryFile(/tmp/multipartBody4981142410234088102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326094783,"filename":"image_06042025_16_42_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/11/2ac295952b436afb1ae0f85bd271a909.jpg","text":"TemporaryFile(/tmp/multipartBody1306403176315037477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326094783,"filename":"image_06042025_16_43_25_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d3fc0625b8f557b033296476c53f0015.jpg","text":"TemporaryFile(/tmp/multipartBody2190412147176649118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326094783,"filename":"image_06042025_16_43_15_9374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351385314","file1":"1351385312","file0":"1351385308","file4":"1351385334","file5":"1351385349","file3":"1351385320"},"map_files_photo_id_array":[{"photo_id":"1351385349","filename":"file5"},{"photo_id":"1351385314","filename":"file2"},{"photo_id":"1351385334","filename":"file4"},{"photo_id":"1351385312","filename":"file1"},{"photo_id":"1351385308","filename":"file0"},{"photo_id":"1351385320","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351385312":["hashtag1","hashtag2"]},{"1351385320":["hashtag1","hashtag2"]},{"1351385314":["hashtag1","hashtag2"]},{"1351385308":["hashtag1","hashtag2"]},{"1351385349":["hashtag1","hashtag2"]},{"1351385334":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351385312, 1351385320, 1351385314, 1351385308, 1351385349, 1351385334)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.37491011619568 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 01:01:33.079608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/16/43/image_06042025_16_43_35_9353.jpg', '/home/pi/Desktop/images/06042025/16/43/image_06042025_16_43_45_10479.jpg', '/home/pi/Desktop/images/06042025/16/43/image_06042025_16_43_56_10370.jpg', '/home/pi/Desktop/images/06042025/16/43/image_06042025_16_44_05_9387.jpg', '/home/pi/Desktop/images/06042025/16/44/image_06042025_16_44_35_10364.jpg', '/home/pi/Desktop/images/06042025/16/44/image_06042025_16_44_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/16/43/image_06042025_16_43_35_9353.jpg
/home/pi/Desktop/images/06042025/16/43/image_06042025_16_43_45_10479.jpg
/home/pi/Desktop/images/06042025/16/43/image_06042025_16_43_56_10370.jpg
/home/pi/Desktop/images/06042025/16/43/image_06042025_16_44_05_9387.jpg
/home/pi/Desktop/images/06042025/16/44/image_06042025_16_44_35_10364.jpg
/home/pi/Desktop/images/06042025/16/44/image_06042025_16_44_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":["1351385531","1351385510","1351385493","1351385481","1351385523","1351385466"],"photo_ids_order":["1351385466","1351385481","1351385493","1351385510","1351385523","1351385531"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/21c562d62e5bb82f70ad5c3107ef3f35.jpg","text":"TemporaryFile(/tmp/multipartBody3220472248903870539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326154745,"filename":"image_06042025_16_44_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/11/bb63e23807c986085ef15e9be868cb6d.jpg","text":"TemporaryFile(/tmp/multipartBody4592017135187794781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326154745,"filename":"image_06042025_16_44_05_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3d020240e256f1ba6c0d1dcc96eb3fa5.jpg","text":"TemporaryFile(/tmp/multipartBody8586946479268071920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326154745,"filename":"image_06042025_16_43_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/11/9fdd67112fe16ae6987097509d072981.jpg","text":"TemporaryFile(/tmp/multipartBody8566298512130145928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326154745,"filename":"image_06042025_16_43_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/11/9f7d7adbff3e49977d8219514fb9c2b4.jpg","text":"TemporaryFile(/tmp/multipartBody7706137267030599840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326154745,"filename":"image_06042025_16_44_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/11/c9c815f0ee4eb31e83a1ef32806f7378.jpg","text":"TemporaryFile(/tmp/multipartBody3887581128233805943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326154745,"filename":"image_06042025_16_43_35_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351385493","file1":"1351385481","file0":"1351385466","file4":"1351385523","file5":"1351385531","file3":"1351385510"},"map_files_photo_id_array":[{"photo_id":"1351385531","filename":"file5"},{"photo_id":"1351385493","filename":"file2"},{"photo_id":"1351385523","filename":"file4"},{"photo_id":"1351385481","filename":"file1"},{"photo_id":"1351385466","filename":"file0"},{"photo_id":"1351385510","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351385531":["hashtag1","hashtag2"]},{"1351385510":["hashtag1","hashtag2"]},{"1351385493":["hashtag1","hashtag2"]},{"1351385481":["hashtag1","hashtag2"]},{"1351385523":["hashtag1","hashtag2"]},{"1351385466":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351385531, 1351385510, 1351385493, 1351385481, 1351385523, 1351385466)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.020195960998535 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 01:02:32.232165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/16/44/image_06042025_16_45_05_10470.jpg', '/home/pi/Desktop/images/06042025/16/45/image_06042025_16_45_16_10357.jpg', '/home/pi/Desktop/images/06042025/16/45/image_06042025_16_45_25_9354.jpg', '/home/pi/Desktop/images/06042025/16/45/image_06042025_16_45_35_10342.jpg', '/home/pi/Desktop/images/06042025/16/45/image_06042025_16_45_46_10350.jpg', '/home/pi/Desktop/images/06042025/16/45/image_06042025_16_45_55_9365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/16/44/image_06042025_16_45_05_10470.jpg
/home/pi/Desktop/images/06042025/16/45/image_06042025_16_45_16_10357.jpg
/home/pi/Desktop/images/06042025/16/45/image_06042025_16_45_25_9354.jpg
/home/pi/Desktop/images/06042025/16/45/image_06042025_16_45_35_10342.jpg
/home/pi/Desktop/images/06042025/16/45/image_06042025_16_45_46_10350.jpg
/home/pi/Desktop/images/06042025/16/45/image_06042025_16_45_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":["1351385909","1351385860","1351385833","1351385793","1351385988","1351385922"],"photo_ids_order":["1351385793","1351385833","1351385860","1351385909","1351385922","1351385988"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/bc5daf5ca97b7772afc0b022f5119dfa.jpg","text":"TemporaryFile(/tmp/multipartBody1968488853007796152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326213922,"filename":"image_06042025_16_45_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/11/c7420f7646f6a8f4c632b1a6ff3e80d9.jpg","text":"TemporaryFile(/tmp/multipartBody6756862010006504818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326213922,"filename":"image_06042025_16_45_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/11/e88c84677ca8308b3c9020a5ac9eb7bb.jpg","text":"TemporaryFile(/tmp/multipartBody5726202034945232678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326213922,"filename":"image_06042025_16_45_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/11/e4854d98b20736c7948856ccdce54908.jpg","text":"TemporaryFile(/tmp/multipartBody3336339042592838484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326213922,"filename":"image_06042025_16_45_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/11/c1a82937ff83ebef5c8a749904025c97.jpg","text":"TemporaryFile(/tmp/multipartBody2954582589357411375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326213922,"filename":"image_06042025_16_45_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/11/09894ad899723cc7e2a94e9f43b47596.jpg","text":"TemporaryFile(/tmp/multipartBody1564393492482682263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326213922,"filename":"image_06042025_16_45_46_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351385860","file1":"1351385833","file0":"1351385793","file4":"1351385922","file5":"1351385988","file3":"1351385909"},"map_files_photo_id_array":[{"photo_id":"1351385988","filename":"file5"},{"photo_id":"1351385860","filename":"file2"},{"photo_id":"1351385922","filename":"file4"},{"photo_id":"1351385833","filename":"file1"},{"photo_id":"1351385793","filename":"file0"},{"photo_id":"1351385909","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351385909":["hashtag1","hashtag2"]},{"1351385860":["hashtag1","hashtag2"]},{"1351385833":["hashtag1","hashtag2"]},{"1351385793":["hashtag1","hashtag2"]},{"1351385988":["hashtag1","hashtag2"]},{"1351385922":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351385909, 1351385860, 1351385833, 1351385793, 1351385988, 1351385922)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.04240894317627 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 01:03:32.633133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/16/45/image_06042025_16_46_05_10349.jpg', '/home/pi/Desktop/images/06042025/16/46/image_06042025_16_46_15_9350.jpg', '/home/pi/Desktop/images/06042025/16/46/image_06042025_16_46_36_10377.jpg', '/home/pi/Desktop/images/06042025/16/46/image_06042025_16_46_45_9400.jpg', '/home/pi/Desktop/images/06042025/16/46/image_06042025_16_46_55_10354.jpg', '/home/pi/Desktop/images/06042025/16/46/image_06042025_16_47_06_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/16/45/image_06042025_16_46_05_10349.jpg
/home/pi/Desktop/images/06042025/16/46/image_06042025_16_46_15_9350.jpg
/home/pi/Desktop/images/06042025/16/46/image_06042025_16_46_36_10377.jpg
/home/pi/Desktop/images/06042025/16/46/image_06042025_16_46_45_9400.jpg
/home/pi/Desktop/images/06042025/16/46/image_06042025_16_46_55_10354.jpg
/home/pi/Desktop/images/06042025/16/46/image_06042025_16_47_06_10358.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":["1351386346","1351386282","1351386680","1351386818","1351386911","1351386524"],"photo_ids_order":["1351386282","1351386346","1351386524","1351386680","1351386818","1351386911"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4e8d2ef8706a863342a0bc0e02636106.jpg","text":"TemporaryFile(/tmp/multipartBody6381754667458423192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326274298,"filename":"image_06042025_16_46_15_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3428c7f24b407f4f4fb0524bb5e23661.jpg","text":"TemporaryFile(/tmp/multipartBody6077624031205447696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326274298,"filename":"image_06042025_16_46_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/11/208410978af77836d35194fe9a62fc5f.jpg","text":"TemporaryFile(/tmp/multipartBody8981542151332470729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326274298,"filename":"image_06042025_16_46_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/11/66a3e8f3a2e7a0642edb3a3904eb8ca8.jpg","text":"TemporaryFile(/tmp/multipartBody7575779218242203937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326274298,"filename":"image_06042025_16_46_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/11/63f03fad2723ad0015ed3980d9801846.jpg","text":"TemporaryFile(/tmp/multipartBody5639040899677035414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326274298,"filename":"image_06042025_16_47_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/11/621d1eacc1b39f6560443d0a52b05bfd.jpg","text":"TemporaryFile(/tmp/multipartBody7108742677810965718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326274298,"filename":"image_06042025_16_46_36_10377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351386524","file1":"1351386346","file0":"1351386282","file4":"1351386818","file5":"1351386911","file3":"1351386680"},"map_files_photo_id_array":[{"photo_id":"1351386911","filename":"file5"},{"photo_id":"1351386524","filename":"file2"},{"photo_id":"1351386818","filename":"file4"},{"photo_id":"1351386346","filename":"file1"},{"photo_id":"1351386282","filename":"file0"},{"photo_id":"1351386680","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351386346":["hashtag1","hashtag2"]},{"1351386282":["hashtag1","hashtag2"]},{"1351386680":["hashtag1","hashtag2"]},{"1351386818":["hashtag1","hashtag2"]},{"1351386911":["hashtag1","hashtag2"]},{"1351386524":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351386346, 1351386282, 1351386680, 1351386818, 1351386911, 1351386524)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.03624415397644 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 01:04:42.721006
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/16/47/image_06042025_16_47_15_9450.jpg', '/home/pi/Desktop/images/06042025/16/47/image_06042025_16_47_25_10359.jpg', '/home/pi/Desktop/images/06042025/16/47/image_06042025_16_47_35_9349.jpg', '/home/pi/Desktop/images/06042025/16/47/image_06042025_16_47_45_10406.jpg', '/home/pi/Desktop/images/06042025/16/47/image_06042025_16_47_56_10357.jpg', '/home/pi/Desktop/images/06042025/16/47/image_06042025_16_48_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/16/47/image_06042025_16_47_15_9450.jpg
/home/pi/Desktop/images/06042025/16/47/image_06042025_16_47_25_10359.jpg
/home/pi/Desktop/images/06042025/16/47/image_06042025_16_47_35_9349.jpg
/home/pi/Desktop/images/06042025/16/47/image_06042025_16_47_45_10406.jpg
/home/pi/Desktop/images/06042025/16/47/image_06042025_16_47_56_10357.jpg
/home/pi/Desktop/images/06042025/16/47/image_06042025_16_48_05_9457.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351387222","1351387365","1351387440","1351387526","1351387492","1351387261"],"photo_ids_order":["1351387222","1351387261","1351387365","1351387440","1351387492","1351387526"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d7c518438f7486ee17b99683d46e0c67.jpg","text":"TemporaryFile(/tmp/multipartBody1586998375114252759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326346130,"filename":"image_06042025_16_47_15_9450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/159d96f5cc1c2c263a998230735bb866.jpg","text":"TemporaryFile(/tmp/multipartBody926296660428680969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326346130,"filename":"image_06042025_16_47_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/11/ea65f446959887da41912eb40322561c.jpg","text":"TemporaryFile(/tmp/multipartBody3358783620045640735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326346130,"filename":"image_06042025_16_47_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/11/cbe80ae2e800d58208dc59e4fd7e2179.jpg","text":"TemporaryFile(/tmp/multipartBody6267543236929346111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326346130,"filename":"image_06042025_16_48_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/11/42eb90f6e36cbedcf464e769978f7eba.jpg","text":"TemporaryFile(/tmp/multipartBody3047742506740051121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326346130,"filename":"image_06042025_16_47_56_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7b56c5bec9d7187a246c71fecee6977e.jpg","text":"TemporaryFile(/tmp/multipartBody2479628850647447817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326346130,"filename":"image_06042025_16_47_25_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351387365","file1":"1351387261","file0":"1351387222","file4":"1351387492","file5":"1351387526","file3":"1351387440"},"map_files_photo_id_array":[{"photo_id":"1351387526","filename":"file5"},{"photo_id":"1351387365","filename":"file2"},{"photo_id":"1351387492","filename":"file4"},{"photo_id":"1351387261","filename":"file1"},{"photo_id":"1351387222","filename":"file0"},{"photo_id":"1351387440","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351387222":["hashtag1","hashtag2"]},{"1351387365":["hashtag1","hashtag2"]},{"1351387440":["hashtag1","hashtag2"]},{"1351387526":["hashtag1","hashtag2"]},{"1351387492":["hashtag1","hashtag2"]},{"1351387261":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351387222, 1351387365, 1351387440, 1351387526, 1351387492, 1351387261)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.58555793762207 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 01:05:33.003708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/16/48/image_06042025_16_48_15_10351.jpg', '/home/pi/Desktop/images/06042025/16/48/image_06042025_16_48_25_9364.jpg', '/home/pi/Desktop/images/06042025/16/48/image_06042025_16_48_35_10355.jpg', '/home/pi/Desktop/images/06042025/16/48/image_06042025_16_48_45_10351.jpg', '/home/pi/Desktop/images/06042025/16/48/image_06042025_16_48_55_9352.jpg', '/home/pi/Desktop/images/06042025/16/48/image_06042025_16_49_05_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/16/48/image_06042025_16_48_15_10351.jpg
/home/pi/Desktop/images/06042025/16/48/image_06042025_16_48_25_9364.jpg
/home/pi/Desktop/images/06042025/16/48/image_06042025_16_48_35_10355.jpg
/home/pi/Desktop/images/06042025/16/48/image_06042025_16_48_45_10351.jpg
/home/pi/Desktop/images/06042025/16/48/image_06042025_16_48_55_9352.jpg
/home/pi/Desktop/images/06042025/16/48/image_06042025_16_49_05_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":["1351387779","1351387728","1351387908","1351388009","1351388182","1351387805"],"photo_ids_order":["1351387728","1351387779","1351387805","1351387908","1351388009","1351388182"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7b07e0053ab2f2e77d949f65423f785b.jpg","text":"TemporaryFile(/tmp/multipartBody6248440847754441874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326394686,"filename":"image_06042025_16_48_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/11/5d249a02f72eadb9110b950c7a0eb768.jpg","text":"TemporaryFile(/tmp/multipartBody6005089961755512785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326394686,"filename":"image_06042025_16_48_15_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/34f042269db27e210784fd606c1801ee.jpg","text":"TemporaryFile(/tmp/multipartBody425338737176118217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326394686,"filename":"image_06042025_16_48_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/11/cd264e453af8764a1b9d119430a8e4ce.jpg","text":"TemporaryFile(/tmp/multipartBody8817420390259858024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326394686,"filename":"image_06042025_16_48_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/11/6af32d505706010da0d564f0db74d970.jpg","text":"TemporaryFile(/tmp/multipartBody1262702613459628378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326394686,"filename":"image_06042025_16_49_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/11/426ed3d6a5ba869040522f23ddb6f68f.jpg","text":"TemporaryFile(/tmp/multipartBody1430734840960854397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326394686,"filename":"image_06042025_16_48_35_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351387805","file1":"1351387779","file0":"1351387728","file4":"1351388009","file5":"1351388182","file3":"1351387908"},"map_files_photo_id_array":[{"photo_id":"1351388182","filename":"file5"},{"photo_id":"1351387805","filename":"file2"},{"photo_id":"1351388009","filename":"file4"},{"photo_id":"1351387779","filename":"file1"},{"photo_id":"1351387728","filename":"file0"},{"photo_id":"1351387908","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351387779":["hashtag1","hashtag2"]},{"1351387728":["hashtag1","hashtag2"]},{"1351387908":["hashtag1","hashtag2"]},{"1351388009":["hashtag1","hashtag2"]},{"1351388182":["hashtag1","hashtag2"]},{"1351387805":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351387779, 1351387728, 1351387908, 1351388009, 1351388182, 1351387805)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.04442572593689 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 01:06:32.143807
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/16/49/image_06042025_16_49_16_10370.jpg', '/home/pi/Desktop/images/06042025/16/49/image_06042025_16_49_25_9374.jpg', '/home/pi/Desktop/images/06042025/16/49/image_06042025_16_49_35_10456.jpg', '/home/pi/Desktop/images/06042025/16/49/image_06042025_16_49_45_9340.jpg', '/home/pi/Desktop/images/06042025/16/49/image_06042025_16_49_55_10463.jpg', '/home/pi/Desktop/images/06042025/16/49/image_06042025_16_50_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/16/49/image_06042025_16_49_16_10370.jpg
/home/pi/Desktop/images/06042025/16/49/image_06042025_16_49_25_9374.jpg
/home/pi/Desktop/images/06042025/16/49/image_06042025_16_49_35_10456.jpg
/home/pi/Desktop/images/06042025/16/49/image_06042025_16_49_45_9340.jpg
/home/pi/Desktop/images/06042025/16/49/image_06042025_16_49_55_10463.jpg
/home/pi/Desktop/images/06042025/16/49/image_06042025_16_50_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":["1351388385","1351388462","1351388537","1351388504","1351388578","1351388454"],"photo_ids_order":["1351388385","1351388454","1351388462","1351388504","1351388537","1351388578"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/482afc71d508974107e233ca47d042da.jpg","text":"TemporaryFile(/tmp/multipartBody8045625620824096946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326453867,"filename":"image_06042025_16_49_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/11/58a56fb092a02e8c011f8ec2f94e4226.jpg","text":"TemporaryFile(/tmp/multipartBody4889782739277527089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326453867,"filename":"image_06042025_16_49_35_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5ea609b3d7b85aa11097da16500ace25.jpg","text":"TemporaryFile(/tmp/multipartBody1477156344271036835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326453867,"filename":"image_06042025_16_49_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/11/db3c62d13424725c56ceedc8f552a083.jpg","text":"TemporaryFile(/tmp/multipartBody8874645077827369596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326453867,"filename":"image_06042025_16_49_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/11/97ca4ae2dfccda3d38ee00050b760af1.jpg","text":"TemporaryFile(/tmp/multipartBody668667218171771191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326453867,"filename":"image_06042025_16_50_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/11/cee058a9dd4eff306e13c3851af6c710.jpg","text":"TemporaryFile(/tmp/multipartBody881817837627616454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326453867,"filename":"image_06042025_16_49_25_9374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351388462","file1":"1351388454","file0":"1351388385","file4":"1351388537","file5":"1351388578","file3":"1351388504"},"map_files_photo_id_array":[{"photo_id":"1351388578","filename":"file5"},{"photo_id":"1351388462","filename":"file2"},{"photo_id":"1351388537","filename":"file4"},{"photo_id":"1351388454","filename":"file1"},{"photo_id":"1351388385","filename":"file0"},{"photo_id":"1351388504","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351388385":["hashtag1","hashtag2"]},{"1351388462":["hashtag1","hashtag2"]},{"1351388537":["hashtag1","hashtag2"]},{"1351388504":["hashtag1","hashtag2"]},{"1351388578":["hashtag1","hashtag2"]},{"1351388454":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351388385, 1351388462, 1351388537, 1351388504, 1351388578, 1351388454)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.05969047546387 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 01:07:32.417286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/16/50/image_06042025_16_50_15_9359.jpg', '/home/pi/Desktop/images/06042025/16/50/image_06042025_16_50_25_10369.jpg', '/home/pi/Desktop/images/06042025/16/50/image_06042025_16_50_45_10387.jpg', '/home/pi/Desktop/images/06042025/16/50/image_06042025_16_50_56_10369.jpg', '/home/pi/Desktop/images/06042025/16/50/image_06042025_16_51_05_9467.jpg', '/home/pi/Desktop/images/06042025/16/51/image_06042025_16_51_15_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/16/50/image_06042025_16_50_15_9359.jpg
/home/pi/Desktop/images/06042025/16/50/image_06042025_16_50_25_10369.jpg
/home/pi/Desktop/images/06042025/16/50/image_06042025_16_50_45_10387.jpg
/home/pi/Desktop/images/06042025/16/50/image_06042025_16_50_56_10369.jpg
/home/pi/Desktop/images/06042025/16/50/image_06042025_16_51_05_9467.jpg
/home/pi/Desktop/images/06042025/16/51/image_06042025_16_51_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":["1351388640","1351388631","1351388642","1351388638","1351388641","1351388635"],"photo_ids_order":["1351388631","1351388635","1351388638","1351388640","1351388641","1351388642"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/116b30c9f23e682856d25875e5d07a75.jpg","text":"TemporaryFile(/tmp/multipartBody2861595573991062642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326514087,"filename":"image_06042025_16_50_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/11/0fe4e187a95bd0ac04cefe20421dc1b1.jpg","text":"TemporaryFile(/tmp/multipartBody7814180636556178389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326514087,"filename":"image_06042025_16_50_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/11/93fa878b9668131ad37cd06ebaacddbb.jpg","text":"TemporaryFile(/tmp/multipartBody1335608683571359203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326514087,"filename":"image_06042025_16_51_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/11/fbe17806117ba304a91b0785afc3a688.jpg","text":"TemporaryFile(/tmp/multipartBody1598495149947461543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326514087,"filename":"image_06042025_16_50_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/11/a68b69ab764e033c568674c619aed628.jpg","text":"TemporaryFile(/tmp/multipartBody1201184369422948652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326514087,"filename":"image_06042025_16_51_05_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/11/06b477e92602be5fd491de1c5b8028c8.jpg","text":"TemporaryFile(/tmp/multipartBody2532952525222583785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326514087,"filename":"image_06042025_16_50_25_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351388638","file1":"1351388635","file0":"1351388631","file4":"1351388641","file5":"1351388642","file3":"1351388640"},"map_files_photo_id_array":[{"photo_id":"1351388642","filename":"file5"},{"photo_id":"1351388638","filename":"file2"},{"photo_id":"1351388641","filename":"file4"},{"photo_id":"1351388635","filename":"file1"},{"photo_id":"1351388631","filename":"file0"},{"photo_id":"1351388640","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351388640":["hashtag1","hashtag2"]},{"1351388631":["hashtag1","hashtag2"]},{"1351388642":["hashtag1","hashtag2"]},{"1351388638":["hashtag1","hashtag2"]},{"1351388641":["hashtag1","hashtag2"]},{"1351388635":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351388640, 1351388631, 1351388642, 1351388638, 1351388641, 1351388635)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.34391498565674 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 01:08:32.757437
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/16/51/image_06042025_16_51_25_9358.jpg', '/home/pi/Desktop/images/06042025/16/51/image_06042025_16_51_35_10492.jpg', '/home/pi/Desktop/images/06042025/16/51/image_06042025_16_51_46_10358.jpg', '/home/pi/Desktop/images/06042025/16/51/image_06042025_16_51_55_9431.jpg', '/home/pi/Desktop/images/06042025/16/51/image_06042025_16_52_05_10385.jpg', '/home/pi/Desktop/images/06042025/16/52/image_06042025_16_52_15_9343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/16/51/image_06042025_16_51_25_9358.jpg
/home/pi/Desktop/images/06042025/16/51/image_06042025_16_51_35_10492.jpg
/home/pi/Desktop/images/06042025/16/51/image_06042025_16_51_46_10358.jpg
/home/pi/Desktop/images/06042025/16/51/image_06042025_16_51_55_9431.jpg
/home/pi/Desktop/images/06042025/16/51/image_06042025_16_52_05_10385.jpg
/home/pi/Desktop/images/06042025/16/52/image_06042025_16_52_15_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":["1351388676","1351388681","1351388678","1351388686","1351388680","1351388671"],"photo_ids_order":["1351388671","1351388676","1351388678","1351388680","1351388681","1351388686"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a7b068287077713f674b3b6d13b10de5.jpg","text":"TemporaryFile(/tmp/multipartBody1631759841145178398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326574521,"filename":"image_06042025_16_51_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/11/6e465d2d22766a9136c7d7f99e2cf1fc.jpg","text":"TemporaryFile(/tmp/multipartBody6114776000448477988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326574521,"filename":"image_06042025_16_52_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/11/a5f4fca724a8541d3c0a5e15500997aa.jpg","text":"TemporaryFile(/tmp/multipartBody2894069188653844852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326574521,"filename":"image_06042025_16_51_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/11/f039bec840c64a2b904c2027e48e967e.jpg","text":"TemporaryFile(/tmp/multipartBody7452857226860011717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326574521,"filename":"image_06042025_16_52_15_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d2588e09a8947d313be1c08ddb02da93.jpg","text":"TemporaryFile(/tmp/multipartBody7488177104623408348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326574521,"filename":"image_06042025_16_51_55_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1f7e57c912e6cbfc65d2b6bef9d310df.jpg","text":"TemporaryFile(/tmp/multipartBody2153127628830141967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326574521,"filename":"image_06042025_16_51_25_9358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351388678","file1":"1351388676","file0":"1351388671","file4":"1351388681","file5":"1351388686","file3":"1351388680"},"map_files_photo_id_array":[{"photo_id":"1351388686","filename":"file5"},{"photo_id":"1351388678","filename":"file2"},{"photo_id":"1351388681","filename":"file4"},{"photo_id":"1351388676","filename":"file1"},{"photo_id":"1351388671","filename":"file0"},{"photo_id":"1351388680","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351388676":["hashtag1","hashtag2"]},{"1351388681":["hashtag1","hashtag2"]},{"1351388678":["hashtag1","hashtag2"]},{"1351388686":["hashtag1","hashtag2"]},{"1351388680":["hashtag1","hashtag2"]},{"1351388671":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351388676, 1351388681, 1351388678, 1351388686, 1351388680, 1351388671)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.20774483680725 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 01:09:32.887959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/16/52/image_06042025_16_52_25_10357.jpg', '/home/pi/Desktop/images/06042025/16/52/image_06042025_16_52_35_10344.jpg', '/home/pi/Desktop/images/06042025/16/52/image_06042025_16_52_45_9356.jpg', '/home/pi/Desktop/images/06042025/16/52/image_06042025_16_52_55_10419.jpg', '/home/pi/Desktop/images/06042025/16/52/image_06042025_16_53_06_10457.jpg', '/home/pi/Desktop/images/06042025/16/53/image_06042025_16_53_15_9440.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/16/52/image_06042025_16_52_25_10357.jpg
/home/pi/Desktop/images/06042025/16/52/image_06042025_16_52_35_10344.jpg
/home/pi/Desktop/images/06042025/16/52/image_06042025_16_52_45_9356.jpg
/home/pi/Desktop/images/06042025/16/52/image_06042025_16_52_55_10419.jpg
/home/pi/Desktop/images/06042025/16/52/image_06042025_16_53_06_10457.jpg
/home/pi/Desktop/images/06042025/16/53/image_06042025_16_53_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":["1351388748","1351388732","1351388741","1351388705","1351388725","1351388710"],"photo_ids_order":["1351388705","1351388710","1351388725","1351388732","1351388741","1351388748"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3f99ffd3c8662edd6bbb5f433cc94076.jpg","text":"TemporaryFile(/tmp/multipartBody7080036908587046123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326634571,"filename":"image_06042025_16_53_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/11/5c6bb6a9e2d093adad728d579b7f8d07.jpg","text":"TemporaryFile(/tmp/multipartBody431426011717606611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326634571,"filename":"image_06042025_16_52_55_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4d3c985cb5ce35c4092462decac2fba7.jpg","text":"TemporaryFile(/tmp/multipartBody6732719668647893900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326634571,"filename":"image_06042025_16_53_06_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/40bf178bb64be8cc87e86eb0627f99a6.jpg","text":"TemporaryFile(/tmp/multipartBody3917086823887585492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326634571,"filename":"image_06042025_16_52_25_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9f8f1849d326532842ab5a519b11f7df.jpg","text":"TemporaryFile(/tmp/multipartBody6426374562282733775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326634571,"filename":"image_06042025_16_52_45_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/dbddf3c5a14beeb771d99e35775dfb26.jpg","text":"TemporaryFile(/tmp/multipartBody4594114689296190170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326634571,"filename":"image_06042025_16_52_35_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351388725","file1":"1351388710","file0":"1351388705","file4":"1351388741","file5":"1351388748","file3":"1351388732"},"map_files_photo_id_array":[{"photo_id":"1351388748","filename":"file5"},{"photo_id":"1351388725","filename":"file2"},{"photo_id":"1351388741","filename":"file4"},{"photo_id":"1351388710","filename":"file1"},{"photo_id":"1351388705","filename":"file0"},{"photo_id":"1351388732","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351388748":["hashtag1","hashtag2"]},{"1351388732":["hashtag1","hashtag2"]},{"1351388741":["hashtag1","hashtag2"]},{"1351388705":["hashtag1","hashtag2"]},{"1351388725":["hashtag1","hashtag2"]},{"1351388710":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351388748, 1351388732, 1351388741, 1351388705, 1351388725, 1351388710)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.52029728889465 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 01:10:33.005425
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/16/53/image_06042025_16_53_35_9349.jpg', '/home/pi/Desktop/images/06042025/16/53/image_06042025_16_53_45_10408.jpg', '/home/pi/Desktop/images/06042025/16/53/image_06042025_16_53_56_10387.jpg', '/home/pi/Desktop/images/06042025/16/53/image_06042025_16_54_05_9367.jpg', '/home/pi/Desktop/images/06042025/16/54/image_06042025_16_54_15_10356.jpg', '/home/pi/Desktop/images/06042025/16/54/image_06042025_16_54_25_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/16/53/image_06042025_16_53_35_9349.jpg
/home/pi/Desktop/images/06042025/16/53/image_06042025_16_53_45_10408.jpg
/home/pi/Desktop/images/06042025/16/53/image_06042025_16_53_56_10387.jpg
/home/pi/Desktop/images/06042025/16/53/image_06042025_16_54_05_9367.jpg
/home/pi/Desktop/images/06042025/16/54/image_06042025_16_54_15_10356.jpg
/home/pi/Desktop/images/06042025/16/54/image_06042025_16_54_25_9427.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351388868","1351388821","1351388839","1351388806","1351388796","1351388809"],"photo_ids_order":["1351388796","1351388806","1351388809","1351388821","1351388839","1351388868"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/be1db607c66cfb5393f3ae3a6677e820.jpg","text":"TemporaryFile(/tmp/multipartBody8112698432046154310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326694756,"filename":"image_06042025_16_54_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/11/f3480d4ea22da9956d51a3255491f791.jpg","text":"TemporaryFile(/tmp/multipartBody4447604983364841210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326694756,"filename":"image_06042025_16_54_05_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ba523162ca9075fa680a5d6b8b1bf29a.jpg","text":"TemporaryFile(/tmp/multipartBody4050622123387045722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326694756,"filename":"image_06042025_16_54_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/11/8c7d21ccd4e2cae67241b1d4261dcd16.jpg","text":"TemporaryFile(/tmp/multipartBody6757108218642182166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326694756,"filename":"image_06042025_16_53_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/11/db1a106c0b924b3bf50fbe88d7805be6.jpg","text":"TemporaryFile(/tmp/multipartBody6805738466960836212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326694756,"filename":"image_06042025_16_53_35_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/08bc6919dca900c5707eb670c6d6fa16.jpg","text":"TemporaryFile(/tmp/multipartBody3046890102687617980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326694756,"filename":"image_06042025_16_53_56_10387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351388809","file1":"1351388806","file0":"1351388796","file4":"1351388839","file5":"1351388868","file3":"1351388821"},"map_files_photo_id_array":[{"photo_id":"1351388868","filename":"file5"},{"photo_id":"1351388809","filename":"file2"},{"photo_id":"1351388839","filename":"file4"},{"photo_id":"1351388806","filename":"file1"},{"photo_id":"1351388796","filename":"file0"},{"photo_id":"1351388821","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351388868":["hashtag1","hashtag2"]},{"1351388821":["hashtag1","hashtag2"]},{"1351388839":["hashtag1","hashtag2"]},{"1351388806":["hashtag1","hashtag2"]},{"1351388796":["hashtag1","hashtag2"]},{"1351388809":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351388868, 1351388821, 1351388839, 1351388806, 1351388796, 1351388809)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.0110650062561 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 01:11:32.362078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/16/54/image_06042025_16_54_46_10340.jpg', '/home/pi/Desktop/images/06042025/16/54/image_06042025_16_54_55_9417.jpg', '/home/pi/Desktop/images/06042025/16/54/image_06042025_16_55_05_10362.jpg', '/home/pi/Desktop/images/06042025/16/55/image_06042025_16_55_16_10358.jpg', '/home/pi/Desktop/images/06042025/16/55/image_06042025_16_55_25_9383.jpg', '/home/pi/Desktop/images/06042025/16/55/image_06042025_16_55_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/16/54/image_06042025_16_54_46_10340.jpg
/home/pi/Desktop/images/06042025/16/54/image_06042025_16_54_55_9417.jpg
/home/pi/Desktop/images/06042025/16/54/image_06042025_16_55_05_10362.jpg
/home/pi/Desktop/images/06042025/16/55/image_06042025_16_55_16_10358.jpg
/home/pi/Desktop/images/06042025/16/55/image_06042025_16_55_25_9383.jpg
/home/pi/Desktop/images/06042025/16/55/image_06042025_16_55_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":["1351389015","1351389047","1351389049","1351389045","1351389039","1351389054"],"photo_ids_order":["1351389015","1351389039","1351389045","1351389047","1351389049","1351389054"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/181283c1eef5515cbf209c21003238a8.jpg","text":"TemporaryFile(/tmp/multipartBody3558675283000488371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326754032,"filename":"image_06042025_16_54_46_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ee27cd7a4747c4fa810a63e48e70e235.jpg","text":"TemporaryFile(/tmp/multipartBody6851779493136965611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326754032,"filename":"image_06042025_16_55_16_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/15827435f3aa136c0af6b14a7c8a78e8.jpg","text":"TemporaryFile(/tmp/multipartBody9216163465577966059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326754032,"filename":"image_06042025_16_55_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/11/084293a9a7d0435f635d41474474918d.jpg","text":"TemporaryFile(/tmp/multipartBody8554797369743083897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326754032,"filename":"image_06042025_16_55_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/11/3dac133462de91bd980f16a986eb4d2e.jpg","text":"TemporaryFile(/tmp/multipartBody977001740344007230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326754032,"filename":"image_06042025_16_54_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/11/726daa054e25bc3e044f0c4bf1b56f95.jpg","text":"TemporaryFile(/tmp/multipartBody95980978835828469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326754032,"filename":"image_06042025_16_55_35_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351389045","file1":"1351389039","file0":"1351389015","file4":"1351389049","file5":"1351389054","file3":"1351389047"},"map_files_photo_id_array":[{"photo_id":"1351389054","filename":"file5"},{"photo_id":"1351389045","filename":"file2"},{"photo_id":"1351389049","filename":"file4"},{"photo_id":"1351389039","filename":"file1"},{"photo_id":"1351389015","filename":"file0"},{"photo_id":"1351389047","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351389015":["hashtag1","hashtag2"]},{"1351389047":["hashtag1","hashtag2"]},{"1351389049":["hashtag1","hashtag2"]},{"1351389045":["hashtag1","hashtag2"]},{"1351389039":["hashtag1","hashtag2"]},{"1351389054":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351389015, 1351389047, 1351389049, 1351389045, 1351389039, 1351389054)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.04410529136658 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 01:12:32.516477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/16/55/image_06042025_16_55_45_9334.jpg', '/home/pi/Desktop/images/06042025/16/55/image_06042025_16_55_55_10468.jpg', '/home/pi/Desktop/images/06042025/16/55/image_06042025_16_56_05_9481.jpg', '/home/pi/Desktop/images/06042025/16/56/image_06042025_16_56_15_10400.jpg', '/home/pi/Desktop/images/06042025/16/56/image_06042025_16_56_26_10355.jpg', '/home/pi/Desktop/images/06042025/16/56/image_06042025_16_56_35_9355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/16/55/image_06042025_16_55_45_9334.jpg
/home/pi/Desktop/images/06042025/16/55/image_06042025_16_55_55_10468.jpg
/home/pi/Desktop/images/06042025/16/55/image_06042025_16_56_05_9481.jpg
/home/pi/Desktop/images/06042025/16/56/image_06042025_16_56_15_10400.jpg
/home/pi/Desktop/images/06042025/16/56/image_06042025_16_56_26_10355.jpg
/home/pi/Desktop/images/06042025/16/56/image_06042025_16_56_35_9355.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.5841212272644043 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 01:12:42.591353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/16/55/image_06042025_16_55_45_9334.jpg', '/home/pi/Desktop/images/06042025/16/55/image_06042025_16_55_55_10468.jpg', '/home/pi/Desktop/images/06042025/16/55/image_06042025_16_56_05_9481.jpg', '/home/pi/Desktop/images/06042025/16/56/image_06042025_16_56_15_10400.jpg', '/home/pi/Desktop/images/06042025/16/56/image_06042025_16_56_26_10355.jpg', '/home/pi/Desktop/images/06042025/16/56/image_06042025_16_56_35_9355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/16/55/image_06042025_16_55_45_9334.jpg
/home/pi/Desktop/images/06042025/16/55/image_06042025_16_55_55_10468.jpg
/home/pi/Desktop/images/06042025/16/55/image_06042025_16_56_05_9481.jpg
/home/pi/Desktop/images/06042025/16/56/image_06042025_16_56_15_10400.jpg
/home/pi/Desktop/images/06042025/16/56/image_06042025_16_56_26_10355.jpg
/home/pi/Desktop/images/06042025/16/56/image_06042025_16_56_35_9355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351389368","1351389460","1351389382","1351389379","1351389441","1351389417"],"photo_ids_order":["1351389368","1351389379","1351389382","1351389417","1351389441","1351389460"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/28e4ca259bf92f5bfc8aaa8853e33024.jpg","text":"TemporaryFile(/tmp/multipartBody8746632872928710488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326823335,"filename":"image_06042025_16_55_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/11/8c14c07c4f5981490074d938f86b4143.jpg","text":"TemporaryFile(/tmp/multipartBody7629241179721052324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326823335,"filename":"image_06042025_16_56_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/11/5bafb9f424b45d9a0270456db56f36f9.jpg","text":"TemporaryFile(/tmp/multipartBody1016756956118836991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326823335,"filename":"image_06042025_16_56_05_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/11/c9ea13bcf83bc3910074bbd787be4562.jpg","text":"TemporaryFile(/tmp/multipartBody7160103249558295218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326823335,"filename":"image_06042025_16_55_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/11/85afdeb9f1735ac292c7a7dc83f72bab.jpg","text":"TemporaryFile(/tmp/multipartBody3617304275529945314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326823335,"filename":"image_06042025_16_56_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/11/7ddd4245fcdd859f7558e20cd5793e5a.jpg","text":"TemporaryFile(/tmp/multipartBody1642738119575012683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326823335,"filename":"image_06042025_16_56_15_10400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351389382","file1":"1351389379","file0":"1351389368","file4":"1351389441","file5":"1351389460","file3":"1351389417"},"map_files_photo_id_array":[{"photo_id":"1351389460","filename":"file5"},{"photo_id":"1351389382","filename":"file2"},{"photo_id":"1351389441","filename":"file4"},{"photo_id":"1351389379","filename":"file1"},{"photo_id":"1351389368","filename":"file0"},{"photo_id":"1351389417","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351389368":["hashtag1","hashtag2"]},{"1351389460":["hashtag1","hashtag2"]},{"1351389382":["hashtag1","hashtag2"]},{"1351389379":["hashtag1","hashtag2"]},{"1351389441":["hashtag1","hashtag2"]},{"1351389417":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351389368, 1351389460, 1351389382, 1351389379, 1351389441, 1351389417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.763022899627686 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 01:13:32.797842
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/16/56/image_06042025_16_56_45_10363.jpg', '/home/pi/Desktop/images/06042025/16/56/image_06042025_16_56_56_10372.jpg', '/home/pi/Desktop/images/06042025/16/56/image_06042025_16_57_05_9501.jpg', '/home/pi/Desktop/images/06042025/16/57/image_06042025_16_57_15_10368.jpg', '/home/pi/Desktop/images/06042025/16/57/image_06042025_16_57_25_9341.jpg', '/home/pi/Desktop/images/06042025/16/57/image_06042025_16_57_35_10463.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/16/56/image_06042025_16_56_45_10363.jpg
/home/pi/Desktop/images/06042025/16/56/image_06042025_16_56_56_10372.jpg
/home/pi/Desktop/images/06042025/16/56/image_06042025_16_57_05_9501.jpg
/home/pi/Desktop/images/06042025/16/57/image_06042025_16_57_15_10368.jpg
/home/pi/Desktop/images/06042025/16/57/image_06042025_16_57_25_9341.jpg
/home/pi/Desktop/images/06042025/16/57/image_06042025_16_57_35_10463.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351389587","1351389578","1351389562","1351389538","1351389517","1351389582"],"photo_ids_order":["1351389517","1351389538","1351389562","1351389578","1351389582","1351389587"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0eb6fa347679b15e7ab3615d4322404f.jpg","text":"TemporaryFile(/tmp/multipartBody2346161826372731805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326874492,"filename":"image_06042025_16_57_35_10463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0c2543cf6d16ecb276e2566ee880fa14.jpg","text":"TemporaryFile(/tmp/multipartBody8046652212729577715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326874492,"filename":"image_06042025_16_57_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/11/051a8a5d863bbf48cf77119d4eb165de.jpg","text":"TemporaryFile(/tmp/multipartBody6176025287761766294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326874492,"filename":"image_06042025_16_57_05_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/11/5960fe654e2680011fed4dcd9ab8722f.jpg","text":"TemporaryFile(/tmp/multipartBody5968243884188952514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326874492,"filename":"image_06042025_16_56_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/11/f4e7e15ba63f6766a9c05cc0c3f70d8f.jpg","text":"TemporaryFile(/tmp/multipartBody2408725527590118160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326874492,"filename":"image_06042025_16_56_45_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/688dbacc2475b703a3a002bec0d03b16.jpg","text":"TemporaryFile(/tmp/multipartBody7984899879020514648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326874492,"filename":"image_06042025_16_57_25_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351389562","file1":"1351389538","file0":"1351389517","file4":"1351389582","file5":"1351389587","file3":"1351389578"},"map_files_photo_id_array":[{"photo_id":"1351389587","filename":"file5"},{"photo_id":"1351389562","filename":"file2"},{"photo_id":"1351389582","filename":"file4"},{"photo_id":"1351389538","filename":"file1"},{"photo_id":"1351389517","filename":"file0"},{"photo_id":"1351389578","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351389587":["hashtag1","hashtag2"]},{"1351389578":["hashtag1","hashtag2"]},{"1351389562":["hashtag1","hashtag2"]},{"1351389538":["hashtag1","hashtag2"]},{"1351389517":["hashtag1","hashtag2"]},{"1351389582":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351389587, 1351389578, 1351389562, 1351389538, 1351389517, 1351389582)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.5817973613739 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 01:14:32.968584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/16/57/image_06042025_16_57_46_10403.jpg', '/home/pi/Desktop/images/06042025/16/57/image_06042025_16_57_55_9359.jpg', '/home/pi/Desktop/images/06042025/16/58/image_06042025_16_58_15_9385.jpg', '/home/pi/Desktop/images/06042025/16/58/image_06042025_16_58_25_10457.jpg', '/home/pi/Desktop/images/06042025/16/58/image_06042025_16_58_36_10361.jpg', '/home/pi/Desktop/images/06042025/16/58/image_06042025_16_58_45_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/16/57/image_06042025_16_57_46_10403.jpg
/home/pi/Desktop/images/06042025/16/57/image_06042025_16_57_55_9359.jpg
/home/pi/Desktop/images/06042025/16/58/image_06042025_16_58_15_9385.jpg
/home/pi/Desktop/images/06042025/16/58/image_06042025_16_58_25_10457.jpg
/home/pi/Desktop/images/06042025/16/58/image_06042025_16_58_36_10361.jpg
/home/pi/Desktop/images/06042025/16/58/image_06042025_16_58_45_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":["1351389632","1351389629","1351389634","1351389625","1351389621","1351389615"],"photo_ids_order":["1351389615","1351389621","1351389625","1351389629","1351389632","1351389634"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f54dd78c83611ef807952cfd70763527.jpg","text":"TemporaryFile(/tmp/multipartBody8557117486872582278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326934658,"filename":"image_06042025_16_58_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/11/391abdda3e405b669f890665060ef01d.jpg","text":"TemporaryFile(/tmp/multipartBody3930230870914876881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326934658,"filename":"image_06042025_16_58_25_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/417c6d51f0136bf68120850a6ee060b3.jpg","text":"TemporaryFile(/tmp/multipartBody5205949243857679371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326934658,"filename":"image_06042025_16_58_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/11/0777aedc8e0b52d788b23616963fedb9.jpg","text":"TemporaryFile(/tmp/multipartBody8236424727925748025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326934658,"filename":"image_06042025_16_58_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/11/cd3f1527964d76c7f3ab4931767d725f.jpg","text":"TemporaryFile(/tmp/multipartBody3589119520793685588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326934658,"filename":"image_06042025_16_57_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/11/30e081488d4c513787f18950bd407a03.jpg","text":"TemporaryFile(/tmp/multipartBody1843629149603263737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326934658,"filename":"image_06042025_16_57_46_10403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351389625","file1":"1351389621","file0":"1351389615","file4":"1351389632","file5":"1351389634","file3":"1351389629"},"map_files_photo_id_array":[{"photo_id":"1351389634","filename":"file5"},{"photo_id":"1351389625","filename":"file2"},{"photo_id":"1351389632","filename":"file4"},{"photo_id":"1351389621","filename":"file1"},{"photo_id":"1351389615","filename":"file0"},{"photo_id":"1351389629","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351389632":["hashtag1","hashtag2"]},{"1351389629":["hashtag1","hashtag2"]},{"1351389634":["hashtag1","hashtag2"]},{"1351389625":["hashtag1","hashtag2"]},{"1351389621":["hashtag1","hashtag2"]},{"1351389615":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351389632, 1351389629, 1351389634, 1351389625, 1351389621, 1351389615)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.23020815849304 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 01:15:32.221449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/16/58/image_06042025_16_58_55_10368.jpg', '/home/pi/Desktop/images/06042025/16/58/image_06042025_16_59_06_10348.jpg', '/home/pi/Desktop/images/06042025/16/59/image_06042025_16_59_15_9440.jpg', '/home/pi/Desktop/images/06042025/16/59/image_06042025_16_59_26_10367.jpg', '/home/pi/Desktop/images/06042025/16/59/image_06042025_16_59_35_9453.jpg', '/home/pi/Desktop/images/06042025/16/59/image_06042025_16_59_45_10479.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/16/58/image_06042025_16_58_55_10368.jpg
/home/pi/Desktop/images/06042025/16/58/image_06042025_16_59_06_10348.jpg
/home/pi/Desktop/images/06042025/16/59/image_06042025_16_59_15_9440.jpg
/home/pi/Desktop/images/06042025/16/59/image_06042025_16_59_26_10367.jpg
/home/pi/Desktop/images/06042025/16/59/image_06042025_16_59_35_9453.jpg
/home/pi/Desktop/images/06042025/16/59/image_06042025_16_59_45_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":["1351389710","1351389721","1351389724","1351389700","1351389726","1351389729"],"photo_ids_order":["1351389700","1351389710","1351389721","1351389724","1351389726","1351389729"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5b82f7db0778714ccd8293308e63fd6c.jpg","text":"TemporaryFile(/tmp/multipartBody7344808748743707497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326993893,"filename":"image_06042025_16_59_06_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8892be32bfd05952ce1bd97755588d65.jpg","text":"TemporaryFile(/tmp/multipartBody5912085120150250013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326993893,"filename":"image_06042025_16_59_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/11/0f16fae111dec24b566d4657ad1e0da1.jpg","text":"TemporaryFile(/tmp/multipartBody1893322980079206173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326993893,"filename":"image_06042025_16_59_26_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2f7cd7799db8cbcbc280c75ed70471ef.jpg","text":"TemporaryFile(/tmp/multipartBody3178032328651624349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326993893,"filename":"image_06042025_16_58_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/11/1dccf75f4b0400333902637d086226fb.jpg","text":"TemporaryFile(/tmp/multipartBody8315070131681019869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326993893,"filename":"image_06042025_16_59_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/11/2207c2360ecdfc794c3954bf86c2284c.jpg","text":"TemporaryFile(/tmp/multipartBody4653662565279263407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744326993893,"filename":"image_06042025_16_59_45_10479.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351389721","file1":"1351389710","file0":"1351389700","file4":"1351389726","file5":"1351389729","file3":"1351389724"},"map_files_photo_id_array":[{"photo_id":"1351389729","filename":"file5"},{"photo_id":"1351389721","filename":"file2"},{"photo_id":"1351389726","filename":"file4"},{"photo_id":"1351389710","filename":"file1"},{"photo_id":"1351389700","filename":"file0"},{"photo_id":"1351389724","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351389710":["hashtag1","hashtag2"]},{"1351389721":["hashtag1","hashtag2"]},{"1351389724":["hashtag1","hashtag2"]},{"1351389700":["hashtag1","hashtag2"]},{"1351389726":["hashtag1","hashtag2"]},{"1351389729":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351389710, 1351389721, 1351389724, 1351389700, 1351389726, 1351389729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.07749104499817 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 01:16:32.398111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/16/59/image_06042025_16_59_55_9357.jpg', '/home/pi/Desktop/images/06042025/17/00/image_06042025_17_00_16_10073.jpg', '/home/pi/Desktop/images/06042025/17/00/image_06042025_17_00_26_10382.jpg', '/home/pi/Desktop/images/06042025/17/00/image_06042025_17_00_37_10423.jpg', '/home/pi/Desktop/images/06042025/17/00/image_06042025_17_00_46_9436.jpg', '/home/pi/Desktop/images/06042025/17/00/image_06042025_17_00_56_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/16/59/image_06042025_16_59_55_9357.jpg
/home/pi/Desktop/images/06042025/17/00/image_06042025_17_00_16_10073.jpg
/home/pi/Desktop/images/06042025/17/00/image_06042025_17_00_26_10382.jpg
/home/pi/Desktop/images/06042025/17/00/image_06042025_17_00_37_10423.jpg
/home/pi/Desktop/images/06042025/17/00/image_06042025_17_00_46_9436.jpg
/home/pi/Desktop/images/06042025/17/00/image_06042025_17_00_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":["1351389971","1351389896","1351390017","1351390013","1351390021","1351389945"],"photo_ids_order":["1351389896","1351389945","1351389971","1351390013","1351390017","1351390021"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/040debb5c2474178e53cd4be315834a5.jpg","text":"TemporaryFile(/tmp/multipartBody6141324945026086331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327055249,"filename":"image_06042025_17_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/11/ca5887d449f6de98f9433c3c1dc1670a.jpg","text":"TemporaryFile(/tmp/multipartBody299549750128108593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327055249,"filename":"image_06042025_16_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/11/e6456a9de8a73914f1973c489cbdd41d.jpg","text":"TemporaryFile(/tmp/multipartBody3754566068359379303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327055249,"filename":"image_06042025_17_00_46_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ccbf775fea027f7481d8a97705368a52.jpg","text":"TemporaryFile(/tmp/multipartBody4214745444755583325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327055249,"filename":"image_06042025_17_00_37_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/75bc5ee0b53bc9ca01549626f3b4b83f.jpg","text":"TemporaryFile(/tmp/multipartBody2905526623510437684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327055249,"filename":"image_06042025_17_00_56_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/39eeeb0445caf8d674a2156fa40efef0.jpg","text":"TemporaryFile(/tmp/multipartBody2067261984764789392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327055249,"filename":"image_06042025_17_00_16_10073.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351389971","file1":"1351389945","file0":"1351389896","file4":"1351390017","file5":"1351390021","file3":"1351390013"},"map_files_photo_id_array":[{"photo_id":"1351390021","filename":"file5"},{"photo_id":"1351389971","filename":"file2"},{"photo_id":"1351390017","filename":"file4"},{"photo_id":"1351389945","filename":"file1"},{"photo_id":"1351389896","filename":"file0"},{"photo_id":"1351390013","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351389971":["hashtag1","hashtag2"]},{"1351389896":["hashtag1","hashtag2"]},{"1351390017":["hashtag1","hashtag2"]},{"1351390013":["hashtag1","hashtag2"]},{"1351390021":["hashtag1","hashtag2"]},{"1351389945":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351389971, 1351389896, 1351390017, 1351390013, 1351390021, 1351389945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.11469030380249 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 01:17:32.642917
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/17/00/image_06042025_17_01_06_9337.jpg', '/home/pi/Desktop/images/06042025/17/01/image_06042025_17_01_16_10350.jpg', '/home/pi/Desktop/images/06042025/17/01/image_06042025_17_01_36_9452.jpg', '/home/pi/Desktop/images/06042025/17/01/image_06042025_17_01_46_10359.jpg', '/home/pi/Desktop/images/06042025/17/01/image_06042025_17_01_56_9481.jpg', '/home/pi/Desktop/images/06042025/17/01/image_06042025_17_02_06_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/17/00/image_06042025_17_01_06_9337.jpg
/home/pi/Desktop/images/06042025/17/01/image_06042025_17_01_16_10350.jpg
/home/pi/Desktop/images/06042025/17/01/image_06042025_17_01_36_9452.jpg
/home/pi/Desktop/images/06042025/17/01/image_06042025_17_01_46_10359.jpg
/home/pi/Desktop/images/06042025/17/01/image_06042025_17_01_56_9481.jpg
/home/pi/Desktop/images/06042025/17/01/image_06042025_17_02_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":["1351390071","1351390073","1351390067","1351390075","1351390063","1351390060"],"photo_ids_order":["1351390060","1351390063","1351390067","1351390071","1351390073","1351390075"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2dbef7e98dceca9b3d6e465ea824f0ff.jpg","text":"TemporaryFile(/tmp/multipartBody6394803169775482403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327114325,"filename":"image_06042025_17_01_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/11/ec22bb1ef6f741bb9a827fa5524abc20.jpg","text":"TemporaryFile(/tmp/multipartBody7392934334096133697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327114325,"filename":"image_06042025_17_01_56_9481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7da048e54efceca256da93998d430a2a.jpg","text":"TemporaryFile(/tmp/multipartBody804378068756411355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327114325,"filename":"image_06042025_17_01_36_9452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2491958287afe375b9e7a34775435f7a.jpg","text":"TemporaryFile(/tmp/multipartBody4067331811111226419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327114325,"filename":"image_06042025_17_02_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/11/8da255a3685da27b43d3a6489c6f67e3.jpg","text":"TemporaryFile(/tmp/multipartBody1109413761120488085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327114325,"filename":"image_06042025_17_01_16_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/923cdbb28339d57ec2f75dce36b5c561.jpg","text":"TemporaryFile(/tmp/multipartBody336396652551036577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327114325,"filename":"image_06042025_17_01_06_9337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351390067","file1":"1351390063","file0":"1351390060","file4":"1351390073","file5":"1351390075","file3":"1351390071"},"map_files_photo_id_array":[{"photo_id":"1351390075","filename":"file5"},{"photo_id":"1351390067","filename":"file2"},{"photo_id":"1351390073","filename":"file4"},{"photo_id":"1351390063","filename":"file1"},{"photo_id":"1351390060","filename":"file0"},{"photo_id":"1351390071","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351390071":["hashtag1","hashtag2"]},{"1351390073":["hashtag1","hashtag2"]},{"1351390067":["hashtag1","hashtag2"]},{"1351390075":["hashtag1","hashtag2"]},{"1351390063":["hashtag1","hashtag2"]},{"1351390060":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351390071, 1351390073, 1351390067, 1351390075, 1351390063, 1351390060)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.440091133117676 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 01:18:32.778756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/17/02/image_06042025_17_02_17_10356.jpg', '/home/pi/Desktop/images/06042025/17/02/image_06042025_17_02_46_9336.jpg', '/home/pi/Desktop/images/06042025/17/02/image_06042025_17_02_56_10359.jpg', '/home/pi/Desktop/images/06042025/17/03/image_06042025_17_03_16_9345.jpg', '/home/pi/Desktop/images/06042025/17/03/image_06042025_17_03_56_10366.jpg', '/home/pi/Desktop/images/06042025/17/03/image_06042025_17_04_06_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/17/02/image_06042025_17_02_17_10356.jpg
/home/pi/Desktop/images/06042025/17/02/image_06042025_17_02_46_9336.jpg
/home/pi/Desktop/images/06042025/17/02/image_06042025_17_02_56_10359.jpg
/home/pi/Desktop/images/06042025/17/03/image_06042025_17_03_16_9345.jpg
/home/pi/Desktop/images/06042025/17/03/image_06042025_17_03_56_10366.jpg
/home/pi/Desktop/images/06042025/17/03/image_06042025_17_04_06_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":["1351390275","1351390116","1351390154","1351390130","1351390135","1351390120"],"photo_ids_order":["1351390116","1351390120","1351390130","1351390135","1351390154","1351390275"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c9c19be09e4c741152f2fbde79bcecf9.jpg","text":"TemporaryFile(/tmp/multipartBody7461445516101679530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327174458,"filename":"image_06042025_17_04_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/11/10bc6203b22c8d4df60b137c69b0b5b3.jpg","text":"TemporaryFile(/tmp/multipartBody2967502758740188265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327174458,"filename":"image_06042025_17_02_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/11/79c28ada4a1c4bcacbc8942634742f23.jpg","text":"TemporaryFile(/tmp/multipartBody1949505980083452141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327174458,"filename":"image_06042025_17_03_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/11/618e7f0b314b9857a165b46f663ae99c.jpg","text":"TemporaryFile(/tmp/multipartBody3498554297421797575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327174458,"filename":"image_06042025_17_02_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/11/c3406d61839ac7418933382d439712b6.jpg","text":"TemporaryFile(/tmp/multipartBody5852934498569425508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327174458,"filename":"image_06042025_17_03_16_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/45e2de105e0fce4264c9ca90f345b2d0.jpg","text":"TemporaryFile(/tmp/multipartBody2000825760998283340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327174458,"filename":"image_06042025_17_02_46_9336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351390130","file1":"1351390120","file0":"1351390116","file4":"1351390154","file5":"1351390275","file3":"1351390135"},"map_files_photo_id_array":[{"photo_id":"1351390275","filename":"file5"},{"photo_id":"1351390130","filename":"file2"},{"photo_id":"1351390154","filename":"file4"},{"photo_id":"1351390120","filename":"file1"},{"photo_id":"1351390116","filename":"file0"},{"photo_id":"1351390135","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351390275":["hashtag1","hashtag2"]},{"1351390116":["hashtag1","hashtag2"]},{"1351390154":["hashtag1","hashtag2"]},{"1351390130":["hashtag1","hashtag2"]},{"1351390135":["hashtag1","hashtag2"]},{"1351390120":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351390275, 1351390116, 1351390154, 1351390130, 1351390135, 1351390120)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.40607047080994 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 01:19:33.023743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/17/04/image_06042025_17_04_16_10430.jpg', '/home/pi/Desktop/images/06042025/17/04/image_06042025_17_04_27_10358.jpg', '/home/pi/Desktop/images/06042025/17/04/image_06042025_17_04_36_9413.jpg', '/home/pi/Desktop/images/06042025/17/04/image_06042025_17_05_06_10364.jpg', '/home/pi/Desktop/images/06042025/17/05/image_06042025_17_05_16_10351.jpg', '/home/pi/Desktop/images/06042025/17/05/image_06042025_17_05_26_9364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/17/04/image_06042025_17_04_16_10430.jpg
/home/pi/Desktop/images/06042025/17/04/image_06042025_17_04_27_10358.jpg
/home/pi/Desktop/images/06042025/17/04/image_06042025_17_04_36_9413.jpg
/home/pi/Desktop/images/06042025/17/04/image_06042025_17_05_06_10364.jpg
/home/pi/Desktop/images/06042025/17/05/image_06042025_17_05_16_10351.jpg
/home/pi/Desktop/images/06042025/17/05/image_06042025_17_05_26_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":["1351390653","1351390565","1351390523","1351390534","1351390615","1351390485"],"photo_ids_order":["1351390485","1351390523","1351390534","1351390565","1351390615","1351390653"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/35d50fc4a707a86ca51dd1f7abc63def.jpg","text":"TemporaryFile(/tmp/multipartBody5688185870106911284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327234720,"filename":"image_06042025_17_05_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/11/7d6ac61cf5ae714fef036a0e9b981b5d.jpg","text":"TemporaryFile(/tmp/multipartBody4025457480985212869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327234720,"filename":"image_06042025_17_05_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/11/2d598278990814647a86815f46620ca4.jpg","text":"TemporaryFile(/tmp/multipartBody5229035604542270918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327234720,"filename":"image_06042025_17_04_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/11/4be7a9644c2c2772d06365db83ece865.jpg","text":"TemporaryFile(/tmp/multipartBody7054307413395545349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327234720,"filename":"image_06042025_17_04_36_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9215dd1fa78b651d58f5adb189cf3b2a.jpg","text":"TemporaryFile(/tmp/multipartBody6592659623042678254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327234720,"filename":"image_06042025_17_05_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/11/cb3678c12f9e4e83ad2525826d442263.jpg","text":"TemporaryFile(/tmp/multipartBody7989329856637068955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327234720,"filename":"image_06042025_17_04_16_10430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351390534","file1":"1351390523","file0":"1351390485","file4":"1351390615","file5":"1351390653","file3":"1351390565"},"map_files_photo_id_array":[{"photo_id":"1351390653","filename":"file5"},{"photo_id":"1351390534","filename":"file2"},{"photo_id":"1351390615","filename":"file4"},{"photo_id":"1351390523","filename":"file1"},{"photo_id":"1351390485","filename":"file0"},{"photo_id":"1351390565","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351390653":["hashtag1","hashtag2"]},{"1351390565":["hashtag1","hashtag2"]},{"1351390523":["hashtag1","hashtag2"]},{"1351390534":["hashtag1","hashtag2"]},{"1351390615":["hashtag1","hashtag2"]},{"1351390485":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351390653, 1351390565, 1351390523, 1351390534, 1351390615, 1351390485)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.74519181251526 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 01:20:33.028257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/17/05/image_06042025_17_05_47_10361.jpg', '/home/pi/Desktop/images/06042025/17/05/image_06042025_17_05_56_9344.jpg', '/home/pi/Desktop/images/06042025/17/05/image_06042025_17_06_06_10369.jpg', '/home/pi/Desktop/images/06042025/17/06/image_06042025_17_06_17_10399.jpg', '/home/pi/Desktop/images/06042025/17/06/image_06042025_17_06_36_10365.jpg', '/home/pi/Desktop/images/06042025/17/06/image_06042025_17_06_56_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/17/05/image_06042025_17_05_47_10361.jpg
/home/pi/Desktop/images/06042025/17/05/image_06042025_17_05_56_9344.jpg
/home/pi/Desktop/images/06042025/17/05/image_06042025_17_06_06_10369.jpg
/home/pi/Desktop/images/06042025/17/06/image_06042025_17_06_17_10399.jpg
/home/pi/Desktop/images/06042025/17/06/image_06042025_17_06_36_10365.jpg
/home/pi/Desktop/images/06042025/17/06/image_06042025_17_06_56_10361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351391301","1351391378","1351391237","1351391309","1351390897","1351391187"],"photo_ids_order":["1351390897","1351391187","1351391237","1351391301","1351391309","1351391378"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6028a21f350782e937460b37d72bdbb9.jpg","text":"TemporaryFile(/tmp/multipartBody1475049623590496201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327294725,"filename":"image_06042025_17_06_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/11/184789b393e11fa52853105974b95f6d.jpg","text":"TemporaryFile(/tmp/multipartBody2877906231304134231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327294725,"filename":"image_06042025_17_06_56_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/659c09bc2af611448a2e041dec05c2db.jpg","text":"TemporaryFile(/tmp/multipartBody9218300173304920346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327294725,"filename":"image_06042025_17_06_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/11/0eacdb03e0a75da0572881b7af0233c3.jpg","text":"TemporaryFile(/tmp/multipartBody7445592192554642744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327294725,"filename":"image_06042025_17_06_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/11/993770582ff17195eae79aaa9e334be7.jpg","text":"TemporaryFile(/tmp/multipartBody1989001732358350820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327294725,"filename":"image_06042025_17_05_47_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2e550a7c4b121098b7c51c1d7776c3d5.jpg","text":"TemporaryFile(/tmp/multipartBody5313113725211618792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327294725,"filename":"image_06042025_17_05_56_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351391237","file1":"1351391187","file0":"1351390897","file4":"1351391309","file5":"1351391378","file3":"1351391301"},"map_files_photo_id_array":[{"photo_id":"1351391378","filename":"file5"},{"photo_id":"1351391237","filename":"file2"},{"photo_id":"1351391309","filename":"file4"},{"photo_id":"1351391187","filename":"file1"},{"photo_id":"1351390897","filename":"file0"},{"photo_id":"1351391301","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351391301":["hashtag1","hashtag2"]},{"1351391378":["hashtag1","hashtag2"]},{"1351391237":["hashtag1","hashtag2"]},{"1351391309":["hashtag1","hashtag2"]},{"1351390897":["hashtag1","hashtag2"]},{"1351391187":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351391301, 1351391378, 1351391237, 1351391309, 1351390897, 1351391187)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.97502994537354 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 01:21:42.268044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/17/06/image_06042025_17_07_07_10352.jpg', '/home/pi/Desktop/images/06042025/17/07/image_06042025_17_07_16_9336.jpg', '/home/pi/Desktop/images/06042025/17/07/image_06042025_17_07_37_10344.jpg', '/home/pi/Desktop/images/06042025/17/07/image_06042025_17_07_46_9410.jpg', '/home/pi/Desktop/images/06042025/17/07/image_06042025_17_07_57_10441.jpg', '/home/pi/Desktop/images/06042025/17/07/image_06042025_17_08_06_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/17/06/image_06042025_17_07_07_10352.jpg
/home/pi/Desktop/images/06042025/17/07/image_06042025_17_07_16_9336.jpg
/home/pi/Desktop/images/06042025/17/07/image_06042025_17_07_37_10344.jpg
/home/pi/Desktop/images/06042025/17/07/image_06042025_17_07_46_9410.jpg
/home/pi/Desktop/images/06042025/17/07/image_06042025_17_07_57_10441.jpg
/home/pi/Desktop/images/06042025/17/07/image_06042025_17_08_06_9349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351391492","1351391465","1351391489","1351391485","1351391500","1351391496"],"photo_ids_order":["1351391465","1351391485","1351391489","1351391492","1351391496","1351391500"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/99a73af5debf1c7577bbcb9aad0a92fe.jpg","text":"TemporaryFile(/tmp/multipartBody7514378479289080339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327363116,"filename":"image_06042025_17_07_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/11/080b0882415e173567d091073e74e911.jpg","text":"TemporaryFile(/tmp/multipartBody1528462191291606428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327363116,"filename":"image_06042025_17_07_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/11/402c31dd16681218fabf2cbe9546fbd1.jpg","text":"TemporaryFile(/tmp/multipartBody398307991619300038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327363116,"filename":"image_06042025_17_07_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/11/26cbb6ba207345039025cb1cd6a4c2e3.jpg","text":"TemporaryFile(/tmp/multipartBody5739906424815872267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327363116,"filename":"image_06042025_17_07_16_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5d3db6a0608e89eb547bebc78452efe2.jpg","text":"TemporaryFile(/tmp/multipartBody2012433756456276496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327363116,"filename":"image_06042025_17_08_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/11/cca34f8ef8d5e8493b9917013b5285d7.jpg","text":"TemporaryFile(/tmp/multipartBody1717378062687212645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327363116,"filename":"image_06042025_17_07_57_10441.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351391489","file1":"1351391485","file0":"1351391465","file4":"1351391496","file5":"1351391500","file3":"1351391492"},"map_files_photo_id_array":[{"photo_id":"1351391500","filename":"file5"},{"photo_id":"1351391489","filename":"file2"},{"photo_id":"1351391496","filename":"file4"},{"photo_id":"1351391485","filename":"file1"},{"photo_id":"1351391465","filename":"file0"},{"photo_id":"1351391492","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351391492":["hashtag1","hashtag2"]},{"1351391465":["hashtag1","hashtag2"]},{"1351391489":["hashtag1","hashtag2"]},{"1351391485":["hashtag1","hashtag2"]},{"1351391500":["hashtag1","hashtag2"]},{"1351391496":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351391492, 1351391465, 1351391489, 1351391485, 1351391500, 1351391496)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.37822461128235 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 01:22:32.399699
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/17/08/image_06042025_17_08_16_10420.jpg', '/home/pi/Desktop/images/06042025/17/08/image_06042025_17_08_27_10353.jpg', '/home/pi/Desktop/images/06042025/17/08/image_06042025_17_08_36_9502.jpg', '/home/pi/Desktop/images/06042025/17/08/image_06042025_17_08_47_10369.jpg', '/home/pi/Desktop/images/06042025/17/08/image_06042025_17_08_56_9381.jpg', '/home/pi/Desktop/images/06042025/17/08/image_06042025_17_09_06_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/17/08/image_06042025_17_08_16_10420.jpg
/home/pi/Desktop/images/06042025/17/08/image_06042025_17_08_27_10353.jpg
/home/pi/Desktop/images/06042025/17/08/image_06042025_17_08_36_9502.jpg
/home/pi/Desktop/images/06042025/17/08/image_06042025_17_08_47_10369.jpg
/home/pi/Desktop/images/06042025/17/08/image_06042025_17_08_56_9381.jpg
/home/pi/Desktop/images/06042025/17/08/image_06042025_17_09_06_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":["1351391561","1351391531","1351391575","1351391578","1351391566","1351391571"],"photo_ids_order":["1351391531","1351391561","1351391566","1351391571","1351391575","1351391578"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/854917a6e5d91ee398ebbf94f15f7d1e.jpg","text":"TemporaryFile(/tmp/multipartBody3978137080067456601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327414077,"filename":"image_06042025_17_08_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/11/a8ef8b564bad9ed3743b90981a7ef64b.jpg","text":"TemporaryFile(/tmp/multipartBody2014429973856683472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327414077,"filename":"image_06042025_17_08_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/11/9fa0a3c729ab64234af52026c05b9df6.jpg","text":"TemporaryFile(/tmp/multipartBody569687183434733753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327414077,"filename":"image_06042025_17_08_56_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/47eb141d6a8570b29a434c8bacbb4439.jpg","text":"TemporaryFile(/tmp/multipartBody2178070713667395913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327414077,"filename":"image_06042025_17_09_06_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ef39625164b66006ab462d0db1b998b9.jpg","text":"TemporaryFile(/tmp/multipartBody7172798686148612644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327414077,"filename":"image_06042025_17_08_36_9502.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8386adb50ce2de6db5cca05de3aa5b6d.jpg","text":"TemporaryFile(/tmp/multipartBody3709710663083071874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327414077,"filename":"image_06042025_17_08_47_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351391566","file1":"1351391561","file0":"1351391531","file4":"1351391575","file5":"1351391578","file3":"1351391571"},"map_files_photo_id_array":[{"photo_id":"1351391578","filename":"file5"},{"photo_id":"1351391566","filename":"file2"},{"photo_id":"1351391575","filename":"file4"},{"photo_id":"1351391561","filename":"file1"},{"photo_id":"1351391531","filename":"file0"},{"photo_id":"1351391571","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351391561":["hashtag1","hashtag2"]},{"1351391531":["hashtag1","hashtag2"]},{"1351391575":["hashtag1","hashtag2"]},{"1351391578":["hashtag1","hashtag2"]},{"1351391566":["hashtag1","hashtag2"]},{"1351391571":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351391561, 1351391531, 1351391575, 1351391578, 1351391566, 1351391571)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.764668226242065 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 01:23:32.650947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/17/09/image_06042025_17_09_36_10365.jpg', '/home/pi/Desktop/images/06042025/17/09/image_06042025_17_09_46_9353.jpg', '/home/pi/Desktop/images/06042025/17/09/image_06042025_17_10_06_10345.jpg', '/home/pi/Desktop/images/06042025/17/10/image_06042025_17_10_16_9360.jpg', '/home/pi/Desktop/images/06042025/17/10/image_06042025_17_10_26_10367.jpg', '/home/pi/Desktop/images/06042025/17/10/image_06042025_17_10_37_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/17/09/image_06042025_17_09_36_10365.jpg
/home/pi/Desktop/images/06042025/17/09/image_06042025_17_09_46_9353.jpg
/home/pi/Desktop/images/06042025/17/09/image_06042025_17_10_06_10345.jpg
/home/pi/Desktop/images/06042025/17/10/image_06042025_17_10_16_9360.jpg
/home/pi/Desktop/images/06042025/17/10/image_06042025_17_10_26_10367.jpg
/home/pi/Desktop/images/06042025/17/10/image_06042025_17_10_37_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":["1351391636","1351391618","1351391614","1351391664","1351391658","1351391646"],"photo_ids_order":["1351391614","1351391618","1351391636","1351391646","1351391658","1351391664"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/83aaec15dde61156d64f26ffdc5b026e.jpg","text":"TemporaryFile(/tmp/multipartBody7894824606290786071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327474329,"filename":"image_06042025_17_10_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/11/77f710e713e327ee9c759caa7b29d34b.jpg","text":"TemporaryFile(/tmp/multipartBody5106723958724971205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327474329,"filename":"image_06042025_17_09_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/11/9619da0c42b95cb12d798cbe9e7d2f29.jpg","text":"TemporaryFile(/tmp/multipartBody2942740444962730192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327474329,"filename":"image_06042025_17_09_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/11/015212d5b82df0a1bb9bca15dc8258f1.jpg","text":"TemporaryFile(/tmp/multipartBody228006464679194595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327474329,"filename":"image_06042025_17_10_37_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/add98bad5d7f4fa01b4f3dfc8edaf869.jpg","text":"TemporaryFile(/tmp/multipartBody6898708667859229579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327474329,"filename":"image_06042025_17_10_26_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a9bb382388e8f40190a76910bd280220.jpg","text":"TemporaryFile(/tmp/multipartBody508718279829022660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327474329,"filename":"image_06042025_17_10_16_9360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351391636","file1":"1351391618","file0":"1351391614","file4":"1351391658","file5":"1351391664","file3":"1351391646"},"map_files_photo_id_array":[{"photo_id":"1351391664","filename":"file5"},{"photo_id":"1351391636","filename":"file2"},{"photo_id":"1351391658","filename":"file4"},{"photo_id":"1351391618","filename":"file1"},{"photo_id":"1351391614","filename":"file0"},{"photo_id":"1351391646","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351391636":["hashtag1","hashtag2"]},{"1351391618":["hashtag1","hashtag2"]},{"1351391614":["hashtag1","hashtag2"]},{"1351391664":["hashtag1","hashtag2"]},{"1351391658":["hashtag1","hashtag2"]},{"1351391646":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351391636, 1351391618, 1351391614, 1351391664, 1351391658, 1351391646)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.587427377700806 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 01:24:32.841705
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/17/10/image_06042025_17_10_46_9395.jpg', '/home/pi/Desktop/images/06042025/17/10/image_06042025_17_10_56_10356.jpg', '/home/pi/Desktop/images/06042025/17/10/image_06042025_17_11_06_9375.jpg', '/home/pi/Desktop/images/06042025/17/11/image_06042025_17_11_16_10334.jpg', '/home/pi/Desktop/images/06042025/17/11/image_06042025_17_11_26_10381.jpg', '/home/pi/Desktop/images/06042025/17/11/image_06042025_17_11_36_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/17/10/image_06042025_17_10_46_9395.jpg
/home/pi/Desktop/images/06042025/17/10/image_06042025_17_10_56_10356.jpg
/home/pi/Desktop/images/06042025/17/10/image_06042025_17_11_06_9375.jpg
/home/pi/Desktop/images/06042025/17/11/image_06042025_17_11_16_10334.jpg
/home/pi/Desktop/images/06042025/17/11/image_06042025_17_11_26_10381.jpg
/home/pi/Desktop/images/06042025/17/11/image_06042025_17_11_36_9339.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351391735","1351391785","1351391788","1351391761","1351391698","1351391716"],"photo_ids_order":["1351391698","1351391716","1351391735","1351391761","1351391785","1351391788"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c3d74bf10a5a77052acf95ba15afdeb8.jpg","text":"TemporaryFile(/tmp/multipartBody139062182548729236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327534512,"filename":"image_06042025_17_11_06_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/16bea30ae547a16742dc4c35af4b5b58.jpg","text":"TemporaryFile(/tmp/multipartBody5733273244564069924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327534512,"filename":"image_06042025_17_11_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/11/9956848233dd1e4ace490d1525334d74.jpg","text":"TemporaryFile(/tmp/multipartBody3078082637778960164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327534512,"filename":"image_06042025_17_11_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/11/001cf9171e34f7462d7fa491450b0b7c.jpg","text":"TemporaryFile(/tmp/multipartBody3528030364853926623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327534512,"filename":"image_06042025_17_11_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/11/5814671ce50ece2395e25654634ef708.jpg","text":"TemporaryFile(/tmp/multipartBody2592743530699569483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327534512,"filename":"image_06042025_17_10_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/11/657cc48e67083d816782aef2aea67845.jpg","text":"TemporaryFile(/tmp/multipartBody4279080703835267826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327534512,"filename":"image_06042025_17_10_56_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351391735","file1":"1351391716","file0":"1351391698","file4":"1351391785","file5":"1351391788","file3":"1351391761"},"map_files_photo_id_array":[{"photo_id":"1351391788","filename":"file5"},{"photo_id":"1351391735","filename":"file2"},{"photo_id":"1351391785","filename":"file4"},{"photo_id":"1351391716","filename":"file1"},{"photo_id":"1351391698","filename":"file0"},{"photo_id":"1351391761","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351391735":["hashtag1","hashtag2"]},{"1351391785":["hashtag1","hashtag2"]},{"1351391788":["hashtag1","hashtag2"]},{"1351391761":["hashtag1","hashtag2"]},{"1351391698":["hashtag1","hashtag2"]},{"1351391716":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351391735, 1351391785, 1351391788, 1351391761, 1351391698, 1351391716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.628856897354126 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 01:25:33.053259
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/17/11/image_06042025_17_11_46_10412.jpg', '/home/pi/Desktop/images/06042025/17/11/image_06042025_17_11_57_10357.jpg', '/home/pi/Desktop/images/06042025/17/11/image_06042025_17_12_06_9406.jpg', '/home/pi/Desktop/images/06042025/17/12/image_06042025_17_12_16_10360.jpg', '/home/pi/Desktop/images/06042025/17/12/image_06042025_17_12_27_10352.jpg', '/home/pi/Desktop/images/06042025/17/12/image_06042025_17_12_36_9453.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/17/11/image_06042025_17_11_46_10412.jpg
/home/pi/Desktop/images/06042025/17/11/image_06042025_17_11_57_10357.jpg
/home/pi/Desktop/images/06042025/17/11/image_06042025_17_12_06_9406.jpg
/home/pi/Desktop/images/06042025/17/12/image_06042025_17_12_16_10360.jpg
/home/pi/Desktop/images/06042025/17/12/image_06042025_17_12_27_10352.jpg
/home/pi/Desktop/images/06042025/17/12/image_06042025_17_12_36_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":["1351391930","1351391935","1351391938","1351391926","1351391835","1351391943"],"photo_ids_order":["1351391835","1351391926","1351391930","1351391935","1351391938","1351391943"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/448c3f5ccdbf09ad4eb4831ce12c7a51.jpg","text":"TemporaryFile(/tmp/multipartBody6364122219774488109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327594724,"filename":"image_06042025_17_12_06_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a292accb7822128edf87f39d7fbb10da.jpg","text":"TemporaryFile(/tmp/multipartBody2303014690338681285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327594724,"filename":"image_06042025_17_12_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/11/c0d3a54e08936dca24a94068a1432ed5.jpg","text":"TemporaryFile(/tmp/multipartBody8367931747822778855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327594724,"filename":"image_06042025_17_12_27_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e7e4c84a3e521dc7f4bc2ceeef5e6bc0.jpg","text":"TemporaryFile(/tmp/multipartBody9002752042083938200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327594724,"filename":"image_06042025_17_11_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/11/d9be53560fd0141886395237c8a3cd0e.jpg","text":"TemporaryFile(/tmp/multipartBody6801151489097355914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327594724,"filename":"image_06042025_17_11_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/11/ff47b3f4733099a7131934233df28c53.jpg","text":"TemporaryFile(/tmp/multipartBody4703214860173982603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327594724,"filename":"image_06042025_17_12_36_9453.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351391930","file1":"1351391926","file0":"1351391835","file4":"1351391938","file5":"1351391943","file3":"1351391935"},"map_files_photo_id_array":[{"photo_id":"1351391943","filename":"file5"},{"photo_id":"1351391930","filename":"file2"},{"photo_id":"1351391938","filename":"file4"},{"photo_id":"1351391926","filename":"file1"},{"photo_id":"1351391835","filename":"file0"},{"photo_id":"1351391935","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351391930":["hashtag1","hashtag2"]},{"1351391935":["hashtag1","hashtag2"]},{"1351391938":["hashtag1","hashtag2"]},{"1351391926":["hashtag1","hashtag2"]},{"1351391835":["hashtag1","hashtag2"]},{"1351391943":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351391930, 1351391935, 1351391938, 1351391926, 1351391835, 1351391943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.38683009147644 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 01:26:32.245144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/17/12/image_06042025_17_12_46_10349.jpg', '/home/pi/Desktop/images/06042025/17/12/image_06042025_17_12_56_9388.jpg', '/home/pi/Desktop/images/06042025/17/12/image_06042025_17_13_06_10380.jpg', '/home/pi/Desktop/images/06042025/17/13/image_06042025_17_13_17_10359.jpg', '/home/pi/Desktop/images/06042025/17/13/image_06042025_17_13_26_9397.jpg', '/home/pi/Desktop/images/06042025/17/13/image_06042025_17_13_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/17/12/image_06042025_17_12_46_10349.jpg
/home/pi/Desktop/images/06042025/17/12/image_06042025_17_12_56_9388.jpg
/home/pi/Desktop/images/06042025/17/12/image_06042025_17_13_06_10380.jpg
/home/pi/Desktop/images/06042025/17/13/image_06042025_17_13_17_10359.jpg
/home/pi/Desktop/images/06042025/17/13/image_06042025_17_13_26_9397.jpg
/home/pi/Desktop/images/06042025/17/13/image_06042025_17_13_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":["1351392032","1351392051","1351392009","1351392000","1351392191","1351391999"],"photo_ids_order":["1351391999","1351392000","1351392009","1351392032","1351392051","1351392191"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/abb80066093321d74eb137b95bfb2685.jpg","text":"TemporaryFile(/tmp/multipartBody2729726961674383932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327653946,"filename":"image_06042025_17_13_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/11/fc844abca843ee8faa09ffa5a871553b.jpg","text":"TemporaryFile(/tmp/multipartBody638679716191708771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327653946,"filename":"image_06042025_17_13_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/11/f8144662f3756a3bf3b03837b18f4045.jpg","text":"TemporaryFile(/tmp/multipartBody5484423401331064687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327653946,"filename":"image_06042025_17_13_06_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a5b0446c34e1c252667e7bc785770069.jpg","text":"TemporaryFile(/tmp/multipartBody3866702958807541239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327653946,"filename":"image_06042025_17_12_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/11/6ff1fd60feac1be64d9ecbd2cdacf9fc.jpg","text":"TemporaryFile(/tmp/multipartBody1098776261012769325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327653946,"filename":"image_06042025_17_13_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/11/6e5e27f2dc5ae7b91fd7cbf075e35faa.jpg","text":"TemporaryFile(/tmp/multipartBody7336263927137260125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327653946,"filename":"image_06042025_17_12_46_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351392009","file1":"1351392000","file0":"1351391999","file4":"1351392051","file5":"1351392191","file3":"1351392032"},"map_files_photo_id_array":[{"photo_id":"1351392191","filename":"file5"},{"photo_id":"1351392009","filename":"file2"},{"photo_id":"1351392051","filename":"file4"},{"photo_id":"1351392000","filename":"file1"},{"photo_id":"1351391999","filename":"file0"},{"photo_id":"1351392032","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351392032":["hashtag1","hashtag2"]},{"1351392051":["hashtag1","hashtag2"]},{"1351392009":["hashtag1","hashtag2"]},{"1351392000":["hashtag1","hashtag2"]},{"1351392191":["hashtag1","hashtag2"]},{"1351391999":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351392032, 1351392051, 1351392009, 1351392000, 1351392191, 1351391999)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.08597922325134 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 01:27:32.464922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/17/13/image_06042025_17_13_46_9352.jpg', '/home/pi/Desktop/images/06042025/17/13/image_06042025_17_13_56_10361.jpg', '/home/pi/Desktop/images/06042025/17/13/image_06042025_17_14_06_10381.jpg', '/home/pi/Desktop/images/06042025/17/14/image_06042025_17_14_16_9353.jpg', '/home/pi/Desktop/images/06042025/17/14/image_06042025_17_14_37_10367.jpg', '/home/pi/Desktop/images/06042025/17/14/image_06042025_17_14_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/17/13/image_06042025_17_13_46_9352.jpg
/home/pi/Desktop/images/06042025/17/13/image_06042025_17_13_56_10361.jpg
/home/pi/Desktop/images/06042025/17/13/image_06042025_17_14_06_10381.jpg
/home/pi/Desktop/images/06042025/17/14/image_06042025_17_14_16_9353.jpg
/home/pi/Desktop/images/06042025/17/14/image_06042025_17_14_37_10367.jpg
/home/pi/Desktop/images/06042025/17/14/image_06042025_17_14_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":["1351392821","1351393153","1351393309","1351393250","1351393367","1351392980"],"photo_ids_order":["1351392821","1351392980","1351393153","1351393250","1351393309","1351393367"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/68d00018ee9b8976580d4bbd8f7e7dfb.jpg","text":"TemporaryFile(/tmp/multipartBody2266417270947574253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327714142,"filename":"image_06042025_17_13_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/11/1f9f76cfd11c616978f7f5c64e593262.jpg","text":"TemporaryFile(/tmp/multipartBody2174416812267531112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327714142,"filename":"image_06042025_17_14_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/11/76236e2774426a0d4940802a70a0d243.jpg","text":"TemporaryFile(/tmp/multipartBody4686261600092537284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327714142,"filename":"image_06042025_17_14_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/11/6b35ecba5cea32a9cd3e24854479d5aa.jpg","text":"TemporaryFile(/tmp/multipartBody8186797942487344613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327714142,"filename":"image_06042025_17_14_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/11/f0553657e3b5f39ce3b21d565fc082a0.jpg","text":"TemporaryFile(/tmp/multipartBody8967564239560468357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327714142,"filename":"image_06042025_17_14_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/11/0b2c5e2b02ff641924331b7dff864a30.jpg","text":"TemporaryFile(/tmp/multipartBody8992881135624640356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327714142,"filename":"image_06042025_17_13_56_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351393153","file1":"1351392980","file0":"1351392821","file4":"1351393309","file5":"1351393367","file3":"1351393250"},"map_files_photo_id_array":[{"photo_id":"1351393367","filename":"file5"},{"photo_id":"1351393153","filename":"file2"},{"photo_id":"1351393309","filename":"file4"},{"photo_id":"1351392980","filename":"file1"},{"photo_id":"1351392821","filename":"file0"},{"photo_id":"1351393250","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351392821":["hashtag1","hashtag2"]},{"1351393153":["hashtag1","hashtag2"]},{"1351393309":["hashtag1","hashtag2"]},{"1351393250":["hashtag1","hashtag2"]},{"1351393367":["hashtag1","hashtag2"]},{"1351392980":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351392821, 1351393153, 1351393309, 1351393250, 1351393367, 1351392980)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.84254336357117 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 01:28:32.746706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/17/14/image_06042025_17_14_56_10355.jpg', '/home/pi/Desktop/images/06042025/17/14/image_06042025_17_15_06_9351.jpg', '/home/pi/Desktop/images/06042025/17/15/image_06042025_17_15_16_10404.jpg', '/home/pi/Desktop/images/06042025/17/15/image_06042025_17_15_27_10419.jpg', '/home/pi/Desktop/images/06042025/17/15/image_06042025_17_15_36_9352.jpg', '/home/pi/Desktop/images/06042025/17/15/image_06042025_17_15_46_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/17/14/image_06042025_17_14_56_10355.jpg
/home/pi/Desktop/images/06042025/17/14/image_06042025_17_15_06_9351.jpg
/home/pi/Desktop/images/06042025/17/15/image_06042025_17_15_16_10404.jpg
/home/pi/Desktop/images/06042025/17/15/image_06042025_17_15_27_10419.jpg
/home/pi/Desktop/images/06042025/17/15/image_06042025_17_15_36_9352.jpg
/home/pi/Desktop/images/06042025/17/15/image_06042025_17_15_46_10354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351393904","1351393705","1351393683","1351393754","1351393661","1351393718"],"photo_ids_order":["1351393661","1351393683","1351393705","1351393718","1351393754","1351393904"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f0675aeae7a67cbcbcb6bc3a22463875.jpg","text":"TemporaryFile(/tmp/multipartBody6196248325608729066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327774425,"filename":"image_06042025_17_15_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/11/88dd4c8e1a995f9a40b29ef360633650.jpg","text":"TemporaryFile(/tmp/multipartBody7185873673030585836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327774425,"filename":"image_06042025_17_15_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/11/9b34e99861144e7093312fdc2423b757.jpg","text":"TemporaryFile(/tmp/multipartBody4858101010002020288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327774425,"filename":"image_06042025_17_15_06_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/db8aea473abdb85865b6642be5ad5b67.jpg","text":"TemporaryFile(/tmp/multipartBody5399261355522932012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327774425,"filename":"image_06042025_17_15_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/11/f4465da6d53d220d45928ca5e3309389.jpg","text":"TemporaryFile(/tmp/multipartBody5133330163953669838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327774425,"filename":"image_06042025_17_14_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/11/20d237675ee2d959f517e9559fff5970.jpg","text":"TemporaryFile(/tmp/multipartBody3262028713939606309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327774425,"filename":"image_06042025_17_15_27_10419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351393705","file1":"1351393683","file0":"1351393661","file4":"1351393754","file5":"1351393904","file3":"1351393718"},"map_files_photo_id_array":[{"photo_id":"1351393904","filename":"file5"},{"photo_id":"1351393705","filename":"file2"},{"photo_id":"1351393754","filename":"file4"},{"photo_id":"1351393683","filename":"file1"},{"photo_id":"1351393661","filename":"file0"},{"photo_id":"1351393718","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351393904":["hashtag1","hashtag2"]},{"1351393705":["hashtag1","hashtag2"]},{"1351393683":["hashtag1","hashtag2"]},{"1351393754":["hashtag1","hashtag2"]},{"1351393661":["hashtag1","hashtag2"]},{"1351393718":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351393904, 1351393705, 1351393683, 1351393754, 1351393661, 1351393718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.144253730773926 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 01:29:32.854676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/17/15/image_06042025_17_15_57_10364.jpg', '/home/pi/Desktop/images/06042025/17/15/image_06042025_17_16_06_9450.jpg', '/home/pi/Desktop/images/06042025/17/16/image_06042025_17_16_16_10355.jpg', '/home/pi/Desktop/images/06042025/17/16/image_06042025_17_16_26_9346.jpg', '/home/pi/Desktop/images/06042025/17/16/image_06042025_17_16_36_10432.jpg', '/home/pi/Desktop/images/06042025/17/16/image_06042025_17_16_47_10342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/17/15/image_06042025_17_15_57_10364.jpg
/home/pi/Desktop/images/06042025/17/15/image_06042025_17_16_06_9450.jpg
/home/pi/Desktop/images/06042025/17/16/image_06042025_17_16_16_10355.jpg
/home/pi/Desktop/images/06042025/17/16/image_06042025_17_16_26_9346.jpg
/home/pi/Desktop/images/06042025/17/16/image_06042025_17_16_36_10432.jpg
/home/pi/Desktop/images/06042025/17/16/image_06042025_17_16_47_10342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351394134","1351394065","1351394205","1351394112","1351394156","1351394086"],"photo_ids_order":["1351394065","1351394086","1351394112","1351394134","1351394156","1351394205"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2b6b9b627025e66fb2bef63b1ab37803.jpg","text":"TemporaryFile(/tmp/multipartBody5681000645871793759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327834529,"filename":"image_06042025_17_16_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/11/8c101ea994104b92764bed37649c5f2f.jpg","text":"TemporaryFile(/tmp/multipartBody3360564973351954705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327834529,"filename":"image_06042025_17_15_57_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8cd8a908274696c4b43a13207862c4ae.jpg","text":"TemporaryFile(/tmp/multipartBody8310877104020595813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327834529,"filename":"image_06042025_17_16_47_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/94e8da16e1655747d761d50a301b441c.jpg","text":"TemporaryFile(/tmp/multipartBody8935353834262503553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327834529,"filename":"image_06042025_17_16_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/11/868aa85b05c6487fe93c2f911d5d8e07.jpg","text":"TemporaryFile(/tmp/multipartBody6996276730706906854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327834529,"filename":"image_06042025_17_16_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/11/f540a2d55169f44e8cd0634f63c142b7.jpg","text":"TemporaryFile(/tmp/multipartBody2990099155303403415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327834529,"filename":"image_06042025_17_16_06_9450.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351394112","file1":"1351394086","file0":"1351394065","file4":"1351394156","file5":"1351394205","file3":"1351394134"},"map_files_photo_id_array":[{"photo_id":"1351394205","filename":"file5"},{"photo_id":"1351394112","filename":"file2"},{"photo_id":"1351394156","filename":"file4"},{"photo_id":"1351394086","filename":"file1"},{"photo_id":"1351394065","filename":"file0"},{"photo_id":"1351394134","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351394134":["hashtag1","hashtag2"]},{"1351394065":["hashtag1","hashtag2"]},{"1351394205":["hashtag1","hashtag2"]},{"1351394112":["hashtag1","hashtag2"]},{"1351394156":["hashtag1","hashtag2"]},{"1351394086":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351394134, 1351394065, 1351394205, 1351394112, 1351394156, 1351394086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.59984636306763 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 01:30:33.177963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/17/16/image_06042025_17_16_56_9345.jpg', '/home/pi/Desktop/images/06042025/17/16/image_06042025_17_17_06_10342.jpg', '/home/pi/Desktop/images/06042025/17/17/image_06042025_17_17_17_10431.jpg', '/home/pi/Desktop/images/06042025/17/17/image_06042025_17_17_36_10343.jpg', '/home/pi/Desktop/images/06042025/17/17/image_06042025_17_17_46_9379.jpg', '/home/pi/Desktop/images/06042025/17/17/image_06042025_17_18_07_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/17/16/image_06042025_17_16_56_9345.jpg
/home/pi/Desktop/images/06042025/17/16/image_06042025_17_17_06_10342.jpg
/home/pi/Desktop/images/06042025/17/17/image_06042025_17_17_17_10431.jpg
/home/pi/Desktop/images/06042025/17/17/image_06042025_17_17_36_10343.jpg
/home/pi/Desktop/images/06042025/17/17/image_06042025_17_17_46_9379.jpg
/home/pi/Desktop/images/06042025/17/17/image_06042025_17_18_07_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":["1351394410","1351394355","1351394385","1351394418","1351394415","1351394405"],"photo_ids_order":["1351394355","1351394385","1351394405","1351394410","1351394415","1351394418"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9dec30de064c1c00cc9a22b2cd64268a.jpg","text":"TemporaryFile(/tmp/multipartBody6784564218913186263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327894848,"filename":"image_06042025_17_17_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/11/fcb998b2ca97ae81816e10d876afc746.jpg","text":"TemporaryFile(/tmp/multipartBody2728707359682441518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327894848,"filename":"image_06042025_17_16_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/11/81a9499e3ad1ecfb584964fe848ab7fe.jpg","text":"TemporaryFile(/tmp/multipartBody4745330026354690209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327894848,"filename":"image_06042025_17_17_06_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/894e4a77596e6ec69a7908bb52eeae2d.jpg","text":"TemporaryFile(/tmp/multipartBody1191590607458858100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327894848,"filename":"image_06042025_17_18_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/11/96384ea111f21bdce367e0cad272a125.jpg","text":"TemporaryFile(/tmp/multipartBody5201236078526500094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327894848,"filename":"image_06042025_17_17_46_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/77fbdaeac4605cf78f9567389475d1aa.jpg","text":"TemporaryFile(/tmp/multipartBody6760766318753657530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327894848,"filename":"image_06042025_17_17_17_10431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351394405","file1":"1351394385","file0":"1351394355","file4":"1351394415","file5":"1351394418","file3":"1351394410"},"map_files_photo_id_array":[{"photo_id":"1351394418","filename":"file5"},{"photo_id":"1351394405","filename":"file2"},{"photo_id":"1351394415","filename":"file4"},{"photo_id":"1351394385","filename":"file1"},{"photo_id":"1351394355","filename":"file0"},{"photo_id":"1351394410","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351394410":["hashtag1","hashtag2"]},{"1351394355":["hashtag1","hashtag2"]},{"1351394385":["hashtag1","hashtag2"]},{"1351394418":["hashtag1","hashtag2"]},{"1351394415":["hashtag1","hashtag2"]},{"1351394405":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351394410, 1351394355, 1351394385, 1351394418, 1351394415, 1351394405)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.846187353134155 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 01:31:32.275044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/17/18/image_06042025_17_18_26_10363.jpg', '/home/pi/Desktop/images/06042025/17/18/image_06042025_17_18_36_9338.jpg', '/home/pi/Desktop/images/06042025/17/18/image_06042025_17_18_46_10465.jpg', '/home/pi/Desktop/images/06042025/17/18/image_06042025_17_18_57_10353.jpg', '/home/pi/Desktop/images/06042025/17/18/image_06042025_17_19_06_9429.jpg', '/home/pi/Desktop/images/06042025/17/19/image_06042025_17_19_16_10349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/17/18/image_06042025_17_18_26_10363.jpg
/home/pi/Desktop/images/06042025/17/18/image_06042025_17_18_36_9338.jpg
/home/pi/Desktop/images/06042025/17/18/image_06042025_17_18_46_10465.jpg
/home/pi/Desktop/images/06042025/17/18/image_06042025_17_18_57_10353.jpg
/home/pi/Desktop/images/06042025/17/18/image_06042025_17_19_06_9429.jpg
/home/pi/Desktop/images/06042025/17/19/image_06042025_17_19_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":["1351394650","1351394752","1351394682","1351394783","1351394813","1351394584"],"photo_ids_order":["1351394584","1351394650","1351394682","1351394752","1351394783","1351394813"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/96561bb14d81b8c791c170cb6f633c58.jpg","text":"TemporaryFile(/tmp/multipartBody3367526013468163858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327953951,"filename":"image_06042025_17_18_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/11/c7891b8ecb65bbb5f110c0227fce4bce.jpg","text":"TemporaryFile(/tmp/multipartBody2197199897594240335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327953951,"filename":"image_06042025_17_18_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/11/7297a4dcfd84c323ff7e0ec6ee9e212a.jpg","text":"TemporaryFile(/tmp/multipartBody2741502038766474271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327953951,"filename":"image_06042025_17_18_46_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/af8ed54a4e086ad16aeb7b36204824ae.jpg","text":"TemporaryFile(/tmp/multipartBody8971426878061494932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327953951,"filename":"image_06042025_17_19_06_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/11/0f296f84311298245fecb9b4070efe5a.jpg","text":"TemporaryFile(/tmp/multipartBody9050216198001337214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327953951,"filename":"image_06042025_17_19_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/11/4cc4bfbe2fadf26d9e012fbfeb98cf46.jpg","text":"TemporaryFile(/tmp/multipartBody8236118624335954918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744327953951,"filename":"image_06042025_17_18_26_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351394682","file1":"1351394650","file0":"1351394584","file4":"1351394783","file5":"1351394813","file3":"1351394752"},"map_files_photo_id_array":[{"photo_id":"1351394813","filename":"file5"},{"photo_id":"1351394682","filename":"file2"},{"photo_id":"1351394783","filename":"file4"},{"photo_id":"1351394650","filename":"file1"},{"photo_id":"1351394584","filename":"file0"},{"photo_id":"1351394752","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351394650":["hashtag1","hashtag2"]},{"1351394752":["hashtag1","hashtag2"]},{"1351394682":["hashtag1","hashtag2"]},{"1351394783":["hashtag1","hashtag2"]},{"1351394813":["hashtag1","hashtag2"]},{"1351394584":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351394650, 1351394752, 1351394682, 1351394783, 1351394813, 1351394584)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.398786306381226 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 01:32:32.383942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/17/19/image_06042025_17_19_26_9346.jpg', '/home/pi/Desktop/images/06042025/17/19/image_06042025_17_19_36_10458.jpg', '/home/pi/Desktop/images/06042025/17/19/image_06042025_17_19_47_10351.jpg', '/home/pi/Desktop/images/06042025/17/19/image_06042025_17_20_06_10452.jpg', '/home/pi/Desktop/images/06042025/17/20/image_06042025_17_20_26_9449.jpg', '/home/pi/Desktop/images/06042025/17/20/image_06042025_17_20_37_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/17/19/image_06042025_17_19_26_9346.jpg
/home/pi/Desktop/images/06042025/17/19/image_06042025_17_19_36_10458.jpg
/home/pi/Desktop/images/06042025/17/19/image_06042025_17_19_47_10351.jpg
/home/pi/Desktop/images/06042025/17/19/image_06042025_17_20_06_10452.jpg
/home/pi/Desktop/images/06042025/17/20/image_06042025_17_20_26_9449.jpg
/home/pi/Desktop/images/06042025/17/20/image_06042025_17_20_37_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":["1351394944","1351395006","1351394991","1351394927","1351394968","1351394947"],"photo_ids_order":["1351394927","1351394944","1351394947","1351394968","1351394991","1351395006"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8339f16d13911c5ab4d4798500f1f32e.jpg","text":"TemporaryFile(/tmp/multipartBody1233121004594289352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328014039,"filename":"image_06042025_17_19_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/11/b1e8bce4c04fcfbc621012daf2fc164b.jpg","text":"TemporaryFile(/tmp/multipartBody7325574758406888787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328014039,"filename":"image_06042025_17_20_37_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a5b42b09f584c5b42d2fa31392cd423e.jpg","text":"TemporaryFile(/tmp/multipartBody5431077854804869784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328014039,"filename":"image_06042025_17_20_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/11/26f956e7f5f22e32c586a3f1384c02c3.jpg","text":"TemporaryFile(/tmp/multipartBody1899301829060475135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328014039,"filename":"image_06042025_17_19_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/11/1d36c44b4bd3c7ba38ebbf33539e2c0b.jpg","text":"TemporaryFile(/tmp/multipartBody4125710269691573853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328014039,"filename":"image_06042025_17_20_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/11/1abd62f7fd76dc68cef61035e541e5f0.jpg","text":"TemporaryFile(/tmp/multipartBody477845314152618929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328014039,"filename":"image_06042025_17_19_47_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351394947","file1":"1351394944","file0":"1351394927","file4":"1351394991","file5":"1351395006","file3":"1351394968"},"map_files_photo_id_array":[{"photo_id":"1351395006","filename":"file5"},{"photo_id":"1351394947","filename":"file2"},{"photo_id":"1351394991","filename":"file4"},{"photo_id":"1351394944","filename":"file1"},{"photo_id":"1351394927","filename":"file0"},{"photo_id":"1351394968","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351394944":["hashtag1","hashtag2"]},{"1351395006":["hashtag1","hashtag2"]},{"1351394991":["hashtag1","hashtag2"]},{"1351394927":["hashtag1","hashtag2"]},{"1351394968":["hashtag1","hashtag2"]},{"1351394947":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351394944, 1351395006, 1351394991, 1351394927, 1351394968, 1351394947)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.784605741500854 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 01:33:32.569058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/17/20/image_06042025_17_20_46_9441.jpg', '/home/pi/Desktop/images/06042025/17/20/image_06042025_17_20_56_10358.jpg', '/home/pi/Desktop/images/06042025/17/21/image_06042025_17_21_36_9424.jpg', '/home/pi/Desktop/images/06042025/17/21/image_06042025_17_21_46_10373.jpg', '/home/pi/Desktop/images/06042025/17/24/image_06042025_17_24_27_10352.jpg', '/home/pi/Desktop/images/06042025/17/24/image_06042025_17_24_46_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/17/20/image_06042025_17_20_46_9441.jpg
/home/pi/Desktop/images/06042025/17/20/image_06042025_17_20_56_10358.jpg
/home/pi/Desktop/images/06042025/17/21/image_06042025_17_21_36_9424.jpg
/home/pi/Desktop/images/06042025/17/21/image_06042025_17_21_46_10373.jpg
/home/pi/Desktop/images/06042025/17/24/image_06042025_17_24_27_10352.jpg
/home/pi/Desktop/images/06042025/17/24/image_06042025_17_24_46_10365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351395051","1351395039","1351395054","1351395047","1351395046","1351395043"],"photo_ids_order":["1351395039","1351395043","1351395046","1351395047","1351395051","1351395054"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/fd768b5427a9127058e17c6fbca67d25.jpg","text":"TemporaryFile(/tmp/multipartBody421955337806422087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328074236,"filename":"image_06042025_17_24_27_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/63e3480110f6fe6c8b23b0270e203755.jpg","text":"TemporaryFile(/tmp/multipartBody8236901610085432593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328074236,"filename":"image_06042025_17_20_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/11/af6551b3a3bdcdfa83ebc5ea6192fe78.jpg","text":"TemporaryFile(/tmp/multipartBody7090171468581780118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328074236,"filename":"image_06042025_17_24_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/11/1a934054d3843d53f0e8cf3cbd058ea1.jpg","text":"TemporaryFile(/tmp/multipartBody6247287533444695138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328074236,"filename":"image_06042025_17_21_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/11/ea7c056a454305877075220a906580e7.jpg","text":"TemporaryFile(/tmp/multipartBody4711558548581986058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328074236,"filename":"image_06042025_17_21_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/11/9d3f77453c86b4aed027e5b42e13d22b.jpg","text":"TemporaryFile(/tmp/multipartBody4289693060054651239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328074236,"filename":"image_06042025_17_20_56_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351395046","file1":"1351395043","file0":"1351395039","file4":"1351395051","file5":"1351395054","file3":"1351395047"},"map_files_photo_id_array":[{"photo_id":"1351395054","filename":"file5"},{"photo_id":"1351395046","filename":"file2"},{"photo_id":"1351395051","filename":"file4"},{"photo_id":"1351395043","filename":"file1"},{"photo_id":"1351395039","filename":"file0"},{"photo_id":"1351395047","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351395051":["hashtag1","hashtag2"]},{"1351395039":["hashtag1","hashtag2"]},{"1351395054":["hashtag1","hashtag2"]},{"1351395047":["hashtag1","hashtag2"]},{"1351395046":["hashtag1","hashtag2"]},{"1351395043":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351395051, 1351395039, 1351395054, 1351395047, 1351395046, 1351395043)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.22302222251892 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 01:34:32.794586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/17/25/image_06042025_17_25_17_10337.jpg', '/home/pi/Desktop/images/06042025/17/25/image_06042025_17_25_26_9471.jpg', '/home/pi/Desktop/images/06042025/17/25/image_06042025_17_25_36_10380.jpg', '/home/pi/Desktop/images/06042025/17/25/image_06042025_17_25_46_9348.jpg', '/home/pi/Desktop/images/06042025/17/25/image_06042025_17_25_56_10368.jpg', '/home/pi/Desktop/images/06042025/17/25/image_06042025_17_26_06_10323.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/17/25/image_06042025_17_25_17_10337.jpg
/home/pi/Desktop/images/06042025/17/25/image_06042025_17_25_26_9471.jpg
/home/pi/Desktop/images/06042025/17/25/image_06042025_17_25_36_10380.jpg
/home/pi/Desktop/images/06042025/17/25/image_06042025_17_25_46_9348.jpg
/home/pi/Desktop/images/06042025/17/25/image_06042025_17_25_56_10368.jpg
/home/pi/Desktop/images/06042025/17/25/image_06042025_17_26_06_10323.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351395069","1351395090","1351395074","1351395083","1351395079","1351395088"],"photo_ids_order":["1351395069","1351395074","1351395079","1351395083","1351395088","1351395090"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/cf923af96c42d398857695d1d40eb39d.jpg","text":"TemporaryFile(/tmp/multipartBody9032009555031928498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328134469,"filename":"image_06042025_17_25_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/11/7c6da910581f409d9a7cd9ceafa46a29.jpg","text":"TemporaryFile(/tmp/multipartBody3844069726347754090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328134469,"filename":"image_06042025_17_26_06_10323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/37183786fa7daff86020da992eb4a150.jpg","text":"TemporaryFile(/tmp/multipartBody2017630259783734940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328134469,"filename":"image_06042025_17_25_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/11/f36f02d60470957036c9c33d366b555b.jpg","text":"TemporaryFile(/tmp/multipartBody6298408951262536986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328134469,"filename":"image_06042025_17_25_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/11/112829dd36b69d7ea9e74548a47ee431.jpg","text":"TemporaryFile(/tmp/multipartBody8012154813436894028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328134469,"filename":"image_06042025_17_25_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/11/d178871b01fc4a7c1ace5706d898cc4a.jpg","text":"TemporaryFile(/tmp/multipartBody4840979951195734790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328134469,"filename":"image_06042025_17_25_56_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351395079","file1":"1351395074","file0":"1351395069","file4":"1351395088","file5":"1351395090","file3":"1351395083"},"map_files_photo_id_array":[{"photo_id":"1351395090","filename":"file5"},{"photo_id":"1351395079","filename":"file2"},{"photo_id":"1351395088","filename":"file4"},{"photo_id":"1351395074","filename":"file1"},{"photo_id":"1351395069","filename":"file0"},{"photo_id":"1351395083","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351395069":["hashtag1","hashtag2"]},{"1351395090":["hashtag1","hashtag2"]},{"1351395074":["hashtag1","hashtag2"]},{"1351395083":["hashtag1","hashtag2"]},{"1351395079":["hashtag1","hashtag2"]},{"1351395088":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351395069, 1351395090, 1351395074, 1351395083, 1351395079, 1351395088)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.63483285903931 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 01:35:32.973729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/17/26/image_06042025_17_27_06_9386.jpg', '/home/pi/Desktop/images/06042025/17/27/image_06042025_17_27_27_10383.jpg', '/home/pi/Desktop/images/06042025/17/27/image_06042025_17_27_46_10355.jpg', '/home/pi/Desktop/images/06042025/17/27/image_06042025_17_27_56_9366.jpg', '/home/pi/Desktop/images/06042025/17/27/image_06042025_17_28_06_10363.jpg', '/home/pi/Desktop/images/06042025/17/28/image_06042025_17_28_16_10327.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/17/26/image_06042025_17_27_06_9386.jpg
/home/pi/Desktop/images/06042025/17/27/image_06042025_17_27_27_10383.jpg
/home/pi/Desktop/images/06042025/17/27/image_06042025_17_27_46_10355.jpg
/home/pi/Desktop/images/06042025/17/27/image_06042025_17_27_56_9366.jpg
/home/pi/Desktop/images/06042025/17/27/image_06042025_17_28_06_10363.jpg
/home/pi/Desktop/images/06042025/17/28/image_06042025_17_28_16_10327.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351395117","1351395149","1351395140","1351395125","1351395130","1351395136"],"photo_ids_order":["1351395117","1351395125","1351395130","1351395136","1351395140","1351395149"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ce81e0c49d568267bbdd8072b8b5bfa0.jpg","text":"TemporaryFile(/tmp/multipartBody7030203634374431902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328194658,"filename":"image_06042025_17_27_06_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/87f612b21e4867b49c0e8a99e6316403.jpg","text":"TemporaryFile(/tmp/multipartBody8514264685164851356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328194658,"filename":"image_06042025_17_28_16_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3599632e7e4599322257e41db227c64c.jpg","text":"TemporaryFile(/tmp/multipartBody322272561788615944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328194658,"filename":"image_06042025_17_28_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/11/6cbc95ff34a9a5623fff0414444f83e9.jpg","text":"TemporaryFile(/tmp/multipartBody1355177891139020221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328194658,"filename":"image_06042025_17_27_27_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/07434e2b85c1bc3ba513523e4bfa80d2.jpg","text":"TemporaryFile(/tmp/multipartBody7409145466957825694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328194658,"filename":"image_06042025_17_27_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/11/31b0cd31c7d1ff0bfd8849df95c1e454.jpg","text":"TemporaryFile(/tmp/multipartBody7285012768049903850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328194658,"filename":"image_06042025_17_27_56_9366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351395130","file1":"1351395125","file0":"1351395117","file4":"1351395140","file5":"1351395149","file3":"1351395136"},"map_files_photo_id_array":[{"photo_id":"1351395149","filename":"file5"},{"photo_id":"1351395130","filename":"file2"},{"photo_id":"1351395140","filename":"file4"},{"photo_id":"1351395125","filename":"file1"},{"photo_id":"1351395117","filename":"file0"},{"photo_id":"1351395136","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351395117":["hashtag1","hashtag2"]},{"1351395149":["hashtag1","hashtag2"]},{"1351395140":["hashtag1","hashtag2"]},{"1351395125":["hashtag1","hashtag2"]},{"1351395130":["hashtag1","hashtag2"]},{"1351395136":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351395117, 1351395149, 1351395140, 1351395125, 1351395130, 1351395136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.45244240760803 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 01:36:32.234076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/17/28/image_06042025_17_28_36_10364.jpg', '/home/pi/Desktop/images/06042025/17/28/image_06042025_17_28_46_10370.jpg', '/home/pi/Desktop/images/06042025/17/28/image_06042025_17_28_56_9435.jpg', '/home/pi/Desktop/images/06042025/17/28/image_06042025_17_29_06_10355.jpg', '/home/pi/Desktop/images/06042025/17/29/image_06042025_17_29_17_10350.jpg', '/home/pi/Desktop/images/06042025/17/29/image_06042025_17_29_26_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/17/28/image_06042025_17_28_36_10364.jpg
/home/pi/Desktop/images/06042025/17/28/image_06042025_17_28_46_10370.jpg
/home/pi/Desktop/images/06042025/17/28/image_06042025_17_28_56_9435.jpg
/home/pi/Desktop/images/06042025/17/28/image_06042025_17_29_06_10355.jpg
/home/pi/Desktop/images/06042025/17/29/image_06042025_17_29_17_10350.jpg
/home/pi/Desktop/images/06042025/17/29/image_06042025_17_29_26_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":["1351395296","1351395300","1351395293","1351395269","1351395292","1351395218"],"photo_ids_order":["1351395218","1351395269","1351395292","1351395293","1351395296","1351395300"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f79a73b36367e98d5e49ca9bbe0d2b9b.jpg","text":"TemporaryFile(/tmp/multipartBody7988289094011042051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328253922,"filename":"image_06042025_17_29_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/11/4c41b92ff56c55a76bfc8fb26e028e17.jpg","text":"TemporaryFile(/tmp/multipartBody7400458553591393437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328253922,"filename":"image_06042025_17_29_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/11/3eee42d6f6601c3e5a7f34e67771ecdc.jpg","text":"TemporaryFile(/tmp/multipartBody3064661118600810246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328253922,"filename":"image_06042025_17_29_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/11/18d89d54bcebafacb4a6d47a70ebd24f.jpg","text":"TemporaryFile(/tmp/multipartBody8068472797798010993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328253922,"filename":"image_06042025_17_28_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/11/185da48fa919a74819f77f64a3810143.jpg","text":"TemporaryFile(/tmp/multipartBody5639522726482617264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328253922,"filename":"image_06042025_17_28_56_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1a5e61d83d6aa03c9555f2653a224f59.jpg","text":"TemporaryFile(/tmp/multipartBody362103819154033241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328253922,"filename":"image_06042025_17_28_36_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351395292","file1":"1351395269","file0":"1351395218","file4":"1351395296","file5":"1351395300","file3":"1351395293"},"map_files_photo_id_array":[{"photo_id":"1351395300","filename":"file5"},{"photo_id":"1351395292","filename":"file2"},{"photo_id":"1351395296","filename":"file4"},{"photo_id":"1351395269","filename":"file1"},{"photo_id":"1351395218","filename":"file0"},{"photo_id":"1351395293","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351395296":["hashtag1","hashtag2"]},{"1351395300":["hashtag1","hashtag2"]},{"1351395293":["hashtag1","hashtag2"]},{"1351395269":["hashtag1","hashtag2"]},{"1351395292":["hashtag1","hashtag2"]},{"1351395218":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351395296, 1351395300, 1351395293, 1351395269, 1351395292, 1351395218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.557496786117554 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 01:37:32.409172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/17/29/image_06042025_17_29_36_10373.jpg', '/home/pi/Desktop/images/06042025/17/29/image_06042025_17_29_46_9363.jpg', '/home/pi/Desktop/images/06042025/17/29/image_06042025_17_29_56_10372.jpg', '/home/pi/Desktop/images/06042025/17/30/image_06042025_17_30_16_9388.jpg', '/home/pi/Desktop/images/06042025/17/30/image_06042025_17_30_26_10396.jpg', '/home/pi/Desktop/images/06042025/17/30/image_06042025_17_30_36_9818.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/17/29/image_06042025_17_29_36_10373.jpg
/home/pi/Desktop/images/06042025/17/29/image_06042025_17_29_46_9363.jpg
/home/pi/Desktop/images/06042025/17/29/image_06042025_17_29_56_10372.jpg
/home/pi/Desktop/images/06042025/17/30/image_06042025_17_30_16_9388.jpg
/home/pi/Desktop/images/06042025/17/30/image_06042025_17_30_26_10396.jpg
/home/pi/Desktop/images/06042025/17/30/image_06042025_17_30_36_9818.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351395607","1351395450","1351395537","1351395356","1351395367","1351395396"],"photo_ids_order":["1351395356","1351395367","1351395396","1351395450","1351395537","1351395607"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ec8fc980ae2ac655fbf8aff217a81d4a.jpg","text":"TemporaryFile(/tmp/multipartBody6817447343837110041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328314090,"filename":"image_06042025_17_30_36_9818.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c7e31d75413c9e1b6f35d22e8e369351.jpg","text":"TemporaryFile(/tmp/multipartBody5638803950499103068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328314090,"filename":"image_06042025_17_30_16_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/380e3ce1e6d47f126ec00e687b52fb2d.jpg","text":"TemporaryFile(/tmp/multipartBody6904555869324206028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328314090,"filename":"image_06042025_17_30_26_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0589e7f675c47ce56bb211c5f42e0e64.jpg","text":"TemporaryFile(/tmp/multipartBody798304336895898327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328314090,"filename":"image_06042025_17_29_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/11/2df45ce56d353cce150da8a682e7a96b.jpg","text":"TemporaryFile(/tmp/multipartBody4572669889968177715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328314090,"filename":"image_06042025_17_29_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/11/2c95770d834959e2017567a62ecc4e0e.jpg","text":"TemporaryFile(/tmp/multipartBody3312897361369988026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328314090,"filename":"image_06042025_17_29_56_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351395396","file1":"1351395367","file0":"1351395356","file4":"1351395537","file5":"1351395607","file3":"1351395450"},"map_files_photo_id_array":[{"photo_id":"1351395607","filename":"file5"},{"photo_id":"1351395396","filename":"file2"},{"photo_id":"1351395537","filename":"file4"},{"photo_id":"1351395367","filename":"file1"},{"photo_id":"1351395356","filename":"file0"},{"photo_id":"1351395450","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351395607":["hashtag1","hashtag2"]},{"1351395450":["hashtag1","hashtag2"]},{"1351395537":["hashtag1","hashtag2"]},{"1351395356":["hashtag1","hashtag2"]},{"1351395367":["hashtag1","hashtag2"]},{"1351395396":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351395607, 1351395450, 1351395537, 1351395356, 1351395367, 1351395396)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.30023527145386 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 01:38:32.671376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/17/30/image_06042025_17_30_46_10352.jpg', '/home/pi/Desktop/images/06042025/17/30/image_06042025_17_30_56_9336.jpg', '/home/pi/Desktop/images/06042025/17/31/image_06042025_17_31_17_10345.jpg', '/home/pi/Desktop/images/06042025/17/31/image_06042025_17_31_26_9407.jpg', '/home/pi/Desktop/images/06042025/17/31/image_06042025_17_31_36_10389.jpg', '/home/pi/Desktop/images/06042025/17/31/image_06042025_17_31_46_9343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/17/30/image_06042025_17_30_46_10352.jpg
/home/pi/Desktop/images/06042025/17/30/image_06042025_17_30_56_9336.jpg
/home/pi/Desktop/images/06042025/17/31/image_06042025_17_31_17_10345.jpg
/home/pi/Desktop/images/06042025/17/31/image_06042025_17_31_26_9407.jpg
/home/pi/Desktop/images/06042025/17/31/image_06042025_17_31_36_10389.jpg
/home/pi/Desktop/images/06042025/17/31/image_06042025_17_31_46_9343.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351396239","1351396178","1351396495","1351396528","1351396411","1351396327"],"photo_ids_order":["1351396178","1351396239","1351396327","1351396411","1351396495","1351396528"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/bc86968f0dc13ada411d6dfea20455c4.jpg","text":"TemporaryFile(/tmp/multipartBody1199683460173389229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328374351,"filename":"image_06042025_17_30_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/11/a19b910f2ffcddd0651c892f2aabb1b8.jpg","text":"TemporaryFile(/tmp/multipartBody276564038432832087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328374351,"filename":"image_06042025_17_30_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/11/008e649fd48aaef26d68d88417d9f3f5.jpg","text":"TemporaryFile(/tmp/multipartBody3877694812936712070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328374351,"filename":"image_06042025_17_31_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/11/b04e96e8a26b6b26e9d4fe29bcfeb46a.jpg","text":"TemporaryFile(/tmp/multipartBody8959462889231962834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328374351,"filename":"image_06042025_17_31_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/11/c3993491558d5e0eb4c19aec022da9ef.jpg","text":"TemporaryFile(/tmp/multipartBody8258034627326258885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328374351,"filename":"image_06042025_17_31_26_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/dbdd08189a995814d838a4a007c0dc52.jpg","text":"TemporaryFile(/tmp/multipartBody2268763515991440527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328374351,"filename":"image_06042025_17_31_17_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351396327","file1":"1351396239","file0":"1351396178","file4":"1351396495","file5":"1351396528","file3":"1351396411"},"map_files_photo_id_array":[{"photo_id":"1351396528","filename":"file5"},{"photo_id":"1351396327","filename":"file2"},{"photo_id":"1351396495","filename":"file4"},{"photo_id":"1351396239","filename":"file1"},{"photo_id":"1351396178","filename":"file0"},{"photo_id":"1351396411","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351396239":["hashtag1","hashtag2"]},{"1351396178":["hashtag1","hashtag2"]},{"1351396495":["hashtag1","hashtag2"]},{"1351396528":["hashtag1","hashtag2"]},{"1351396411":["hashtag1","hashtag2"]},{"1351396327":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351396239, 1351396178, 1351396495, 1351396528, 1351396411, 1351396327)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.78718829154968 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 01:39:32.948433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/17/31/image_06042025_17_31_56_10416.jpg', '/home/pi/Desktop/images/06042025/17/31/image_06042025_17_32_06_10348.jpg', '/home/pi/Desktop/images/06042025/17/32/image_06042025_17_32_26_10460.jpg', '/home/pi/Desktop/images/06042025/17/32/image_06042025_17_32_37_10409.jpg', '/home/pi/Desktop/images/06042025/17/32/image_06042025_17_32_46_9394.jpg', '/home/pi/Desktop/images/06042025/17/32/image_06042025_17_33_06_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/17/31/image_06042025_17_31_56_10416.jpg
/home/pi/Desktop/images/06042025/17/31/image_06042025_17_32_06_10348.jpg
/home/pi/Desktop/images/06042025/17/32/image_06042025_17_32_26_10460.jpg
/home/pi/Desktop/images/06042025/17/32/image_06042025_17_32_37_10409.jpg
/home/pi/Desktop/images/06042025/17/32/image_06042025_17_32_46_9394.jpg
/home/pi/Desktop/images/06042025/17/32/image_06042025_17_33_06_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":["1351396620","1351396639","1351396615","1351396609","1351396618","1351396606"],"photo_ids_order":["1351396606","1351396609","1351396615","1351396618","1351396620","1351396639"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/84598c9403bbbd0c92dba7d87aca9b75.jpg","text":"TemporaryFile(/tmp/multipartBody1977754387633868259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328434617,"filename":"image_06042025_17_32_46_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/31a2b5fc584baf33988773cc9c15dabe.jpg","text":"TemporaryFile(/tmp/multipartBody2448293825217374964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328434617,"filename":"image_06042025_17_33_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/11/a216119a54bb9445d59c81590cfce941.jpg","text":"TemporaryFile(/tmp/multipartBody561741088005700236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328434617,"filename":"image_06042025_17_32_26_10460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6298268f45ba5721510be35078d6bc2a.jpg","text":"TemporaryFile(/tmp/multipartBody4697624979237022828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328434617,"filename":"image_06042025_17_32_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/11/d52303bc79b04c5ae0fadb7e1e7d9691.jpg","text":"TemporaryFile(/tmp/multipartBody9177251923932352320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328434617,"filename":"image_06042025_17_32_37_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/11/8b0db26ac90b6cac95f17949c74d770d.jpg","text":"TemporaryFile(/tmp/multipartBody1543395966884539907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328434617,"filename":"image_06042025_17_31_56_10416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351396615","file1":"1351396609","file0":"1351396606","file4":"1351396620","file5":"1351396639","file3":"1351396618"},"map_files_photo_id_array":[{"photo_id":"1351396639","filename":"file5"},{"photo_id":"1351396615","filename":"file2"},{"photo_id":"1351396620","filename":"file4"},{"photo_id":"1351396609","filename":"file1"},{"photo_id":"1351396606","filename":"file0"},{"photo_id":"1351396618","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351396620":["hashtag1","hashtag2"]},{"1351396639":["hashtag1","hashtag2"]},{"1351396615":["hashtag1","hashtag2"]},{"1351396609":["hashtag1","hashtag2"]},{"1351396618":["hashtag1","hashtag2"]},{"1351396606":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351396620, 1351396639, 1351396615, 1351396609, 1351396618, 1351396606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.381173610687256 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 01:40:32.992301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/17/33/image_06042025_17_33_36_9338.jpg', '/home/pi/Desktop/images/06042025/17/33/image_06042025_17_33_46_10464.jpg', '/home/pi/Desktop/images/06042025/17/33/image_06042025_17_33_56_9390.jpg', '/home/pi/Desktop/images/06042025/17/33/image_06042025_17_34_06_10342.jpg', '/home/pi/Desktop/images/06042025/17/34/image_06042025_17_34_16_10341.jpg', '/home/pi/Desktop/images/06042025/17/34/image_06042025_17_34_26_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/17/33/image_06042025_17_33_36_9338.jpg
/home/pi/Desktop/images/06042025/17/33/image_06042025_17_33_46_10464.jpg
/home/pi/Desktop/images/06042025/17/33/image_06042025_17_33_56_9390.jpg
/home/pi/Desktop/images/06042025/17/33/image_06042025_17_34_06_10342.jpg
/home/pi/Desktop/images/06042025/17/34/image_06042025_17_34_16_10341.jpg
/home/pi/Desktop/images/06042025/17/34/image_06042025_17_34_26_9349.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.6724419593811035 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 01:40:42.957861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/17/33/image_06042025_17_33_36_9338.jpg', '/home/pi/Desktop/images/06042025/17/33/image_06042025_17_33_46_10464.jpg', '/home/pi/Desktop/images/06042025/17/33/image_06042025_17_33_56_9390.jpg', '/home/pi/Desktop/images/06042025/17/33/image_06042025_17_34_06_10342.jpg', '/home/pi/Desktop/images/06042025/17/34/image_06042025_17_34_16_10341.jpg', '/home/pi/Desktop/images/06042025/17/34/image_06042025_17_34_26_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/17/33/image_06042025_17_33_36_9338.jpg
/home/pi/Desktop/images/06042025/17/33/image_06042025_17_33_46_10464.jpg
/home/pi/Desktop/images/06042025/17/33/image_06042025_17_33_56_9390.jpg
/home/pi/Desktop/images/06042025/17/33/image_06042025_17_34_06_10342.jpg
/home/pi/Desktop/images/06042025/17/34/image_06042025_17_34_16_10341.jpg
/home/pi/Desktop/images/06042025/17/34/image_06042025_17_34_26_9349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351397033","1351396847","1351396951","1351396878","1351396893","1351396854"],"photo_ids_order":["1351396847","1351396854","1351396878","1351396893","1351396951","1351397033"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/fef8ff7e049be9af0e40a32c01cb7606.jpg","text":"TemporaryFile(/tmp/multipartBody5072445311796701163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328503708,"filename":"image_06042025_17_34_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/11/debb097d46a6e49405f66995a6555b96.jpg","text":"TemporaryFile(/tmp/multipartBody678068015046206175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328503708,"filename":"image_06042025_17_33_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/11/43810a2f750f71a8d6cbb7dce81b30cb.jpg","text":"TemporaryFile(/tmp/multipartBody1396922455583701269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328503708,"filename":"image_06042025_17_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/11/95038b838ce375c67b85259ecfc30be6.jpg","text":"TemporaryFile(/tmp/multipartBody8352903064334145095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328503708,"filename":"image_06042025_17_33_56_9390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a471b6cd7534830441e1b8c46bf688ee.jpg","text":"TemporaryFile(/tmp/multipartBody8843802087011445874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328503708,"filename":"image_06042025_17_34_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/11/c292bc2402f41c28cb726431000ea45d.jpg","text":"TemporaryFile(/tmp/multipartBody735520226839245105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328503708,"filename":"image_06042025_17_33_46_10464.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351396878","file1":"1351396854","file0":"1351396847","file4":"1351396951","file5":"1351397033","file3":"1351396893"},"map_files_photo_id_array":[{"photo_id":"1351397033","filename":"file5"},{"photo_id":"1351396878","filename":"file2"},{"photo_id":"1351396951","filename":"file4"},{"photo_id":"1351396854","filename":"file1"},{"photo_id":"1351396847","filename":"file0"},{"photo_id":"1351396893","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351397033":["hashtag1","hashtag2"]},{"1351396847":["hashtag1","hashtag2"]},{"1351396951":["hashtag1","hashtag2"]},{"1351396878":["hashtag1","hashtag2"]},{"1351396893":["hashtag1","hashtag2"]},{"1351396854":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351397033, 1351396847, 1351396951, 1351396878, 1351396893, 1351396854)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.38057899475098 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 01:41:33.186514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/17/34/image_06042025_17_34_36_10416.jpg', '/home/pi/Desktop/images/06042025/17/34/image_06042025_17_34_47_10353.jpg', '/home/pi/Desktop/images/06042025/17/34/image_06042025_17_34_56_9346.jpg', '/home/pi/Desktop/images/06042025/17/34/image_06042025_17_35_06_10333.jpg', '/home/pi/Desktop/images/06042025/17/35/image_06042025_17_35_17_10363.jpg', '/home/pi/Desktop/images/06042025/17/35/image_06042025_17_35_36_10341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/17/34/image_06042025_17_34_36_10416.jpg
/home/pi/Desktop/images/06042025/17/34/image_06042025_17_34_47_10353.jpg
/home/pi/Desktop/images/06042025/17/34/image_06042025_17_34_56_9346.jpg
/home/pi/Desktop/images/06042025/17/34/image_06042025_17_35_06_10333.jpg
/home/pi/Desktop/images/06042025/17/35/image_06042025_17_35_17_10363.jpg
/home/pi/Desktop/images/06042025/17/35/image_06042025_17_35_36_10341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351397191","1351397173","1351397187","1351397196","1351397178","1351397160"],"photo_ids_order":["1351397160","1351397173","1351397178","1351397187","1351397191","1351397196"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c4eeae132524cd8e854120dda3562360.jpg","text":"TemporaryFile(/tmp/multipartBody1082273855875257036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328554912,"filename":"image_06042025_17_35_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/11/c28ce08e91190ba26e7f66d6946bbc80.jpg","text":"TemporaryFile(/tmp/multipartBody2978317509815093103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328554912,"filename":"image_06042025_17_34_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/11/4875a0abb5b7a6779124957b2af4da5e.jpg","text":"TemporaryFile(/tmp/multipartBody1805151539956466547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328554912,"filename":"image_06042025_17_35_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/11/0ff32c1b9f70905b88da76ae62296169.jpg","text":"TemporaryFile(/tmp/multipartBody7748373873775987488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328554912,"filename":"image_06042025_17_35_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/11/d75fdd4ef0796e22563b6ea7e8ef8259.jpg","text":"TemporaryFile(/tmp/multipartBody1673230793217307474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328554912,"filename":"image_06042025_17_34_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/11/e93e066b5e6e48c6d4fb4ba5e84c0511.jpg","text":"TemporaryFile(/tmp/multipartBody8389035474610756923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328554912,"filename":"image_06042025_17_34_36_10416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351397178","file1":"1351397173","file0":"1351397160","file4":"1351397191","file5":"1351397196","file3":"1351397187"},"map_files_photo_id_array":[{"photo_id":"1351397196","filename":"file5"},{"photo_id":"1351397178","filename":"file2"},{"photo_id":"1351397191","filename":"file4"},{"photo_id":"1351397173","filename":"file1"},{"photo_id":"1351397160","filename":"file0"},{"photo_id":"1351397187","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351397191":["hashtag1","hashtag2"]},{"1351397173":["hashtag1","hashtag2"]},{"1351397187":["hashtag1","hashtag2"]},{"1351397196":["hashtag1","hashtag2"]},{"1351397178":["hashtag1","hashtag2"]},{"1351397160":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351397191, 1351397173, 1351397187, 1351397196, 1351397178, 1351397160)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.32791543006897 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 01:42:32.339957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/17/35/image_06042025_17_35_46_9349.jpg', '/home/pi/Desktop/images/06042025/17/35/image_06042025_17_35_56_10366.jpg', '/home/pi/Desktop/images/06042025/17/35/image_06042025_17_36_07_10344.jpg', '/home/pi/Desktop/images/06042025/17/36/image_06042025_17_36_26_10363.jpg', '/home/pi/Desktop/images/06042025/17/36/image_06042025_17_36_46_9505.jpg', '/home/pi/Desktop/images/06042025/17/36/image_06042025_17_36_57_10447.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/17/35/image_06042025_17_35_46_9349.jpg
/home/pi/Desktop/images/06042025/17/35/image_06042025_17_35_56_10366.jpg
/home/pi/Desktop/images/06042025/17/35/image_06042025_17_36_07_10344.jpg
/home/pi/Desktop/images/06042025/17/36/image_06042025_17_36_26_10363.jpg
/home/pi/Desktop/images/06042025/17/36/image_06042025_17_36_46_9505.jpg
/home/pi/Desktop/images/06042025/17/36/image_06042025_17_36_57_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":["1351397400","1351397444","1351397300","1351397272","1351397317","1351397379"],"photo_ids_order":["1351397272","1351397300","1351397317","1351397379","1351397400","1351397444"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/bfeb7a42787e31315eac7a9982f14e30.jpg","text":"TemporaryFile(/tmp/multipartBody3961098025602636575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328614008,"filename":"image_06042025_17_36_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/11/60cec8b5fa5978f15b7e2264158e57e7.jpg","text":"TemporaryFile(/tmp/multipartBody2656310918832270752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328614008,"filename":"image_06042025_17_36_57_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/11/8415afcf37a4e2620f8fdddfa42b0a76.jpg","text":"TemporaryFile(/tmp/multipartBody2431389512349505762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328614008,"filename":"image_06042025_17_35_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/11/635cd3f86121cc6d7873c58a5e28fbef.jpg","text":"TemporaryFile(/tmp/multipartBody291049562754336549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328614008,"filename":"image_06042025_17_35_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/11/5fa90307f26f5f29b053a8a1c259e893.jpg","text":"TemporaryFile(/tmp/multipartBody2976741741167237383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328614008,"filename":"image_06042025_17_36_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/11/20b22dc63bc1983bbe6067997d9da9c6.jpg","text":"TemporaryFile(/tmp/multipartBody3526018449562312343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328614008,"filename":"image_06042025_17_36_26_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351397317","file1":"1351397300","file0":"1351397272","file4":"1351397400","file5":"1351397444","file3":"1351397379"},"map_files_photo_id_array":[{"photo_id":"1351397444","filename":"file5"},{"photo_id":"1351397317","filename":"file2"},{"photo_id":"1351397400","filename":"file4"},{"photo_id":"1351397300","filename":"file1"},{"photo_id":"1351397272","filename":"file0"},{"photo_id":"1351397379","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351397400":["hashtag1","hashtag2"]},{"1351397444":["hashtag1","hashtag2"]},{"1351397300":["hashtag1","hashtag2"]},{"1351397272":["hashtag1","hashtag2"]},{"1351397317":["hashtag1","hashtag2"]},{"1351397379":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351397400, 1351397444, 1351397300, 1351397272, 1351397317, 1351397379)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.443589210510254 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 01:43:32.602500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/17/36/image_06042025_17_37_06_9335.jpg', '/home/pi/Desktop/images/06042025/17/37/image_06042025_17_37_16_10422.jpg', '/home/pi/Desktop/images/06042025/17/37/image_06042025_17_37_27_10371.jpg', '/home/pi/Desktop/images/06042025/17/37/image_06042025_17_37_36_9407.jpg', '/home/pi/Desktop/images/06042025/17/37/image_06042025_17_37_46_10356.jpg', '/home/pi/Desktop/images/06042025/17/37/image_06042025_17_37_56_9331.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/17/36/image_06042025_17_37_06_9335.jpg
/home/pi/Desktop/images/06042025/17/37/image_06042025_17_37_16_10422.jpg
/home/pi/Desktop/images/06042025/17/37/image_06042025_17_37_27_10371.jpg
/home/pi/Desktop/images/06042025/17/37/image_06042025_17_37_36_9407.jpg
/home/pi/Desktop/images/06042025/17/37/image_06042025_17_37_46_10356.jpg
/home/pi/Desktop/images/06042025/17/37/image_06042025_17_37_56_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":["1351397613","1351397756","1351397585","1351397561","1351397698","1351397637"],"photo_ids_order":["1351397561","1351397585","1351397613","1351397637","1351397698","1351397756"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4a4163d320909fe308b92c731147f185.jpg","text":"TemporaryFile(/tmp/multipartBody8545764589608686273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328674283,"filename":"image_06042025_17_37_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/11/f927437153b9490fc5909634f6e47a12.jpg","text":"TemporaryFile(/tmp/multipartBody816031770699628087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328674283,"filename":"image_06042025_17_37_56_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/bae08cce4bd5f5ee62427f7cb0bbe0b9.jpg","text":"TemporaryFile(/tmp/multipartBody7972877930824872497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328674283,"filename":"image_06042025_17_37_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/11/6c78430b35110141d7558ea6532df178.jpg","text":"TemporaryFile(/tmp/multipartBody1483159646301808651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328674283,"filename":"image_06042025_17_37_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/11/5f623029f24461092ab0e497532209ab.jpg","text":"TemporaryFile(/tmp/multipartBody828676819572965424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328674283,"filename":"image_06042025_17_37_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/11/1f8be13737b0aba77cd3ac3ccb62d323.jpg","text":"TemporaryFile(/tmp/multipartBody497419305569941644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328674283,"filename":"image_06042025_17_37_36_9407.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351397613","file1":"1351397585","file0":"1351397561","file4":"1351397698","file5":"1351397756","file3":"1351397637"},"map_files_photo_id_array":[{"photo_id":"1351397756","filename":"file5"},{"photo_id":"1351397613","filename":"file2"},{"photo_id":"1351397698","filename":"file4"},{"photo_id":"1351397585","filename":"file1"},{"photo_id":"1351397561","filename":"file0"},{"photo_id":"1351397637","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351397613":["hashtag1","hashtag2"]},{"1351397756":["hashtag1","hashtag2"]},{"1351397585":["hashtag1","hashtag2"]},{"1351397561":["hashtag1","hashtag2"]},{"1351397698":["hashtag1","hashtag2"]},{"1351397637":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351397613, 1351397756, 1351397585, 1351397561, 1351397698, 1351397637)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.32417893409729 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 01:44:32.957155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/17/37/image_06042025_17_38_06_10414.jpg', '/home/pi/Desktop/images/06042025/17/38/image_06042025_17_38_17_10354.jpg', '/home/pi/Desktop/images/06042025/17/38/image_06042025_17_38_26_9352.jpg', '/home/pi/Desktop/images/06042025/17/38/image_06042025_17_38_37_10613.jpg', '/home/pi/Desktop/images/06042025/17/38/image_06042025_17_38_46_9585.jpg', '/home/pi/Desktop/images/06042025/17/38/image_06042025_17_38_56_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/17/37/image_06042025_17_38_06_10414.jpg
/home/pi/Desktop/images/06042025/17/38/image_06042025_17_38_17_10354.jpg
/home/pi/Desktop/images/06042025/17/38/image_06042025_17_38_26_9352.jpg
/home/pi/Desktop/images/06042025/17/38/image_06042025_17_38_37_10613.jpg
/home/pi/Desktop/images/06042025/17/38/image_06042025_17_38_46_9585.jpg
/home/pi/Desktop/images/06042025/17/38/image_06042025_17_38_56_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351397969","1351397960","1351397927","1351397979","1351397943","1351397952"],"photo_ids_order":["1351397927","1351397943","1351397952","1351397960","1351397969","1351397979"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/40ab79aea0830757487ed4cb9ae6d9f3.jpg","text":"TemporaryFile(/tmp/multipartBody3359757070760353426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328735720,"filename":"image_06042025_17_38_46_9585.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d6ebe565419ed5a1f86c46fa1abd9add.jpg","text":"TemporaryFile(/tmp/multipartBody5965838171661459548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328735720,"filename":"image_06042025_17_38_37_10613.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/48174676f807b8cb7fb3648166294b82.jpg","text":"TemporaryFile(/tmp/multipartBody272669585883593710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328735720,"filename":"image_06042025_17_38_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/11/43ce9c057c866a54f1b10fea8e3d7bde.jpg","text":"TemporaryFile(/tmp/multipartBody6022571544177980336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328735720,"filename":"image_06042025_17_38_56_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/54cee04d37340c1a1e8e9147111b8795.jpg","text":"TemporaryFile(/tmp/multipartBody292721756652277421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328735720,"filename":"image_06042025_17_38_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/11/920e49eff25a6d514969df1944a8e05e.jpg","text":"TemporaryFile(/tmp/multipartBody1260706672162921333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328735720,"filename":"image_06042025_17_38_26_9352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351397952","file1":"1351397943","file0":"1351397927","file4":"1351397969","file5":"1351397979","file3":"1351397960"},"map_files_photo_id_array":[{"photo_id":"1351397979","filename":"file5"},{"photo_id":"1351397952","filename":"file2"},{"photo_id":"1351397969","filename":"file4"},{"photo_id":"1351397943","filename":"file1"},{"photo_id":"1351397927","filename":"file0"},{"photo_id":"1351397960","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351397969":["hashtag1","hashtag2"]},{"1351397960":["hashtag1","hashtag2"]},{"1351397927":["hashtag1","hashtag2"]},{"1351397979":["hashtag1","hashtag2"]},{"1351397943":["hashtag1","hashtag2"]},{"1351397952":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351397969, 1351397960, 1351397927, 1351397979, 1351397943, 1351397952)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.683786392211914 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 01:45:33.175390
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/17/38/image_06042025_17_39_06_9352.jpg', '/home/pi/Desktop/images/06042025/17/39/image_06042025_17_39_16_10454.jpg', '/home/pi/Desktop/images/06042025/17/39/image_06042025_17_39_27_10362.jpg', '/home/pi/Desktop/images/06042025/17/39/image_06042025_17_39_36_9402.jpg', '/home/pi/Desktop/images/06042025/17/39/image_06042025_17_39_46_10368.jpg', '/home/pi/Desktop/images/06042025/17/39/image_06042025_17_39_56_9335.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/17/38/image_06042025_17_39_06_9352.jpg
/home/pi/Desktop/images/06042025/17/39/image_06042025_17_39_16_10454.jpg
/home/pi/Desktop/images/06042025/17/39/image_06042025_17_39_27_10362.jpg
/home/pi/Desktop/images/06042025/17/39/image_06042025_17_39_36_9402.jpg
/home/pi/Desktop/images/06042025/17/39/image_06042025_17_39_46_10368.jpg
/home/pi/Desktop/images/06042025/17/39/image_06042025_17_39_56_9335.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351398161","1351398127","1351398192","1351398183","1351398123","1351398132"],"photo_ids_order":["1351398123","1351398127","1351398132","1351398161","1351398183","1351398192"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/194921564cc1facc424eac50c7a2d8e4.jpg","text":"TemporaryFile(/tmp/multipartBody6985015865059643370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328794851,"filename":"image_06042025_17_39_36_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/11/f9da5f01eda19d29a69f9d62c66d8ecb.jpg","text":"TemporaryFile(/tmp/multipartBody3245908671303321731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328794851,"filename":"image_06042025_17_39_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/11/b5f20da0693d86d39d0d9deb09ca5d2c.jpg","text":"TemporaryFile(/tmp/multipartBody8463543259830307599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328794851,"filename":"image_06042025_17_39_56_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/36e279975eaa4e9447475eab2c00c45a.jpg","text":"TemporaryFile(/tmp/multipartBody3186051664601513166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328794851,"filename":"image_06042025_17_39_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/11/5ea07d1a0e1da465bc39559ebd5e8579.jpg","text":"TemporaryFile(/tmp/multipartBody7639911333943530729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328794851,"filename":"image_06042025_17_39_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/11/69143d34fa5c237ac8458dd63e55b6a6.jpg","text":"TemporaryFile(/tmp/multipartBody1559279587359161327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328794851,"filename":"image_06042025_17_39_27_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351398132","file1":"1351398127","file0":"1351398123","file4":"1351398183","file5":"1351398192","file3":"1351398161"},"map_files_photo_id_array":[{"photo_id":"1351398192","filename":"file5"},{"photo_id":"1351398132","filename":"file2"},{"photo_id":"1351398183","filename":"file4"},{"photo_id":"1351398127","filename":"file1"},{"photo_id":"1351398123","filename":"file0"},{"photo_id":"1351398161","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351398161":["hashtag1","hashtag2"]},{"1351398127":["hashtag1","hashtag2"]},{"1351398192":["hashtag1","hashtag2"]},{"1351398183":["hashtag1","hashtag2"]},{"1351398123":["hashtag1","hashtag2"]},{"1351398132":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351398161, 1351398127, 1351398192, 1351398183, 1351398123, 1351398132)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.912724018096924 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 01:46:32.270721
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/17/39/image_06042025_17_40_06_10456.jpg', '/home/pi/Desktop/images/06042025/17/40/image_06042025_17_40_17_10413.jpg', '/home/pi/Desktop/images/06042025/17/40/image_06042025_17_40_26_9465.jpg', '/home/pi/Desktop/images/06042025/17/40/image_06042025_17_40_36_10383.jpg', '/home/pi/Desktop/images/06042025/17/40/image_06042025_17_40_46_9337.jpg', '/home/pi/Desktop/images/06042025/17/40/image_06042025_17_40_56_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/17/39/image_06042025_17_40_06_10456.jpg
/home/pi/Desktop/images/06042025/17/40/image_06042025_17_40_17_10413.jpg
/home/pi/Desktop/images/06042025/17/40/image_06042025_17_40_26_9465.jpg
/home/pi/Desktop/images/06042025/17/40/image_06042025_17_40_36_10383.jpg
/home/pi/Desktop/images/06042025/17/40/image_06042025_17_40_46_9337.jpg
/home/pi/Desktop/images/06042025/17/40/image_06042025_17_40_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":["1351398449","1351398373","1351398349","1351398378","1351398380","1351398371"],"photo_ids_order":["1351398349","1351398371","1351398373","1351398378","1351398380","1351398449"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c6b71dfcd3bea5afdf6ead97475ea1a0.jpg","text":"TemporaryFile(/tmp/multipartBody548324986646664616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328853943,"filename":"image_06042025_17_40_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/11/624fcecf50024c422f204669e0325162.jpg","text":"TemporaryFile(/tmp/multipartBody3054431356343530552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328853943,"filename":"image_06042025_17_40_26_9465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c9a6baab26d858d6f6ffd0ed8b8590e9.jpg","text":"TemporaryFile(/tmp/multipartBody8762037841751772978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328853943,"filename":"image_06042025_17_40_06_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a08e83d77224410dc6c857f8d1caa728.jpg","text":"TemporaryFile(/tmp/multipartBody5944037660587840141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328853943,"filename":"image_06042025_17_40_36_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1b9d91ff9d7d427c4e7091452c8d81d9.jpg","text":"TemporaryFile(/tmp/multipartBody6540210631633712876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328853943,"filename":"image_06042025_17_40_46_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c372b8be5b6e16498013ef994b478d51.jpg","text":"TemporaryFile(/tmp/multipartBody3143847358558210577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328853943,"filename":"image_06042025_17_40_17_10413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351398373","file1":"1351398371","file0":"1351398349","file4":"1351398380","file5":"1351398449","file3":"1351398378"},"map_files_photo_id_array":[{"photo_id":"1351398449","filename":"file5"},{"photo_id":"1351398373","filename":"file2"},{"photo_id":"1351398380","filename":"file4"},{"photo_id":"1351398371","filename":"file1"},{"photo_id":"1351398349","filename":"file0"},{"photo_id":"1351398378","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351398449":["hashtag1","hashtag2"]},{"1351398373":["hashtag1","hashtag2"]},{"1351398349":["hashtag1","hashtag2"]},{"1351398378":["hashtag1","hashtag2"]},{"1351398380":["hashtag1","hashtag2"]},{"1351398371":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351398449, 1351398373, 1351398349, 1351398378, 1351398380, 1351398371)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.61623930931091 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 01:47:32.580045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/17/40/image_06042025_17_41_07_10338.jpg', '/home/pi/Desktop/images/06042025/17/41/image_06042025_17_41_16_9329.jpg', '/home/pi/Desktop/images/06042025/17/41/image_06042025_17_41_26_10365.jpg', '/home/pi/Desktop/images/06042025/17/41/image_06042025_17_41_37_10443.jpg', '/home/pi/Desktop/images/06042025/17/41/image_06042025_17_41_46_9468.jpg', '/home/pi/Desktop/images/06042025/17/41/image_06042025_17_41_57_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/17/40/image_06042025_17_41_07_10338.jpg
/home/pi/Desktop/images/06042025/17/41/image_06042025_17_41_16_9329.jpg
/home/pi/Desktop/images/06042025/17/41/image_06042025_17_41_26_10365.jpg
/home/pi/Desktop/images/06042025/17/41/image_06042025_17_41_37_10443.jpg
/home/pi/Desktop/images/06042025/17/41/image_06042025_17_41_46_9468.jpg
/home/pi/Desktop/images/06042025/17/41/image_06042025_17_41_57_10394.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351398466","1351398478","1351398489","1351398483","1351398474","1351398470"],"photo_ids_order":["1351398466","1351398470","1351398474","1351398478","1351398483","1351398489"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ba39aaeedbcf59fa3a83e36400c53bdf.jpg","text":"TemporaryFile(/tmp/multipartBody8309634643495564197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328914250,"filename":"image_06042025_17_41_07_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0a91a14dc7ab61cf9197a6e3d59f466c.jpg","text":"TemporaryFile(/tmp/multipartBody333785834610208789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328914250,"filename":"image_06042025_17_41_37_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/799702b9f17d6dc922753bb0abbef3be.jpg","text":"TemporaryFile(/tmp/multipartBody7931781451771835811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328914250,"filename":"image_06042025_17_41_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/11/9e4300e8150fb64e9689920886a2fade.jpg","text":"TemporaryFile(/tmp/multipartBody2185455340608701993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328914250,"filename":"image_06042025_17_41_46_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/11/88c8b57d03829179927eb55904048dab.jpg","text":"TemporaryFile(/tmp/multipartBody3922683153681628435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328914250,"filename":"image_06042025_17_41_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/11/9ee976abd9c89d2e7ddc9d793ee17396.jpg","text":"TemporaryFile(/tmp/multipartBody1978062205207496734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328914250,"filename":"image_06042025_17_41_16_9329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351398474","file1":"1351398470","file0":"1351398466","file4":"1351398483","file5":"1351398489","file3":"1351398478"},"map_files_photo_id_array":[{"photo_id":"1351398489","filename":"file5"},{"photo_id":"1351398474","filename":"file2"},{"photo_id":"1351398483","filename":"file4"},{"photo_id":"1351398470","filename":"file1"},{"photo_id":"1351398466","filename":"file0"},{"photo_id":"1351398478","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351398466":["hashtag1","hashtag2"]},{"1351398478":["hashtag1","hashtag2"]},{"1351398489":["hashtag1","hashtag2"]},{"1351398483":["hashtag1","hashtag2"]},{"1351398474":["hashtag1","hashtag2"]},{"1351398470":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351398466, 1351398478, 1351398489, 1351398483, 1351398474, 1351398470)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.00602722167969 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 01:48:32.763610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/17/42/image_06042025_17_42_16_10416.jpg', '/home/pi/Desktop/images/06042025/17/42/image_06042025_17_42_27_10364.jpg', '/home/pi/Desktop/images/06042025/17/42/image_06042025_17_42_46_10368.jpg', '/home/pi/Desktop/images/06042025/17/42/image_06042025_17_42_56_9349.jpg', '/home/pi/Desktop/images/06042025/17/42/image_06042025_17_43_06_10347.jpg', '/home/pi/Desktop/images/06042025/17/43/image_06042025_17_43_26_9512.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/17/42/image_06042025_17_42_16_10416.jpg
/home/pi/Desktop/images/06042025/17/42/image_06042025_17_42_27_10364.jpg
/home/pi/Desktop/images/06042025/17/42/image_06042025_17_42_46_10368.jpg
/home/pi/Desktop/images/06042025/17/42/image_06042025_17_42_56_9349.jpg
/home/pi/Desktop/images/06042025/17/42/image_06042025_17_43_06_10347.jpg
/home/pi/Desktop/images/06042025/17/43/image_06042025_17_43_26_9512.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351398533","1351398598","1351398564","1351398552","1351398546","1351398584"],"photo_ids_order":["1351398533","1351398546","1351398552","1351398564","1351398584","1351398598"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5695e2b6405c7fcb324f53d0ab7dedd7.jpg","text":"TemporaryFile(/tmp/multipartBody6942165995759409040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328974434,"filename":"image_06042025_17_42_16_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0e4425e3c165d05ebf04c847a5ab8e63.jpg","text":"TemporaryFile(/tmp/multipartBody1002045359529732245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328974434,"filename":"image_06042025_17_43_26_9512.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/92b8b6cd3e9fcc0e9cf85efd671d0103.jpg","text":"TemporaryFile(/tmp/multipartBody658831099207391559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328974434,"filename":"image_06042025_17_42_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/11/06fd5232a9b82bde1dd44762c2013900.jpg","text":"TemporaryFile(/tmp/multipartBody7473634099675060349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328974434,"filename":"image_06042025_17_42_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/11/aab7fd87e62e7b5eb70ec9b19173e12f.jpg","text":"TemporaryFile(/tmp/multipartBody6145203873337251967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328974434,"filename":"image_06042025_17_42_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/11/109d5b102ed0e91e2aff7da719d7d3cc.jpg","text":"TemporaryFile(/tmp/multipartBody5428344606848930717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744328974434,"filename":"image_06042025_17_43_06_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351398552","file1":"1351398546","file0":"1351398533","file4":"1351398584","file5":"1351398598","file3":"1351398564"},"map_files_photo_id_array":[{"photo_id":"1351398598","filename":"file5"},{"photo_id":"1351398552","filename":"file2"},{"photo_id":"1351398584","filename":"file4"},{"photo_id":"1351398546","filename":"file1"},{"photo_id":"1351398533","filename":"file0"},{"photo_id":"1351398564","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351398533":["hashtag1","hashtag2"]},{"1351398598":["hashtag1","hashtag2"]},{"1351398564":["hashtag1","hashtag2"]},{"1351398552":["hashtag1","hashtag2"]},{"1351398546":["hashtag1","hashtag2"]},{"1351398584":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351398533, 1351398598, 1351398564, 1351398552, 1351398546, 1351398584)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.14328598976135 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 01:49:32.939708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/17/43/image_06042025_17_43_36_10450.jpg', '/home/pi/Desktop/images/06042025/17/43/image_06042025_17_43_46_9342.jpg', '/home/pi/Desktop/images/06042025/17/43/image_06042025_17_43_56_10461.jpg', '/home/pi/Desktop/images/06042025/17/43/image_06042025_17_44_07_10348.jpg', '/home/pi/Desktop/images/06042025/17/44/image_06042025_17_44_16_9422.jpg', '/home/pi/Desktop/images/06042025/17/44/image_06042025_17_44_26_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/17/43/image_06042025_17_43_36_10450.jpg
/home/pi/Desktop/images/06042025/17/43/image_06042025_17_43_46_9342.jpg
/home/pi/Desktop/images/06042025/17/43/image_06042025_17_43_56_10461.jpg
/home/pi/Desktop/images/06042025/17/43/image_06042025_17_44_07_10348.jpg
/home/pi/Desktop/images/06042025/17/44/image_06042025_17_44_16_9422.jpg
/home/pi/Desktop/images/06042025/17/44/image_06042025_17_44_26_10350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351398736","1351398823","1351398753","1351398692","1351398794","1351398860"],"photo_ids_order":["1351398692","1351398736","1351398753","1351398794","1351398823","1351398860"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/33576d362eb0689d343b9f172851a056.jpg","text":"TemporaryFile(/tmp/multipartBody1107244173856123031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329034597,"filename":"image_06042025_17_43_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/11/7523c82877ae4b3b6034ebabd599ce11.jpg","text":"TemporaryFile(/tmp/multipartBody3244234762578562709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329034597,"filename":"image_06042025_17_44_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/11/0e8b01b7fb67ebe6e607faadb7fb4f18.jpg","text":"TemporaryFile(/tmp/multipartBody887568816171423107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329034597,"filename":"image_06042025_17_43_56_10461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b59d490deece3a1f97baae0860c836f5.jpg","text":"TemporaryFile(/tmp/multipartBody692391785599850059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329034597,"filename":"image_06042025_17_43_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/11/cbf867fd6c1e9950c99322ea88302e43.jpg","text":"TemporaryFile(/tmp/multipartBody1020074278101136683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329034597,"filename":"image_06042025_17_44_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/11/bb710bd53729112366f9ac599bb8709a.jpg","text":"TemporaryFile(/tmp/multipartBody9190810982734162730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329034597,"filename":"image_06042025_17_44_26_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351398753","file1":"1351398736","file0":"1351398692","file4":"1351398823","file5":"1351398860","file3":"1351398794"},"map_files_photo_id_array":[{"photo_id":"1351398860","filename":"file5"},{"photo_id":"1351398753","filename":"file2"},{"photo_id":"1351398823","filename":"file4"},{"photo_id":"1351398736","filename":"file1"},{"photo_id":"1351398692","filename":"file0"},{"photo_id":"1351398794","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351398736":["hashtag1","hashtag2"]},{"1351398823":["hashtag1","hashtag2"]},{"1351398753":["hashtag1","hashtag2"]},{"1351398692":["hashtag1","hashtag2"]},{"1351398794":["hashtag1","hashtag2"]},{"1351398860":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351398736, 1351398823, 1351398753, 1351398692, 1351398794, 1351398860)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.0320999622345 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 01:50:32.169792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/17/44/image_06042025_17_44_36_9337.jpg', '/home/pi/Desktop/images/06042025/17/44/image_06042025_17_44_56_10362.jpg', '/home/pi/Desktop/images/06042025/17/44/image_06042025_17_45_06_9354.jpg', '/home/pi/Desktop/images/06042025/17/45/image_06042025_17_45_27_10354.jpg', '/home/pi/Desktop/images/06042025/17/45/image_06042025_17_45_46_10441.jpg', '/home/pi/Desktop/images/06042025/17/46/image_06042025_17_46_26_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/17/44/image_06042025_17_44_36_9337.jpg
/home/pi/Desktop/images/06042025/17/44/image_06042025_17_44_56_10362.jpg
/home/pi/Desktop/images/06042025/17/44/image_06042025_17_45_06_9354.jpg
/home/pi/Desktop/images/06042025/17/45/image_06042025_17_45_27_10354.jpg
/home/pi/Desktop/images/06042025/17/45/image_06042025_17_45_46_10441.jpg
/home/pi/Desktop/images/06042025/17/46/image_06042025_17_46_26_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":["1351399057","1351399222","1351399126","1351399083","1351399254","1351399154"],"photo_ids_order":["1351399057","1351399083","1351399126","1351399154","1351399222","1351399254"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/04edbde6b0687220b4e1b7980a515f91.jpg","text":"TemporaryFile(/tmp/multipartBody8483266314366238046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329093828,"filename":"image_06042025_17_44_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/11/b40d6987dbee1e9babe7b4f32595b3f7.jpg","text":"TemporaryFile(/tmp/multipartBody7159142001176608218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329093828,"filename":"image_06042025_17_45_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/11/76f218a6a72ef8e2352c775b5226427b.jpg","text":"TemporaryFile(/tmp/multipartBody4259447187671295855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329093828,"filename":"image_06042025_17_45_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/11/5deed0d37c30641a7fb2c25a7033b3dd.jpg","text":"TemporaryFile(/tmp/multipartBody4233255934210615162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329093828,"filename":"image_06042025_17_44_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/11/877f864ba88ea0c3eaded746571132cc.jpg","text":"TemporaryFile(/tmp/multipartBody3328271648705754692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329093828,"filename":"image_06042025_17_46_26_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/54719a2b48205ddb75f885e96b00262a.jpg","text":"TemporaryFile(/tmp/multipartBody1387624505305053236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329093828,"filename":"image_06042025_17_45_27_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351399126","file1":"1351399083","file0":"1351399057","file4":"1351399222","file5":"1351399254","file3":"1351399154"},"map_files_photo_id_array":[{"photo_id":"1351399254","filename":"file5"},{"photo_id":"1351399126","filename":"file2"},{"photo_id":"1351399222","filename":"file4"},{"photo_id":"1351399083","filename":"file1"},{"photo_id":"1351399057","filename":"file0"},{"photo_id":"1351399154","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351399057":["hashtag1","hashtag2"]},{"1351399222":["hashtag1","hashtag2"]},{"1351399126":["hashtag1","hashtag2"]},{"1351399083":["hashtag1","hashtag2"]},{"1351399254":["hashtag1","hashtag2"]},{"1351399154":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351399057, 1351399222, 1351399126, 1351399083, 1351399254, 1351399154)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.3288311958313 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 01:51:32.401754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/17/46/image_06042025_17_46_47_10353.jpg', '/home/pi/Desktop/images/06042025/17/46/image_06042025_17_47_06_10408.jpg', '/home/pi/Desktop/images/06042025/17/47/image_06042025_17_47_16_9399.jpg', '/home/pi/Desktop/images/06042025/17/47/image_06042025_17_47_26_10415.jpg', '/home/pi/Desktop/images/06042025/17/47/image_06042025_17_47_36_9414.jpg', '/home/pi/Desktop/images/06042025/17/47/image_06042025_17_47_46_10436.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/17/46/image_06042025_17_46_47_10353.jpg
/home/pi/Desktop/images/06042025/17/46/image_06042025_17_47_06_10408.jpg
/home/pi/Desktop/images/06042025/17/47/image_06042025_17_47_16_9399.jpg
/home/pi/Desktop/images/06042025/17/47/image_06042025_17_47_26_10415.jpg
/home/pi/Desktop/images/06042025/17/47/image_06042025_17_47_36_9414.jpg
/home/pi/Desktop/images/06042025/17/47/image_06042025_17_47_46_10436.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351399465","1351399549","1351399617","1351399605","1351399655","1351399495"],"photo_ids_order":["1351399465","1351399495","1351399549","1351399605","1351399617","1351399655"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f86235471c50b123fed351cd09b3084d.jpg","text":"TemporaryFile(/tmp/multipartBody1290200783236732943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329154069,"filename":"image_06042025_17_46_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/11/40cab4e99cc1a36e0570b822fba875db.jpg","text":"TemporaryFile(/tmp/multipartBody8921238962159027952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329154069,"filename":"image_06042025_17_47_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/11/bd9a5c52ca8db28e6ae5758bda108f97.jpg","text":"TemporaryFile(/tmp/multipartBody824258524077048899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329154069,"filename":"image_06042025_17_47_36_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/92d28c55eb2420ea2f77995dd9a8e941.jpg","text":"TemporaryFile(/tmp/multipartBody242589187639472632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329154069,"filename":"image_06042025_17_47_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/11/6226b8022bb80770d95f92bf20d247d0.jpg","text":"TemporaryFile(/tmp/multipartBody8488168919393435183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329154069,"filename":"image_06042025_17_47_46_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4b384bbc81af57a8bddd9c30ab979bd6.jpg","text":"TemporaryFile(/tmp/multipartBody5064303098233731322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329154069,"filename":"image_06042025_17_47_06_10408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351399549","file1":"1351399495","file0":"1351399465","file4":"1351399617","file5":"1351399655","file3":"1351399605"},"map_files_photo_id_array":[{"photo_id":"1351399655","filename":"file5"},{"photo_id":"1351399549","filename":"file2"},{"photo_id":"1351399617","filename":"file4"},{"photo_id":"1351399495","filename":"file1"},{"photo_id":"1351399465","filename":"file0"},{"photo_id":"1351399605","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351399465":["hashtag1","hashtag2"]},{"1351399549":["hashtag1","hashtag2"]},{"1351399617":["hashtag1","hashtag2"]},{"1351399605":["hashtag1","hashtag2"]},{"1351399655":["hashtag1","hashtag2"]},{"1351399495":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351399465, 1351399549, 1351399617, 1351399605, 1351399655, 1351399495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.1529974937439 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 01:52:32.561945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/17/47/image_06042025_17_47_56_10341.jpg', '/home/pi/Desktop/images/06042025/17/48/image_06042025_17_48_16_10438.jpg', '/home/pi/Desktop/images/06042025/17/48/image_06042025_17_48_27_10401.jpg', '/home/pi/Desktop/images/06042025/17/48/image_06042025_17_48_36_9381.jpg', '/home/pi/Desktop/images/06042025/17/48/image_06042025_17_48_56_9347.jpg', '/home/pi/Desktop/images/06042025/17/48/image_06042025_17_49_06_10452.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/17/47/image_06042025_17_47_56_10341.jpg
/home/pi/Desktop/images/06042025/17/48/image_06042025_17_48_16_10438.jpg
/home/pi/Desktop/images/06042025/17/48/image_06042025_17_48_27_10401.jpg
/home/pi/Desktop/images/06042025/17/48/image_06042025_17_48_36_9381.jpg
/home/pi/Desktop/images/06042025/17/48/image_06042025_17_48_56_9347.jpg
/home/pi/Desktop/images/06042025/17/48/image_06042025_17_49_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":["1351399939","1351399912","1351399816","1351399953","1351399917","1351399853"],"photo_ids_order":["1351399816","1351399853","1351399912","1351399917","1351399939","1351399953"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d07d0ab7ad62e0462c4d49c0abcff28d.jpg","text":"TemporaryFile(/tmp/multipartBody4416133765850061442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329214227,"filename":"image_06042025_17_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/11/616c00bd2db9ab729e91d62e36ec853b.jpg","text":"TemporaryFile(/tmp/multipartBody1398076536081432333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329214227,"filename":"image_06042025_17_48_27_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/10798cb58e6c0ef3a8d43d4ea997c5d0.jpg","text":"TemporaryFile(/tmp/multipartBody7927937026743859964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329214227,"filename":"image_06042025_17_47_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/11/4830d3cef323c9abe9acdc9551b82b03.jpg","text":"TemporaryFile(/tmp/multipartBody6609051695787551234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329214227,"filename":"image_06042025_17_49_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/11/9dd8f5daac1a5f27d062a25ca6d0b005.jpg","text":"TemporaryFile(/tmp/multipartBody4381343668239085581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329214227,"filename":"image_06042025_17_48_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/11/7b84e915dac22bbb64ff632c1fc96863.jpg","text":"TemporaryFile(/tmp/multipartBody2228661129077858537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329214227,"filename":"image_06042025_17_48_16_10438.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351399912","file1":"1351399853","file0":"1351399816","file4":"1351399939","file5":"1351399953","file3":"1351399917"},"map_files_photo_id_array":[{"photo_id":"1351399953","filename":"file5"},{"photo_id":"1351399912","filename":"file2"},{"photo_id":"1351399939","filename":"file4"},{"photo_id":"1351399853","filename":"file1"},{"photo_id":"1351399816","filename":"file0"},{"photo_id":"1351399917","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351399939":["hashtag1","hashtag2"]},{"1351399912":["hashtag1","hashtag2"]},{"1351399816":["hashtag1","hashtag2"]},{"1351399953":["hashtag1","hashtag2"]},{"1351399917":["hashtag1","hashtag2"]},{"1351399853":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351399939, 1351399912, 1351399816, 1351399953, 1351399917, 1351399853)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.31178140640259 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 01:53:32.789090
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/17/49/image_06042025_17_49_17_10341.jpg', '/home/pi/Desktop/images/06042025/17/49/image_06042025_17_49_26_9479.jpg', '/home/pi/Desktop/images/06042025/17/49/image_06042025_17_49_36_10362.jpg', '/home/pi/Desktop/images/06042025/17/49/image_06042025_17_49_46_9336.jpg', '/home/pi/Desktop/images/06042025/17/49/image_06042025_17_49_56_10545.jpg', '/home/pi/Desktop/images/06042025/17/49/image_06042025_17_50_07_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/17/49/image_06042025_17_49_17_10341.jpg
/home/pi/Desktop/images/06042025/17/49/image_06042025_17_49_26_9479.jpg
/home/pi/Desktop/images/06042025/17/49/image_06042025_17_49_36_10362.jpg
/home/pi/Desktop/images/06042025/17/49/image_06042025_17_49_46_9336.jpg
/home/pi/Desktop/images/06042025/17/49/image_06042025_17_49_56_10545.jpg
/home/pi/Desktop/images/06042025/17/49/image_06042025_17_50_07_10350.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.5905437469482422 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 01:53:42.779898
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/17/49/image_06042025_17_49_17_10341.jpg', '/home/pi/Desktop/images/06042025/17/49/image_06042025_17_49_26_9479.jpg', '/home/pi/Desktop/images/06042025/17/49/image_06042025_17_49_36_10362.jpg', '/home/pi/Desktop/images/06042025/17/49/image_06042025_17_49_46_9336.jpg', '/home/pi/Desktop/images/06042025/17/49/image_06042025_17_49_56_10545.jpg', '/home/pi/Desktop/images/06042025/17/49/image_06042025_17_50_07_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/17/49/image_06042025_17_49_17_10341.jpg
/home/pi/Desktop/images/06042025/17/49/image_06042025_17_49_26_9479.jpg
/home/pi/Desktop/images/06042025/17/49/image_06042025_17_49_36_10362.jpg
/home/pi/Desktop/images/06042025/17/49/image_06042025_17_49_46_9336.jpg
/home/pi/Desktop/images/06042025/17/49/image_06042025_17_49_56_10545.jpg
/home/pi/Desktop/images/06042025/17/49/image_06042025_17_50_07_10350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351400096","1351400099","1351400051","1351400057","1351400102","1351400092"],"photo_ids_order":["1351400051","1351400057","1351400092","1351400096","1351400099","1351400102"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ea3e3ce2106f592c07f0539ae2b529ea.jpg","text":"TemporaryFile(/tmp/multipartBody1021695662770152410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329283523,"filename":"image_06042025_17_49_46_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1e0e7e361102dc97d8783e2d2a073bcd.jpg","text":"TemporaryFile(/tmp/multipartBody4050049025342537379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329283523,"filename":"image_06042025_17_49_56_10545.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/00f8c5255f327d943724d0adf86b9df2.jpg","text":"TemporaryFile(/tmp/multipartBody8185394151403076108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329283523,"filename":"image_06042025_17_49_17_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/39f2e75fd556df0892172052fdbb56fc.jpg","text":"TemporaryFile(/tmp/multipartBody8535063702254338979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329283523,"filename":"image_06042025_17_49_26_9479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6ac01db75a9013e3fa36be61cb523258.jpg","text":"TemporaryFile(/tmp/multipartBody4025456425471415243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329283523,"filename":"image_06042025_17_50_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/11/211f48ad0f78e793064e44c29c40b223.jpg","text":"TemporaryFile(/tmp/multipartBody2849380674990473105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329283523,"filename":"image_06042025_17_49_36_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351400092","file1":"1351400057","file0":"1351400051","file4":"1351400099","file5":"1351400102","file3":"1351400096"},"map_files_photo_id_array":[{"photo_id":"1351400102","filename":"file5"},{"photo_id":"1351400092","filename":"file2"},{"photo_id":"1351400099","filename":"file4"},{"photo_id":"1351400057","filename":"file1"},{"photo_id":"1351400051","filename":"file0"},{"photo_id":"1351400096","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351400096":["hashtag1","hashtag2"]},{"1351400099":["hashtag1","hashtag2"]},{"1351400051":["hashtag1","hashtag2"]},{"1351400057":["hashtag1","hashtag2"]},{"1351400102":["hashtag1","hashtag2"]},{"1351400092":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351400096, 1351400099, 1351400051, 1351400057, 1351400102, 1351400092)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.976391315460205 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 01:54:32.988931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/17/50/image_06042025_17_50_16_9339.jpg', '/home/pi/Desktop/images/06042025/17/50/image_06042025_17_50_26_10359.jpg', '/home/pi/Desktop/images/06042025/17/50/image_06042025_17_50_36_9338.jpg', '/home/pi/Desktop/images/06042025/17/50/image_06042025_17_50_46_10361.jpg', '/home/pi/Desktop/images/06042025/17/50/image_06042025_17_50_56_10367.jpg', '/home/pi/Desktop/images/06042025/17/50/image_06042025_17_51_06_9338.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/17/50/image_06042025_17_50_16_9339.jpg
/home/pi/Desktop/images/06042025/17/50/image_06042025_17_50_26_10359.jpg
/home/pi/Desktop/images/06042025/17/50/image_06042025_17_50_36_9338.jpg
/home/pi/Desktop/images/06042025/17/50/image_06042025_17_50_46_10361.jpg
/home/pi/Desktop/images/06042025/17/50/image_06042025_17_50_56_10367.jpg
/home/pi/Desktop/images/06042025/17/50/image_06042025_17_51_06_9338.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351400169","1351400192","1351400189","1351400194","1351400182","1351400173"],"photo_ids_order":["1351400169","1351400173","1351400182","1351400189","1351400192","1351400194"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ab682059e0d3b2057122b76fa6f0e64a.jpg","text":"TemporaryFile(/tmp/multipartBody8976062235062934142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329334656,"filename":"image_06042025_17_50_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/11/068c557f52dc1d17a3c97d3916f8fcd3.jpg","text":"TemporaryFile(/tmp/multipartBody4110224849410637604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329334656,"filename":"image_06042025_17_50_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/11/eebd82ce38aee5dd220837227f8be474.jpg","text":"TemporaryFile(/tmp/multipartBody8912521623152514189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329334656,"filename":"image_06042025_17_50_46_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/814d5e7bd65810f46f37fe3ea9751858.jpg","text":"TemporaryFile(/tmp/multipartBody5806816462673932903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329334656,"filename":"image_06042025_17_51_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/11/cbc699ab50900cef5da603f88689a2af.jpg","text":"TemporaryFile(/tmp/multipartBody4980611266373025809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329334656,"filename":"image_06042025_17_50_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/11/c8b9dbe5e546b91869ef1ef8218d328b.jpg","text":"TemporaryFile(/tmp/multipartBody8364712467620527820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329334656,"filename":"image_06042025_17_50_26_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351400182","file1":"1351400173","file0":"1351400169","file4":"1351400192","file5":"1351400194","file3":"1351400189"},"map_files_photo_id_array":[{"photo_id":"1351400194","filename":"file5"},{"photo_id":"1351400182","filename":"file2"},{"photo_id":"1351400192","filename":"file4"},{"photo_id":"1351400173","filename":"file1"},{"photo_id":"1351400169","filename":"file0"},{"photo_id":"1351400189","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351400169":["hashtag1","hashtag2"]},{"1351400192":["hashtag1","hashtag2"]},{"1351400189":["hashtag1","hashtag2"]},{"1351400194":["hashtag1","hashtag2"]},{"1351400182":["hashtag1","hashtag2"]},{"1351400173":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351400169, 1351400192, 1351400189, 1351400194, 1351400182, 1351400173)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.771448373794556 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 01:55:32.188377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/17/51/image_06042025_17_51_16_10365.jpg', '/home/pi/Desktop/images/06042025/17/51/image_06042025_17_51_27_10376.jpg', '/home/pi/Desktop/images/06042025/17/51/image_06042025_17_51_36_9340.jpg', '/home/pi/Desktop/images/06042025/17/51/image_06042025_17_51_46_10413.jpg', '/home/pi/Desktop/images/06042025/17/51/image_06042025_17_51_57_10376.jpg', '/home/pi/Desktop/images/06042025/17/51/image_06042025_17_52_06_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/17/51/image_06042025_17_51_16_10365.jpg
/home/pi/Desktop/images/06042025/17/51/image_06042025_17_51_27_10376.jpg
/home/pi/Desktop/images/06042025/17/51/image_06042025_17_51_36_9340.jpg
/home/pi/Desktop/images/06042025/17/51/image_06042025_17_51_46_10413.jpg
/home/pi/Desktop/images/06042025/17/51/image_06042025_17_51_57_10376.jpg
/home/pi/Desktop/images/06042025/17/51/image_06042025_17_52_06_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":["1351400369","1351400279","1351400372","1351400366","1351400348","1351400228"],"photo_ids_order":["1351400228","1351400279","1351400348","1351400366","1351400369","1351400372"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/554df03578bc70fa844be7689ddfa8db.jpg","text":"TemporaryFile(/tmp/multipartBody3136347206778090617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329393855,"filename":"image_06042025_17_51_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/11/ad34eb46873fd49a10e592f554909d0b.jpg","text":"TemporaryFile(/tmp/multipartBody7489739403084462305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329393855,"filename":"image_06042025_17_51_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/11/28b27d074274196fea8f3590bf20233b.jpg","text":"TemporaryFile(/tmp/multipartBody3703072882935234131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329393855,"filename":"image_06042025_17_52_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/11/fe3dca0fdb7dd75f8ccf8564b66ebc7f.jpg","text":"TemporaryFile(/tmp/multipartBody5467017617272544571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329393855,"filename":"image_06042025_17_51_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/11/9c6826514335c6e60d1fe5708304cdee.jpg","text":"TemporaryFile(/tmp/multipartBody7015565918465606345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329393855,"filename":"image_06042025_17_51_36_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/767f6615ad07cf3fa796f92cb5917476.jpg","text":"TemporaryFile(/tmp/multipartBody133488696262892230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329393855,"filename":"image_06042025_17_51_16_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351400348","file1":"1351400279","file0":"1351400228","file4":"1351400369","file5":"1351400372","file3":"1351400366"},"map_files_photo_id_array":[{"photo_id":"1351400372","filename":"file5"},{"photo_id":"1351400348","filename":"file2"},{"photo_id":"1351400369","filename":"file4"},{"photo_id":"1351400279","filename":"file1"},{"photo_id":"1351400228","filename":"file0"},{"photo_id":"1351400366","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351400369":["hashtag1","hashtag2"]},{"1351400279":["hashtag1","hashtag2"]},{"1351400372":["hashtag1","hashtag2"]},{"1351400366":["hashtag1","hashtag2"]},{"1351400348":["hashtag1","hashtag2"]},{"1351400228":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351400369, 1351400279, 1351400372, 1351400366, 1351400348, 1351400228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.004560470581055 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 01:56:32.375890
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/17/52/image_06042025_17_52_16_10369.jpg', '/home/pi/Desktop/images/06042025/17/52/image_06042025_17_52_26_9340.jpg', '/home/pi/Desktop/images/06042025/17/52/image_06042025_17_52_36_10458.jpg', '/home/pi/Desktop/images/06042025/17/52/image_06042025_17_52_47_10371.jpg', '/home/pi/Desktop/images/06042025/17/52/image_06042025_17_52_56_9397.jpg', '/home/pi/Desktop/images/06042025/17/52/image_06042025_17_53_06_10344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/17/52/image_06042025_17_52_16_10369.jpg
/home/pi/Desktop/images/06042025/17/52/image_06042025_17_52_26_9340.jpg
/home/pi/Desktop/images/06042025/17/52/image_06042025_17_52_36_10458.jpg
/home/pi/Desktop/images/06042025/17/52/image_06042025_17_52_47_10371.jpg
/home/pi/Desktop/images/06042025/17/52/image_06042025_17_52_56_9397.jpg
/home/pi/Desktop/images/06042025/17/52/image_06042025_17_53_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":["1351400409","1351400430","1351400468","1351400453","1351400464","1351400416"],"photo_ids_order":["1351400409","1351400416","1351400430","1351400453","1351400464","1351400468"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f71e9bba8f39911bd4d78e37621013b3.jpg","text":"TemporaryFile(/tmp/multipartBody5424028261099142794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329454038,"filename":"image_06042025_17_52_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/11/9892a634f213e0f0914571208920f2db.jpg","text":"TemporaryFile(/tmp/multipartBody6738623059825701460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329454038,"filename":"image_06042025_17_52_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/11/0498aabf1244733cc6fdcc8e27ca03c7.jpg","text":"TemporaryFile(/tmp/multipartBody1123696767803002346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329454038,"filename":"image_06042025_17_53_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/11/e4862b2c2358e66668a6fad3e9e9e6c6.jpg","text":"TemporaryFile(/tmp/multipartBody1928355016024239358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329454038,"filename":"image_06042025_17_52_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/11/5c479affa9178a88b288d40b17c3706c.jpg","text":"TemporaryFile(/tmp/multipartBody8204703124327888519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329454038,"filename":"image_06042025_17_52_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/11/54cafa0567a8b8fc26cf22b78b803f5d.jpg","text":"TemporaryFile(/tmp/multipartBody2012187025868396799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329454038,"filename":"image_06042025_17_52_26_9340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351400430","file1":"1351400416","file0":"1351400409","file4":"1351400464","file5":"1351400468","file3":"1351400453"},"map_files_photo_id_array":[{"photo_id":"1351400468","filename":"file5"},{"photo_id":"1351400430","filename":"file2"},{"photo_id":"1351400464","filename":"file4"},{"photo_id":"1351400416","filename":"file1"},{"photo_id":"1351400409","filename":"file0"},{"photo_id":"1351400453","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351400409":["hashtag1","hashtag2"]},{"1351400430":["hashtag1","hashtag2"]},{"1351400468":["hashtag1","hashtag2"]},{"1351400453":["hashtag1","hashtag2"]},{"1351400464":["hashtag1","hashtag2"]},{"1351400416":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351400409, 1351400430, 1351400468, 1351400453, 1351400464, 1351400416)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.19742226600647 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 01:57:32.680746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/17/53/image_06042025_17_53_16_9327.jpg', '/home/pi/Desktop/images/06042025/17/53/image_06042025_17_53_26_10462.jpg', '/home/pi/Desktop/images/06042025/17/53/image_06042025_17_53_37_10379.jpg', '/home/pi/Desktop/images/06042025/17/53/image_06042025_17_53_46_9343.jpg', '/home/pi/Desktop/images/06042025/17/53/image_06042025_17_53_56_10355.jpg', '/home/pi/Desktop/images/06042025/17/53/image_06042025_17_54_07_10330.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/17/53/image_06042025_17_53_16_9327.jpg
/home/pi/Desktop/images/06042025/17/53/image_06042025_17_53_26_10462.jpg
/home/pi/Desktop/images/06042025/17/53/image_06042025_17_53_37_10379.jpg
/home/pi/Desktop/images/06042025/17/53/image_06042025_17_53_46_9343.jpg
/home/pi/Desktop/images/06042025/17/53/image_06042025_17_53_56_10355.jpg
/home/pi/Desktop/images/06042025/17/53/image_06042025_17_54_07_10330.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-11 01:59:03.855144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/17/53/image_06042025_17_53_16_9327.jpg', '/home/pi/Desktop/images/06042025/17/53/image_06042025_17_53_26_10462.jpg', '/home/pi/Desktop/images/06042025/17/53/image_06042025_17_53_37_10379.jpg', '/home/pi/Desktop/images/06042025/17/53/image_06042025_17_53_46_9343.jpg', '/home/pi/Desktop/images/06042025/17/53/image_06042025_17_53_56_10355.jpg', '/home/pi/Desktop/images/06042025/17/53/image_06042025_17_54_07_10330.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/17/53/image_06042025_17_53_16_9327.jpg
/home/pi/Desktop/images/06042025/17/53/image_06042025_17_53_26_10462.jpg
/home/pi/Desktop/images/06042025/17/53/image_06042025_17_53_37_10379.jpg
/home/pi/Desktop/images/06042025/17/53/image_06042025_17_53_46_9343.jpg
/home/pi/Desktop/images/06042025/17/53/image_06042025_17_53_56_10355.jpg
/home/pi/Desktop/images/06042025/17/53/image_06042025_17_54_07_10330.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351401960","1351401896","1351401848","1351401914","1351401976","1351402026"],"photo_ids_order":["1351401848","1351401896","1351401914","1351401960","1351401976","1351402026"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f8b01cc5fd09fafc09187fcb408cac2e.jpg","text":"TemporaryFile(/tmp/multipartBody2059492959895445239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329604687,"filename":"image_06042025_17_53_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/11/1344a9f9e75d3808d3095de62948f214.jpg","text":"TemporaryFile(/tmp/multipartBody5337800247661294849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329604687,"filename":"image_06042025_17_53_26_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/31440b0ee31d7887c6e0866579876aaa.jpg","text":"TemporaryFile(/tmp/multipartBody9120214243753748908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329604687,"filename":"image_06042025_17_53_16_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7cbb02b30185d6d419320d40e4f2b522.jpg","text":"TemporaryFile(/tmp/multipartBody5542272389748304581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329604687,"filename":"image_06042025_17_53_37_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/318f8a4c4c01de569c6e767327e928ae.jpg","text":"TemporaryFile(/tmp/multipartBody2478300225121286378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329604687,"filename":"image_06042025_17_53_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/11/2dbcddf76b875699b9333b889cd0a96f.jpg","text":"TemporaryFile(/tmp/multipartBody1897976901184271870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329604687,"filename":"image_06042025_17_54_07_10330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351401914","file1":"1351401896","file0":"1351401848","file4":"1351401976","file5":"1351402026","file3":"1351401960"},"map_files_photo_id_array":[{"photo_id":"1351402026","filename":"file5"},{"photo_id":"1351401914","filename":"file2"},{"photo_id":"1351401976","filename":"file4"},{"photo_id":"1351401896","filename":"file1"},{"photo_id":"1351401848","filename":"file0"},{"photo_id":"1351401960","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351401960":["hashtag1","hashtag2"]},{"1351401896":["hashtag1","hashtag2"]},{"1351401848":["hashtag1","hashtag2"]},{"1351401914":["hashtag1","hashtag2"]},{"1351401976":["hashtag1","hashtag2"]},{"1351402026":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351401960, 1351401896, 1351401848, 1351401914, 1351401976, 1351402026)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.91227173805237 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 02:00:02.651089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/17/54/image_06042025_17_54_16_9409.jpg', '/home/pi/Desktop/images/06042025/17/54/image_06042025_17_54_26_10455.jpg', '/home/pi/Desktop/images/06042025/17/54/image_06042025_17_54_57_10426.jpg', '/home/pi/Desktop/images/06042025/17/54/image_06042025_17_55_06_9344.jpg', '/home/pi/Desktop/images/06042025/17/55/image_06042025_17_55_16_10447.jpg', '/home/pi/Desktop/images/06042025/17/55/image_06042025_17_55_26_9343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/17/54/image_06042025_17_54_16_9409.jpg
/home/pi/Desktop/images/06042025/17/54/image_06042025_17_54_26_10455.jpg
/home/pi/Desktop/images/06042025/17/54/image_06042025_17_54_57_10426.jpg
/home/pi/Desktop/images/06042025/17/54/image_06042025_17_55_06_9344.jpg
/home/pi/Desktop/images/06042025/17/55/image_06042025_17_55_16_10447.jpg
/home/pi/Desktop/images/06042025/17/55/image_06042025_17_55_26_9343.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351402049","1351402250","1351402126","1351402300","1351402275","1351402227"],"photo_ids_order":["1351402049","1351402126","1351402227","1351402250","1351402275","1351402300"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6824d8a03def4db8b46c383212983c0f.jpg","text":"TemporaryFile(/tmp/multipartBody8580737793368440596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329663479,"filename":"image_06042025_17_54_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/11/6ea986431a1af089f5cb768ac2049039.jpg","text":"TemporaryFile(/tmp/multipartBody7471146515996997583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329663479,"filename":"image_06042025_17_55_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/11/1cfddacfa3a7568d01b3a090227766de.jpg","text":"TemporaryFile(/tmp/multipartBody2268002673997272550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329663479,"filename":"image_06042025_17_54_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/11/ac1624dc14a56dc9fce2147a3ab50cc5.jpg","text":"TemporaryFile(/tmp/multipartBody6495289311761614914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329663479,"filename":"image_06042025_17_55_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/11/a8993e60de35f2f6740b3eefd42a81d2.jpg","text":"TemporaryFile(/tmp/multipartBody6803391317473833844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329663479,"filename":"image_06042025_17_55_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/11/3cc94ea0bcb73fc2267322b7e9ec94e3.jpg","text":"TemporaryFile(/tmp/multipartBody4436193805772335730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329663479,"filename":"image_06042025_17_54_57_10426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351402227","file1":"1351402126","file0":"1351402049","file4":"1351402275","file5":"1351402300","file3":"1351402250"},"map_files_photo_id_array":[{"photo_id":"1351402300","filename":"file5"},{"photo_id":"1351402227","filename":"file2"},{"photo_id":"1351402275","filename":"file4"},{"photo_id":"1351402126","filename":"file1"},{"photo_id":"1351402049","filename":"file0"},{"photo_id":"1351402250","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351402049":["hashtag1","hashtag2"]},{"1351402250":["hashtag1","hashtag2"]},{"1351402126":["hashtag1","hashtag2"]},{"1351402300":["hashtag1","hashtag2"]},{"1351402275":["hashtag1","hashtag2"]},{"1351402227":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351402049, 1351402250, 1351402126, 1351402300, 1351402275, 1351402227)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.20586848258972 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 02:00:42.327756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/17/55/image_06042025_17_55_36_10435.jpg', '/home/pi/Desktop/images/06042025/17/55/image_06042025_17_55_47_10367.jpg', '/home/pi/Desktop/images/06042025/17/55/image_06042025_17_55_56_9344.jpg', '/home/pi/Desktop/images/06042025/17/55/image_06042025_17_56_06_10343.jpg', '/home/pi/Desktop/images/06042025/17/56/image_06042025_17_56_17_10329.jpg', '/home/pi/Desktop/images/06042025/17/56/image_06042025_17_56_26_9376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/17/55/image_06042025_17_55_36_10435.jpg
/home/pi/Desktop/images/06042025/17/55/image_06042025_17_55_47_10367.jpg
/home/pi/Desktop/images/06042025/17/55/image_06042025_17_55_56_9344.jpg
/home/pi/Desktop/images/06042025/17/55/image_06042025_17_56_06_10343.jpg
/home/pi/Desktop/images/06042025/17/56/image_06042025_17_56_17_10329.jpg
/home/pi/Desktop/images/06042025/17/56/image_06042025_17_56_26_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":["1351402745","1351402640","1351402523","1351402381","1351402698","1351402467"],"photo_ids_order":["1351402381","1351402467","1351402523","1351402640","1351402698","1351402745"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/530f7be7f1ed7eb2390d2b7230bc17bc.jpg","text":"TemporaryFile(/tmp/multipartBody7182849799356679170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329703207,"filename":"image_06042025_17_56_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/11/441d20fcec52db3138dbe69c916ed1d8.jpg","text":"TemporaryFile(/tmp/multipartBody5107934561833114932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329703207,"filename":"image_06042025_17_56_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/11/482c005bf334df728871601c1fbbc161.jpg","text":"TemporaryFile(/tmp/multipartBody2810571817791805125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329703207,"filename":"image_06042025_17_55_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/11/e445e231b6a4a7d061892a0b9503a3e2.jpg","text":"TemporaryFile(/tmp/multipartBody8061390741736704912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329703207,"filename":"image_06042025_17_55_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/11/1de3afa6321b293a42f71ed3ec725962.jpg","text":"TemporaryFile(/tmp/multipartBody6123321639358173270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329703207,"filename":"image_06042025_17_56_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/11/2e8a139d4ea8d33ae3f0df1d3bed8b3f.jpg","text":"TemporaryFile(/tmp/multipartBody3778107327330568391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329703207,"filename":"image_06042025_17_55_47_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351402523","file1":"1351402467","file0":"1351402381","file4":"1351402698","file5":"1351402745","file3":"1351402640"},"map_files_photo_id_array":[{"photo_id":"1351402745","filename":"file5"},{"photo_id":"1351402523","filename":"file2"},{"photo_id":"1351402698","filename":"file4"},{"photo_id":"1351402467","filename":"file1"},{"photo_id":"1351402381","filename":"file0"},{"photo_id":"1351402640","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351402745":["hashtag1","hashtag2"]},{"1351402640":["hashtag1","hashtag2"]},{"1351402523":["hashtag1","hashtag2"]},{"1351402381":["hashtag1","hashtag2"]},{"1351402698":["hashtag1","hashtag2"]},{"1351402467":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351402745, 1351402640, 1351402523, 1351402381, 1351402698, 1351402467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.872313499450684 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 02:01:42.494745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/17/56/image_06042025_17_56_36_10442.jpg', '/home/pi/Desktop/images/06042025/17/56/image_06042025_17_56_56_9383.jpg', '/home/pi/Desktop/images/06042025/17/56/image_06042025_17_57_06_10325.jpg', '/home/pi/Desktop/images/06042025/17/57/image_06042025_17_57_26_10424.jpg', '/home/pi/Desktop/images/06042025/17/57/image_06042025_17_57_37_10425.jpg', '/home/pi/Desktop/images/06042025/17/57/image_06042025_17_57_46_9345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/17/56/image_06042025_17_56_36_10442.jpg
/home/pi/Desktop/images/06042025/17/56/image_06042025_17_56_56_9383.jpg
/home/pi/Desktop/images/06042025/17/56/image_06042025_17_57_06_10325.jpg
/home/pi/Desktop/images/06042025/17/57/image_06042025_17_57_26_10424.jpg
/home/pi/Desktop/images/06042025/17/57/image_06042025_17_57_37_10425.jpg
/home/pi/Desktop/images/06042025/17/57/image_06042025_17_57_46_9345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351403405","1351403164","1351403110","1351403305","1351403355","1351403226"],"photo_ids_order":["1351403110","1351403164","1351403226","1351403305","1351403355","1351403405"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/04915da7440e58e43e1868faeb379f57.jpg","text":"TemporaryFile(/tmp/multipartBody8022577062919389722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329763307,"filename":"image_06042025_17_57_46_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9ed6779db4e7e2e233f24b6258c36a20.jpg","text":"TemporaryFile(/tmp/multipartBody6019082615506849469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329763307,"filename":"image_06042025_17_56_56_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4f628dae222294d7b00fa01f16cdc8db.jpg","text":"TemporaryFile(/tmp/multipartBody895286693940845729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329763307,"filename":"image_06042025_17_56_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/11/0d88d0ab4eb8954275e4f9547553a3d9.jpg","text":"TemporaryFile(/tmp/multipartBody6068997686541567700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329763307,"filename":"image_06042025_17_57_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/11/6e3a43d2a443809ca19ba4aea5f05076.jpg","text":"TemporaryFile(/tmp/multipartBody5172482099766526138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329763307,"filename":"image_06042025_17_57_37_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9fed0ad3d5a74a8459316fa014579534.jpg","text":"TemporaryFile(/tmp/multipartBody784784406073097309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329763307,"filename":"image_06042025_17_57_06_10325.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351403226","file1":"1351403164","file0":"1351403110","file4":"1351403355","file5":"1351403405","file3":"1351403305"},"map_files_photo_id_array":[{"photo_id":"1351403405","filename":"file5"},{"photo_id":"1351403226","filename":"file2"},{"photo_id":"1351403355","filename":"file4"},{"photo_id":"1351403164","filename":"file1"},{"photo_id":"1351403110","filename":"file0"},{"photo_id":"1351403305","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351403405":["hashtag1","hashtag2"]},{"1351403164":["hashtag1","hashtag2"]},{"1351403110":["hashtag1","hashtag2"]},{"1351403305":["hashtag1","hashtag2"]},{"1351403355":["hashtag1","hashtag2"]},{"1351403226":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351403405, 1351403164, 1351403110, 1351403305, 1351403355, 1351403226)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.21165466308594 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 02:02:32.857577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/17/57/image_06042025_17_57_56_10407.jpg', '/home/pi/Desktop/images/06042025/17/57/image_06042025_17_58_07_10328.jpg', '/home/pi/Desktop/images/06042025/17/58/image_06042025_17_58_16_9402.jpg', '/home/pi/Desktop/images/06042025/17/58/image_06042025_17_58_26_10353.jpg', '/home/pi/Desktop/images/06042025/17/58/image_06042025_17_58_36_9338.jpg', '/home/pi/Desktop/images/06042025/17/58/image_06042025_17_58_46_10454.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/17/57/image_06042025_17_57_56_10407.jpg
/home/pi/Desktop/images/06042025/17/57/image_06042025_17_58_07_10328.jpg
/home/pi/Desktop/images/06042025/17/58/image_06042025_17_58_16_9402.jpg
/home/pi/Desktop/images/06042025/17/58/image_06042025_17_58_26_10353.jpg
/home/pi/Desktop/images/06042025/17/58/image_06042025_17_58_36_9338.jpg
/home/pi/Desktop/images/06042025/17/58/image_06042025_17_58_46_10454.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351403869","1351403677","1351403746","1351403932","1351403820","1351403984"],"photo_ids_order":["1351403677","1351403746","1351403820","1351403869","1351403932","1351403984"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/af8efdedaa4ca5326166d074a40ea28c.jpg","text":"TemporaryFile(/tmp/multipartBody6760028964094076753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329814522,"filename":"image_06042025_17_58_26_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/64618374322afc8b790283acd462fb8c.jpg","text":"TemporaryFile(/tmp/multipartBody72809359401055350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329814522,"filename":"image_06042025_17_57_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/11/1bba0198076f3c39c87c3ab2f0e31352.jpg","text":"TemporaryFile(/tmp/multipartBody2197268163448034323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329814522,"filename":"image_06042025_17_58_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/11/458c7b93e1a7ff0c1c62f5b90c4dd6b0.jpg","text":"TemporaryFile(/tmp/multipartBody1576761642970020005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329814522,"filename":"image_06042025_17_58_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/11/e8bc0fa0cbcb62b852b36ce54b6900b7.jpg","text":"TemporaryFile(/tmp/multipartBody3873367888835159386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329814522,"filename":"image_06042025_17_58_16_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/fad9b86b9ea32c0cfe0adcbae51f34dd.jpg","text":"TemporaryFile(/tmp/multipartBody7808564623765398769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329814522,"filename":"image_06042025_17_58_46_10454.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351403820","file1":"1351403746","file0":"1351403677","file4":"1351403932","file5":"1351403984","file3":"1351403869"},"map_files_photo_id_array":[{"photo_id":"1351403984","filename":"file5"},{"photo_id":"1351403820","filename":"file2"},{"photo_id":"1351403932","filename":"file4"},{"photo_id":"1351403746","filename":"file1"},{"photo_id":"1351403677","filename":"file0"},{"photo_id":"1351403869","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351403869":["hashtag1","hashtag2"]},{"1351403677":["hashtag1","hashtag2"]},{"1351403746":["hashtag1","hashtag2"]},{"1351403932":["hashtag1","hashtag2"]},{"1351403820":["hashtag1","hashtag2"]},{"1351403984":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351403869, 1351403677, 1351403746, 1351403932, 1351403820, 1351403984)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.495925426483154 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 02:03:32.908618
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/17/58/image_06042025_17_58_57_10363.jpg', '/home/pi/Desktop/images/06042025/17/58/image_06042025_17_59_06_9465.jpg', '/home/pi/Desktop/images/06042025/17/59/image_06042025_17_59_16_10356.jpg', '/home/pi/Desktop/images/06042025/17/59/image_06042025_17_59_26_9365.jpg', '/home/pi/Desktop/images/06042025/17/59/image_06042025_17_59_36_10420.jpg', '/home/pi/Desktop/images/06042025/17/59/image_06042025_17_59_47_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/17/58/image_06042025_17_58_57_10363.jpg
/home/pi/Desktop/images/06042025/17/58/image_06042025_17_59_06_9465.jpg
/home/pi/Desktop/images/06042025/17/59/image_06042025_17_59_16_10356.jpg
/home/pi/Desktop/images/06042025/17/59/image_06042025_17_59_26_9365.jpg
/home/pi/Desktop/images/06042025/17/59/image_06042025_17_59_36_10420.jpg
/home/pi/Desktop/images/06042025/17/59/image_06042025_17_59_47_10378.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351404745","1351404864","1351404531","1351404572","1351404926","1351404641"],"photo_ids_order":["1351404531","1351404572","1351404641","1351404745","1351404864","1351404926"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/705111b439bcc578e8e3a3616cd39d41.jpg","text":"TemporaryFile(/tmp/multipartBody2099157495883802608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329874569,"filename":"image_06042025_17_59_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/11/f0bcfa0a544f179edcc678bfc86498bd.jpg","text":"TemporaryFile(/tmp/multipartBody3257857509927929298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329874569,"filename":"image_06042025_17_59_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/11/ef0475f2cefb5a11092199c9adbdd1de.jpg","text":"TemporaryFile(/tmp/multipartBody5253695473351173909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329874569,"filename":"image_06042025_17_58_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/11/f2749c88962a48ac03a0bcb5a8089d8d.jpg","text":"TemporaryFile(/tmp/multipartBody4027896042436717169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329874569,"filename":"image_06042025_17_59_06_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/11/c75eb949a543dd7bcbe9936db745f639.jpg","text":"TemporaryFile(/tmp/multipartBody8291326953036915244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329874569,"filename":"image_06042025_17_59_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/11/0762f35b69b73d33ead9a6cdec6d42f9.jpg","text":"TemporaryFile(/tmp/multipartBody1629222112254484307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329874569,"filename":"image_06042025_17_59_16_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351404641","file1":"1351404572","file0":"1351404531","file4":"1351404864","file5":"1351404926","file3":"1351404745"},"map_files_photo_id_array":[{"photo_id":"1351404926","filename":"file5"},{"photo_id":"1351404641","filename":"file2"},{"photo_id":"1351404864","filename":"file4"},{"photo_id":"1351404572","filename":"file1"},{"photo_id":"1351404531","filename":"file0"},{"photo_id":"1351404745","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351404745":["hashtag1","hashtag2"]},{"1351404864":["hashtag1","hashtag2"]},{"1351404531":["hashtag1","hashtag2"]},{"1351404572":["hashtag1","hashtag2"]},{"1351404926":["hashtag1","hashtag2"]},{"1351404641":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351404745, 1351404864, 1351404531, 1351404572, 1351404926, 1351404641)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.12446618080139 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 02:04:33.063982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/18/00/image_06042025_18_00_16_10076.jpg', '/home/pi/Desktop/images/06042025/18/00/image_06042025_18_00_27_10446.jpg', '/home/pi/Desktop/images/06042025/18/00/image_06042025_18_00_37_10480.jpg', '/home/pi/Desktop/images/06042025/18/00/image_06042025_18_00_46_9414.jpg', '/home/pi/Desktop/images/06042025/18/00/image_06042025_18_00_57_10361.jpg', '/home/pi/Desktop/images/06042025/18/00/image_06042025_18_01_06_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/18/00/image_06042025_18_00_16_10076.jpg
/home/pi/Desktop/images/06042025/18/00/image_06042025_18_00_27_10446.jpg
/home/pi/Desktop/images/06042025/18/00/image_06042025_18_00_37_10480.jpg
/home/pi/Desktop/images/06042025/18/00/image_06042025_18_00_46_9414.jpg
/home/pi/Desktop/images/06042025/18/00/image_06042025_18_00_57_10361.jpg
/home/pi/Desktop/images/06042025/18/00/image_06042025_18_01_06_9352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351405213","1351405167","1351405131","1351405154","1351405082","1351405163"],"photo_ids_order":["1351405082","1351405131","1351405154","1351405163","1351405167","1351405213"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b6211834c32c67e2219dbe254d5cdda6.jpg","text":"TemporaryFile(/tmp/multipartBody3903034760383489169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329934723,"filename":"image_06042025_18_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/11/4aa134c2ab6c10d1a05855cc9efb6963.jpg","text":"TemporaryFile(/tmp/multipartBody3145474985273894739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329934723,"filename":"image_06042025_18_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/11/c3cb0584ec91266c58f2e91e9669cb69.jpg","text":"TemporaryFile(/tmp/multipartBody3643926820773346047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329934723,"filename":"image_06042025_18_00_27_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a2adfaecb0016fb788fbc817cd2bfecd.jpg","text":"TemporaryFile(/tmp/multipartBody8902575450385067706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329934723,"filename":"image_06042025_18_00_37_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/11/12698a37fc369e1a3173c660cf47c66d.jpg","text":"TemporaryFile(/tmp/multipartBody1738113823866550575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329934723,"filename":"image_06042025_18_00_16_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/11/41a337cf10844cdefdce606a323b2c6e.jpg","text":"TemporaryFile(/tmp/multipartBody4693141549961544193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329934723,"filename":"image_06042025_18_00_46_9414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351405154","file1":"1351405131","file0":"1351405082","file4":"1351405167","file5":"1351405213","file3":"1351405163"},"map_files_photo_id_array":[{"photo_id":"1351405213","filename":"file5"},{"photo_id":"1351405154","filename":"file2"},{"photo_id":"1351405167","filename":"file4"},{"photo_id":"1351405131","filename":"file1"},{"photo_id":"1351405082","filename":"file0"},{"photo_id":"1351405163","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351405213":["hashtag1","hashtag2"]},{"1351405167":["hashtag1","hashtag2"]},{"1351405131":["hashtag1","hashtag2"]},{"1351405154":["hashtag1","hashtag2"]},{"1351405082":["hashtag1","hashtag2"]},{"1351405163":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351405213, 1351405167, 1351405131, 1351405154, 1351405082, 1351405163)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.78016543388367 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 02:05:32.196925
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/18/01/image_06042025_18_01_17_10347.jpg', '/home/pi/Desktop/images/06042025/18/01/image_06042025_18_01_27_10495.jpg', '/home/pi/Desktop/images/06042025/18/01/image_06042025_18_01_36_9344.jpg', '/home/pi/Desktop/images/06042025/18/01/image_06042025_18_01_47_10349.jpg', '/home/pi/Desktop/images/06042025/18/01/image_06042025_18_01_56_9358.jpg', '/home/pi/Desktop/images/06042025/18/01/image_06042025_18_02_06_10347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/18/01/image_06042025_18_01_17_10347.jpg
/home/pi/Desktop/images/06042025/18/01/image_06042025_18_01_27_10495.jpg
/home/pi/Desktop/images/06042025/18/01/image_06042025_18_01_36_9344.jpg
/home/pi/Desktop/images/06042025/18/01/image_06042025_18_01_47_10349.jpg
/home/pi/Desktop/images/06042025/18/01/image_06042025_18_01_56_9358.jpg
/home/pi/Desktop/images/06042025/18/01/image_06042025_18_02_06_10347.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351405416","1351405344","1351405394","1351405466","1351405328","1351405441"],"photo_ids_order":["1351405328","1351405344","1351405394","1351405416","1351405441","1351405466"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/643e7a4e6cdce761f0c1ccfc173ce930.jpg","text":"TemporaryFile(/tmp/multipartBody746906985684319125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329993860,"filename":"image_06042025_18_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/11/3b33bf67f6db80b5628ccabfc380427c.jpg","text":"TemporaryFile(/tmp/multipartBody5239639442301475435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329993860,"filename":"image_06042025_18_01_27_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/11/f98e74fca984ff1c36c9d3337cc112e8.jpg","text":"TemporaryFile(/tmp/multipartBody4664587079144316036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329993860,"filename":"image_06042025_18_01_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/11/b55ad92cf9c4ba268da9abd0c9165a88.jpg","text":"TemporaryFile(/tmp/multipartBody6797401383592906816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329993860,"filename":"image_06042025_18_02_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/11/d8eb8202f7a600505a4908861a8862bc.jpg","text":"TemporaryFile(/tmp/multipartBody87445016388568341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329993860,"filename":"image_06042025_18_01_17_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8f15cb433e269c29e98372db3b045ab9.jpg","text":"TemporaryFile(/tmp/multipartBody4556536809257512102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744329993860,"filename":"image_06042025_18_01_56_9358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351405394","file1":"1351405344","file0":"1351405328","file4":"1351405441","file5":"1351405466","file3":"1351405416"},"map_files_photo_id_array":[{"photo_id":"1351405466","filename":"file5"},{"photo_id":"1351405394","filename":"file2"},{"photo_id":"1351405441","filename":"file4"},{"photo_id":"1351405344","filename":"file1"},{"photo_id":"1351405328","filename":"file0"},{"photo_id":"1351405416","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351405416":["hashtag1","hashtag2"]},{"1351405344":["hashtag1","hashtag2"]},{"1351405394":["hashtag1","hashtag2"]},{"1351405466":["hashtag1","hashtag2"]},{"1351405328":["hashtag1","hashtag2"]},{"1351405441":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351405416, 1351405344, 1351405394, 1351405466, 1351405328, 1351405441)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.571781873703 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 02:06:32.510873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/18/02/image_06042025_18_02_17_10347.jpg', '/home/pi/Desktop/images/06042025/18/02/image_06042025_18_02_26_9461.jpg', '/home/pi/Desktop/images/06042025/18/02/image_06042025_18_02_37_10364.jpg', '/home/pi/Desktop/images/06042025/18/02/image_06042025_18_02_46_9486.jpg', '/home/pi/Desktop/images/06042025/18/02/image_06042025_18_02_56_10362.jpg', '/home/pi/Desktop/images/06042025/18/02/image_06042025_18_03_07_10349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/18/02/image_06042025_18_02_17_10347.jpg
/home/pi/Desktop/images/06042025/18/02/image_06042025_18_02_26_9461.jpg
/home/pi/Desktop/images/06042025/18/02/image_06042025_18_02_37_10364.jpg
/home/pi/Desktop/images/06042025/18/02/image_06042025_18_02_46_9486.jpg
/home/pi/Desktop/images/06042025/18/02/image_06042025_18_02_56_10362.jpg
/home/pi/Desktop/images/06042025/18/02/image_06042025_18_03_07_10349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351406019","1351406106","1351406054","1351405952","1351405907","1351405879"],"photo_ids_order":["1351405879","1351405907","1351405952","1351406019","1351406054","1351406106"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f3940c8a44abe7883d85744b3059e6d0.jpg","text":"TemporaryFile(/tmp/multipartBody5631331590646528236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330054186,"filename":"image_06042025_18_02_46_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/11/c5d1b022aa2f2f2a87190b1538d55b59.jpg","text":"TemporaryFile(/tmp/multipartBody8477273140768417858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330054186,"filename":"image_06042025_18_03_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/11/2438ba9ca689b105a37594017025ea2e.jpg","text":"TemporaryFile(/tmp/multipartBody6031567608920369799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330054186,"filename":"image_06042025_18_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/11/a29344feb34d9a2e181c6c9331af7478.jpg","text":"TemporaryFile(/tmp/multipartBody5747391598224398099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330054186,"filename":"image_06042025_18_02_37_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f8b8fcee69a775d1e160086da5b477ec.jpg","text":"TemporaryFile(/tmp/multipartBody4726113321586902221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330054186,"filename":"image_06042025_18_02_26_9461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/60e1929ebab35bada8fa0d249ec545dc.jpg","text":"TemporaryFile(/tmp/multipartBody1653265865203284653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330054186,"filename":"image_06042025_18_02_17_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351405952","file1":"1351405907","file0":"1351405879","file4":"1351406054","file5":"1351406106","file3":"1351406019"},"map_files_photo_id_array":[{"photo_id":"1351406106","filename":"file5"},{"photo_id":"1351405952","filename":"file2"},{"photo_id":"1351406054","filename":"file4"},{"photo_id":"1351405907","filename":"file1"},{"photo_id":"1351405879","filename":"file0"},{"photo_id":"1351406019","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351406019":["hashtag1","hashtag2"]},{"1351406106":["hashtag1","hashtag2"]},{"1351406054":["hashtag1","hashtag2"]},{"1351405952":["hashtag1","hashtag2"]},{"1351405907":["hashtag1","hashtag2"]},{"1351405879":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351406019, 1351406106, 1351406054, 1351405952, 1351405907, 1351405879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.380168199539185 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 02:07:32.776853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/18/03/image_06042025_18_03_16_9373.jpg', '/home/pi/Desktop/images/06042025/18/03/image_06042025_18_03_27_10364.jpg', '/home/pi/Desktop/images/06042025/18/03/image_06042025_18_03_37_10367.jpg', '/home/pi/Desktop/images/06042025/18/03/image_06042025_18_03_46_9403.jpg', '/home/pi/Desktop/images/06042025/18/03/image_06042025_18_03_57_10354.jpg', '/home/pi/Desktop/images/06042025/18/03/image_06042025_18_04_06_9454.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/18/03/image_06042025_18_03_16_9373.jpg
/home/pi/Desktop/images/06042025/18/03/image_06042025_18_03_27_10364.jpg
/home/pi/Desktop/images/06042025/18/03/image_06042025_18_03_37_10367.jpg
/home/pi/Desktop/images/06042025/18/03/image_06042025_18_03_46_9403.jpg
/home/pi/Desktop/images/06042025/18/03/image_06042025_18_03_57_10354.jpg
/home/pi/Desktop/images/06042025/18/03/image_06042025_18_04_06_9454.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351406522","1351406488","1351406467","1351406395","1351406554","1351406422"],"photo_ids_order":["1351406395","1351406422","1351406467","1351406488","1351406522","1351406554"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e49fef215fdac23c8d26254e1f689d13.jpg","text":"TemporaryFile(/tmp/multipartBody4441109948139411754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330114446,"filename":"image_06042025_18_03_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/11/c9ed51dbf731a7297e88dafda4883edd.jpg","text":"TemporaryFile(/tmp/multipartBody2991873240517223251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330114446,"filename":"image_06042025_18_03_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/11/ec40abe7540ae0df78f9b8c4b1889585.jpg","text":"TemporaryFile(/tmp/multipartBody5002512299989850833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330114446,"filename":"image_06042025_18_03_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/11/6f44fa92befc908f2b550ef54f4f93b8.jpg","text":"TemporaryFile(/tmp/multipartBody469430514940084327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330114446,"filename":"image_06042025_18_03_16_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3e1d5972e70dbb137b281508052f0921.jpg","text":"TemporaryFile(/tmp/multipartBody5837040213260996936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330114446,"filename":"image_06042025_18_04_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/11/4ea0550a7020cd9d5c4d8751834cc74a.jpg","text":"TemporaryFile(/tmp/multipartBody6650810490777936214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330114446,"filename":"image_06042025_18_03_27_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351406467","file1":"1351406422","file0":"1351406395","file4":"1351406522","file5":"1351406554","file3":"1351406488"},"map_files_photo_id_array":[{"photo_id":"1351406554","filename":"file5"},{"photo_id":"1351406467","filename":"file2"},{"photo_id":"1351406522","filename":"file4"},{"photo_id":"1351406422","filename":"file1"},{"photo_id":"1351406395","filename":"file0"},{"photo_id":"1351406488","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351406522":["hashtag1","hashtag2"]},{"1351406488":["hashtag1","hashtag2"]},{"1351406467":["hashtag1","hashtag2"]},{"1351406395":["hashtag1","hashtag2"]},{"1351406554":["hashtag1","hashtag2"]},{"1351406422":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351406522, 1351406488, 1351406467, 1351406395, 1351406554, 1351406422)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.154783487319946 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 02:08:32.976599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/18/04/image_06042025_18_04_16_10353.jpg', '/home/pi/Desktop/images/06042025/18/04/image_06042025_18_04_27_10370.jpg', '/home/pi/Desktop/images/06042025/18/04/image_06042025_18_04_36_9461.jpg', '/home/pi/Desktop/images/06042025/18/04/image_06042025_18_04_47_10469.jpg', '/home/pi/Desktop/images/06042025/18/04/image_06042025_18_04_56_9498.jpg', '/home/pi/Desktop/images/06042025/18/04/image_06042025_18_05_07_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/18/04/image_06042025_18_04_16_10353.jpg
/home/pi/Desktop/images/06042025/18/04/image_06042025_18_04_27_10370.jpg
/home/pi/Desktop/images/06042025/18/04/image_06042025_18_04_36_9461.jpg
/home/pi/Desktop/images/06042025/18/04/image_06042025_18_04_47_10469.jpg
/home/pi/Desktop/images/06042025/18/04/image_06042025_18_04_56_9498.jpg
/home/pi/Desktop/images/06042025/18/04/image_06042025_18_05_07_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":["1351406766","1351406769","1351406739","1351406718","1351406715","1351406755"],"photo_ids_order":["1351406715","1351406718","1351406739","1351406755","1351406766","1351406769"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/76402ddf0c638e16982af1d57290a1b2.jpg","text":"TemporaryFile(/tmp/multipartBody3622468855449182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330174654,"filename":"image_06042025_18_04_56_9498.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/02c8c186b79518ef226592ec18845c5a.jpg","text":"TemporaryFile(/tmp/multipartBody6300472435947479420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330174654,"filename":"image_06042025_18_05_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/11/0664e6817ac35b769803c8b7fa259c81.jpg","text":"TemporaryFile(/tmp/multipartBody1748157746509107931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330174654,"filename":"image_06042025_18_04_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/11/f050d1b982a0cf388857d563dd07b402.jpg","text":"TemporaryFile(/tmp/multipartBody3098817609411204633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330174654,"filename":"image_06042025_18_04_27_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b2ff697d1b63a8ddefb408ea292632be.jpg","text":"TemporaryFile(/tmp/multipartBody8515790141763523062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330174654,"filename":"image_06042025_18_04_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/11/4706681d27e45017fd0db7cfb3ce046c.jpg","text":"TemporaryFile(/tmp/multipartBody4091843537468464180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330174654,"filename":"image_06042025_18_04_47_10469.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351406739","file1":"1351406718","file0":"1351406715","file4":"1351406766","file5":"1351406769","file3":"1351406755"},"map_files_photo_id_array":[{"photo_id":"1351406769","filename":"file5"},{"photo_id":"1351406739","filename":"file2"},{"photo_id":"1351406766","filename":"file4"},{"photo_id":"1351406718","filename":"file1"},{"photo_id":"1351406715","filename":"file0"},{"photo_id":"1351406755","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351406766":["hashtag1","hashtag2"]},{"1351406769":["hashtag1","hashtag2"]},{"1351406739":["hashtag1","hashtag2"]},{"1351406718":["hashtag1","hashtag2"]},{"1351406715":["hashtag1","hashtag2"]},{"1351406755":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351406766, 1351406769, 1351406739, 1351406718, 1351406715, 1351406755)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.444990158081055 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 02:09:32.202774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/18/05/image_06042025_18_05_16_9487.jpg', '/home/pi/Desktop/images/06042025/18/05/image_06042025_18_05_27_10414.jpg', '/home/pi/Desktop/images/06042025/18/05/image_06042025_18_05_37_10345.jpg', '/home/pi/Desktop/images/06042025/18/05/image_06042025_18_05_57_10348.jpg', '/home/pi/Desktop/images/06042025/18/05/image_06042025_18_06_06_9396.jpg', '/home/pi/Desktop/images/06042025/18/06/image_06042025_18_06_16_10337.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/18/05/image_06042025_18_05_16_9487.jpg
/home/pi/Desktop/images/06042025/18/05/image_06042025_18_05_27_10414.jpg
/home/pi/Desktop/images/06042025/18/05/image_06042025_18_05_37_10345.jpg
/home/pi/Desktop/images/06042025/18/05/image_06042025_18_05_57_10348.jpg
/home/pi/Desktop/images/06042025/18/05/image_06042025_18_06_06_9396.jpg
/home/pi/Desktop/images/06042025/18/06/image_06042025_18_06_16_10337.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.6037094593048096 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 02:09:42.199097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/18/05/image_06042025_18_05_16_9487.jpg', '/home/pi/Desktop/images/06042025/18/05/image_06042025_18_05_27_10414.jpg', '/home/pi/Desktop/images/06042025/18/05/image_06042025_18_05_37_10345.jpg', '/home/pi/Desktop/images/06042025/18/05/image_06042025_18_05_57_10348.jpg', '/home/pi/Desktop/images/06042025/18/05/image_06042025_18_06_06_9396.jpg', '/home/pi/Desktop/images/06042025/18/06/image_06042025_18_06_16_10337.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/18/05/image_06042025_18_05_16_9487.jpg
/home/pi/Desktop/images/06042025/18/05/image_06042025_18_05_27_10414.jpg
/home/pi/Desktop/images/06042025/18/05/image_06042025_18_05_37_10345.jpg
/home/pi/Desktop/images/06042025/18/05/image_06042025_18_05_57_10348.jpg
/home/pi/Desktop/images/06042025/18/05/image_06042025_18_06_06_9396.jpg
/home/pi/Desktop/images/06042025/18/06/image_06042025_18_06_16_10337.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351407036","1351407009","1351407023","1351407020","1351407016","1351407028"],"photo_ids_order":["1351407009","1351407016","1351407020","1351407023","1351407028","1351407036"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/46b587d55507f2a7bcebd3dd94df029b.jpg","text":"TemporaryFile(/tmp/multipartBody9156696663755049352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330242943,"filename":"image_06042025_18_06_16_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3fd7acdb29125adff40d629938a48223.jpg","text":"TemporaryFile(/tmp/multipartBody7852714331889163630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330242943,"filename":"image_06042025_18_05_16_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/11/4006e86995ec98d1211b407a748ab9f2.jpg","text":"TemporaryFile(/tmp/multipartBody8086089528651352080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330242943,"filename":"image_06042025_18_05_57_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6e9a96d6b9654d4ba7b61aecdcefe2c0.jpg","text":"TemporaryFile(/tmp/multipartBody338911371356380859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330242943,"filename":"image_06042025_18_05_37_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b3448aa87891ab009b508b608b3c6864.jpg","text":"TemporaryFile(/tmp/multipartBody5868951193644632920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330242943,"filename":"image_06042025_18_05_27_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b0067c479ae3c937728b10157de18a16.jpg","text":"TemporaryFile(/tmp/multipartBody6307098763808896824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330242943,"filename":"image_06042025_18_06_06_9396.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351407020","file1":"1351407016","file0":"1351407009","file4":"1351407028","file5":"1351407036","file3":"1351407023"},"map_files_photo_id_array":[{"photo_id":"1351407036","filename":"file5"},{"photo_id":"1351407020","filename":"file2"},{"photo_id":"1351407028","filename":"file4"},{"photo_id":"1351407016","filename":"file1"},{"photo_id":"1351407009","filename":"file0"},{"photo_id":"1351407023","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351407036":["hashtag1","hashtag2"]},{"1351407009":["hashtag1","hashtag2"]},{"1351407023":["hashtag1","hashtag2"]},{"1351407020":["hashtag1","hashtag2"]},{"1351407016":["hashtag1","hashtag2"]},{"1351407028":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351407036, 1351407009, 1351407023, 1351407020, 1351407016, 1351407028)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.39588928222656 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 02:10:32.341453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/18/06/image_06042025_18_06_36_9471.jpg', '/home/pi/Desktop/images/06042025/18/06/image_06042025_18_06_47_10383.jpg', '/home/pi/Desktop/images/06042025/18/06/image_06042025_18_06_57_10431.jpg', '/home/pi/Desktop/images/06042025/18/06/image_06042025_18_07_06_9342.jpg', '/home/pi/Desktop/images/06042025/18/07/image_06042025_18_07_17_10354.jpg', '/home/pi/Desktop/images/06042025/18/07/image_06042025_18_07_26_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/18/06/image_06042025_18_06_36_9471.jpg
/home/pi/Desktop/images/06042025/18/06/image_06042025_18_06_47_10383.jpg
/home/pi/Desktop/images/06042025/18/06/image_06042025_18_06_57_10431.jpg
/home/pi/Desktop/images/06042025/18/06/image_06042025_18_07_06_9342.jpg
/home/pi/Desktop/images/06042025/18/07/image_06042025_18_07_17_10354.jpg
/home/pi/Desktop/images/06042025/18/07/image_06042025_18_07_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":["1351407147","1351407069","1351407117","1351407143","1351407138","1351407087"],"photo_ids_order":["1351407069","1351407087","1351407117","1351407138","1351407143","1351407147"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9daec880729ce9a427cde5800f0e0151.jpg","text":"TemporaryFile(/tmp/multipartBody2425195792072545600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330294011,"filename":"image_06042025_18_07_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/11/4d6e584d4557b892d9933ac954d561a0.jpg","text":"TemporaryFile(/tmp/multipartBody7780224126128584896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330294011,"filename":"image_06042025_18_06_36_9471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9cbdd3b12c4a0a3721a4dfafb48a2746.jpg","text":"TemporaryFile(/tmp/multipartBody2296496419936635689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330294011,"filename":"image_06042025_18_06_57_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a8203a4639d9303fc40639da3aeac2ee.jpg","text":"TemporaryFile(/tmp/multipartBody6559009089596278754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330294011,"filename":"image_06042025_18_07_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/11/450692619871a6277d5e6842a4fcb747.jpg","text":"TemporaryFile(/tmp/multipartBody7732899360596654003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330294011,"filename":"image_06042025_18_07_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/11/d0705350100b8163bf16c5dad3042615.jpg","text":"TemporaryFile(/tmp/multipartBody2929286874405066709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330294011,"filename":"image_06042025_18_06_47_10383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351407117","file1":"1351407087","file0":"1351407069","file4":"1351407143","file5":"1351407147","file3":"1351407138"},"map_files_photo_id_array":[{"photo_id":"1351407147","filename":"file5"},{"photo_id":"1351407117","filename":"file2"},{"photo_id":"1351407143","filename":"file4"},{"photo_id":"1351407087","filename":"file1"},{"photo_id":"1351407069","filename":"file0"},{"photo_id":"1351407138","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351407147":["hashtag1","hashtag2"]},{"1351407069":["hashtag1","hashtag2"]},{"1351407117":["hashtag1","hashtag2"]},{"1351407143":["hashtag1","hashtag2"]},{"1351407138":["hashtag1","hashtag2"]},{"1351407087":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351407147, 1351407069, 1351407117, 1351407143, 1351407138, 1351407087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.41092014312744 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 02:11:32.556943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/18/07/image_06042025_18_07_37_10470.jpg', '/home/pi/Desktop/images/06042025/18/07/image_06042025_18_07_46_9452.jpg', '/home/pi/Desktop/images/06042025/18/07/image_06042025_18_07_57_10366.jpg', '/home/pi/Desktop/images/06042025/18/07/image_06042025_18_08_07_10358.jpg', '/home/pi/Desktop/images/06042025/18/08/image_06042025_18_08_17_9691.jpg', '/home/pi/Desktop/images/06042025/18/08/image_06042025_18_08_27_10343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/18/07/image_06042025_18_07_37_10470.jpg
/home/pi/Desktop/images/06042025/18/07/image_06042025_18_07_46_9452.jpg
/home/pi/Desktop/images/06042025/18/07/image_06042025_18_07_57_10366.jpg
/home/pi/Desktop/images/06042025/18/07/image_06042025_18_08_07_10358.jpg
/home/pi/Desktop/images/06042025/18/08/image_06042025_18_08_17_9691.jpg
/home/pi/Desktop/images/06042025/18/08/image_06042025_18_08_27_10343.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351407167","1351407182","1351407176","1351407179","1351407170","1351407172"],"photo_ids_order":["1351407167","1351407170","1351407172","1351407176","1351407179","1351407182"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a9df580654c6aa60d0c5c9b8642bcd39.jpg","text":"TemporaryFile(/tmp/multipartBody3137553619016206065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330354219,"filename":"image_06042025_18_07_37_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/11/1d5bca472b234e82e6908aee98225dde.jpg","text":"TemporaryFile(/tmp/multipartBody3559027346600389426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330354219,"filename":"image_06042025_18_08_27_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/20f8b3e267744672b44a9f3d82d2c8b1.jpg","text":"TemporaryFile(/tmp/multipartBody7832790382852358977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330354219,"filename":"image_06042025_18_08_07_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f57332d727d7b99e91c3683e40fb69c6.jpg","text":"TemporaryFile(/tmp/multipartBody5161659578735708189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330354219,"filename":"image_06042025_18_08_17_9691.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/be888ccd87d9a5de2a784d1e56c6a609.jpg","text":"TemporaryFile(/tmp/multipartBody6901296432630481701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330354219,"filename":"image_06042025_18_07_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/11/428d63b52786a4c2bb40396d19a23a5e.jpg","text":"TemporaryFile(/tmp/multipartBody5470346839097740450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330354219,"filename":"image_06042025_18_07_57_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351407172","file1":"1351407170","file0":"1351407167","file4":"1351407179","file5":"1351407182","file3":"1351407176"},"map_files_photo_id_array":[{"photo_id":"1351407182","filename":"file5"},{"photo_id":"1351407172","filename":"file2"},{"photo_id":"1351407179","filename":"file4"},{"photo_id":"1351407170","filename":"file1"},{"photo_id":"1351407167","filename":"file0"},{"photo_id":"1351407176","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351407167":["hashtag1","hashtag2"]},{"1351407182":["hashtag1","hashtag2"]},{"1351407176":["hashtag1","hashtag2"]},{"1351407179":["hashtag1","hashtag2"]},{"1351407170":["hashtag1","hashtag2"]},{"1351407172":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351407167, 1351407182, 1351407176, 1351407179, 1351407170, 1351407172)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.756434202194214 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 02:12:32.799131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/18/08/image_06042025_18_08_36_9468.jpg', '/home/pi/Desktop/images/06042025/18/08/image_06042025_18_08_47_10365.jpg', '/home/pi/Desktop/images/06042025/18/08/image_06042025_18_08_56_9453.jpg', '/home/pi/Desktop/images/06042025/18/08/image_06042025_18_09_07_10349.jpg', '/home/pi/Desktop/images/06042025/18/09/image_06042025_18_09_17_10335.jpg', '/home/pi/Desktop/images/06042025/18/09/image_06042025_18_09_26_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/18/08/image_06042025_18_08_36_9468.jpg
/home/pi/Desktop/images/06042025/18/08/image_06042025_18_08_47_10365.jpg
/home/pi/Desktop/images/06042025/18/08/image_06042025_18_08_56_9453.jpg
/home/pi/Desktop/images/06042025/18/08/image_06042025_18_09_07_10349.jpg
/home/pi/Desktop/images/06042025/18/09/image_06042025_18_09_17_10335.jpg
/home/pi/Desktop/images/06042025/18/09/image_06042025_18_09_26_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":["1351407225","1351407219","1351407213","1351407207","1351407221","1351407202"],"photo_ids_order":["1351407202","1351407207","1351407213","1351407219","1351407221","1351407225"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/324b23988fcd724cf3239f7c2612b19f.jpg","text":"TemporaryFile(/tmp/multipartBody1632598763920765513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330414540,"filename":"image_06042025_18_09_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/11/7765c0769561346e36ffbb064f37a27a.jpg","text":"TemporaryFile(/tmp/multipartBody5878316858885464195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330414540,"filename":"image_06042025_18_09_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/11/9430f13381b89b2743ce215b941bc213.jpg","text":"TemporaryFile(/tmp/multipartBody6184696271430933747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330414540,"filename":"image_06042025_18_08_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/11/68fd3a05824473e9a6b1d8392fe67eb1.jpg","text":"TemporaryFile(/tmp/multipartBody3978692227198142832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330414540,"filename":"image_06042025_18_08_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/11/7c9c8110913009b1627b03583c657eb8.jpg","text":"TemporaryFile(/tmp/multipartBody4511023843209711002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330414540,"filename":"image_06042025_18_09_17_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/57e38d51f9568a826bc874510d4643f3.jpg","text":"TemporaryFile(/tmp/multipartBody639825465937853680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330414540,"filename":"image_06042025_18_08_36_9468.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351407213","file1":"1351407207","file0":"1351407202","file4":"1351407221","file5":"1351407225","file3":"1351407219"},"map_files_photo_id_array":[{"photo_id":"1351407225","filename":"file5"},{"photo_id":"1351407213","filename":"file2"},{"photo_id":"1351407221","filename":"file4"},{"photo_id":"1351407207","filename":"file1"},{"photo_id":"1351407202","filename":"file0"},{"photo_id":"1351407219","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351407225":["hashtag1","hashtag2"]},{"1351407219":["hashtag1","hashtag2"]},{"1351407213":["hashtag1","hashtag2"]},{"1351407207":["hashtag1","hashtag2"]},{"1351407221":["hashtag1","hashtag2"]},{"1351407202":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351407225, 1351407219, 1351407213, 1351407207, 1351407221, 1351407202)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.223411321640015 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 02:13:32.983461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/18/09/image_06042025_18_09_37_10417.jpg', '/home/pi/Desktop/images/06042025/18/09/image_06042025_18_09_46_9434.jpg', '/home/pi/Desktop/images/06042025/18/09/image_06042025_18_09_57_10352.jpg', '/home/pi/Desktop/images/06042025/18/09/image_06042025_18_10_07_10352.jpg', '/home/pi/Desktop/images/06042025/18/10/image_06042025_18_10_16_9419.jpg', '/home/pi/Desktop/images/06042025/18/10/image_06042025_18_10_27_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/18/09/image_06042025_18_09_37_10417.jpg
/home/pi/Desktop/images/06042025/18/09/image_06042025_18_09_46_9434.jpg
/home/pi/Desktop/images/06042025/18/09/image_06042025_18_09_57_10352.jpg
/home/pi/Desktop/images/06042025/18/09/image_06042025_18_10_07_10352.jpg
/home/pi/Desktop/images/06042025/18/10/image_06042025_18_10_16_9419.jpg
/home/pi/Desktop/images/06042025/18/10/image_06042025_18_10_27_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":["1351407417","1351407401","1351407404","1351407379","1351407349","1351407396"],"photo_ids_order":["1351407349","1351407379","1351407396","1351407401","1351407404","1351407417"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8eefd6653e177cef4cc6023d240f9ac5.jpg","text":"TemporaryFile(/tmp/multipartBody8685281254028036456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330474651,"filename":"image_06042025_18_10_27_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/357875515336b108bc252aacab7aee24.jpg","text":"TemporaryFile(/tmp/multipartBody8355954807012793010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330474651,"filename":"image_06042025_18_10_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/11/4ecb369362fe6c1e13a83340428d350d.jpg","text":"TemporaryFile(/tmp/multipartBody8541404171423333311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330474651,"filename":"image_06042025_18_10_16_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f1bdda6cd2578164883bb127cbb61af2.jpg","text":"TemporaryFile(/tmp/multipartBody562743757019082432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330474651,"filename":"image_06042025_18_09_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/11/4f667433f3f1adc0dbf4bccdd2763867.jpg","text":"TemporaryFile(/tmp/multipartBody3427781887236461438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330474651,"filename":"image_06042025_18_09_37_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/11/0927f292a77ce4e36d5928a0677c9686.jpg","text":"TemporaryFile(/tmp/multipartBody4994788420566828706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330474651,"filename":"image_06042025_18_09_57_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351407396","file1":"1351407379","file0":"1351407349","file4":"1351407404","file5":"1351407417","file3":"1351407401"},"map_files_photo_id_array":[{"photo_id":"1351407417","filename":"file5"},{"photo_id":"1351407396","filename":"file2"},{"photo_id":"1351407404","filename":"file4"},{"photo_id":"1351407379","filename":"file1"},{"photo_id":"1351407349","filename":"file0"},{"photo_id":"1351407401","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351407417":["hashtag1","hashtag2"]},{"1351407401":["hashtag1","hashtag2"]},{"1351407404":["hashtag1","hashtag2"]},{"1351407379":["hashtag1","hashtag2"]},{"1351407349":["hashtag1","hashtag2"]},{"1351407396":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351407417, 1351407401, 1351407404, 1351407379, 1351407349, 1351407396)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.537221908569336 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 02:14:33.145218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/18/10/image_06042025_18_10_36_9499.jpg', '/home/pi/Desktop/images/06042025/18/10/image_06042025_18_10_57_10363.jpg', '/home/pi/Desktop/images/06042025/18/10/image_06042025_18_11_06_9383.jpg', '/home/pi/Desktop/images/06042025/18/11/image_06042025_18_11_17_10340.jpg', '/home/pi/Desktop/images/06042025/18/11/image_06042025_18_11_26_9513.jpg', '/home/pi/Desktop/images/06042025/18/11/image_06042025_18_11_37_10335.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/18/10/image_06042025_18_10_36_9499.jpg
/home/pi/Desktop/images/06042025/18/10/image_06042025_18_10_57_10363.jpg
/home/pi/Desktop/images/06042025/18/10/image_06042025_18_11_06_9383.jpg
/home/pi/Desktop/images/06042025/18/11/image_06042025_18_11_17_10340.jpg
/home/pi/Desktop/images/06042025/18/11/image_06042025_18_11_26_9513.jpg
/home/pi/Desktop/images/06042025/18/11/image_06042025_18_11_37_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":["1351407615","1351407558","1351407522","1351407710","1351407641","1351407586"],"photo_ids_order":["1351407522","1351407558","1351407586","1351407615","1351407641","1351407710"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/284864fe4875a2422f4be182aa530bab.jpg","text":"TemporaryFile(/tmp/multipartBody931080882173445894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330534807,"filename":"image_06042025_18_11_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/11/bc1b0c744db914a9d1657a4970ec6ecb.jpg","text":"TemporaryFile(/tmp/multipartBody8930894327606393677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330534807,"filename":"image_06042025_18_10_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/11/dfb0bca7decc322ebe2bc65216d54acb.jpg","text":"TemporaryFile(/tmp/multipartBody4223337996841405362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330534807,"filename":"image_06042025_18_10_36_9499.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c2f7b95712fef95b48aceec3906f3eca.jpg","text":"TemporaryFile(/tmp/multipartBody996449573319859173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330534807,"filename":"image_06042025_18_11_37_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2980819c304fb1142aeb14515198bfc8.jpg","text":"TemporaryFile(/tmp/multipartBody1843166461260688921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330534807,"filename":"image_06042025_18_11_26_9513.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ea0fa4f03c278a3052a56a3cf9b43793.jpg","text":"TemporaryFile(/tmp/multipartBody4479600184640599526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330534807,"filename":"image_06042025_18_11_06_9383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351407586","file1":"1351407558","file0":"1351407522","file4":"1351407641","file5":"1351407710","file3":"1351407615"},"map_files_photo_id_array":[{"photo_id":"1351407710","filename":"file5"},{"photo_id":"1351407586","filename":"file2"},{"photo_id":"1351407641","filename":"file4"},{"photo_id":"1351407558","filename":"file1"},{"photo_id":"1351407522","filename":"file0"},{"photo_id":"1351407615","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351407615":["hashtag1","hashtag2"]},{"1351407558":["hashtag1","hashtag2"]},{"1351407522":["hashtag1","hashtag2"]},{"1351407710":["hashtag1","hashtag2"]},{"1351407641":["hashtag1","hashtag2"]},{"1351407586":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351407615, 1351407558, 1351407522, 1351407710, 1351407641, 1351407586)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.21036434173584 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 02:15:32.316597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/18/11/image_06042025_18_11_47_10364.jpg', '/home/pi/Desktop/images/06042025/18/11/image_06042025_18_11_56_9458.jpg', '/home/pi/Desktop/images/06042025/18/11/image_06042025_18_12_07_10346.jpg', '/home/pi/Desktop/images/06042025/18/12/image_06042025_18_12_16_9461.jpg', '/home/pi/Desktop/images/06042025/18/12/image_06042025_18_12_27_10457.jpg', '/home/pi/Desktop/images/06042025/18/12/image_06042025_18_12_37_10347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/18/11/image_06042025_18_11_47_10364.jpg
/home/pi/Desktop/images/06042025/18/11/image_06042025_18_11_56_9458.jpg
/home/pi/Desktop/images/06042025/18/11/image_06042025_18_12_07_10346.jpg
/home/pi/Desktop/images/06042025/18/12/image_06042025_18_12_16_9461.jpg
/home/pi/Desktop/images/06042025/18/12/image_06042025_18_12_27_10457.jpg
/home/pi/Desktop/images/06042025/18/12/image_06042025_18_12_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":["1351408101","1351408025","1351408015","1351408083","1351408104","1351408097"],"photo_ids_order":["1351408015","1351408025","1351408083","1351408097","1351408101","1351408104"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/94d5d680f664a1718a34b0274e6d10de.jpg","text":"TemporaryFile(/tmp/multipartBody7786691832973485733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330593984,"filename":"image_06042025_18_12_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/11/5a1420bfcdceb0f7e1544408fb34dda5.jpg","text":"TemporaryFile(/tmp/multipartBody3592764344264843397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330593984,"filename":"image_06042025_18_11_56_9458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a7d48c61105950a8ec5782e0fe73f50c.jpg","text":"TemporaryFile(/tmp/multipartBody4775250773720833783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330593984,"filename":"image_06042025_18_11_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/11/ea53bb98f38aa3c14c9bf24e41cb685a.jpg","text":"TemporaryFile(/tmp/multipartBody2423952614088191975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330593984,"filename":"image_06042025_18_12_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/11/46e9d76e0ab2ec3b0bbd8dd6b5de3192.jpg","text":"TemporaryFile(/tmp/multipartBody5351218221064711545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330593984,"filename":"image_06042025_18_12_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/11/c17f0b907ea31ba61c66c905f4b96d71.jpg","text":"TemporaryFile(/tmp/multipartBody6948884723720571286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330593984,"filename":"image_06042025_18_12_16_9461.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351408083","file1":"1351408025","file0":"1351408015","file4":"1351408101","file5":"1351408104","file3":"1351408097"},"map_files_photo_id_array":[{"photo_id":"1351408104","filename":"file5"},{"photo_id":"1351408083","filename":"file2"},{"photo_id":"1351408101","filename":"file4"},{"photo_id":"1351408025","filename":"file1"},{"photo_id":"1351408015","filename":"file0"},{"photo_id":"1351408097","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351408101":["hashtag1","hashtag2"]},{"1351408025":["hashtag1","hashtag2"]},{"1351408015":["hashtag1","hashtag2"]},{"1351408083":["hashtag1","hashtag2"]},{"1351408104":["hashtag1","hashtag2"]},{"1351408097":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351408101, 1351408025, 1351408015, 1351408083, 1351408104, 1351408097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.79492664337158 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 02:16:32.698158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/18/12/image_06042025_18_12_46_9429.jpg', '/home/pi/Desktop/images/06042025/18/12/image_06042025_18_12_57_10382.jpg', '/home/pi/Desktop/images/06042025/18/12/image_06042025_18_13_06_9471.jpg', '/home/pi/Desktop/images/06042025/18/13/image_06042025_18_13_17_10346.jpg', '/home/pi/Desktop/images/06042025/18/13/image_06042025_18_13_27_10375.jpg', '/home/pi/Desktop/images/06042025/18/13/image_06042025_18_13_36_9443.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/18/12/image_06042025_18_12_46_9429.jpg
/home/pi/Desktop/images/06042025/18/12/image_06042025_18_12_57_10382.jpg
/home/pi/Desktop/images/06042025/18/12/image_06042025_18_13_06_9471.jpg
/home/pi/Desktop/images/06042025/18/13/image_06042025_18_13_17_10346.jpg
/home/pi/Desktop/images/06042025/18/13/image_06042025_18_13_27_10375.jpg
/home/pi/Desktop/images/06042025/18/13/image_06042025_18_13_36_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":["1351408223","1351408252","1351408219","1351408228","1351408236","1351408239"],"photo_ids_order":["1351408219","1351408223","1351408228","1351408236","1351408239","1351408252"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c0d3de09bc8cb220afb949e419cb5ec9.jpg","text":"TemporaryFile(/tmp/multipartBody2106409851458839927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330654372,"filename":"image_06042025_18_12_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/11/f18cb942fecbcb5ead98fec5f8c23048.jpg","text":"TemporaryFile(/tmp/multipartBody194342127252316985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330654372,"filename":"image_06042025_18_13_36_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d38f545b3ce87973a5c2f459a765f637.jpg","text":"TemporaryFile(/tmp/multipartBody630268369265426521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330654372,"filename":"image_06042025_18_12_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/11/cd4056bcc5e54741127ea290ad5f772b.jpg","text":"TemporaryFile(/tmp/multipartBody9062861986776884982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330654372,"filename":"image_06042025_18_13_06_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/11/90a8075018777a195d38834c2c79c27c.jpg","text":"TemporaryFile(/tmp/multipartBody6822607390552964367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330654372,"filename":"image_06042025_18_13_17_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0139aa955197ded98474ca9ee955fd4d.jpg","text":"TemporaryFile(/tmp/multipartBody2814986829099857691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330654372,"filename":"image_06042025_18_13_27_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351408228","file1":"1351408223","file0":"1351408219","file4":"1351408239","file5":"1351408252","file3":"1351408236"},"map_files_photo_id_array":[{"photo_id":"1351408252","filename":"file5"},{"photo_id":"1351408228","filename":"file2"},{"photo_id":"1351408239","filename":"file4"},{"photo_id":"1351408223","filename":"file1"},{"photo_id":"1351408219","filename":"file0"},{"photo_id":"1351408236","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351408223":["hashtag1","hashtag2"]},{"1351408252":["hashtag1","hashtag2"]},{"1351408219":["hashtag1","hashtag2"]},{"1351408228":["hashtag1","hashtag2"]},{"1351408236":["hashtag1","hashtag2"]},{"1351408239":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351408223, 1351408252, 1351408219, 1351408228, 1351408236, 1351408239)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.937018632888794 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 02:17:32.952508
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/18/13/image_06042025_18_13_47_10360.jpg', '/home/pi/Desktop/images/06042025/18/13/image_06042025_18_13_56_9470.jpg', '/home/pi/Desktop/images/06042025/18/13/image_06042025_18_14_07_10352.jpg', '/home/pi/Desktop/images/06042025/18/14/image_06042025_18_14_16_9492.jpg', '/home/pi/Desktop/images/06042025/18/14/image_06042025_18_14_26_10364.jpg', '/home/pi/Desktop/images/06042025/18/14/image_06042025_18_14_37_10349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/18/13/image_06042025_18_13_47_10360.jpg
/home/pi/Desktop/images/06042025/18/13/image_06042025_18_13_56_9470.jpg
/home/pi/Desktop/images/06042025/18/13/image_06042025_18_14_07_10352.jpg
/home/pi/Desktop/images/06042025/18/14/image_06042025_18_14_16_9492.jpg
/home/pi/Desktop/images/06042025/18/14/image_06042025_18_14_26_10364.jpg
/home/pi/Desktop/images/06042025/18/14/image_06042025_18_14_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":["1351408556","1351408520","1351408495","1351408468","1351408536","1351408437"],"photo_ids_order":["1351408437","1351408468","1351408495","1351408520","1351408536","1351408556"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/df904abd5e3c81c379cc92f42f85b461.jpg","text":"TemporaryFile(/tmp/multipartBody1370515455627162971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330714621,"filename":"image_06042025_18_14_37_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/cd00962143523c0ff431f4d5b69bd0ea.jpg","text":"TemporaryFile(/tmp/multipartBody4617550545610002959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330714621,"filename":"image_06042025_18_14_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/11/b36688c39e5029dcbe9f47c138e6ed1e.jpg","text":"TemporaryFile(/tmp/multipartBody8165150684132090447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330714621,"filename":"image_06042025_18_14_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/11/01e9ca6a6e6a5efa9ed8ccd7f1bc9cf6.jpg","text":"TemporaryFile(/tmp/multipartBody5328426785058073569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330714621,"filename":"image_06042025_18_13_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/11/1e63fa44a5b81fee480990966271bb3e.jpg","text":"TemporaryFile(/tmp/multipartBody8437786634340447690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330714621,"filename":"image_06042025_18_14_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/11/2d167cabee8a99e68e9a059b9ddcdb0f.jpg","text":"TemporaryFile(/tmp/multipartBody8658424745450822818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330714621,"filename":"image_06042025_18_13_47_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351408495","file1":"1351408468","file0":"1351408437","file4":"1351408536","file5":"1351408556","file3":"1351408520"},"map_files_photo_id_array":[{"photo_id":"1351408556","filename":"file5"},{"photo_id":"1351408495","filename":"file2"},{"photo_id":"1351408536","filename":"file4"},{"photo_id":"1351408468","filename":"file1"},{"photo_id":"1351408437","filename":"file0"},{"photo_id":"1351408520","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351408556":["hashtag1","hashtag2"]},{"1351408520":["hashtag1","hashtag2"]},{"1351408495":["hashtag1","hashtag2"]},{"1351408468":["hashtag1","hashtag2"]},{"1351408536":["hashtag1","hashtag2"]},{"1351408437":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351408556, 1351408520, 1351408495, 1351408468, 1351408536, 1351408437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.977450370788574 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 02:18:33.186694
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/18/14/image_06042025_18_14_46_9363.jpg', '/home/pi/Desktop/images/06042025/18/14/image_06042025_18_14_57_10366.jpg', '/home/pi/Desktop/images/06042025/18/14/image_06042025_18_15_07_10339.jpg', '/home/pi/Desktop/images/06042025/18/15/image_06042025_18_15_16_9343.jpg', '/home/pi/Desktop/images/06042025/18/15/image_06042025_18_15_27_10364.jpg', '/home/pi/Desktop/images/06042025/18/15/image_06042025_18_15_37_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/18/14/image_06042025_18_14_46_9363.jpg
/home/pi/Desktop/images/06042025/18/14/image_06042025_18_14_57_10366.jpg
/home/pi/Desktop/images/06042025/18/14/image_06042025_18_15_07_10339.jpg
/home/pi/Desktop/images/06042025/18/15/image_06042025_18_15_16_9343.jpg
/home/pi/Desktop/images/06042025/18/15/image_06042025_18_15_27_10364.jpg
/home/pi/Desktop/images/06042025/18/15/image_06042025_18_15_37_10352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351408850","1351408874","1351408759","1351408794","1351408878","1351408883"],"photo_ids_order":["1351408759","1351408794","1351408850","1351408874","1351408878","1351408883"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7a93ebc0365e4496af9f9cd09b3f8f63.jpg","text":"TemporaryFile(/tmp/multipartBody5569126006087552532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330774858,"filename":"image_06042025_18_15_07_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8c53a7d56beff0c2117ca891748cdd5d.jpg","text":"TemporaryFile(/tmp/multipartBody4271393265681063506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330774858,"filename":"image_06042025_18_15_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/11/d0306882a0e1b57e8e17ba46257d28a8.jpg","text":"TemporaryFile(/tmp/multipartBody6936893840026231806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330774858,"filename":"image_06042025_18_14_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/11/3eff855ce6e3a3a151a75b3c7d7a3486.jpg","text":"TemporaryFile(/tmp/multipartBody6146196122975457709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330774858,"filename":"image_06042025_18_14_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/11/a5e919a2487080399460a870f330df21.jpg","text":"TemporaryFile(/tmp/multipartBody279268759861148272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330774858,"filename":"image_06042025_18_15_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/11/59ff0ab1a6bc6933d3f1dca6ca7a2d5d.jpg","text":"TemporaryFile(/tmp/multipartBody1444024357002602721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330774858,"filename":"image_06042025_18_15_37_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351408850","file1":"1351408794","file0":"1351408759","file4":"1351408878","file5":"1351408883","file3":"1351408874"},"map_files_photo_id_array":[{"photo_id":"1351408883","filename":"file5"},{"photo_id":"1351408850","filename":"file2"},{"photo_id":"1351408878","filename":"file4"},{"photo_id":"1351408794","filename":"file1"},{"photo_id":"1351408759","filename":"file0"},{"photo_id":"1351408874","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351408850":["hashtag1","hashtag2"]},{"1351408874":["hashtag1","hashtag2"]},{"1351408759":["hashtag1","hashtag2"]},{"1351408794":["hashtag1","hashtag2"]},{"1351408878":["hashtag1","hashtag2"]},{"1351408883":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351408850, 1351408874, 1351408759, 1351408794, 1351408878, 1351408883)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.56872224807739 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 02:19:32.307119
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/18/15/image_06042025_18_15_46_9393.jpg', '/home/pi/Desktop/images/06042025/18/15/image_06042025_18_15_57_10367.jpg', '/home/pi/Desktop/images/06042025/18/15/image_06042025_18_16_06_9481.jpg', '/home/pi/Desktop/images/06042025/18/16/image_06042025_18_16_17_10344.jpg', '/home/pi/Desktop/images/06042025/18/16/image_06042025_18_16_27_10382.jpg', '/home/pi/Desktop/images/06042025/18/16/image_06042025_18_16_37_9718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/18/15/image_06042025_18_15_46_9393.jpg
/home/pi/Desktop/images/06042025/18/15/image_06042025_18_15_57_10367.jpg
/home/pi/Desktop/images/06042025/18/15/image_06042025_18_16_06_9481.jpg
/home/pi/Desktop/images/06042025/18/16/image_06042025_18_16_17_10344.jpg
/home/pi/Desktop/images/06042025/18/16/image_06042025_18_16_27_10382.jpg
/home/pi/Desktop/images/06042025/18/16/image_06042025_18_16_37_9718.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351408946","1351409003","1351409044","1351409113","1351409085","1351408977"],"photo_ids_order":["1351408946","1351408977","1351409003","1351409044","1351409085","1351409113"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/efca17dc2909adde1ca0223708b1e0b8.jpg","text":"TemporaryFile(/tmp/multipartBody5885788072754389531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330833992,"filename":"image_06042025_18_15_46_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/11/5bf3c88d903ff0c16b17c800e06fbd4b.jpg","text":"TemporaryFile(/tmp/multipartBody8585145856650458524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330833992,"filename":"image_06042025_18_16_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/11/409d23a46c61424d05e59d45a15c739e.jpg","text":"TemporaryFile(/tmp/multipartBody8784598477352751686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330833992,"filename":"image_06042025_18_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/11/c381016ee5cef620639908c5f780fa62.jpg","text":"TemporaryFile(/tmp/multipartBody380994899372897016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330833992,"filename":"image_06042025_18_16_37_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/11/ec4732d19573837151bbdd2d656ecbef.jpg","text":"TemporaryFile(/tmp/multipartBody4200422500268296405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330833992,"filename":"image_06042025_18_16_27_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7904ef7372baf7d4f3c43554d9185c6e.jpg","text":"TemporaryFile(/tmp/multipartBody8969549114186716452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330833992,"filename":"image_06042025_18_15_57_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351409003","file1":"1351408977","file0":"1351408946","file4":"1351409085","file5":"1351409113","file3":"1351409044"},"map_files_photo_id_array":[{"photo_id":"1351409113","filename":"file5"},{"photo_id":"1351409003","filename":"file2"},{"photo_id":"1351409085","filename":"file4"},{"photo_id":"1351408977","filename":"file1"},{"photo_id":"1351408946","filename":"file0"},{"photo_id":"1351409044","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351408946":["hashtag1","hashtag2"]},{"1351409003":["hashtag1","hashtag2"]},{"1351409044":["hashtag1","hashtag2"]},{"1351409113":["hashtag1","hashtag2"]},{"1351409085":["hashtag1","hashtag2"]},{"1351408977":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351408946, 1351409003, 1351409044, 1351409113, 1351409085, 1351408977)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.85572838783264 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 02:20:32.557573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/18/16/image_06042025_18_16_47_10359.jpg', '/home/pi/Desktop/images/06042025/18/16/image_06042025_18_17_07_10347.jpg', '/home/pi/Desktop/images/06042025/18/17/image_06042025_18_17_16_9455.jpg', '/home/pi/Desktop/images/06042025/18/17/image_06042025_18_17_27_10453.jpg', '/home/pi/Desktop/images/06042025/18/17/image_06042025_18_17_36_9458.jpg', '/home/pi/Desktop/images/06042025/18/17/image_06042025_18_17_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/18/16/image_06042025_18_16_47_10359.jpg
/home/pi/Desktop/images/06042025/18/16/image_06042025_18_17_07_10347.jpg
/home/pi/Desktop/images/06042025/18/17/image_06042025_18_17_16_9455.jpg
/home/pi/Desktop/images/06042025/18/17/image_06042025_18_17_27_10453.jpg
/home/pi/Desktop/images/06042025/18/17/image_06042025_18_17_36_9458.jpg
/home/pi/Desktop/images/06042025/18/17/image_06042025_18_17_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":["1351409321","1351409284","1351409212","1351409346","1351409340","1351409162"],"photo_ids_order":["1351409162","1351409212","1351409284","1351409321","1351409340","1351409346"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2f199d1978afbf4dd789249e59d8a337.jpg","text":"TemporaryFile(/tmp/multipartBody8830014252335337037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330894251,"filename":"image_06042025_18_17_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/11/8c7580199e9dc856b0105801859a5d67.jpg","text":"TemporaryFile(/tmp/multipartBody7826927644424084591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330894251,"filename":"image_06042025_18_17_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/11/26b4647cc7ce9a9aa22b4d1e8ddf9b6e.jpg","text":"TemporaryFile(/tmp/multipartBody5586856202997190439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330894251,"filename":"image_06042025_18_17_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/11/21c31e5a5a335470949a22acf0689c6f.jpg","text":"TemporaryFile(/tmp/multipartBody7931525335141817967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330894251,"filename":"image_06042025_18_17_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/11/f5501a8a0ae26f1a7df2dad24800597c.jpg","text":"TemporaryFile(/tmp/multipartBody3119911253267150806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330894251,"filename":"image_06042025_18_17_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/11/af7bd0ea3faa4fd6e9218c69222641cc.jpg","text":"TemporaryFile(/tmp/multipartBody1511810374588040814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330894251,"filename":"image_06042025_18_16_47_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351409284","file1":"1351409212","file0":"1351409162","file4":"1351409340","file5":"1351409346","file3":"1351409321"},"map_files_photo_id_array":[{"photo_id":"1351409346","filename":"file5"},{"photo_id":"1351409284","filename":"file2"},{"photo_id":"1351409340","filename":"file4"},{"photo_id":"1351409212","filename":"file1"},{"photo_id":"1351409162","filename":"file0"},{"photo_id":"1351409321","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351409321":["hashtag1","hashtag2"]},{"1351409284":["hashtag1","hashtag2"]},{"1351409212":["hashtag1","hashtag2"]},{"1351409346":["hashtag1","hashtag2"]},{"1351409340":["hashtag1","hashtag2"]},{"1351409162":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351409321, 1351409284, 1351409212, 1351409346, 1351409340, 1351409162)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.13984513282776 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 02:21:32.881505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/18/17/image_06042025_18_17_57_10360.jpg', '/home/pi/Desktop/images/06042025/18/17/image_06042025_18_18_06_9394.jpg', '/home/pi/Desktop/images/06042025/18/18/image_06042025_18_18_17_10356.jpg', '/home/pi/Desktop/images/06042025/18/18/image_06042025_18_18_27_10383.jpg', '/home/pi/Desktop/images/06042025/18/18/image_06042025_18_18_36_9448.jpg', '/home/pi/Desktop/images/06042025/18/18/image_06042025_18_18_47_10348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/18/17/image_06042025_18_17_57_10360.jpg
/home/pi/Desktop/images/06042025/18/17/image_06042025_18_18_06_9394.jpg
/home/pi/Desktop/images/06042025/18/18/image_06042025_18_18_17_10356.jpg
/home/pi/Desktop/images/06042025/18/18/image_06042025_18_18_27_10383.jpg
/home/pi/Desktop/images/06042025/18/18/image_06042025_18_18_36_9448.jpg
/home/pi/Desktop/images/06042025/18/18/image_06042025_18_18_47_10348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351409510","1351409481","1351409616","1351409430","1351409594","1351409540"],"photo_ids_order":["1351409430","1351409481","1351409510","1351409540","1351409594","1351409616"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/fe2a09fce2acdbc5de8fa9520e4fef6e.jpg","text":"TemporaryFile(/tmp/multipartBody5239744801108252479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330954549,"filename":"image_06042025_18_18_17_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/911fed0337eeefef2e14203a76b2c014.jpg","text":"TemporaryFile(/tmp/multipartBody3279457061800364034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330954549,"filename":"image_06042025_18_18_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/11/864c6382666944676168392b1113a7c2.jpg","text":"TemporaryFile(/tmp/multipartBody5793943393253470659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330954549,"filename":"image_06042025_18_18_47_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f7d2455e8ad3790ece2335ed47906b97.jpg","text":"TemporaryFile(/tmp/multipartBody9215203009541501507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330954549,"filename":"image_06042025_18_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/11/04763e86f2630c3eb69b88040663766f.jpg","text":"TemporaryFile(/tmp/multipartBody5818041816235942169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330954549,"filename":"image_06042025_18_18_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/11/707159c8b4a119d891789c33823a8448.jpg","text":"TemporaryFile(/tmp/multipartBody3068277776001828271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744330954549,"filename":"image_06042025_18_18_27_10383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351409510","file1":"1351409481","file0":"1351409430","file4":"1351409594","file5":"1351409616","file3":"1351409540"},"map_files_photo_id_array":[{"photo_id":"1351409616","filename":"file5"},{"photo_id":"1351409510","filename":"file2"},{"photo_id":"1351409594","filename":"file4"},{"photo_id":"1351409481","filename":"file1"},{"photo_id":"1351409430","filename":"file0"},{"photo_id":"1351409540","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351409510":["hashtag1","hashtag2"]},{"1351409481":["hashtag1","hashtag2"]},{"1351409616":["hashtag1","hashtag2"]},{"1351409430":["hashtag1","hashtag2"]},{"1351409594":["hashtag1","hashtag2"]},{"1351409540":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351409510, 1351409481, 1351409616, 1351409430, 1351409594, 1351409540)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.321566343307495 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 02:22:32.981121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/18/18/image_06042025_18_18_56_9357.jpg', '/home/pi/Desktop/images/06042025/18/18/image_06042025_18_19_07_10455.jpg', '/home/pi/Desktop/images/06042025/18/19/image_06042025_18_19_17_10354.jpg', '/home/pi/Desktop/images/06042025/18/19/image_06042025_18_19_26_9463.jpg', '/home/pi/Desktop/images/06042025/18/19/image_06042025_18_19_37_10363.jpg', '/home/pi/Desktop/images/06042025/18/19/image_06042025_18_19_46_9452.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/18/18/image_06042025_18_18_56_9357.jpg
/home/pi/Desktop/images/06042025/18/18/image_06042025_18_19_07_10455.jpg
/home/pi/Desktop/images/06042025/18/19/image_06042025_18_19_17_10354.jpg
/home/pi/Desktop/images/06042025/18/19/image_06042025_18_19_26_9463.jpg
/home/pi/Desktop/images/06042025/18/19/image_06042025_18_19_37_10363.jpg
/home/pi/Desktop/images/06042025/18/19/image_06042025_18_19_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":["1351409756","1351409746","1351409731","1351409751","1351409769","1351409760"],"photo_ids_order":["1351409731","1351409746","1351409751","1351409756","1351409760","1351409769"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b0acf56e98bad2fd314b85ad68f71cda.jpg","text":"TemporaryFile(/tmp/multipartBody7969234673351869996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331014657,"filename":"image_06042025_18_19_26_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/11/eb7d79e9ab3c7808147ec308ca97eb18.jpg","text":"TemporaryFile(/tmp/multipartBody2461319960405237453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331014657,"filename":"image_06042025_18_19_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/11/d18ae4f99000c37a37a10972fe827c06.jpg","text":"TemporaryFile(/tmp/multipartBody2621941802642806322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331014657,"filename":"image_06042025_18_18_56_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e688e43c9ed82c0e460fd0924d39d58f.jpg","text":"TemporaryFile(/tmp/multipartBody6115932657120101109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331014657,"filename":"image_06042025_18_19_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/11/d9f6cdae1749f762b87ec5e5d78c163c.jpg","text":"TemporaryFile(/tmp/multipartBody728623665132091289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331014657,"filename":"image_06042025_18_19_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/11/198289762ae114be5c3dbfb151ccffd4.jpg","text":"TemporaryFile(/tmp/multipartBody5977567769663403475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331014657,"filename":"image_06042025_18_19_37_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351409751","file1":"1351409746","file0":"1351409731","file4":"1351409760","file5":"1351409769","file3":"1351409756"},"map_files_photo_id_array":[{"photo_id":"1351409769","filename":"file5"},{"photo_id":"1351409751","filename":"file2"},{"photo_id":"1351409760","filename":"file4"},{"photo_id":"1351409746","filename":"file1"},{"photo_id":"1351409731","filename":"file0"},{"photo_id":"1351409756","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351409756":["hashtag1","hashtag2"]},{"1351409746":["hashtag1","hashtag2"]},{"1351409731":["hashtag1","hashtag2"]},{"1351409751":["hashtag1","hashtag2"]},{"1351409769":["hashtag1","hashtag2"]},{"1351409760":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351409756, 1351409746, 1351409731, 1351409751, 1351409769, 1351409760)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.560468673706055 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 02:23:32.203947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/18/19/image_06042025_18_19_57_10343.jpg', '/home/pi/Desktop/images/06042025/18/19/image_06042025_18_20_07_10412.jpg', '/home/pi/Desktop/images/06042025/18/20/image_06042025_18_20_27_10453.jpg', '/home/pi/Desktop/images/06042025/18/20/image_06042025_18_20_36_9366.jpg', '/home/pi/Desktop/images/06042025/18/20/image_06042025_18_20_47_10350.jpg', '/home/pi/Desktop/images/06042025/18/20/image_06042025_18_20_57_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/18/19/image_06042025_18_19_57_10343.jpg
/home/pi/Desktop/images/06042025/18/19/image_06042025_18_20_07_10412.jpg
/home/pi/Desktop/images/06042025/18/20/image_06042025_18_20_27_10453.jpg
/home/pi/Desktop/images/06042025/18/20/image_06042025_18_20_36_9366.jpg
/home/pi/Desktop/images/06042025/18/20/image_06042025_18_20_47_10350.jpg
/home/pi/Desktop/images/06042025/18/20/image_06042025_18_20_57_10355.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.591862678527832 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 02:23:42.196414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/18/19/image_06042025_18_19_57_10343.jpg', '/home/pi/Desktop/images/06042025/18/19/image_06042025_18_20_07_10412.jpg', '/home/pi/Desktop/images/06042025/18/20/image_06042025_18_20_27_10453.jpg', '/home/pi/Desktop/images/06042025/18/20/image_06042025_18_20_36_9366.jpg', '/home/pi/Desktop/images/06042025/18/20/image_06042025_18_20_47_10350.jpg', '/home/pi/Desktop/images/06042025/18/20/image_06042025_18_20_57_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/18/19/image_06042025_18_19_57_10343.jpg
/home/pi/Desktop/images/06042025/18/19/image_06042025_18_20_07_10412.jpg
/home/pi/Desktop/images/06042025/18/20/image_06042025_18_20_27_10453.jpg
/home/pi/Desktop/images/06042025/18/20/image_06042025_18_20_36_9366.jpg
/home/pi/Desktop/images/06042025/18/20/image_06042025_18_20_47_10350.jpg
/home/pi/Desktop/images/06042025/18/20/image_06042025_18_20_57_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":["1351410012","1351409933","1351409986","1351409964","1351409943","1351409925"],"photo_ids_order":["1351409925","1351409933","1351409943","1351409964","1351409986","1351410012"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ef8aba11151ab3cbf96905475bd1714d.jpg","text":"TemporaryFile(/tmp/multipartBody6241371866410931382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331082943,"filename":"image_06042025_18_20_57_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/cdcfdbe2c16a801fec164a9d0420968b.jpg","text":"TemporaryFile(/tmp/multipartBody9075913701657514796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331082943,"filename":"image_06042025_18_20_07_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1531e80116d620d4d47c6156f8bb3100.jpg","text":"TemporaryFile(/tmp/multipartBody8862407486033980661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331082943,"filename":"image_06042025_18_20_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/11/8158f3b04af29e162762a2abba54dc03.jpg","text":"TemporaryFile(/tmp/multipartBody8989866114405057935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331082943,"filename":"image_06042025_18_20_36_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/11/8bfe57350a5aba7f5388af697511e12a.jpg","text":"TemporaryFile(/tmp/multipartBody724607616007851030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331082943,"filename":"image_06042025_18_20_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/11/bc2985ac06c793a28ad08276977e1a4a.jpg","text":"TemporaryFile(/tmp/multipartBody64466324065716253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331082943,"filename":"image_06042025_18_19_57_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351409943","file1":"1351409933","file0":"1351409925","file4":"1351409986","file5":"1351410012","file3":"1351409964"},"map_files_photo_id_array":[{"photo_id":"1351410012","filename":"file5"},{"photo_id":"1351409943","filename":"file2"},{"photo_id":"1351409986","filename":"file4"},{"photo_id":"1351409933","filename":"file1"},{"photo_id":"1351409925","filename":"file0"},{"photo_id":"1351409964","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351410012":["hashtag1","hashtag2"]},{"1351409933":["hashtag1","hashtag2"]},{"1351409986":["hashtag1","hashtag2"]},{"1351409964":["hashtag1","hashtag2"]},{"1351409943":["hashtag1","hashtag2"]},{"1351409925":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351410012, 1351409933, 1351409986, 1351409964, 1351409943, 1351409925)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.568042039871216 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 02:24:32.388772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/18/20/image_06042025_18_21_06_9376.jpg', '/home/pi/Desktop/images/06042025/18/21/image_06042025_18_21_17_10376.jpg', '/home/pi/Desktop/images/06042025/18/21/image_06042025_18_21_26_9413.jpg', '/home/pi/Desktop/images/06042025/18/21/image_06042025_18_21_36_10359.jpg', '/home/pi/Desktop/images/06042025/18/21/image_06042025_18_21_47_10350.jpg', '/home/pi/Desktop/images/06042025/18/21/image_06042025_18_21_56_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/18/20/image_06042025_18_21_06_9376.jpg
/home/pi/Desktop/images/06042025/18/21/image_06042025_18_21_17_10376.jpg
/home/pi/Desktop/images/06042025/18/21/image_06042025_18_21_26_9413.jpg
/home/pi/Desktop/images/06042025/18/21/image_06042025_18_21_36_10359.jpg
/home/pi/Desktop/images/06042025/18/21/image_06042025_18_21_47_10350.jpg
/home/pi/Desktop/images/06042025/18/21/image_06042025_18_21_56_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":["1351410152","1351410376","1351410199","1351410363","1351410108","1351410321"],"photo_ids_order":["1351410108","1351410152","1351410199","1351410321","1351410363","1351410376"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1a42a6dde5272668ab4da7650a0cecad.jpg","text":"TemporaryFile(/tmp/multipartBody665358167142516609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331134155,"filename":"image_06042025_18_21_17_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/cd1cd169cd99031b9eca7f3453e8977a.jpg","text":"TemporaryFile(/tmp/multipartBody8293898249466800154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331134155,"filename":"image_06042025_18_21_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/11/fa07399999a04ec05bcb2815080cc67e.jpg","text":"TemporaryFile(/tmp/multipartBody7269322887585192416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331134155,"filename":"image_06042025_18_21_26_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/18b3b30b86c0cde2e9d9d9a419c067a8.jpg","text":"TemporaryFile(/tmp/multipartBody5112401414010277247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331134155,"filename":"image_06042025_18_21_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/11/bf2b9bf0ac17696374e619247f7be8d2.jpg","text":"TemporaryFile(/tmp/multipartBody4671076123668194513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331134155,"filename":"image_06042025_18_21_06_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/270a0a5da2ded9d59ba9e624860869c4.jpg","text":"TemporaryFile(/tmp/multipartBody4279407375839103312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331134155,"filename":"image_06042025_18_21_36_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351410199","file1":"1351410152","file0":"1351410108","file4":"1351410363","file5":"1351410376","file3":"1351410321"},"map_files_photo_id_array":[{"photo_id":"1351410376","filename":"file5"},{"photo_id":"1351410199","filename":"file2"},{"photo_id":"1351410363","filename":"file4"},{"photo_id":"1351410152","filename":"file1"},{"photo_id":"1351410108","filename":"file0"},{"photo_id":"1351410321","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351410152":["hashtag1","hashtag2"]},{"1351410376":["hashtag1","hashtag2"]},{"1351410199":["hashtag1","hashtag2"]},{"1351410363":["hashtag1","hashtag2"]},{"1351410108":["hashtag1","hashtag2"]},{"1351410321":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351410152, 1351410376, 1351410199, 1351410363, 1351410108, 1351410321)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.8498113155365 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 02:25:32.642604
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/18/21/image_06042025_18_22_07_10351.jpg', '/home/pi/Desktop/images/06042025/18/22/image_06042025_18_22_17_10338.jpg', '/home/pi/Desktop/images/06042025/18/22/image_06042025_18_22_26_9413.jpg', '/home/pi/Desktop/images/06042025/18/22/image_06042025_18_22_37_10348.jpg', '/home/pi/Desktop/images/06042025/18/22/image_06042025_18_22_47_10344.jpg', '/home/pi/Desktop/images/06042025/18/22/image_06042025_18_22_56_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/18/21/image_06042025_18_22_07_10351.jpg
/home/pi/Desktop/images/06042025/18/22/image_06042025_18_22_17_10338.jpg
/home/pi/Desktop/images/06042025/18/22/image_06042025_18_22_26_9413.jpg
/home/pi/Desktop/images/06042025/18/22/image_06042025_18_22_37_10348.jpg
/home/pi/Desktop/images/06042025/18/22/image_06042025_18_22_47_10344.jpg
/home/pi/Desktop/images/06042025/18/22/image_06042025_18_22_56_9442.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351410466","1351410430","1351410517","1351410417","1351410447","1351410497"],"photo_ids_order":["1351410417","1351410430","1351410447","1351410466","1351410497","1351410517"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/20ba3470b9eb33c55c421f1cb17d7218.jpg","text":"TemporaryFile(/tmp/multipartBody4396765875622306187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331194327,"filename":"image_06042025_18_22_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/11/85eb98c0eb3876e85ea74406194e4c9a.jpg","text":"TemporaryFile(/tmp/multipartBody2261935319714624621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331194327,"filename":"image_06042025_18_22_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/11/7bfde863118f7a7231f9d35d88031319.jpg","text":"TemporaryFile(/tmp/multipartBody2222553894106762772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331194327,"filename":"image_06042025_18_22_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/11/260b6b9953a6e58bb8b4dac19badbc03.jpg","text":"TemporaryFile(/tmp/multipartBody4067845233534048494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331194327,"filename":"image_06042025_18_22_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/11/6d7a17748da4f2f5979b6ec3290e0d5b.jpg","text":"TemporaryFile(/tmp/multipartBody1414092736743015571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331194327,"filename":"image_06042025_18_22_26_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c7a1681b8119b8f36091f59f2daa6c54.jpg","text":"TemporaryFile(/tmp/multipartBody5811623217502542254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331194327,"filename":"image_06042025_18_22_47_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351410447","file1":"1351410430","file0":"1351410417","file4":"1351410497","file5":"1351410517","file3":"1351410466"},"map_files_photo_id_array":[{"photo_id":"1351410517","filename":"file5"},{"photo_id":"1351410447","filename":"file2"},{"photo_id":"1351410497","filename":"file4"},{"photo_id":"1351410430","filename":"file1"},{"photo_id":"1351410417","filename":"file0"},{"photo_id":"1351410466","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351410466":["hashtag1","hashtag2"]},{"1351410430":["hashtag1","hashtag2"]},{"1351410517":["hashtag1","hashtag2"]},{"1351410417":["hashtag1","hashtag2"]},{"1351410447":["hashtag1","hashtag2"]},{"1351410497":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351410466, 1351410430, 1351410517, 1351410417, 1351410447, 1351410497)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.697097063064575 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 02:26:32.935257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/18/23/image_06042025_18_23_16_9446.jpg', '/home/pi/Desktop/images/06042025/18/23/image_06042025_18_23_46_9533.jpg', '/home/pi/Desktop/images/06042025/18/23/image_06042025_18_23_57_10388.jpg', '/home/pi/Desktop/images/06042025/18/23/image_06042025_18_24_06_9354.jpg', '/home/pi/Desktop/images/06042025/18/24/image_06042025_18_24_17_10825.jpg', '/home/pi/Desktop/images/06042025/18/24/image_06042025_18_24_26_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/18/23/image_06042025_18_23_16_9446.jpg
/home/pi/Desktop/images/06042025/18/23/image_06042025_18_23_46_9533.jpg
/home/pi/Desktop/images/06042025/18/23/image_06042025_18_23_57_10388.jpg
/home/pi/Desktop/images/06042025/18/23/image_06042025_18_24_06_9354.jpg
/home/pi/Desktop/images/06042025/18/24/image_06042025_18_24_17_10825.jpg
/home/pi/Desktop/images/06042025/18/24/image_06042025_18_24_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":["1351410574","1351410591","1351410585","1351410594","1351410588","1351410581"],"photo_ids_order":["1351410574","1351410581","1351410585","1351410588","1351410591","1351410594"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4fcdf7e7d2b8d78ba5462bcd3cfae68e.jpg","text":"TemporaryFile(/tmp/multipartBody195146649121154128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331254612,"filename":"image_06042025_18_23_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/11/534995bfaf2465a5c4e4feda3ab4b261.jpg","text":"TemporaryFile(/tmp/multipartBody6444038124595283199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331254612,"filename":"image_06042025_18_24_17_10825.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/44e45ca8f1651247b4e8f7e506d0adc9.jpg","text":"TemporaryFile(/tmp/multipartBody4042231945963200628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331254612,"filename":"image_06042025_18_23_57_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f50e082140821e84418714a6236450aa.jpg","text":"TemporaryFile(/tmp/multipartBody5942544936581351489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331254612,"filename":"image_06042025_18_24_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/11/ebdb8656d54aa713aab3b616df16ed2d.jpg","text":"TemporaryFile(/tmp/multipartBody8973132008869543546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331254612,"filename":"image_06042025_18_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/11/859e6ec01243b66e85d19da72a07f276.jpg","text":"TemporaryFile(/tmp/multipartBody3955759638775771908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331254612,"filename":"image_06042025_18_23_46_9533.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351410585","file1":"1351410581","file0":"1351410574","file4":"1351410591","file5":"1351410594","file3":"1351410588"},"map_files_photo_id_array":[{"photo_id":"1351410594","filename":"file5"},{"photo_id":"1351410585","filename":"file2"},{"photo_id":"1351410591","filename":"file4"},{"photo_id":"1351410581","filename":"file1"},{"photo_id":"1351410574","filename":"file0"},{"photo_id":"1351410588","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351410574":["hashtag1","hashtag2"]},{"1351410591":["hashtag1","hashtag2"]},{"1351410585":["hashtag1","hashtag2"]},{"1351410594":["hashtag1","hashtag2"]},{"1351410588":["hashtag1","hashtag2"]},{"1351410581":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351410574, 1351410591, 1351410585, 1351410594, 1351410588, 1351410581)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.98570132255554 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 02:27:32.152409
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/18/24/image_06042025_18_24_37_10460.jpg', '/home/pi/Desktop/images/06042025/18/24/image_06042025_18_24_46_9362.jpg', '/home/pi/Desktop/images/06042025/18/24/image_06042025_18_24_57_10341.jpg', '/home/pi/Desktop/images/06042025/18/25/image_06042025_18_25_16_9343.jpg', '/home/pi/Desktop/images/06042025/18/25/image_06042025_18_25_27_10358.jpg', '/home/pi/Desktop/images/06042025/18/25/image_06042025_18_25_36_9490.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/18/24/image_06042025_18_24_37_10460.jpg
/home/pi/Desktop/images/06042025/18/24/image_06042025_18_24_46_9362.jpg
/home/pi/Desktop/images/06042025/18/24/image_06042025_18_24_57_10341.jpg
/home/pi/Desktop/images/06042025/18/25/image_06042025_18_25_16_9343.jpg
/home/pi/Desktop/images/06042025/18/25/image_06042025_18_25_27_10358.jpg
/home/pi/Desktop/images/06042025/18/25/image_06042025_18_25_36_9490.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351410851","1351410880","1351410934","1351410913","1351410894","1351410819"],"photo_ids_order":["1351410819","1351410851","1351410880","1351410894","1351410913","1351410934"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/eae8b6c0c65b39751bb97773f8c8d64b.jpg","text":"TemporaryFile(/tmp/multipartBody8637805067630139172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331313843,"filename":"image_06042025_18_24_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/11/61f359f8f328a1ccd705240757f8063d.jpg","text":"TemporaryFile(/tmp/multipartBody1457024940889510089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331313843,"filename":"image_06042025_18_24_57_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/244f7236bb1566823cf5e9b1fc13898d.jpg","text":"TemporaryFile(/tmp/multipartBody2649996252480295988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331313843,"filename":"image_06042025_18_25_36_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/11/1d5a3ef83c0fa3a074eefd4783eb46cb.jpg","text":"TemporaryFile(/tmp/multipartBody8634845804079812739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331313843,"filename":"image_06042025_18_25_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/11/50c01b01200c4860bb1d3fdea8909169.jpg","text":"TemporaryFile(/tmp/multipartBody3633508298349789884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331313843,"filename":"image_06042025_18_25_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/11/e7babcb5d03a04819a33f94ff8082264.jpg","text":"TemporaryFile(/tmp/multipartBody6721150333218653794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331313843,"filename":"image_06042025_18_24_37_10460.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351410880","file1":"1351410851","file0":"1351410819","file4":"1351410913","file5":"1351410934","file3":"1351410894"},"map_files_photo_id_array":[{"photo_id":"1351410934","filename":"file5"},{"photo_id":"1351410880","filename":"file2"},{"photo_id":"1351410913","filename":"file4"},{"photo_id":"1351410851","filename":"file1"},{"photo_id":"1351410819","filename":"file0"},{"photo_id":"1351410894","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351410851":["hashtag1","hashtag2"]},{"1351410880":["hashtag1","hashtag2"]},{"1351410934":["hashtag1","hashtag2"]},{"1351410913":["hashtag1","hashtag2"]},{"1351410894":["hashtag1","hashtag2"]},{"1351410819":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351410851, 1351410880, 1351410934, 1351410913, 1351410894, 1351410819)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.23298454284668 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 02:28:32.405221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/18/25/image_06042025_18_25_57_10418.jpg', '/home/pi/Desktop/images/06042025/18/26/image_06042025_18_26_47_10350.jpg', '/home/pi/Desktop/images/06042025/18/26/image_06042025_18_26_56_9356.jpg', '/home/pi/Desktop/images/06042025/18/26/image_06042025_18_27_07_10431.jpg', '/home/pi/Desktop/images/06042025/18/27/image_06042025_18_27_26_9428.jpg', '/home/pi/Desktop/images/06042025/18/27/image_06042025_18_27_37_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/18/25/image_06042025_18_25_57_10418.jpg
/home/pi/Desktop/images/06042025/18/26/image_06042025_18_26_47_10350.jpg
/home/pi/Desktop/images/06042025/18/26/image_06042025_18_26_56_9356.jpg
/home/pi/Desktop/images/06042025/18/26/image_06042025_18_27_07_10431.jpg
/home/pi/Desktop/images/06042025/18/27/image_06042025_18_27_26_9428.jpg
/home/pi/Desktop/images/06042025/18/27/image_06042025_18_27_37_10346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351411028","1351411057","1351411039","1351411060","1351411080","1351411052"],"photo_ids_order":["1351411028","1351411039","1351411052","1351411057","1351411060","1351411080"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/de15c3abd90a95856e003d4cf9fe5550.jpg","text":"TemporaryFile(/tmp/multipartBody7118295631824767094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331374095,"filename":"image_06042025_18_25_57_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/11/b2da7627fc2c99a568f904922387bd85.jpg","text":"TemporaryFile(/tmp/multipartBody8255244978473481831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331374095,"filename":"image_06042025_18_27_07_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7dbc9f0cceb316fed19d0fd69e633db9.jpg","text":"TemporaryFile(/tmp/multipartBody2837566296759947011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331374095,"filename":"image_06042025_18_26_47_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/37e59238044951f3e6e6a0b2a0b1e088.jpg","text":"TemporaryFile(/tmp/multipartBody5489238548179813322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331374095,"filename":"image_06042025_18_27_26_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f0eff161847eabafb9d3955d22c1348f.jpg","text":"TemporaryFile(/tmp/multipartBody5037886471759835476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331374095,"filename":"image_06042025_18_27_37_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b82d9664c3010427835a1e595a8b2234.jpg","text":"TemporaryFile(/tmp/multipartBody4523263668647838770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331374095,"filename":"image_06042025_18_26_56_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351411052","file1":"1351411039","file0":"1351411028","file4":"1351411060","file5":"1351411080","file3":"1351411057"},"map_files_photo_id_array":[{"photo_id":"1351411080","filename":"file5"},{"photo_id":"1351411052","filename":"file2"},{"photo_id":"1351411060","filename":"file4"},{"photo_id":"1351411039","filename":"file1"},{"photo_id":"1351411028","filename":"file0"},{"photo_id":"1351411057","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351411028":["hashtag1","hashtag2"]},{"1351411057":["hashtag1","hashtag2"]},{"1351411039":["hashtag1","hashtag2"]},{"1351411060":["hashtag1","hashtag2"]},{"1351411080":["hashtag1","hashtag2"]},{"1351411052":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351411028, 1351411057, 1351411039, 1351411060, 1351411080, 1351411052)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.4677152633667 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 02:29:32.596684
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/18/27/image_06042025_18_27_46_9451.jpg', '/home/pi/Desktop/images/06042025/18/27/image_06042025_18_27_57_10428.jpg', '/home/pi/Desktop/images/06042025/18/27/image_06042025_18_28_07_10344.jpg', '/home/pi/Desktop/images/06042025/18/28/image_06042025_18_28_16_9483.jpg', '/home/pi/Desktop/images/06042025/18/28/image_06042025_18_28_27_10369.jpg', '/home/pi/Desktop/images/06042025/18/28/image_06042025_18_28_36_9432.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/18/27/image_06042025_18_27_46_9451.jpg
/home/pi/Desktop/images/06042025/18/27/image_06042025_18_27_57_10428.jpg
/home/pi/Desktop/images/06042025/18/27/image_06042025_18_28_07_10344.jpg
/home/pi/Desktop/images/06042025/18/28/image_06042025_18_28_16_9483.jpg
/home/pi/Desktop/images/06042025/18/28/image_06042025_18_28_27_10369.jpg
/home/pi/Desktop/images/06042025/18/28/image_06042025_18_28_36_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":["1351411406","1351411418","1351411297","1351411351","1351411324","1351411380"],"photo_ids_order":["1351411297","1351411324","1351411351","1351411380","1351411406","1351411418"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/188a93c8e503050445e98bfc55f3c38d.jpg","text":"TemporaryFile(/tmp/multipartBody6445572896267436135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331434282,"filename":"image_06042025_18_28_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/11/a13adedd4ef9c5aba74fc90f3563af36.jpg","text":"TemporaryFile(/tmp/multipartBody2740306376419952639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331434282,"filename":"image_06042025_18_28_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/11/d7e3afc0fc6471a373fd7e3d27315ee7.jpg","text":"TemporaryFile(/tmp/multipartBody1766865963306063656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331434282,"filename":"image_06042025_18_27_46_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/61d87bb8125c84e74263096e12b40484.jpg","text":"TemporaryFile(/tmp/multipartBody6233408524654680256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331434282,"filename":"image_06042025_18_28_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/11/601b429bfd8f58c66d13b11bd8ebfcb6.jpg","text":"TemporaryFile(/tmp/multipartBody230010999674035764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331434282,"filename":"image_06042025_18_27_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/11/b3fe314a80b76f856a96ba264a03da04.jpg","text":"TemporaryFile(/tmp/multipartBody4255494307048968171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331434282,"filename":"image_06042025_18_28_16_9483.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351411351","file1":"1351411324","file0":"1351411297","file4":"1351411406","file5":"1351411418","file3":"1351411380"},"map_files_photo_id_array":[{"photo_id":"1351411418","filename":"file5"},{"photo_id":"1351411351","filename":"file2"},{"photo_id":"1351411406","filename":"file4"},{"photo_id":"1351411324","filename":"file1"},{"photo_id":"1351411297","filename":"file0"},{"photo_id":"1351411380","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351411406":["hashtag1","hashtag2"]},{"1351411418":["hashtag1","hashtag2"]},{"1351411297":["hashtag1","hashtag2"]},{"1351411351":["hashtag1","hashtag2"]},{"1351411324":["hashtag1","hashtag2"]},{"1351411380":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351411406, 1351411418, 1351411297, 1351411351, 1351411324, 1351411380)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.42706251144409 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 02:30:32.846527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/18/28/image_06042025_18_28_47_10447.jpg', '/home/pi/Desktop/images/06042025/18/28/image_06042025_18_28_56_9460.jpg', '/home/pi/Desktop/images/06042025/18/28/image_06042025_18_29_07_10404.jpg', '/home/pi/Desktop/images/06042025/18/29/image_06042025_18_29_17_10496.jpg', '/home/pi/Desktop/images/06042025/18/29/image_06042025_18_29_26_9347.jpg', '/home/pi/Desktop/images/06042025/18/29/image_06042025_18_29_37_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/18/28/image_06042025_18_28_47_10447.jpg
/home/pi/Desktop/images/06042025/18/28/image_06042025_18_28_56_9460.jpg
/home/pi/Desktop/images/06042025/18/28/image_06042025_18_29_07_10404.jpg
/home/pi/Desktop/images/06042025/18/29/image_06042025_18_29_17_10496.jpg
/home/pi/Desktop/images/06042025/18/29/image_06042025_18_29_26_9347.jpg
/home/pi/Desktop/images/06042025/18/29/image_06042025_18_29_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":["1351411529","1351411518","1351411493","1351411499","1351411478","1351411523"],"photo_ids_order":["1351411478","1351411493","1351411499","1351411518","1351411523","1351411529"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/95952a7e1152f6712909627a17f2bdda.jpg","text":"TemporaryFile(/tmp/multipartBody1418464988025725722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331494554,"filename":"image_06042025_18_29_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/11/db1c584118f0dfaea796903da897039d.jpg","text":"TemporaryFile(/tmp/multipartBody221972422527301171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331494554,"filename":"image_06042025_18_29_17_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/11/1dd418afd6c58dfa7a5d18e4c8b9ee75.jpg","text":"TemporaryFile(/tmp/multipartBody2388761304616052246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331494554,"filename":"image_06042025_18_28_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/11/45985100ef5a6c0133c772c9af0f4815.jpg","text":"TemporaryFile(/tmp/multipartBody2826150039708028516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331494554,"filename":"image_06042025_18_29_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/11/eb1da28393c4e22f646d9f54b6ce883b.jpg","text":"TemporaryFile(/tmp/multipartBody745059199736986720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331494554,"filename":"image_06042025_18_28_47_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9949bf662a63a89b7590d85a0549a5f3.jpg","text":"TemporaryFile(/tmp/multipartBody3568872538524566298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331494554,"filename":"image_06042025_18_29_26_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351411499","file1":"1351411493","file0":"1351411478","file4":"1351411523","file5":"1351411529","file3":"1351411518"},"map_files_photo_id_array":[{"photo_id":"1351411529","filename":"file5"},{"photo_id":"1351411499","filename":"file2"},{"photo_id":"1351411523","filename":"file4"},{"photo_id":"1351411493","filename":"file1"},{"photo_id":"1351411478","filename":"file0"},{"photo_id":"1351411518","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351411529":["hashtag1","hashtag2"]},{"1351411518":["hashtag1","hashtag2"]},{"1351411493":["hashtag1","hashtag2"]},{"1351411499":["hashtag1","hashtag2"]},{"1351411478":["hashtag1","hashtag2"]},{"1351411523":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351411529, 1351411518, 1351411493, 1351411499, 1351411478, 1351411523)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.09035348892212 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 02:31:33.104050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/18/29/image_06042025_18_29_46_9389.jpg', '/home/pi/Desktop/images/06042025/18/29/image_06042025_18_29_57_10364.jpg', '/home/pi/Desktop/images/06042025/18/29/image_06042025_18_30_07_10366.jpg', '/home/pi/Desktop/images/06042025/18/30/image_06042025_18_30_16_9436.jpg', '/home/pi/Desktop/images/06042025/18/30/image_06042025_18_30_27_10423.jpg', '/home/pi/Desktop/images/06042025/18/30/image_06042025_18_30_36_9493.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/18/29/image_06042025_18_29_46_9389.jpg
/home/pi/Desktop/images/06042025/18/29/image_06042025_18_29_57_10364.jpg
/home/pi/Desktop/images/06042025/18/29/image_06042025_18_30_07_10366.jpg
/home/pi/Desktop/images/06042025/18/30/image_06042025_18_30_16_9436.jpg
/home/pi/Desktop/images/06042025/18/30/image_06042025_18_30_27_10423.jpg
/home/pi/Desktop/images/06042025/18/30/image_06042025_18_30_36_9493.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351412056","1351412169","1351411992","1351412219","1351412222","1351412117"],"photo_ids_order":["1351411992","1351412056","1351412117","1351412169","1351412219","1351412222"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b75b3ac280af034a5e155af5005579d6.jpg","text":"TemporaryFile(/tmp/multipartBody995298866750772575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331554797,"filename":"image_06042025_18_29_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/11/ae089afd3b2201bc8543cedb4dc98852.jpg","text":"TemporaryFile(/tmp/multipartBody7592054629750375611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331554797,"filename":"image_06042025_18_30_16_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ddb521a00bd8b5fef6d966655ea4b0c3.jpg","text":"TemporaryFile(/tmp/multipartBody6204387509218883834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331554797,"filename":"image_06042025_18_29_46_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/83511b0b9666725e0a53f267fc13c902.jpg","text":"TemporaryFile(/tmp/multipartBody683706755657734833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331554797,"filename":"image_06042025_18_30_27_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/11/84eb2c5ecda275836bf539e88cc540ef.jpg","text":"TemporaryFile(/tmp/multipartBody8674072605919645763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331554797,"filename":"image_06042025_18_30_36_9493.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7442a3fab2c218081c84cb796f655ed7.jpg","text":"TemporaryFile(/tmp/multipartBody1244561154294762455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331554797,"filename":"image_06042025_18_30_07_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351412117","file1":"1351412056","file0":"1351411992","file4":"1351412219","file5":"1351412222","file3":"1351412169"},"map_files_photo_id_array":[{"photo_id":"1351412222","filename":"file5"},{"photo_id":"1351412117","filename":"file2"},{"photo_id":"1351412219","filename":"file4"},{"photo_id":"1351412056","filename":"file1"},{"photo_id":"1351411992","filename":"file0"},{"photo_id":"1351412169","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351412056":["hashtag1","hashtag2"]},{"1351412169":["hashtag1","hashtag2"]},{"1351411992":["hashtag1","hashtag2"]},{"1351412219":["hashtag1","hashtag2"]},{"1351412222":["hashtag1","hashtag2"]},{"1351412117":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351412056, 1351412169, 1351411992, 1351412219, 1351412222, 1351412117)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.87608814239502 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 02:32:32.193109
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/18/30/image_06042025_18_30_47_10375.jpg', '/home/pi/Desktop/images/06042025/18/30/image_06042025_18_30_56_9476.jpg', '/home/pi/Desktop/images/06042025/18/30/image_06042025_18_31_06_10376.jpg', '/home/pi/Desktop/images/06042025/18/31/image_06042025_18_31_17_10417.jpg', '/home/pi/Desktop/images/06042025/18/31/image_06042025_18_31_26_9351.jpg', '/home/pi/Desktop/images/06042025/18/31/image_06042025_18_31_37_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/18/30/image_06042025_18_30_47_10375.jpg
/home/pi/Desktop/images/06042025/18/30/image_06042025_18_30_56_9476.jpg
/home/pi/Desktop/images/06042025/18/30/image_06042025_18_31_06_10376.jpg
/home/pi/Desktop/images/06042025/18/31/image_06042025_18_31_17_10417.jpg
/home/pi/Desktop/images/06042025/18/31/image_06042025_18_31_26_9351.jpg
/home/pi/Desktop/images/06042025/18/31/image_06042025_18_31_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":["1351412347","1351412341","1351412344","1351412325","1351412336","1351412339"],"photo_ids_order":["1351412325","1351412336","1351412339","1351412341","1351412344","1351412347"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/bcc03779bc29074076a769a72b4f4d40.jpg","text":"TemporaryFile(/tmp/multipartBody4812505859324370523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331613873,"filename":"image_06042025_18_31_37_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0c5b26055bfc2f2d8245d85f48c3b80c.jpg","text":"TemporaryFile(/tmp/multipartBody6020846011903003500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331613873,"filename":"image_06042025_18_31_17_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8303e010b18a0219f920bba726c1e746.jpg","text":"TemporaryFile(/tmp/multipartBody4664204753736551565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331613873,"filename":"image_06042025_18_31_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/11/d26bc03db31a9bd3c426748cf9072e53.jpg","text":"TemporaryFile(/tmp/multipartBody5098252955568293739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331613873,"filename":"image_06042025_18_30_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/11/989fb3703d6ef39380c34c8e1214192e.jpg","text":"TemporaryFile(/tmp/multipartBody3246958709720766204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331613873,"filename":"image_06042025_18_30_56_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/11/9e414b785efb51e24a886f169ee3bfeb.jpg","text":"TemporaryFile(/tmp/multipartBody4398955153940375323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331613873,"filename":"image_06042025_18_31_06_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351412339","file1":"1351412336","file0":"1351412325","file4":"1351412344","file5":"1351412347","file3":"1351412341"},"map_files_photo_id_array":[{"photo_id":"1351412347","filename":"file5"},{"photo_id":"1351412339","filename":"file2"},{"photo_id":"1351412344","filename":"file4"},{"photo_id":"1351412336","filename":"file1"},{"photo_id":"1351412325","filename":"file0"},{"photo_id":"1351412341","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351412347":["hashtag1","hashtag2"]},{"1351412341":["hashtag1","hashtag2"]},{"1351412344":["hashtag1","hashtag2"]},{"1351412325":["hashtag1","hashtag2"]},{"1351412336":["hashtag1","hashtag2"]},{"1351412339":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351412347, 1351412341, 1351412344, 1351412325, 1351412336, 1351412339)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.566545724868774 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 02:33:32.438085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/18/31/image_06042025_18_31_46_9505.jpg', '/home/pi/Desktop/images/06042025/18/31/image_06042025_18_31_56_10383.jpg', '/home/pi/Desktop/images/06042025/18/31/image_06042025_18_32_07_10343.jpg', '/home/pi/Desktop/images/06042025/18/32/image_06042025_18_32_16_9394.jpg', '/home/pi/Desktop/images/06042025/18/32/image_06042025_18_32_27_10351.jpg', '/home/pi/Desktop/images/06042025/18/32/image_06042025_18_32_37_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/18/31/image_06042025_18_31_46_9505.jpg
/home/pi/Desktop/images/06042025/18/31/image_06042025_18_31_56_10383.jpg
/home/pi/Desktop/images/06042025/18/31/image_06042025_18_32_07_10343.jpg
/home/pi/Desktop/images/06042025/18/32/image_06042025_18_32_16_9394.jpg
/home/pi/Desktop/images/06042025/18/32/image_06042025_18_32_27_10351.jpg
/home/pi/Desktop/images/06042025/18/32/image_06042025_18_32_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":["1351412380","1351412362","1351412370","1351412366","1351412375","1351412383"],"photo_ids_order":["1351412362","1351412366","1351412370","1351412375","1351412380","1351412383"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/93408b7cf75e8ccd6ef9a1f8d283e21d.jpg","text":"TemporaryFile(/tmp/multipartBody4336235950742655554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331674113,"filename":"image_06042025_18_32_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/11/ee90fb3bcf6c4cd89f450c03011b92b0.jpg","text":"TemporaryFile(/tmp/multipartBody6474934017667678312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331674113,"filename":"image_06042025_18_31_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/11/a7c3a26b1ce8006767bfc88d0f513f90.jpg","text":"TemporaryFile(/tmp/multipartBody8882156094707703339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331674113,"filename":"image_06042025_18_32_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/11/f9576824053a0f5fc680ae7f32520ec1.jpg","text":"TemporaryFile(/tmp/multipartBody3818706623909222560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331674113,"filename":"image_06042025_18_31_56_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/05b4633fe181b6a0d8f6ce0d6b964f5c.jpg","text":"TemporaryFile(/tmp/multipartBody4459028818411024466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331674113,"filename":"image_06042025_18_32_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/11/05a1024c30acce3abbdeeb00f54f5c17.jpg","text":"TemporaryFile(/tmp/multipartBody8177559969984579642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331674113,"filename":"image_06042025_18_32_37_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351412370","file1":"1351412366","file0":"1351412362","file4":"1351412380","file5":"1351412383","file3":"1351412375"},"map_files_photo_id_array":[{"photo_id":"1351412383","filename":"file5"},{"photo_id":"1351412370","filename":"file2"},{"photo_id":"1351412380","filename":"file4"},{"photo_id":"1351412366","filename":"file1"},{"photo_id":"1351412362","filename":"file0"},{"photo_id":"1351412375","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351412380":["hashtag1","hashtag2"]},{"1351412362":["hashtag1","hashtag2"]},{"1351412370":["hashtag1","hashtag2"]},{"1351412366":["hashtag1","hashtag2"]},{"1351412375":["hashtag1","hashtag2"]},{"1351412383":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351412380, 1351412362, 1351412370, 1351412366, 1351412375, 1351412383)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.931244134902954 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 02:34:32.597792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/18/32/image_06042025_18_32_46_9357.jpg', '/home/pi/Desktop/images/06042025/18/32/image_06042025_18_32_57_10348.jpg', '/home/pi/Desktop/images/06042025/18/32/image_06042025_18_33_07_10320.jpg', '/home/pi/Desktop/images/06042025/18/33/image_06042025_18_33_16_9334.jpg', '/home/pi/Desktop/images/06042025/18/33/image_06042025_18_33_27_10364.jpg', '/home/pi/Desktop/images/06042025/18/33/image_06042025_18_33_36_9520.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/18/32/image_06042025_18_32_46_9357.jpg
/home/pi/Desktop/images/06042025/18/32/image_06042025_18_32_57_10348.jpg
/home/pi/Desktop/images/06042025/18/32/image_06042025_18_33_07_10320.jpg
/home/pi/Desktop/images/06042025/18/33/image_06042025_18_33_16_9334.jpg
/home/pi/Desktop/images/06042025/18/33/image_06042025_18_33_27_10364.jpg
/home/pi/Desktop/images/06042025/18/33/image_06042025_18_33_36_9520.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351412488","1351412472","1351412511","1351412505","1351412508","1351412501"],"photo_ids_order":["1351412472","1351412488","1351412501","1351412505","1351412508","1351412511"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/dbf41ce3e18d6041f0635f615c339e30.jpg","text":"TemporaryFile(/tmp/multipartBody2570345263640023095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331734281,"filename":"image_06042025_18_32_57_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2684aa56eb9297cc073993b2a39bd2b9.jpg","text":"TemporaryFile(/tmp/multipartBody1304925086155116149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331734281,"filename":"image_06042025_18_32_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/11/4b9517d427ab8c334a155e0786c16c33.jpg","text":"TemporaryFile(/tmp/multipartBody9078688774667004322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331734281,"filename":"image_06042025_18_33_36_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/11/3da56818af35b43829196a4cfa5aa9ce.jpg","text":"TemporaryFile(/tmp/multipartBody5439542830253269421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331734281,"filename":"image_06042025_18_33_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/11/9d9146502d7221a1b02eebfa74131ca2.jpg","text":"TemporaryFile(/tmp/multipartBody8620123934379829141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331734281,"filename":"image_06042025_18_33_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/11/14e45c373801ecc9f879f1c452373a66.jpg","text":"TemporaryFile(/tmp/multipartBody5056096171788353618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331734281,"filename":"image_06042025_18_33_07_10320.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351412501","file1":"1351412488","file0":"1351412472","file4":"1351412508","file5":"1351412511","file3":"1351412505"},"map_files_photo_id_array":[{"photo_id":"1351412511","filename":"file5"},{"photo_id":"1351412501","filename":"file2"},{"photo_id":"1351412508","filename":"file4"},{"photo_id":"1351412488","filename":"file1"},{"photo_id":"1351412472","filename":"file0"},{"photo_id":"1351412505","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351412488":["hashtag1","hashtag2"]},{"1351412472":["hashtag1","hashtag2"]},{"1351412511":["hashtag1","hashtag2"]},{"1351412505":["hashtag1","hashtag2"]},{"1351412508":["hashtag1","hashtag2"]},{"1351412501":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351412488, 1351412472, 1351412511, 1351412505, 1351412508, 1351412501)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.92577004432678 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 02:35:32.883788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/18/33/image_06042025_18_33_47_10398.jpg', '/home/pi/Desktop/images/06042025/18/33/image_06042025_18_33_57_10349.jpg', '/home/pi/Desktop/images/06042025/18/33/image_06042025_18_34_06_9424.jpg', '/home/pi/Desktop/images/06042025/18/34/image_06042025_18_34_17_10417.jpg', '/home/pi/Desktop/images/06042025/18/34/image_06042025_18_34_26_9702.jpg', '/home/pi/Desktop/images/06042025/18/34/image_06042025_18_34_37_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/18/33/image_06042025_18_33_47_10398.jpg
/home/pi/Desktop/images/06042025/18/33/image_06042025_18_33_57_10349.jpg
/home/pi/Desktop/images/06042025/18/33/image_06042025_18_34_06_9424.jpg
/home/pi/Desktop/images/06042025/18/34/image_06042025_18_34_17_10417.jpg
/home/pi/Desktop/images/06042025/18/34/image_06042025_18_34_26_9702.jpg
/home/pi/Desktop/images/06042025/18/34/image_06042025_18_34_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":["1351413037","1351412956","1351413099","1351413165","1351412800","1351412870"],"photo_ids_order":["1351412800","1351412870","1351412956","1351413037","1351413099","1351413165"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6fc5627bf8b35db2391c4ea073d07c5a.jpg","text":"TemporaryFile(/tmp/multipartBody4747015848739648260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331794555,"filename":"image_06042025_18_34_17_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/77768a91a3889616f7d4c27ac8e92ff0.jpg","text":"TemporaryFile(/tmp/multipartBody6124885720466611878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331794555,"filename":"image_06042025_18_34_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/11/a0b6cbcc28b8ac01ee3966d3827794ff.jpg","text":"TemporaryFile(/tmp/multipartBody7571433872415793092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331794555,"filename":"image_06042025_18_34_26_9702.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/865ee6b1c03fad20a24ec60a9ed82bb6.jpg","text":"TemporaryFile(/tmp/multipartBody5340873243308359723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331794555,"filename":"image_06042025_18_34_37_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/85c8e9612563db81f7ed8dd76d05007e.jpg","text":"TemporaryFile(/tmp/multipartBody7839432314077210167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331794555,"filename":"image_06042025_18_33_47_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8457fe9003f23ab88dfad3f779e0f0f1.jpg","text":"TemporaryFile(/tmp/multipartBody4121808187397181581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331794555,"filename":"image_06042025_18_33_57_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351412956","file1":"1351412870","file0":"1351412800","file4":"1351413099","file5":"1351413165","file3":"1351413037"},"map_files_photo_id_array":[{"photo_id":"1351413165","filename":"file5"},{"photo_id":"1351412956","filename":"file2"},{"photo_id":"1351413099","filename":"file4"},{"photo_id":"1351412870","filename":"file1"},{"photo_id":"1351412800","filename":"file0"},{"photo_id":"1351413037","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351413037":["hashtag1","hashtag2"]},{"1351412956":["hashtag1","hashtag2"]},{"1351413099":["hashtag1","hashtag2"]},{"1351413165":["hashtag1","hashtag2"]},{"1351412800":["hashtag1","hashtag2"]},{"1351412870":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351413037, 1351412956, 1351413099, 1351413165, 1351412800, 1351412870)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.98710250854492 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 02:36:32.961929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/18/34/image_06042025_18_34_46_9422.jpg', '/home/pi/Desktop/images/06042025/18/34/image_06042025_18_34_57_10366.jpg', '/home/pi/Desktop/images/06042025/18/34/image_06042025_18_35_06_9473.jpg', '/home/pi/Desktop/images/06042025/18/35/image_06042025_18_35_16_10344.jpg', '/home/pi/Desktop/images/06042025/18/35/image_06042025_18_35_27_10362.jpg', '/home/pi/Desktop/images/06042025/18/35/image_06042025_18_35_36_9408.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/18/34/image_06042025_18_34_46_9422.jpg
/home/pi/Desktop/images/06042025/18/34/image_06042025_18_34_57_10366.jpg
/home/pi/Desktop/images/06042025/18/34/image_06042025_18_35_06_9473.jpg
/home/pi/Desktop/images/06042025/18/35/image_06042025_18_35_16_10344.jpg
/home/pi/Desktop/images/06042025/18/35/image_06042025_18_35_27_10362.jpg
/home/pi/Desktop/images/06042025/18/35/image_06042025_18_35_36_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":["1351413619","1351413464","1351413746","1351413682","1351413535","1351413391"],"photo_ids_order":["1351413391","1351413464","1351413535","1351413619","1351413682","1351413746"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/30bfcd8b77abe35800650c309968bace.jpg","text":"TemporaryFile(/tmp/multipartBody8981931030407560020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331854657,"filename":"image_06042025_18_35_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/11/b27c8802dccf483de28d33e3d5be89ea.jpg","text":"TemporaryFile(/tmp/multipartBody6967936121589917020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331854657,"filename":"image_06042025_18_34_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/11/1bc24af4d16156df03020217c5db797f.jpg","text":"TemporaryFile(/tmp/multipartBody8168886156007859520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331854657,"filename":"image_06042025_18_35_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/11/6b2606c405695b9cfa647cfdb77fa827.jpg","text":"TemporaryFile(/tmp/multipartBody2499655308624281928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331854657,"filename":"image_06042025_18_35_27_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5556328dc145483396608cd646f9bd78.jpg","text":"TemporaryFile(/tmp/multipartBody4672509283343799372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331854657,"filename":"image_06042025_18_35_06_9473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6563b8d4b0da8cbfe00919051e21ee0a.jpg","text":"TemporaryFile(/tmp/multipartBody7382115274372652562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331854657,"filename":"image_06042025_18_34_46_9422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351413535","file1":"1351413464","file0":"1351413391","file4":"1351413682","file5":"1351413746","file3":"1351413619"},"map_files_photo_id_array":[{"photo_id":"1351413746","filename":"file5"},{"photo_id":"1351413535","filename":"file2"},{"photo_id":"1351413682","filename":"file4"},{"photo_id":"1351413464","filename":"file1"},{"photo_id":"1351413391","filename":"file0"},{"photo_id":"1351413619","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351413619":["hashtag1","hashtag2"]},{"1351413464":["hashtag1","hashtag2"]},{"1351413746":["hashtag1","hashtag2"]},{"1351413682":["hashtag1","hashtag2"]},{"1351413535":["hashtag1","hashtag2"]},{"1351413391":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351413619, 1351413464, 1351413746, 1351413682, 1351413535, 1351413391)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.92492747306824 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 02:37:33.171793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/18/35/image_06042025_18_35_47_10423.jpg', '/home/pi/Desktop/images/06042025/18/35/image_06042025_18_35_56_9397.jpg', '/home/pi/Desktop/images/06042025/18/35/image_06042025_18_36_06_10351.jpg', '/home/pi/Desktop/images/06042025/18/36/image_06042025_18_36_17_10341.jpg', '/home/pi/Desktop/images/06042025/18/36/image_06042025_18_36_26_9387.jpg', '/home/pi/Desktop/images/06042025/18/37/image_06042025_18_37_16_9420.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/18/35/image_06042025_18_35_47_10423.jpg
/home/pi/Desktop/images/06042025/18/35/image_06042025_18_35_56_9397.jpg
/home/pi/Desktop/images/06042025/18/35/image_06042025_18_36_06_10351.jpg
/home/pi/Desktop/images/06042025/18/36/image_06042025_18_36_17_10341.jpg
/home/pi/Desktop/images/06042025/18/36/image_06042025_18_36_26_9387.jpg
/home/pi/Desktop/images/06042025/18/37/image_06042025_18_37_16_9420.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351414719","1351414400","1351414897","1351414783","1351414648","1351414494"],"photo_ids_order":["1351414400","1351414494","1351414648","1351414719","1351414783","1351414897"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4586fb8c38afe271aa7958139f454981.jpg","text":"TemporaryFile(/tmp/multipartBody7713559224019963222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331914863,"filename":"image_06042025_18_36_17_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/67c1f4a7a1cb85de46a2408b9c8e2b1c.jpg","text":"TemporaryFile(/tmp/multipartBody4450924761144899112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331914863,"filename":"image_06042025_18_35_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/11/22baf9e4df6456e7cabbfe11bc967f7e.jpg","text":"TemporaryFile(/tmp/multipartBody4534760834178687576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331914863,"filename":"image_06042025_18_37_16_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/907ccd4a08bc72c4e18c630918a3c8c0.jpg","text":"TemporaryFile(/tmp/multipartBody2890306974426876184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331914863,"filename":"image_06042025_18_36_26_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b61efa63bf819491556e74480456dc79.jpg","text":"TemporaryFile(/tmp/multipartBody462192358275098941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331914863,"filename":"image_06042025_18_36_06_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1d5f3cbcb1c9612155a675a3d67306a8.jpg","text":"TemporaryFile(/tmp/multipartBody5932863339937231276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331914863,"filename":"image_06042025_18_35_56_9397.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351414648","file1":"1351414494","file0":"1351414400","file4":"1351414783","file5":"1351414897","file3":"1351414719"},"map_files_photo_id_array":[{"photo_id":"1351414897","filename":"file5"},{"photo_id":"1351414648","filename":"file2"},{"photo_id":"1351414783","filename":"file4"},{"photo_id":"1351414494","filename":"file1"},{"photo_id":"1351414400","filename":"file0"},{"photo_id":"1351414719","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351414719":["hashtag1","hashtag2"]},{"1351414400":["hashtag1","hashtag2"]},{"1351414897":["hashtag1","hashtag2"]},{"1351414783":["hashtag1","hashtag2"]},{"1351414648":["hashtag1","hashtag2"]},{"1351414494":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351414719, 1351414400, 1351414897, 1351414783, 1351414648, 1351414494)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.8134491443634 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 02:38:32.385700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/18/37/image_06042025_18_37_27_10364.jpg', '/home/pi/Desktop/images/06042025/18/37/image_06042025_18_37_36_9374.jpg', '/home/pi/Desktop/images/06042025/18/37/image_06042025_18_38_06_9437.jpg', '/home/pi/Desktop/images/06042025/18/38/image_06042025_18_38_17_10363.jpg', '/home/pi/Desktop/images/06042025/18/38/image_06042025_18_38_26_9489.jpg', '/home/pi/Desktop/images/06042025/18/38/image_06042025_18_38_37_10416.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/18/37/image_06042025_18_37_27_10364.jpg
/home/pi/Desktop/images/06042025/18/37/image_06042025_18_37_36_9374.jpg
/home/pi/Desktop/images/06042025/18/37/image_06042025_18_38_06_9437.jpg
/home/pi/Desktop/images/06042025/18/38/image_06042025_18_38_17_10363.jpg
/home/pi/Desktop/images/06042025/18/38/image_06042025_18_38_26_9489.jpg
/home/pi/Desktop/images/06042025/18/38/image_06042025_18_38_37_10416.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.5914194583892822 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 02:38:42.295411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/18/37/image_06042025_18_37_27_10364.jpg', '/home/pi/Desktop/images/06042025/18/37/image_06042025_18_37_36_9374.jpg', '/home/pi/Desktop/images/06042025/18/37/image_06042025_18_38_06_9437.jpg', '/home/pi/Desktop/images/06042025/18/38/image_06042025_18_38_17_10363.jpg', '/home/pi/Desktop/images/06042025/18/38/image_06042025_18_38_26_9489.jpg', '/home/pi/Desktop/images/06042025/18/38/image_06042025_18_38_37_10416.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/18/37/image_06042025_18_37_27_10364.jpg
/home/pi/Desktop/images/06042025/18/37/image_06042025_18_37_36_9374.jpg
/home/pi/Desktop/images/06042025/18/37/image_06042025_18_38_06_9437.jpg
/home/pi/Desktop/images/06042025/18/38/image_06042025_18_38_17_10363.jpg
/home/pi/Desktop/images/06042025/18/38/image_06042025_18_38_26_9489.jpg
/home/pi/Desktop/images/06042025/18/38/image_06042025_18_38_37_10416.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351415916","1351415838","1351415873","1351415984","1351415753","1351415941"],"photo_ids_order":["1351415753","1351415838","1351415873","1351415916","1351415941","1351415984"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3ada7f684235df38f49cfddce2d5b100.jpg","text":"TemporaryFile(/tmp/multipartBody4471568452548033442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331983051,"filename":"image_06042025_18_38_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/11/ebfe4c8f4eaa377bab08f4c30d1b533c.jpg","text":"TemporaryFile(/tmp/multipartBody3067947282422358420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331983051,"filename":"image_06042025_18_37_36_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/37919ba9fd94ba424731dfdad524e3c6.jpg","text":"TemporaryFile(/tmp/multipartBody8375832545499862308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331983051,"filename":"image_06042025_18_38_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/11/a8cbc67b6bdff6174a54ac46711714a4.jpg","text":"TemporaryFile(/tmp/multipartBody732660270689590549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331983051,"filename":"image_06042025_18_38_37_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8d45566b5b72839f9e27571da6331e7a.jpg","text":"TemporaryFile(/tmp/multipartBody8002765623825915357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331983051,"filename":"image_06042025_18_37_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/11/8450d2137105cf9c6a3ef687b6496140.jpg","text":"TemporaryFile(/tmp/multipartBody8540953094697650440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744331983051,"filename":"image_06042025_18_38_26_9489.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351415873","file1":"1351415838","file0":"1351415753","file4":"1351415941","file5":"1351415984","file3":"1351415916"},"map_files_photo_id_array":[{"photo_id":"1351415984","filename":"file5"},{"photo_id":"1351415873","filename":"file2"},{"photo_id":"1351415941","filename":"file4"},{"photo_id":"1351415838","filename":"file1"},{"photo_id":"1351415753","filename":"file0"},{"photo_id":"1351415916","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351415916":["hashtag1","hashtag2"]},{"1351415838":["hashtag1","hashtag2"]},{"1351415873":["hashtag1","hashtag2"]},{"1351415984":["hashtag1","hashtag2"]},{"1351415753":["hashtag1","hashtag2"]},{"1351415941":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351415916, 1351415838, 1351415873, 1351415984, 1351415753, 1351415941)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.1817831993103 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 02:39:32.543510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/18/38/image_06042025_18_38_47_10359.jpg', '/home/pi/Desktop/images/06042025/18/38/image_06042025_18_38_56_9532.jpg', '/home/pi/Desktop/images/06042025/18/39/image_06042025_18_39_16_9361.jpg', '/home/pi/Desktop/images/06042025/18/39/image_06042025_18_39_26_10369.jpg', '/home/pi/Desktop/images/06042025/18/39/image_06042025_18_39_46_9353.jpg', '/home/pi/Desktop/images/06042025/18/39/image_06042025_18_39_57_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/18/38/image_06042025_18_38_47_10359.jpg
/home/pi/Desktop/images/06042025/18/38/image_06042025_18_38_56_9532.jpg
/home/pi/Desktop/images/06042025/18/39/image_06042025_18_39_16_9361.jpg
/home/pi/Desktop/images/06042025/18/39/image_06042025_18_39_26_10369.jpg
/home/pi/Desktop/images/06042025/18/39/image_06042025_18_39_46_9353.jpg
/home/pi/Desktop/images/06042025/18/39/image_06042025_18_39_57_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":["1351416490","1351416291","1351416612","1351416549","1351416330","1351416377"],"photo_ids_order":["1351416291","1351416330","1351416377","1351416490","1351416549","1351416612"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/45684d2fffa9ebdd5da9e24f30422d96.jpg","text":"TemporaryFile(/tmp/multipartBody7604363844074066767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332034231,"filename":"image_06042025_18_39_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/11/789cc54363ace9a6d007f33f21d2703f.jpg","text":"TemporaryFile(/tmp/multipartBody1177907434932697357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332034231,"filename":"image_06042025_18_38_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/11/489209b214645f5b17b0167b7e593ea4.jpg","text":"TemporaryFile(/tmp/multipartBody4224094620182997827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332034231,"filename":"image_06042025_18_39_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/11/39db428a0e4373ba94034ac1dfc4c6ee.jpg","text":"TemporaryFile(/tmp/multipartBody9095668259375990927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332034231,"filename":"image_06042025_18_39_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/11/8c5c3352b5e995a66066be4b23b8201d.jpg","text":"TemporaryFile(/tmp/multipartBody7582674645329664034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332034231,"filename":"image_06042025_18_38_56_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/11/cedf9d8c74b4f8fede360bffc161b8a6.jpg","text":"TemporaryFile(/tmp/multipartBody4383615844572961069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332034231,"filename":"image_06042025_18_39_16_9361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351416377","file1":"1351416330","file0":"1351416291","file4":"1351416549","file5":"1351416612","file3":"1351416490"},"map_files_photo_id_array":[{"photo_id":"1351416612","filename":"file5"},{"photo_id":"1351416377","filename":"file2"},{"photo_id":"1351416549","filename":"file4"},{"photo_id":"1351416330","filename":"file1"},{"photo_id":"1351416291","filename":"file0"},{"photo_id":"1351416490","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351416490":["hashtag1","hashtag2"]},{"1351416291":["hashtag1","hashtag2"]},{"1351416612":["hashtag1","hashtag2"]},{"1351416549":["hashtag1","hashtag2"]},{"1351416330":["hashtag1","hashtag2"]},{"1351416377":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351416490, 1351416291, 1351416612, 1351416549, 1351416330, 1351416377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.94569945335388 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 02:40:32.791077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/18/39/image_06042025_18_40_07_10379.jpg', '/home/pi/Desktop/images/06042025/18/40/image_06042025_18_40_16_9437.jpg', '/home/pi/Desktop/images/06042025/18/40/image_06042025_18_40_27_10413.jpg', '/home/pi/Desktop/images/06042025/18/40/image_06042025_18_40_36_9348.jpg', '/home/pi/Desktop/images/06042025/18/40/image_06042025_18_40_57_10367.jpg', '/home/pi/Desktop/images/06042025/18/40/image_06042025_18_41_06_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/18/39/image_06042025_18_40_07_10379.jpg
/home/pi/Desktop/images/06042025/18/40/image_06042025_18_40_16_9437.jpg
/home/pi/Desktop/images/06042025/18/40/image_06042025_18_40_27_10413.jpg
/home/pi/Desktop/images/06042025/18/40/image_06042025_18_40_36_9348.jpg
/home/pi/Desktop/images/06042025/18/40/image_06042025_18_40_57_10367.jpg
/home/pi/Desktop/images/06042025/18/40/image_06042025_18_41_06_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":["1351416755","1351416877","1351416790","1351416811","1351416765","1351416735"],"photo_ids_order":["1351416735","1351416755","1351416765","1351416790","1351416811","1351416877"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/08acf7e3d6c875674919ff390609cc2e.jpg","text":"TemporaryFile(/tmp/multipartBody1665816879320273842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332094480,"filename":"image_06042025_18_40_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/11/b8176cf0119fea04f95add62156a4b33.jpg","text":"TemporaryFile(/tmp/multipartBody732884390115514650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332094480,"filename":"image_06042025_18_41_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/11/31d7b08f1bdfff89f7167406697a548e.jpg","text":"TemporaryFile(/tmp/multipartBody6216952026579295389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332094480,"filename":"image_06042025_18_40_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/11/b06820d1cf4977abba61716fd3be4085.jpg","text":"TemporaryFile(/tmp/multipartBody4786384095507134239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332094480,"filename":"image_06042025_18_40_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/11/e376b16196cd3e4353cf762c685945ed.jpg","text":"TemporaryFile(/tmp/multipartBody1017341083953418266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332094480,"filename":"image_06042025_18_40_27_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0763e35388b5bb4c02ba452c465f48f3.jpg","text":"TemporaryFile(/tmp/multipartBody3492873982783500562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332094480,"filename":"image_06042025_18_40_07_10379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351416765","file1":"1351416755","file0":"1351416735","file4":"1351416811","file5":"1351416877","file3":"1351416790"},"map_files_photo_id_array":[{"photo_id":"1351416877","filename":"file5"},{"photo_id":"1351416765","filename":"file2"},{"photo_id":"1351416811","filename":"file4"},{"photo_id":"1351416755","filename":"file1"},{"photo_id":"1351416735","filename":"file0"},{"photo_id":"1351416790","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351416755":["hashtag1","hashtag2"]},{"1351416877":["hashtag1","hashtag2"]},{"1351416790":["hashtag1","hashtag2"]},{"1351416811":["hashtag1","hashtag2"]},{"1351416765":["hashtag1","hashtag2"]},{"1351416735":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351416755, 1351416877, 1351416790, 1351416811, 1351416765, 1351416735)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.75416302680969 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 02:41:33.020887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/18/41/image_06042025_18_41_17_10361.jpg', '/home/pi/Desktop/images/06042025/18/41/image_06042025_18_41_26_9478.jpg', '/home/pi/Desktop/images/06042025/18/41/image_06042025_18_41_56_9445.jpg', '/home/pi/Desktop/images/06042025/18/41/image_06042025_18_42_07_10337.jpg', '/home/pi/Desktop/images/06042025/18/42/image_06042025_18_42_16_9401.jpg', '/home/pi/Desktop/images/06042025/18/42/image_06042025_18_42_27_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/18/41/image_06042025_18_41_17_10361.jpg
/home/pi/Desktop/images/06042025/18/41/image_06042025_18_41_26_9478.jpg
/home/pi/Desktop/images/06042025/18/41/image_06042025_18_41_56_9445.jpg
/home/pi/Desktop/images/06042025/18/41/image_06042025_18_42_07_10337.jpg
/home/pi/Desktop/images/06042025/18/42/image_06042025_18_42_16_9401.jpg
/home/pi/Desktop/images/06042025/18/42/image_06042025_18_42_27_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":["1351417307","1351417360","1351417281","1351417383","1351417332","1351417256"],"photo_ids_order":["1351417256","1351417281","1351417307","1351417332","1351417360","1351417383"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d26d7b67c5811156ce706fb8b3f18d94.jpg","text":"TemporaryFile(/tmp/multipartBody3823344560620610569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332154714,"filename":"image_06042025_18_41_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/11/1d0a6dd1e7ba1838f29cc8d92f3ddfd1.jpg","text":"TemporaryFile(/tmp/multipartBody3660292563668942502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332154714,"filename":"image_06042025_18_42_16_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5a056352d770fe687c17fba07e1c461b.jpg","text":"TemporaryFile(/tmp/multipartBody4583902476634550240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332154714,"filename":"image_06042025_18_41_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/11/dd9da550e22070748acbb5eae8f8df76.jpg","text":"TemporaryFile(/tmp/multipartBody4956719122284973156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332154714,"filename":"image_06042025_18_42_27_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/11/fd8c474497b67b89a667e2f7ecd42515.jpg","text":"TemporaryFile(/tmp/multipartBody4192996570505082018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332154714,"filename":"image_06042025_18_42_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/11/ec82336d31f6c082719965ac921119a0.jpg","text":"TemporaryFile(/tmp/multipartBody8962084075105185876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332154714,"filename":"image_06042025_18_41_17_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351417307","file1":"1351417281","file0":"1351417256","file4":"1351417360","file5":"1351417383","file3":"1351417332"},"map_files_photo_id_array":[{"photo_id":"1351417383","filename":"file5"},{"photo_id":"1351417307","filename":"file2"},{"photo_id":"1351417360","filename":"file4"},{"photo_id":"1351417281","filename":"file1"},{"photo_id":"1351417256","filename":"file0"},{"photo_id":"1351417332","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351417307":["hashtag1","hashtag2"]},{"1351417360":["hashtag1","hashtag2"]},{"1351417281":["hashtag1","hashtag2"]},{"1351417383":["hashtag1","hashtag2"]},{"1351417332":["hashtag1","hashtag2"]},{"1351417256":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351417307, 1351417360, 1351417281, 1351417383, 1351417332, 1351417256)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.32701110839844 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 02:42:33.093387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/18/42/image_06042025_18_42_37_10415.jpg', '/home/pi/Desktop/images/06042025/18/42/image_06042025_18_42_46_9419.jpg', '/home/pi/Desktop/images/06042025/18/42/image_06042025_18_42_57_10436.jpg', '/home/pi/Desktop/images/06042025/18/42/image_06042025_18_43_06_9384.jpg', '/home/pi/Desktop/images/06042025/18/43/image_06042025_18_43_17_10392.jpg', '/home/pi/Desktop/images/06042025/18/43/image_06042025_18_43_27_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/18/42/image_06042025_18_42_37_10415.jpg
/home/pi/Desktop/images/06042025/18/42/image_06042025_18_42_46_9419.jpg
/home/pi/Desktop/images/06042025/18/42/image_06042025_18_42_57_10436.jpg
/home/pi/Desktop/images/06042025/18/42/image_06042025_18_43_06_9384.jpg
/home/pi/Desktop/images/06042025/18/43/image_06042025_18_43_17_10392.jpg
/home/pi/Desktop/images/06042025/18/43/image_06042025_18_43_27_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":["1351417546","1351417453","1351417525","1351417464","1351417458","1351417559"],"photo_ids_order":["1351417453","1351417458","1351417464","1351417525","1351417546","1351417559"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/304a25e446950dba50d9e418662798c5.jpg","text":"TemporaryFile(/tmp/multipartBody4062988405065608146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332214773,"filename":"image_06042025_18_43_17_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2d3aef4b539ac7382a68eca0d01036d5.jpg","text":"TemporaryFile(/tmp/multipartBody2211944515862408304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332214773,"filename":"image_06042025_18_42_37_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/11/1effe1561c8185f6f69d48a9be7760c0.jpg","text":"TemporaryFile(/tmp/multipartBody8623426148194267990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332214773,"filename":"image_06042025_18_43_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/11/80843aa55d08e62e31a88809ede93f15.jpg","text":"TemporaryFile(/tmp/multipartBody7751534310290468868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332214773,"filename":"image_06042025_18_42_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/11/72162bee4f21fcb3b5ea07898ac96001.jpg","text":"TemporaryFile(/tmp/multipartBody996223262755894170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332214773,"filename":"image_06042025_18_42_46_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/32a4389cf047b53205ae9ae66ad9b40c.jpg","text":"TemporaryFile(/tmp/multipartBody6196985083244227999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332214773,"filename":"image_06042025_18_43_27_10426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351417464","file1":"1351417458","file0":"1351417453","file4":"1351417546","file5":"1351417559","file3":"1351417525"},"map_files_photo_id_array":[{"photo_id":"1351417559","filename":"file5"},{"photo_id":"1351417464","filename":"file2"},{"photo_id":"1351417546","filename":"file4"},{"photo_id":"1351417458","filename":"file1"},{"photo_id":"1351417453","filename":"file0"},{"photo_id":"1351417525","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351417546":["hashtag1","hashtag2"]},{"1351417453":["hashtag1","hashtag2"]},{"1351417525":["hashtag1","hashtag2"]},{"1351417464":["hashtag1","hashtag2"]},{"1351417458":["hashtag1","hashtag2"]},{"1351417559":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351417546, 1351417453, 1351417525, 1351417464, 1351417458, 1351417559)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.51752281188965 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 02:43:32.401002
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/18/43/image_06042025_18_43_36_9354.jpg', '/home/pi/Desktop/images/06042025/18/43/image_06042025_18_43_47_10376.jpg', '/home/pi/Desktop/images/06042025/18/43/image_06042025_18_43_56_9460.jpg', '/home/pi/Desktop/images/06042025/18/43/image_06042025_18_44_07_10356.jpg', '/home/pi/Desktop/images/06042025/18/44/image_06042025_18_44_17_10408.jpg', '/home/pi/Desktop/images/06042025/18/44/image_06042025_18_44_26_9431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/18/43/image_06042025_18_43_36_9354.jpg
/home/pi/Desktop/images/06042025/18/43/image_06042025_18_43_47_10376.jpg
/home/pi/Desktop/images/06042025/18/43/image_06042025_18_43_56_9460.jpg
/home/pi/Desktop/images/06042025/18/43/image_06042025_18_44_07_10356.jpg
/home/pi/Desktop/images/06042025/18/44/image_06042025_18_44_17_10408.jpg
/home/pi/Desktop/images/06042025/18/44/image_06042025_18_44_26_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":["1351417718","1351417867","1351417864","1351417819","1351417679","1351417871"],"photo_ids_order":["1351417679","1351417718","1351417819","1351417864","1351417867","1351417871"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/684a02a9acf19fd7b095b5e8b955ee21.jpg","text":"TemporaryFile(/tmp/multipartBody5420167125345887523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332274086,"filename":"image_06042025_18_43_47_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e40f3d437ea36d869716f26c373bf9bc.jpg","text":"TemporaryFile(/tmp/multipartBody2779356707213101290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332274086,"filename":"image_06042025_18_44_17_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/11/061553d970d4ddf833e6885114daf516.jpg","text":"TemporaryFile(/tmp/multipartBody2108736899623286759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332274086,"filename":"image_06042025_18_44_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/11/b15470cb859dce3c050b43269961ac6c.jpg","text":"TemporaryFile(/tmp/multipartBody3506493079038394099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332274086,"filename":"image_06042025_18_43_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/11/940e975ff1d1e0dab749d87a68dee143.jpg","text":"TemporaryFile(/tmp/multipartBody3746984055750847621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332274086,"filename":"image_06042025_18_43_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/11/48cbebf595bafd9ca18b42e10e196a2a.jpg","text":"TemporaryFile(/tmp/multipartBody7452796350099185813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332274086,"filename":"image_06042025_18_44_26_9431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351417819","file1":"1351417718","file0":"1351417679","file4":"1351417867","file5":"1351417871","file3":"1351417864"},"map_files_photo_id_array":[{"photo_id":"1351417871","filename":"file5"},{"photo_id":"1351417819","filename":"file2"},{"photo_id":"1351417867","filename":"file4"},{"photo_id":"1351417718","filename":"file1"},{"photo_id":"1351417679","filename":"file0"},{"photo_id":"1351417864","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351417718":["hashtag1","hashtag2"]},{"1351417867":["hashtag1","hashtag2"]},{"1351417864":["hashtag1","hashtag2"]},{"1351417819":["hashtag1","hashtag2"]},{"1351417679":["hashtag1","hashtag2"]},{"1351417871":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351417718, 1351417867, 1351417864, 1351417819, 1351417679, 1351417871)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.099095582962036 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 02:44:32.564478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/18/44/image_06042025_18_44_37_10406.jpg', '/home/pi/Desktop/images/06042025/18/44/image_06042025_18_44_57_10398.jpg', '/home/pi/Desktop/images/06042025/18/44/image_06042025_18_45_07_10395.jpg', '/home/pi/Desktop/images/06042025/18/45/image_06042025_18_45_16_9381.jpg', '/home/pi/Desktop/images/06042025/18/45/image_06042025_18_45_27_10385.jpg', '/home/pi/Desktop/images/06042025/18/45/image_06042025_18_45_36_9455.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/18/44/image_06042025_18_44_37_10406.jpg
/home/pi/Desktop/images/06042025/18/44/image_06042025_18_44_57_10398.jpg
/home/pi/Desktop/images/06042025/18/44/image_06042025_18_45_07_10395.jpg
/home/pi/Desktop/images/06042025/18/45/image_06042025_18_45_16_9381.jpg
/home/pi/Desktop/images/06042025/18/45/image_06042025_18_45_27_10385.jpg
/home/pi/Desktop/images/06042025/18/45/image_06042025_18_45_36_9455.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351418338","1351418220","1351418270","1351418192","1351418252","1351418324"],"photo_ids_order":["1351418192","1351418220","1351418252","1351418270","1351418324","1351418338"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/289178466ededaadbdb14d1c36114322.jpg","text":"TemporaryFile(/tmp/multipartBody6905713885316773081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332334235,"filename":"image_06042025_18_45_36_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/11/a8d72aa15c7609400b7f08f3b8a21eb9.jpg","text":"TemporaryFile(/tmp/multipartBody7950679923709086406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332334235,"filename":"image_06042025_18_44_57_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/daab067e4f160c4ea8525cd94adc7f43.jpg","text":"TemporaryFile(/tmp/multipartBody2765443797052020768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332334235,"filename":"image_06042025_18_45_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/11/c06fbd561eeb79fb744d8641d1928883.jpg","text":"TemporaryFile(/tmp/multipartBody8678377738865867167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332334235,"filename":"image_06042025_18_44_37_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/11/671e25f2040b5f30304fadefc6a79f66.jpg","text":"TemporaryFile(/tmp/multipartBody9029663954467471633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332334235,"filename":"image_06042025_18_45_07_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/11/7e3deabe1f0ce8d597aa73a87d8f7b40.jpg","text":"TemporaryFile(/tmp/multipartBody1675305157184342165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332334235,"filename":"image_06042025_18_45_27_10385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351418252","file1":"1351418220","file0":"1351418192","file4":"1351418324","file5":"1351418338","file3":"1351418270"},"map_files_photo_id_array":[{"photo_id":"1351418338","filename":"file5"},{"photo_id":"1351418252","filename":"file2"},{"photo_id":"1351418324","filename":"file4"},{"photo_id":"1351418220","filename":"file1"},{"photo_id":"1351418192","filename":"file0"},{"photo_id":"1351418270","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351418338":["hashtag1","hashtag2"]},{"1351418220":["hashtag1","hashtag2"]},{"1351418270":["hashtag1","hashtag2"]},{"1351418192":["hashtag1","hashtag2"]},{"1351418252":["hashtag1","hashtag2"]},{"1351418324":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351418338, 1351418220, 1351418270, 1351418192, 1351418252, 1351418324)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.741081953048706 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 02:45:32.776449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/18/45/image_06042025_18_45_47_10398.jpg', '/home/pi/Desktop/images/06042025/18/45/image_06042025_18_45_57_10391.jpg', '/home/pi/Desktop/images/06042025/18/45/image_06042025_18_46_06_9438.jpg', '/home/pi/Desktop/images/06042025/18/46/image_06042025_18_46_17_10439.jpg', '/home/pi/Desktop/images/06042025/18/46/image_06042025_18_46_26_9481.jpg', '/home/pi/Desktop/images/06042025/18/46/image_06042025_18_46_46_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/18/45/image_06042025_18_45_47_10398.jpg
/home/pi/Desktop/images/06042025/18/45/image_06042025_18_45_57_10391.jpg
/home/pi/Desktop/images/06042025/18/45/image_06042025_18_46_06_9438.jpg
/home/pi/Desktop/images/06042025/18/46/image_06042025_18_46_17_10439.jpg
/home/pi/Desktop/images/06042025/18/46/image_06042025_18_46_26_9481.jpg
/home/pi/Desktop/images/06042025/18/46/image_06042025_18_46_46_9409.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351418539","1351418518","1351418535","1351418523","1351418480","1351418473"],"photo_ids_order":["1351418473","1351418480","1351418518","1351418523","1351418535","1351418539"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/fec6d3f23b0c7ed29c4577953ab6fa2e.jpg","text":"TemporaryFile(/tmp/multipartBody6574888398999591618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332394459,"filename":"image_06042025_18_46_46_9409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/eabaecdc2edccff56e3d02f5be4cb11d.jpg","text":"TemporaryFile(/tmp/multipartBody3293602236344206482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332394459,"filename":"image_06042025_18_46_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/11/1472e7b0a5af1c442a8ae946d9f523a6.jpg","text":"TemporaryFile(/tmp/multipartBody6389312836287427776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332394459,"filename":"image_06042025_18_46_26_9481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d31cbacf57cb90f2d3a6aa62d5814adf.jpg","text":"TemporaryFile(/tmp/multipartBody2703029968846391882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332394459,"filename":"image_06042025_18_46_17_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/11/0da1dcc3e94ac7bdf8af492d2188d5a6.jpg","text":"TemporaryFile(/tmp/multipartBody76942625388766748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332394459,"filename":"image_06042025_18_45_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/11/eb81b49655b0e93c456f268dc611dcf2.jpg","text":"TemporaryFile(/tmp/multipartBody777416107737209826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332394459,"filename":"image_06042025_18_45_47_10398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351418518","file1":"1351418480","file0":"1351418473","file4":"1351418535","file5":"1351418539","file3":"1351418523"},"map_files_photo_id_array":[{"photo_id":"1351418539","filename":"file5"},{"photo_id":"1351418518","filename":"file2"},{"photo_id":"1351418535","filename":"file4"},{"photo_id":"1351418480","filename":"file1"},{"photo_id":"1351418473","filename":"file0"},{"photo_id":"1351418523","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351418539":["hashtag1","hashtag2"]},{"1351418518":["hashtag1","hashtag2"]},{"1351418535":["hashtag1","hashtag2"]},{"1351418523":["hashtag1","hashtag2"]},{"1351418480":["hashtag1","hashtag2"]},{"1351418473":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351418539, 1351418518, 1351418535, 1351418523, 1351418480, 1351418473)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.97950744628906 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 02:46:33.002528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/18/46/image_06042025_18_46_56_10380.jpg', '/home/pi/Desktop/images/06042025/18/46/image_06042025_18_47_07_10347.jpg', '/home/pi/Desktop/images/06042025/18/47/image_06042025_18_47_27_10411.jpg', '/home/pi/Desktop/images/06042025/18/47/image_06042025_18_47_36_9469.jpg', '/home/pi/Desktop/images/06042025/18/47/image_06042025_18_47_47_10437.jpg', '/home/pi/Desktop/images/06042025/18/47/image_06042025_18_47_57_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/18/46/image_06042025_18_46_56_10380.jpg
/home/pi/Desktop/images/06042025/18/46/image_06042025_18_47_07_10347.jpg
/home/pi/Desktop/images/06042025/18/47/image_06042025_18_47_27_10411.jpg
/home/pi/Desktop/images/06042025/18/47/image_06042025_18_47_36_9469.jpg
/home/pi/Desktop/images/06042025/18/47/image_06042025_18_47_47_10437.jpg
/home/pi/Desktop/images/06042025/18/47/image_06042025_18_47_57_10362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351418740","1351418737","1351418725","1351418733","1351418669","1351418660"],"photo_ids_order":["1351418660","1351418669","1351418725","1351418733","1351418737","1351418740"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0b9b6f647aef65a6354a7c6455f8cc32.jpg","text":"TemporaryFile(/tmp/multipartBody6850269698638815154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332454686,"filename":"image_06042025_18_47_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/11/06140a3824a7f1019da78b5c54bb9676.jpg","text":"TemporaryFile(/tmp/multipartBody5022966864570205713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332454686,"filename":"image_06042025_18_47_47_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4f3d89b3679bf7846686cb814b63668a.jpg","text":"TemporaryFile(/tmp/multipartBody2108558042857045070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332454686,"filename":"image_06042025_18_47_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/11/e73e8f3f78bf2afc66dd700f900bc07d.jpg","text":"TemporaryFile(/tmp/multipartBody1511497240570804562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332454686,"filename":"image_06042025_18_47_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/11/61383504edebe264e1ed0b9d07a1bf4a.jpg","text":"TemporaryFile(/tmp/multipartBody3588638703112967389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332454686,"filename":"image_06042025_18_47_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/11/51840c97a872ae0a5b374d25ba02457b.jpg","text":"TemporaryFile(/tmp/multipartBody9028463546771159575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332454686,"filename":"image_06042025_18_46_56_10380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351418725","file1":"1351418669","file0":"1351418660","file4":"1351418737","file5":"1351418740","file3":"1351418733"},"map_files_photo_id_array":[{"photo_id":"1351418740","filename":"file5"},{"photo_id":"1351418725","filename":"file2"},{"photo_id":"1351418737","filename":"file4"},{"photo_id":"1351418669","filename":"file1"},{"photo_id":"1351418660","filename":"file0"},{"photo_id":"1351418733","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351418740":["hashtag1","hashtag2"]},{"1351418737":["hashtag1","hashtag2"]},{"1351418725":["hashtag1","hashtag2"]},{"1351418733":["hashtag1","hashtag2"]},{"1351418669":["hashtag1","hashtag2"]},{"1351418660":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351418740, 1351418737, 1351418725, 1351418733, 1351418669, 1351418660)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.984976053237915 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 02:47:33.211316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/18/48/image_06042025_18_48_47_10367.jpg', '/home/pi/Desktop/images/06042025/18/48/image_06042025_18_48_56_9424.jpg', '/home/pi/Desktop/images/06042025/18/49/image_06042025_18_49_37_10356.jpg', '/home/pi/Desktop/images/06042025/18/49/image_06042025_18_49_57_10548.jpg', '/home/pi/Desktop/images/06042025/18/50/image_06042025_18_50_17_10328.jpg', '/home/pi/Desktop/images/06042025/18/50/image_06042025_18_50_26_9507.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/18/48/image_06042025_18_48_47_10367.jpg
/home/pi/Desktop/images/06042025/18/48/image_06042025_18_48_56_9424.jpg
/home/pi/Desktop/images/06042025/18/49/image_06042025_18_49_37_10356.jpg
/home/pi/Desktop/images/06042025/18/49/image_06042025_18_49_57_10548.jpg
/home/pi/Desktop/images/06042025/18/50/image_06042025_18_50_17_10328.jpg
/home/pi/Desktop/images/06042025/18/50/image_06042025_18_50_26_9507.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351418862","1351418856","1351418859","1351418957","1351418930","1351418909"],"photo_ids_order":["1351418856","1351418859","1351418862","1351418909","1351418930","1351418957"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/255d0f30732548cf6b761ad460e83525.jpg","text":"TemporaryFile(/tmp/multipartBody5262998061935829014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332514883,"filename":"image_06042025_18_49_37_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a71220ec1528434238a0cd494ce4dacf.jpg","text":"TemporaryFile(/tmp/multipartBody7179762688807516388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332514883,"filename":"image_06042025_18_48_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/11/83eb9c2b225e919c72f66ef06d0b958a.jpg","text":"TemporaryFile(/tmp/multipartBody3627441586113390759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332514883,"filename":"image_06042025_18_48_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/11/d60e9149c5c58e019c07c950ca2e4d36.jpg","text":"TemporaryFile(/tmp/multipartBody2587485361068064203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332514883,"filename":"image_06042025_18_50_26_9507.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e7f52dc2ad818977cf74315509c00e50.jpg","text":"TemporaryFile(/tmp/multipartBody1177280034071649323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332514883,"filename":"image_06042025_18_50_17_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/42611a412295e20cd90dbfa6a5a2f654.jpg","text":"TemporaryFile(/tmp/multipartBody6148595388822582327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332514883,"filename":"image_06042025_18_49_57_10548.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351418862","file1":"1351418859","file0":"1351418856","file4":"1351418930","file5":"1351418957","file3":"1351418909"},"map_files_photo_id_array":[{"photo_id":"1351418957","filename":"file5"},{"photo_id":"1351418862","filename":"file2"},{"photo_id":"1351418930","filename":"file4"},{"photo_id":"1351418859","filename":"file1"},{"photo_id":"1351418856","filename":"file0"},{"photo_id":"1351418909","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351418862":["hashtag1","hashtag2"]},{"1351418856":["hashtag1","hashtag2"]},{"1351418859":["hashtag1","hashtag2"]},{"1351418957":["hashtag1","hashtag2"]},{"1351418930":["hashtag1","hashtag2"]},{"1351418909":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351418862, 1351418856, 1351418859, 1351418957, 1351418930, 1351418909)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.97490215301514 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 02:48:32.312296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/18/50/image_06042025_18_50_36_10362.jpg', '/home/pi/Desktop/images/06042025/18/50/image_06042025_18_50_47_10375.jpg', '/home/pi/Desktop/images/06042025/18/50/image_06042025_18_50_56_9471.jpg', '/home/pi/Desktop/images/06042025/18/50/image_06042025_18_51_07_10441.jpg', '/home/pi/Desktop/images/06042025/18/51/image_06042025_18_51_16_9403.jpg', '/home/pi/Desktop/images/06042025/18/51/image_06042025_18_51_27_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/18/50/image_06042025_18_50_36_10362.jpg
/home/pi/Desktop/images/06042025/18/50/image_06042025_18_50_47_10375.jpg
/home/pi/Desktop/images/06042025/18/50/image_06042025_18_50_56_9471.jpg
/home/pi/Desktop/images/06042025/18/50/image_06042025_18_51_07_10441.jpg
/home/pi/Desktop/images/06042025/18/51/image_06042025_18_51_16_9403.jpg
/home/pi/Desktop/images/06042025/18/51/image_06042025_18_51_27_10362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351419227","1351419230","1351419196","1351419241","1351419205","1351419154"],"photo_ids_order":["1351419154","1351419196","1351419205","1351419227","1351419230","1351419241"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/32d917d25cb233e740c866e8506cb91b.jpg","text":"TemporaryFile(/tmp/multipartBody1918733161925440493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332574001,"filename":"image_06042025_18_51_07_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0cea7c5558559151d23bf9ab6a7a4ffe.jpg","text":"TemporaryFile(/tmp/multipartBody2520618876635316996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332574001,"filename":"image_06042025_18_51_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/11/dbab013dc0272ba6baae8ba8ae91671f.jpg","text":"TemporaryFile(/tmp/multipartBody5401154634446891682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332574001,"filename":"image_06042025_18_50_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/11/93340853be6961e79d3558f542513e2b.jpg","text":"TemporaryFile(/tmp/multipartBody4745953705870963984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332574001,"filename":"image_06042025_18_51_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/11/c5415e27262df297c5d1180b97927837.jpg","text":"TemporaryFile(/tmp/multipartBody6778774939367309292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332574001,"filename":"image_06042025_18_50_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/11/3b5a1e78601f55a60b153c69f61f7230.jpg","text":"TemporaryFile(/tmp/multipartBody3376573060034819939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332574001,"filename":"image_06042025_18_50_36_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351419205","file1":"1351419196","file0":"1351419154","file4":"1351419230","file5":"1351419241","file3":"1351419227"},"map_files_photo_id_array":[{"photo_id":"1351419241","filename":"file5"},{"photo_id":"1351419205","filename":"file2"},{"photo_id":"1351419230","filename":"file4"},{"photo_id":"1351419196","filename":"file1"},{"photo_id":"1351419154","filename":"file0"},{"photo_id":"1351419227","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351419227":["hashtag1","hashtag2"]},{"1351419230":["hashtag1","hashtag2"]},{"1351419196":["hashtag1","hashtag2"]},{"1351419241":["hashtag1","hashtag2"]},{"1351419205":["hashtag1","hashtag2"]},{"1351419154":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351419227, 1351419230, 1351419196, 1351419241, 1351419205, 1351419154)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.863728046417236 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 02:49:32.585580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/18/51/image_06042025_18_51_37_10362.jpg', '/home/pi/Desktop/images/06042025/18/51/image_06042025_18_51_46_9465.jpg', '/home/pi/Desktop/images/06042025/18/51/image_06042025_18_51_57_10362.jpg', '/home/pi/Desktop/images/06042025/18/51/image_06042025_18_52_06_9470.jpg', '/home/pi/Desktop/images/06042025/18/52/image_06042025_18_52_17_10362.jpg', '/home/pi/Desktop/images/06042025/18/52/image_06042025_18_52_27_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/18/51/image_06042025_18_51_37_10362.jpg
/home/pi/Desktop/images/06042025/18/51/image_06042025_18_51_46_9465.jpg
/home/pi/Desktop/images/06042025/18/51/image_06042025_18_51_57_10362.jpg
/home/pi/Desktop/images/06042025/18/51/image_06042025_18_52_06_9470.jpg
/home/pi/Desktop/images/06042025/18/52/image_06042025_18_52_17_10362.jpg
/home/pi/Desktop/images/06042025/18/52/image_06042025_18_52_27_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":["1351419587","1351419389","1351419482","1351419509","1351419416","1351419544"],"photo_ids_order":["1351419389","1351419416","1351419482","1351419509","1351419544","1351419587"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c150e2e86b976e1d409ed3e007a220fa.jpg","text":"TemporaryFile(/tmp/multipartBody7437195429640204663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332634264,"filename":"image_06042025_18_52_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/11/99d68ba955192381600605d51c045a0b.jpg","text":"TemporaryFile(/tmp/multipartBody7740249047768094122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332634264,"filename":"image_06042025_18_51_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/11/df07acb8f800b1f39a6afefd41d64d5a.jpg","text":"TemporaryFile(/tmp/multipartBody3937891241174752158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332634264,"filename":"image_06042025_18_51_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/11/a7c9046c426ef7150de47aebb36456de.jpg","text":"TemporaryFile(/tmp/multipartBody4989265602208586628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332634264,"filename":"image_06042025_18_52_06_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/11/293a6ccf0b382d50c20741e2f2db3f73.jpg","text":"TemporaryFile(/tmp/multipartBody3327865801328335362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332634264,"filename":"image_06042025_18_51_46_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/11/decf7144a6abb332a8d0b15678cfac26.jpg","text":"TemporaryFile(/tmp/multipartBody4402362528140170870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332634264,"filename":"image_06042025_18_52_17_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351419482","file1":"1351419416","file0":"1351419389","file4":"1351419544","file5":"1351419587","file3":"1351419509"},"map_files_photo_id_array":[{"photo_id":"1351419587","filename":"file5"},{"photo_id":"1351419482","filename":"file2"},{"photo_id":"1351419544","filename":"file4"},{"photo_id":"1351419416","filename":"file1"},{"photo_id":"1351419389","filename":"file0"},{"photo_id":"1351419509","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351419587":["hashtag1","hashtag2"]},{"1351419389":["hashtag1","hashtag2"]},{"1351419482":["hashtag1","hashtag2"]},{"1351419509":["hashtag1","hashtag2"]},{"1351419416":["hashtag1","hashtag2"]},{"1351419544":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351419587, 1351419389, 1351419482, 1351419509, 1351419416, 1351419544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.33460354804993 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 02:50:32.738813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/18/52/image_06042025_18_52_36_9349.jpg', '/home/pi/Desktop/images/06042025/18/52/image_06042025_18_52_47_10422.jpg', '/home/pi/Desktop/images/06042025/18/52/image_06042025_18_52_56_9416.jpg', '/home/pi/Desktop/images/06042025/18/52/image_06042025_18_53_07_10379.jpg', '/home/pi/Desktop/images/06042025/18/53/image_06042025_18_53_17_10414.jpg', '/home/pi/Desktop/images/06042025/18/53/image_06042025_18_53_26_9365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/18/52/image_06042025_18_52_36_9349.jpg
/home/pi/Desktop/images/06042025/18/52/image_06042025_18_52_47_10422.jpg
/home/pi/Desktop/images/06042025/18/52/image_06042025_18_52_56_9416.jpg
/home/pi/Desktop/images/06042025/18/52/image_06042025_18_53_07_10379.jpg
/home/pi/Desktop/images/06042025/18/53/image_06042025_18_53_17_10414.jpg
/home/pi/Desktop/images/06042025/18/53/image_06042025_18_53_26_9365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351419703","1351419712","1351419726","1351419720","1351419716","1351419707"],"photo_ids_order":["1351419703","1351419707","1351419712","1351419716","1351419720","1351419726"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4266f4f95a8f5023e6a48c96a17fa616.jpg","text":"TemporaryFile(/tmp/multipartBody2123937256230538822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332694412,"filename":"image_06042025_18_52_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/11/256a86ed560b51ef82c6cc850efd03b0.jpg","text":"TemporaryFile(/tmp/multipartBody5212083711569133882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332694412,"filename":"image_06042025_18_52_56_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1accf03f1f69164dbf4fa8932327f1a0.jpg","text":"TemporaryFile(/tmp/multipartBody3282400727498126654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332694412,"filename":"image_06042025_18_53_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/11/110401ed7ef5c95206e03a8957452937.jpg","text":"TemporaryFile(/tmp/multipartBody8075058626257398666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332694412,"filename":"image_06042025_18_53_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/11/f35c5e0f65034d631513f3cdb72534b4.jpg","text":"TemporaryFile(/tmp/multipartBody1172132852357035076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332694412,"filename":"image_06042025_18_53_07_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b1ea5dd43b295201c7c8008b70ae0a74.jpg","text":"TemporaryFile(/tmp/multipartBody4561969349178122927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332694412,"filename":"image_06042025_18_52_47_10422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351419712","file1":"1351419707","file0":"1351419703","file4":"1351419720","file5":"1351419726","file3":"1351419716"},"map_files_photo_id_array":[{"photo_id":"1351419726","filename":"file5"},{"photo_id":"1351419712","filename":"file2"},{"photo_id":"1351419720","filename":"file4"},{"photo_id":"1351419707","filename":"file1"},{"photo_id":"1351419703","filename":"file0"},{"photo_id":"1351419716","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351419703":["hashtag1","hashtag2"]},{"1351419712":["hashtag1","hashtag2"]},{"1351419726":["hashtag1","hashtag2"]},{"1351419720":["hashtag1","hashtag2"]},{"1351419716":["hashtag1","hashtag2"]},{"1351419707":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351419703, 1351419712, 1351419726, 1351419720, 1351419716, 1351419707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.799781799316406 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 02:51:32.969237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/18/53/image_06042025_18_53_37_10409.jpg', '/home/pi/Desktop/images/06042025/18/53/image_06042025_18_53_46_9455.jpg', '/home/pi/Desktop/images/06042025/18/53/image_06042025_18_53_57_10371.jpg', '/home/pi/Desktop/images/06042025/18/53/image_06042025_18_54_07_10405.jpg', '/home/pi/Desktop/images/06042025/18/54/image_06042025_18_54_16_9437.jpg', '/home/pi/Desktop/images/06042025/18/54/image_06042025_18_54_27_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/18/53/image_06042025_18_53_37_10409.jpg
/home/pi/Desktop/images/06042025/18/53/image_06042025_18_53_46_9455.jpg
/home/pi/Desktop/images/06042025/18/53/image_06042025_18_53_57_10371.jpg
/home/pi/Desktop/images/06042025/18/53/image_06042025_18_54_07_10405.jpg
/home/pi/Desktop/images/06042025/18/54/image_06042025_18_54_16_9437.jpg
/home/pi/Desktop/images/06042025/18/54/image_06042025_18_54_27_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: 1.5967633724212646 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 02:51:42.919052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/18/53/image_06042025_18_53_37_10409.jpg', '/home/pi/Desktop/images/06042025/18/53/image_06042025_18_53_46_9455.jpg', '/home/pi/Desktop/images/06042025/18/53/image_06042025_18_53_57_10371.jpg', '/home/pi/Desktop/images/06042025/18/53/image_06042025_18_54_07_10405.jpg', '/home/pi/Desktop/images/06042025/18/54/image_06042025_18_54_16_9437.jpg', '/home/pi/Desktop/images/06042025/18/54/image_06042025_18_54_27_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/18/53/image_06042025_18_53_37_10409.jpg
/home/pi/Desktop/images/06042025/18/53/image_06042025_18_53_46_9455.jpg
/home/pi/Desktop/images/06042025/18/53/image_06042025_18_53_57_10371.jpg
/home/pi/Desktop/images/06042025/18/53/image_06042025_18_54_07_10405.jpg
/home/pi/Desktop/images/06042025/18/54/image_06042025_18_54_16_9437.jpg
/home/pi/Desktop/images/06042025/18/54/image_06042025_18_54_27_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":["1351419792","1351419788","1351419776","1351419796","1351419781","1351419772"],"photo_ids_order":["1351419772","1351419776","1351419781","1351419788","1351419792","1351419796"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a357989110dd80e7f5cdd5cb8e00c392.jpg","text":"TemporaryFile(/tmp/multipartBody9049651493902288346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332763667,"filename":"image_06042025_18_54_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/11/da9653dbf73ff81066aee0e8883251b1.jpg","text":"TemporaryFile(/tmp/multipartBody3929662591852993649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332763667,"filename":"image_06042025_18_54_07_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/947a789fa97f2faffc2e47805479da84.jpg","text":"TemporaryFile(/tmp/multipartBody6031787565839965272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332763667,"filename":"image_06042025_18_53_46_9455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b7690b0ef23e60b27b9433dce4d6e8a7.jpg","text":"TemporaryFile(/tmp/multipartBody8837703756705909244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332763667,"filename":"image_06042025_18_54_27_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6c20a354dd3f644031a7eb0755d86169.jpg","text":"TemporaryFile(/tmp/multipartBody632651482632891737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332763667,"filename":"image_06042025_18_53_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/11/5c149d21872bfe77d73411ca50614013.jpg","text":"TemporaryFile(/tmp/multipartBody1479899624073930944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332763667,"filename":"image_06042025_18_53_37_10409.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351419781","file1":"1351419776","file0":"1351419772","file4":"1351419792","file5":"1351419796","file3":"1351419788"},"map_files_photo_id_array":[{"photo_id":"1351419796","filename":"file5"},{"photo_id":"1351419781","filename":"file2"},{"photo_id":"1351419792","filename":"file4"},{"photo_id":"1351419776","filename":"file1"},{"photo_id":"1351419772","filename":"file0"},{"photo_id":"1351419788","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351419792":["hashtag1","hashtag2"]},{"1351419788":["hashtag1","hashtag2"]},{"1351419776":["hashtag1","hashtag2"]},{"1351419796":["hashtag1","hashtag2"]},{"1351419781":["hashtag1","hashtag2"]},{"1351419772":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351419792, 1351419788, 1351419776, 1351419796, 1351419781, 1351419772)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.987319469451904 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 02:52:33.184284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/18/54/image_06042025_18_54_36_9511.jpg', '/home/pi/Desktop/images/06042025/18/54/image_06042025_18_54_47_10377.jpg', '/home/pi/Desktop/images/06042025/18/54/image_06042025_18_54_57_10373.jpg', '/home/pi/Desktop/images/06042025/18/54/image_06042025_18_55_06_9444.jpg', '/home/pi/Desktop/images/06042025/18/55/image_06042025_18_55_17_10369.jpg', '/home/pi/Desktop/images/06042025/18/55/image_06042025_18_55_26_9400.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/18/54/image_06042025_18_54_36_9511.jpg
/home/pi/Desktop/images/06042025/18/54/image_06042025_18_54_47_10377.jpg
/home/pi/Desktop/images/06042025/18/54/image_06042025_18_54_57_10373.jpg
/home/pi/Desktop/images/06042025/18/54/image_06042025_18_55_06_9444.jpg
/home/pi/Desktop/images/06042025/18/55/image_06042025_18_55_17_10369.jpg
/home/pi/Desktop/images/06042025/18/55/image_06042025_18_55_26_9400.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351419933","1351419878","1351419905","1351419874","1351419931","1351419928"],"photo_ids_order":["1351419874","1351419878","1351419905","1351419928","1351419931","1351419933"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2eb7d943b81175e90d2b1cfe8105de8f.jpg","text":"TemporaryFile(/tmp/multipartBody7916964379617012719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332814866,"filename":"image_06042025_18_55_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/11/68abedb053f76ab0974609e93c2ce13d.jpg","text":"TemporaryFile(/tmp/multipartBody40089412738625334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332814866,"filename":"image_06042025_18_54_47_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/cb649d6cb4533be31c4089e11db57ed7.jpg","text":"TemporaryFile(/tmp/multipartBody4242343293042538556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332814866,"filename":"image_06042025_18_54_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/11/1b601bda4748e1e1e1ffe40c07726877.jpg","text":"TemporaryFile(/tmp/multipartBody3246081161714279554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332814866,"filename":"image_06042025_18_54_36_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/11/2d1ff926b4f2de6601c99495e054090a.jpg","text":"TemporaryFile(/tmp/multipartBody6838572278624991699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332814866,"filename":"image_06042025_18_55_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/11/5d5e72dffb29b87cd5016b2747b309ce.jpg","text":"TemporaryFile(/tmp/multipartBody6857470205088750619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332814866,"filename":"image_06042025_18_55_06_9444.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351419905","file1":"1351419878","file0":"1351419874","file4":"1351419931","file5":"1351419933","file3":"1351419928"},"map_files_photo_id_array":[{"photo_id":"1351419933","filename":"file5"},{"photo_id":"1351419905","filename":"file2"},{"photo_id":"1351419931","filename":"file4"},{"photo_id":"1351419878","filename":"file1"},{"photo_id":"1351419874","filename":"file0"},{"photo_id":"1351419928","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351419933":["hashtag1","hashtag2"]},{"1351419878":["hashtag1","hashtag2"]},{"1351419905":["hashtag1","hashtag2"]},{"1351419874":["hashtag1","hashtag2"]},{"1351419931":["hashtag1","hashtag2"]},{"1351419928":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351419933, 1351419878, 1351419905, 1351419874, 1351419931, 1351419928)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.32166647911072 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 02:53:32.420502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/18/55/image_06042025_18_55_37_10354.jpg', '/home/pi/Desktop/images/06042025/18/55/image_06042025_18_55_47_10374.jpg', '/home/pi/Desktop/images/06042025/18/55/image_06042025_18_55_56_9439.jpg', '/home/pi/Desktop/images/06042025/18/55/image_06042025_18_56_07_10342.jpg', '/home/pi/Desktop/images/06042025/18/56/image_06042025_18_56_16_9450.jpg', '/home/pi/Desktop/images/06042025/18/56/image_06042025_18_56_27_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/18/55/image_06042025_18_55_37_10354.jpg
/home/pi/Desktop/images/06042025/18/55/image_06042025_18_55_47_10374.jpg
/home/pi/Desktop/images/06042025/18/55/image_06042025_18_55_56_9439.jpg
/home/pi/Desktop/images/06042025/18/55/image_06042025_18_56_07_10342.jpg
/home/pi/Desktop/images/06042025/18/56/image_06042025_18_56_16_9450.jpg
/home/pi/Desktop/images/06042025/18/56/image_06042025_18_56_27_10377.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351419966","1351419969","1351419954","1351419963","1351419959","1351419956"],"photo_ids_order":["1351419954","1351419956","1351419959","1351419963","1351419966","1351419969"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/160c6b1addd5ac43603510e1f6fa23c7.jpg","text":"TemporaryFile(/tmp/multipartBody4448212893582136624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332874094,"filename":"image_06042025_18_56_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/11/00767cbf90b151a961409132f524dd10.jpg","text":"TemporaryFile(/tmp/multipartBody1854782582463734454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332874094,"filename":"image_06042025_18_56_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/11/6801489f7c23863008abbcc7283915a8.jpg","text":"TemporaryFile(/tmp/multipartBody7161147761414603483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332874094,"filename":"image_06042025_18_55_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/11/3535b13be557ce177814e54819e24503.jpg","text":"TemporaryFile(/tmp/multipartBody1234292824562016732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332874094,"filename":"image_06042025_18_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/11/a58a2aa2a6dd3692832d81fc33b9611f.jpg","text":"TemporaryFile(/tmp/multipartBody2942641320003837339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332874094,"filename":"image_06042025_18_55_56_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8228af82e4a3138234bf7dcb02e71ff2.jpg","text":"TemporaryFile(/tmp/multipartBody6026044563736607412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332874094,"filename":"image_06042025_18_55_47_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351419959","file1":"1351419956","file0":"1351419954","file4":"1351419966","file5":"1351419969","file3":"1351419963"},"map_files_photo_id_array":[{"photo_id":"1351419969","filename":"file5"},{"photo_id":"1351419959","filename":"file2"},{"photo_id":"1351419966","filename":"file4"},{"photo_id":"1351419956","filename":"file1"},{"photo_id":"1351419954","filename":"file0"},{"photo_id":"1351419963","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351419966":["hashtag1","hashtag2"]},{"1351419969":["hashtag1","hashtag2"]},{"1351419954":["hashtag1","hashtag2"]},{"1351419963":["hashtag1","hashtag2"]},{"1351419959":["hashtag1","hashtag2"]},{"1351419956":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351419966, 1351419969, 1351419954, 1351419963, 1351419959, 1351419956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.32113742828369 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 02:54:32.693738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/18/56/image_06042025_18_56_37_10355.jpg', '/home/pi/Desktop/images/06042025/18/56/image_06042025_18_56_46_9436.jpg', '/home/pi/Desktop/images/06042025/18/56/image_06042025_18_56_57_10456.jpg', '/home/pi/Desktop/images/06042025/18/56/image_06042025_18_57_06_9454.jpg', '/home/pi/Desktop/images/06042025/18/57/image_06042025_18_57_17_10328.jpg', '/home/pi/Desktop/images/06042025/18/57/image_06042025_18_57_27_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/18/56/image_06042025_18_56_37_10355.jpg
/home/pi/Desktop/images/06042025/18/56/image_06042025_18_56_46_9436.jpg
/home/pi/Desktop/images/06042025/18/56/image_06042025_18_56_57_10456.jpg
/home/pi/Desktop/images/06042025/18/56/image_06042025_18_57_06_9454.jpg
/home/pi/Desktop/images/06042025/18/57/image_06042025_18_57_17_10328.jpg
/home/pi/Desktop/images/06042025/18/57/image_06042025_18_57_27_10365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351419987","1351419995","1351419989","1351419998","1351419992","1351420001"],"photo_ids_order":["1351419987","1351419989","1351419992","1351419995","1351419998","1351420001"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a6d10c20fad6c19f3058235fe6b735e6.jpg","text":"TemporaryFile(/tmp/multipartBody6507629872501213379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332934365,"filename":"image_06042025_18_56_37_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8761bbe2dd890e690d7dd5f88f82d726.jpg","text":"TemporaryFile(/tmp/multipartBody8658156357741959597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332934365,"filename":"image_06042025_18_57_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/11/439e522f78bd55a6e87d860a6ef48b4d.jpg","text":"TemporaryFile(/tmp/multipartBody5056159635705642347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332934365,"filename":"image_06042025_18_56_46_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/053a4238b51f507ecef658e1e8a433c7.jpg","text":"TemporaryFile(/tmp/multipartBody8380323429508908722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332934365,"filename":"image_06042025_18_57_17_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/554709d722266ec41bdaa5872ac74423.jpg","text":"TemporaryFile(/tmp/multipartBody7063502789759470171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332934365,"filename":"image_06042025_18_56_57_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/11/624a065060a14f2f736b353ccaf83da2.jpg","text":"TemporaryFile(/tmp/multipartBody955627624127083848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332934365,"filename":"image_06042025_18_57_27_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351419992","file1":"1351419989","file0":"1351419987","file4":"1351419998","file5":"1351420001","file3":"1351419995"},"map_files_photo_id_array":[{"photo_id":"1351420001","filename":"file5"},{"photo_id":"1351419992","filename":"file2"},{"photo_id":"1351419998","filename":"file4"},{"photo_id":"1351419989","filename":"file1"},{"photo_id":"1351419987","filename":"file0"},{"photo_id":"1351419995","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351419987":["hashtag1","hashtag2"]},{"1351419995":["hashtag1","hashtag2"]},{"1351419989":["hashtag1","hashtag2"]},{"1351419998":["hashtag1","hashtag2"]},{"1351419992":["hashtag1","hashtag2"]},{"1351420001":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351419987, 1351419995, 1351419989, 1351419998, 1351419992, 1351420001)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.03265833854675 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 02:55:32.868339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/18/57/image_06042025_18_57_36_9419.jpg', '/home/pi/Desktop/images/06042025/18/57/image_06042025_18_57_47_10387.jpg', '/home/pi/Desktop/images/06042025/18/57/image_06042025_18_57_56_9536.jpg', '/home/pi/Desktop/images/06042025/18/57/image_06042025_18_58_07_10350.jpg', '/home/pi/Desktop/images/06042025/18/58/image_06042025_18_58_16_9462.jpg', '/home/pi/Desktop/images/06042025/18/58/image_06042025_18_58_26_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/18/57/image_06042025_18_57_36_9419.jpg
/home/pi/Desktop/images/06042025/18/57/image_06042025_18_57_47_10387.jpg
/home/pi/Desktop/images/06042025/18/57/image_06042025_18_57_56_9536.jpg
/home/pi/Desktop/images/06042025/18/57/image_06042025_18_58_07_10350.jpg
/home/pi/Desktop/images/06042025/18/58/image_06042025_18_58_16_9462.jpg
/home/pi/Desktop/images/06042025/18/58/image_06042025_18_58_26_10368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351420056","1351420130","1351420052","1351420040","1351420109","1351420087"],"photo_ids_order":["1351420040","1351420052","1351420056","1351420087","1351420109","1351420130"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e8829185b6ce2df680fc6915bd6feaf8.jpg","text":"TemporaryFile(/tmp/multipartBody8872855465365158505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332994559,"filename":"image_06042025_18_57_56_9536.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/37d1c8c3c9555c8263b191d6f28a5f26.jpg","text":"TemporaryFile(/tmp/multipartBody2196605843884768015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332994559,"filename":"image_06042025_18_58_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/11/143a03ad25f02a45dc1d020bc6d93f65.jpg","text":"TemporaryFile(/tmp/multipartBody1127930520481462897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332994559,"filename":"image_06042025_18_57_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/11/efb04cfe0d8f62a895b81a1a33d1639d.jpg","text":"TemporaryFile(/tmp/multipartBody6731004543690341453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332994559,"filename":"image_06042025_18_57_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/11/ae36b2f18ada536e6342305e6f836b16.jpg","text":"TemporaryFile(/tmp/multipartBody2229382149004851965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332994559,"filename":"image_06042025_18_58_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/11/a30fcbb4cd9d57c5eb7cb3420112bae3.jpg","text":"TemporaryFile(/tmp/multipartBody2132341563002936972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744332994559,"filename":"image_06042025_18_58_07_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351420056","file1":"1351420052","file0":"1351420040","file4":"1351420109","file5":"1351420130","file3":"1351420087"},"map_files_photo_id_array":[{"photo_id":"1351420130","filename":"file5"},{"photo_id":"1351420056","filename":"file2"},{"photo_id":"1351420109","filename":"file4"},{"photo_id":"1351420052","filename":"file1"},{"photo_id":"1351420040","filename":"file0"},{"photo_id":"1351420087","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351420056":["hashtag1","hashtag2"]},{"1351420130":["hashtag1","hashtag2"]},{"1351420052":["hashtag1","hashtag2"]},{"1351420040":["hashtag1","hashtag2"]},{"1351420109":["hashtag1","hashtag2"]},{"1351420087":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351420056, 1351420130, 1351420052, 1351420040, 1351420109, 1351420087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.270890951156616 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 02:56:33.092824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/18/58/image_06042025_18_58_37_10423.jpg', '/home/pi/Desktop/images/06042025/18/58/image_06042025_18_58_46_9406.jpg', '/home/pi/Desktop/images/06042025/18/58/image_06042025_18_58_57_10368.jpg', '/home/pi/Desktop/images/06042025/18/58/image_06042025_18_59_06_9433.jpg', '/home/pi/Desktop/images/06042025/18/59/image_06042025_18_59_16_10367.jpg', '/home/pi/Desktop/images/06042025/18/59/image_06042025_18_59_27_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/18/58/image_06042025_18_58_37_10423.jpg
/home/pi/Desktop/images/06042025/18/58/image_06042025_18_58_46_9406.jpg
/home/pi/Desktop/images/06042025/18/58/image_06042025_18_58_57_10368.jpg
/home/pi/Desktop/images/06042025/18/58/image_06042025_18_59_06_9433.jpg
/home/pi/Desktop/images/06042025/18/59/image_06042025_18_59_16_10367.jpg
/home/pi/Desktop/images/06042025/18/59/image_06042025_18_59_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":["1351420274","1351420283","1351420286","1351420229","1351420279","1351420288"],"photo_ids_order":["1351420229","1351420274","1351420279","1351420283","1351420286","1351420288"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c3ffc8380a92be74df259c5fc146c900.jpg","text":"TemporaryFile(/tmp/multipartBody7991458727864760910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744333054765,"filename":"image_06042025_18_58_46_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/fe3b21e702594971bf889aac91feed77.jpg","text":"TemporaryFile(/tmp/multipartBody1843652253076661648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744333054765,"filename":"image_06042025_18_59_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/11/79d2aa449367a4bba88bc45edaac6202.jpg","text":"TemporaryFile(/tmp/multipartBody3620723527676388985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744333054765,"filename":"image_06042025_18_59_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/11/81aa941dc9f90731f963dccc855cb709.jpg","text":"TemporaryFile(/tmp/multipartBody1431207542186218550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744333054765,"filename":"image_06042025_18_58_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/11/1e4d36b7361c2f3792a59fc0f3cccc7d.jpg","text":"TemporaryFile(/tmp/multipartBody7335054914973570263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744333054765,"filename":"image_06042025_18_58_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/11/8a6ef747fcd4af19684c03080fe3918e.jpg","text":"TemporaryFile(/tmp/multipartBody1907541644685328069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744333054765,"filename":"image_06042025_18_59_27_10430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351420279","file1":"1351420274","file0":"1351420229","file4":"1351420286","file5":"1351420288","file3":"1351420283"},"map_files_photo_id_array":[{"photo_id":"1351420288","filename":"file5"},{"photo_id":"1351420279","filename":"file2"},{"photo_id":"1351420286","filename":"file4"},{"photo_id":"1351420274","filename":"file1"},{"photo_id":"1351420229","filename":"file0"},{"photo_id":"1351420283","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351420274":["hashtag1","hashtag2"]},{"1351420283":["hashtag1","hashtag2"]},{"1351420286":["hashtag1","hashtag2"]},{"1351420229":["hashtag1","hashtag2"]},{"1351420279":["hashtag1","hashtag2"]},{"1351420288":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351420274, 1351420283, 1351420286, 1351420229, 1351420279, 1351420288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.22143602371216 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 02:57:32.392102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/18/59/image_06042025_18_59_36_9431.jpg', '/home/pi/Desktop/images/06042025/18/59/image_06042025_18_59_47_10426.jpg', '/home/pi/Desktop/images/06042025/18/59/image_06042025_18_59_56_9459.jpg', '/home/pi/Desktop/images/06042025/19/00/image_06042025_19_00_46_9361.jpg', '/home/pi/Desktop/images/06042025/19/00/image_06042025_19_00_56_10356.jpg', '/home/pi/Desktop/images/06042025/19/01/image_06042025_19_01_16_10340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/18/59/image_06042025_18_59_36_9431.jpg
/home/pi/Desktop/images/06042025/18/59/image_06042025_18_59_47_10426.jpg
/home/pi/Desktop/images/06042025/18/59/image_06042025_18_59_56_9459.jpg
/home/pi/Desktop/images/06042025/19/00/image_06042025_19_00_46_9361.jpg
/home/pi/Desktop/images/06042025/19/00/image_06042025_19_00_56_10356.jpg
/home/pi/Desktop/images/06042025/19/01/image_06042025_19_01_16_10340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 02:59:04.004807
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/18/59/image_06042025_18_59_36_9431.jpg', '/home/pi/Desktop/images/06042025/18/59/image_06042025_18_59_47_10426.jpg', '/home/pi/Desktop/images/06042025/18/59/image_06042025_18_59_56_9459.jpg', '/home/pi/Desktop/images/06042025/19/00/image_06042025_19_00_46_9361.jpg', '/home/pi/Desktop/images/06042025/19/00/image_06042025_19_00_56_10356.jpg', '/home/pi/Desktop/images/06042025/19/01/image_06042025_19_01_16_10340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/18/59/image_06042025_18_59_36_9431.jpg
/home/pi/Desktop/images/06042025/18/59/image_06042025_18_59_47_10426.jpg
/home/pi/Desktop/images/06042025/18/59/image_06042025_18_59_56_9459.jpg
/home/pi/Desktop/images/06042025/19/00/image_06042025_19_00_46_9361.jpg
/home/pi/Desktop/images/06042025/19/00/image_06042025_19_00_56_10356.jpg
/home/pi/Desktop/images/06042025/19/01/image_06042025_19_01_16_10340.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351420447","1351420444","1351420452","1351420455","1351420463","1351420459"],"photo_ids_order":["1351420444","1351420447","1351420452","1351420455","1351420459","1351420463"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/89f37a3aad19ab71386f0d8517fb2903.jpg","text":"TemporaryFile(/tmp/multipartBody734930488383915876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744333204915,"filename":"image_06042025_18_59_47_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2668630b4707e48de138db146eae8d74.jpg","text":"TemporaryFile(/tmp/multipartBody7548889389983359557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744333204915,"filename":"image_06042025_18_59_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/11/a6d1db0181e5e3dd41eec90614802cae.jpg","text":"TemporaryFile(/tmp/multipartBody6953640899658335611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744333204915,"filename":"image_06042025_18_59_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/11/68f866f4d6119208b7e296ede0dc2f97.jpg","text":"TemporaryFile(/tmp/multipartBody4147824965598889813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744333204915,"filename":"image_06042025_19_00_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/11/1c81dcf3b3f3bf39e41fa73ebee0b4c5.jpg","text":"TemporaryFile(/tmp/multipartBody6123605963243383530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744333204915,"filename":"image_06042025_19_01_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/11/b47ba8360fba9ecd814f30d6c92e1b82.jpg","text":"TemporaryFile(/tmp/multipartBody5908684300269737728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744333204915,"filename":"image_06042025_19_00_56_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351420452","file1":"1351420447","file0":"1351420444","file4":"1351420459","file5":"1351420463","file3":"1351420455"},"map_files_photo_id_array":[{"photo_id":"1351420463","filename":"file5"},{"photo_id":"1351420452","filename":"file2"},{"photo_id":"1351420459","filename":"file4"},{"photo_id":"1351420447","filename":"file1"},{"photo_id":"1351420444","filename":"file0"},{"photo_id":"1351420455","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351420447":["hashtag1","hashtag2"]},{"1351420444":["hashtag1","hashtag2"]},{"1351420452":["hashtag1","hashtag2"]},{"1351420455":["hashtag1","hashtag2"]},{"1351420463":["hashtag1","hashtag2"]},{"1351420459":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351420447, 1351420444, 1351420452, 1351420455, 1351420463, 1351420459)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.00328302383423 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 02:59:42.929821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/19/01/image_06042025_19_01_26_10026.jpg', '/home/pi/Desktop/images/06042025/19/01/image_06042025_19_01_36_10496.jpg', '/home/pi/Desktop/images/06042025/19/01/image_06042025_19_01_56_10367.jpg', '/home/pi/Desktop/images/06042025/19/01/image_06042025_19_02_06_10344.jpg', '/home/pi/Desktop/images/06042025/19/02/image_06042025_19_02_16_9340.jpg', '/home/pi/Desktop/images/06042025/19/02/image_06042025_19_02_26_10490.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/19/01/image_06042025_19_01_26_10026.jpg
/home/pi/Desktop/images/06042025/19/01/image_06042025_19_01_36_10496.jpg
/home/pi/Desktop/images/06042025/19/01/image_06042025_19_01_56_10367.jpg
/home/pi/Desktop/images/06042025/19/01/image_06042025_19_02_06_10344.jpg
/home/pi/Desktop/images/06042025/19/02/image_06042025_19_02_16_9340.jpg
/home/pi/Desktop/images/06042025/19/02/image_06042025_19_02_26_10490.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351420480","1351420476","1351420515","1351420472","1351420529","1351420505"],"photo_ids_order":["1351420472","1351420476","1351420480","1351420505","1351420515","1351420529"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/494e6dfdeb2bb566bd7393de29f554cb.jpg","text":"TemporaryFile(/tmp/multipartBody4637970874024029726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744333243758,"filename":"image_06042025_19_01_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/11/48cbabe115292ccf607bb0f793319c80.jpg","text":"TemporaryFile(/tmp/multipartBody7422195623377463675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744333243758,"filename":"image_06042025_19_01_36_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/11/ffebe6ba62a278b83b3acac9ad314fdc.jpg","text":"TemporaryFile(/tmp/multipartBody6251499129437522281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744333243758,"filename":"image_06042025_19_02_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/11/eeb3725fa96064df7bd92ac654143db0.jpg","text":"TemporaryFile(/tmp/multipartBody7686157725206438057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744333243758,"filename":"image_06042025_19_01_26_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/11/5156e626a741be307c2daa3a97dadf62.jpg","text":"TemporaryFile(/tmp/multipartBody1936752638618405296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744333243758,"filename":"image_06042025_19_02_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/11/801cb226fb7655cf978da982f28642d2.jpg","text":"TemporaryFile(/tmp/multipartBody7208082753592332509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744333243758,"filename":"image_06042025_19_02_06_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351420480","file1":"1351420476","file0":"1351420472","file4":"1351420515","file5":"1351420529","file3":"1351420505"},"map_files_photo_id_array":[{"photo_id":"1351420529","filename":"file5"},{"photo_id":"1351420480","filename":"file2"},{"photo_id":"1351420515","filename":"file4"},{"photo_id":"1351420476","filename":"file1"},{"photo_id":"1351420472","filename":"file0"},{"photo_id":"1351420505","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351420480":["hashtag1","hashtag2"]},{"1351420476":["hashtag1","hashtag2"]},{"1351420515":["hashtag1","hashtag2"]},{"1351420472":["hashtag1","hashtag2"]},{"1351420529":["hashtag1","hashtag2"]},{"1351420505":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351420480, 1351420476, 1351420515, 1351420472, 1351420529, 1351420505)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.487210750579834 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 03:00:33.001801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/19/02/image_06042025_19_02_35_9337.jpg', '/home/pi/Desktop/images/06042025/19/02/image_06042025_19_02_46_10451.jpg', '/home/pi/Desktop/images/06042025/19/02/image_06042025_19_02_56_10379.jpg', '/home/pi/Desktop/images/06042025/19/02/image_06042025_19_03_06_9368.jpg', '/home/pi/Desktop/images/06042025/19/03/image_06042025_19_03_16_10390.jpg', '/home/pi/Desktop/images/06042025/19/03/image_06042025_19_03_25_9433.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/19/02/image_06042025_19_02_35_9337.jpg
/home/pi/Desktop/images/06042025/19/02/image_06042025_19_02_46_10451.jpg
/home/pi/Desktop/images/06042025/19/02/image_06042025_19_02_56_10379.jpg
/home/pi/Desktop/images/06042025/19/02/image_06042025_19_03_06_9368.jpg
/home/pi/Desktop/images/06042025/19/03/image_06042025_19_03_16_10390.jpg
/home/pi/Desktop/images/06042025/19/03/image_06042025_19_03_25_9433.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351420627","1351420561","1351420566","1351420545","1351420547","1351420541"],"photo_ids_order":["1351420541","1351420545","1351420547","1351420561","1351420566","1351420627"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/82bb4f2a954e5ae1c5610e7233638503.jpg","text":"TemporaryFile(/tmp/multipartBody5085142670890003770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744333294702,"filename":"image_06042025_19_03_25_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f1015458e543e8b0c140eecef817d039.jpg","text":"TemporaryFile(/tmp/multipartBody2421244621159389981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744333294702,"filename":"image_06042025_19_03_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/11/c0f950e6545071976dc743edb4b7a534.jpg","text":"TemporaryFile(/tmp/multipartBody3272321534476348298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744333294702,"filename":"image_06042025_19_03_16_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9e8803099a175459c713ac6965b1167a.jpg","text":"TemporaryFile(/tmp/multipartBody7247248435870769622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744333294702,"filename":"image_06042025_19_02_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/11/183ec37c158d4e000182ff90c8cd974c.jpg","text":"TemporaryFile(/tmp/multipartBody1181411886116246102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744333294702,"filename":"image_06042025_19_02_56_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f361793310b6a411c9d9eb478982de8b.jpg","text":"TemporaryFile(/tmp/multipartBody5903420329880730917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744333294702,"filename":"image_06042025_19_02_35_9337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351420547","file1":"1351420545","file0":"1351420541","file4":"1351420566","file5":"1351420627","file3":"1351420561"},"map_files_photo_id_array":[{"photo_id":"1351420627","filename":"file5"},{"photo_id":"1351420547","filename":"file2"},{"photo_id":"1351420566","filename":"file4"},{"photo_id":"1351420545","filename":"file1"},{"photo_id":"1351420541","filename":"file0"},{"photo_id":"1351420561","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351420627":["hashtag1","hashtag2"]},{"1351420561":["hashtag1","hashtag2"]},{"1351420566":["hashtag1","hashtag2"]},{"1351420545":["hashtag1","hashtag2"]},{"1351420547":["hashtag1","hashtag2"]},{"1351420541":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351420627, 1351420561, 1351420566, 1351420545, 1351420547, 1351420541)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.42631411552429 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 03:01:32.235218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/19/03/image_06042025_19_03_36_10355.jpg', '/home/pi/Desktop/images/06042025/19/03/image_06042025_19_03_46_10359.jpg', '/home/pi/Desktop/images/06042025/19/03/image_06042025_19_03_56_9387.jpg', '/home/pi/Desktop/images/06042025/19/03/image_06042025_19_04_06_10355.jpg', '/home/pi/Desktop/images/06042025/19/04/image_06042025_19_04_15_9407.jpg', '/home/pi/Desktop/images/06042025/19/04/image_06042025_19_04_26_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/19/03/image_06042025_19_03_36_10355.jpg
/home/pi/Desktop/images/06042025/19/03/image_06042025_19_03_46_10359.jpg
/home/pi/Desktop/images/06042025/19/03/image_06042025_19_03_56_9387.jpg
/home/pi/Desktop/images/06042025/19/03/image_06042025_19_04_06_10355.jpg
/home/pi/Desktop/images/06042025/19/04/image_06042025_19_04_15_9407.jpg
/home/pi/Desktop/images/06042025/19/04/image_06042025_19_04_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":["1351421331","1351421415","1351421156","1351421389","1351421306","1351421374"],"photo_ids_order":["1351421156","1351421306","1351421331","1351421374","1351421389","1351421415"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f24707dc57ca29337b5ebc9c1aeafc41.jpg","text":"TemporaryFile(/tmp/multipartBody3856041127969253176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744333353910,"filename":"image_06042025_19_03_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/11/5bb9210a7f303cbd88fddf396a46ccb5.jpg","text":"TemporaryFile(/tmp/multipartBody7647221071792507619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744333353910,"filename":"image_06042025_19_04_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/11/4921bf36c82e437710cf9c7f72ff86a5.jpg","text":"TemporaryFile(/tmp/multipartBody5199957292944707033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744333353910,"filename":"image_06042025_19_03_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/11/cb130623713d94a449f3d2d59634880d.jpg","text":"TemporaryFile(/tmp/multipartBody7678126213324800047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744333353910,"filename":"image_06042025_19_04_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/11/77e460f4d5af0adf7c60c30c80e0cc53.jpg","text":"TemporaryFile(/tmp/multipartBody1765729919685137708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744333353910,"filename":"image_06042025_19_03_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/11/fbc7963feb2558b5187c6521cb26d438.jpg","text":"TemporaryFile(/tmp/multipartBody3580290144810759457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744333353910,"filename":"image_06042025_19_04_06_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351421331","file1":"1351421306","file0":"1351421156","file4":"1351421389","file5":"1351421415","file3":"1351421374"},"map_files_photo_id_array":[{"photo_id":"1351421415","filename":"file5"},{"photo_id":"1351421331","filename":"file2"},{"photo_id":"1351421389","filename":"file4"},{"photo_id":"1351421306","filename":"file1"},{"photo_id":"1351421156","filename":"file0"},{"photo_id":"1351421374","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351421331":["hashtag1","hashtag2"]},{"1351421415":["hashtag1","hashtag2"]},{"1351421156":["hashtag1","hashtag2"]},{"1351421389":["hashtag1","hashtag2"]},{"1351421306":["hashtag1","hashtag2"]},{"1351421374":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351421331, 1351421415, 1351421156, 1351421389, 1351421306, 1351421374)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.266313791275024 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 03:02:32.416461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/19/04/image_06042025_19_04_36_10367.jpg', '/home/pi/Desktop/images/06042025/19/04/image_06042025_19_04_45_9435.jpg', '/home/pi/Desktop/images/06042025/19/04/image_06042025_19_04_56_10360.jpg', '/home/pi/Desktop/images/06042025/19/04/image_06042025_19_05_06_10387.jpg', '/home/pi/Desktop/images/06042025/19/05/image_06042025_19_05_16_9358.jpg', '/home/pi/Desktop/images/06042025/19/05/image_06042025_19_05_26_10382.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/19/04/image_06042025_19_04_36_10367.jpg
/home/pi/Desktop/images/06042025/19/04/image_06042025_19_04_45_9435.jpg
/home/pi/Desktop/images/06042025/19/04/image_06042025_19_04_56_10360.jpg
/home/pi/Desktop/images/06042025/19/04/image_06042025_19_05_06_10387.jpg
/home/pi/Desktop/images/06042025/19/05/image_06042025_19_05_16_9358.jpg
/home/pi/Desktop/images/06042025/19/05/image_06042025_19_05_26_10382.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351421994","1351421779","1351421869","1351421848","1351421941","1351422075"],"photo_ids_order":["1351421779","1351421848","1351421869","1351421941","1351421994","1351422075"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/bb5e0b0b57d8c3eebfb6b4bafd51cbd6.jpg","text":"TemporaryFile(/tmp/multipartBody2492275610308278542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744333414110,"filename":"image_06042025_19_05_16_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/21ca17c0c16ab881e0a83d3c4032fc93.jpg","text":"TemporaryFile(/tmp/multipartBody2044841123154095895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744333414110,"filename":"image_06042025_19_04_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/11/7e73bd58f0f0bae0af0fb9fb2f2c220f.jpg","text":"TemporaryFile(/tmp/multipartBody1837782310063360668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744333414110,"filename":"image_06042025_19_04_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/11/3ff5107de5ad77a7ad5820ad3b069655.jpg","text":"TemporaryFile(/tmp/multipartBody1692261078107776527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744333414110,"filename":"image_06042025_19_04_45_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d00ebb78448b196f5ade3808d0c6986a.jpg","text":"TemporaryFile(/tmp/multipartBody7415370610438080157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744333414110,"filename":"image_06042025_19_05_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/11/9ecc04171afc72f94949bdd96c8e75f9.jpg","text":"TemporaryFile(/tmp/multipartBody1083218624610019185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744333414110,"filename":"image_06042025_19_05_26_10382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351421869","file1":"1351421848","file0":"1351421779","file4":"1351421994","file5":"1351422075","file3":"1351421941"},"map_files_photo_id_array":[{"photo_id":"1351422075","filename":"file5"},{"photo_id":"1351421869","filename":"file2"},{"photo_id":"1351421994","filename":"file4"},{"photo_id":"1351421848","filename":"file1"},{"photo_id":"1351421779","filename":"file0"},{"photo_id":"1351421941","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351421994":["hashtag1","hashtag2"]},{"1351421779":["hashtag1","hashtag2"]},{"1351421869":["hashtag1","hashtag2"]},{"1351421848":["hashtag1","hashtag2"]},{"1351421941":["hashtag1","hashtag2"]},{"1351422075":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351421994, 1351421779, 1351421869, 1351421848, 1351421941, 1351422075)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.245933055877686 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 03:03:32.595225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/19/05/image_06042025_19_05_35_9417.jpg', '/home/pi/Desktop/images/06042025/19/05/image_06042025_19_05_46_10343.jpg', '/home/pi/Desktop/images/06042025/19/05/image_06042025_19_05_56_10485.jpg', '/home/pi/Desktop/images/06042025/19/05/image_06042025_19_06_06_9375.jpg', '/home/pi/Desktop/images/06042025/19/06/image_06042025_19_06_16_10447.jpg', '/home/pi/Desktop/images/06042025/19/06/image_06042025_19_06_25_9455.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/19/05/image_06042025_19_05_35_9417.jpg
/home/pi/Desktop/images/06042025/19/05/image_06042025_19_05_46_10343.jpg
/home/pi/Desktop/images/06042025/19/05/image_06042025_19_05_56_10485.jpg
/home/pi/Desktop/images/06042025/19/05/image_06042025_19_06_06_9375.jpg
/home/pi/Desktop/images/06042025/19/06/image_06042025_19_06_16_10447.jpg
/home/pi/Desktop/images/06042025/19/06/image_06042025_19_06_25_9455.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351422836","1351422425","1351422632","1351422500","1351422960","1351422741"],"photo_ids_order":["1351422425","1351422500","1351422632","1351422741","1351422836","1351422960"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f2e3314c0e8f56788b1e896b5be7a674.jpg","text":"TemporaryFile(/tmp/multipartBody111031708768807994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744333474267,"filename":"image_06042025_19_06_16_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2fd352601a5c7cb024d7dfae8ecd1b7a.jpg","text":"TemporaryFile(/tmp/multipartBody1723578658904557442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744333474267,"filename":"image_06042025_19_05_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/11/8b0925caf3addd0f78e3bbeb251bbb11.jpg","text":"TemporaryFile(/tmp/multipartBody1162504699249736713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744333474267,"filename":"image_06042025_19_05_56_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/11/8c8056df0808e09b27036243db97af31.jpg","text":"TemporaryFile(/tmp/multipartBody5579132991011172590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744333474267,"filename":"image_06042025_19_05_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/11/96b7c6ff55566bd7926d03f546abf8bc.jpg","text":"TemporaryFile(/tmp/multipartBody1664411661742028212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744333474267,"filename":"image_06042025_19_06_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/11/94b2e24442efd192ab8bd086d95f93fe.jpg","text":"TemporaryFile(/tmp/multipartBody5161692423728581594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744333474267,"filename":"image_06042025_19_06_06_9375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351422632","file1":"1351422500","file0":"1351422425","file4":"1351422836","file5":"1351422960","file3":"1351422741"},"map_files_photo_id_array":[{"photo_id":"1351422960","filename":"file5"},{"photo_id":"1351422632","filename":"file2"},{"photo_id":"1351422836","filename":"file4"},{"photo_id":"1351422500","filename":"file1"},{"photo_id":"1351422425","filename":"file0"},{"photo_id":"1351422741","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351422836":["hashtag1","hashtag2"]},{"1351422425":["hashtag1","hashtag2"]},{"1351422632":["hashtag1","hashtag2"]},{"1351422500":["hashtag1","hashtag2"]},{"1351422960":["hashtag1","hashtag2"]},{"1351422741":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351422836, 1351422425, 1351422632, 1351422500, 1351422960, 1351422741)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.00519394874573 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 03:04:32.830805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/19/06/image_06042025_19_06_36_10421.jpg', '/home/pi/Desktop/images/06042025/19/06/image_06042025_19_06_46_10358.jpg', '/home/pi/Desktop/images/06042025/19/06/image_06042025_19_06_56_9357.jpg', '/home/pi/Desktop/images/06042025/19/06/image_06042025_19_07_06_10355.jpg', '/home/pi/Desktop/images/06042025/19/07/image_06042025_19_07_15_9335.jpg', '/home/pi/Desktop/images/06042025/19/07/image_06042025_19_07_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/19/06/image_06042025_19_06_36_10421.jpg
/home/pi/Desktop/images/06042025/19/06/image_06042025_19_06_46_10358.jpg
/home/pi/Desktop/images/06042025/19/06/image_06042025_19_06_56_9357.jpg
/home/pi/Desktop/images/06042025/19/06/image_06042025_19_07_06_10355.jpg
/home/pi/Desktop/images/06042025/19/07/image_06042025_19_07_15_9335.jpg
/home/pi/Desktop/images/06042025/19/07/image_06042025_19_07_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":["1351423682","1351423490","1351423355","1351423556","1351423409","1351423626"],"photo_ids_order":["1351423355","1351423409","1351423490","1351423556","1351423626","1351423682"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a4aff4ec9352b097ed4998fd1ad8e27f.jpg","text":"TemporaryFile(/tmp/multipartBody6637203360118531853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744333534655,"filename":"image_06042025_19_07_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/11/cec109c771b3d8b3be188e06db8c7643.jpg","text":"TemporaryFile(/tmp/multipartBody6416843698919956839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744333534655,"filename":"image_06042025_19_06_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/11/19a4981f29d49634e17e9e833b149923.jpg","text":"TemporaryFile(/tmp/multipartBody4071756429745428308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744333534655,"filename":"image_06042025_19_06_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/11/c561f58e6c0cbf5c3d2b79f345e45163.jpg","text":"TemporaryFile(/tmp/multipartBody1885393938817716539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744333534655,"filename":"image_06042025_19_07_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/11/4fe40954f92bf463ebac65596637c4a1.jpg","text":"TemporaryFile(/tmp/multipartBody1229919296572518136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744333534655,"filename":"image_06042025_19_06_46_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/44071856fbdf975aa868e9a4383dd46a.jpg","text":"TemporaryFile(/tmp/multipartBody7585116447762163929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744333534655,"filename":"image_06042025_19_07_15_9335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351423490","file1":"1351423409","file0":"1351423355","file4":"1351423626","file5":"1351423682","file3":"1351423556"},"map_files_photo_id_array":[{"photo_id":"1351423682","filename":"file5"},{"photo_id":"1351423490","filename":"file2"},{"photo_id":"1351423626","filename":"file4"},{"photo_id":"1351423409","filename":"file1"},{"photo_id":"1351423355","filename":"file0"},{"photo_id":"1351423556","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351423682":["hashtag1","hashtag2"]},{"1351423490":["hashtag1","hashtag2"]},{"1351423355":["hashtag1","hashtag2"]},{"1351423556":["hashtag1","hashtag2"]},{"1351423409":["hashtag1","hashtag2"]},{"1351423626":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351423682, 1351423490, 1351423355, 1351423556, 1351423409, 1351423626)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.443697452545166 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 03:05:33.051728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/19/07/image_06042025_19_07_36_10406.jpg', '/home/pi/Desktop/images/06042025/19/07/image_06042025_19_07_45_9343.jpg', '/home/pi/Desktop/images/06042025/19/07/image_06042025_19_07_56_10392.jpg', '/home/pi/Desktop/images/06042025/19/07/image_06042025_19_08_06_10433.jpg', '/home/pi/Desktop/images/06042025/19/08/image_06042025_19_08_16_9405.jpg', '/home/pi/Desktop/images/06042025/19/08/image_06042025_19_08_26_10484.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/19/07/image_06042025_19_07_36_10406.jpg
/home/pi/Desktop/images/06042025/19/07/image_06042025_19_07_45_9343.jpg
/home/pi/Desktop/images/06042025/19/07/image_06042025_19_07_56_10392.jpg
/home/pi/Desktop/images/06042025/19/07/image_06042025_19_08_06_10433.jpg
/home/pi/Desktop/images/06042025/19/08/image_06042025_19_08_16_9405.jpg
/home/pi/Desktop/images/06042025/19/08/image_06042025_19_08_26_10484.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351424084","1351424196","1351424241","1351424145","1351424220","1351424363"],"photo_ids_order":["1351424084","1351424145","1351424196","1351424220","1351424241","1351424363"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/68a98b5681780a3e12cfd9d33ac38d6f.jpg","text":"TemporaryFile(/tmp/multipartBody1048813693255179276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744333595149,"filename":"image_06042025_19_07_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/11/c7af586ec729167cf1fd69f1a5e9d95d.jpg","text":"TemporaryFile(/tmp/multipartBody2660306372641103237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744333595149,"filename":"image_06042025_19_07_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/11/e1c05731587b781255bff9a215959674.jpg","text":"TemporaryFile(/tmp/multipartBody1590063278350281472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744333595149,"filename":"image_06042025_19_08_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/11/7762cdc8840ef3f8c827a4c9dcd9a7da.jpg","text":"TemporaryFile(/tmp/multipartBody2937875175503163306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744333595149,"filename":"image_06042025_19_07_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/11/d4f8f11bf2d2947755e9b4ea1e5b799b.jpg","text":"TemporaryFile(/tmp/multipartBody6416021825735270349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744333595149,"filename":"image_06042025_19_08_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/11/c2b943f6ba96f0f39e3abb5e0d8ae30d.jpg","text":"TemporaryFile(/tmp/multipartBody2811222950605826243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744333595149,"filename":"image_06042025_19_08_26_10484.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351424196","file1":"1351424145","file0":"1351424084","file4":"1351424241","file5":"1351424363","file3":"1351424220"},"map_files_photo_id_array":[{"photo_id":"1351424363","filename":"file5"},{"photo_id":"1351424196","filename":"file2"},{"photo_id":"1351424241","filename":"file4"},{"photo_id":"1351424145","filename":"file1"},{"photo_id":"1351424084","filename":"file0"},{"photo_id":"1351424220","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351424084":["hashtag1","hashtag2"]},{"1351424196":["hashtag1","hashtag2"]},{"1351424241":["hashtag1","hashtag2"]},{"1351424145":["hashtag1","hashtag2"]},{"1351424220":["hashtag1","hashtag2"]},{"1351424363":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351424084, 1351424196, 1351424241, 1351424145, 1351424220, 1351424363)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.564889907836914 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 03:06:32.225009
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/19/08/image_06042025_19_08_35_9336.jpg', '/home/pi/Desktop/images/06042025/19/08/image_06042025_19_08_46_10356.jpg', '/home/pi/Desktop/images/06042025/19/08/image_06042025_19_08_55_9482.jpg', '/home/pi/Desktop/images/06042025/19/08/image_06042025_19_09_06_10346.jpg', '/home/pi/Desktop/images/06042025/19/09/image_06042025_19_09_16_10343.jpg', '/home/pi/Desktop/images/06042025/19/09/image_06042025_19_09_25_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/19/08/image_06042025_19_08_35_9336.jpg
/home/pi/Desktop/images/06042025/19/08/image_06042025_19_08_46_10356.jpg
/home/pi/Desktop/images/06042025/19/08/image_06042025_19_08_55_9482.jpg
/home/pi/Desktop/images/06042025/19/08/image_06042025_19_09_06_10346.jpg
/home/pi/Desktop/images/06042025/19/09/image_06042025_19_09_16_10343.jpg
/home/pi/Desktop/images/06042025/19/09/image_06042025_19_09_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":["1351425032","1351425026","1351425040","1351425007","1351425021","1351425074"],"photo_ids_order":["1351425007","1351425021","1351425026","1351425032","1351425040","1351425074"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/93c7f51b3382511408efcc9d2ba5cdbf.jpg","text":"TemporaryFile(/tmp/multipartBody5457521265185573477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744333653900,"filename":"image_06042025_19_09_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/11/85ece76b2bffa9dd4c8785c5ea13352e.jpg","text":"TemporaryFile(/tmp/multipartBody4295171352369301328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744333653900,"filename":"image_06042025_19_08_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/11/f59332b8b816d8cc03d1f755106a2700.jpg","text":"TemporaryFile(/tmp/multipartBody8847406623266334912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744333653900,"filename":"image_06042025_19_09_16_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4a6d74ac5e520ed7c745113e50a92c3c.jpg","text":"TemporaryFile(/tmp/multipartBody7127616666132033272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744333653900,"filename":"image_06042025_19_08_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/11/050466b5e710820b57e111847362dbb1.jpg","text":"TemporaryFile(/tmp/multipartBody913696489962030359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744333653900,"filename":"image_06042025_19_08_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/11/a66331f734da08dc9e469666a452eef6.jpg","text":"TemporaryFile(/tmp/multipartBody383294103705626683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744333653900,"filename":"image_06042025_19_09_25_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351425026","file1":"1351425021","file0":"1351425007","file4":"1351425040","file5":"1351425074","file3":"1351425032"},"map_files_photo_id_array":[{"photo_id":"1351425074","filename":"file5"},{"photo_id":"1351425026","filename":"file2"},{"photo_id":"1351425040","filename":"file4"},{"photo_id":"1351425021","filename":"file1"},{"photo_id":"1351425007","filename":"file0"},{"photo_id":"1351425032","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351425032":["hashtag1","hashtag2"]},{"1351425026":["hashtag1","hashtag2"]},{"1351425040":["hashtag1","hashtag2"]},{"1351425007":["hashtag1","hashtag2"]},{"1351425021":["hashtag1","hashtag2"]},{"1351425074":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351425032, 1351425026, 1351425040, 1351425007, 1351425021, 1351425074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.775627851486206 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 03:07:32.420015
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/19/09/image_06042025_19_09_36_10355.jpg', '/home/pi/Desktop/images/06042025/19/09/image_06042025_19_09_46_10468.jpg', '/home/pi/Desktop/images/06042025/19/09/image_06042025_19_09_56_9360.jpg', '/home/pi/Desktop/images/06042025/19/09/image_06042025_19_10_06_10398.jpg', '/home/pi/Desktop/images/06042025/19/10/image_06042025_19_10_15_9344.jpg', '/home/pi/Desktop/images/06042025/19/10/image_06042025_19_10_26_10424.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/19/09/image_06042025_19_09_36_10355.jpg
/home/pi/Desktop/images/06042025/19/09/image_06042025_19_09_46_10468.jpg
/home/pi/Desktop/images/06042025/19/09/image_06042025_19_09_56_9360.jpg
/home/pi/Desktop/images/06042025/19/09/image_06042025_19_10_06_10398.jpg
/home/pi/Desktop/images/06042025/19/10/image_06042025_19_10_15_9344.jpg
/home/pi/Desktop/images/06042025/19/10/image_06042025_19_10_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":["1351425489","1351425393","1351425567","1351425540","1351425456","1351425290"],"photo_ids_order":["1351425290","1351425393","1351425456","1351425489","1351425540","1351425567"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/916661697be104779f60c4c0c6d62e82.jpg","text":"TemporaryFile(/tmp/multipartBody3556919411091052915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744333714085,"filename":"image_06042025_19_10_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/11/701b578e61e85f7c23883ef5a817e28e.jpg","text":"TemporaryFile(/tmp/multipartBody5378335970268242951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744333714085,"filename":"image_06042025_19_09_46_10468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/516373a2c63e27e37157283abeca5ebb.jpg","text":"TemporaryFile(/tmp/multipartBody2157341561142325108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744333714085,"filename":"image_06042025_19_10_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/11/2a971b9a84dbdb4b73dac80c92902d16.jpg","text":"TemporaryFile(/tmp/multipartBody9204053029353010825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744333714085,"filename":"image_06042025_19_10_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/11/e185193fa1c7aedbd893db2d40a6373d.jpg","text":"TemporaryFile(/tmp/multipartBody7645087560758890093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744333714085,"filename":"image_06042025_19_09_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/11/623a229de4edd898590229c75612159d.jpg","text":"TemporaryFile(/tmp/multipartBody5516217720291081583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744333714085,"filename":"image_06042025_19_09_36_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351425456","file1":"1351425393","file0":"1351425290","file4":"1351425540","file5":"1351425567","file3":"1351425489"},"map_files_photo_id_array":[{"photo_id":"1351425567","filename":"file5"},{"photo_id":"1351425456","filename":"file2"},{"photo_id":"1351425540","filename":"file4"},{"photo_id":"1351425393","filename":"file1"},{"photo_id":"1351425290","filename":"file0"},{"photo_id":"1351425489","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351425489":["hashtag1","hashtag2"]},{"1351425393":["hashtag1","hashtag2"]},{"1351425567":["hashtag1","hashtag2"]},{"1351425540":["hashtag1","hashtag2"]},{"1351425456":["hashtag1","hashtag2"]},{"1351425290":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351425489, 1351425393, 1351425567, 1351425540, 1351425456, 1351425290)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.43648338317871 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 03:08:32.829096
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/19/10/image_06042025_19_10_36_10489.jpg', '/home/pi/Desktop/images/06042025/19/10/image_06042025_19_10_46_9356.jpg', '/home/pi/Desktop/images/06042025/19/10/image_06042025_19_10_56_10386.jpg', '/home/pi/Desktop/images/06042025/19/10/image_06042025_19_11_05_9352.jpg', '/home/pi/Desktop/images/06042025/19/11/image_06042025_19_11_16_10450.jpg', '/home/pi/Desktop/images/06042025/19/11/image_06042025_19_11_26_10487.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/19/10/image_06042025_19_10_36_10489.jpg
/home/pi/Desktop/images/06042025/19/10/image_06042025_19_10_46_9356.jpg
/home/pi/Desktop/images/06042025/19/10/image_06042025_19_10_56_10386.jpg
/home/pi/Desktop/images/06042025/19/10/image_06042025_19_11_05_9352.jpg
/home/pi/Desktop/images/06042025/19/11/image_06042025_19_11_16_10450.jpg
/home/pi/Desktop/images/06042025/19/11/image_06042025_19_11_26_10487.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351426021","1351425841","1351425981","1351425893","1351425932","1351425803"],"photo_ids_order":["1351425803","1351425841","1351425893","1351425932","1351425981","1351426021"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9c6d66159710261cbf82428dfcad86c3.jpg","text":"TemporaryFile(/tmp/multipartBody177807259616382623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744333774511,"filename":"image_06042025_19_11_26_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/11/c5ea7192b5bf0c1ea16a18bd099f17e8.jpg","text":"TemporaryFile(/tmp/multipartBody3543024673423625529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744333774511,"filename":"image_06042025_19_10_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/11/62643590fa89bbb4970700b9432d2eab.jpg","text":"TemporaryFile(/tmp/multipartBody4930445139574955458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744333774511,"filename":"image_06042025_19_11_16_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a8e55d05f9e6dbc2e5f2ebdb8990cf2e.jpg","text":"TemporaryFile(/tmp/multipartBody6045863809664305264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744333774511,"filename":"image_06042025_19_10_56_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b2f88d0dbd3a3312a6e0e3c2f3d895e0.jpg","text":"TemporaryFile(/tmp/multipartBody3243639163336973605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744333774511,"filename":"image_06042025_19_11_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/11/4e09e51c5ea7b78b1be33aad15ac07f0.jpg","text":"TemporaryFile(/tmp/multipartBody1779468203426943797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744333774511,"filename":"image_06042025_19_10_36_10489.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351425893","file1":"1351425841","file0":"1351425803","file4":"1351425981","file5":"1351426021","file3":"1351425932"},"map_files_photo_id_array":[{"photo_id":"1351426021","filename":"file5"},{"photo_id":"1351425893","filename":"file2"},{"photo_id":"1351425981","filename":"file4"},{"photo_id":"1351425841","filename":"file1"},{"photo_id":"1351425803","filename":"file0"},{"photo_id":"1351425932","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351426021":["hashtag1","hashtag2"]},{"1351425841":["hashtag1","hashtag2"]},{"1351425981":["hashtag1","hashtag2"]},{"1351425893":["hashtag1","hashtag2"]},{"1351425932":["hashtag1","hashtag2"]},{"1351425803":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351426021, 1351425841, 1351425981, 1351425893, 1351425932, 1351425803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.219517946243286 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 03:09:33.017636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/19/11/image_06042025_19_11_36_9343.jpg', '/home/pi/Desktop/images/06042025/19/11/image_06042025_19_11_46_10391.jpg', '/home/pi/Desktop/images/06042025/19/11/image_06042025_19_11_55_9369.jpg', '/home/pi/Desktop/images/06042025/19/11/image_06042025_19_12_06_10378.jpg', '/home/pi/Desktop/images/06042025/19/12/image_06042025_19_12_16_10458.jpg', '/home/pi/Desktop/images/06042025/19/12/image_06042025_19_12_26_9327.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/19/11/image_06042025_19_11_36_9343.jpg
/home/pi/Desktop/images/06042025/19/11/image_06042025_19_11_46_10391.jpg
/home/pi/Desktop/images/06042025/19/11/image_06042025_19_11_55_9369.jpg
/home/pi/Desktop/images/06042025/19/11/image_06042025_19_12_06_10378.jpg
/home/pi/Desktop/images/06042025/19/12/image_06042025_19_12_16_10458.jpg
/home/pi/Desktop/images/06042025/19/12/image_06042025_19_12_26_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":["1351426327","1351426228","1351426281","1351426367","1351426421","1351426252"],"photo_ids_order":["1351426228","1351426252","1351426281","1351426327","1351426367","1351426421"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/dec1ce246f82b15b3f8b01998a25f33f.jpg","text":"TemporaryFile(/tmp/multipartBody6857193429233972928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744333834681,"filename":"image_06042025_19_12_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/11/13e44de00bda82f824a6dac49a41a78e.jpg","text":"TemporaryFile(/tmp/multipartBody8965730733183669883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744333834681,"filename":"image_06042025_19_11_36_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/922df9e2e191fa31b9b1b8cefc34b447.jpg","text":"TemporaryFile(/tmp/multipartBody4007460629829530982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744333834681,"filename":"image_06042025_19_11_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/11/474c285416a3236aa0f14f5a904a5eb5.jpg","text":"TemporaryFile(/tmp/multipartBody6774034134302203728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744333834681,"filename":"image_06042025_19_12_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/11/ff56d19ae057092097fde88f8a3d1c72.jpg","text":"TemporaryFile(/tmp/multipartBody5760747163453150199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744333834681,"filename":"image_06042025_19_12_26_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7727b8cdcdb3c01b58ba4776675e1698.jpg","text":"TemporaryFile(/tmp/multipartBody4431847366571426123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744333834681,"filename":"image_06042025_19_11_46_10391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351426281","file1":"1351426252","file0":"1351426228","file4":"1351426367","file5":"1351426421","file3":"1351426327"},"map_files_photo_id_array":[{"photo_id":"1351426421","filename":"file5"},{"photo_id":"1351426281","filename":"file2"},{"photo_id":"1351426367","filename":"file4"},{"photo_id":"1351426252","filename":"file1"},{"photo_id":"1351426228","filename":"file0"},{"photo_id":"1351426327","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351426327":["hashtag1","hashtag2"]},{"1351426228":["hashtag1","hashtag2"]},{"1351426281":["hashtag1","hashtag2"]},{"1351426367":["hashtag1","hashtag2"]},{"1351426421":["hashtag1","hashtag2"]},{"1351426252":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351426327, 1351426228, 1351426281, 1351426367, 1351426421, 1351426252)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.18236017227173 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 03:10:32.204794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/19/12/image_06042025_19_12_36_10354.jpg', '/home/pi/Desktop/images/06042025/19/12/image_06042025_19_12_45_9448.jpg', '/home/pi/Desktop/images/06042025/19/12/image_06042025_19_12_56_10364.jpg', '/home/pi/Desktop/images/06042025/19/12/image_06042025_19_13_06_10561.jpg', '/home/pi/Desktop/images/06042025/19/13/image_06042025_19_13_16_9350.jpg', '/home/pi/Desktop/images/06042025/19/13/image_06042025_19_13_26_10503.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/19/12/image_06042025_19_12_36_10354.jpg
/home/pi/Desktop/images/06042025/19/12/image_06042025_19_12_45_9448.jpg
/home/pi/Desktop/images/06042025/19/12/image_06042025_19_12_56_10364.jpg
/home/pi/Desktop/images/06042025/19/12/image_06042025_19_13_06_10561.jpg
/home/pi/Desktop/images/06042025/19/13/image_06042025_19_13_16_9350.jpg
/home/pi/Desktop/images/06042025/19/13/image_06042025_19_13_26_10503.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351426516","1351426510","1351426536","1351426521","1351426493","1351426526"],"photo_ids_order":["1351426493","1351426510","1351426516","1351426521","1351426526","1351426536"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/fe3317543e30a3116949d0378c2ab5e2.jpg","text":"TemporaryFile(/tmp/multipartBody6011180710193886268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744333893893,"filename":"image_06042025_19_12_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/11/5f0399b644560dd65cfdf9d1c4ff6cc8.jpg","text":"TemporaryFile(/tmp/multipartBody8031155954520299116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744333893893,"filename":"image_06042025_19_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/11/05fcc784da3769d440b28cb51c706915.jpg","text":"TemporaryFile(/tmp/multipartBody8791655722865454191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744333893893,"filename":"image_06042025_19_13_26_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/11/4749124b4af4bc1f2e40c64ec2bdfc23.jpg","text":"TemporaryFile(/tmp/multipartBody922668747842416856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744333893893,"filename":"image_06042025_19_13_06_10561.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2bd67414d82905fdba0cd4516562a708.jpg","text":"TemporaryFile(/tmp/multipartBody1576323712065861835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744333893893,"filename":"image_06042025_19_12_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/11/49a49a053168be82e9306d42ccb0fb87.jpg","text":"TemporaryFile(/tmp/multipartBody309845681612397457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744333893893,"filename":"image_06042025_19_13_16_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351426516","file1":"1351426510","file0":"1351426493","file4":"1351426526","file5":"1351426536","file3":"1351426521"},"map_files_photo_id_array":[{"photo_id":"1351426536","filename":"file5"},{"photo_id":"1351426516","filename":"file2"},{"photo_id":"1351426526","filename":"file4"},{"photo_id":"1351426510","filename":"file1"},{"photo_id":"1351426493","filename":"file0"},{"photo_id":"1351426521","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351426516":["hashtag1","hashtag2"]},{"1351426510":["hashtag1","hashtag2"]},{"1351426536":["hashtag1","hashtag2"]},{"1351426521":["hashtag1","hashtag2"]},{"1351426493":["hashtag1","hashtag2"]},{"1351426526":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351426516, 1351426510, 1351426536, 1351426521, 1351426493, 1351426526)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.93105220794678 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 03:11:32.524157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/19/13/image_06042025_19_13_35_9363.jpg', '/home/pi/Desktop/images/06042025/19/13/image_06042025_19_13_46_10368.jpg', '/home/pi/Desktop/images/06042025/19/13/image_06042025_19_13_55_9470.jpg', '/home/pi/Desktop/images/06042025/19/13/image_06042025_19_14_06_10359.jpg', '/home/pi/Desktop/images/06042025/19/14/image_06042025_19_14_36_10356.jpg', '/home/pi/Desktop/images/06042025/19/14/image_06042025_19_14_56_9345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/19/13/image_06042025_19_13_35_9363.jpg
/home/pi/Desktop/images/06042025/19/13/image_06042025_19_13_46_10368.jpg
/home/pi/Desktop/images/06042025/19/13/image_06042025_19_13_55_9470.jpg
/home/pi/Desktop/images/06042025/19/13/image_06042025_19_14_06_10359.jpg
/home/pi/Desktop/images/06042025/19/14/image_06042025_19_14_36_10356.jpg
/home/pi/Desktop/images/06042025/19/14/image_06042025_19_14_56_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":["1351426647","1351426662","1351426635","1351426652","1351426640","1351426657"],"photo_ids_order":["1351426635","1351426640","1351426647","1351426652","1351426657","1351426662"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/52e16f5717b65590eb673001786fe7b5.jpg","text":"TemporaryFile(/tmp/multipartBody5569803752861240511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744333954196,"filename":"image_06042025_19_13_55_9470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/63007c86f1ca673bb9732806f6960268.jpg","text":"TemporaryFile(/tmp/multipartBody2002213176083026903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744333954196,"filename":"image_06042025_19_14_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/11/4931d42a49290ce6b83c9568dd583f84.jpg","text":"TemporaryFile(/tmp/multipartBody8261009602074469265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744333954196,"filename":"image_06042025_19_13_35_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0f3b44392df6a04b7566d1a8c320a7df.jpg","text":"TemporaryFile(/tmp/multipartBody8814942777929923549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744333954196,"filename":"image_06042025_19_14_06_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/48cd89ffaf2ea075b428bc29a3e5343a.jpg","text":"TemporaryFile(/tmp/multipartBody2155031828043094619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744333954196,"filename":"image_06042025_19_13_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/11/104d46f42f8e6b15c7f3fb51d33a53bf.jpg","text":"TemporaryFile(/tmp/multipartBody4436966674910099994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744333954196,"filename":"image_06042025_19_14_36_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351426647","file1":"1351426640","file0":"1351426635","file4":"1351426657","file5":"1351426662","file3":"1351426652"},"map_files_photo_id_array":[{"photo_id":"1351426662","filename":"file5"},{"photo_id":"1351426647","filename":"file2"},{"photo_id":"1351426657","filename":"file4"},{"photo_id":"1351426640","filename":"file1"},{"photo_id":"1351426635","filename":"file0"},{"photo_id":"1351426652","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351426647":["hashtag1","hashtag2"]},{"1351426662":["hashtag1","hashtag2"]},{"1351426635":["hashtag1","hashtag2"]},{"1351426652":["hashtag1","hashtag2"]},{"1351426640":["hashtag1","hashtag2"]},{"1351426657":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351426647, 1351426662, 1351426635, 1351426652, 1351426640, 1351426657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.095606088638306 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 03:12:32.698896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/19/14/image_06042025_19_15_06_10360.jpg', '/home/pi/Desktop/images/06042025/19/15/image_06042025_19_15_15_9353.jpg', '/home/pi/Desktop/images/06042025/19/15/image_06042025_19_15_26_10370.jpg', '/home/pi/Desktop/images/06042025/19/15/image_06042025_19_15_36_10365.jpg', '/home/pi/Desktop/images/06042025/19/15/image_06042025_19_15_45_9366.jpg', '/home/pi/Desktop/images/06042025/19/15/image_06042025_19_15_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/19/14/image_06042025_19_15_06_10360.jpg
/home/pi/Desktop/images/06042025/19/15/image_06042025_19_15_15_9353.jpg
/home/pi/Desktop/images/06042025/19/15/image_06042025_19_15_26_10370.jpg
/home/pi/Desktop/images/06042025/19/15/image_06042025_19_15_36_10365.jpg
/home/pi/Desktop/images/06042025/19/15/image_06042025_19_15_45_9366.jpg
/home/pi/Desktop/images/06042025/19/15/image_06042025_19_15_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":["1351426666","1351426683","1351426677","1351426688","1351426673","1351426724"],"photo_ids_order":["1351426666","1351426673","1351426677","1351426683","1351426688","1351426724"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/96df80fffaf6d2db464b374329345350.jpg","text":"TemporaryFile(/tmp/multipartBody4934909113700791994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334014369,"filename":"image_06042025_19_15_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/11/bf80c82cc9c2a3df233cd3ce1c63ccb3.jpg","text":"TemporaryFile(/tmp/multipartBody2821322983242642635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334014369,"filename":"image_06042025_19_15_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/11/25bfdb68119adfc686a13fbcff0fbaa4.jpg","text":"TemporaryFile(/tmp/multipartBody8257688455603201941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334014369,"filename":"image_06042025_19_15_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/11/b95ef28a320a79a031668d866f01372a.jpg","text":"TemporaryFile(/tmp/multipartBody8916316844189253454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334014369,"filename":"image_06042025_19_15_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/11/ac8b5b9ba68bfa6640f95d0ae5f59228.jpg","text":"TemporaryFile(/tmp/multipartBody8884611762648461083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334014369,"filename":"image_06042025_19_15_15_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/34f66e3a373d54fed16f0a866dbea3ec.jpg","text":"TemporaryFile(/tmp/multipartBody4859099244883520169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334014369,"filename":"image_06042025_19_15_56_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351426677","file1":"1351426673","file0":"1351426666","file4":"1351426688","file5":"1351426724","file3":"1351426683"},"map_files_photo_id_array":[{"photo_id":"1351426724","filename":"file5"},{"photo_id":"1351426677","filename":"file2"},{"photo_id":"1351426688","filename":"file4"},{"photo_id":"1351426673","filename":"file1"},{"photo_id":"1351426666","filename":"file0"},{"photo_id":"1351426683","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351426666":["hashtag1","hashtag2"]},{"1351426683":["hashtag1","hashtag2"]},{"1351426677":["hashtag1","hashtag2"]},{"1351426688":["hashtag1","hashtag2"]},{"1351426673":["hashtag1","hashtag2"]},{"1351426724":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351426666, 1351426683, 1351426677, 1351426688, 1351426673, 1351426724)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.90738129615784 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 03:13:32.927489
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/19/15/image_06042025_19_16_06_10384.jpg', '/home/pi/Desktop/images/06042025/19/16/image_06042025_19_16_15_9348.jpg', '/home/pi/Desktop/images/06042025/19/16/image_06042025_19_16_26_10414.jpg', '/home/pi/Desktop/images/06042025/19/16/image_06042025_19_16_36_10364.jpg', '/home/pi/Desktop/images/06042025/19/16/image_06042025_19_16_56_10473.jpg', '/home/pi/Desktop/images/06042025/19/17/image_06042025_19_17_16_10342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/19/15/image_06042025_19_16_06_10384.jpg
/home/pi/Desktop/images/06042025/19/16/image_06042025_19_16_15_9348.jpg
/home/pi/Desktop/images/06042025/19/16/image_06042025_19_16_26_10414.jpg
/home/pi/Desktop/images/06042025/19/16/image_06042025_19_16_36_10364.jpg
/home/pi/Desktop/images/06042025/19/16/image_06042025_19_16_56_10473.jpg
/home/pi/Desktop/images/06042025/19/17/image_06042025_19_17_16_10342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351426759","1351426831","1351426764","1351426773","1351426868","1351426769"],"photo_ids_order":["1351426759","1351426764","1351426769","1351426773","1351426831","1351426868"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/bc25f6718de77118da4d43f37f79993d.jpg","text":"TemporaryFile(/tmp/multipartBody9038423426748606068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334074608,"filename":"image_06042025_19_16_06_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/96dd82c1050941d585409e17fe1fa21a.jpg","text":"TemporaryFile(/tmp/multipartBody4685269648991455222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334074608,"filename":"image_06042025_19_16_56_10473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d24f30e9b3f7c6d9b5e638e0cf4b9570.jpg","text":"TemporaryFile(/tmp/multipartBody2381946469547366071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334074608,"filename":"image_06042025_19_16_15_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/99bcaaf4858a21e794dc2c5a8c9b289b.jpg","text":"TemporaryFile(/tmp/multipartBody6802344807906969605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334074608,"filename":"image_06042025_19_16_36_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/078af85092770cdf60e0a71ac6c26d9b.jpg","text":"TemporaryFile(/tmp/multipartBody6591674164558630823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334074608,"filename":"image_06042025_19_17_16_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d75b6eb72c3331ee6d277014d3dc8b04.jpg","text":"TemporaryFile(/tmp/multipartBody3245581149015032477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334074608,"filename":"image_06042025_19_16_26_10414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351426769","file1":"1351426764","file0":"1351426759","file4":"1351426831","file5":"1351426868","file3":"1351426773"},"map_files_photo_id_array":[{"photo_id":"1351426868","filename":"file5"},{"photo_id":"1351426769","filename":"file2"},{"photo_id":"1351426831","filename":"file4"},{"photo_id":"1351426764","filename":"file1"},{"photo_id":"1351426759","filename":"file0"},{"photo_id":"1351426773","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351426759":["hashtag1","hashtag2"]},{"1351426831":["hashtag1","hashtag2"]},{"1351426764":["hashtag1","hashtag2"]},{"1351426773":["hashtag1","hashtag2"]},{"1351426868":["hashtag1","hashtag2"]},{"1351426769":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351426759, 1351426831, 1351426764, 1351426773, 1351426868, 1351426769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.16039156913757 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 03:14:33.068306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/19/17/image_06042025_19_17_26_10361.jpg', '/home/pi/Desktop/images/06042025/19/18/image_06042025_19_18_16_10424.jpg', '/home/pi/Desktop/images/06042025/19/18/image_06042025_19_18_26_9424.jpg', '/home/pi/Desktop/images/06042025/19/18/image_06042025_19_18_36_10369.jpg', '/home/pi/Desktop/images/06042025/19/18/image_06042025_19_18_46_10363.jpg', '/home/pi/Desktop/images/06042025/19/18/image_06042025_19_18_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/19/17/image_06042025_19_17_26_10361.jpg
/home/pi/Desktop/images/06042025/19/18/image_06042025_19_18_16_10424.jpg
/home/pi/Desktop/images/06042025/19/18/image_06042025_19_18_26_9424.jpg
/home/pi/Desktop/images/06042025/19/18/image_06042025_19_18_36_10369.jpg
/home/pi/Desktop/images/06042025/19/18/image_06042025_19_18_46_10363.jpg
/home/pi/Desktop/images/06042025/19/18/image_06042025_19_18_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":["1351426929","1351426920","1351426911","1351426925","1351426934","1351426916"],"photo_ids_order":["1351426911","1351426916","1351426920","1351426925","1351426929","1351426934"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/38c6c944be4356e389841a09f1334dc0.jpg","text":"TemporaryFile(/tmp/multipartBody3138183891521311096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334134762,"filename":"image_06042025_19_18_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/11/0d46e58104d1a47a47edd12b08ddd406.jpg","text":"TemporaryFile(/tmp/multipartBody1247246544513703223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334134762,"filename":"image_06042025_19_18_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/11/6ca2218b5bd8f5b536318b34b90a15f8.jpg","text":"TemporaryFile(/tmp/multipartBody2089182334953586179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334134762,"filename":"image_06042025_19_17_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/11/d4e8110ddc00945eebcc8e3e20d99b8e.jpg","text":"TemporaryFile(/tmp/multipartBody6354780935971086279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334134762,"filename":"image_06042025_19_18_36_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/de20567a01fedda7c2e71672419f6892.jpg","text":"TemporaryFile(/tmp/multipartBody6808866287622224346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334134762,"filename":"image_06042025_19_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/11/7fbd2e4645f0c6fcdc238cb4b8ed71bd.jpg","text":"TemporaryFile(/tmp/multipartBody8908200077538105497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334134762,"filename":"image_06042025_19_18_16_10424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351426920","file1":"1351426916","file0":"1351426911","file4":"1351426929","file5":"1351426934","file3":"1351426925"},"map_files_photo_id_array":[{"photo_id":"1351426934","filename":"file5"},{"photo_id":"1351426920","filename":"file2"},{"photo_id":"1351426929","filename":"file4"},{"photo_id":"1351426916","filename":"file1"},{"photo_id":"1351426911","filename":"file0"},{"photo_id":"1351426925","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351426929":["hashtag1","hashtag2"]},{"1351426920":["hashtag1","hashtag2"]},{"1351426911":["hashtag1","hashtag2"]},{"1351426925":["hashtag1","hashtag2"]},{"1351426934":["hashtag1","hashtag2"]},{"1351426916":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351426929, 1351426920, 1351426911, 1351426925, 1351426934, 1351426916)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.193514585494995 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 03:15:32.226575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/19/18/image_06042025_19_19_06_10365.jpg', '/home/pi/Desktop/images/06042025/19/19/image_06042025_19_19_15_9437.jpg', '/home/pi/Desktop/images/06042025/19/19/image_06042025_19_19_26_10362.jpg', '/home/pi/Desktop/images/06042025/19/19/image_06042025_19_19_36_10409.jpg', '/home/pi/Desktop/images/06042025/19/19/image_06042025_19_19_46_9350.jpg', '/home/pi/Desktop/images/06042025/19/19/image_06042025_19_19_56_10435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/19/18/image_06042025_19_19_06_10365.jpg
/home/pi/Desktop/images/06042025/19/19/image_06042025_19_19_15_9437.jpg
/home/pi/Desktop/images/06042025/19/19/image_06042025_19_19_26_10362.jpg
/home/pi/Desktop/images/06042025/19/19/image_06042025_19_19_36_10409.jpg
/home/pi/Desktop/images/06042025/19/19/image_06042025_19_19_46_9350.jpg
/home/pi/Desktop/images/06042025/19/19/image_06042025_19_19_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":["1351427011","1351426977","1351427016","1351427019","1351426973","1351427023"],"photo_ids_order":["1351426973","1351426977","1351427011","1351427016","1351427019","1351427023"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/731742e1674ae0528905072ccd381de5.jpg","text":"TemporaryFile(/tmp/multipartBody3816291570390668093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334194509,"filename":"image_06042025_19_19_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/11/73b62feaeb45c82fde0ab46e248c491f.jpg","text":"TemporaryFile(/tmp/multipartBody1280801380955755350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334194509,"filename":"image_06042025_19_19_15_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/45ccb3a6e0817a08c6ac02347d33dc0c.jpg","text":"TemporaryFile(/tmp/multipartBody2533942649435467889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334194509,"filename":"image_06042025_19_19_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/11/b0ed1556cae9d6eb0943a00db8099806.jpg","text":"TemporaryFile(/tmp/multipartBody3067769557638088106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334194509,"filename":"image_06042025_19_19_46_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d19b259baec30cdaeb83eb2e34c82f06.jpg","text":"TemporaryFile(/tmp/multipartBody5058990289203889045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334194509,"filename":"image_06042025_19_19_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/11/4d00cbdfaa04b63a31f136c7f4b6c489.jpg","text":"TemporaryFile(/tmp/multipartBody2400605435482928218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334194509,"filename":"image_06042025_19_19_56_10435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351427011","file1":"1351426977","file0":"1351426973","file4":"1351427019","file5":"1351427023","file3":"1351427016"},"map_files_photo_id_array":[{"photo_id":"1351427023","filename":"file5"},{"photo_id":"1351427011","filename":"file2"},{"photo_id":"1351427019","filename":"file4"},{"photo_id":"1351426977","filename":"file1"},{"photo_id":"1351426973","filename":"file0"},{"photo_id":"1351427016","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351427011":["hashtag1","hashtag2"]},{"1351426977":["hashtag1","hashtag2"]},{"1351427016":["hashtag1","hashtag2"]},{"1351427019":["hashtag1","hashtag2"]},{"1351426973":["hashtag1","hashtag2"]},{"1351427023":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351427011, 1351426977, 1351427016, 1351427019, 1351426973, 1351427023)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.44855809211731 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 03:16:32.501210
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/19/19/image_06042025_19_20_05_9427.jpg', '/home/pi/Desktop/images/06042025/19/20/image_06042025_19_20_16_10363.jpg', '/home/pi/Desktop/images/06042025/19/20/image_06042025_19_20_26_9942.jpg', '/home/pi/Desktop/images/06042025/19/20/image_06042025_19_20_36_10555.jpg', '/home/pi/Desktop/images/06042025/19/20/image_06042025_19_20_46_9511.jpg', '/home/pi/Desktop/images/06042025/19/20/image_06042025_19_20_56_10424.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/19/19/image_06042025_19_20_05_9427.jpg
/home/pi/Desktop/images/06042025/19/20/image_06042025_19_20_16_10363.jpg
/home/pi/Desktop/images/06042025/19/20/image_06042025_19_20_26_9942.jpg
/home/pi/Desktop/images/06042025/19/20/image_06042025_19_20_36_10555.jpg
/home/pi/Desktop/images/06042025/19/20/image_06042025_19_20_46_9511.jpg
/home/pi/Desktop/images/06042025/19/20/image_06042025_19_20_56_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":["1351427583","1351427855","1351427834","1351427759","1351427680","1351427632"],"photo_ids_order":["1351427583","1351427632","1351427680","1351427759","1351427834","1351427855"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/dbb5709bc90bc55457adb048f6e979f4.jpg","text":"TemporaryFile(/tmp/multipartBody6390187159311950890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334254189,"filename":"image_06042025_19_20_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/11/66d8e1f9f454f302b5e70a065928e4b0.jpg","text":"TemporaryFile(/tmp/multipartBody9070229716381769211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334254189,"filename":"image_06042025_19_20_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/11/df178ae6914e7554b029f21de009819a.jpg","text":"TemporaryFile(/tmp/multipartBody181785481689068350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334254189,"filename":"image_06042025_19_20_46_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/11/a5666c190dc3ac13edf5c447bd83caae.jpg","text":"TemporaryFile(/tmp/multipartBody3465746945597919625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334254189,"filename":"image_06042025_19_20_36_10555.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c00b447a554702a35b7df19bf5284a77.jpg","text":"TemporaryFile(/tmp/multipartBody5404080482728722408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334254189,"filename":"image_06042025_19_20_26_9942.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3d6c4b40a1fb12708fc59d9490e08283.jpg","text":"TemporaryFile(/tmp/multipartBody2990447165611708175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334254189,"filename":"image_06042025_19_20_16_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351427680","file1":"1351427632","file0":"1351427583","file4":"1351427834","file5":"1351427855","file3":"1351427759"},"map_files_photo_id_array":[{"photo_id":"1351427855","filename":"file5"},{"photo_id":"1351427680","filename":"file2"},{"photo_id":"1351427834","filename":"file4"},{"photo_id":"1351427632","filename":"file1"},{"photo_id":"1351427583","filename":"file0"},{"photo_id":"1351427759","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351427583":["hashtag1","hashtag2"]},{"1351427855":["hashtag1","hashtag2"]},{"1351427834":["hashtag1","hashtag2"]},{"1351427759":["hashtag1","hashtag2"]},{"1351427680":["hashtag1","hashtag2"]},{"1351427632":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351427583, 1351427855, 1351427834, 1351427759, 1351427680, 1351427632)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.03448271751404 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 03:17:32.671558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/19/20/image_06042025_19_21_06_9364.jpg', '/home/pi/Desktop/images/06042025/19/21/image_06042025_19_21_16_10423.jpg', '/home/pi/Desktop/images/06042025/19/21/image_06042025_19_21_25_9438.jpg', '/home/pi/Desktop/images/06042025/19/21/image_06042025_19_21_36_10379.jpg', '/home/pi/Desktop/images/06042025/19/21/image_06042025_19_21_46_10407.jpg', '/home/pi/Desktop/images/06042025/19/21/image_06042025_19_21_56_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/19/20/image_06042025_19_21_06_9364.jpg
/home/pi/Desktop/images/06042025/19/21/image_06042025_19_21_16_10423.jpg
/home/pi/Desktop/images/06042025/19/21/image_06042025_19_21_25_9438.jpg
/home/pi/Desktop/images/06042025/19/21/image_06042025_19_21_36_10379.jpg
/home/pi/Desktop/images/06042025/19/21/image_06042025_19_21_46_10407.jpg
/home/pi/Desktop/images/06042025/19/21/image_06042025_19_21_56_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":["1351428141","1351428078","1351428080","1351428074","1351428122","1351428096"],"photo_ids_order":["1351428074","1351428078","1351428080","1351428096","1351428122","1351428141"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2fa4b833435aa62f9053e4e01794012e.jpg","text":"TemporaryFile(/tmp/multipartBody5827989087627724246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334314337,"filename":"image_06042025_19_21_56_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2e07693f97d2e0965d7082725be09a41.jpg","text":"TemporaryFile(/tmp/multipartBody6079383415338421159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334314337,"filename":"image_06042025_19_21_16_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2a59d9b61450630f7021fede180b01a5.jpg","text":"TemporaryFile(/tmp/multipartBody6795235364808177112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334314337,"filename":"image_06042025_19_21_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/11/2b36ebf273883341493054f1dfc1da68.jpg","text":"TemporaryFile(/tmp/multipartBody4873809084235496459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334314337,"filename":"image_06042025_19_21_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/11/0c36bc9a965103930abf7c0f1e827f04.jpg","text":"TemporaryFile(/tmp/multipartBody2815885170298924551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334314337,"filename":"image_06042025_19_21_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/11/41b96a57860ab37a7840b87349896cd1.jpg","text":"TemporaryFile(/tmp/multipartBody7526923756644109869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334314337,"filename":"image_06042025_19_21_36_10379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351428080","file1":"1351428078","file0":"1351428074","file4":"1351428122","file5":"1351428141","file3":"1351428096"},"map_files_photo_id_array":[{"photo_id":"1351428141","filename":"file5"},{"photo_id":"1351428080","filename":"file2"},{"photo_id":"1351428122","filename":"file4"},{"photo_id":"1351428078","filename":"file1"},{"photo_id":"1351428074","filename":"file0"},{"photo_id":"1351428096","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351428141":["hashtag1","hashtag2"]},{"1351428078":["hashtag1","hashtag2"]},{"1351428080":["hashtag1","hashtag2"]},{"1351428074":["hashtag1","hashtag2"]},{"1351428122":["hashtag1","hashtag2"]},{"1351428096":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351428141, 1351428078, 1351428080, 1351428074, 1351428122, 1351428096)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.1450297832489 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 03:18:32.807896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/19/21/image_06042025_19_22_06_10375.jpg', '/home/pi/Desktop/images/06042025/19/22/image_06042025_19_22_15_9340.jpg', '/home/pi/Desktop/images/06042025/19/22/image_06042025_19_22_26_10371.jpg', '/home/pi/Desktop/images/06042025/19/22/image_06042025_19_22_36_10419.jpg', '/home/pi/Desktop/images/06042025/19/22/image_06042025_19_22_46_9402.jpg', '/home/pi/Desktop/images/06042025/19/22/image_06042025_19_22_56_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/19/21/image_06042025_19_22_06_10375.jpg
/home/pi/Desktop/images/06042025/19/22/image_06042025_19_22_15_9340.jpg
/home/pi/Desktop/images/06042025/19/22/image_06042025_19_22_26_10371.jpg
/home/pi/Desktop/images/06042025/19/22/image_06042025_19_22_36_10419.jpg
/home/pi/Desktop/images/06042025/19/22/image_06042025_19_22_46_9402.jpg
/home/pi/Desktop/images/06042025/19/22/image_06042025_19_22_56_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":["1351428300","1351428380","1351428383","1351428391","1351428352","1351428361"],"photo_ids_order":["1351428300","1351428352","1351428361","1351428380","1351428383","1351428391"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ca9426424b2b557582c48a515489fac3.jpg","text":"TemporaryFile(/tmp/multipartBody8854670099058870596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334374484,"filename":"image_06042025_19_22_06_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d0cf9b37016a40edd14e28e4b668aba0.jpg","text":"TemporaryFile(/tmp/multipartBody3708678723734242554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334374484,"filename":"image_06042025_19_22_36_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c645385555b194fcace09e27b572c75d.jpg","text":"TemporaryFile(/tmp/multipartBody2608098355432743685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334374484,"filename":"image_06042025_19_22_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/11/b6d26f1510c751f0c67973bfa869435a.jpg","text":"TemporaryFile(/tmp/multipartBody6626275565261778643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334374484,"filename":"image_06042025_19_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/11/2ceeb19781dd4de769569bd115f9b590.jpg","text":"TemporaryFile(/tmp/multipartBody6551276360900503335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334374484,"filename":"image_06042025_19_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/11/b046444974e7e7a26f5f46e7748455f0.jpg","text":"TemporaryFile(/tmp/multipartBody4260330473590902506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334374484,"filename":"image_06042025_19_22_26_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351428361","file1":"1351428352","file0":"1351428300","file4":"1351428383","file5":"1351428391","file3":"1351428380"},"map_files_photo_id_array":[{"photo_id":"1351428391","filename":"file5"},{"photo_id":"1351428361","filename":"file2"},{"photo_id":"1351428383","filename":"file4"},{"photo_id":"1351428352","filename":"file1"},{"photo_id":"1351428300","filename":"file0"},{"photo_id":"1351428380","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351428300":["hashtag1","hashtag2"]},{"1351428380":["hashtag1","hashtag2"]},{"1351428383":["hashtag1","hashtag2"]},{"1351428391":["hashtag1","hashtag2"]},{"1351428352":["hashtag1","hashtag2"]},{"1351428361":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351428300, 1351428380, 1351428383, 1351428391, 1351428352, 1351428361)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.16752862930298 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 03:19:33.069627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/19/22/image_06042025_19_23_05_9414.jpg', '/home/pi/Desktop/images/06042025/19/23/image_06042025_19_23_16_10361.jpg', '/home/pi/Desktop/images/06042025/19/23/image_06042025_19_23_26_10461.jpg', '/home/pi/Desktop/images/06042025/19/23/image_06042025_19_23_46_10497.jpg', '/home/pi/Desktop/images/06042025/19/23/image_06042025_19_24_06_10349.jpg', '/home/pi/Desktop/images/06042025/19/24/image_06042025_19_24_16_10419.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/19/22/image_06042025_19_23_05_9414.jpg
/home/pi/Desktop/images/06042025/19/23/image_06042025_19_23_16_10361.jpg
/home/pi/Desktop/images/06042025/19/23/image_06042025_19_23_26_10461.jpg
/home/pi/Desktop/images/06042025/19/23/image_06042025_19_23_46_10497.jpg
/home/pi/Desktop/images/06042025/19/23/image_06042025_19_24_06_10349.jpg
/home/pi/Desktop/images/06042025/19/24/image_06042025_19_24_16_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":["1351428860","1351428905","1351428685","1351428670","1351428634","1351428814"],"photo_ids_order":["1351428634","1351428670","1351428685","1351428814","1351428860","1351428905"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8bdb686d05c5221ca754431ccb56f5f7.jpg","text":"TemporaryFile(/tmp/multipartBody5307016018383068018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334434752,"filename":"image_06042025_19_24_06_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ae33dc6b7650483490b38d1f6a42cfa3.jpg","text":"TemporaryFile(/tmp/multipartBody3369299869822080178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334434752,"filename":"image_06042025_19_24_16_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d998ec5baba33d14a2cab36bb6051392.jpg","text":"TemporaryFile(/tmp/multipartBody6168792532048074278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334434752,"filename":"image_06042025_19_23_26_10461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9e955527da5a329886ee15ce86e31cf7.jpg","text":"TemporaryFile(/tmp/multipartBody4055466478023865376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334434752,"filename":"image_06042025_19_23_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/11/7921e46b6d0abc2ed0188218c025575f.jpg","text":"TemporaryFile(/tmp/multipartBody6555835575010027922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334434752,"filename":"image_06042025_19_23_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/11/0f7ac5a600fe12bfae3dd8b578417eb9.jpg","text":"TemporaryFile(/tmp/multipartBody1733922827564759340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334434752,"filename":"image_06042025_19_23_46_10497.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351428685","file1":"1351428670","file0":"1351428634","file4":"1351428860","file5":"1351428905","file3":"1351428814"},"map_files_photo_id_array":[{"photo_id":"1351428905","filename":"file5"},{"photo_id":"1351428685","filename":"file2"},{"photo_id":"1351428860","filename":"file4"},{"photo_id":"1351428670","filename":"file1"},{"photo_id":"1351428634","filename":"file0"},{"photo_id":"1351428814","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351428860":["hashtag1","hashtag2"]},{"1351428905":["hashtag1","hashtag2"]},{"1351428685":["hashtag1","hashtag2"]},{"1351428670":["hashtag1","hashtag2"]},{"1351428634":["hashtag1","hashtag2"]},{"1351428814":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351428860, 1351428905, 1351428685, 1351428670, 1351428634, 1351428814)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.273484230041504 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 03:20:32.140752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/19/24/image_06042025_19_24_26_9362.jpg', '/home/pi/Desktop/images/06042025/19/24/image_06042025_19_24_36_10360.jpg', '/home/pi/Desktop/images/06042025/19/24/image_06042025_19_24_45_9453.jpg', '/home/pi/Desktop/images/06042025/19/24/image_06042025_19_24_56_10373.jpg', '/home/pi/Desktop/images/06042025/19/24/image_06042025_19_25_06_10373.jpg', '/home/pi/Desktop/images/06042025/19/25/image_06042025_19_25_16_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/19/24/image_06042025_19_24_26_9362.jpg
/home/pi/Desktop/images/06042025/19/24/image_06042025_19_24_36_10360.jpg
/home/pi/Desktop/images/06042025/19/24/image_06042025_19_24_45_9453.jpg
/home/pi/Desktop/images/06042025/19/24/image_06042025_19_24_56_10373.jpg
/home/pi/Desktop/images/06042025/19/24/image_06042025_19_25_06_10373.jpg
/home/pi/Desktop/images/06042025/19/25/image_06042025_19_25_16_9413.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351429203","1351429130","1351429211","1351429180","1351429207","1351429161"],"photo_ids_order":["1351429130","1351429161","1351429180","1351429203","1351429207","1351429211"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/33cb0507a47f4d202df0e1c514c5f97a.jpg","text":"TemporaryFile(/tmp/multipartBody1277413767802994516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334493818,"filename":"image_06042025_19_24_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/11/71f407d954517fc1b37a69432e461082.jpg","text":"TemporaryFile(/tmp/multipartBody3438009746799982773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334493818,"filename":"image_06042025_19_24_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/11/fed3693cbab0ff933c215d22f1cdbcf1.jpg","text":"TemporaryFile(/tmp/multipartBody1683013886842873754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334493818,"filename":"image_06042025_19_25_16_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/cb3c02a3b110e2b4a552f7e3019cf736.jpg","text":"TemporaryFile(/tmp/multipartBody5520259821957337927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334493818,"filename":"image_06042025_19_24_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/11/0d480053a5591a6be56902e194ae4a53.jpg","text":"TemporaryFile(/tmp/multipartBody7193668368308487913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334493818,"filename":"image_06042025_19_25_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/11/1c3926f8e4d25c1ecda115e0d855c8ab.jpg","text":"TemporaryFile(/tmp/multipartBody7070436060978955474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334493818,"filename":"image_06042025_19_24_36_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351429180","file1":"1351429161","file0":"1351429130","file4":"1351429207","file5":"1351429211","file3":"1351429203"},"map_files_photo_id_array":[{"photo_id":"1351429211","filename":"file5"},{"photo_id":"1351429180","filename":"file2"},{"photo_id":"1351429207","filename":"file4"},{"photo_id":"1351429161","filename":"file1"},{"photo_id":"1351429130","filename":"file0"},{"photo_id":"1351429203","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351429203":["hashtag1","hashtag2"]},{"1351429130":["hashtag1","hashtag2"]},{"1351429211":["hashtag1","hashtag2"]},{"1351429180":["hashtag1","hashtag2"]},{"1351429207":["hashtag1","hashtag2"]},{"1351429161":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351429203, 1351429130, 1351429211, 1351429180, 1351429207, 1351429161)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.33830952644348 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 03:21:32.408840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/19/25/image_06042025_19_25_35_9388.jpg', '/home/pi/Desktop/images/06042025/19/25/image_06042025_19_25_46_10377.jpg', '/home/pi/Desktop/images/06042025/19/25/image_06042025_19_25_56_10466.jpg', '/home/pi/Desktop/images/06042025/19/25/image_06042025_19_26_06_9426.jpg', '/home/pi/Desktop/images/06042025/19/26/image_06042025_19_26_16_10450.jpg', '/home/pi/Desktop/images/06042025/19/26/image_06042025_19_26_25_9372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/19/25/image_06042025_19_25_35_9388.jpg
/home/pi/Desktop/images/06042025/19/25/image_06042025_19_25_46_10377.jpg
/home/pi/Desktop/images/06042025/19/25/image_06042025_19_25_56_10466.jpg
/home/pi/Desktop/images/06042025/19/25/image_06042025_19_26_06_9426.jpg
/home/pi/Desktop/images/06042025/19/26/image_06042025_19_26_16_10450.jpg
/home/pi/Desktop/images/06042025/19/26/image_06042025_19_26_25_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":["1351429241","1351429228","1351429237","1351429231","1351429225","1351429251"],"photo_ids_order":["1351429225","1351429228","1351429231","1351429237","1351429241","1351429251"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8447b2a5f7d5b377c697e66cba5794d8.jpg","text":"TemporaryFile(/tmp/multipartBody4710190149560745541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334554083,"filename":"image_06042025_19_26_16_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/daf0d128854ed1c1f0bbae39672d313a.jpg","text":"TemporaryFile(/tmp/multipartBody5143363608280210720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334554083,"filename":"image_06042025_19_25_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/11/31e586c9f590c12cdc564cbf79f84e0d.jpg","text":"TemporaryFile(/tmp/multipartBody5126444495099905002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334554083,"filename":"image_06042025_19_26_06_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7f8d3dc7538c256188ad4429bbf19de3.jpg","text":"TemporaryFile(/tmp/multipartBody8394496824849095275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334554083,"filename":"image_06042025_19_25_56_10466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/36ad9ddb1bc2df24a70bfb8d813deee4.jpg","text":"TemporaryFile(/tmp/multipartBody4692161308002896186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334554083,"filename":"image_06042025_19_25_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/11/c8222ea1d8705cab2fef32abd1300eb1.jpg","text":"TemporaryFile(/tmp/multipartBody7829146729995773358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334554083,"filename":"image_06042025_19_26_25_9372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351429231","file1":"1351429228","file0":"1351429225","file4":"1351429241","file5":"1351429251","file3":"1351429237"},"map_files_photo_id_array":[{"photo_id":"1351429251","filename":"file5"},{"photo_id":"1351429231","filename":"file2"},{"photo_id":"1351429241","filename":"file4"},{"photo_id":"1351429228","filename":"file1"},{"photo_id":"1351429225","filename":"file0"},{"photo_id":"1351429237","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351429241":["hashtag1","hashtag2"]},{"1351429228":["hashtag1","hashtag2"]},{"1351429237":["hashtag1","hashtag2"]},{"1351429231":["hashtag1","hashtag2"]},{"1351429225":["hashtag1","hashtag2"]},{"1351429251":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351429241, 1351429228, 1351429237, 1351429231, 1351429225, 1351429251)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.599339723587036 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 03:22:32.796730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/19/26/image_06042025_19_26_36_10434.jpg', '/home/pi/Desktop/images/06042025/19/26/image_06042025_19_26_45_9435.jpg', '/home/pi/Desktop/images/06042025/19/26/image_06042025_19_26_56_10369.jpg', '/home/pi/Desktop/images/06042025/19/26/image_06042025_19_27_06_10468.jpg', '/home/pi/Desktop/images/06042025/19/27/image_06042025_19_27_16_9726.jpg', '/home/pi/Desktop/images/06042025/19/27/image_06042025_19_27_26_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/19/26/image_06042025_19_26_36_10434.jpg
/home/pi/Desktop/images/06042025/19/26/image_06042025_19_26_45_9435.jpg
/home/pi/Desktop/images/06042025/19/26/image_06042025_19_26_56_10369.jpg
/home/pi/Desktop/images/06042025/19/26/image_06042025_19_27_06_10468.jpg
/home/pi/Desktop/images/06042025/19/27/image_06042025_19_27_16_9726.jpg
/home/pi/Desktop/images/06042025/19/27/image_06042025_19_27_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":["1351429390","1351429372","1351429351","1351429345","1351429383","1351429359"],"photo_ids_order":["1351429345","1351429351","1351429359","1351429372","1351429383","1351429390"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/68f7f029ca98efd9344ed00734a6517d.jpg","text":"TemporaryFile(/tmp/multipartBody5932398806995652048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334614478,"filename":"image_06042025_19_27_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/11/e911fe192856f043f2fc7d4959223bee.jpg","text":"TemporaryFile(/tmp/multipartBody3857204323836640668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334614478,"filename":"image_06042025_19_27_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/11/81950b9cb36fb556e8190e4dfcbc1222.jpg","text":"TemporaryFile(/tmp/multipartBody5450837176146825384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334614478,"filename":"image_06042025_19_26_45_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/dc91fe3543577300a0ecaa2ddab74552.jpg","text":"TemporaryFile(/tmp/multipartBody3189573381821986732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334614478,"filename":"image_06042025_19_26_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/11/2a944f7be359cd9e8fd1d759947984d2.jpg","text":"TemporaryFile(/tmp/multipartBody1067560228286564009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334614478,"filename":"image_06042025_19_27_16_9726.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3c023b64394bf15817ba3582bdae3396.jpg","text":"TemporaryFile(/tmp/multipartBody8390297262804243962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334614478,"filename":"image_06042025_19_26_56_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351429359","file1":"1351429351","file0":"1351429345","file4":"1351429383","file5":"1351429390","file3":"1351429372"},"map_files_photo_id_array":[{"photo_id":"1351429390","filename":"file5"},{"photo_id":"1351429359","filename":"file2"},{"photo_id":"1351429383","filename":"file4"},{"photo_id":"1351429351","filename":"file1"},{"photo_id":"1351429345","filename":"file0"},{"photo_id":"1351429372","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351429390":["hashtag1","hashtag2"]},{"1351429372":["hashtag1","hashtag2"]},{"1351429351":["hashtag1","hashtag2"]},{"1351429345":["hashtag1","hashtag2"]},{"1351429383":["hashtag1","hashtag2"]},{"1351429359":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351429390, 1351429372, 1351429351, 1351429345, 1351429383, 1351429359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.78837776184082 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 03:23:33.006599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/19/27/image_06042025_19_27_36_9345.jpg', '/home/pi/Desktop/images/06042025/19/27/image_06042025_19_27_46_10449.jpg', '/home/pi/Desktop/images/06042025/19/27/image_06042025_19_27_56_9440.jpg', '/home/pi/Desktop/images/06042025/19/27/image_06042025_19_28_06_10423.jpg', '/home/pi/Desktop/images/06042025/19/28/image_06042025_19_28_15_9348.jpg', '/home/pi/Desktop/images/06042025/19/28/image_06042025_19_28_26_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/19/27/image_06042025_19_27_36_9345.jpg
/home/pi/Desktop/images/06042025/19/27/image_06042025_19_27_46_10449.jpg
/home/pi/Desktop/images/06042025/19/27/image_06042025_19_27_56_9440.jpg
/home/pi/Desktop/images/06042025/19/27/image_06042025_19_28_06_10423.jpg
/home/pi/Desktop/images/06042025/19/28/image_06042025_19_28_15_9348.jpg
/home/pi/Desktop/images/06042025/19/28/image_06042025_19_28_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":["1351429499","1351429591","1351429424","1351429441","1351429435","1351429414"],"photo_ids_order":["1351429414","1351429424","1351429435","1351429441","1351429499","1351429591"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9b199833ac36b948802864d29c8d8b07.jpg","text":"TemporaryFile(/tmp/multipartBody4270882466440952440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334674690,"filename":"image_06042025_19_28_15_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6a069445130398decf8711f203669aa9.jpg","text":"TemporaryFile(/tmp/multipartBody7230185794389577540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334674690,"filename":"image_06042025_19_28_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/11/07daaf4fbe662ff89c5bfb614587dce0.jpg","text":"TemporaryFile(/tmp/multipartBody6935675214027611232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334674690,"filename":"image_06042025_19_27_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/11/c13c64ed674ccb19b5b8f0263a0ffe60.jpg","text":"TemporaryFile(/tmp/multipartBody5243025025518511042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334674690,"filename":"image_06042025_19_28_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/11/466a6c012567d1b68e8af6d58dabec73.jpg","text":"TemporaryFile(/tmp/multipartBody1725978696132916225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334674690,"filename":"image_06042025_19_27_56_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/11/90d6ba1e740926c4757449e0c039b3a4.jpg","text":"TemporaryFile(/tmp/multipartBody385873930576165392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334674690,"filename":"image_06042025_19_27_36_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351429435","file1":"1351429424","file0":"1351429414","file4":"1351429499","file5":"1351429591","file3":"1351429441"},"map_files_photo_id_array":[{"photo_id":"1351429591","filename":"file5"},{"photo_id":"1351429435","filename":"file2"},{"photo_id":"1351429499","filename":"file4"},{"photo_id":"1351429424","filename":"file1"},{"photo_id":"1351429414","filename":"file0"},{"photo_id":"1351429441","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351429499":["hashtag1","hashtag2"]},{"1351429591":["hashtag1","hashtag2"]},{"1351429424":["hashtag1","hashtag2"]},{"1351429441":["hashtag1","hashtag2"]},{"1351429435":["hashtag1","hashtag2"]},{"1351429414":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351429499, 1351429591, 1351429424, 1351429441, 1351429435, 1351429414)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.86480522155762 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 03:24:32.339942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/19/28/image_06042025_19_28_36_10490.jpg', '/home/pi/Desktop/images/06042025/19/28/image_06042025_19_28_46_9417.jpg', '/home/pi/Desktop/images/06042025/19/28/image_06042025_19_28_56_10437.jpg', '/home/pi/Desktop/images/06042025/19/28/image_06042025_19_29_05_9367.jpg', '/home/pi/Desktop/images/06042025/19/29/image_06042025_19_29_16_10371.jpg', '/home/pi/Desktop/images/06042025/19/29/image_06042025_19_29_26_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/19/28/image_06042025_19_28_36_10490.jpg
/home/pi/Desktop/images/06042025/19/28/image_06042025_19_28_46_9417.jpg
/home/pi/Desktop/images/06042025/19/28/image_06042025_19_28_56_10437.jpg
/home/pi/Desktop/images/06042025/19/28/image_06042025_19_29_05_9367.jpg
/home/pi/Desktop/images/06042025/19/29/image_06042025_19_29_16_10371.jpg
/home/pi/Desktop/images/06042025/19/29/image_06042025_19_29_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":["1351429742","1351429748","1351429771","1351429744","1351429812","1351429815"],"photo_ids_order":["1351429742","1351429744","1351429748","1351429771","1351429812","1351429815"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7296b0726dff1bd0da06527b66ebfe02.jpg","text":"TemporaryFile(/tmp/multipartBody7298126855492053736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334734035,"filename":"image_06042025_19_28_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/11/a20be9b10948977ddcf870986be0762b.jpg","text":"TemporaryFile(/tmp/multipartBody6244872083719316816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334734035,"filename":"image_06042025_19_28_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/11/eca9d0835c91363100a004c4e61cd442.jpg","text":"TemporaryFile(/tmp/multipartBody402101912368511451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334734035,"filename":"image_06042025_19_29_05_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ac4efd4926f1efcbc5a8bbf67db39b0f.jpg","text":"TemporaryFile(/tmp/multipartBody6069594957074663856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334734035,"filename":"image_06042025_19_28_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/11/1ae5aef4ae6dbb80ac3ed406732ec118.jpg","text":"TemporaryFile(/tmp/multipartBody4642952385570298844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334734035,"filename":"image_06042025_19_29_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/11/3ba7bfb89ae18d10a71b00f491372001.jpg","text":"TemporaryFile(/tmp/multipartBody2776065197847406991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334734035,"filename":"image_06042025_19_29_26_10430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351429748","file1":"1351429744","file0":"1351429742","file4":"1351429812","file5":"1351429815","file3":"1351429771"},"map_files_photo_id_array":[{"photo_id":"1351429815","filename":"file5"},{"photo_id":"1351429748","filename":"file2"},{"photo_id":"1351429812","filename":"file4"},{"photo_id":"1351429744","filename":"file1"},{"photo_id":"1351429742","filename":"file0"},{"photo_id":"1351429771","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351429742":["hashtag1","hashtag2"]},{"1351429748":["hashtag1","hashtag2"]},{"1351429771":["hashtag1","hashtag2"]},{"1351429744":["hashtag1","hashtag2"]},{"1351429812":["hashtag1","hashtag2"]},{"1351429815":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351429742, 1351429748, 1351429771, 1351429744, 1351429812, 1351429815)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.060821771621704 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 03:25:32.433871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/19/29/image_06042025_19_29_36_9376.jpg', '/home/pi/Desktop/images/06042025/19/29/image_06042025_19_29_46_10413.jpg', '/home/pi/Desktop/images/06042025/19/29/image_06042025_19_29_55_9343.jpg', '/home/pi/Desktop/images/06042025/19/29/image_06042025_19_30_06_10356.jpg', '/home/pi/Desktop/images/06042025/19/30/image_06042025_19_30_16_10359.jpg', '/home/pi/Desktop/images/06042025/19/30/image_06042025_19_30_36_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/19/29/image_06042025_19_29_36_9376.jpg
/home/pi/Desktop/images/06042025/19/29/image_06042025_19_29_46_10413.jpg
/home/pi/Desktop/images/06042025/19/29/image_06042025_19_29_55_9343.jpg
/home/pi/Desktop/images/06042025/19/29/image_06042025_19_30_06_10356.jpg
/home/pi/Desktop/images/06042025/19/30/image_06042025_19_30_16_10359.jpg
/home/pi/Desktop/images/06042025/19/30/image_06042025_19_30_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":["1351429870","1351429888","1351429881","1351429884","1351429878","1351429886"],"photo_ids_order":["1351429870","1351429878","1351429881","1351429884","1351429886","1351429888"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ed78d17536ccedd621f93f1d2f65945f.jpg","text":"TemporaryFile(/tmp/multipartBody8708488583341517533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334794153,"filename":"image_06042025_19_29_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/11/826c0440e3fd45c506f01dc511f175ef.jpg","text":"TemporaryFile(/tmp/multipartBody705208551705820834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334794153,"filename":"image_06042025_19_30_36_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/db49bb04cc9ec34c2964db919bd50c9f.jpg","text":"TemporaryFile(/tmp/multipartBody6483040112692168746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334794153,"filename":"image_06042025_19_29_55_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f26cae2c8691e84ea19a4f80f846f503.jpg","text":"TemporaryFile(/tmp/multipartBody3272459648918028006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334794153,"filename":"image_06042025_19_30_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/11/975f59bb0ba990cbe66d9a225aee28a6.jpg","text":"TemporaryFile(/tmp/multipartBody2547826738468419573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334794153,"filename":"image_06042025_19_29_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/11/2d98aa50e7f7e3327c7461e0ae6e78eb.jpg","text":"TemporaryFile(/tmp/multipartBody4928298692193065198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334794153,"filename":"image_06042025_19_30_16_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351429881","file1":"1351429878","file0":"1351429870","file4":"1351429886","file5":"1351429888","file3":"1351429884"},"map_files_photo_id_array":[{"photo_id":"1351429888","filename":"file5"},{"photo_id":"1351429881","filename":"file2"},{"photo_id":"1351429886","filename":"file4"},{"photo_id":"1351429878","filename":"file1"},{"photo_id":"1351429870","filename":"file0"},{"photo_id":"1351429884","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351429870":["hashtag1","hashtag2"]},{"1351429888":["hashtag1","hashtag2"]},{"1351429881":["hashtag1","hashtag2"]},{"1351429884":["hashtag1","hashtag2"]},{"1351429878":["hashtag1","hashtag2"]},{"1351429886":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351429870, 1351429888, 1351429881, 1351429884, 1351429878, 1351429886)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.11117172241211 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 03:26:32.679548
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/19/30/image_06042025_19_30_46_10349.jpg', '/home/pi/Desktop/images/06042025/19/30/image_06042025_19_31_06_10365.jpg', '/home/pi/Desktop/images/06042025/19/31/image_06042025_19_31_15_9423.jpg', '/home/pi/Desktop/images/06042025/19/31/image_06042025_19_31_46_9389.jpg', '/home/pi/Desktop/images/06042025/19/31/image_06042025_19_31_56_10374.jpg', '/home/pi/Desktop/images/06042025/19/31/image_06042025_19_32_05_9420.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/19/30/image_06042025_19_30_46_10349.jpg
/home/pi/Desktop/images/06042025/19/30/image_06042025_19_31_06_10365.jpg
/home/pi/Desktop/images/06042025/19/31/image_06042025_19_31_15_9423.jpg
/home/pi/Desktop/images/06042025/19/31/image_06042025_19_31_46_9389.jpg
/home/pi/Desktop/images/06042025/19/31/image_06042025_19_31_56_10374.jpg
/home/pi/Desktop/images/06042025/19/31/image_06042025_19_32_05_9420.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351430073","1351429967","1351430049","1351429945","1351430000","1351429941"],"photo_ids_order":["1351429941","1351429945","1351429967","1351430000","1351430049","1351430073"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/db32adb774c6a9e3d7f3578e8e61ed01.jpg","text":"TemporaryFile(/tmp/multipartBody8687481497511419799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334854354,"filename":"image_06042025_19_32_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/11/82ec16a4b5a3c2d30ee123e7a5df1604.jpg","text":"TemporaryFile(/tmp/multipartBody8966968726632561367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334854354,"filename":"image_06042025_19_31_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/11/308f62b47e6813da0e667f725607fa2f.jpg","text":"TemporaryFile(/tmp/multipartBody5156940720517030471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334854354,"filename":"image_06042025_19_31_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/11/e203cc6a34da11134b60b27fcb91b9f7.jpg","text":"TemporaryFile(/tmp/multipartBody8530966951519017179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334854354,"filename":"image_06042025_19_31_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/11/2944e939f1b057662a2f037e7235b805.jpg","text":"TemporaryFile(/tmp/multipartBody344124578950422144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334854354,"filename":"image_06042025_19_31_46_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3b653acd5d7ae5299a4b86c3a2237c7a.jpg","text":"TemporaryFile(/tmp/multipartBody6047754032926045089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334854354,"filename":"image_06042025_19_30_46_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351429967","file1":"1351429945","file0":"1351429941","file4":"1351430049","file5":"1351430073","file3":"1351430000"},"map_files_photo_id_array":[{"photo_id":"1351430073","filename":"file5"},{"photo_id":"1351429967","filename":"file2"},{"photo_id":"1351430049","filename":"file4"},{"photo_id":"1351429945","filename":"file1"},{"photo_id":"1351429941","filename":"file0"},{"photo_id":"1351430000","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351430073":["hashtag1","hashtag2"]},{"1351429967":["hashtag1","hashtag2"]},{"1351430049":["hashtag1","hashtag2"]},{"1351429945":["hashtag1","hashtag2"]},{"1351430000":["hashtag1","hashtag2"]},{"1351429941":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351430073, 1351429967, 1351430049, 1351429945, 1351430000, 1351429941)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.77199172973633 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 03:27:32.892703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/19/32/image_06042025_19_32_16_10370.jpg', '/home/pi/Desktop/images/06042025/19/32/image_06042025_19_32_26_10400.jpg', '/home/pi/Desktop/images/06042025/19/32/image_06042025_19_32_36_9417.jpg', '/home/pi/Desktop/images/06042025/19/32/image_06042025_19_32_46_10351.jpg', '/home/pi/Desktop/images/06042025/19/32/image_06042025_19_32_55_9434.jpg', '/home/pi/Desktop/images/06042025/19/32/image_06042025_19_33_06_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/19/32/image_06042025_19_32_16_10370.jpg
/home/pi/Desktop/images/06042025/19/32/image_06042025_19_32_26_10400.jpg
/home/pi/Desktop/images/06042025/19/32/image_06042025_19_32_36_9417.jpg
/home/pi/Desktop/images/06042025/19/32/image_06042025_19_32_46_10351.jpg
/home/pi/Desktop/images/06042025/19/32/image_06042025_19_32_55_9434.jpg
/home/pi/Desktop/images/06042025/19/32/image_06042025_19_33_06_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":["1351430567","1351430425","1351430335","1351430509","1351430379","1351430289"],"photo_ids_order":["1351430289","1351430335","1351430379","1351430425","1351430509","1351430567"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8ab0f21d1fe619d7b009e931ff9f443b.jpg","text":"TemporaryFile(/tmp/multipartBody2487316156134246900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334914569,"filename":"image_06042025_19_33_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/11/6da717fc140e7fd99ac2d5db776b1ada.jpg","text":"TemporaryFile(/tmp/multipartBody3927699595134280387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334914569,"filename":"image_06042025_19_32_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/11/88bfc8b2e6d72c50f0715c1884159cfc.jpg","text":"TemporaryFile(/tmp/multipartBody4344002365954084232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334914569,"filename":"image_06042025_19_32_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/11/b8cdfd3349c23891e483b2761cf01de8.jpg","text":"TemporaryFile(/tmp/multipartBody7851706838603858225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334914569,"filename":"image_06042025_19_32_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/11/f76a1eadcf67e89c7c2ee2f9467a846f.jpg","text":"TemporaryFile(/tmp/multipartBody3195265380713631790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334914569,"filename":"image_06042025_19_32_36_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ed905ef2d3dea9d1c63fc773dc7c5742.jpg","text":"TemporaryFile(/tmp/multipartBody5000399477516630415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334914569,"filename":"image_06042025_19_32_16_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351430379","file1":"1351430335","file0":"1351430289","file4":"1351430509","file5":"1351430567","file3":"1351430425"},"map_files_photo_id_array":[{"photo_id":"1351430567","filename":"file5"},{"photo_id":"1351430379","filename":"file2"},{"photo_id":"1351430509","filename":"file4"},{"photo_id":"1351430335","filename":"file1"},{"photo_id":"1351430289","filename":"file0"},{"photo_id":"1351430425","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351430567":["hashtag1","hashtag2"]},{"1351430425":["hashtag1","hashtag2"]},{"1351430335":["hashtag1","hashtag2"]},{"1351430509":["hashtag1","hashtag2"]},{"1351430379":["hashtag1","hashtag2"]},{"1351430289":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351430567, 1351430425, 1351430335, 1351430509, 1351430379, 1351430289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.01745080947876 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 03:28:33.070486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/19/33/image_06042025_19_33_36_10370.jpg', '/home/pi/Desktop/images/06042025/19/33/image_06042025_19_33_56_10349.jpg', '/home/pi/Desktop/images/06042025/19/34/image_06042025_19_34_35_9428.jpg', '/home/pi/Desktop/images/06042025/19/34/image_06042025_19_34_46_10361.jpg', '/home/pi/Desktop/images/06042025/19/34/image_06042025_19_34_56_10439.jpg', '/home/pi/Desktop/images/06042025/19/35/image_06042025_19_35_16_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/19/33/image_06042025_19_33_36_10370.jpg
/home/pi/Desktop/images/06042025/19/33/image_06042025_19_33_56_10349.jpg
/home/pi/Desktop/images/06042025/19/34/image_06042025_19_34_35_9428.jpg
/home/pi/Desktop/images/06042025/19/34/image_06042025_19_34_46_10361.jpg
/home/pi/Desktop/images/06042025/19/34/image_06042025_19_34_56_10439.jpg
/home/pi/Desktop/images/06042025/19/35/image_06042025_19_35_16_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":["1351431362","1351431271","1351431574","1351431454","1351431066","1351431153"],"photo_ids_order":["1351431066","1351431153","1351431271","1351431362","1351431454","1351431574"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/86a09a3fef76fa5c7015c41f6d41c5fd.jpg","text":"TemporaryFile(/tmp/multipartBody8637767876683952671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334974761,"filename":"image_06042025_19_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/11/92cd19826d0d73aa1e07fe2067912174.jpg","text":"TemporaryFile(/tmp/multipartBody6986757009807476245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334974761,"filename":"image_06042025_19_34_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/11/302adc9620c22a836111006c9e9a94e1.jpg","text":"TemporaryFile(/tmp/multipartBody5359817690556780789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334974761,"filename":"image_06042025_19_35_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/11/99147c8701173d9cb8a26bc2aebf6b8c.jpg","text":"TemporaryFile(/tmp/multipartBody6234120773327120629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334974761,"filename":"image_06042025_19_34_56_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/77aad101a99f11a98b3945145bff0b7e.jpg","text":"TemporaryFile(/tmp/multipartBody2717669946384153704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334974761,"filename":"image_06042025_19_33_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/11/c04e46e973b4e470a6c81c6f24d9b310.jpg","text":"TemporaryFile(/tmp/multipartBody2228734244084772554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744334974761,"filename":"image_06042025_19_33_56_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351431271","file1":"1351431153","file0":"1351431066","file4":"1351431454","file5":"1351431574","file3":"1351431362"},"map_files_photo_id_array":[{"photo_id":"1351431574","filename":"file5"},{"photo_id":"1351431271","filename":"file2"},{"photo_id":"1351431454","filename":"file4"},{"photo_id":"1351431153","filename":"file1"},{"photo_id":"1351431066","filename":"file0"},{"photo_id":"1351431362","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351431362":["hashtag1","hashtag2"]},{"1351431271":["hashtag1","hashtag2"]},{"1351431574":["hashtag1","hashtag2"]},{"1351431454":["hashtag1","hashtag2"]},{"1351431066":["hashtag1","hashtag2"]},{"1351431153":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351431362, 1351431271, 1351431574, 1351431454, 1351431066, 1351431153)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.26259469985962 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 03:29:32.211814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/19/35/image_06042025_19_35_25_9374.jpg', '/home/pi/Desktop/images/06042025/19/35/image_06042025_19_35_36_10357.jpg', '/home/pi/Desktop/images/06042025/19/35/image_06042025_19_35_46_10365.jpg', '/home/pi/Desktop/images/06042025/19/35/image_06042025_19_35_55_9356.jpg', '/home/pi/Desktop/images/06042025/19/35/image_06042025_19_36_06_10428.jpg', '/home/pi/Desktop/images/06042025/19/36/image_06042025_19_36_16_10473.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/19/35/image_06042025_19_35_25_9374.jpg
/home/pi/Desktop/images/06042025/19/35/image_06042025_19_35_36_10357.jpg
/home/pi/Desktop/images/06042025/19/35/image_06042025_19_35_46_10365.jpg
/home/pi/Desktop/images/06042025/19/35/image_06042025_19_35_55_9356.jpg
/home/pi/Desktop/images/06042025/19/35/image_06042025_19_36_06_10428.jpg
/home/pi/Desktop/images/06042025/19/36/image_06042025_19_36_16_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":["1351432019","1351431958","1351431891","1351432044","1351432011","1351431825"],"photo_ids_order":["1351431825","1351431891","1351431958","1351432011","1351432019","1351432044"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5752c25f52c68023ca5f8fbd13a55ee8.jpg","text":"TemporaryFile(/tmp/multipartBody6692550835292583361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335033884,"filename":"image_06042025_19_36_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/11/331e582d093fec1ae082bcfd6e977b3a.jpg","text":"TemporaryFile(/tmp/multipartBody6166961055181260127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335033884,"filename":"image_06042025_19_35_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/11/dfdbfd3fdadedc012e4eded3ee5fb99d.jpg","text":"TemporaryFile(/tmp/multipartBody156159980393243017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335033884,"filename":"image_06042025_19_35_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/11/1383beaf8294bc8817164d06255279b7.jpg","text":"TemporaryFile(/tmp/multipartBody159489635895364277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335033884,"filename":"image_06042025_19_36_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/11/5bef121a860fbbe0a08918666570e6de.jpg","text":"TemporaryFile(/tmp/multipartBody4589026174544335801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335033884,"filename":"image_06042025_19_35_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/11/6047f0f9cba05a9043dc1a2f1577da02.jpg","text":"TemporaryFile(/tmp/multipartBody442281981171132295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335033884,"filename":"image_06042025_19_35_25_9374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351431958","file1":"1351431891","file0":"1351431825","file4":"1351432019","file5":"1351432044","file3":"1351432011"},"map_files_photo_id_array":[{"photo_id":"1351432044","filename":"file5"},{"photo_id":"1351431958","filename":"file2"},{"photo_id":"1351432019","filename":"file4"},{"photo_id":"1351431891","filename":"file1"},{"photo_id":"1351431825","filename":"file0"},{"photo_id":"1351432011","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351432019":["hashtag1","hashtag2"]},{"1351431958":["hashtag1","hashtag2"]},{"1351431891":["hashtag1","hashtag2"]},{"1351432044":["hashtag1","hashtag2"]},{"1351432011":["hashtag1","hashtag2"]},{"1351431825":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351432019, 1351431958, 1351431891, 1351432044, 1351432011, 1351431825)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.77456760406494 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 03:30:32.446961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/19/36/image_06042025_19_36_26_9372.jpg', '/home/pi/Desktop/images/06042025/19/36/image_06042025_19_36_36_10381.jpg', '/home/pi/Desktop/images/06042025/19/36/image_06042025_19_36_45_9347.jpg', '/home/pi/Desktop/images/06042025/19/36/image_06042025_19_36_56_10368.jpg', '/home/pi/Desktop/images/06042025/19/36/image_06042025_19_37_06_10443.jpg', '/home/pi/Desktop/images/06042025/19/37/image_06042025_19_37_16_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/19/36/image_06042025_19_36_26_9372.jpg
/home/pi/Desktop/images/06042025/19/36/image_06042025_19_36_36_10381.jpg
/home/pi/Desktop/images/06042025/19/36/image_06042025_19_36_45_9347.jpg
/home/pi/Desktop/images/06042025/19/36/image_06042025_19_36_56_10368.jpg
/home/pi/Desktop/images/06042025/19/36/image_06042025_19_37_06_10443.jpg
/home/pi/Desktop/images/06042025/19/37/image_06042025_19_37_16_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: 1.6136393547058105 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 03:30:42.444770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/19/36/image_06042025_19_36_26_9372.jpg', '/home/pi/Desktop/images/06042025/19/36/image_06042025_19_36_36_10381.jpg', '/home/pi/Desktop/images/06042025/19/36/image_06042025_19_36_45_9347.jpg', '/home/pi/Desktop/images/06042025/19/36/image_06042025_19_36_56_10368.jpg', '/home/pi/Desktop/images/06042025/19/36/image_06042025_19_37_06_10443.jpg', '/home/pi/Desktop/images/06042025/19/37/image_06042025_19_37_16_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/19/36/image_06042025_19_36_26_9372.jpg
/home/pi/Desktop/images/06042025/19/36/image_06042025_19_36_36_10381.jpg
/home/pi/Desktop/images/06042025/19/36/image_06042025_19_36_45_9347.jpg
/home/pi/Desktop/images/06042025/19/36/image_06042025_19_36_56_10368.jpg
/home/pi/Desktop/images/06042025/19/36/image_06042025_19_37_06_10443.jpg
/home/pi/Desktop/images/06042025/19/37/image_06042025_19_37_16_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":["1351432139","1351432165","1351432162","1351432144","1351432173","1351432169"],"photo_ids_order":["1351432139","1351432144","1351432162","1351432165","1351432169","1351432173"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2b2a46b6a664dab9c7c6e314cab82320.jpg","text":"TemporaryFile(/tmp/multipartBody4068539875838585088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335103250,"filename":"image_06042025_19_36_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/11/a349db49be469e7e316e43ae7f936d50.jpg","text":"TemporaryFile(/tmp/multipartBody2159444871775646416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335103250,"filename":"image_06042025_19_36_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/11/93d6191307fbd97b6a2bb27814991ff3.jpg","text":"TemporaryFile(/tmp/multipartBody6686252523074033394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335103250,"filename":"image_06042025_19_36_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/11/6aef20c7b1c1725ce49da5389536ec32.jpg","text":"TemporaryFile(/tmp/multipartBody6034423990288659721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335103250,"filename":"image_06042025_19_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/11/530215d2d45ef5b65093babf0ca3b7d4.jpg","text":"TemporaryFile(/tmp/multipartBody8536565950189085212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335103250,"filename":"image_06042025_19_37_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/11/3114979d9760e959c6a9f5bdfd018227.jpg","text":"TemporaryFile(/tmp/multipartBody7846575339653488558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335103250,"filename":"image_06042025_19_37_06_10443.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351432162","file1":"1351432144","file0":"1351432139","file4":"1351432169","file5":"1351432173","file3":"1351432165"},"map_files_photo_id_array":[{"photo_id":"1351432173","filename":"file5"},{"photo_id":"1351432162","filename":"file2"},{"photo_id":"1351432169","filename":"file4"},{"photo_id":"1351432144","filename":"file1"},{"photo_id":"1351432139","filename":"file0"},{"photo_id":"1351432165","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351432139":["hashtag1","hashtag2"]},{"1351432165":["hashtag1","hashtag2"]},{"1351432162":["hashtag1","hashtag2"]},{"1351432144":["hashtag1","hashtag2"]},{"1351432173":["hashtag1","hashtag2"]},{"1351432169":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351432139, 1351432165, 1351432162, 1351432144, 1351432173, 1351432169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.487600803375244 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 03:31:32.647731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/19/37/image_06042025_19_37_26_10363.jpg', '/home/pi/Desktop/images/06042025/19/37/image_06042025_19_37_35_9423.jpg', '/home/pi/Desktop/images/06042025/19/37/image_06042025_19_37_46_10461.jpg', '/home/pi/Desktop/images/06042025/19/37/image_06042025_19_37_56_10445.jpg', '/home/pi/Desktop/images/06042025/19/37/image_06042025_19_38_06_9342.jpg', '/home/pi/Desktop/images/06042025/19/38/image_06042025_19_38_16_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/19/37/image_06042025_19_37_26_10363.jpg
/home/pi/Desktop/images/06042025/19/37/image_06042025_19_37_35_9423.jpg
/home/pi/Desktop/images/06042025/19/37/image_06042025_19_37_46_10461.jpg
/home/pi/Desktop/images/06042025/19/37/image_06042025_19_37_56_10445.jpg
/home/pi/Desktop/images/06042025/19/37/image_06042025_19_38_06_9342.jpg
/home/pi/Desktop/images/06042025/19/38/image_06042025_19_38_16_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":["1351432301","1351432252","1351432237","1351432210","1351432344","1351432280"],"photo_ids_order":["1351432210","1351432237","1351432252","1351432280","1351432301","1351432344"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/909c67957cd7187fb8eabb4014ecbf7d.jpg","text":"TemporaryFile(/tmp/multipartBody6066337448384932816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335154340,"filename":"image_06042025_19_38_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/11/685a64b16d70efec1d18f9650386b4a2.jpg","text":"TemporaryFile(/tmp/multipartBody5593378173377624720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335154340,"filename":"image_06042025_19_37_46_10461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2caeaa612c35b73c2de090ed15f65e2d.jpg","text":"TemporaryFile(/tmp/multipartBody1189246128518152671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335154340,"filename":"image_06042025_19_37_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/11/34e106776ae119bd72d3f01ad12816d6.jpg","text":"TemporaryFile(/tmp/multipartBody5077028850563968419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335154340,"filename":"image_06042025_19_37_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/11/0a7d22fac8ef3693bcebc9b2bdf0a51b.jpg","text":"TemporaryFile(/tmp/multipartBody7590611767316563127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335154340,"filename":"image_06042025_19_38_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/11/caf367758193463a55fa9f6b3bdffbe5.jpg","text":"TemporaryFile(/tmp/multipartBody3699102978392245057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335154340,"filename":"image_06042025_19_37_56_10445.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351432252","file1":"1351432237","file0":"1351432210","file4":"1351432301","file5":"1351432344","file3":"1351432280"},"map_files_photo_id_array":[{"photo_id":"1351432344","filename":"file5"},{"photo_id":"1351432252","filename":"file2"},{"photo_id":"1351432301","filename":"file4"},{"photo_id":"1351432237","filename":"file1"},{"photo_id":"1351432210","filename":"file0"},{"photo_id":"1351432280","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351432301":["hashtag1","hashtag2"]},{"1351432252":["hashtag1","hashtag2"]},{"1351432237":["hashtag1","hashtag2"]},{"1351432210":["hashtag1","hashtag2"]},{"1351432344":["hashtag1","hashtag2"]},{"1351432280":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351432301, 1351432252, 1351432237, 1351432210, 1351432344, 1351432280)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.61195659637451 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 03:32:32.920291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/19/38/image_06042025_19_38_25_9445.jpg', '/home/pi/Desktop/images/06042025/19/38/image_06042025_19_38_46_10451.jpg', '/home/pi/Desktop/images/06042025/19/38/image_06042025_19_38_56_9445.jpg', '/home/pi/Desktop/images/06042025/19/38/image_06042025_19_39_06_10408.jpg', '/home/pi/Desktop/images/06042025/19/39/image_06042025_19_39_15_9349.jpg', '/home/pi/Desktop/images/06042025/19/39/image_06042025_19_39_26_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/19/38/image_06042025_19_38_25_9445.jpg
/home/pi/Desktop/images/06042025/19/38/image_06042025_19_38_46_10451.jpg
/home/pi/Desktop/images/06042025/19/38/image_06042025_19_38_56_9445.jpg
/home/pi/Desktop/images/06042025/19/38/image_06042025_19_39_06_10408.jpg
/home/pi/Desktop/images/06042025/19/39/image_06042025_19_39_15_9349.jpg
/home/pi/Desktop/images/06042025/19/39/image_06042025_19_39_26_10372.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351432805","1351432882","1351432736","1351432916","1351432933","1351432825"],"photo_ids_order":["1351432736","1351432805","1351432825","1351432882","1351432916","1351432933"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/75b59e07d41945addcbfd0695c715470.jpg","text":"TemporaryFile(/tmp/multipartBody3718092920216919450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335214594,"filename":"image_06042025_19_38_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/11/f63be73b4b427ae47074b1121f10ac31.jpg","text":"TemporaryFile(/tmp/multipartBody5917296244154962061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335214594,"filename":"image_06042025_19_39_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/11/675f21e3d1377b11b50d75ce1e779af8.jpg","text":"TemporaryFile(/tmp/multipartBody2451372252506953368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335214594,"filename":"image_06042025_19_38_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/11/4b89a33127e22c10c973cca70e1ac181.jpg","text":"TemporaryFile(/tmp/multipartBody3681896782767829012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335214594,"filename":"image_06042025_19_39_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/11/002cbeb74fd3efd3b172b6bb7cca602d.jpg","text":"TemporaryFile(/tmp/multipartBody5377329347001064606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335214594,"filename":"image_06042025_19_39_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/11/cb9e5140477ff8e1503c4907dca4c757.jpg","text":"TemporaryFile(/tmp/multipartBody6198591025928621935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335214594,"filename":"image_06042025_19_38_56_9445.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351432825","file1":"1351432805","file0":"1351432736","file4":"1351432916","file5":"1351432933","file3":"1351432882"},"map_files_photo_id_array":[{"photo_id":"1351432933","filename":"file5"},{"photo_id":"1351432825","filename":"file2"},{"photo_id":"1351432916","filename":"file4"},{"photo_id":"1351432805","filename":"file1"},{"photo_id":"1351432736","filename":"file0"},{"photo_id":"1351432882","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351432805":["hashtag1","hashtag2"]},{"1351432882":["hashtag1","hashtag2"]},{"1351432736":["hashtag1","hashtag2"]},{"1351432916":["hashtag1","hashtag2"]},{"1351432933":["hashtag1","hashtag2"]},{"1351432825":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351432805, 1351432882, 1351432736, 1351432916, 1351432933, 1351432825)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.94968771934509 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 03:33:33.135158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/19/39/image_06042025_19_39_36_10349.jpg', '/home/pi/Desktop/images/06042025/19/39/image_06042025_19_39_46_9364.jpg', '/home/pi/Desktop/images/06042025/19/39/image_06042025_19_39_56_10396.jpg', '/home/pi/Desktop/images/06042025/19/39/image_06042025_19_40_05_9455.jpg', '/home/pi/Desktop/images/06042025/19/40/image_06042025_19_40_16_10373.jpg', '/home/pi/Desktop/images/06042025/19/40/image_06042025_19_40_26_10447.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/19/39/image_06042025_19_39_36_10349.jpg
/home/pi/Desktop/images/06042025/19/39/image_06042025_19_39_46_9364.jpg
/home/pi/Desktop/images/06042025/19/39/image_06042025_19_39_56_10396.jpg
/home/pi/Desktop/images/06042025/19/39/image_06042025_19_40_05_9455.jpg
/home/pi/Desktop/images/06042025/19/40/image_06042025_19_40_16_10373.jpg
/home/pi/Desktop/images/06042025/19/40/image_06042025_19_40_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":["1351433086","1351433107","1351433200","1351433137","1351433115","1351433153"],"photo_ids_order":["1351433086","1351433107","1351433115","1351433137","1351433153","1351433200"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/72610146000825680a68be3d423b5beb.jpg","text":"TemporaryFile(/tmp/multipartBody8290608177155712432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335274820,"filename":"image_06042025_19_39_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/11/1b13a9d2bc344491a1cfa49f4ade0609.jpg","text":"TemporaryFile(/tmp/multipartBody4427696855601549317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335274820,"filename":"image_06042025_19_39_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/11/121df3dcaa396eb65ab6da308740f756.jpg","text":"TemporaryFile(/tmp/multipartBody340616871994379894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335274820,"filename":"image_06042025_19_40_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/11/d32a3c7b4d63d30e11e4c67ceee4b872.jpg","text":"TemporaryFile(/tmp/multipartBody4200459328769439552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335274820,"filename":"image_06042025_19_40_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/11/fc009e3cd18bd668e056b370b09aaf57.jpg","text":"TemporaryFile(/tmp/multipartBody1227517761235618778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335274820,"filename":"image_06042025_19_39_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/11/54b28a293e294e960b2fef8eb199d8b6.jpg","text":"TemporaryFile(/tmp/multipartBody2030276243845879466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335274820,"filename":"image_06042025_19_40_16_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351433115","file1":"1351433107","file0":"1351433086","file4":"1351433153","file5":"1351433200","file3":"1351433137"},"map_files_photo_id_array":[{"photo_id":"1351433200","filename":"file5"},{"photo_id":"1351433115","filename":"file2"},{"photo_id":"1351433153","filename":"file4"},{"photo_id":"1351433107","filename":"file1"},{"photo_id":"1351433086","filename":"file0"},{"photo_id":"1351433137","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351433086":["hashtag1","hashtag2"]},{"1351433107":["hashtag1","hashtag2"]},{"1351433200":["hashtag1","hashtag2"]},{"1351433137":["hashtag1","hashtag2"]},{"1351433115":["hashtag1","hashtag2"]},{"1351433153":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351433086, 1351433107, 1351433200, 1351433137, 1351433115, 1351433153)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.45502161979675 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 03:34:32.407056
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/19/40/image_06042025_19_40_36_9354.jpg', '/home/pi/Desktop/images/06042025/19/40/image_06042025_19_40_46_10338.jpg', '/home/pi/Desktop/images/06042025/19/40/image_06042025_19_40_55_9513.jpg', '/home/pi/Desktop/images/06042025/19/40/image_06042025_19_41_06_10355.jpg', '/home/pi/Desktop/images/06042025/19/41/image_06042025_19_41_16_10486.jpg', '/home/pi/Desktop/images/06042025/19/41/image_06042025_19_41_26_9399.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/19/40/image_06042025_19_40_36_9354.jpg
/home/pi/Desktop/images/06042025/19/40/image_06042025_19_40_46_10338.jpg
/home/pi/Desktop/images/06042025/19/40/image_06042025_19_40_55_9513.jpg
/home/pi/Desktop/images/06042025/19/40/image_06042025_19_41_06_10355.jpg
/home/pi/Desktop/images/06042025/19/41/image_06042025_19_41_16_10486.jpg
/home/pi/Desktop/images/06042025/19/41/image_06042025_19_41_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":["1351433434","1351433775","1351433601","1351433660","1351433645","1351433525"],"photo_ids_order":["1351433434","1351433525","1351433601","1351433645","1351433660","1351433775"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/aba0e904849563b75e67b8bd629c494e.jpg","text":"TemporaryFile(/tmp/multipartBody5582843200473672247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335334104,"filename":"image_06042025_19_40_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/11/833d2ae479681ef637b25b1d205bdd7c.jpg","text":"TemporaryFile(/tmp/multipartBody6071733146483358873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335334104,"filename":"image_06042025_19_41_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/11/c58b4a3fce2d9b76808bfd1b6a36322e.jpg","text":"TemporaryFile(/tmp/multipartBody765235970801694336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335334104,"filename":"image_06042025_19_40_55_9513.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/17f6a2879b4ad8eb4b0445de35229d04.jpg","text":"TemporaryFile(/tmp/multipartBody5822917502939482728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335334104,"filename":"image_06042025_19_41_16_10486.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3f4a5d7bbc51002ac6e11f3dd7b66050.jpg","text":"TemporaryFile(/tmp/multipartBody3787215009809080072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335334104,"filename":"image_06042025_19_41_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/11/a26d53c50bce80fd6466f93a762a0b4d.jpg","text":"TemporaryFile(/tmp/multipartBody7406889000630961295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335334104,"filename":"image_06042025_19_40_46_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351433601","file1":"1351433525","file0":"1351433434","file4":"1351433660","file5":"1351433775","file3":"1351433645"},"map_files_photo_id_array":[{"photo_id":"1351433775","filename":"file5"},{"photo_id":"1351433601","filename":"file2"},{"photo_id":"1351433660","filename":"file4"},{"photo_id":"1351433525","filename":"file1"},{"photo_id":"1351433434","filename":"file0"},{"photo_id":"1351433645","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351433434":["hashtag1","hashtag2"]},{"1351433775":["hashtag1","hashtag2"]},{"1351433601":["hashtag1","hashtag2"]},{"1351433660":["hashtag1","hashtag2"]},{"1351433645":["hashtag1","hashtag2"]},{"1351433525":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351433434, 1351433775, 1351433601, 1351433660, 1351433645, 1351433525)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.445343255996704 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 03:35:32.601452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/19/41/image_06042025_19_41_36_10357.jpg', '/home/pi/Desktop/images/06042025/19/41/image_06042025_19_41_56_10393.jpg', '/home/pi/Desktop/images/06042025/19/41/image_06042025_19_42_06_10408.jpg', '/home/pi/Desktop/images/06042025/19/42/image_06042025_19_42_16_9404.jpg', '/home/pi/Desktop/images/06042025/19/42/image_06042025_19_42_35_9363.jpg', '/home/pi/Desktop/images/06042025/19/42/image_06042025_19_42_46_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/19/41/image_06042025_19_41_36_10357.jpg
/home/pi/Desktop/images/06042025/19/41/image_06042025_19_41_56_10393.jpg
/home/pi/Desktop/images/06042025/19/41/image_06042025_19_42_06_10408.jpg
/home/pi/Desktop/images/06042025/19/42/image_06042025_19_42_16_9404.jpg
/home/pi/Desktop/images/06042025/19/42/image_06042025_19_42_35_9363.jpg
/home/pi/Desktop/images/06042025/19/42/image_06042025_19_42_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":["1351434400","1351434306","1351434416","1351434251","1351434385","1351434355"],"photo_ids_order":["1351434251","1351434306","1351434355","1351434385","1351434400","1351434416"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/eeb63ccb591f5b57cd16f84d4ac4641b.jpg","text":"TemporaryFile(/tmp/multipartBody3272861358297632110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335394345,"filename":"image_06042025_19_42_35_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8085ca53626f9233fa410bc643e7b7e4.jpg","text":"TemporaryFile(/tmp/multipartBody6711668082694264230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335394345,"filename":"image_06042025_19_41_56_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/02750d53eef5e4899a799013cda25191.jpg","text":"TemporaryFile(/tmp/multipartBody5329233240463795559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335394345,"filename":"image_06042025_19_42_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/11/80d452cdfbe0aa9ae8cbfce346618bdf.jpg","text":"TemporaryFile(/tmp/multipartBody2764367639662521262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335394345,"filename":"image_06042025_19_41_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/11/42fd6cf076548cbee51e9df9809cefb5.jpg","text":"TemporaryFile(/tmp/multipartBody6925102353802387497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335394345,"filename":"image_06042025_19_42_16_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/587fbbe86f42714d1d8004a026e6b100.jpg","text":"TemporaryFile(/tmp/multipartBody6505209412736558688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335394345,"filename":"image_06042025_19_42_06_10408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351434355","file1":"1351434306","file0":"1351434251","file4":"1351434400","file5":"1351434416","file3":"1351434385"},"map_files_photo_id_array":[{"photo_id":"1351434416","filename":"file5"},{"photo_id":"1351434355","filename":"file2"},{"photo_id":"1351434400","filename":"file4"},{"photo_id":"1351434306","filename":"file1"},{"photo_id":"1351434251","filename":"file0"},{"photo_id":"1351434385","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351434400":["hashtag1","hashtag2"]},{"1351434306":["hashtag1","hashtag2"]},{"1351434416":["hashtag1","hashtag2"]},{"1351434251":["hashtag1","hashtag2"]},{"1351434385":["hashtag1","hashtag2"]},{"1351434355":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351434400, 1351434306, 1351434416, 1351434251, 1351434385, 1351434355)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.95108675956726 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 03:36:32.906282
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/19/42/image_06042025_19_42_56_10361.jpg', '/home/pi/Desktop/images/06042025/19/42/image_06042025_19_43_05_9346.jpg', '/home/pi/Desktop/images/06042025/19/43/image_06042025_19_43_16_10363.jpg', '/home/pi/Desktop/images/06042025/19/43/image_06042025_19_43_26_10442.jpg', '/home/pi/Desktop/images/06042025/19/43/image_06042025_19_43_36_9357.jpg', '/home/pi/Desktop/images/06042025/19/43/image_06042025_19_43_46_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/19/42/image_06042025_19_42_56_10361.jpg
/home/pi/Desktop/images/06042025/19/42/image_06042025_19_43_05_9346.jpg
/home/pi/Desktop/images/06042025/19/43/image_06042025_19_43_16_10363.jpg
/home/pi/Desktop/images/06042025/19/43/image_06042025_19_43_26_10442.jpg
/home/pi/Desktop/images/06042025/19/43/image_06042025_19_43_36_9357.jpg
/home/pi/Desktop/images/06042025/19/43/image_06042025_19_43_46_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351434706","1351434669","1351434657","1351434702","1351434641","1351434694"],"photo_ids_order":["1351434641","1351434657","1351434669","1351434694","1351434702","1351434706"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/eb081cda5005cd63b15d653ba31aa6c6.jpg","text":"TemporaryFile(/tmp/multipartBody3891566228935512489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335454586,"filename":"image_06042025_19_43_46_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a42d405e1c21d0c4f22bf0d3aa433245.jpg","text":"TemporaryFile(/tmp/multipartBody8467651922625765424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335454586,"filename":"image_06042025_19_43_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/11/46c65983301ff7dbfabc0c43d9c76af5.jpg","text":"TemporaryFile(/tmp/multipartBody8667726025549245327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335454586,"filename":"image_06042025_19_43_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/11/5d77ddac50edcd35c71f2813c1c80db5.jpg","text":"TemporaryFile(/tmp/multipartBody4589804859347720509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335454586,"filename":"image_06042025_19_43_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/11/aa3b648c3223811669797d2c774591e5.jpg","text":"TemporaryFile(/tmp/multipartBody6228268335525743346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335454586,"filename":"image_06042025_19_42_56_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/46006c495f3a4f9d696ef720f6c5735c.jpg","text":"TemporaryFile(/tmp/multipartBody3203259463197728485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335454586,"filename":"image_06042025_19_43_26_10442.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351434669","file1":"1351434657","file0":"1351434641","file4":"1351434702","file5":"1351434706","file3":"1351434694"},"map_files_photo_id_array":[{"photo_id":"1351434706","filename":"file5"},{"photo_id":"1351434669","filename":"file2"},{"photo_id":"1351434702","filename":"file4"},{"photo_id":"1351434657","filename":"file1"},{"photo_id":"1351434641","filename":"file0"},{"photo_id":"1351434694","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351434706":["hashtag1","hashtag2"]},{"1351434669":["hashtag1","hashtag2"]},{"1351434657":["hashtag1","hashtag2"]},{"1351434702":["hashtag1","hashtag2"]},{"1351434641":["hashtag1","hashtag2"]},{"1351434694":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351434706, 1351434669, 1351434657, 1351434702, 1351434641, 1351434694)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.7234845161438 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 03:37:33.138073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/19/43/image_06042025_19_43_56_10365.jpg', '/home/pi/Desktop/images/06042025/19/43/image_06042025_19_44_06_9345.jpg', '/home/pi/Desktop/images/06042025/19/44/image_06042025_19_44_16_10369.jpg', '/home/pi/Desktop/images/06042025/19/44/image_06042025_19_44_25_9353.jpg', '/home/pi/Desktop/images/06042025/19/44/image_06042025_19_44_36_10381.jpg', '/home/pi/Desktop/images/06042025/19/44/image_06042025_19_44_46_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/19/43/image_06042025_19_43_56_10365.jpg
/home/pi/Desktop/images/06042025/19/43/image_06042025_19_44_06_9345.jpg
/home/pi/Desktop/images/06042025/19/44/image_06042025_19_44_16_10369.jpg
/home/pi/Desktop/images/06042025/19/44/image_06042025_19_44_25_9353.jpg
/home/pi/Desktop/images/06042025/19/44/image_06042025_19_44_36_10381.jpg
/home/pi/Desktop/images/06042025/19/44/image_06042025_19_44_46_10455.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351434832","1351434825","1351434782","1351434758","1351434806","1351434835"],"photo_ids_order":["1351434758","1351434782","1351434806","1351434825","1351434832","1351434835"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b2c88f260da7716ef5b176a866d367c0.jpg","text":"TemporaryFile(/tmp/multipartBody6848966110704203751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335514816,"filename":"image_06042025_19_44_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/11/33f49cefd5d3f4a20a44caa4f1dc83a5.jpg","text":"TemporaryFile(/tmp/multipartBody7353967139564145586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335514816,"filename":"image_06042025_19_44_25_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/67b42c77c68992963313820501e1f4ae.jpg","text":"TemporaryFile(/tmp/multipartBody6120428473886319755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335514816,"filename":"image_06042025_19_44_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/11/627d85994850b3382b474e0104833f27.jpg","text":"TemporaryFile(/tmp/multipartBody5525096973783567539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335514816,"filename":"image_06042025_19_43_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/11/4c09c8ecb46373d4fef6e1ac79b6d512.jpg","text":"TemporaryFile(/tmp/multipartBody5119271353829346805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335514816,"filename":"image_06042025_19_44_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/11/62b2422e62690789d848247b204dece2.jpg","text":"TemporaryFile(/tmp/multipartBody3068610416909930939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335514816,"filename":"image_06042025_19_44_46_10455.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351434806","file1":"1351434782","file0":"1351434758","file4":"1351434832","file5":"1351434835","file3":"1351434825"},"map_files_photo_id_array":[{"photo_id":"1351434835","filename":"file5"},{"photo_id":"1351434806","filename":"file2"},{"photo_id":"1351434832","filename":"file4"},{"photo_id":"1351434782","filename":"file1"},{"photo_id":"1351434758","filename":"file0"},{"photo_id":"1351434825","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351434832":["hashtag1","hashtag2"]},{"1351434825":["hashtag1","hashtag2"]},{"1351434782":["hashtag1","hashtag2"]},{"1351434758":["hashtag1","hashtag2"]},{"1351434806":["hashtag1","hashtag2"]},{"1351434835":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351434832, 1351434825, 1351434782, 1351434758, 1351434806, 1351434835)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.09218144416809 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 03:38:32.280066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/19/44/image_06042025_19_45_06_10348.jpg', '/home/pi/Desktop/images/06042025/19/45/image_06042025_19_45_15_9422.jpg', '/home/pi/Desktop/images/06042025/19/45/image_06042025_19_45_26_10408.jpg', '/home/pi/Desktop/images/06042025/19/45/image_06042025_19_45_36_10414.jpg', '/home/pi/Desktop/images/06042025/19/45/image_06042025_19_45_56_10486.jpg', '/home/pi/Desktop/images/06042025/19/46/image_06042025_19_46_16_10336.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/19/44/image_06042025_19_45_06_10348.jpg
/home/pi/Desktop/images/06042025/19/45/image_06042025_19_45_15_9422.jpg
/home/pi/Desktop/images/06042025/19/45/image_06042025_19_45_26_10408.jpg
/home/pi/Desktop/images/06042025/19/45/image_06042025_19_45_36_10414.jpg
/home/pi/Desktop/images/06042025/19/45/image_06042025_19_45_56_10486.jpg
/home/pi/Desktop/images/06042025/19/46/image_06042025_19_46_16_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":["1351434897","1351434901","1351434891","1351434855","1351434849","1351434880"],"photo_ids_order":["1351434849","1351434855","1351434880","1351434891","1351434897","1351434901"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5024f7660319dc2d0d328047b9bc5739.jpg","text":"TemporaryFile(/tmp/multipartBody8958951885554772612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335573961,"filename":"image_06042025_19_45_56_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/11/0fdd83f0f946568a9dee91caa8ab75ac.jpg","text":"TemporaryFile(/tmp/multipartBody3720314196374086843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335573961,"filename":"image_06042025_19_46_16_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/102de8b0824139e3488d330cca210677.jpg","text":"TemporaryFile(/tmp/multipartBody4248466825410873608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335573961,"filename":"image_06042025_19_45_36_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8e60576e2e1716d99401f59b5750d745.jpg","text":"TemporaryFile(/tmp/multipartBody2736584998745227898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335573961,"filename":"image_06042025_19_45_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/11/913dbf6f571142563b46dc25b6051261.jpg","text":"TemporaryFile(/tmp/multipartBody1368916755831246853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335573961,"filename":"image_06042025_19_45_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/11/11bbaa410e9af07b3e4e4644cf14b376.jpg","text":"TemporaryFile(/tmp/multipartBody8401965903655109905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335573961,"filename":"image_06042025_19_45_26_10408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351434880","file1":"1351434855","file0":"1351434849","file4":"1351434897","file5":"1351434901","file3":"1351434891"},"map_files_photo_id_array":[{"photo_id":"1351434901","filename":"file5"},{"photo_id":"1351434880","filename":"file2"},{"photo_id":"1351434897","filename":"file4"},{"photo_id":"1351434855","filename":"file1"},{"photo_id":"1351434849","filename":"file0"},{"photo_id":"1351434891","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351434897":["hashtag1","hashtag2"]},{"1351434901":["hashtag1","hashtag2"]},{"1351434891":["hashtag1","hashtag2"]},{"1351434855":["hashtag1","hashtag2"]},{"1351434849":["hashtag1","hashtag2"]},{"1351434880":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351434897, 1351434901, 1351434891, 1351434855, 1351434849, 1351434880)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.040908336639404 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 03:39:32.508837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/19/46/image_06042025_19_46_26_10416.jpg', '/home/pi/Desktop/images/06042025/19/46/image_06042025_19_46_36_9357.jpg', '/home/pi/Desktop/images/06042025/19/46/image_06042025_19_46_46_10359.jpg', '/home/pi/Desktop/images/06042025/19/46/image_06042025_19_46_55_9364.jpg', '/home/pi/Desktop/images/06042025/19/46/image_06042025_19_47_06_10424.jpg', '/home/pi/Desktop/images/06042025/19/47/image_06042025_19_47_26_9351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/19/46/image_06042025_19_46_26_10416.jpg
/home/pi/Desktop/images/06042025/19/46/image_06042025_19_46_36_9357.jpg
/home/pi/Desktop/images/06042025/19/46/image_06042025_19_46_46_10359.jpg
/home/pi/Desktop/images/06042025/19/46/image_06042025_19_46_55_9364.jpg
/home/pi/Desktop/images/06042025/19/46/image_06042025_19_47_06_10424.jpg
/home/pi/Desktop/images/06042025/19/47/image_06042025_19_47_26_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":["1351435008","1351434969","1351435010","1351434998","1351434988","1351435006"],"photo_ids_order":["1351434969","1351434988","1351434998","1351435006","1351435008","1351435010"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d65208dd4c90831c0b7166895f2f5421.jpg","text":"TemporaryFile(/tmp/multipartBody2105427620228843050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335634198,"filename":"image_06042025_19_47_06_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1bd5108e7b6cf380b708e44d84082caf.jpg","text":"TemporaryFile(/tmp/multipartBody6285856337529737712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335634198,"filename":"image_06042025_19_46_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/11/0f4dde9e6fd2269fc813abd8ed88d7e0.jpg","text":"TemporaryFile(/tmp/multipartBody6667235349687990285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335634198,"filename":"image_06042025_19_47_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/11/24f405fa5149815053e071819a766b68.jpg","text":"TemporaryFile(/tmp/multipartBody1479386017458764986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335634198,"filename":"image_06042025_19_46_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/11/9fe84d2d5c1ba3c64c4b44cb81a69033.jpg","text":"TemporaryFile(/tmp/multipartBody9136021441170222237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335634198,"filename":"image_06042025_19_46_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/11/ebfb7fd63c062e11df257cb092f79c5b.jpg","text":"TemporaryFile(/tmp/multipartBody8439611966342495418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335634198,"filename":"image_06042025_19_46_55_9364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351434998","file1":"1351434988","file0":"1351434969","file4":"1351435008","file5":"1351435010","file3":"1351435006"},"map_files_photo_id_array":[{"photo_id":"1351435010","filename":"file5"},{"photo_id":"1351434998","filename":"file2"},{"photo_id":"1351435008","filename":"file4"},{"photo_id":"1351434988","filename":"file1"},{"photo_id":"1351434969","filename":"file0"},{"photo_id":"1351435006","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351435008":["hashtag1","hashtag2"]},{"1351434969":["hashtag1","hashtag2"]},{"1351435010":["hashtag1","hashtag2"]},{"1351434998":["hashtag1","hashtag2"]},{"1351434988":["hashtag1","hashtag2"]},{"1351435006":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351435008, 1351434969, 1351435010, 1351434998, 1351434988, 1351435006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.963292837142944 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 03:40:32.476747
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/19/47/image_06042025_19_47_36_10358.jpg', '/home/pi/Desktop/images/06042025/19/47/image_06042025_19_47_45_9359.jpg', '/home/pi/Desktop/images/06042025/19/47/image_06042025_19_47_56_10354.jpg', '/home/pi/Desktop/images/06042025/19/47/image_06042025_19_48_06_10443.jpg', '/home/pi/Desktop/images/06042025/19/48/image_06042025_19_48_15_9361.jpg', '/home/pi/Desktop/images/06042025/19/48/image_06042025_19_48_26_10444.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/19/47/image_06042025_19_47_36_10358.jpg
/home/pi/Desktop/images/06042025/19/47/image_06042025_19_47_45_9359.jpg
/home/pi/Desktop/images/06042025/19/47/image_06042025_19_47_56_10354.jpg
/home/pi/Desktop/images/06042025/19/47/image_06042025_19_48_06_10443.jpg
/home/pi/Desktop/images/06042025/19/48/image_06042025_19_48_15_9361.jpg
/home/pi/Desktop/images/06042025/19/48/image_06042025_19_48_26_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":["1351435119","1351435112","1351435106","1351435096","1351435100","1351435117"],"photo_ids_order":["1351435096","1351435100","1351435106","1351435112","1351435117","1351435119"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d5151ec61db2a327021dc524e133719f.jpg","text":"TemporaryFile(/tmp/multipartBody1467973038757451743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335694171,"filename":"image_06042025_19_48_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/11/7d3f0e67ce1eff70518454235f8fe42a.jpg","text":"TemporaryFile(/tmp/multipartBody5644968781339364472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335694171,"filename":"image_06042025_19_48_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/11/c218a51970d4b60fc26b5ea2883dde0c.jpg","text":"TemporaryFile(/tmp/multipartBody6442681887478193672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335694171,"filename":"image_06042025_19_47_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/11/4b359cb2a9e2cb45c712e22c2e249ed1.jpg","text":"TemporaryFile(/tmp/multipartBody4868926303235120879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335694171,"filename":"image_06042025_19_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/11/4f5dcb3adcd9e51d393727a341b681d2.jpg","text":"TemporaryFile(/tmp/multipartBody6234768394322588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335694171,"filename":"image_06042025_19_47_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/11/e1690c411e560a2534812c2fd298322e.jpg","text":"TemporaryFile(/tmp/multipartBody3106570546871354459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335694171,"filename":"image_06042025_19_48_15_9361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351435106","file1":"1351435100","file0":"1351435096","file4":"1351435117","file5":"1351435119","file3":"1351435112"},"map_files_photo_id_array":[{"photo_id":"1351435119","filename":"file5"},{"photo_id":"1351435106","filename":"file2"},{"photo_id":"1351435117","filename":"file4"},{"photo_id":"1351435100","filename":"file1"},{"photo_id":"1351435096","filename":"file0"},{"photo_id":"1351435112","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351435119":["hashtag1","hashtag2"]},{"1351435112":["hashtag1","hashtag2"]},{"1351435106":["hashtag1","hashtag2"]},{"1351435096":["hashtag1","hashtag2"]},{"1351435100":["hashtag1","hashtag2"]},{"1351435117":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351435119, 1351435112, 1351435106, 1351435096, 1351435100, 1351435117)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.12468957901001 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 03:41:32.682296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/19/48/image_06042025_19_48_35_9441.jpg', '/home/pi/Desktop/images/06042025/19/48/image_06042025_19_48_46_10356.jpg', '/home/pi/Desktop/images/06042025/19/48/image_06042025_19_48_56_10500.jpg', '/home/pi/Desktop/images/06042025/19/48/image_06042025_19_49_06_9370.jpg', '/home/pi/Desktop/images/06042025/19/49/image_06042025_19_49_16_10404.jpg', '/home/pi/Desktop/images/06042025/19/49/image_06042025_19_49_25_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/19/48/image_06042025_19_48_35_9441.jpg
/home/pi/Desktop/images/06042025/19/48/image_06042025_19_48_46_10356.jpg
/home/pi/Desktop/images/06042025/19/48/image_06042025_19_48_56_10500.jpg
/home/pi/Desktop/images/06042025/19/48/image_06042025_19_49_06_9370.jpg
/home/pi/Desktop/images/06042025/19/49/image_06042025_19_49_16_10404.jpg
/home/pi/Desktop/images/06042025/19/49/image_06042025_19_49_25_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":["1351435148","1351435151","1351435145","1351435141","1351435129","1351435138"],"photo_ids_order":["1351435129","1351435138","1351435141","1351435145","1351435148","1351435151"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/52dd01037f5a3134a2ae122f3c1a793e.jpg","text":"TemporaryFile(/tmp/multipartBody9109312369180108034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335754366,"filename":"image_06042025_19_49_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/11/15c1fefefaa9d68d8f74f5c64df954a3.jpg","text":"TemporaryFile(/tmp/multipartBody1021103381244318032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335754366,"filename":"image_06042025_19_49_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/11/f78f00eb3393cc061da1ffc21cef7593.jpg","text":"TemporaryFile(/tmp/multipartBody7138117367636997271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335754366,"filename":"image_06042025_19_49_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/11/0e48f5b858c9402984f114b09ee08619.jpg","text":"TemporaryFile(/tmp/multipartBody2766911843421678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335754366,"filename":"image_06042025_19_48_56_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/11/6780723b064340e95481979d49cb87a7.jpg","text":"TemporaryFile(/tmp/multipartBody5064930452501179516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335754366,"filename":"image_06042025_19_48_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/11/ab442429d5c44ff69fdf62cf4dcb8577.jpg","text":"TemporaryFile(/tmp/multipartBody3918492936648622384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335754366,"filename":"image_06042025_19_48_46_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351435141","file1":"1351435138","file0":"1351435129","file4":"1351435148","file5":"1351435151","file3":"1351435145"},"map_files_photo_id_array":[{"photo_id":"1351435151","filename":"file5"},{"photo_id":"1351435141","filename":"file2"},{"photo_id":"1351435148","filename":"file4"},{"photo_id":"1351435138","filename":"file1"},{"photo_id":"1351435129","filename":"file0"},{"photo_id":"1351435145","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351435148":["hashtag1","hashtag2"]},{"1351435151":["hashtag1","hashtag2"]},{"1351435145":["hashtag1","hashtag2"]},{"1351435141":["hashtag1","hashtag2"]},{"1351435129":["hashtag1","hashtag2"]},{"1351435138":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351435148, 1351435151, 1351435145, 1351435141, 1351435129, 1351435138)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.35112643241882 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 03:42:32.890468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/19/49/image_06042025_19_49_36_10469.jpg', '/home/pi/Desktop/images/06042025/19/49/image_06042025_19_49_45_9429.jpg', '/home/pi/Desktop/images/06042025/19/49/image_06042025_19_49_56_10391.jpg', '/home/pi/Desktop/images/06042025/19/49/image_06042025_19_50_06_10449.jpg', '/home/pi/Desktop/images/06042025/19/50/image_06042025_19_50_16_9379.jpg', '/home/pi/Desktop/images/06042025/19/50/image_06042025_19_50_26_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/19/49/image_06042025_19_49_36_10469.jpg
/home/pi/Desktop/images/06042025/19/49/image_06042025_19_49_45_9429.jpg
/home/pi/Desktop/images/06042025/19/49/image_06042025_19_49_56_10391.jpg
/home/pi/Desktop/images/06042025/19/49/image_06042025_19_50_06_10449.jpg
/home/pi/Desktop/images/06042025/19/50/image_06042025_19_50_16_9379.jpg
/home/pi/Desktop/images/06042025/19/50/image_06042025_19_50_26_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":["1351435182","1351435176","1351435166","1351435169","1351435177","1351435180"],"photo_ids_order":["1351435166","1351435169","1351435176","1351435177","1351435180","1351435182"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e9e9c08d04084df29ebe1de3c856486d.jpg","text":"TemporaryFile(/tmp/multipartBody7686459934176885807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335814625,"filename":"image_06042025_19_50_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/11/d47af7b99d6d1cf6865b0e1688836ea4.jpg","text":"TemporaryFile(/tmp/multipartBody1684536791223202447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335814625,"filename":"image_06042025_19_49_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/11/096ccf17da3d200c8dacd29861111400.jpg","text":"TemporaryFile(/tmp/multipartBody2849307709517800739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335814625,"filename":"image_06042025_19_49_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/11/566ab81e8ca846fa6a2332b6a915c435.jpg","text":"TemporaryFile(/tmp/multipartBody211507593361700472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335814625,"filename":"image_06042025_19_49_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/11/7bb037972290b2560b74d0b7e336b209.jpg","text":"TemporaryFile(/tmp/multipartBody3377161852728788382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335814625,"filename":"image_06042025_19_50_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/11/d5e0705f75a93737166e300dc505c673.jpg","text":"TemporaryFile(/tmp/multipartBody3122411067102884819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335814625,"filename":"image_06042025_19_50_16_9379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351435176","file1":"1351435169","file0":"1351435166","file4":"1351435180","file5":"1351435182","file3":"1351435177"},"map_files_photo_id_array":[{"photo_id":"1351435182","filename":"file5"},{"photo_id":"1351435176","filename":"file2"},{"photo_id":"1351435180","filename":"file4"},{"photo_id":"1351435169","filename":"file1"},{"photo_id":"1351435166","filename":"file0"},{"photo_id":"1351435177","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351435182":["hashtag1","hashtag2"]},{"1351435176":["hashtag1","hashtag2"]},{"1351435166":["hashtag1","hashtag2"]},{"1351435169":["hashtag1","hashtag2"]},{"1351435177":["hashtag1","hashtag2"]},{"1351435180":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351435182, 1351435176, 1351435166, 1351435169, 1351435177, 1351435180)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.414551734924316 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 03:43:33.067832
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/19/50/image_06042025_19_50_35_9349.jpg', '/home/pi/Desktop/images/06042025/19/50/image_06042025_19_50_46_10343.jpg', '/home/pi/Desktop/images/06042025/19/50/image_06042025_19_50_56_10344.jpg', '/home/pi/Desktop/images/06042025/19/50/image_06042025_19_51_05_9411.jpg', '/home/pi/Desktop/images/06042025/19/51/image_06042025_19_51_16_10344.jpg', '/home/pi/Desktop/images/06042025/19/51/image_06042025_19_51_26_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/19/50/image_06042025_19_50_35_9349.jpg
/home/pi/Desktop/images/06042025/19/50/image_06042025_19_50_46_10343.jpg
/home/pi/Desktop/images/06042025/19/50/image_06042025_19_50_56_10344.jpg
/home/pi/Desktop/images/06042025/19/50/image_06042025_19_51_05_9411.jpg
/home/pi/Desktop/images/06042025/19/51/image_06042025_19_51_16_10344.jpg
/home/pi/Desktop/images/06042025/19/51/image_06042025_19_51_26_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":["1351435206","1351435221","1351435215","1351435199","1351435223","1351435202"],"photo_ids_order":["1351435199","1351435202","1351435206","1351435215","1351435221","1351435223"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f91cff2bc9f764c117e53d109aa67de1.jpg","text":"TemporaryFile(/tmp/multipartBody7278322051977336648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335874760,"filename":"image_06042025_19_50_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/11/8eddb51c8d76b846aba284871234ec1e.jpg","text":"TemporaryFile(/tmp/multipartBody5220183302147877398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335874760,"filename":"image_06042025_19_51_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/11/371c83756189e722b67ffad1fcc52bb0.jpg","text":"TemporaryFile(/tmp/multipartBody4359046622180621066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335874760,"filename":"image_06042025_19_51_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/11/018a0f691d77f5ad8a7f08fc81796d59.jpg","text":"TemporaryFile(/tmp/multipartBody8808059402054937923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335874760,"filename":"image_06042025_19_50_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/11/0d9c2619bc396378d3e7b2a52d5d8d04.jpg","text":"TemporaryFile(/tmp/multipartBody5445728283134356478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335874760,"filename":"image_06042025_19_51_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/11/2fdee312a0f63d3e944f2dd1f9b63ce8.jpg","text":"TemporaryFile(/tmp/multipartBody1057641303612468862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335874760,"filename":"image_06042025_19_50_46_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351435206","file1":"1351435202","file0":"1351435199","file4":"1351435221","file5":"1351435223","file3":"1351435215"},"map_files_photo_id_array":[{"photo_id":"1351435223","filename":"file5"},{"photo_id":"1351435206","filename":"file2"},{"photo_id":"1351435221","filename":"file4"},{"photo_id":"1351435202","filename":"file1"},{"photo_id":"1351435199","filename":"file0"},{"photo_id":"1351435215","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351435206":["hashtag1","hashtag2"]},{"1351435221":["hashtag1","hashtag2"]},{"1351435215":["hashtag1","hashtag2"]},{"1351435199":["hashtag1","hashtag2"]},{"1351435223":["hashtag1","hashtag2"]},{"1351435202":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351435206, 1351435221, 1351435215, 1351435199, 1351435223, 1351435202)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.178975105285645 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 03:44:32.254976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/19/51/image_06042025_19_51_55_9434.jpg', '/home/pi/Desktop/images/06042025/19/51/image_06042025_19_52_06_10361.jpg', '/home/pi/Desktop/images/06042025/19/52/image_06042025_19_52_16_10476.jpg', '/home/pi/Desktop/images/06042025/19/52/image_06042025_19_52_26_9358.jpg', '/home/pi/Desktop/images/06042025/19/52/image_06042025_19_52_36_10366.jpg', '/home/pi/Desktop/images/06042025/19/52/image_06042025_19_52_46_10384.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/19/51/image_06042025_19_51_55_9434.jpg
/home/pi/Desktop/images/06042025/19/51/image_06042025_19_52_06_10361.jpg
/home/pi/Desktop/images/06042025/19/52/image_06042025_19_52_16_10476.jpg
/home/pi/Desktop/images/06042025/19/52/image_06042025_19_52_26_9358.jpg
/home/pi/Desktop/images/06042025/19/52/image_06042025_19_52_36_10366.jpg
/home/pi/Desktop/images/06042025/19/52/image_06042025_19_52_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":["1351435335","1351435320","1351435314","1351435339","1351435330","1351435324"],"photo_ids_order":["1351435314","1351435320","1351435324","1351435330","1351435335","1351435339"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/419053e187a0f2ed62f2b51a886b275d.jpg","text":"TemporaryFile(/tmp/multipartBody2940486944440988505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335933946,"filename":"image_06042025_19_52_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/11/bf690d790ae5bdc189e9df6b82e050cd.jpg","text":"TemporaryFile(/tmp/multipartBody870196320490456553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335933946,"filename":"image_06042025_19_52_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/11/5693646bc8706cafcee453c7c7ecd796.jpg","text":"TemporaryFile(/tmp/multipartBody5595248673961123313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335933946,"filename":"image_06042025_19_51_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/11/5f6b7ba48688838d36999ed4c8fd7381.jpg","text":"TemporaryFile(/tmp/multipartBody2916111156036149319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335933946,"filename":"image_06042025_19_52_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/11/eff8aa41d40df1efd0d1a9975c9f9461.jpg","text":"TemporaryFile(/tmp/multipartBody1351340263601765212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335933946,"filename":"image_06042025_19_52_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/11/9c5074bf6b7ecfaca7a343da28d051e4.jpg","text":"TemporaryFile(/tmp/multipartBody4431694565334430496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335933946,"filename":"image_06042025_19_52_16_10476.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351435324","file1":"1351435320","file0":"1351435314","file4":"1351435335","file5":"1351435339","file3":"1351435330"},"map_files_photo_id_array":[{"photo_id":"1351435339","filename":"file5"},{"photo_id":"1351435324","filename":"file2"},{"photo_id":"1351435335","filename":"file4"},{"photo_id":"1351435320","filename":"file1"},{"photo_id":"1351435314","filename":"file0"},{"photo_id":"1351435330","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351435335":["hashtag1","hashtag2"]},{"1351435320":["hashtag1","hashtag2"]},{"1351435314":["hashtag1","hashtag2"]},{"1351435339":["hashtag1","hashtag2"]},{"1351435330":["hashtag1","hashtag2"]},{"1351435324":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351435335, 1351435320, 1351435314, 1351435339, 1351435330, 1351435324)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.97955369949341 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 03:45:32.455261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/19/52/image_06042025_19_52_56_9361.jpg', '/home/pi/Desktop/images/06042025/19/52/image_06042025_19_53_06_10349.jpg', '/home/pi/Desktop/images/06042025/19/53/image_06042025_19_53_15_9348.jpg', '/home/pi/Desktop/images/06042025/19/53/image_06042025_19_53_26_10357.jpg', '/home/pi/Desktop/images/06042025/19/53/image_06042025_19_53_36_10440.jpg', '/home/pi/Desktop/images/06042025/19/53/image_06042025_19_53_46_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/19/52/image_06042025_19_52_56_9361.jpg
/home/pi/Desktop/images/06042025/19/52/image_06042025_19_53_06_10349.jpg
/home/pi/Desktop/images/06042025/19/53/image_06042025_19_53_15_9348.jpg
/home/pi/Desktop/images/06042025/19/53/image_06042025_19_53_26_10357.jpg
/home/pi/Desktop/images/06042025/19/53/image_06042025_19_53_36_10440.jpg
/home/pi/Desktop/images/06042025/19/53/image_06042025_19_53_46_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":["1351435455","1351435425","1351435442","1351435412","1351435432","1351435435"],"photo_ids_order":["1351435412","1351435425","1351435432","1351435435","1351435442","1351435455"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/938886eed948d61fbafab135a1fa4c85.jpg","text":"TemporaryFile(/tmp/multipartBody1983350484509962521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335994141,"filename":"image_06042025_19_53_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/11/50ec01984b44c9a4eca4fd8435f7ae6c.jpg","text":"TemporaryFile(/tmp/multipartBody8086879386510506438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335994141,"filename":"image_06042025_19_53_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/11/c4111aa6189243737aac4feb88e7082f.jpg","text":"TemporaryFile(/tmp/multipartBody5841633690991781213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335994141,"filename":"image_06042025_19_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/11/d108d05564420a487cf405924a2a93ef.jpg","text":"TemporaryFile(/tmp/multipartBody3941439093956252408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335994141,"filename":"image_06042025_19_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/11/1b7192b76c65661006c6d7aeb8423263.jpg","text":"TemporaryFile(/tmp/multipartBody4181385405856531661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335994141,"filename":"image_06042025_19_53_15_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4aea357855d48e7b9c6f6dca11cb5046.jpg","text":"TemporaryFile(/tmp/multipartBody2497183125672111380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744335994141,"filename":"image_06042025_19_53_26_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351435432","file1":"1351435425","file0":"1351435412","file4":"1351435442","file5":"1351435455","file3":"1351435435"},"map_files_photo_id_array":[{"photo_id":"1351435455","filename":"file5"},{"photo_id":"1351435432","filename":"file2"},{"photo_id":"1351435442","filename":"file4"},{"photo_id":"1351435425","filename":"file1"},{"photo_id":"1351435412","filename":"file0"},{"photo_id":"1351435435","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351435455":["hashtag1","hashtag2"]},{"1351435425":["hashtag1","hashtag2"]},{"1351435442":["hashtag1","hashtag2"]},{"1351435412":["hashtag1","hashtag2"]},{"1351435432":["hashtag1","hashtag2"]},{"1351435435":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351435455, 1351435425, 1351435442, 1351435412, 1351435432, 1351435435)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.38882756233215 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 03:46:32.718425
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/19/53/image_06042025_19_53_56_10389.jpg', '/home/pi/Desktop/images/06042025/19/53/image_06042025_19_54_06_10358.jpg', '/home/pi/Desktop/images/06042025/19/54/image_06042025_19_54_16_9375.jpg', '/home/pi/Desktop/images/06042025/19/54/image_06042025_19_54_26_10405.jpg', '/home/pi/Desktop/images/06042025/19/54/image_06042025_19_54_35_9317.jpg', '/home/pi/Desktop/images/06042025/19/54/image_06042025_19_54_46_10344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/19/53/image_06042025_19_53_56_10389.jpg
/home/pi/Desktop/images/06042025/19/53/image_06042025_19_54_06_10358.jpg
/home/pi/Desktop/images/06042025/19/54/image_06042025_19_54_16_9375.jpg
/home/pi/Desktop/images/06042025/19/54/image_06042025_19_54_26_10405.jpg
/home/pi/Desktop/images/06042025/19/54/image_06042025_19_54_35_9317.jpg
/home/pi/Desktop/images/06042025/19/54/image_06042025_19_54_46_10344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351435587","1351435559","1351435550","1351435567","1351435576","1351435590"],"photo_ids_order":["1351435550","1351435559","1351435567","1351435576","1351435587","1351435590"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3dd337a56c6a68728b2845d920a8d060.jpg","text":"TemporaryFile(/tmp/multipartBody3521554680018919394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744336054407,"filename":"image_06042025_19_54_35_9317.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/13878bd03c55f0c7dd931c9e658003b6.jpg","text":"TemporaryFile(/tmp/multipartBody2326304858744178618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744336054407,"filename":"image_06042025_19_54_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/11/109ab98f716687ca69ef3d9f204a9d15.jpg","text":"TemporaryFile(/tmp/multipartBody3268714080910371037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744336054407,"filename":"image_06042025_19_53_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/11/8f6e6981ff6be9abb8be44dda8b688c4.jpg","text":"TemporaryFile(/tmp/multipartBody7109702684335715811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744336054407,"filename":"image_06042025_19_54_16_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/de85d9f7c0ffbe391a494f53d430ed2b.jpg","text":"TemporaryFile(/tmp/multipartBody5419401230558021869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744336054407,"filename":"image_06042025_19_54_26_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/fdc910634e95adc29c5a31e7881f301c.jpg","text":"TemporaryFile(/tmp/multipartBody4047778441728033901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744336054407,"filename":"image_06042025_19_54_46_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351435567","file1":"1351435559","file0":"1351435550","file4":"1351435587","file5":"1351435590","file3":"1351435576"},"map_files_photo_id_array":[{"photo_id":"1351435590","filename":"file5"},{"photo_id":"1351435567","filename":"file2"},{"photo_id":"1351435587","filename":"file4"},{"photo_id":"1351435559","filename":"file1"},{"photo_id":"1351435550","filename":"file0"},{"photo_id":"1351435576","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351435587":["hashtag1","hashtag2"]},{"1351435559":["hashtag1","hashtag2"]},{"1351435550":["hashtag1","hashtag2"]},{"1351435567":["hashtag1","hashtag2"]},{"1351435576":["hashtag1","hashtag2"]},{"1351435590":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351435587, 1351435559, 1351435550, 1351435567, 1351435576, 1351435590)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.67037892341614 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 03:47:32.958857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/19/54/image_06042025_19_54_56_10482.jpg', '/home/pi/Desktop/images/06042025/19/54/image_06042025_19_55_06_9380.jpg', '/home/pi/Desktop/images/06042025/19/55/image_06042025_19_55_16_10412.jpg', '/home/pi/Desktop/images/06042025/19/55/image_06042025_19_55_25_9432.jpg', '/home/pi/Desktop/images/06042025/19/55/image_06042025_19_55_36_10400.jpg', '/home/pi/Desktop/images/06042025/19/55/image_06042025_19_55_46_10419.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/19/54/image_06042025_19_54_56_10482.jpg
/home/pi/Desktop/images/06042025/19/54/image_06042025_19_55_06_9380.jpg
/home/pi/Desktop/images/06042025/19/55/image_06042025_19_55_16_10412.jpg
/home/pi/Desktop/images/06042025/19/55/image_06042025_19_55_25_9432.jpg
/home/pi/Desktop/images/06042025/19/55/image_06042025_19_55_36_10400.jpg
/home/pi/Desktop/images/06042025/19/55/image_06042025_19_55_46_10419.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351435827","1351435823","1351435855","1351435756","1351435801","1351435819"],"photo_ids_order":["1351435756","1351435801","1351435819","1351435823","1351435827","1351435855"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/abd2687acf0598363c22255c107554d6.jpg","text":"TemporaryFile(/tmp/multipartBody839856723247980751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744336114653,"filename":"image_06042025_19_55_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/11/ee0fd68279ff1f7d9f2bb6a500c4fd89.jpg","text":"TemporaryFile(/tmp/multipartBody6018823617717714282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744336114653,"filename":"image_06042025_19_55_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/11/5280e8f438ec313de9f76287590e5502.jpg","text":"TemporaryFile(/tmp/multipartBody4810445420347366742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744336114653,"filename":"image_06042025_19_55_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/11/4c46ee0f5089f4db52f7515f520fecb9.jpg","text":"TemporaryFile(/tmp/multipartBody4825325977568672019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744336114653,"filename":"image_06042025_19_54_56_10482.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5082e57d08a90205c4f2d586eb3be663.jpg","text":"TemporaryFile(/tmp/multipartBody6081319729307631128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744336114653,"filename":"image_06042025_19_55_06_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3785a7b514f340cfc124d6c28182a1f2.jpg","text":"TemporaryFile(/tmp/multipartBody2036101141762945066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744336114653,"filename":"image_06042025_19_55_16_10412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351435819","file1":"1351435801","file0":"1351435756","file4":"1351435827","file5":"1351435855","file3":"1351435823"},"map_files_photo_id_array":[{"photo_id":"1351435855","filename":"file5"},{"photo_id":"1351435819","filename":"file2"},{"photo_id":"1351435827","filename":"file4"},{"photo_id":"1351435801","filename":"file1"},{"photo_id":"1351435756","filename":"file0"},{"photo_id":"1351435823","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351435827":["hashtag1","hashtag2"]},{"1351435823":["hashtag1","hashtag2"]},{"1351435855":["hashtag1","hashtag2"]},{"1351435756":["hashtag1","hashtag2"]},{"1351435801":["hashtag1","hashtag2"]},{"1351435819":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351435827, 1351435823, 1351435855, 1351435756, 1351435801, 1351435819)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.97087240219116 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 03:48:32.979096
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/19/55/image_06042025_19_55_56_9381.jpg', '/home/pi/Desktop/images/06042025/19/55/image_06042025_19_56_06_10405.jpg', '/home/pi/Desktop/images/06042025/19/56/image_06042025_19_56_15_9363.jpg', '/home/pi/Desktop/images/06042025/19/56/image_06042025_19_56_26_10350.jpg', '/home/pi/Desktop/images/06042025/19/56/image_06042025_19_56_36_10426.jpg', '/home/pi/Desktop/images/06042025/19/56/image_06042025_19_56_46_9372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/19/55/image_06042025_19_55_56_9381.jpg
/home/pi/Desktop/images/06042025/19/55/image_06042025_19_56_06_10405.jpg
/home/pi/Desktop/images/06042025/19/56/image_06042025_19_56_15_9363.jpg
/home/pi/Desktop/images/06042025/19/56/image_06042025_19_56_26_10350.jpg
/home/pi/Desktop/images/06042025/19/56/image_06042025_19_56_36_10426.jpg
/home/pi/Desktop/images/06042025/19/56/image_06042025_19_56_46_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":["1351436103","1351436084","1351436050","1351436167","1351436068","1351436136"],"photo_ids_order":["1351436050","1351436068","1351436084","1351436103","1351436136","1351436167"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/930f71dcff9cb4abf4390cf10d8697c6.jpg","text":"TemporaryFile(/tmp/multipartBody5740128154317646076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744336174663,"filename":"image_06042025_19_56_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/11/309b9cb827cafa8e67394f48c821a66b.jpg","text":"TemporaryFile(/tmp/multipartBody8258329998548977024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744336174663,"filename":"image_06042025_19_56_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/11/ded3ed0eeb2c89d3c1b54bf3859127aa.jpg","text":"TemporaryFile(/tmp/multipartBody5543156958240732072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744336174663,"filename":"image_06042025_19_55_56_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c61a4fc0b1ca912213e5b81ded1100c2.jpg","text":"TemporaryFile(/tmp/multipartBody8156838081257969875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744336174663,"filename":"image_06042025_19_56_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/11/b95bf78b3da243816de8563716798c95.jpg","text":"TemporaryFile(/tmp/multipartBody2027717919276197423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744336174663,"filename":"image_06042025_19_56_06_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/aaf6cbbacaf451d6ba9663bb7372f218.jpg","text":"TemporaryFile(/tmp/multipartBody6786243664030390918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744336174663,"filename":"image_06042025_19_56_36_10426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351436084","file1":"1351436068","file0":"1351436050","file4":"1351436136","file5":"1351436167","file3":"1351436103"},"map_files_photo_id_array":[{"photo_id":"1351436167","filename":"file5"},{"photo_id":"1351436084","filename":"file2"},{"photo_id":"1351436136","filename":"file4"},{"photo_id":"1351436068","filename":"file1"},{"photo_id":"1351436050","filename":"file0"},{"photo_id":"1351436103","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351436103":["hashtag1","hashtag2"]},{"1351436084":["hashtag1","hashtag2"]},{"1351436050":["hashtag1","hashtag2"]},{"1351436167":["hashtag1","hashtag2"]},{"1351436068":["hashtag1","hashtag2"]},{"1351436136":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351436103, 1351436084, 1351436050, 1351436167, 1351436068, 1351436136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.89756631851196 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 03:49:33.052540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/19/56/image_06042025_19_56_56_10363.jpg', '/home/pi/Desktop/images/06042025/19/56/image_06042025_19_57_06_10360.jpg', '/home/pi/Desktop/images/06042025/19/57/image_06042025_19_57_16_9348.jpg', '/home/pi/Desktop/images/06042025/19/57/image_06042025_19_57_26_10361.jpg', '/home/pi/Desktop/images/06042025/19/57/image_06042025_19_57_35_9356.jpg', '/home/pi/Desktop/images/06042025/19/57/image_06042025_19_57_46_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/19/56/image_06042025_19_56_56_10363.jpg
/home/pi/Desktop/images/06042025/19/56/image_06042025_19_57_06_10360.jpg
/home/pi/Desktop/images/06042025/19/57/image_06042025_19_57_16_9348.jpg
/home/pi/Desktop/images/06042025/19/57/image_06042025_19_57_26_10361.jpg
/home/pi/Desktop/images/06042025/19/57/image_06042025_19_57_35_9356.jpg
/home/pi/Desktop/images/06042025/19/57/image_06042025_19_57_46_10414.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351436259","1351436307","1351436339","1351436312","1351436281","1351436367"],"photo_ids_order":["1351436259","1351436281","1351436307","1351436312","1351436339","1351436367"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ca5b02c0a97a994cfb5ac00a9b7b308f.jpg","text":"TemporaryFile(/tmp/multipartBody3400314887035054374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744336234755,"filename":"image_06042025_19_56_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/11/d298c57b30c9295a4177bcc784ffdb7d.jpg","text":"TemporaryFile(/tmp/multipartBody8655634028925127392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744336234755,"filename":"image_06042025_19_57_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/11/9edc589ba57b8c2b1a5c9df6f583bfd6.jpg","text":"TemporaryFile(/tmp/multipartBody6759179457626125341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744336234755,"filename":"image_06042025_19_57_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/11/29b60ac599e0d553c9ead10b688ba4bf.jpg","text":"TemporaryFile(/tmp/multipartBody4310344204850561812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744336234755,"filename":"image_06042025_19_57_26_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f6bfb24e128e8f159d6097fa80b43986.jpg","text":"TemporaryFile(/tmp/multipartBody4511677768097413194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744336234755,"filename":"image_06042025_19_57_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/11/5fb7d104a67e19e753fcbb30e97b3781.jpg","text":"TemporaryFile(/tmp/multipartBody9105064782709382097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744336234755,"filename":"image_06042025_19_57_46_10414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351436307","file1":"1351436281","file0":"1351436259","file4":"1351436339","file5":"1351436367","file3":"1351436312"},"map_files_photo_id_array":[{"photo_id":"1351436367","filename":"file5"},{"photo_id":"1351436307","filename":"file2"},{"photo_id":"1351436339","filename":"file4"},{"photo_id":"1351436281","filename":"file1"},{"photo_id":"1351436259","filename":"file0"},{"photo_id":"1351436312","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351436259":["hashtag1","hashtag2"]},{"1351436307":["hashtag1","hashtag2"]},{"1351436339":["hashtag1","hashtag2"]},{"1351436312":["hashtag1","hashtag2"]},{"1351436281":["hashtag1","hashtag2"]},{"1351436367":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351436259, 1351436307, 1351436339, 1351436312, 1351436281, 1351436367)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.983453035354614 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 03:50:32.199415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/19/57/image_06042025_19_57_56_10485.jpg', '/home/pi/Desktop/images/06042025/19/57/image_06042025_19_58_06_9350.jpg', '/home/pi/Desktop/images/06042025/19/58/image_06042025_19_58_16_10378.jpg', '/home/pi/Desktop/images/06042025/19/58/image_06042025_19_58_25_9340.jpg', '/home/pi/Desktop/images/06042025/19/58/image_06042025_19_58_36_10417.jpg', '/home/pi/Desktop/images/06042025/19/58/image_06042025_19_58_46_10345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/19/57/image_06042025_19_57_56_10485.jpg
/home/pi/Desktop/images/06042025/19/57/image_06042025_19_58_06_9350.jpg
/home/pi/Desktop/images/06042025/19/58/image_06042025_19_58_16_10378.jpg
/home/pi/Desktop/images/06042025/19/58/image_06042025_19_58_25_9340.jpg
/home/pi/Desktop/images/06042025/19/58/image_06042025_19_58_36_10417.jpg
/home/pi/Desktop/images/06042025/19/58/image_06042025_19_58_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":["1351436543","1351436603","1351436600","1351436592","1351436577","1351436532"],"photo_ids_order":["1351436532","1351436543","1351436577","1351436592","1351436600","1351436603"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c3dd9b4c0e677cda4bf27a41147d311f.jpg","text":"TemporaryFile(/tmp/multipartBody6578591349156497859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744336293880,"filename":"image_06042025_19_58_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/11/71d133f81eeb2dc77ccd367531c780d0.jpg","text":"TemporaryFile(/tmp/multipartBody6557694481420353103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744336293880,"filename":"image_06042025_19_58_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/11/dbcbb75e1a54290846151ce391755095.jpg","text":"TemporaryFile(/tmp/multipartBody1299455292938483133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744336293880,"filename":"image_06042025_19_58_36_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3888510bce9f467f1f6400b8d0b0ef58.jpg","text":"TemporaryFile(/tmp/multipartBody56741413658350126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744336293880,"filename":"image_06042025_19_58_25_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/612c007e293ca382ef561727d3284018.jpg","text":"TemporaryFile(/tmp/multipartBody8333918984054009377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744336293880,"filename":"image_06042025_19_58_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/11/e48ebe52ae661380c934aca50e6a1948.jpg","text":"TemporaryFile(/tmp/multipartBody8943071588129186345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744336293880,"filename":"image_06042025_19_57_56_10485.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351436577","file1":"1351436543","file0":"1351436532","file4":"1351436600","file5":"1351436603","file3":"1351436592"},"map_files_photo_id_array":[{"photo_id":"1351436603","filename":"file5"},{"photo_id":"1351436577","filename":"file2"},{"photo_id":"1351436600","filename":"file4"},{"photo_id":"1351436543","filename":"file1"},{"photo_id":"1351436532","filename":"file0"},{"photo_id":"1351436592","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351436543":["hashtag1","hashtag2"]},{"1351436603":["hashtag1","hashtag2"]},{"1351436600":["hashtag1","hashtag2"]},{"1351436592":["hashtag1","hashtag2"]},{"1351436577":["hashtag1","hashtag2"]},{"1351436532":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351436543, 1351436603, 1351436600, 1351436592, 1351436577, 1351436532)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.972665548324585 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 03:51:32.420093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/19/58/image_06042025_19_58_55_9434.jpg', '/home/pi/Desktop/images/06042025/19/58/image_06042025_19_59_06_10450.jpg', '/home/pi/Desktop/images/06042025/19/59/image_06042025_19_59_15_9455.jpg', '/home/pi/Desktop/images/06042025/19/59/image_06042025_19_59_26_10420.jpg', '/home/pi/Desktop/images/06042025/19/59/image_06042025_19_59_36_10422.jpg', '/home/pi/Desktop/images/06042025/19/59/image_06042025_19_59_46_9370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/19/58/image_06042025_19_58_55_9434.jpg
/home/pi/Desktop/images/06042025/19/58/image_06042025_19_59_06_10450.jpg
/home/pi/Desktop/images/06042025/19/59/image_06042025_19_59_15_9455.jpg
/home/pi/Desktop/images/06042025/19/59/image_06042025_19_59_26_10420.jpg
/home/pi/Desktop/images/06042025/19/59/image_06042025_19_59_36_10422.jpg
/home/pi/Desktop/images/06042025/19/59/image_06042025_19_59_46_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":["1351436727","1351436744","1351436723","1351436746","1351436740","1351436736"],"photo_ids_order":["1351436723","1351436727","1351436736","1351436740","1351436744","1351436746"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/487d926a0d74871da96c1b8469587be5.jpg","text":"TemporaryFile(/tmp/multipartBody5091928142416567152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744336354111,"filename":"image_06042025_19_59_06_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/11/832c440bacc8649fb42730dcbc133c2a.jpg","text":"TemporaryFile(/tmp/multipartBody557782422947925613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744336354111,"filename":"image_06042025_19_59_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/11/7d20eb6f1445b4e8656675634017620b.jpg","text":"TemporaryFile(/tmp/multipartBody8818690318819517825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744336354111,"filename":"image_06042025_19_58_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/11/1cd46e3efe080021d3452cad63ab7260.jpg","text":"TemporaryFile(/tmp/multipartBody174010419804195482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744336354111,"filename":"image_06042025_19_59_46_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a6c6f3824373ceb4ee4090d1fe04bb11.jpg","text":"TemporaryFile(/tmp/multipartBody903419960035544015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744336354111,"filename":"image_06042025_19_59_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/11/95fe13645e12f0506ad0414c435e23c4.jpg","text":"TemporaryFile(/tmp/multipartBody7225833023576276585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744336354111,"filename":"image_06042025_19_59_15_9455.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351436736","file1":"1351436727","file0":"1351436723","file4":"1351436744","file5":"1351436746","file3":"1351436740"},"map_files_photo_id_array":[{"photo_id":"1351436746","filename":"file5"},{"photo_id":"1351436736","filename":"file2"},{"photo_id":"1351436744","filename":"file4"},{"photo_id":"1351436727","filename":"file1"},{"photo_id":"1351436723","filename":"file0"},{"photo_id":"1351436740","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351436727":["hashtag1","hashtag2"]},{"1351436744":["hashtag1","hashtag2"]},{"1351436723":["hashtag1","hashtag2"]},{"1351436746":["hashtag1","hashtag2"]},{"1351436740":["hashtag1","hashtag2"]},{"1351436736":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351436727, 1351436744, 1351436723, 1351436746, 1351436740, 1351436736)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.570990562438965 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 03:52:32.681512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/19/59/image_06042025_19_59_56_10425.jpg', '/home/pi/Desktop/images/06042025/20/00/image_06042025_20_00_15_10075.jpg', '/home/pi/Desktop/images/06042025/20/00/image_06042025_20_00_26_10382.jpg', '/home/pi/Desktop/images/06042025/20/00/image_06042025_20_00_36_10500.jpg', '/home/pi/Desktop/images/06042025/20/00/image_06042025_20_00_46_9438.jpg', '/home/pi/Desktop/images/06042025/20/00/image_06042025_20_00_56_10419.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/19/59/image_06042025_19_59_56_10425.jpg
/home/pi/Desktop/images/06042025/20/00/image_06042025_20_00_15_10075.jpg
/home/pi/Desktop/images/06042025/20/00/image_06042025_20_00_26_10382.jpg
/home/pi/Desktop/images/06042025/20/00/image_06042025_20_00_36_10500.jpg
/home/pi/Desktop/images/06042025/20/00/image_06042025_20_00_46_9438.jpg
/home/pi/Desktop/images/06042025/20/00/image_06042025_20_00_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":["1351436931","1351436910","1351436928","1351436933","1351436915","1351436920"],"photo_ids_order":["1351436910","1351436915","1351436920","1351436928","1351436931","1351436933"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/cfadadfd9c4cc777451ea2bf8c733285.jpg","text":"TemporaryFile(/tmp/multipartBody2803602392434125191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744336414363,"filename":"image_06042025_20_00_46_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/901b4f4fbda070abcd9734e062e52269.jpg","text":"TemporaryFile(/tmp/multipartBody1430455076757807093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744336414363,"filename":"image_06042025_19_59_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/11/65b94e745c9032907832840fcd3a5f7e.jpg","text":"TemporaryFile(/tmp/multipartBody3907756277739643994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744336414363,"filename":"image_06042025_20_00_36_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/11/b84f90d9c2fe52f716a3992177128a3b.jpg","text":"TemporaryFile(/tmp/multipartBody9159455417735076585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744336414363,"filename":"image_06042025_20_00_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/11/dff9bd6b184650155822d411af29f4fe.jpg","text":"TemporaryFile(/tmp/multipartBody3734844562949469857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744336414363,"filename":"image_06042025_20_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/11/d18f63cf92b223c57d08eb902a60ef08.jpg","text":"TemporaryFile(/tmp/multipartBody914161008264498931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744336414363,"filename":"image_06042025_20_00_26_10382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351436920","file1":"1351436915","file0":"1351436910","file4":"1351436931","file5":"1351436933","file3":"1351436928"},"map_files_photo_id_array":[{"photo_id":"1351436933","filename":"file5"},{"photo_id":"1351436920","filename":"file2"},{"photo_id":"1351436931","filename":"file4"},{"photo_id":"1351436915","filename":"file1"},{"photo_id":"1351436910","filename":"file0"},{"photo_id":"1351436928","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351436931":["hashtag1","hashtag2"]},{"1351436910":["hashtag1","hashtag2"]},{"1351436928":["hashtag1","hashtag2"]},{"1351436933":["hashtag1","hashtag2"]},{"1351436915":["hashtag1","hashtag2"]},{"1351436920":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351436931, 1351436910, 1351436928, 1351436933, 1351436915, 1351436920)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.63052988052368 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 03:53:32.969617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/20/00/image_06042025_20_01_05_9419.jpg', '/home/pi/Desktop/images/06042025/20/01/image_06042025_20_01_25_9434.jpg', '/home/pi/Desktop/images/06042025/20/01/image_06042025_20_01_36_10372.jpg', '/home/pi/Desktop/images/06042025/20/01/image_06042025_20_01_46_10352.jpg', '/home/pi/Desktop/images/06042025/20/01/image_06042025_20_01_55_9368.jpg', '/home/pi/Desktop/images/06042025/20/01/image_06042025_20_02_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/20/00/image_06042025_20_01_05_9419.jpg
/home/pi/Desktop/images/06042025/20/01/image_06042025_20_01_25_9434.jpg
/home/pi/Desktop/images/06042025/20/01/image_06042025_20_01_36_10372.jpg
/home/pi/Desktop/images/06042025/20/01/image_06042025_20_01_46_10352.jpg
/home/pi/Desktop/images/06042025/20/01/image_06042025_20_01_55_9368.jpg
/home/pi/Desktop/images/06042025/20/01/image_06042025_20_02_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":["1351436972","1351436968","1351436979","1351436982","1351436964","1351436958"],"photo_ids_order":["1351436958","1351436964","1351436968","1351436972","1351436979","1351436982"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ba2f274277e050c09a1d5e90fd0093c4.jpg","text":"TemporaryFile(/tmp/multipartBody279436931207163063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744336474648,"filename":"image_06042025_20_01_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/11/2a5cc7a3399af768ac5f25ec77ca9e66.jpg","text":"TemporaryFile(/tmp/multipartBody165122750140016209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744336474648,"filename":"image_06042025_20_01_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/11/5c79b1860cf2b6266f20f5159e35de38.jpg","text":"TemporaryFile(/tmp/multipartBody926771517396793149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744336474648,"filename":"image_06042025_20_01_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/11/f2dd4d6f2dba37de091d699e2880e74d.jpg","text":"TemporaryFile(/tmp/multipartBody2443118789664559462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744336474648,"filename":"image_06042025_20_02_06_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9fa7448401ee601f2a6cf25df6d40cc2.jpg","text":"TemporaryFile(/tmp/multipartBody4015109691095896092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744336474648,"filename":"image_06042025_20_01_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/11/98724fa6c001f58709357e139e508344.jpg","text":"TemporaryFile(/tmp/multipartBody3095060449306274081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744336474648,"filename":"image_06042025_20_01_05_9419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351436968","file1":"1351436964","file0":"1351436958","file4":"1351436979","file5":"1351436982","file3":"1351436972"},"map_files_photo_id_array":[{"photo_id":"1351436982","filename":"file5"},{"photo_id":"1351436968","filename":"file2"},{"photo_id":"1351436979","filename":"file4"},{"photo_id":"1351436964","filename":"file1"},{"photo_id":"1351436958","filename":"file0"},{"photo_id":"1351436972","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351436972":["hashtag1","hashtag2"]},{"1351436968":["hashtag1","hashtag2"]},{"1351436979":["hashtag1","hashtag2"]},{"1351436982":["hashtag1","hashtag2"]},{"1351436964":["hashtag1","hashtag2"]},{"1351436958":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351436972, 1351436968, 1351436979, 1351436982, 1351436964, 1351436958)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.55355381965637 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 03:54:33.067555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/20/02/image_06042025_20_02_16_10465.jpg', '/home/pi/Desktop/images/06042025/20/02/image_06042025_20_02_26_9412.jpg', '/home/pi/Desktop/images/06042025/20/02/image_06042025_20_02_36_10448.jpg', '/home/pi/Desktop/images/06042025/20/02/image_06042025_20_02_45_9414.jpg', '/home/pi/Desktop/images/06042025/20/02/image_06042025_20_02_56_10359.jpg', '/home/pi/Desktop/images/06042025/20/02/image_06042025_20_03_06_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/20/02/image_06042025_20_02_16_10465.jpg
/home/pi/Desktop/images/06042025/20/02/image_06042025_20_02_26_9412.jpg
/home/pi/Desktop/images/06042025/20/02/image_06042025_20_02_36_10448.jpg
/home/pi/Desktop/images/06042025/20/02/image_06042025_20_02_45_9414.jpg
/home/pi/Desktop/images/06042025/20/02/image_06042025_20_02_56_10359.jpg
/home/pi/Desktop/images/06042025/20/02/image_06042025_20_03_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":["1351437035","1351436998","1351437007","1351436994","1351437003","1351437012"],"photo_ids_order":["1351436994","1351436998","1351437003","1351437007","1351437012","1351437035"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5e2d8cc74c5afee68dd22976215f052b.jpg","text":"TemporaryFile(/tmp/multipartBody1992760525820732829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744336534759,"filename":"image_06042025_20_03_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/11/b98c89a1669b7601ad2f4ad2aa7c299b.jpg","text":"TemporaryFile(/tmp/multipartBody2901623769333422824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744336534759,"filename":"image_06042025_20_02_26_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4a37b8c2741a1918e0e3c32938c1cace.jpg","text":"TemporaryFile(/tmp/multipartBody7678958087736601659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744336534759,"filename":"image_06042025_20_02_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/11/af42b31f70dfa90756d24823b82232c8.jpg","text":"TemporaryFile(/tmp/multipartBody8696113824109285097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744336534759,"filename":"image_06042025_20_02_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/11/0a89911d3989699e70d6126e6a8b9e88.jpg","text":"TemporaryFile(/tmp/multipartBody6978197369349759501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744336534759,"filename":"image_06042025_20_02_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/11/b2119584a84ede0b72e193eee758fa9c.jpg","text":"TemporaryFile(/tmp/multipartBody5021883826991508013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744336534759,"filename":"image_06042025_20_02_56_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351437003","file1":"1351436998","file0":"1351436994","file4":"1351437012","file5":"1351437035","file3":"1351437007"},"map_files_photo_id_array":[{"photo_id":"1351437035","filename":"file5"},{"photo_id":"1351437003","filename":"file2"},{"photo_id":"1351437012","filename":"file4"},{"photo_id":"1351436998","filename":"file1"},{"photo_id":"1351436994","filename":"file0"},{"photo_id":"1351437007","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351437035":["hashtag1","hashtag2"]},{"1351436998":["hashtag1","hashtag2"]},{"1351437007":["hashtag1","hashtag2"]},{"1351436994":["hashtag1","hashtag2"]},{"1351437003":["hashtag1","hashtag2"]},{"1351437012":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351437035, 1351436998, 1351437007, 1351436994, 1351437003, 1351437012)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.24645447731018 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 03:55:32.229856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/20/03/image_06042025_20_03_16_9513.jpg', '/home/pi/Desktop/images/06042025/20/03/image_06042025_20_03_26_10489.jpg', '/home/pi/Desktop/images/06042025/20/03/image_06042025_20_03_36_9390.jpg', '/home/pi/Desktop/images/06042025/20/03/image_06042025_20_03_46_10418.jpg', '/home/pi/Desktop/images/06042025/20/03/image_06042025_20_03_55_9386.jpg', '/home/pi/Desktop/images/06042025/20/03/image_06042025_20_04_06_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/20/03/image_06042025_20_03_16_9513.jpg
/home/pi/Desktop/images/06042025/20/03/image_06042025_20_03_26_10489.jpg
/home/pi/Desktop/images/06042025/20/03/image_06042025_20_03_36_9390.jpg
/home/pi/Desktop/images/06042025/20/03/image_06042025_20_03_46_10418.jpg
/home/pi/Desktop/images/06042025/20/03/image_06042025_20_03_55_9386.jpg
/home/pi/Desktop/images/06042025/20/03/image_06042025_20_04_06_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":["1351437098","1351437086","1351437097","1351437092","1351437095","1351437089"],"photo_ids_order":["1351437086","1351437089","1351437092","1351437095","1351437097","1351437098"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7c49e2e756864ea6db908bfca9c65727.jpg","text":"TemporaryFile(/tmp/multipartBody5938799744982611607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744336593923,"filename":"image_06042025_20_04_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/11/06399dc039d28af63ca0fea2d2b59210.jpg","text":"TemporaryFile(/tmp/multipartBody6693318478621286217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744336593923,"filename":"image_06042025_20_03_16_9513.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6d9697e2982c81fa55a1824b45a317d6.jpg","text":"TemporaryFile(/tmp/multipartBody5348695894850995903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744336593923,"filename":"image_06042025_20_03_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/11/8383b1c5a6e8435711bb1d038b37b587.jpg","text":"TemporaryFile(/tmp/multipartBody6542729103150504848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744336593923,"filename":"image_06042025_20_03_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/11/e7aa672a037f423e2c06830d3028e06f.jpg","text":"TemporaryFile(/tmp/multipartBody1475481309566748206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744336593923,"filename":"image_06042025_20_03_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/11/74d6df8b75a23729ae19dffebf75098d.jpg","text":"TemporaryFile(/tmp/multipartBody2190063508255060200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744336593923,"filename":"image_06042025_20_03_26_10489.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351437092","file1":"1351437089","file0":"1351437086","file4":"1351437097","file5":"1351437098","file3":"1351437095"},"map_files_photo_id_array":[{"photo_id":"1351437098","filename":"file5"},{"photo_id":"1351437092","filename":"file2"},{"photo_id":"1351437097","filename":"file4"},{"photo_id":"1351437089","filename":"file1"},{"photo_id":"1351437086","filename":"file0"},{"photo_id":"1351437095","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351437098":["hashtag1","hashtag2"]},{"1351437086":["hashtag1","hashtag2"]},{"1351437097":["hashtag1","hashtag2"]},{"1351437092":["hashtag1","hashtag2"]},{"1351437095":["hashtag1","hashtag2"]},{"1351437089":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351437098, 1351437086, 1351437097, 1351437092, 1351437095, 1351437089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.74720883369446 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 03:56:32.429681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/20/04/image_06042025_20_04_15_9410.jpg', '/home/pi/Desktop/images/06042025/20/04/image_06042025_20_04_26_10443.jpg', '/home/pi/Desktop/images/06042025/20/04/image_06042025_20_04_36_10428.jpg', '/home/pi/Desktop/images/06042025/20/04/image_06042025_20_04_46_9418.jpg', '/home/pi/Desktop/images/06042025/20/04/image_06042025_20_04_56_10358.jpg', '/home/pi/Desktop/images/06042025/20/04/image_06042025_20_05_05_9511.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2727255&datou=0
/home/pi/Desktop/images/06042025/20/04/image_06042025_20_04_15_9410.jpg
/home/pi/Desktop/images/06042025/20/04/image_06042025_20_04_26_10443.jpg
/home/pi/Desktop/images/06042025/20/04/image_06042025_20_04_36_10428.jpg
/home/pi/Desktop/images/06042025/20/04/image_06042025_20_04_46_9418.jpg
/home/pi/Desktop/images/06042025/20/04/image_06042025_20_04_56_10358.jpg
/home/pi/Desktop/images/06042025/20/04/image_06042025_20_05_05_9511.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351437119","1351437113","1351437116","1351437121","1351437123","1351437126"],"photo_ids_order":["1351437113","1351437116","1351437119","1351437121","1351437123","1351437126"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c391e8b8088f795d36c530f458c795d5.jpg","text":"TemporaryFile(/tmp/multipartBody3330819616846205902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744336654111,"filename":"image_06042025_20_04_36_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/57ab0cba606db0daea7a3b2756dbd858.jpg","text":"TemporaryFile(/tmp/multipartBody3970489145520208719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744336654111,"filename":"image_06042025_20_04_15_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/892e0cd6bea1a5e370038507cecda045.jpg","text":"TemporaryFile(/tmp/multipartBody9151786585057806870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744336654111,"filename":"image_06042025_20_04_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/11/0e0b5626109d901a60fc4c1eb6a8c845.jpg","text":"TemporaryFile(/tmp/multipartBody5720830670257283154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744336654111,"filename":"image_06042025_20_04_46_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e6e2e030b6d2ad8aff5018cb1e7e02ff.jpg","text":"TemporaryFile(/tmp/multipartBody1539994004187627634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744336654111,"filename":"image_06042025_20_04_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/11/bbdbb0c4e4dc929b08d083fae3466d09.jpg","text":"TemporaryFile(/tmp/multipartBody2962527439734565682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744336654111,"filename":"image_06042025_20_05_05_9511.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351437119","file1":"1351437116","file0":"1351437113","file4":"1351437123","file5":"1351437126","file3":"1351437121"},"map_files_photo_id_array":[{"photo_id":"1351437126","filename":"file5"},{"photo_id":"1351437119","filename":"file2"},{"photo_id":"1351437123","filename":"file4"},{"photo_id":"1351437116","filename":"file1"},{"photo_id":"1351437113","filename":"file0"},{"photo_id":"1351437121","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351437119":["hashtag1","hashtag2"]},{"1351437113":["hashtag1","hashtag2"]},{"1351437116":["hashtag1","hashtag2"]},{"1351437121":["hashtag1","hashtag2"]},{"1351437123":["hashtag1","hashtag2"]},{"1351437126":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351437119, 1351437113, 1351437116, 1351437121, 1351437123, 1351437126)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.876890897750854 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 03:57:32.675824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/20/05/image_06042025_20_05_16_10433.jpg', '/home/pi/Desktop/images/06042025/20/05/image_06042025_20_05_25_9414.jpg', '/home/pi/Desktop/images/06042025/20/05/image_06042025_20_05_36_10369.jpg', '/home/pi/Desktop/images/06042025/20/05/image_06042025_20_05_46_10340.jpg', '/home/pi/Desktop/images/06042025/20/05/image_06042025_20_05_55_9369.jpg', '/home/pi/Desktop/images/06042025/20/06/image_06042025_20_06_16_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/20/05/image_06042025_20_05_16_10433.jpg
/home/pi/Desktop/images/06042025/20/05/image_06042025_20_05_25_9414.jpg
/home/pi/Desktop/images/06042025/20/05/image_06042025_20_05_36_10369.jpg
/home/pi/Desktop/images/06042025/20/05/image_06042025_20_05_46_10340.jpg
/home/pi/Desktop/images/06042025/20/05/image_06042025_20_05_55_9369.jpg
/home/pi/Desktop/images/06042025/20/06/image_06042025_20_06_16_10352.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-11 03:59:04.103073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_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/20/05/image_06042025_20_05_16_10433.jpg', '/home/pi/Desktop/images/06042025/20/05/image_06042025_20_05_25_9414.jpg', '/home/pi/Desktop/images/06042025/20/05/image_06042025_20_05_36_10369.jpg', '/home/pi/Desktop/images/06042025/20/05/image_06042025_20_05_46_10340.jpg', '/home/pi/Desktop/images/06042025/20/05/image_06042025_20_05_55_9369.jpg', '/home/pi/Desktop/images/06042025/20/06/image_06042025_20_06_16_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/20/05/image_06042025_20_05_16_10433.jpg
/home/pi/Desktop/images/06042025/20/05/image_06042025_20_05_25_9414.jpg
/home/pi/Desktop/images/06042025/20/05/image_06042025_20_05_36_10369.jpg
/home/pi/Desktop/images/06042025/20/05/image_06042025_20_05_46_10340.jpg
/home/pi/Desktop/images/06042025/20/05/image_06042025_20_05_55_9369.jpg
/home/pi/Desktop/images/06042025/20/06/image_06042025_20_06_16_10352.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351437473","1351437458","1351437428","1351437463","1351437468","1351437477"],"photo_ids_order":["1351437428","1351437458","1351437463","1351437468","1351437473","1351437477"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d29cd6fbbea79afed31ecafb35ffa72c.jpg","text":"TemporaryFile(/tmp/multipartBody8150919415942053238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744336805020,"filename":"image_06042025_20_05_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/11/1356554097c3c2ec363ab1d7785c1703.jpg","text":"TemporaryFile(/tmp/multipartBody9134021397544561827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744336805020,"filename":"image_06042025_20_05_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/11/48f25fb7dc938d7d9cca9c87720f8c5c.jpg","text":"TemporaryFile(/tmp/multipartBody5089306327424622850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744336805020,"filename":"image_06042025_20_05_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/11/16c024b2f7b54fa5f646a947a4543fcf.jpg","text":"TemporaryFile(/tmp/multipartBody4300052198932794708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744336805020,"filename":"image_06042025_20_05_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/11/f1b8b2a7ceb90f698c4991ca73ae6291.jpg","text":"TemporaryFile(/tmp/multipartBody3292380569082509679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744336805020,"filename":"image_06042025_20_05_46_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1b8177282850b6d0a41b525f9a8b100b.jpg","text":"TemporaryFile(/tmp/multipartBody7553845571121254996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744336805020,"filename":"image_06042025_20_06_16_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351437463","file1":"1351437458","file0":"1351437428","file4":"1351437473","file5":"1351437477","file3":"1351437468"},"map_files_photo_id_array":[{"photo_id":"1351437477","filename":"file5"},{"photo_id":"1351437463","filename":"file2"},{"photo_id":"1351437473","filename":"file4"},{"photo_id":"1351437458","filename":"file1"},{"photo_id":"1351437428","filename":"file0"},{"photo_id":"1351437468","filename":"file3"}],"portfolio_id":22083909,"hashtag_by_photo_ids":[{"1351437473":["hashtag1","hashtag2"]},{"1351437458":["hashtag1","hashtag2"]},{"1351437428":["hashtag1","hashtag2"]},{"1351437463":["hashtag1","hashtag2"]},{"1351437468":["hashtag1","hashtag2"]},{"1351437477":["hashtag1","hashtag2"]}],"comms":"Portfolio 22083909 used, photo_id : ArrayBuffer(1351437473, 1351437458, 1351437428, 1351437463, 1351437468, 1351437477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.9171462059021 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 03:59:43.155754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 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_11042025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
{'portfolio_id': 22249849, 'actiontaken': ['Admin Wild Card !', 'Created new portfolio'], 'error': 'Photos id not exist !', 'updated_at': 1744336843000}
4310
2741936
4310
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/00/01/image_11042025_00_01_21_10055.jpg', '/home/pi/Desktop/images/11042025/00/01/image_11042025_00_02_02_10380.jpg', '/home/pi/Desktop/images/11042025/00/02/image_11042025_00_02_11_9388.jpg', '/home/pi/Desktop/images/11042025/00/02/image_11042025_00_02_21_10357.jpg', '/home/pi/Desktop/images/11042025/00/02/image_11042025_00_02_51_10166.jpg', '/home/pi/Desktop/images/11042025/00/02/image_11042025_00_03_01_9409.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/00/01/image_11042025_00_01_21_10055.jpg
/home/pi/Desktop/images/11042025/00/01/image_11042025_00_02_02_10380.jpg
/home/pi/Desktop/images/11042025/00/02/image_11042025_00_02_11_9388.jpg
/home/pi/Desktop/images/11042025/00/02/image_11042025_00_02_21_10357.jpg
/home/pi/Desktop/images/11042025/00/02/image_11042025_00_02_51_10166.jpg
/home/pi/Desktop/images/11042025/00/02/image_11042025_00_03_01_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":["1351437671","1351437638","1351437664","1351437667","1351437666","1351437621"],"photo_ids_order":["1351437621","1351437638","1351437664","1351437666","1351437667","1351437671"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0896701541276dcfc17e1b574abcc238.jpg","text":"TemporaryFile(/tmp/multipartBody473492225886488568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744336844573,"filename":"image_11042025_00_03_01_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/11/5893b402c7fcad79ba3cb5dd9cdc9010.jpg","text":"TemporaryFile(/tmp/multipartBody478277382336080639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744336844573,"filename":"image_11042025_00_02_02_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/11/f1dabc70c1b6849a0e79f2aa5fe3bb2b.jpg","text":"TemporaryFile(/tmp/multipartBody63448439711067364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744336844573,"filename":"image_11042025_00_02_11_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/11/a6f080bf9e04a1ad5803bba799418263.jpg","text":"TemporaryFile(/tmp/multipartBody7131367151590443938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744336844573,"filename":"image_11042025_00_02_51_10166.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1470425780f044093879afda7b611a43.jpg","text":"TemporaryFile(/tmp/multipartBody6818281144117084036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744336844573,"filename":"image_11042025_00_02_21_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/11/f792d9f60687ce9afe66f8e17afbf12d.jpg","text":"TemporaryFile(/tmp/multipartBody695498109294588298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744336844573,"filename":"image_11042025_00_01_21_10055.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351437664","file1":"1351437638","file0":"1351437621","file4":"1351437667","file5":"1351437671","file3":"1351437666"},"map_files_photo_id_array":[{"photo_id":"1351437671","filename":"file5"},{"photo_id":"1351437664","filename":"file2"},{"photo_id":"1351437667","filename":"file4"},{"photo_id":"1351437638","filename":"file1"},{"photo_id":"1351437621","filename":"file0"},{"photo_id":"1351437666","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351437671":["hashtag1","hashtag2"]},{"1351437638":["hashtag1","hashtag2"]},{"1351437664":["hashtag1","hashtag2"]},{"1351437667":["hashtag1","hashtag2"]},{"1351437666":["hashtag1","hashtag2"]},{"1351437621":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351437671, 1351437638, 1351437664, 1351437667, 1351437666, 1351437621)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.41571044921875 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 04:00:32.240307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/00/03/image_11042025_00_03_11_10359.jpg', '/home/pi/Desktop/images/11042025/00/03/image_11042025_00_03_22_10385.jpg', '/home/pi/Desktop/images/11042025/00/03/image_11042025_00_03_31_9425.jpg', '/home/pi/Desktop/images/11042025/00/03/image_11042025_00_03_41_10443.jpg', '/home/pi/Desktop/images/11042025/00/04/image_11042025_00_04_21_10354.jpg', '/home/pi/Desktop/images/11042025/00/04/image_11042025_00_04_31_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/00/03/image_11042025_00_03_11_10359.jpg
/home/pi/Desktop/images/11042025/00/03/image_11042025_00_03_22_10385.jpg
/home/pi/Desktop/images/11042025/00/03/image_11042025_00_03_31_9425.jpg
/home/pi/Desktop/images/11042025/00/03/image_11042025_00_03_41_10443.jpg
/home/pi/Desktop/images/11042025/00/04/image_11042025_00_04_21_10354.jpg
/home/pi/Desktop/images/11042025/00/04/image_11042025_00_04_31_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":["1351437713","1351437722","1351437704","1351437718","1351437696","1351437708"],"photo_ids_order":["1351437696","1351437704","1351437708","1351437713","1351437718","1351437722"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/97cd714e475d56ea35a6f7e04adf533c.jpg","text":"TemporaryFile(/tmp/multipartBody3813625979485798333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744336892700,"filename":"image_11042025_00_03_41_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/11/8f6d854bbb0ce6bbce963e2315389103.jpg","text":"TemporaryFile(/tmp/multipartBody4860512326512939548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744336892700,"filename":"image_11042025_00_04_31_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/11/0befe1a5974345cdc1a09d297f2546f9.jpg","text":"TemporaryFile(/tmp/multipartBody1760627106950287861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744336892700,"filename":"image_11042025_00_03_22_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/11/96f4502b8f3f9f6df467828ef1476a9b.jpg","text":"TemporaryFile(/tmp/multipartBody7050503581745408439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744336892700,"filename":"image_11042025_00_04_21_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/11/b28c007042d9a4e60596bbd7b1c6d165.jpg","text":"TemporaryFile(/tmp/multipartBody5114531375751143298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744336892700,"filename":"image_11042025_00_03_11_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/11/6adcd67042df85a271a61289a3252071.jpg","text":"TemporaryFile(/tmp/multipartBody3801472168260704598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744336892700,"filename":"image_11042025_00_03_31_9425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351437708","file1":"1351437704","file0":"1351437696","file4":"1351437718","file5":"1351437722","file3":"1351437713"},"map_files_photo_id_array":[{"photo_id":"1351437722","filename":"file5"},{"photo_id":"1351437708","filename":"file2"},{"photo_id":"1351437718","filename":"file4"},{"photo_id":"1351437704","filename":"file1"},{"photo_id":"1351437696","filename":"file0"},{"photo_id":"1351437713","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351437713":["hashtag1","hashtag2"]},{"1351437722":["hashtag1","hashtag2"]},{"1351437704":["hashtag1","hashtag2"]},{"1351437718":["hashtag1","hashtag2"]},{"1351437696":["hashtag1","hashtag2"]},{"1351437708":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351437713, 1351437722, 1351437704, 1351437718, 1351437696, 1351437708)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.072688817977905 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 04:01:32.471687
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/00/04/image_11042025_00_04_41_9459.jpg', '/home/pi/Desktop/images/11042025/00/04/image_11042025_00_04_51_10329.jpg', '/home/pi/Desktop/images/11042025/00/04/image_11042025_00_05_02_10361.jpg', '/home/pi/Desktop/images/11042025/00/05/image_11042025_00_05_11_9456.jpg', '/home/pi/Desktop/images/11042025/00/05/image_11042025_00_05_21_10355.jpg', '/home/pi/Desktop/images/11042025/00/05/image_11042025_00_05_31_9371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/00/04/image_11042025_00_04_41_9459.jpg
/home/pi/Desktop/images/11042025/00/04/image_11042025_00_04_51_10329.jpg
/home/pi/Desktop/images/11042025/00/04/image_11042025_00_05_02_10361.jpg
/home/pi/Desktop/images/11042025/00/05/image_11042025_00_05_11_9456.jpg
/home/pi/Desktop/images/11042025/00/05/image_11042025_00_05_21_10355.jpg
/home/pi/Desktop/images/11042025/00/05/image_11042025_00_05_31_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.38677000999450684 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 04:01:42.490252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/00/04/image_11042025_00_04_41_9459.jpg', '/home/pi/Desktop/images/11042025/00/04/image_11042025_00_04_51_10329.jpg', '/home/pi/Desktop/images/11042025/00/04/image_11042025_00_05_02_10361.jpg', '/home/pi/Desktop/images/11042025/00/05/image_11042025_00_05_11_9456.jpg', '/home/pi/Desktop/images/11042025/00/05/image_11042025_00_05_21_10355.jpg', '/home/pi/Desktop/images/11042025/00/05/image_11042025_00_05_31_9371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/00/04/image_11042025_00_04_41_9459.jpg
/home/pi/Desktop/images/11042025/00/04/image_11042025_00_04_51_10329.jpg
/home/pi/Desktop/images/11042025/00/04/image_11042025_00_05_02_10361.jpg
/home/pi/Desktop/images/11042025/00/05/image_11042025_00_05_11_9456.jpg
/home/pi/Desktop/images/11042025/00/05/image_11042025_00_05_21_10355.jpg
/home/pi/Desktop/images/11042025/00/05/image_11042025_00_05_31_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":["1351437971","1351437976","1351437904","1351437951","1351437936","1351437974"],"photo_ids_order":["1351437904","1351437936","1351437951","1351437971","1351437974","1351437976"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ec8f6ed417b13af8f3506eb7381a7ff2.jpg","text":"TemporaryFile(/tmp/multipartBody5227183582646102363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744336962953,"filename":"image_11042025_00_05_11_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/11/9098c6559a9991021659faf45fbfb39f.jpg","text":"TemporaryFile(/tmp/multipartBody1217107805155241954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744336962953,"filename":"image_11042025_00_05_31_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/11/6813ad95f8ac47e0500cc23b579220c3.jpg","text":"TemporaryFile(/tmp/multipartBody3121832666608824014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744336962953,"filename":"image_11042025_00_04_41_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/11/06c5234fed3c91cdc2c40933fba921f1.jpg","text":"TemporaryFile(/tmp/multipartBody8866687580933182550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744336962953,"filename":"image_11042025_00_05_02_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/11/c123a79a5f43b0d84ffa5e7142bbe985.jpg","text":"TemporaryFile(/tmp/multipartBody1902240257544988325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744336962953,"filename":"image_11042025_00_04_51_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/11/fd709d3da1552520d0935158467b4396.jpg","text":"TemporaryFile(/tmp/multipartBody5428958356543639055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744336962953,"filename":"image_11042025_00_05_21_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351437951","file1":"1351437936","file0":"1351437904","file4":"1351437974","file5":"1351437976","file3":"1351437971"},"map_files_photo_id_array":[{"photo_id":"1351437976","filename":"file5"},{"photo_id":"1351437951","filename":"file2"},{"photo_id":"1351437974","filename":"file4"},{"photo_id":"1351437936","filename":"file1"},{"photo_id":"1351437904","filename":"file0"},{"photo_id":"1351437971","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351437971":["hashtag1","hashtag2"]},{"1351437976":["hashtag1","hashtag2"]},{"1351437904":["hashtag1","hashtag2"]},{"1351437951":["hashtag1","hashtag2"]},{"1351437936":["hashtag1","hashtag2"]},{"1351437974":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351437971, 1351437976, 1351437904, 1351437951, 1351437936, 1351437974)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.70270776748657 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 04:02:32.718862
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/00/05/image_11042025_00_05_41_10365.jpg', '/home/pi/Desktop/images/11042025/00/05/image_11042025_00_05_51_10354.jpg', '/home/pi/Desktop/images/11042025/00/06/image_11042025_00_06_22_10355.jpg', '/home/pi/Desktop/images/11042025/00/06/image_11042025_00_06_31_9354.jpg', '/home/pi/Desktop/images/11042025/00/06/image_11042025_00_06_41_10454.jpg', '/home/pi/Desktop/images/11042025/00/06/image_11042025_00_06_51_9430.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/00/05/image_11042025_00_05_41_10365.jpg
/home/pi/Desktop/images/11042025/00/05/image_11042025_00_05_51_10354.jpg
/home/pi/Desktop/images/11042025/00/06/image_11042025_00_06_22_10355.jpg
/home/pi/Desktop/images/11042025/00/06/image_11042025_00_06_31_9354.jpg
/home/pi/Desktop/images/11042025/00/06/image_11042025_00_06_41_10454.jpg
/home/pi/Desktop/images/11042025/00/06/image_11042025_00_06_51_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":["1351438004","1351438007","1351437988","1351437996","1351437999","1351437990"],"photo_ids_order":["1351437988","1351437990","1351437996","1351437999","1351438004","1351438007"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e28556d19baf5c1de14ed2228ed53e1d.jpg","text":"TemporaryFile(/tmp/multipartBody6467240014509877155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337013177,"filename":"image_11042025_00_06_41_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/11/d7fc80f152bd6f9ad9e3e900d0c2646d.jpg","text":"TemporaryFile(/tmp/multipartBody7568682262510474493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337013177,"filename":"image_11042025_00_06_51_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/11/21aa2afbfa7fc67ec9cc67e589525d56.jpg","text":"TemporaryFile(/tmp/multipartBody414836372372880727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337013177,"filename":"image_11042025_00_05_41_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/11/1343c1d4a42524ca8657952b9b7a2b43.jpg","text":"TemporaryFile(/tmp/multipartBody2340858635826581091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337013177,"filename":"image_11042025_00_06_22_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/11/48f690d252b795f8d4a944e08dbac159.jpg","text":"TemporaryFile(/tmp/multipartBody2081491704586015807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337013177,"filename":"image_11042025_00_06_31_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/11/2fcef3c981dd2fd4cb25fda6029836fd.jpg","text":"TemporaryFile(/tmp/multipartBody2639026729248815021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337013177,"filename":"image_11042025_00_05_51_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351437996","file1":"1351437990","file0":"1351437988","file4":"1351438004","file5":"1351438007","file3":"1351437999"},"map_files_photo_id_array":[{"photo_id":"1351438007","filename":"file5"},{"photo_id":"1351437996","filename":"file2"},{"photo_id":"1351438004","filename":"file4"},{"photo_id":"1351437990","filename":"file1"},{"photo_id":"1351437988","filename":"file0"},{"photo_id":"1351437999","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351438004":["hashtag1","hashtag2"]},{"1351438007":["hashtag1","hashtag2"]},{"1351437988":["hashtag1","hashtag2"]},{"1351437996":["hashtag1","hashtag2"]},{"1351437999":["hashtag1","hashtag2"]},{"1351437990":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351438004, 1351438007, 1351437988, 1351437996, 1351437999, 1351437990)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.80364441871643 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 04:03:33.049203
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/00/06/image_11042025_00_07_01_10379.jpg', '/home/pi/Desktop/images/11042025/00/07/image_11042025_00_07_12_10435.jpg', '/home/pi/Desktop/images/11042025/00/07/image_11042025_00_07_21_9437.jpg', '/home/pi/Desktop/images/11042025/00/07/image_11042025_00_07_31_10367.jpg', '/home/pi/Desktop/images/11042025/00/07/image_11042025_00_07_41_9397.jpg', '/home/pi/Desktop/images/11042025/00/07/image_11042025_00_07_51_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/00/06/image_11042025_00_07_01_10379.jpg
/home/pi/Desktop/images/11042025/00/07/image_11042025_00_07_12_10435.jpg
/home/pi/Desktop/images/11042025/00/07/image_11042025_00_07_21_9437.jpg
/home/pi/Desktop/images/11042025/00/07/image_11042025_00_07_31_10367.jpg
/home/pi/Desktop/images/11042025/00/07/image_11042025_00_07_41_9397.jpg
/home/pi/Desktop/images/11042025/00/07/image_11042025_00_07_51_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":["1351438205","1351438080","1351438143","1351438110","1351438181","1351438049"],"photo_ids_order":["1351438049","1351438080","1351438110","1351438143","1351438181","1351438205"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e1af194fb5ea8c0a8e92183f8b029d62.jpg","text":"TemporaryFile(/tmp/multipartBody6460411344796246087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337073506,"filename":"image_11042025_00_07_51_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/11/8c44c91c4014d9c81a635b109b4c48a6.jpg","text":"TemporaryFile(/tmp/multipartBody6192327692298057764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337073506,"filename":"image_11042025_00_07_12_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/11/751f5ec75ad9ba6812430f4d99927fe6.jpg","text":"TemporaryFile(/tmp/multipartBody2395466683739346757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337073506,"filename":"image_11042025_00_07_31_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/11/b7c6e12ecc2481e4f6888f4a3fac3056.jpg","text":"TemporaryFile(/tmp/multipartBody144707791516181517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337073506,"filename":"image_11042025_00_07_21_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/11/9d672b9afb1ed646f224e3ccf28aa383.jpg","text":"TemporaryFile(/tmp/multipartBody5235659081202332382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337073506,"filename":"image_11042025_00_07_41_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/11/13561407416b3613169553e564fc7d06.jpg","text":"TemporaryFile(/tmp/multipartBody8919796236125251460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337073506,"filename":"image_11042025_00_07_01_10379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351438110","file1":"1351438080","file0":"1351438049","file4":"1351438181","file5":"1351438205","file3":"1351438143"},"map_files_photo_id_array":[{"photo_id":"1351438205","filename":"file5"},{"photo_id":"1351438110","filename":"file2"},{"photo_id":"1351438181","filename":"file4"},{"photo_id":"1351438080","filename":"file1"},{"photo_id":"1351438049","filename":"file0"},{"photo_id":"1351438143","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351438205":["hashtag1","hashtag2"]},{"1351438080":["hashtag1","hashtag2"]},{"1351438143":["hashtag1","hashtag2"]},{"1351438110":["hashtag1","hashtag2"]},{"1351438181":["hashtag1","hashtag2"]},{"1351438049":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351438205, 1351438080, 1351438143, 1351438110, 1351438181, 1351438049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.417757511138916 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 04:04:32.237029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/00/07/image_11042025_00_08_02_10384.jpg', '/home/pi/Desktop/images/11042025/00/08/image_11042025_00_08_11_9436.jpg', '/home/pi/Desktop/images/11042025/00/08/image_11042025_00_08_21_10366.jpg', '/home/pi/Desktop/images/11042025/00/08/image_11042025_00_08_31_9449.jpg', '/home/pi/Desktop/images/11042025/00/08/image_11042025_00_08_41_10357.jpg', '/home/pi/Desktop/images/11042025/00/08/image_11042025_00_08_52_10382.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/00/07/image_11042025_00_08_02_10384.jpg
/home/pi/Desktop/images/11042025/00/08/image_11042025_00_08_11_9436.jpg
/home/pi/Desktop/images/11042025/00/08/image_11042025_00_08_21_10366.jpg
/home/pi/Desktop/images/11042025/00/08/image_11042025_00_08_31_9449.jpg
/home/pi/Desktop/images/11042025/00/08/image_11042025_00_08_41_10357.jpg
/home/pi/Desktop/images/11042025/00/08/image_11042025_00_08_52_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":["1351438621","1351438708","1351438683","1351438908","1351438769","1351438583"],"photo_ids_order":["1351438583","1351438621","1351438683","1351438708","1351438769","1351438908"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ad349c64a01fbcc651eacafdb0a2a4be.jpg","text":"TemporaryFile(/tmp/multipartBody2230771170711018274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337132693,"filename":"image_11042025_00_08_11_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/11/0b990e25d96c9ad32751db57fde197f8.jpg","text":"TemporaryFile(/tmp/multipartBody5832658768370783298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337132693,"filename":"image_11042025_00_08_31_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/11/bdf100f8cf8a0e4cddeb6cd013c460d0.jpg","text":"TemporaryFile(/tmp/multipartBody6110521043554796238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337132693,"filename":"image_11042025_00_08_21_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/11/f7ce789c5934ee1dc4b0091cd7ba93d2.jpg","text":"TemporaryFile(/tmp/multipartBody1662754492061569389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337132693,"filename":"image_11042025_00_08_52_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/11/3011f71920ea43e759944097735fe8d4.jpg","text":"TemporaryFile(/tmp/multipartBody1887725400562089116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337132693,"filename":"image_11042025_00_08_41_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/11/5ebb39be963ce591bcb316495c1bf9e9.jpg","text":"TemporaryFile(/tmp/multipartBody704168673511479407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337132693,"filename":"image_11042025_00_08_02_10384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351438683","file1":"1351438621","file0":"1351438583","file4":"1351438769","file5":"1351438908","file3":"1351438708"},"map_files_photo_id_array":[{"photo_id":"1351438908","filename":"file5"},{"photo_id":"1351438683","filename":"file2"},{"photo_id":"1351438769","filename":"file4"},{"photo_id":"1351438621","filename":"file1"},{"photo_id":"1351438583","filename":"file0"},{"photo_id":"1351438708","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351438621":["hashtag1","hashtag2"]},{"1351438708":["hashtag1","hashtag2"]},{"1351438683":["hashtag1","hashtag2"]},{"1351438908":["hashtag1","hashtag2"]},{"1351438769":["hashtag1","hashtag2"]},{"1351438583":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351438621, 1351438708, 1351438683, 1351438908, 1351438769, 1351438583)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.94956398010254 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 04:05:32.421632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/00/08/image_11042025_00_09_01_9448.jpg', '/home/pi/Desktop/images/11042025/00/09/image_11042025_00_09_21_9445.jpg', '/home/pi/Desktop/images/11042025/00/09/image_11042025_00_10_01_10369.jpg', '/home/pi/Desktop/images/11042025/00/10/image_11042025_00_10_11_9496.jpg', '/home/pi/Desktop/images/11042025/00/10/image_11042025_00_10_21_10463.jpg', '/home/pi/Desktop/images/11042025/00/10/image_11042025_00_10_32_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/00/08/image_11042025_00_09_01_9448.jpg
/home/pi/Desktop/images/11042025/00/09/image_11042025_00_09_21_9445.jpg
/home/pi/Desktop/images/11042025/00/09/image_11042025_00_10_01_10369.jpg
/home/pi/Desktop/images/11042025/00/10/image_11042025_00_10_11_9496.jpg
/home/pi/Desktop/images/11042025/00/10/image_11042025_00_10_21_10463.jpg
/home/pi/Desktop/images/11042025/00/10/image_11042025_00_10_32_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":["1351439548","1351439685","1351439655","1351439573","1351439633","1351439402"],"photo_ids_order":["1351439402","1351439548","1351439573","1351439633","1351439655","1351439685"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/aa50790e6a86c7ddb1b9db6250b76a94.jpg","text":"TemporaryFile(/tmp/multipartBody5725912595247757109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337192890,"filename":"image_11042025_00_09_21_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/11/8a6e641208660ef2583be42532dd7a13.jpg","text":"TemporaryFile(/tmp/multipartBody8133433417643992481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337192890,"filename":"image_11042025_00_10_32_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/11/23b617b4a8e76aeaf7e3dc0c0c7196ea.jpg","text":"TemporaryFile(/tmp/multipartBody7067796181063147004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337192890,"filename":"image_11042025_00_10_21_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/11/e6f9815ee573bad10ceff4caa7cf93b6.jpg","text":"TemporaryFile(/tmp/multipartBody5345931090222653110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337192890,"filename":"image_11042025_00_10_01_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/11/1bf30b5773dd21fe4852af47ec9010a1.jpg","text":"TemporaryFile(/tmp/multipartBody8942855392241040338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337192890,"filename":"image_11042025_00_10_11_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/11/6c4004346c7fdb262960ba630418300c.jpg","text":"TemporaryFile(/tmp/multipartBody5677228857040925783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337192890,"filename":"image_11042025_00_09_01_9448.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351439573","file1":"1351439548","file0":"1351439402","file4":"1351439655","file5":"1351439685","file3":"1351439633"},"map_files_photo_id_array":[{"photo_id":"1351439685","filename":"file5"},{"photo_id":"1351439573","filename":"file2"},{"photo_id":"1351439655","filename":"file4"},{"photo_id":"1351439548","filename":"file1"},{"photo_id":"1351439402","filename":"file0"},{"photo_id":"1351439633","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351439548":["hashtag1","hashtag2"]},{"1351439685":["hashtag1","hashtag2"]},{"1351439655":["hashtag1","hashtag2"]},{"1351439573":["hashtag1","hashtag2"]},{"1351439633":["hashtag1","hashtag2"]},{"1351439402":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351439548, 1351439685, 1351439655, 1351439573, 1351439633, 1351439402)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.006683588027954 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 04:06:32.653431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/00/10/image_11042025_00_10_41_9420.jpg', '/home/pi/Desktop/images/11042025/00/10/image_11042025_00_10_51_10339.jpg', '/home/pi/Desktop/images/11042025/00/10/image_11042025_00_11_01_9401.jpg', '/home/pi/Desktop/images/11042025/00/11/image_11042025_00_11_22_10339.jpg', '/home/pi/Desktop/images/11042025/00/11/image_11042025_00_11_31_9379.jpg', '/home/pi/Desktop/images/11042025/00/11/image_11042025_00_11_41_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/00/10/image_11042025_00_10_41_9420.jpg
/home/pi/Desktop/images/11042025/00/10/image_11042025_00_10_51_10339.jpg
/home/pi/Desktop/images/11042025/00/10/image_11042025_00_11_01_9401.jpg
/home/pi/Desktop/images/11042025/00/11/image_11042025_00_11_22_10339.jpg
/home/pi/Desktop/images/11042025/00/11/image_11042025_00_11_31_9379.jpg
/home/pi/Desktop/images/11042025/00/11/image_11042025_00_11_41_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":["1351439839","1351439929","1351439952","1351439987","1351439864","1351440009"],"photo_ids_order":["1351439839","1351439864","1351439929","1351439952","1351439987","1351440009"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b0cdccb2db0099fc455916a541426fc9.jpg","text":"TemporaryFile(/tmp/multipartBody8473981324960846881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337253109,"filename":"image_11042025_00_10_41_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/11/3a52388019adcedfd48725b8136b0102.jpg","text":"TemporaryFile(/tmp/multipartBody6780350388230217121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337253109,"filename":"image_11042025_00_11_01_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/11/3823ee30b466441e48eb3f928ea17f09.jpg","text":"TemporaryFile(/tmp/multipartBody1830361055854973858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337253109,"filename":"image_11042025_00_11_22_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/11/bda2c2f73f31aadfa4a618ab7eecdd94.jpg","text":"TemporaryFile(/tmp/multipartBody5685694875454978769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337253109,"filename":"image_11042025_00_11_31_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/11/8e07325907c2ff4cf69cfb20152ce33a.jpg","text":"TemporaryFile(/tmp/multipartBody964174739795515471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337253109,"filename":"image_11042025_00_10_51_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/11/423c1008269d16e37141bcd00d2674d4.jpg","text":"TemporaryFile(/tmp/multipartBody989524016098598364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337253109,"filename":"image_11042025_00_11_41_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351439929","file1":"1351439864","file0":"1351439839","file4":"1351439987","file5":"1351440009","file3":"1351439952"},"map_files_photo_id_array":[{"photo_id":"1351440009","filename":"file5"},{"photo_id":"1351439929","filename":"file2"},{"photo_id":"1351439987","filename":"file4"},{"photo_id":"1351439864","filename":"file1"},{"photo_id":"1351439839","filename":"file0"},{"photo_id":"1351439952","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351439839":["hashtag1","hashtag2"]},{"1351439929":["hashtag1","hashtag2"]},{"1351439952":["hashtag1","hashtag2"]},{"1351439987":["hashtag1","hashtag2"]},{"1351439864":["hashtag1","hashtag2"]},{"1351440009":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351439839, 1351439929, 1351439952, 1351439987, 1351439864, 1351440009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.8167200088501 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 04:07:32.920221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/00/11/image_11042025_00_11_51_9414.jpg', '/home/pi/Desktop/images/11042025/00/11/image_11042025_00_12_01_10352.jpg', '/home/pi/Desktop/images/11042025/00/12/image_11042025_00_12_11_10383.jpg', '/home/pi/Desktop/images/11042025/00/12/image_11042025_00_12_21_9354.jpg', '/home/pi/Desktop/images/11042025/00/12/image_11042025_00_12_31_10353.jpg', '/home/pi/Desktop/images/11042025/00/12/image_11042025_00_12_42_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/00/11/image_11042025_00_11_51_9414.jpg
/home/pi/Desktop/images/11042025/00/11/image_11042025_00_12_01_10352.jpg
/home/pi/Desktop/images/11042025/00/12/image_11042025_00_12_11_10383.jpg
/home/pi/Desktop/images/11042025/00/12/image_11042025_00_12_21_9354.jpg
/home/pi/Desktop/images/11042025/00/12/image_11042025_00_12_31_10353.jpg
/home/pi/Desktop/images/11042025/00/12/image_11042025_00_12_42_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":["1351440286","1351440316","1351440228","1351440201","1351440260","1351440365"],"photo_ids_order":["1351440201","1351440228","1351440260","1351440286","1351440316","1351440365"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/694166e9b5359181ac3b79b950cbd3eb.jpg","text":"TemporaryFile(/tmp/multipartBody2608783061836052153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337313411,"filename":"image_11042025_00_12_21_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/11/de1e8467fba92ab6816fb36e3b8ef110.jpg","text":"TemporaryFile(/tmp/multipartBody7360452451027836942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337313411,"filename":"image_11042025_00_12_31_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/11/053c6691c4154184cf670338809baec1.jpg","text":"TemporaryFile(/tmp/multipartBody1147174402121800976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337313411,"filename":"image_11042025_00_12_01_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/11/5fd116d374fe24a868e07c153f50813a.jpg","text":"TemporaryFile(/tmp/multipartBody1224087630382163607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337313411,"filename":"image_11042025_00_11_51_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/11/9404ffcbad01c28af73e4ceb7bc43070.jpg","text":"TemporaryFile(/tmp/multipartBody6285068648714676134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337313411,"filename":"image_11042025_00_12_11_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/11/1a903804ac831eb4042bee1805c3c600.jpg","text":"TemporaryFile(/tmp/multipartBody6214335874550759658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337313411,"filename":"image_11042025_00_12_42_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351440260","file1":"1351440228","file0":"1351440201","file4":"1351440316","file5":"1351440365","file3":"1351440286"},"map_files_photo_id_array":[{"photo_id":"1351440365","filename":"file5"},{"photo_id":"1351440260","filename":"file2"},{"photo_id":"1351440316","filename":"file4"},{"photo_id":"1351440228","filename":"file1"},{"photo_id":"1351440201","filename":"file0"},{"photo_id":"1351440286","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351440286":["hashtag1","hashtag2"]},{"1351440316":["hashtag1","hashtag2"]},{"1351440228":["hashtag1","hashtag2"]},{"1351440201":["hashtag1","hashtag2"]},{"1351440260":["hashtag1","hashtag2"]},{"1351440365":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351440286, 1351440316, 1351440228, 1351440201, 1351440260, 1351440365)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.02235174179077 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 04:08:33.084102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/00/12/image_11042025_00_12_51_9338.jpg', '/home/pi/Desktop/images/11042025/00/12/image_11042025_00_13_01_10371.jpg', '/home/pi/Desktop/images/11042025/00/13/image_11042025_00_13_11_9459.jpg', '/home/pi/Desktop/images/11042025/00/13/image_11042025_00_13_21_10407.jpg', '/home/pi/Desktop/images/11042025/00/13/image_11042025_00_13_41_9409.jpg', '/home/pi/Desktop/images/11042025/00/13/image_11042025_00_13_51_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/00/12/image_11042025_00_12_51_9338.jpg
/home/pi/Desktop/images/11042025/00/12/image_11042025_00_13_01_10371.jpg
/home/pi/Desktop/images/11042025/00/13/image_11042025_00_13_11_9459.jpg
/home/pi/Desktop/images/11042025/00/13/image_11042025_00_13_21_10407.jpg
/home/pi/Desktop/images/11042025/00/13/image_11042025_00_13_41_9409.jpg
/home/pi/Desktop/images/11042025/00/13/image_11042025_00_13_51_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":["1351440818","1351441092","1351440762","1351440744","1351440986","1351440881"],"photo_ids_order":["1351440744","1351440762","1351440818","1351440881","1351440986","1351441092"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b91a82be8a82050e974b945a91abd664.jpg","text":"TemporaryFile(/tmp/multipartBody9070980477075202988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337373548,"filename":"image_11042025_00_13_11_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/11/7a77d5dec1a84094f1de874eb7eac7dc.jpg","text":"TemporaryFile(/tmp/multipartBody1752907238836505704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337373548,"filename":"image_11042025_00_13_51_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/11/aadeb1f141625994bff776bb5dca4d91.jpg","text":"TemporaryFile(/tmp/multipartBody5411326998924793637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337373548,"filename":"image_11042025_00_13_01_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/11/816dd5fb7e0875a690dc6749c99bd253.jpg","text":"TemporaryFile(/tmp/multipartBody305057179902391232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337373548,"filename":"image_11042025_00_12_51_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/11/5726439300eba8a8dfe785c3fcc06598.jpg","text":"TemporaryFile(/tmp/multipartBody4876337953621144650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337373548,"filename":"image_11042025_00_13_41_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/11/006c08233122c328c46c043f76a8150f.jpg","text":"TemporaryFile(/tmp/multipartBody4593059768187218309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337373548,"filename":"image_11042025_00_13_21_10407.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351440818","file1":"1351440762","file0":"1351440744","file4":"1351440986","file5":"1351441092","file3":"1351440881"},"map_files_photo_id_array":[{"photo_id":"1351441092","filename":"file5"},{"photo_id":"1351440818","filename":"file2"},{"photo_id":"1351440986","filename":"file4"},{"photo_id":"1351440762","filename":"file1"},{"photo_id":"1351440744","filename":"file0"},{"photo_id":"1351440881","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351440818":["hashtag1","hashtag2"]},{"1351441092":["hashtag1","hashtag2"]},{"1351440762":["hashtag1","hashtag2"]},{"1351440744":["hashtag1","hashtag2"]},{"1351440986":["hashtag1","hashtag2"]},{"1351440881":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351440818, 1351441092, 1351440762, 1351440744, 1351440986, 1351440881)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.25615119934082 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 04:09:32.282875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/00/13/image_11042025_00_14_02_10360.jpg', '/home/pi/Desktop/images/11042025/00/14/image_11042025_00_14_11_9359.jpg', '/home/pi/Desktop/images/11042025/00/14/image_11042025_00_14_21_10439.jpg', '/home/pi/Desktop/images/11042025/00/14/image_11042025_00_14_31_9392.jpg', '/home/pi/Desktop/images/11042025/00/14/image_11042025_00_14_41_10391.jpg', '/home/pi/Desktop/images/11042025/00/14/image_11042025_00_15_01_9431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/00/13/image_11042025_00_14_02_10360.jpg
/home/pi/Desktop/images/11042025/00/14/image_11042025_00_14_11_9359.jpg
/home/pi/Desktop/images/11042025/00/14/image_11042025_00_14_21_10439.jpg
/home/pi/Desktop/images/11042025/00/14/image_11042025_00_14_31_9392.jpg
/home/pi/Desktop/images/11042025/00/14/image_11042025_00_14_41_10391.jpg
/home/pi/Desktop/images/11042025/00/14/image_11042025_00_15_01_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":["1351442008","1351441752","1351441548","1351441911","1351441445","1351441826"],"photo_ids_order":["1351441445","1351441548","1351441752","1351441826","1351441911","1351442008"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/44a507588d6b9e877ed31d27e3e5fd4a.jpg","text":"TemporaryFile(/tmp/multipartBody7696540993099197998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337432740,"filename":"image_11042025_00_15_01_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/11/70e563da89dc33b9edca4051c6cc0a07.jpg","text":"TemporaryFile(/tmp/multipartBody6639839912585322795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337432740,"filename":"image_11042025_00_14_21_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/11/6890f2e690d52110e88fd6af181e1f63.jpg","text":"TemporaryFile(/tmp/multipartBody4014146309996337993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337432740,"filename":"image_11042025_00_14_11_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/11/78933e15d7ae4584fb9abd185eb8061f.jpg","text":"TemporaryFile(/tmp/multipartBody952829232944634746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337432740,"filename":"image_11042025_00_14_41_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/11/e2cf714245056c2410b3a945343731d2.jpg","text":"TemporaryFile(/tmp/multipartBody2088117852927858056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337432740,"filename":"image_11042025_00_14_02_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/11/16899da42bdf74a76d8e2b8f894b3414.jpg","text":"TemporaryFile(/tmp/multipartBody8494952847839031430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337432740,"filename":"image_11042025_00_14_31_9392.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351441752","file1":"1351441548","file0":"1351441445","file4":"1351441911","file5":"1351442008","file3":"1351441826"},"map_files_photo_id_array":[{"photo_id":"1351442008","filename":"file5"},{"photo_id":"1351441752","filename":"file2"},{"photo_id":"1351441911","filename":"file4"},{"photo_id":"1351441548","filename":"file1"},{"photo_id":"1351441445","filename":"file0"},{"photo_id":"1351441826","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351442008":["hashtag1","hashtag2"]},{"1351441752":["hashtag1","hashtag2"]},{"1351441548":["hashtag1","hashtag2"]},{"1351441911":["hashtag1","hashtag2"]},{"1351441445":["hashtag1","hashtag2"]},{"1351441826":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351442008, 1351441752, 1351441548, 1351441911, 1351441445, 1351441826)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.92448377609253 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 04:10:33.655770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/00/15/image_11042025_00_15_11_10472.jpg', '/home/pi/Desktop/images/11042025/00/15/image_11042025_00_15_21_9489.jpg', '/home/pi/Desktop/images/11042025/00/15/image_11042025_00_15_31_10403.jpg', '/home/pi/Desktop/images/11042025/00/16/image_11042025_00_16_11_9454.jpg', '/home/pi/Desktop/images/11042025/00/16/image_11042025_00_16_41_10367.jpg', '/home/pi/Desktop/images/11042025/00/16/image_11042025_00_17_01_9358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/00/15/image_11042025_00_15_11_10472.jpg
/home/pi/Desktop/images/11042025/00/15/image_11042025_00_15_21_9489.jpg
/home/pi/Desktop/images/11042025/00/15/image_11042025_00_15_31_10403.jpg
/home/pi/Desktop/images/11042025/00/16/image_11042025_00_16_11_9454.jpg
/home/pi/Desktop/images/11042025/00/16/image_11042025_00_16_41_10367.jpg
/home/pi/Desktop/images/11042025/00/16/image_11042025_00_17_01_9358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351442877","1351442622","1351442942","1351443019","1351442773","1351442674"],"photo_ids_order":["1351442622","1351442674","1351442773","1351442877","1351442942","1351443019"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b888c51b64856bcbae7a444bbfb47aec.jpg","text":"TemporaryFile(/tmp/multipartBody36018850515529438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337494125,"filename":"image_11042025_00_16_11_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/11/3a4607d16d7b5908cbb124e8ba9bc4e0.jpg","text":"TemporaryFile(/tmp/multipartBody1537086442759966576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337494125,"filename":"image_11042025_00_15_11_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/11/bd4b5bb66582661986560ca678226163.jpg","text":"TemporaryFile(/tmp/multipartBody1559828165784367255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337494125,"filename":"image_11042025_00_16_41_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/11/985e30853d4021c8d0d8f985fd87c559.jpg","text":"TemporaryFile(/tmp/multipartBody9158763425883928536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337494125,"filename":"image_11042025_00_17_01_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/11/e0c9ddf71e50ff7da2ecd64a32aaf3d1.jpg","text":"TemporaryFile(/tmp/multipartBody5473930387230122407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337494125,"filename":"image_11042025_00_15_31_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/11/92a2cb5e4aa004484d8c033c7c675501.jpg","text":"TemporaryFile(/tmp/multipartBody4905315543128802738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337494125,"filename":"image_11042025_00_15_21_9489.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351442773","file1":"1351442674","file0":"1351442622","file4":"1351442942","file5":"1351443019","file3":"1351442877"},"map_files_photo_id_array":[{"photo_id":"1351443019","filename":"file5"},{"photo_id":"1351442773","filename":"file2"},{"photo_id":"1351442942","filename":"file4"},{"photo_id":"1351442674","filename":"file1"},{"photo_id":"1351442622","filename":"file0"},{"photo_id":"1351442877","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351442877":["hashtag1","hashtag2"]},{"1351442622":["hashtag1","hashtag2"]},{"1351442942":["hashtag1","hashtag2"]},{"1351443019":["hashtag1","hashtag2"]},{"1351442773":["hashtag1","hashtag2"]},{"1351442674":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351442877, 1351442622, 1351442942, 1351443019, 1351442773, 1351442674)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 143.98913264274597 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 04:13:04.219501
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/00/17/image_11042025_00_17_11_10416.jpg', '/home/pi/Desktop/images/11042025/00/17/image_11042025_00_17_22_10385.jpg', '/home/pi/Desktop/images/11042025/00/17/image_11042025_00_17_31_9403.jpg', '/home/pi/Desktop/images/11042025/00/17/image_11042025_00_17_41_10370.jpg', '/home/pi/Desktop/images/11042025/00/17/image_11042025_00_17_51_9441.jpg', '/home/pi/Desktop/images/11042025/00/17/image_11042025_00_18_01_10376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/00/17/image_11042025_00_17_11_10416.jpg
/home/pi/Desktop/images/11042025/00/17/image_11042025_00_17_22_10385.jpg
/home/pi/Desktop/images/11042025/00/17/image_11042025_00_17_31_9403.jpg
/home/pi/Desktop/images/11042025/00/17/image_11042025_00_17_41_10370.jpg
/home/pi/Desktop/images/11042025/00/17/image_11042025_00_17_51_9441.jpg
/home/pi/Desktop/images/11042025/00/17/image_11042025_00_18_01_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":["1351444598","1351444337","1351444237","1351444438","1351444321","1351444317"],"photo_ids_order":["1351444237","1351444317","1351444321","1351444337","1351444438","1351444598"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/86e3e27671921c41e864c10abaa02c41.jpg","text":"TemporaryFile(/tmp/multipartBody4353465448225820168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337644856,"filename":"image_11042025_00_18_01_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/11/82f5f1e11bd92e53f390aa7515bf3887.jpg","text":"TemporaryFile(/tmp/multipartBody4268085307815139243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337644856,"filename":"image_11042025_00_17_41_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/11/06f1c16772037ed5dc7c585cbafb5cb7.jpg","text":"TemporaryFile(/tmp/multipartBody3874445414557865371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337644856,"filename":"image_11042025_00_17_11_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/11/839b731ffa710de7c5a3a453359453b6.jpg","text":"TemporaryFile(/tmp/multipartBody260103737024824180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337644856,"filename":"image_11042025_00_17_51_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/11/4204b14c578b5473aa20cb0d0233c0d0.jpg","text":"TemporaryFile(/tmp/multipartBody4041167432740424058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337644856,"filename":"image_11042025_00_17_31_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/11/1832556071e23f4908d7216cc39cd500.jpg","text":"TemporaryFile(/tmp/multipartBody7542619517543980305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337644856,"filename":"image_11042025_00_17_22_10385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351444321","file1":"1351444317","file0":"1351444237","file4":"1351444438","file5":"1351444598","file3":"1351444337"},"map_files_photo_id_array":[{"photo_id":"1351444598","filename":"file5"},{"photo_id":"1351444321","filename":"file2"},{"photo_id":"1351444438","filename":"file4"},{"photo_id":"1351444317","filename":"file1"},{"photo_id":"1351444237","filename":"file0"},{"photo_id":"1351444337","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351444598":["hashtag1","hashtag2"]},{"1351444337":["hashtag1","hashtag2"]},{"1351444237":["hashtag1","hashtag2"]},{"1351444438":["hashtag1","hashtag2"]},{"1351444321":["hashtag1","hashtag2"]},{"1351444317":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351444598, 1351444337, 1351444237, 1351444438, 1351444321, 1351444317)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.40993809700012 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 04:13:53.147581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/00/18/image_11042025_00_18_21_10434.jpg', '/home/pi/Desktop/images/11042025/00/18/image_11042025_00_18_31_10374.jpg', '/home/pi/Desktop/images/11042025/00/18/image_11042025_00_18_41_9353.jpg', '/home/pi/Desktop/images/11042025/00/18/image_11042025_00_18_51_10364.jpg', '/home/pi/Desktop/images/11042025/00/18/image_11042025_00_19_02_10359.jpg', '/home/pi/Desktop/images/11042025/00/19/image_11042025_00_19_11_9411.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/00/18/image_11042025_00_18_21_10434.jpg
/home/pi/Desktop/images/11042025/00/18/image_11042025_00_18_31_10374.jpg
/home/pi/Desktop/images/11042025/00/18/image_11042025_00_18_41_9353.jpg
/home/pi/Desktop/images/11042025/00/18/image_11042025_00_18_51_10364.jpg
/home/pi/Desktop/images/11042025/00/18/image_11042025_00_19_02_10359.jpg
/home/pi/Desktop/images/11042025/00/19/image_11042025_00_19_11_9411.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351444757","1351444888","1351444805","1351444975","1351444735","1351444737"],"photo_ids_order":["1351444735","1351444737","1351444757","1351444805","1351444888","1351444975"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/03c7189230a174d6db93214418e2b838.jpg","text":"TemporaryFile(/tmp/multipartBody1841490511182732644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337693636,"filename":"image_11042025_00_18_41_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/11/653bd2ad03ce24d9a5ab4961f0d7e904.jpg","text":"TemporaryFile(/tmp/multipartBody8192144426733829285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337693636,"filename":"image_11042025_00_19_02_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/11/6b20533569d6757ad485030775948ad7.jpg","text":"TemporaryFile(/tmp/multipartBody5285824720051708991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337693636,"filename":"image_11042025_00_18_51_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/11/13bca45839da9cd9486d16d39ddf1de4.jpg","text":"TemporaryFile(/tmp/multipartBody4056510137640460142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337693636,"filename":"image_11042025_00_19_11_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/11/7dd85d351249df26d59561befba24fcb.jpg","text":"TemporaryFile(/tmp/multipartBody2233619506682864303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337693636,"filename":"image_11042025_00_18_21_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/11/22ec627216649a9b8baac819a1a27c1d.jpg","text":"TemporaryFile(/tmp/multipartBody6280269007837134281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337693636,"filename":"image_11042025_00_18_31_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351444757","file1":"1351444737","file0":"1351444735","file4":"1351444888","file5":"1351444975","file3":"1351444805"},"map_files_photo_id_array":[{"photo_id":"1351444975","filename":"file5"},{"photo_id":"1351444757","filename":"file2"},{"photo_id":"1351444888","filename":"file4"},{"photo_id":"1351444737","filename":"file1"},{"photo_id":"1351444735","filename":"file0"},{"photo_id":"1351444805","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351444757":["hashtag1","hashtag2"]},{"1351444888":["hashtag1","hashtag2"]},{"1351444805":["hashtag1","hashtag2"]},{"1351444975":["hashtag1","hashtag2"]},{"1351444735":["hashtag1","hashtag2"]},{"1351444737":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351444757, 1351444888, 1351444805, 1351444975, 1351444735, 1351444737)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.340399742126465 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 04:14:32.392096
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/00/19/image_11042025_00_19_21_10342.jpg', '/home/pi/Desktop/images/11042025/00/19/image_11042025_00_19_31_9364.jpg', '/home/pi/Desktop/images/11042025/00/19/image_11042025_00_19_41_10435.jpg', '/home/pi/Desktop/images/11042025/00/19/image_11042025_00_19_51_10361.jpg', '/home/pi/Desktop/images/11042025/00/20/image_11042025_00_20_31_10369.jpg', '/home/pi/Desktop/images/11042025/00/20/image_11042025_00_20_41_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/00/19/image_11042025_00_19_21_10342.jpg
/home/pi/Desktop/images/11042025/00/19/image_11042025_00_19_31_9364.jpg
/home/pi/Desktop/images/11042025/00/19/image_11042025_00_19_41_10435.jpg
/home/pi/Desktop/images/11042025/00/19/image_11042025_00_19_51_10361.jpg
/home/pi/Desktop/images/11042025/00/20/image_11042025_00_20_31_10369.jpg
/home/pi/Desktop/images/11042025/00/20/image_11042025_00_20_41_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":["1351445270","1351445185","1351445221","1351445164","1351445326","1351445148"],"photo_ids_order":["1351445148","1351445164","1351445185","1351445221","1351445270","1351445326"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/77ca535515a71a3a18ed814821885fc3.jpg","text":"TemporaryFile(/tmp/multipartBody8751614619939198494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337732851,"filename":"image_11042025_00_20_31_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/11/2069b92150da2c737fac9111619e1db8.jpg","text":"TemporaryFile(/tmp/multipartBody8398197280196044900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337732851,"filename":"image_11042025_00_19_41_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/11/56d515851ae31cc51eda32a5168b20ab.jpg","text":"TemporaryFile(/tmp/multipartBody5909451276723948125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337732851,"filename":"image_11042025_00_19_51_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/11/d510517cc90ac9e444ecb48c5ea08b39.jpg","text":"TemporaryFile(/tmp/multipartBody1112282312484387109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337732851,"filename":"image_11042025_00_19_31_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/11/34e8bff1bfe791e943e0995cc9333591.jpg","text":"TemporaryFile(/tmp/multipartBody5338470381677239651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337732851,"filename":"image_11042025_00_20_41_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/11/6d9a7fc3899a28988897fa48e7e56b6c.jpg","text":"TemporaryFile(/tmp/multipartBody6336635073325063164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337732851,"filename":"image_11042025_00_19_21_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351445185","file1":"1351445164","file0":"1351445148","file4":"1351445270","file5":"1351445326","file3":"1351445221"},"map_files_photo_id_array":[{"photo_id":"1351445326","filename":"file5"},{"photo_id":"1351445185","filename":"file2"},{"photo_id":"1351445270","filename":"file4"},{"photo_id":"1351445164","filename":"file1"},{"photo_id":"1351445148","filename":"file0"},{"photo_id":"1351445221","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351445270":["hashtag1","hashtag2"]},{"1351445185":["hashtag1","hashtag2"]},{"1351445221":["hashtag1","hashtag2"]},{"1351445164":["hashtag1","hashtag2"]},{"1351445326":["hashtag1","hashtag2"]},{"1351445148":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351445270, 1351445185, 1351445221, 1351445164, 1351445326, 1351445148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.905417919158936 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 04:15:32.660356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/00/20/image_11042025_00_20_51_9351.jpg', '/home/pi/Desktop/images/11042025/00/20/image_11042025_00_21_01_10373.jpg', '/home/pi/Desktop/images/11042025/00/21/image_11042025_00_21_11_9532.jpg', '/home/pi/Desktop/images/11042025/00/21/image_11042025_00_21_21_10362.jpg', '/home/pi/Desktop/images/11042025/00/21/image_11042025_00_21_31_10381.jpg', '/home/pi/Desktop/images/11042025/00/21/image_11042025_00_21_41_9480.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/00/20/image_11042025_00_20_51_9351.jpg
/home/pi/Desktop/images/11042025/00/20/image_11042025_00_21_01_10373.jpg
/home/pi/Desktop/images/11042025/00/21/image_11042025_00_21_11_9532.jpg
/home/pi/Desktop/images/11042025/00/21/image_11042025_00_21_21_10362.jpg
/home/pi/Desktop/images/11042025/00/21/image_11042025_00_21_31_10381.jpg
/home/pi/Desktop/images/11042025/00/21/image_11042025_00_21_41_9480.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351445576","1351445507","1351445653","1351445598","1351445622","1351445535"],"photo_ids_order":["1351445507","1351445535","1351445576","1351445598","1351445622","1351445653"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/339a73fcfdff8c0e18b2bd72faf4dac1.jpg","text":"TemporaryFile(/tmp/multipartBody1476423756621484051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337793117,"filename":"image_11042025_00_21_11_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/11/adb4894d193186870be32c084ef83fa5.jpg","text":"TemporaryFile(/tmp/multipartBody7057293324527279139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337793117,"filename":"image_11042025_00_20_51_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/11/1f884a516c89212c6f47b18fb9266223.jpg","text":"TemporaryFile(/tmp/multipartBody3107922771500276847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337793117,"filename":"image_11042025_00_21_41_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/11/8f69fe4dbe672d366b0ab78a8acedd1e.jpg","text":"TemporaryFile(/tmp/multipartBody2830515169896488563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337793117,"filename":"image_11042025_00_21_21_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/11/59b5d525c8070b21bafd558052aa55ad.jpg","text":"TemporaryFile(/tmp/multipartBody9114217884613440893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337793117,"filename":"image_11042025_00_21_31_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/11/273674c1dbf05349c99696656c927b64.jpg","text":"TemporaryFile(/tmp/multipartBody1528389241860718579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337793117,"filename":"image_11042025_00_21_01_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351445576","file1":"1351445535","file0":"1351445507","file4":"1351445622","file5":"1351445653","file3":"1351445598"},"map_files_photo_id_array":[{"photo_id":"1351445653","filename":"file5"},{"photo_id":"1351445576","filename":"file2"},{"photo_id":"1351445622","filename":"file4"},{"photo_id":"1351445535","filename":"file1"},{"photo_id":"1351445507","filename":"file0"},{"photo_id":"1351445598","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351445576":["hashtag1","hashtag2"]},{"1351445507":["hashtag1","hashtag2"]},{"1351445653":["hashtag1","hashtag2"]},{"1351445598":["hashtag1","hashtag2"]},{"1351445622":["hashtag1","hashtag2"]},{"1351445535":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351445576, 1351445507, 1351445653, 1351445598, 1351445622, 1351445535)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.84533166885376 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 04:16:32.865509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/00/21/image_11042025_00_21_51_10360.jpg', '/home/pi/Desktop/images/11042025/00/21/image_11042025_00_22_01_9388.jpg', '/home/pi/Desktop/images/11042025/00/22/image_11042025_00_22_11_10371.jpg', '/home/pi/Desktop/images/11042025/00/22/image_11042025_00_22_21_10368.jpg', '/home/pi/Desktop/images/11042025/00/22/image_11042025_00_22_41_10371.jpg', '/home/pi/Desktop/images/11042025/00/23/image_11042025_00_23_11_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/00/21/image_11042025_00_21_51_10360.jpg
/home/pi/Desktop/images/11042025/00/21/image_11042025_00_22_01_9388.jpg
/home/pi/Desktop/images/11042025/00/22/image_11042025_00_22_11_10371.jpg
/home/pi/Desktop/images/11042025/00/22/image_11042025_00_22_21_10368.jpg
/home/pi/Desktop/images/11042025/00/22/image_11042025_00_22_41_10371.jpg
/home/pi/Desktop/images/11042025/00/23/image_11042025_00_23_11_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":["1351446043","1351445968","1351445944","1351445914","1351446021","1351446074"],"photo_ids_order":["1351445914","1351445944","1351445968","1351446021","1351446043","1351446074"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d47e861342bcae23402d76551e76b01b.jpg","text":"TemporaryFile(/tmp/multipartBody8755431563163963012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337853326,"filename":"image_11042025_00_22_41_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/11/e448cbb055a0f7c95b6ea01a9856c1bb.jpg","text":"TemporaryFile(/tmp/multipartBody7905351151428186255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337853326,"filename":"image_11042025_00_22_11_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/11/f0b1e3cb41d4760db19c381b2c74ad23.jpg","text":"TemporaryFile(/tmp/multipartBody7769394924479347434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337853326,"filename":"image_11042025_00_22_01_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/11/fbbc055efedd800a6ddc973d3eb6dc57.jpg","text":"TemporaryFile(/tmp/multipartBody4867402062365876660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337853326,"filename":"image_11042025_00_21_51_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/11/c4d7d038790270e6cd81cb54e1c4f9dc.jpg","text":"TemporaryFile(/tmp/multipartBody505215348974238032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337853326,"filename":"image_11042025_00_22_21_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/11/9cb177c8304fb2e24a9e2c1c92923513.jpg","text":"TemporaryFile(/tmp/multipartBody6866821423257246752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337853326,"filename":"image_11042025_00_23_11_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351445968","file1":"1351445944","file0":"1351445914","file4":"1351446043","file5":"1351446074","file3":"1351446021"},"map_files_photo_id_array":[{"photo_id":"1351446074","filename":"file5"},{"photo_id":"1351445968","filename":"file2"},{"photo_id":"1351446043","filename":"file4"},{"photo_id":"1351445944","filename":"file1"},{"photo_id":"1351445914","filename":"file0"},{"photo_id":"1351446021","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351446043":["hashtag1","hashtag2"]},{"1351445968":["hashtag1","hashtag2"]},{"1351445944":["hashtag1","hashtag2"]},{"1351445914":["hashtag1","hashtag2"]},{"1351446021":["hashtag1","hashtag2"]},{"1351446074":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351446043, 1351445968, 1351445944, 1351445914, 1351446021, 1351446074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.4973418712616 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 04:17:32.977291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/00/23/image_11042025_00_23_21_9362.jpg', '/home/pi/Desktop/images/11042025/00/23/image_11042025_00_23_31_10448.jpg', '/home/pi/Desktop/images/11042025/00/23/image_11042025_00_23_41_10364.jpg', '/home/pi/Desktop/images/11042025/00/23/image_11042025_00_23_51_9350.jpg', '/home/pi/Desktop/images/11042025/00/23/image_11042025_00_24_01_10364.jpg', '/home/pi/Desktop/images/11042025/00/24/image_11042025_00_24_12_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/00/23/image_11042025_00_23_21_9362.jpg
/home/pi/Desktop/images/11042025/00/23/image_11042025_00_23_31_10448.jpg
/home/pi/Desktop/images/11042025/00/23/image_11042025_00_23_41_10364.jpg
/home/pi/Desktop/images/11042025/00/23/image_11042025_00_23_51_9350.jpg
/home/pi/Desktop/images/11042025/00/23/image_11042025_00_24_01_10364.jpg
/home/pi/Desktop/images/11042025/00/24/image_11042025_00_24_12_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":["1351446430","1351446328","1351446313","1351446387","1351446483","1351446464"],"photo_ids_order":["1351446313","1351446328","1351446387","1351446430","1351446464","1351446483"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/27dfde152bff2042c0536ad588d0e9a1.jpg","text":"TemporaryFile(/tmp/multipartBody5783879071039258831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337913437,"filename":"image_11042025_00_23_51_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/11/d7de3570ee9706da669c7b6c804de302.jpg","text":"TemporaryFile(/tmp/multipartBody7170350122206068028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337913437,"filename":"image_11042025_00_23_31_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/11/c4345269f4f8aa00b0bbd0e6a89fb5a9.jpg","text":"TemporaryFile(/tmp/multipartBody9134547730989304368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337913437,"filename":"image_11042025_00_23_21_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/11/000b552b99cd95df49f07056a6a07caf.jpg","text":"TemporaryFile(/tmp/multipartBody5664050535123618461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337913437,"filename":"image_11042025_00_23_41_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/11/669177a834e0f8ce2e4ed21a9e6795dc.jpg","text":"TemporaryFile(/tmp/multipartBody9104167852540507807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337913437,"filename":"image_11042025_00_24_12_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/11/b96f6eab6314baf5b7c5681aae3ba2d3.jpg","text":"TemporaryFile(/tmp/multipartBody7254525044616328108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337913437,"filename":"image_11042025_00_24_01_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351446387","file1":"1351446328","file0":"1351446313","file4":"1351446464","file5":"1351446483","file3":"1351446430"},"map_files_photo_id_array":[{"photo_id":"1351446483","filename":"file5"},{"photo_id":"1351446387","filename":"file2"},{"photo_id":"1351446464","filename":"file4"},{"photo_id":"1351446328","filename":"file1"},{"photo_id":"1351446313","filename":"file0"},{"photo_id":"1351446430","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351446430":["hashtag1","hashtag2"]},{"1351446328":["hashtag1","hashtag2"]},{"1351446313":["hashtag1","hashtag2"]},{"1351446387":["hashtag1","hashtag2"]},{"1351446483":["hashtag1","hashtag2"]},{"1351446464":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351446430, 1351446328, 1351446313, 1351446387, 1351446483, 1351446464)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.891308069229126 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 04:18:32.213735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/00/24/image_11042025_00_24_21_9387.jpg', '/home/pi/Desktop/images/11042025/00/24/image_11042025_00_24_31_10400.jpg', '/home/pi/Desktop/images/11042025/00/24/image_11042025_00_24_51_10386.jpg', '/home/pi/Desktop/images/11042025/00/24/image_11042025_00_25_01_10361.jpg', '/home/pi/Desktop/images/11042025/00/25/image_11042025_00_25_11_9358.jpg', '/home/pi/Desktop/images/11042025/00/25/image_11042025_00_25_21_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/00/24/image_11042025_00_24_21_9387.jpg
/home/pi/Desktop/images/11042025/00/24/image_11042025_00_24_31_10400.jpg
/home/pi/Desktop/images/11042025/00/24/image_11042025_00_24_51_10386.jpg
/home/pi/Desktop/images/11042025/00/24/image_11042025_00_25_01_10361.jpg
/home/pi/Desktop/images/11042025/00/25/image_11042025_00_25_11_9358.jpg
/home/pi/Desktop/images/11042025/00/25/image_11042025_00_25_21_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":["1351446882","1351446885","1351446840","1351446854","1351446824","1351446833"],"photo_ids_order":["1351446824","1351446833","1351446840","1351446854","1351446882","1351446885"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e9eed779abfd3adfc014353d23bcf42c.jpg","text":"TemporaryFile(/tmp/multipartBody3075237007118701011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337972678,"filename":"image_11042025_00_25_11_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/11/07399db27e4b4a87cc58d7f769a31458.jpg","text":"TemporaryFile(/tmp/multipartBody5285700733475327161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337972678,"filename":"image_11042025_00_25_21_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/11/3e1786f25bb2a2b975031f2493d47492.jpg","text":"TemporaryFile(/tmp/multipartBody905733866269671562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337972678,"filename":"image_11042025_00_24_51_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/11/79c0031c532dcc92f934a1a7cd4f0616.jpg","text":"TemporaryFile(/tmp/multipartBody7843223496374992435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337972678,"filename":"image_11042025_00_25_01_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/11/b82f045fc6f52c20986cf72bbf6f4882.jpg","text":"TemporaryFile(/tmp/multipartBody1610790076794428803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337972678,"filename":"image_11042025_00_24_21_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/11/e0038adaceee313c5cad53822ca86bcb.jpg","text":"TemporaryFile(/tmp/multipartBody6282294833374055028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744337972678,"filename":"image_11042025_00_24_31_10400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351446840","file1":"1351446833","file0":"1351446824","file4":"1351446882","file5":"1351446885","file3":"1351446854"},"map_files_photo_id_array":[{"photo_id":"1351446885","filename":"file5"},{"photo_id":"1351446840","filename":"file2"},{"photo_id":"1351446882","filename":"file4"},{"photo_id":"1351446833","filename":"file1"},{"photo_id":"1351446824","filename":"file0"},{"photo_id":"1351446854","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351446882":["hashtag1","hashtag2"]},{"1351446885":["hashtag1","hashtag2"]},{"1351446840":["hashtag1","hashtag2"]},{"1351446854":["hashtag1","hashtag2"]},{"1351446824":["hashtag1","hashtag2"]},{"1351446833":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351446882, 1351446885, 1351446840, 1351446854, 1351446824, 1351446833)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.37055277824402 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 04:19:32.434372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/00/25/image_11042025_00_25_32_10357.jpg', '/home/pi/Desktop/images/11042025/00/25/image_11042025_00_25_41_9345.jpg', '/home/pi/Desktop/images/11042025/00/25/image_11042025_00_26_01_9404.jpg', '/home/pi/Desktop/images/11042025/00/26/image_11042025_00_26_11_10354.jpg', '/home/pi/Desktop/images/11042025/00/26/image_11042025_00_26_21_10394.jpg', '/home/pi/Desktop/images/11042025/00/26/image_11042025_00_26_31_9363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/00/25/image_11042025_00_25_32_10357.jpg
/home/pi/Desktop/images/11042025/00/25/image_11042025_00_25_41_9345.jpg
/home/pi/Desktop/images/11042025/00/25/image_11042025_00_26_01_9404.jpg
/home/pi/Desktop/images/11042025/00/26/image_11042025_00_26_11_10354.jpg
/home/pi/Desktop/images/11042025/00/26/image_11042025_00_26_21_10394.jpg
/home/pi/Desktop/images/11042025/00/26/image_11042025_00_26_31_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":["1351446970","1351446934","1351446975","1351446930","1351446927","1351446896"],"photo_ids_order":["1351446896","1351446927","1351446930","1351446934","1351446970","1351446975"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4f3959ce5585d5c89980964975bc0af3.jpg","text":"TemporaryFile(/tmp/multipartBody8353411681485858505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338032917,"filename":"image_11042025_00_26_21_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/11/863865a01dd8d0a049d9ded80e6dc656.jpg","text":"TemporaryFile(/tmp/multipartBody7338668970049478842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338032917,"filename":"image_11042025_00_26_11_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/11/1b486e7c60c0d910999f9dbd6b3e3730.jpg","text":"TemporaryFile(/tmp/multipartBody4368508237894643764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338032917,"filename":"image_11042025_00_26_31_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/11/7fa57f2d04db42fa9d0eac0287d975e6.jpg","text":"TemporaryFile(/tmp/multipartBody92079959162184824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338032917,"filename":"image_11042025_00_26_01_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/11/23facbd895d0195c8a74037419773da9.jpg","text":"TemporaryFile(/tmp/multipartBody3533953549601117301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338032917,"filename":"image_11042025_00_25_41_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/11/a31ee98403a29daa3572e314eb9b824b.jpg","text":"TemporaryFile(/tmp/multipartBody5030160429157406994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338032917,"filename":"image_11042025_00_25_32_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351446930","file1":"1351446927","file0":"1351446896","file4":"1351446970","file5":"1351446975","file3":"1351446934"},"map_files_photo_id_array":[{"photo_id":"1351446975","filename":"file5"},{"photo_id":"1351446930","filename":"file2"},{"photo_id":"1351446970","filename":"file4"},{"photo_id":"1351446927","filename":"file1"},{"photo_id":"1351446896","filename":"file0"},{"photo_id":"1351446934","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351446970":["hashtag1","hashtag2"]},{"1351446934":["hashtag1","hashtag2"]},{"1351446975":["hashtag1","hashtag2"]},{"1351446930":["hashtag1","hashtag2"]},{"1351446927":["hashtag1","hashtag2"]},{"1351446896":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351446970, 1351446934, 1351446975, 1351446930, 1351446927, 1351446896)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.673502922058105 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 04:20:32.607152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/00/26/image_11042025_00_26_52_10342.jpg', '/home/pi/Desktop/images/11042025/00/26/image_11042025_00_27_01_9410.jpg', '/home/pi/Desktop/images/11042025/00/27/image_11042025_00_27_11_10356.jpg', '/home/pi/Desktop/images/11042025/00/27/image_11042025_00_27_21_9432.jpg', '/home/pi/Desktop/images/11042025/00/27/image_11042025_00_27_31_10370.jpg', '/home/pi/Desktop/images/11042025/00/27/image_11042025_00_27_41_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/00/26/image_11042025_00_26_52_10342.jpg
/home/pi/Desktop/images/11042025/00/26/image_11042025_00_27_01_9410.jpg
/home/pi/Desktop/images/11042025/00/27/image_11042025_00_27_11_10356.jpg
/home/pi/Desktop/images/11042025/00/27/image_11042025_00_27_21_9432.jpg
/home/pi/Desktop/images/11042025/00/27/image_11042025_00_27_31_10370.jpg
/home/pi/Desktop/images/11042025/00/27/image_11042025_00_27_41_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":["1351447267","1351447245","1351447187","1351447127","1351447214","1351447099"],"photo_ids_order":["1351447099","1351447127","1351447187","1351447214","1351447245","1351447267"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/49b6b330e5287a1160cf39170485aab8.jpg","text":"TemporaryFile(/tmp/multipartBody1567483375649545913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338093065,"filename":"image_11042025_00_27_41_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/11/fa579fc85dad6970f27139fd6b6f8b31.jpg","text":"TemporaryFile(/tmp/multipartBody110867237303845775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338093065,"filename":"image_11042025_00_27_31_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/11/92f2873d45f5b406a30817755d41218b.jpg","text":"TemporaryFile(/tmp/multipartBody27686518427181454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338093065,"filename":"image_11042025_00_27_11_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/11/d5826432f71446250673ff31049b5bdd.jpg","text":"TemporaryFile(/tmp/multipartBody3058261535848559102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338093065,"filename":"image_11042025_00_27_01_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/11/654e32b5e1be5787275d9b7e2ac9c61a.jpg","text":"TemporaryFile(/tmp/multipartBody8856478921076071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338093065,"filename":"image_11042025_00_27_21_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/11/8d9a66cc7346a655cf04deeaf1c4c12f.jpg","text":"TemporaryFile(/tmp/multipartBody1053526633323035035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338093065,"filename":"image_11042025_00_26_52_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351447187","file1":"1351447127","file0":"1351447099","file4":"1351447245","file5":"1351447267","file3":"1351447214"},"map_files_photo_id_array":[{"photo_id":"1351447267","filename":"file5"},{"photo_id":"1351447187","filename":"file2"},{"photo_id":"1351447245","filename":"file4"},{"photo_id":"1351447127","filename":"file1"},{"photo_id":"1351447099","filename":"file0"},{"photo_id":"1351447214","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351447267":["hashtag1","hashtag2"]},{"1351447245":["hashtag1","hashtag2"]},{"1351447187":["hashtag1","hashtag2"]},{"1351447127":["hashtag1","hashtag2"]},{"1351447214":["hashtag1","hashtag2"]},{"1351447099":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351447267, 1351447245, 1351447187, 1351447127, 1351447214, 1351447099)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.896456241607666 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 04:21:32.947674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/00/27/image_11042025_00_27_51_9421.jpg', '/home/pi/Desktop/images/11042025/00/27/image_11042025_00_28_01_10379.jpg', '/home/pi/Desktop/images/11042025/00/28/image_11042025_00_28_11_9457.jpg', '/home/pi/Desktop/images/11042025/00/28/image_11042025_00_28_21_10402.jpg', '/home/pi/Desktop/images/11042025/00/28/image_11042025_00_28_32_10374.jpg', '/home/pi/Desktop/images/11042025/00/28/image_11042025_00_28_41_9358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/00/27/image_11042025_00_27_51_9421.jpg
/home/pi/Desktop/images/11042025/00/27/image_11042025_00_28_01_10379.jpg
/home/pi/Desktop/images/11042025/00/28/image_11042025_00_28_11_9457.jpg
/home/pi/Desktop/images/11042025/00/28/image_11042025_00_28_21_10402.jpg
/home/pi/Desktop/images/11042025/00/28/image_11042025_00_28_32_10374.jpg
/home/pi/Desktop/images/11042025/00/28/image_11042025_00_28_41_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":["1351447429","1351447455","1351447400","1351447471","1351447465","1351447468"],"photo_ids_order":["1351447400","1351447429","1351447455","1351447465","1351447468","1351447471"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4c33f82342338f6fec85d1bc7a847ac6.jpg","text":"TemporaryFile(/tmp/multipartBody5022466014515349718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338153403,"filename":"image_11042025_00_28_01_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/11/fa449a02b2624ee7c3673646d2d52f01.jpg","text":"TemporaryFile(/tmp/multipartBody4801206675105487271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338153403,"filename":"image_11042025_00_28_11_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/11/b815be4611a48895d85e31efb174163a.jpg","text":"TemporaryFile(/tmp/multipartBody4607049230515176656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338153403,"filename":"image_11042025_00_27_51_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/11/386524a0df889508dc92e11100e423fb.jpg","text":"TemporaryFile(/tmp/multipartBody4226505888520796512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338153403,"filename":"image_11042025_00_28_41_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/11/a831400a39805ff0169544f1918749b8.jpg","text":"TemporaryFile(/tmp/multipartBody2994846677179175864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338153403,"filename":"image_11042025_00_28_21_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/11/47db0a77e13caf5ed06ca568d1987a00.jpg","text":"TemporaryFile(/tmp/multipartBody1224453576358039259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338153403,"filename":"image_11042025_00_28_32_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351447455","file1":"1351447429","file0":"1351447400","file4":"1351447468","file5":"1351447471","file3":"1351447465"},"map_files_photo_id_array":[{"photo_id":"1351447471","filename":"file5"},{"photo_id":"1351447455","filename":"file2"},{"photo_id":"1351447468","filename":"file4"},{"photo_id":"1351447429","filename":"file1"},{"photo_id":"1351447400","filename":"file0"},{"photo_id":"1351447465","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351447429":["hashtag1","hashtag2"]},{"1351447455":["hashtag1","hashtag2"]},{"1351447400":["hashtag1","hashtag2"]},{"1351447471":["hashtag1","hashtag2"]},{"1351447465":["hashtag1","hashtag2"]},{"1351447468":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351447429, 1351447455, 1351447400, 1351447471, 1351447465, 1351447468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.529117584228516 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 04:22:33.069928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/00/28/image_11042025_00_29_02_10414.jpg', '/home/pi/Desktop/images/11042025/00/29/image_11042025_00_29_11_9429.jpg', '/home/pi/Desktop/images/11042025/00/29/image_11042025_00_29_21_10386.jpg', '/home/pi/Desktop/images/11042025/00/29/image_11042025_00_29_31_9377.jpg', '/home/pi/Desktop/images/11042025/00/29/image_11042025_00_29_41_10453.jpg', '/home/pi/Desktop/images/11042025/00/29/image_11042025_00_29_51_9509.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/00/28/image_11042025_00_29_02_10414.jpg
/home/pi/Desktop/images/11042025/00/29/image_11042025_00_29_11_9429.jpg
/home/pi/Desktop/images/11042025/00/29/image_11042025_00_29_21_10386.jpg
/home/pi/Desktop/images/11042025/00/29/image_11042025_00_29_31_9377.jpg
/home/pi/Desktop/images/11042025/00/29/image_11042025_00_29_41_10453.jpg
/home/pi/Desktop/images/11042025/00/29/image_11042025_00_29_51_9509.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351447558","1351447543","1351447606","1351447632","1351447626","1351447586"],"photo_ids_order":["1351447543","1351447558","1351447586","1351447606","1351447626","1351447632"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/48cdd9cff9155b3e02485b531b03c921.jpg","text":"TemporaryFile(/tmp/multipartBody6648746889781141426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338213541,"filename":"image_11042025_00_29_11_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/11/7425ce268d0b3fae8e96394d7ad29dca.jpg","text":"TemporaryFile(/tmp/multipartBody3984177512649108706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338213541,"filename":"image_11042025_00_29_02_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/11/7b1c3a054a42c7e5c15671d5d06314bc.jpg","text":"TemporaryFile(/tmp/multipartBody6611259695504673827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338213541,"filename":"image_11042025_00_29_31_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/11/53db616d5668d5c92a4ec05256311111.jpg","text":"TemporaryFile(/tmp/multipartBody5901378981804170553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338213541,"filename":"image_11042025_00_29_51_9509.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3463e78ffcf25aff584e85ef45a6f707.jpg","text":"TemporaryFile(/tmp/multipartBody6897398397056693543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338213541,"filename":"image_11042025_00_29_41_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/11/0bb16f0b0997158f23f60e374c259b1c.jpg","text":"TemporaryFile(/tmp/multipartBody4385396191025530393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338213541,"filename":"image_11042025_00_29_21_10386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351447586","file1":"1351447558","file0":"1351447543","file4":"1351447626","file5":"1351447632","file3":"1351447606"},"map_files_photo_id_array":[{"photo_id":"1351447632","filename":"file5"},{"photo_id":"1351447586","filename":"file2"},{"photo_id":"1351447626","filename":"file4"},{"photo_id":"1351447558","filename":"file1"},{"photo_id":"1351447543","filename":"file0"},{"photo_id":"1351447606","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351447558":["hashtag1","hashtag2"]},{"1351447543":["hashtag1","hashtag2"]},{"1351447606":["hashtag1","hashtag2"]},{"1351447632":["hashtag1","hashtag2"]},{"1351447626":["hashtag1","hashtag2"]},{"1351447586":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351447558, 1351447543, 1351447606, 1351447632, 1351447626, 1351447586)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.839462757110596 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 04:23:32.396336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/00/29/image_11042025_00_30_01_10395.jpg', '/home/pi/Desktop/images/11042025/00/30/image_11042025_00_30_12_10438.jpg', '/home/pi/Desktop/images/11042025/00/30/image_11042025_00_30_21_9442.jpg', '/home/pi/Desktop/images/11042025/00/30/image_11042025_00_30_31_10381.jpg', '/home/pi/Desktop/images/11042025/00/30/image_11042025_00_30_41_9421.jpg', '/home/pi/Desktop/images/11042025/00/30/image_11042025_00_30_51_10453.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/00/29/image_11042025_00_30_01_10395.jpg
/home/pi/Desktop/images/11042025/00/30/image_11042025_00_30_12_10438.jpg
/home/pi/Desktop/images/11042025/00/30/image_11042025_00_30_21_9442.jpg
/home/pi/Desktop/images/11042025/00/30/image_11042025_00_30_31_10381.jpg
/home/pi/Desktop/images/11042025/00/30/image_11042025_00_30_41_9421.jpg
/home/pi/Desktop/images/11042025/00/30/image_11042025_00_30_51_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":["1351447689","1351447697","1351447679","1351447696","1351447684","1351447693"],"photo_ids_order":["1351447679","1351447684","1351447689","1351447693","1351447696","1351447697"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/dcc52a9422c63711e94e252739eeea04.jpg","text":"TemporaryFile(/tmp/multipartBody1445535224631129788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338272871,"filename":"image_11042025_00_30_21_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/11/303952313e16e035e76465290ed98843.jpg","text":"TemporaryFile(/tmp/multipartBody8494774606368241056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338272871,"filename":"image_11042025_00_30_51_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/11/1d3e55937d831592af42320e4e766bff.jpg","text":"TemporaryFile(/tmp/multipartBody6103773023635910411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338272871,"filename":"image_11042025_00_30_01_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/11/d17b66cbec3ca1d54e81118fc28df57f.jpg","text":"TemporaryFile(/tmp/multipartBody175866016197663726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338272871,"filename":"image_11042025_00_30_41_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/11/d3154cf65bc3db76704afb14da6e7863.jpg","text":"TemporaryFile(/tmp/multipartBody4396498649728645362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338272871,"filename":"image_11042025_00_30_12_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/11/3ee6ba3da652ab8ce0171a19c6e6df31.jpg","text":"TemporaryFile(/tmp/multipartBody1395823663077694096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338272871,"filename":"image_11042025_00_30_31_10381.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351447689","file1":"1351447684","file0":"1351447679","file4":"1351447696","file5":"1351447697","file3":"1351447693"},"map_files_photo_id_array":[{"photo_id":"1351447697","filename":"file5"},{"photo_id":"1351447689","filename":"file2"},{"photo_id":"1351447696","filename":"file4"},{"photo_id":"1351447684","filename":"file1"},{"photo_id":"1351447679","filename":"file0"},{"photo_id":"1351447693","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351447689":["hashtag1","hashtag2"]},{"1351447697":["hashtag1","hashtag2"]},{"1351447679":["hashtag1","hashtag2"]},{"1351447696":["hashtag1","hashtag2"]},{"1351447684":["hashtag1","hashtag2"]},{"1351447693":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351447689, 1351447697, 1351447679, 1351447696, 1351447684, 1351447693)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.79024696350098 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 04:24:32.511135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/00/30/image_11042025_00_31_01_9494.jpg', '/home/pi/Desktop/images/11042025/00/31/image_11042025_00_31_11_10366.jpg', '/home/pi/Desktop/images/11042025/00/31/image_11042025_00_31_22_10392.jpg', '/home/pi/Desktop/images/11042025/00/31/image_11042025_00_31_31_9745.jpg', '/home/pi/Desktop/images/11042025/00/31/image_11042025_00_31_41_9477.jpg', '/home/pi/Desktop/images/11042025/00/31/image_11042025_00_31_51_10416.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/00/30/image_11042025_00_31_01_9494.jpg
/home/pi/Desktop/images/11042025/00/31/image_11042025_00_31_11_10366.jpg
/home/pi/Desktop/images/11042025/00/31/image_11042025_00_31_22_10392.jpg
/home/pi/Desktop/images/11042025/00/31/image_11042025_00_31_31_9745.jpg
/home/pi/Desktop/images/11042025/00/31/image_11042025_00_31_41_9477.jpg
/home/pi/Desktop/images/11042025/00/31/image_11042025_00_31_51_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":["1351447732","1351447717","1351447722","1351447730","1351447727","1351447712"],"photo_ids_order":["1351447712","1351447717","1351447722","1351447727","1351447730","1351447732"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8ea25d3431106e9da846fdad9617bf56.jpg","text":"TemporaryFile(/tmp/multipartBody803065060394759201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338332972,"filename":"image_11042025_00_31_51_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/11/787e9ce91032edbbde9a1249be90b1da.jpg","text":"TemporaryFile(/tmp/multipartBody938236681950397552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338332972,"filename":"image_11042025_00_31_11_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/11/bee09bb54947e3bb2ab5812c98a1093e.jpg","text":"TemporaryFile(/tmp/multipartBody5050158827762812285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338332972,"filename":"image_11042025_00_31_22_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/11/262c4534bc7c2bf38a018fdbe01117ee.jpg","text":"TemporaryFile(/tmp/multipartBody8402770830363046016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338332972,"filename":"image_11042025_00_31_41_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/11/58aed9b402a69efcd685bf5d2adde35e.jpg","text":"TemporaryFile(/tmp/multipartBody3591883750568710507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338332972,"filename":"image_11042025_00_31_31_9745.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e70b972c04f9744d1bc0f9acfe53c2ef.jpg","text":"TemporaryFile(/tmp/multipartBody4493166352670862784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338332972,"filename":"image_11042025_00_31_01_9494.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351447722","file1":"1351447717","file0":"1351447712","file4":"1351447730","file5":"1351447732","file3":"1351447727"},"map_files_photo_id_array":[{"photo_id":"1351447732","filename":"file5"},{"photo_id":"1351447722","filename":"file2"},{"photo_id":"1351447730","filename":"file4"},{"photo_id":"1351447717","filename":"file1"},{"photo_id":"1351447712","filename":"file0"},{"photo_id":"1351447727","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351447732":["hashtag1","hashtag2"]},{"1351447717":["hashtag1","hashtag2"]},{"1351447722":["hashtag1","hashtag2"]},{"1351447730":["hashtag1","hashtag2"]},{"1351447727":["hashtag1","hashtag2"]},{"1351447712":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351447732, 1351447717, 1351447722, 1351447730, 1351447727, 1351447712)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.926833152770996 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 04:25:32.629146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/00/31/image_11042025_00_32_02_10387.jpg', '/home/pi/Desktop/images/11042025/00/32/image_11042025_00_32_11_9356.jpg', '/home/pi/Desktop/images/11042025/00/32/image_11042025_00_32_21_10355.jpg', '/home/pi/Desktop/images/11042025/00/32/image_11042025_00_32_31_9444.jpg', '/home/pi/Desktop/images/11042025/00/32/image_11042025_00_32_41_10408.jpg', '/home/pi/Desktop/images/11042025/00/32/image_11042025_00_32_52_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/00/31/image_11042025_00_32_02_10387.jpg
/home/pi/Desktop/images/11042025/00/32/image_11042025_00_32_11_9356.jpg
/home/pi/Desktop/images/11042025/00/32/image_11042025_00_32_21_10355.jpg
/home/pi/Desktop/images/11042025/00/32/image_11042025_00_32_31_9444.jpg
/home/pi/Desktop/images/11042025/00/32/image_11042025_00_32_41_10408.jpg
/home/pi/Desktop/images/11042025/00/32/image_11042025_00_32_52_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":["1351447921","1351447947","1351448019","1351447997","1351447967","1351447901"],"photo_ids_order":["1351447901","1351447921","1351447947","1351447967","1351447997","1351448019"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7a08450799c91b7cd737a956af5b5b57.jpg","text":"TemporaryFile(/tmp/multipartBody8584511049173498671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338393086,"filename":"image_11042025_00_32_11_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/11/a4806a0fdb9f97d0975fd47683378123.jpg","text":"TemporaryFile(/tmp/multipartBody4178773194325809360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338393086,"filename":"image_11042025_00_32_21_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/11/0939f0035dc59d5a69eac04b8457bebd.jpg","text":"TemporaryFile(/tmp/multipartBody4588181969109627515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338393086,"filename":"image_11042025_00_32_52_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/11/308684f9b1a61b65aa57583e5c49ea4f.jpg","text":"TemporaryFile(/tmp/multipartBody2772571748709613889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338393086,"filename":"image_11042025_00_32_41_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/11/20ddbfabecba3871a68844e9447cf28c.jpg","text":"TemporaryFile(/tmp/multipartBody8226453171287118119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338393086,"filename":"image_11042025_00_32_31_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/11/86fc024448228e7af4b19402750666a9.jpg","text":"TemporaryFile(/tmp/multipartBody5421639449374454901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338393086,"filename":"image_11042025_00_32_02_10387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351447947","file1":"1351447921","file0":"1351447901","file4":"1351447997","file5":"1351448019","file3":"1351447967"},"map_files_photo_id_array":[{"photo_id":"1351448019","filename":"file5"},{"photo_id":"1351447947","filename":"file2"},{"photo_id":"1351447997","filename":"file4"},{"photo_id":"1351447921","filename":"file1"},{"photo_id":"1351447901","filename":"file0"},{"photo_id":"1351447967","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351447921":["hashtag1","hashtag2"]},{"1351447947":["hashtag1","hashtag2"]},{"1351448019":["hashtag1","hashtag2"]},{"1351447997":["hashtag1","hashtag2"]},{"1351447967":["hashtag1","hashtag2"]},{"1351447901":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351447921, 1351447947, 1351448019, 1351447997, 1351447967, 1351447901)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.01093816757202 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 04:26:32.873782
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/00/32/image_11042025_00_33_01_9351.jpg', '/home/pi/Desktop/images/11042025/00/33/image_11042025_00_33_11_10358.jpg', '/home/pi/Desktop/images/11042025/00/33/image_11042025_00_33_22_10359.jpg', '/home/pi/Desktop/images/11042025/00/33/image_11042025_00_33_31_9422.jpg', '/home/pi/Desktop/images/11042025/00/33/image_11042025_00_33_41_10398.jpg', '/home/pi/Desktop/images/11042025/00/33/image_11042025_00_33_51_9368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/00/32/image_11042025_00_33_01_9351.jpg
/home/pi/Desktop/images/11042025/00/33/image_11042025_00_33_11_10358.jpg
/home/pi/Desktop/images/11042025/00/33/image_11042025_00_33_22_10359.jpg
/home/pi/Desktop/images/11042025/00/33/image_11042025_00_33_31_9422.jpg
/home/pi/Desktop/images/11042025/00/33/image_11042025_00_33_41_10398.jpg
/home/pi/Desktop/images/11042025/00/33/image_11042025_00_33_51_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":["1351448292","1351448265","1351448238","1351448198","1351448315","1351448353"],"photo_ids_order":["1351448198","1351448238","1351448265","1351448292","1351448315","1351448353"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/cf3a180f007b74f555ed498b306b44da.jpg","text":"TemporaryFile(/tmp/multipartBody7485715017984266814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338453332,"filename":"image_11042025_00_33_31_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/11/2bac781a72d2df3492de2fc26bdf0554.jpg","text":"TemporaryFile(/tmp/multipartBody1935122077824064002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338453332,"filename":"image_11042025_00_33_22_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/11/a43932077de5675e83a361a3803ea4f7.jpg","text":"TemporaryFile(/tmp/multipartBody5409009213362582528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338453332,"filename":"image_11042025_00_33_11_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/11/c2476c51ec8eaad3f0ab2675fb8d6a19.jpg","text":"TemporaryFile(/tmp/multipartBody7242721179437057232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338453332,"filename":"image_11042025_00_33_01_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/11/fd4465b3333b42b33c11d8d28fef06be.jpg","text":"TemporaryFile(/tmp/multipartBody5499399569927807748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338453332,"filename":"image_11042025_00_33_41_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/11/2ecfa71ee53583d814ed3ffb88c1a7ce.jpg","text":"TemporaryFile(/tmp/multipartBody350214335474161799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338453332,"filename":"image_11042025_00_33_51_9368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351448265","file1":"1351448238","file0":"1351448198","file4":"1351448315","file5":"1351448353","file3":"1351448292"},"map_files_photo_id_array":[{"photo_id":"1351448353","filename":"file5"},{"photo_id":"1351448265","filename":"file2"},{"photo_id":"1351448315","filename":"file4"},{"photo_id":"1351448238","filename":"file1"},{"photo_id":"1351448198","filename":"file0"},{"photo_id":"1351448292","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351448292":["hashtag1","hashtag2"]},{"1351448265":["hashtag1","hashtag2"]},{"1351448238":["hashtag1","hashtag2"]},{"1351448198":["hashtag1","hashtag2"]},{"1351448315":["hashtag1","hashtag2"]},{"1351448353":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351448292, 1351448265, 1351448238, 1351448198, 1351448315, 1351448353)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.204439878463745 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 04:27:33.057295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/00/33/image_11042025_00_34_01_10368.jpg', '/home/pi/Desktop/images/11042025/00/34/image_11042025_00_34_12_10362.jpg', '/home/pi/Desktop/images/11042025/00/34/image_11042025_00_34_21_9446.jpg', '/home/pi/Desktop/images/11042025/00/34/image_11042025_00_34_31_10359.jpg', '/home/pi/Desktop/images/11042025/00/34/image_11042025_00_34_41_9438.jpg', '/home/pi/Desktop/images/11042025/00/35/image_11042025_00_35_11_9442.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/00/33/image_11042025_00_34_01_10368.jpg
/home/pi/Desktop/images/11042025/00/34/image_11042025_00_34_12_10362.jpg
/home/pi/Desktop/images/11042025/00/34/image_11042025_00_34_21_9446.jpg
/home/pi/Desktop/images/11042025/00/34/image_11042025_00_34_31_10359.jpg
/home/pi/Desktop/images/11042025/00/34/image_11042025_00_34_41_9438.jpg
/home/pi/Desktop/images/11042025/00/35/image_11042025_00_35_11_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":["1351448425","1351448419","1351448442","1351448445","1351448450","1351448395"],"photo_ids_order":["1351448395","1351448419","1351448425","1351448442","1351448445","1351448450"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b54459ef7d4bcc218ef3b76c7727737a.jpg","text":"TemporaryFile(/tmp/multipartBody7693074656279061389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338513516,"filename":"image_11042025_00_34_21_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/11/844ce6db68c4ad398e8d3018a0cabd6e.jpg","text":"TemporaryFile(/tmp/multipartBody8995841982647412975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338513516,"filename":"image_11042025_00_34_12_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/11/bf3a9154eae15306a020c79875999a27.jpg","text":"TemporaryFile(/tmp/multipartBody630424728808378824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338513516,"filename":"image_11042025_00_34_31_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/11/71b8bacc405a53b6853eae57d50a5585.jpg","text":"TemporaryFile(/tmp/multipartBody3442873251514904212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338513516,"filename":"image_11042025_00_34_41_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/11/abb5f95187f02c54efbe3078c0b5be09.jpg","text":"TemporaryFile(/tmp/multipartBody375983442284562814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338513516,"filename":"image_11042025_00_35_11_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/11/80f0ff4d0d185f83fa8ab07850e825b9.jpg","text":"TemporaryFile(/tmp/multipartBody2671009684307157681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338513516,"filename":"image_11042025_00_34_01_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351448425","file1":"1351448419","file0":"1351448395","file4":"1351448445","file5":"1351448450","file3":"1351448442"},"map_files_photo_id_array":[{"photo_id":"1351448450","filename":"file5"},{"photo_id":"1351448425","filename":"file2"},{"photo_id":"1351448445","filename":"file4"},{"photo_id":"1351448419","filename":"file1"},{"photo_id":"1351448395","filename":"file0"},{"photo_id":"1351448442","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351448425":["hashtag1","hashtag2"]},{"1351448419":["hashtag1","hashtag2"]},{"1351448442":["hashtag1","hashtag2"]},{"1351448445":["hashtag1","hashtag2"]},{"1351448450":["hashtag1","hashtag2"]},{"1351448395":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351448425, 1351448419, 1351448442, 1351448445, 1351448450, 1351448395)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.21048617362976 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 04:28:32.168296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/00/35/image_11042025_00_35_21_10361.jpg', '/home/pi/Desktop/images/11042025/00/35/image_11042025_00_35_31_9494.jpg', '/home/pi/Desktop/images/11042025/00/35/image_11042025_00_35_41_10347.jpg', '/home/pi/Desktop/images/11042025/00/35/image_11042025_00_35_52_10470.jpg', '/home/pi/Desktop/images/11042025/00/35/image_11042025_00_36_01_9393.jpg', '/home/pi/Desktop/images/11042025/00/36/image_11042025_00_36_11_10400.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/00/35/image_11042025_00_35_21_10361.jpg
/home/pi/Desktop/images/11042025/00/35/image_11042025_00_35_31_9494.jpg
/home/pi/Desktop/images/11042025/00/35/image_11042025_00_35_41_10347.jpg
/home/pi/Desktop/images/11042025/00/35/image_11042025_00_35_52_10470.jpg
/home/pi/Desktop/images/11042025/00/35/image_11042025_00_36_01_9393.jpg
/home/pi/Desktop/images/11042025/00/36/image_11042025_00_36_11_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":["1351448483","1351448502","1351448492","1351448551","1351448488","1351448527"],"photo_ids_order":["1351448483","1351448488","1351448492","1351448502","1351448527","1351448551"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/55853f64e534d8145ead5f98b961ffca.jpg","text":"TemporaryFile(/tmp/multipartBody8202899873564144739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338572630,"filename":"image_11042025_00_35_21_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/11/b4795458d2a72d1ba897369664637bc9.jpg","text":"TemporaryFile(/tmp/multipartBody829207816153408897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338572630,"filename":"image_11042025_00_35_52_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/11/504a4e93f7ed294e83fa84d32f7324dc.jpg","text":"TemporaryFile(/tmp/multipartBody6109768388893264068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338572630,"filename":"image_11042025_00_35_41_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/11/bd66adf434808e767d6d44d2b2e23013.jpg","text":"TemporaryFile(/tmp/multipartBody2668890221007183885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338572630,"filename":"image_11042025_00_36_11_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/11/269958c270598ac02fdec06bbb1fda0b.jpg","text":"TemporaryFile(/tmp/multipartBody8796456770607044782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338572630,"filename":"image_11042025_00_35_31_9494.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4049c51a6b2ff90d61690cd6d4cc382b.jpg","text":"TemporaryFile(/tmp/multipartBody2173869546430369807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338572630,"filename":"image_11042025_00_36_01_9393.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351448492","file1":"1351448488","file0":"1351448483","file4":"1351448527","file5":"1351448551","file3":"1351448502"},"map_files_photo_id_array":[{"photo_id":"1351448551","filename":"file5"},{"photo_id":"1351448492","filename":"file2"},{"photo_id":"1351448527","filename":"file4"},{"photo_id":"1351448488","filename":"file1"},{"photo_id":"1351448483","filename":"file0"},{"photo_id":"1351448502","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351448483":["hashtag1","hashtag2"]},{"1351448502":["hashtag1","hashtag2"]},{"1351448492":["hashtag1","hashtag2"]},{"1351448551":["hashtag1","hashtag2"]},{"1351448488":["hashtag1","hashtag2"]},{"1351448527":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351448483, 1351448502, 1351448492, 1351448551, 1351448488, 1351448527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.4315710067749 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 04:29:32.507481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/00/36/image_11042025_00_36_21_9475.jpg', '/home/pi/Desktop/images/11042025/00/36/image_11042025_00_36_31_10369.jpg', '/home/pi/Desktop/images/11042025/00/36/image_11042025_00_36_42_10379.jpg', '/home/pi/Desktop/images/11042025/00/36/image_11042025_00_37_01_10390.jpg', '/home/pi/Desktop/images/11042025/00/37/image_11042025_00_37_11_9356.jpg', '/home/pi/Desktop/images/11042025/00/37/image_11042025_00_37_21_10403.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/00/36/image_11042025_00_36_21_9475.jpg
/home/pi/Desktop/images/11042025/00/36/image_11042025_00_36_31_10369.jpg
/home/pi/Desktop/images/11042025/00/36/image_11042025_00_36_42_10379.jpg
/home/pi/Desktop/images/11042025/00/36/image_11042025_00_37_01_10390.jpg
/home/pi/Desktop/images/11042025/00/37/image_11042025_00_37_11_9356.jpg
/home/pi/Desktop/images/11042025/00/37/image_11042025_00_37_21_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":["1351448883","1351448880","1351448855","1351448870","1351448890","1351448830"],"photo_ids_order":["1351448830","1351448855","1351448870","1351448880","1351448883","1351448890"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0a00fc7b42f9c3fe94b596120544fd9f.jpg","text":"TemporaryFile(/tmp/multipartBody4513206591064915675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338632963,"filename":"image_11042025_00_37_11_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/11/8a5f485a1ed82327e126fee49f33a09f.jpg","text":"TemporaryFile(/tmp/multipartBody6278382912644231681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338632963,"filename":"image_11042025_00_37_01_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/11/31832663940fd2d421348905252181a6.jpg","text":"TemporaryFile(/tmp/multipartBody8627997863763293821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338632963,"filename":"image_11042025_00_36_31_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/11/55b1116cc3a6adaccb47f337f4b9c596.jpg","text":"TemporaryFile(/tmp/multipartBody9146984901736020100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338632963,"filename":"image_11042025_00_36_42_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/11/20492e989121c61ee50ee04ab735fbe1.jpg","text":"TemporaryFile(/tmp/multipartBody4605424846040599374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338632963,"filename":"image_11042025_00_37_21_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/11/a59d5fc180069373efd13450a7a90820.jpg","text":"TemporaryFile(/tmp/multipartBody696539857700254577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338632963,"filename":"image_11042025_00_36_21_9475.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351448870","file1":"1351448855","file0":"1351448830","file4":"1351448883","file5":"1351448890","file3":"1351448880"},"map_files_photo_id_array":[{"photo_id":"1351448890","filename":"file5"},{"photo_id":"1351448870","filename":"file2"},{"photo_id":"1351448883","filename":"file4"},{"photo_id":"1351448855","filename":"file1"},{"photo_id":"1351448830","filename":"file0"},{"photo_id":"1351448880","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351448883":["hashtag1","hashtag2"]},{"1351448880":["hashtag1","hashtag2"]},{"1351448855":["hashtag1","hashtag2"]},{"1351448870":["hashtag1","hashtag2"]},{"1351448890":["hashtag1","hashtag2"]},{"1351448830":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351448883, 1351448880, 1351448855, 1351448870, 1351448890, 1351448830)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.49993968009949 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 04:30:32.636156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/00/37/image_11042025_00_37_32_10383.jpg', '/home/pi/Desktop/images/11042025/00/37/image_11042025_00_37_41_9467.jpg', '/home/pi/Desktop/images/11042025/00/37/image_11042025_00_37_51_10361.jpg', '/home/pi/Desktop/images/11042025/00/37/image_11042025_00_38_01_9427.jpg', '/home/pi/Desktop/images/11042025/00/38/image_11042025_00_38_11_10398.jpg', '/home/pi/Desktop/images/11042025/00/38/image_11042025_00_38_22_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/00/37/image_11042025_00_37_32_10383.jpg
/home/pi/Desktop/images/11042025/00/37/image_11042025_00_37_41_9467.jpg
/home/pi/Desktop/images/11042025/00/37/image_11042025_00_37_51_10361.jpg
/home/pi/Desktop/images/11042025/00/37/image_11042025_00_38_01_9427.jpg
/home/pi/Desktop/images/11042025/00/38/image_11042025_00_38_11_10398.jpg
/home/pi/Desktop/images/11042025/00/38/image_11042025_00_38_22_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":["1351448999","1351448975","1351449110","1351449064","1351449103","1351449112"],"photo_ids_order":["1351448975","1351448999","1351449064","1351449103","1351449110","1351449112"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2814862d7e1711d4f843c4c9e5f0bd3b.jpg","text":"TemporaryFile(/tmp/multipartBody7655961969968114839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338693093,"filename":"image_11042025_00_37_41_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/11/29a47518b3575f84aa8b1f607541ae41.jpg","text":"TemporaryFile(/tmp/multipartBody2364823444379750622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338693093,"filename":"image_11042025_00_37_32_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/11/a35d56a33577ec44c29854f74432b254.jpg","text":"TemporaryFile(/tmp/multipartBody4900223354804023036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338693093,"filename":"image_11042025_00_38_11_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/11/d84207967c979af13e4c0ea418146d05.jpg","text":"TemporaryFile(/tmp/multipartBody2676846653627835711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338693093,"filename":"image_11042025_00_37_51_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/11/858e1e3c52f53b3daebe5bb45c6d7074.jpg","text":"TemporaryFile(/tmp/multipartBody8123398689472937117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338693093,"filename":"image_11042025_00_38_01_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/11/5638073dcafb0015b2bc51058a2aa368.jpg","text":"TemporaryFile(/tmp/multipartBody7458157124963271913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338693093,"filename":"image_11042025_00_38_22_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351449064","file1":"1351448999","file0":"1351448975","file4":"1351449110","file5":"1351449112","file3":"1351449103"},"map_files_photo_id_array":[{"photo_id":"1351449112","filename":"file5"},{"photo_id":"1351449064","filename":"file2"},{"photo_id":"1351449110","filename":"file4"},{"photo_id":"1351448999","filename":"file1"},{"photo_id":"1351448975","filename":"file0"},{"photo_id":"1351449103","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351448999":["hashtag1","hashtag2"]},{"1351448975":["hashtag1","hashtag2"]},{"1351449110":["hashtag1","hashtag2"]},{"1351449064":["hashtag1","hashtag2"]},{"1351449103":["hashtag1","hashtag2"]},{"1351449112":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351448999, 1351448975, 1351449110, 1351449064, 1351449103, 1351449112)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.37510418891907 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 04:31:32.856491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/00/38/image_11042025_00_38_31_9385.jpg', '/home/pi/Desktop/images/11042025/00/38/image_11042025_00_38_41_10464.jpg', '/home/pi/Desktop/images/11042025/00/38/image_11042025_00_39_01_10352.jpg', '/home/pi/Desktop/images/11042025/00/39/image_11042025_00_39_12_10368.jpg', '/home/pi/Desktop/images/11042025/00/39/image_11042025_00_39_21_9472.jpg', '/home/pi/Desktop/images/11042025/00/39/image_11042025_00_39_31_10446.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/00/38/image_11042025_00_38_31_9385.jpg
/home/pi/Desktop/images/11042025/00/38/image_11042025_00_38_41_10464.jpg
/home/pi/Desktop/images/11042025/00/38/image_11042025_00_39_01_10352.jpg
/home/pi/Desktop/images/11042025/00/39/image_11042025_00_39_12_10368.jpg
/home/pi/Desktop/images/11042025/00/39/image_11042025_00_39_21_9472.jpg
/home/pi/Desktop/images/11042025/00/39/image_11042025_00_39_31_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":["1351449279","1351449298","1351449184","1351449226","1351449313","1351449205"],"photo_ids_order":["1351449184","1351449205","1351449226","1351449279","1351449298","1351449313"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d4996dbfcf6bc0fb330816ac634587ec.jpg","text":"TemporaryFile(/tmp/multipartBody3428692027833191177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338753324,"filename":"image_11042025_00_39_12_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/11/c5ef2e86c069d59d642eea9e83d69a01.jpg","text":"TemporaryFile(/tmp/multipartBody2136716575468360378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338753324,"filename":"image_11042025_00_39_21_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/11/d84c12ac652d2e4ad8871f133e91e989.jpg","text":"TemporaryFile(/tmp/multipartBody5366613029117526051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338753324,"filename":"image_11042025_00_38_31_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/11/f664359c00b1b55ed9d0b26eca3d9587.jpg","text":"TemporaryFile(/tmp/multipartBody770408373631357575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338753324,"filename":"image_11042025_00_39_01_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/11/4be5c68a66ad896c55fe27d8e89345b5.jpg","text":"TemporaryFile(/tmp/multipartBody8824266805072985675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338753324,"filename":"image_11042025_00_39_31_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/11/b2d86e2a9fdb6e85875c0564731ce4c8.jpg","text":"TemporaryFile(/tmp/multipartBody5187426962126087116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338753324,"filename":"image_11042025_00_38_41_10464.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351449226","file1":"1351449205","file0":"1351449184","file4":"1351449298","file5":"1351449313","file3":"1351449279"},"map_files_photo_id_array":[{"photo_id":"1351449313","filename":"file5"},{"photo_id":"1351449226","filename":"file2"},{"photo_id":"1351449298","filename":"file4"},{"photo_id":"1351449205","filename":"file1"},{"photo_id":"1351449184","filename":"file0"},{"photo_id":"1351449279","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351449279":["hashtag1","hashtag2"]},{"1351449298":["hashtag1","hashtag2"]},{"1351449184":["hashtag1","hashtag2"]},{"1351449226":["hashtag1","hashtag2"]},{"1351449313":["hashtag1","hashtag2"]},{"1351449205":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351449279, 1351449298, 1351449184, 1351449226, 1351449313, 1351449205)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.60055756568909 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 04:32:33.169381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/00/39/image_11042025_00_39_41_9356.jpg', '/home/pi/Desktop/images/11042025/00/39/image_11042025_00_39_51_10436.jpg', '/home/pi/Desktop/images/11042025/00/39/image_11042025_00_40_02_10359.jpg', '/home/pi/Desktop/images/11042025/00/40/image_11042025_00_40_11_9432.jpg', '/home/pi/Desktop/images/11042025/00/40/image_11042025_00_40_21_10377.jpg', '/home/pi/Desktop/images/11042025/00/40/image_11042025_00_40_31_9377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/00/39/image_11042025_00_39_41_9356.jpg
/home/pi/Desktop/images/11042025/00/39/image_11042025_00_39_51_10436.jpg
/home/pi/Desktop/images/11042025/00/39/image_11042025_00_40_02_10359.jpg
/home/pi/Desktop/images/11042025/00/40/image_11042025_00_40_11_9432.jpg
/home/pi/Desktop/images/11042025/00/40/image_11042025_00_40_21_10377.jpg
/home/pi/Desktop/images/11042025/00/40/image_11042025_00_40_31_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":["1351449378","1351449398","1351449374","1351449391","1351449388","1351449372"],"photo_ids_order":["1351449372","1351449374","1351449378","1351449388","1351449391","1351449398"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/78702e920b82344ae79b907d9c18181a.jpg","text":"TemporaryFile(/tmp/multipartBody2484232033623737976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338813635,"filename":"image_11042025_00_40_02_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/11/0ccdcd9dc16df4d5855dcb47da07ee1e.jpg","text":"TemporaryFile(/tmp/multipartBody7520506434836908023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338813635,"filename":"image_11042025_00_40_31_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/11/1d5ed2baafd32afe920d3cc2b946ebcd.jpg","text":"TemporaryFile(/tmp/multipartBody3243506111750473883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338813635,"filename":"image_11042025_00_39_51_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/11/3bb36eb4eb76ed9e28b8f0605b28e82e.jpg","text":"TemporaryFile(/tmp/multipartBody5689325110400705856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338813635,"filename":"image_11042025_00_40_21_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/11/fb5046c0705997064b2d49777b88c15c.jpg","text":"TemporaryFile(/tmp/multipartBody2220878140520435108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338813635,"filename":"image_11042025_00_40_11_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/11/ffc2bc030a98601fa5b9c23561b8d819.jpg","text":"TemporaryFile(/tmp/multipartBody4999218237330513815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338813635,"filename":"image_11042025_00_39_41_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351449378","file1":"1351449374","file0":"1351449372","file4":"1351449391","file5":"1351449398","file3":"1351449388"},"map_files_photo_id_array":[{"photo_id":"1351449398","filename":"file5"},{"photo_id":"1351449378","filename":"file2"},{"photo_id":"1351449391","filename":"file4"},{"photo_id":"1351449374","filename":"file1"},{"photo_id":"1351449372","filename":"file0"},{"photo_id":"1351449388","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351449378":["hashtag1","hashtag2"]},{"1351449398":["hashtag1","hashtag2"]},{"1351449374":["hashtag1","hashtag2"]},{"1351449391":["hashtag1","hashtag2"]},{"1351449388":["hashtag1","hashtag2"]},{"1351449372":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351449378, 1351449398, 1351449374, 1351449391, 1351449388, 1351449372)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.010082721710205 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 04:33:32.399852
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/00/40/image_11042025_00_40_41_10370.jpg', '/home/pi/Desktop/images/11042025/00/40/image_11042025_00_40_52_10377.jpg', '/home/pi/Desktop/images/11042025/00/40/image_11042025_00_41_01_9335.jpg', '/home/pi/Desktop/images/11042025/00/41/image_11042025_00_41_11_10418.jpg', '/home/pi/Desktop/images/11042025/00/41/image_11042025_00_41_21_9429.jpg', '/home/pi/Desktop/images/11042025/00/41/image_11042025_00_41_41_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/00/40/image_11042025_00_40_41_10370.jpg
/home/pi/Desktop/images/11042025/00/40/image_11042025_00_40_52_10377.jpg
/home/pi/Desktop/images/11042025/00/40/image_11042025_00_41_01_9335.jpg
/home/pi/Desktop/images/11042025/00/41/image_11042025_00_41_11_10418.jpg
/home/pi/Desktop/images/11042025/00/41/image_11042025_00_41_21_9429.jpg
/home/pi/Desktop/images/11042025/00/41/image_11042025_00_41_41_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":["1351449587","1351449497","1351449592","1351449595","1351449532","1351449508"],"photo_ids_order":["1351449497","1351449508","1351449532","1351449587","1351449592","1351449595"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3f47a2b0eb652080bccb74b6c1f3f72b.jpg","text":"TemporaryFile(/tmp/multipartBody273919840505991421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338872869,"filename":"image_11042025_00_41_11_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/11/0fb0be931d7d2f311cc13e41e9d3d5df.jpg","text":"TemporaryFile(/tmp/multipartBody5154893375311259973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338872869,"filename":"image_11042025_00_40_41_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/11/f794eb882adf60dacf8d67eeb410f5be.jpg","text":"TemporaryFile(/tmp/multipartBody4463320086561166503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338872869,"filename":"image_11042025_00_41_21_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/11/5ae22988d9286ef447ebc9f12b7fbc65.jpg","text":"TemporaryFile(/tmp/multipartBody1692048381910831810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338872869,"filename":"image_11042025_00_41_41_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/11/20fa7d2910aa60fba2c31d453254e16e.jpg","text":"TemporaryFile(/tmp/multipartBody7499736289172639046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338872869,"filename":"image_11042025_00_41_01_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/11/032541b6742babf4a5e01e64328f8f49.jpg","text":"TemporaryFile(/tmp/multipartBody4777700279662400899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338872869,"filename":"image_11042025_00_40_52_10377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351449532","file1":"1351449508","file0":"1351449497","file4":"1351449592","file5":"1351449595","file3":"1351449587"},"map_files_photo_id_array":[{"photo_id":"1351449595","filename":"file5"},{"photo_id":"1351449532","filename":"file2"},{"photo_id":"1351449592","filename":"file4"},{"photo_id":"1351449508","filename":"file1"},{"photo_id":"1351449497","filename":"file0"},{"photo_id":"1351449587","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351449587":["hashtag1","hashtag2"]},{"1351449497":["hashtag1","hashtag2"]},{"1351449592":["hashtag1","hashtag2"]},{"1351449595":["hashtag1","hashtag2"]},{"1351449532":["hashtag1","hashtag2"]},{"1351449508":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351449587, 1351449497, 1351449592, 1351449595, 1351449532, 1351449508)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.21748328208923 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 04:34:32.540822
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/00/41/image_11042025_00_42_01_10378.jpg', '/home/pi/Desktop/images/11042025/00/42/image_11042025_00_42_12_10380.jpg', '/home/pi/Desktop/images/11042025/00/42/image_11042025_00_42_21_9375.jpg', '/home/pi/Desktop/images/11042025/00/42/image_11042025_00_42_31_10373.jpg', '/home/pi/Desktop/images/11042025/00/42/image_11042025_00_42_41_9418.jpg', '/home/pi/Desktop/images/11042025/00/42/image_11042025_00_42_51_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/00/41/image_11042025_00_42_01_10378.jpg
/home/pi/Desktop/images/11042025/00/42/image_11042025_00_42_12_10380.jpg
/home/pi/Desktop/images/11042025/00/42/image_11042025_00_42_21_9375.jpg
/home/pi/Desktop/images/11042025/00/42/image_11042025_00_42_31_10373.jpg
/home/pi/Desktop/images/11042025/00/42/image_11042025_00_42_41_9418.jpg
/home/pi/Desktop/images/11042025/00/42/image_11042025_00_42_51_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":["1351449741","1351449698","1351449743","1351449736","1351449664","1351449738"],"photo_ids_order":["1351449664","1351449698","1351449736","1351449738","1351449741","1351449743"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ad68c1a4018d122861a8d7549404b69e.jpg","text":"TemporaryFile(/tmp/multipartBody127440654971853968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338933026,"filename":"image_11042025_00_42_41_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/11/ba0c87f62d30afbcb20af05b4a6064f4.jpg","text":"TemporaryFile(/tmp/multipartBody2828737798727474950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338933026,"filename":"image_11042025_00_42_12_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/11/46a74402bac1eead1c783891cbf4ddfb.jpg","text":"TemporaryFile(/tmp/multipartBody3181917537426800679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338933026,"filename":"image_11042025_00_42_51_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/11/8fbba140253f1555ff94c9efe5489bc5.jpg","text":"TemporaryFile(/tmp/multipartBody5479750906052050783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338933026,"filename":"image_11042025_00_42_21_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/11/59ac9e0b5a79ce459bf29d35c68b90da.jpg","text":"TemporaryFile(/tmp/multipartBody5834920210020939675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338933026,"filename":"image_11042025_00_42_01_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/11/2b770695822686024327ecb2172d3f7b.jpg","text":"TemporaryFile(/tmp/multipartBody4364837202060434728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338933026,"filename":"image_11042025_00_42_31_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351449736","file1":"1351449698","file0":"1351449664","file4":"1351449741","file5":"1351449743","file3":"1351449738"},"map_files_photo_id_array":[{"photo_id":"1351449743","filename":"file5"},{"photo_id":"1351449736","filename":"file2"},{"photo_id":"1351449741","filename":"file4"},{"photo_id":"1351449698","filename":"file1"},{"photo_id":"1351449664","filename":"file0"},{"photo_id":"1351449738","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351449741":["hashtag1","hashtag2"]},{"1351449698":["hashtag1","hashtag2"]},{"1351449743":["hashtag1","hashtag2"]},{"1351449736":["hashtag1","hashtag2"]},{"1351449664":["hashtag1","hashtag2"]},{"1351449738":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351449741, 1351449698, 1351449743, 1351449736, 1351449664, 1351449738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.34025239944458 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 04:35:32.786496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/00/42/image_11042025_00_43_02_10371.jpg', '/home/pi/Desktop/images/11042025/00/43/image_11042025_00_43_11_9421.jpg', '/home/pi/Desktop/images/11042025/00/43/image_11042025_00_43_21_10382.jpg', '/home/pi/Desktop/images/11042025/00/43/image_11042025_00_43_31_9429.jpg', '/home/pi/Desktop/images/11042025/00/43/image_11042025_00_43_41_10375.jpg', '/home/pi/Desktop/images/11042025/00/43/image_11042025_00_43_51_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/00/42/image_11042025_00_43_02_10371.jpg
/home/pi/Desktop/images/11042025/00/43/image_11042025_00_43_11_9421.jpg
/home/pi/Desktop/images/11042025/00/43/image_11042025_00_43_21_10382.jpg
/home/pi/Desktop/images/11042025/00/43/image_11042025_00_43_31_9429.jpg
/home/pi/Desktop/images/11042025/00/43/image_11042025_00_43_41_10375.jpg
/home/pi/Desktop/images/11042025/00/43/image_11042025_00_43_51_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":["1351449767","1351449754","1351449762","1351449756","1351449765","1351449759"],"photo_ids_order":["1351449754","1351449756","1351449759","1351449762","1351449765","1351449767"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/fda77be3e84c4d162f428ea387878cf1.jpg","text":"TemporaryFile(/tmp/multipartBody1336673617089356685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338993260,"filename":"image_11042025_00_43_51_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/11/b85170db6994e6c23cc21126b3e069f5.jpg","text":"TemporaryFile(/tmp/multipartBody323743765315480736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338993260,"filename":"image_11042025_00_43_02_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/11/4e214f6e2d77cdca7485bd087436e174.jpg","text":"TemporaryFile(/tmp/multipartBody2941457962984733765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338993260,"filename":"image_11042025_00_43_31_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/11/aaeea773340d641cf1c195ae613b6588.jpg","text":"TemporaryFile(/tmp/multipartBody843563832004057378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338993260,"filename":"image_11042025_00_43_11_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/11/91be6cdd2ca85463a7f2fa0ad08170a7.jpg","text":"TemporaryFile(/tmp/multipartBody1203485193685418901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338993260,"filename":"image_11042025_00_43_41_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/11/31e159f782dc2eea78575be384e99294.jpg","text":"TemporaryFile(/tmp/multipartBody7014424312359583414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744338993260,"filename":"image_11042025_00_43_21_10382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351449759","file1":"1351449756","file0":"1351449754","file4":"1351449765","file5":"1351449767","file3":"1351449762"},"map_files_photo_id_array":[{"photo_id":"1351449767","filename":"file5"},{"photo_id":"1351449759","filename":"file2"},{"photo_id":"1351449765","filename":"file4"},{"photo_id":"1351449756","filename":"file1"},{"photo_id":"1351449754","filename":"file0"},{"photo_id":"1351449762","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351449767":["hashtag1","hashtag2"]},{"1351449754":["hashtag1","hashtag2"]},{"1351449762":["hashtag1","hashtag2"]},{"1351449756":["hashtag1","hashtag2"]},{"1351449765":["hashtag1","hashtag2"]},{"1351449759":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351449767, 1351449754, 1351449762, 1351449756, 1351449765, 1351449759)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.022209882736206 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 04:36:32.943168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/00/43/image_11042025_00_44_01_9423.jpg', '/home/pi/Desktop/images/11042025/00/44/image_11042025_00_44_21_9354.jpg', '/home/pi/Desktop/images/11042025/00/44/image_11042025_00_44_51_9416.jpg', '/home/pi/Desktop/images/11042025/00/44/image_11042025_00_45_01_10347.jpg', '/home/pi/Desktop/images/11042025/00/45/image_11042025_00_45_21_9456.jpg', '/home/pi/Desktop/images/11042025/00/45/image_11042025_00_45_31_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/00/43/image_11042025_00_44_01_9423.jpg
/home/pi/Desktop/images/11042025/00/44/image_11042025_00_44_21_9354.jpg
/home/pi/Desktop/images/11042025/00/44/image_11042025_00_44_51_9416.jpg
/home/pi/Desktop/images/11042025/00/44/image_11042025_00_45_01_10347.jpg
/home/pi/Desktop/images/11042025/00/45/image_11042025_00_45_21_9456.jpg
/home/pi/Desktop/images/11042025/00/45/image_11042025_00_45_31_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":["1351449983","1351450026","1351449953","1351450002","1351449926","1351450049"],"photo_ids_order":["1351449926","1351449953","1351449983","1351450002","1351450026","1351450049"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/43883e124486f091fd6dbac3c094b6ba.jpg","text":"TemporaryFile(/tmp/multipartBody7416574754243735199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339053417,"filename":"image_11042025_00_44_51_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/11/ac2f355c899fb0886fe071dbc2c8d604.jpg","text":"TemporaryFile(/tmp/multipartBody2428176615397010316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339053417,"filename":"image_11042025_00_45_21_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/11/50c9a5894e225b08a27238ecfd034231.jpg","text":"TemporaryFile(/tmp/multipartBody340005407048818051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339053417,"filename":"image_11042025_00_44_21_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/11/24056ffac5c6ca65a2389d40b4e66964.jpg","text":"TemporaryFile(/tmp/multipartBody5667954356260910901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339053417,"filename":"image_11042025_00_45_01_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/11/0cb25b44f68eba374c31da0f40f42823.jpg","text":"TemporaryFile(/tmp/multipartBody2453105945319745211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339053417,"filename":"image_11042025_00_44_01_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/11/86d962c183b368fee4718244af0a9c9b.jpg","text":"TemporaryFile(/tmp/multipartBody465962001368608704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339053417,"filename":"image_11042025_00_45_31_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351449983","file1":"1351449953","file0":"1351449926","file4":"1351450026","file5":"1351450049","file3":"1351450002"},"map_files_photo_id_array":[{"photo_id":"1351450049","filename":"file5"},{"photo_id":"1351449983","filename":"file2"},{"photo_id":"1351450026","filename":"file4"},{"photo_id":"1351449953","filename":"file1"},{"photo_id":"1351449926","filename":"file0"},{"photo_id":"1351450002","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351449983":["hashtag1","hashtag2"]},{"1351450026":["hashtag1","hashtag2"]},{"1351449953":["hashtag1","hashtag2"]},{"1351450002":["hashtag1","hashtag2"]},{"1351449926":["hashtag1","hashtag2"]},{"1351450049":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351449983, 1351450026, 1351449953, 1351450002, 1351449926, 1351450049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.04603910446167 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 04:37:33.172875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/00/45/image_11042025_00_45_41_9429.jpg', '/home/pi/Desktop/images/11042025/00/45/image_11042025_00_45_51_10369.jpg', '/home/pi/Desktop/images/11042025/00/45/image_11042025_00_46_02_10398.jpg', '/home/pi/Desktop/images/11042025/00/46/image_11042025_00_46_11_9347.jpg', '/home/pi/Desktop/images/11042025/00/46/image_11042025_00_46_41_9372.jpg', '/home/pi/Desktop/images/11042025/00/46/image_11042025_00_46_51_10397.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/00/45/image_11042025_00_45_41_9429.jpg
/home/pi/Desktop/images/11042025/00/45/image_11042025_00_45_51_10369.jpg
/home/pi/Desktop/images/11042025/00/45/image_11042025_00_46_02_10398.jpg
/home/pi/Desktop/images/11042025/00/46/image_11042025_00_46_11_9347.jpg
/home/pi/Desktop/images/11042025/00/46/image_11042025_00_46_41_9372.jpg
/home/pi/Desktop/images/11042025/00/46/image_11042025_00_46_51_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":["1351450290","1351450216","1351450181","1351450255","1351450264","1351450234"],"photo_ids_order":["1351450181","1351450216","1351450234","1351450255","1351450264","1351450290"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1e7bb90f07cb1eb419451b9afa3ec965.jpg","text":"TemporaryFile(/tmp/multipartBody4894088010768784089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339113683,"filename":"image_11042025_00_46_51_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/11/c7693d757c7087a01225168bae0c23e5.jpg","text":"TemporaryFile(/tmp/multipartBody7509352754539881710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339113683,"filename":"image_11042025_00_45_51_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/11/31d4f74eaed910e786bd39ef6f35746c.jpg","text":"TemporaryFile(/tmp/multipartBody4026783407178678967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339113683,"filename":"image_11042025_00_45_41_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/11/583727b65af1c71c249d1b76fc2cbefa.jpg","text":"TemporaryFile(/tmp/multipartBody6873562821617928979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339113683,"filename":"image_11042025_00_46_11_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/11/a7bb588cf30039d7b84f76875e92f13f.jpg","text":"TemporaryFile(/tmp/multipartBody1380523995820167928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339113683,"filename":"image_11042025_00_46_41_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/11/96ec4b52413aa84c45f6f62a922e871f.jpg","text":"TemporaryFile(/tmp/multipartBody7890019678826231484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339113683,"filename":"image_11042025_00_46_02_10398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351450234","file1":"1351450216","file0":"1351450181","file4":"1351450264","file5":"1351450290","file3":"1351450255"},"map_files_photo_id_array":[{"photo_id":"1351450290","filename":"file5"},{"photo_id":"1351450234","filename":"file2"},{"photo_id":"1351450264","filename":"file4"},{"photo_id":"1351450216","filename":"file1"},{"photo_id":"1351450181","filename":"file0"},{"photo_id":"1351450255","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351450290":["hashtag1","hashtag2"]},{"1351450216":["hashtag1","hashtag2"]},{"1351450181":["hashtag1","hashtag2"]},{"1351450255":["hashtag1","hashtag2"]},{"1351450264":["hashtag1","hashtag2"]},{"1351450234":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351450290, 1351450216, 1351450181, 1351450255, 1351450264, 1351450234)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.20901703834534 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 04:38:32.407060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/00/47/image_11042025_00_47_11_10421.jpg', '/home/pi/Desktop/images/11042025/00/47/image_11042025_00_47_22_10365.jpg', '/home/pi/Desktop/images/11042025/00/47/image_11042025_00_47_31_9369.jpg', '/home/pi/Desktop/images/11042025/00/47/image_11042025_00_47_41_10396.jpg', '/home/pi/Desktop/images/11042025/00/47/image_11042025_00_47_51_9541.jpg', '/home/pi/Desktop/images/11042025/00/47/image_11042025_00_48_01_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/00/47/image_11042025_00_47_11_10421.jpg
/home/pi/Desktop/images/11042025/00/47/image_11042025_00_47_22_10365.jpg
/home/pi/Desktop/images/11042025/00/47/image_11042025_00_47_31_9369.jpg
/home/pi/Desktop/images/11042025/00/47/image_11042025_00_47_41_10396.jpg
/home/pi/Desktop/images/11042025/00/47/image_11042025_00_47_51_9541.jpg
/home/pi/Desktop/images/11042025/00/47/image_11042025_00_48_01_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":["1351450321","1351450335","1351450326","1351450330","1351450324","1351450333"],"photo_ids_order":["1351450321","1351450324","1351450326","1351450330","1351450333","1351450335"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ea756a4cfc0bc5967d373e328a9ca4cd.jpg","text":"TemporaryFile(/tmp/multipartBody2353683528028317570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339172879,"filename":"image_11042025_00_47_11_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/11/0563a25061aa576f72bb7d9b923e7e4f.jpg","text":"TemporaryFile(/tmp/multipartBody3605724812612243230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339172879,"filename":"image_11042025_00_48_01_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/11/63a20584cd9d14fb79e8b140ff8e7b90.jpg","text":"TemporaryFile(/tmp/multipartBody8309822535250319690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339172879,"filename":"image_11042025_00_47_31_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/11/fc2535e2b8f150498b77b90ee8265319.jpg","text":"TemporaryFile(/tmp/multipartBody6460650634358366999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339172879,"filename":"image_11042025_00_47_41_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/11/de695abbd1b0b449d80a72ac5258a911.jpg","text":"TemporaryFile(/tmp/multipartBody5059478811602755687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339172879,"filename":"image_11042025_00_47_22_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/11/df4e8043f8b203065cf048c9edafc43b.jpg","text":"TemporaryFile(/tmp/multipartBody2375265848294953971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339172879,"filename":"image_11042025_00_47_51_9541.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351450326","file1":"1351450324","file0":"1351450321","file4":"1351450333","file5":"1351450335","file3":"1351450330"},"map_files_photo_id_array":[{"photo_id":"1351450335","filename":"file5"},{"photo_id":"1351450326","filename":"file2"},{"photo_id":"1351450333","filename":"file4"},{"photo_id":"1351450324","filename":"file1"},{"photo_id":"1351450321","filename":"file0"},{"photo_id":"1351450330","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351450321":["hashtag1","hashtag2"]},{"1351450335":["hashtag1","hashtag2"]},{"1351450326":["hashtag1","hashtag2"]},{"1351450330":["hashtag1","hashtag2"]},{"1351450324":["hashtag1","hashtag2"]},{"1351450333":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351450321, 1351450335, 1351450326, 1351450330, 1351450324, 1351450333)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.28161859512329 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 04:39:32.773245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/00/48/image_11042025_00_48_11_9388.jpg', '/home/pi/Desktop/images/11042025/00/48/image_11042025_00_48_31_10364.jpg', '/home/pi/Desktop/images/11042025/00/48/image_11042025_00_48_41_9354.jpg', '/home/pi/Desktop/images/11042025/00/48/image_11042025_00_48_51_10447.jpg', '/home/pi/Desktop/images/11042025/00/48/image_11042025_00_49_02_10355.jpg', '/home/pi/Desktop/images/11042025/00/49/image_11042025_00_49_21_10492.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/00/48/image_11042025_00_48_11_9388.jpg
/home/pi/Desktop/images/11042025/00/48/image_11042025_00_48_31_10364.jpg
/home/pi/Desktop/images/11042025/00/48/image_11042025_00_48_41_9354.jpg
/home/pi/Desktop/images/11042025/00/48/image_11042025_00_48_51_10447.jpg
/home/pi/Desktop/images/11042025/00/48/image_11042025_00_49_02_10355.jpg
/home/pi/Desktop/images/11042025/00/49/image_11042025_00_49_21_10492.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351450743","1351450632","1351450527","1351450806","1351450577","1351450471"],"photo_ids_order":["1351450471","1351450527","1351450577","1351450632","1351450743","1351450806"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8615d1f3d1d4f9dd58a4b1868e29c2d7.jpg","text":"TemporaryFile(/tmp/multipartBody7188679355686880249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339233239,"filename":"image_11042025_00_49_02_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/11/0e168e5dbca5ac43678fe4b254e3cde8.jpg","text":"TemporaryFile(/tmp/multipartBody8493519650423236266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339233239,"filename":"image_11042025_00_48_51_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/11/6f169559b80e0da5150560dfe3bfee93.jpg","text":"TemporaryFile(/tmp/multipartBody6883374897161008960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339233239,"filename":"image_11042025_00_48_31_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/11/161d963f6aafaf10f767b6904b55ad7c.jpg","text":"TemporaryFile(/tmp/multipartBody8259143295076262082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339233239,"filename":"image_11042025_00_49_21_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/11/600248bac4882b40fa1b6b92fbcb330d.jpg","text":"TemporaryFile(/tmp/multipartBody1084433085605163925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339233239,"filename":"image_11042025_00_48_41_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/11/1bc6c9867453575a268d0a7d4990b1fe.jpg","text":"TemporaryFile(/tmp/multipartBody1034110878738679287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339233239,"filename":"image_11042025_00_48_11_9388.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351450577","file1":"1351450527","file0":"1351450471","file4":"1351450743","file5":"1351450806","file3":"1351450632"},"map_files_photo_id_array":[{"photo_id":"1351450806","filename":"file5"},{"photo_id":"1351450577","filename":"file2"},{"photo_id":"1351450743","filename":"file4"},{"photo_id":"1351450527","filename":"file1"},{"photo_id":"1351450471","filename":"file0"},{"photo_id":"1351450632","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351450743":["hashtag1","hashtag2"]},{"1351450632":["hashtag1","hashtag2"]},{"1351450527":["hashtag1","hashtag2"]},{"1351450806":["hashtag1","hashtag2"]},{"1351450577":["hashtag1","hashtag2"]},{"1351450471":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351450743, 1351450632, 1351450527, 1351450806, 1351450577, 1351450471)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.19357681274414 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 04:40:33.035409
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/00/49/image_11042025_00_49_31_9426.jpg', '/home/pi/Desktop/images/11042025/00/49/image_11042025_00_50_01_9369.jpg', '/home/pi/Desktop/images/11042025/00/50/image_11042025_00_50_21_9496.jpg', '/home/pi/Desktop/images/11042025/00/50/image_11042025_00_50_31_10380.jpg', '/home/pi/Desktop/images/11042025/00/50/image_11042025_00_51_02_10429.jpg', '/home/pi/Desktop/images/11042025/00/51/image_11042025_00_51_11_9381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/00/49/image_11042025_00_49_31_9426.jpg
/home/pi/Desktop/images/11042025/00/49/image_11042025_00_50_01_9369.jpg
/home/pi/Desktop/images/11042025/00/50/image_11042025_00_50_21_9496.jpg
/home/pi/Desktop/images/11042025/00/50/image_11042025_00_50_31_10380.jpg
/home/pi/Desktop/images/11042025/00/50/image_11042025_00_51_02_10429.jpg
/home/pi/Desktop/images/11042025/00/51/image_11042025_00_51_11_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":["1351450952","1351450942","1351450945","1351450939","1351450948","1351450915"],"photo_ids_order":["1351450915","1351450939","1351450942","1351450945","1351450948","1351450952"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ac62cebab6023b716298827a5ba2dbbf.jpg","text":"TemporaryFile(/tmp/multipartBody3412868753289346676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339293518,"filename":"image_11042025_00_51_11_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/11/cc7cd22f16217248400f882788a3a9ea.jpg","text":"TemporaryFile(/tmp/multipartBody3985731728441386906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339293518,"filename":"image_11042025_00_50_21_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/11/5c9f6545e50848bb3d4c3bf083ba20a5.jpg","text":"TemporaryFile(/tmp/multipartBody4661010367016736478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339293518,"filename":"image_11042025_00_50_31_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/11/f695e8b860c14ad79e9303eb7be91aa9.jpg","text":"TemporaryFile(/tmp/multipartBody2218708601645333561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339293518,"filename":"image_11042025_00_50_01_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/11/983cf26ad3b706023b2db155ad90c4e4.jpg","text":"TemporaryFile(/tmp/multipartBody8302565698023614780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339293518,"filename":"image_11042025_00_51_02_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/11/f5cefbccd311118eede72f95e43c322f.jpg","text":"TemporaryFile(/tmp/multipartBody6070272415868852667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339293518,"filename":"image_11042025_00_49_31_9426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351450942","file1":"1351450939","file0":"1351450915","file4":"1351450948","file5":"1351450952","file3":"1351450945"},"map_files_photo_id_array":[{"photo_id":"1351450952","filename":"file5"},{"photo_id":"1351450942","filename":"file2"},{"photo_id":"1351450948","filename":"file4"},{"photo_id":"1351450939","filename":"file1"},{"photo_id":"1351450915","filename":"file0"},{"photo_id":"1351450945","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351450952":["hashtag1","hashtag2"]},{"1351450942":["hashtag1","hashtag2"]},{"1351450945":["hashtag1","hashtag2"]},{"1351450939":["hashtag1","hashtag2"]},{"1351450948":["hashtag1","hashtag2"]},{"1351450915":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351450952, 1351450942, 1351450945, 1351450939, 1351450948, 1351450915)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.17062497138977 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 04:41:33.175743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/00/51/image_11042025_00_51_21_10380.jpg', '/home/pi/Desktop/images/11042025/00/51/image_11042025_00_51_31_9500.jpg', '/home/pi/Desktop/images/11042025/00/51/image_11042025_00_51_41_10373.jpg', '/home/pi/Desktop/images/11042025/00/51/image_11042025_00_51_52_10369.jpg', '/home/pi/Desktop/images/11042025/00/51/image_11042025_00_52_01_9427.jpg', '/home/pi/Desktop/images/11042025/00/52/image_11042025_00_52_11_10412.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/00/51/image_11042025_00_51_21_10380.jpg
/home/pi/Desktop/images/11042025/00/51/image_11042025_00_51_31_9500.jpg
/home/pi/Desktop/images/11042025/00/51/image_11042025_00_51_41_10373.jpg
/home/pi/Desktop/images/11042025/00/51/image_11042025_00_51_52_10369.jpg
/home/pi/Desktop/images/11042025/00/51/image_11042025_00_52_01_9427.jpg
/home/pi/Desktop/images/11042025/00/52/image_11042025_00_52_11_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":["1351450974","1351450982","1351450985","1351450988","1351450969","1351450978"],"photo_ids_order":["1351450969","1351450974","1351450978","1351450982","1351450985","1351450988"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a68b830c4e7c7bad6a7f7440026f8898.jpg","text":"TemporaryFile(/tmp/multipartBody9031992747934157750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339353644,"filename":"image_11042025_00_51_31_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/11/b7cc0be9864ab73019acb8babf1b55e3.jpg","text":"TemporaryFile(/tmp/multipartBody4475103814409773889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339353644,"filename":"image_11042025_00_51_52_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/11/9109a59fe7dae4a84b358e58b52a4f18.jpg","text":"TemporaryFile(/tmp/multipartBody7846973911535428063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339353644,"filename":"image_11042025_00_52_01_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/11/75b4a3a82a91a96b0be5ef45c07d8664.jpg","text":"TemporaryFile(/tmp/multipartBody294707103539248048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339353644,"filename":"image_11042025_00_52_11_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/11/f08fef6c7261a7c3f4291c14e139a7bd.jpg","text":"TemporaryFile(/tmp/multipartBody645156242849980013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339353644,"filename":"image_11042025_00_51_21_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/11/69975f17abe345510295493445561a68.jpg","text":"TemporaryFile(/tmp/multipartBody1598631912521873198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339353644,"filename":"image_11042025_00_51_41_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351450978","file1":"1351450974","file0":"1351450969","file4":"1351450985","file5":"1351450988","file3":"1351450982"},"map_files_photo_id_array":[{"photo_id":"1351450988","filename":"file5"},{"photo_id":"1351450978","filename":"file2"},{"photo_id":"1351450985","filename":"file4"},{"photo_id":"1351450974","filename":"file1"},{"photo_id":"1351450969","filename":"file0"},{"photo_id":"1351450982","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351450974":["hashtag1","hashtag2"]},{"1351450982":["hashtag1","hashtag2"]},{"1351450985":["hashtag1","hashtag2"]},{"1351450988":["hashtag1","hashtag2"]},{"1351450969":["hashtag1","hashtag2"]},{"1351450978":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351450974, 1351450982, 1351450985, 1351450988, 1351450969, 1351450978)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.33534860610962 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 04:42:32.296538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/00/52/image_11042025_00_52_21_9376.jpg', '/home/pi/Desktop/images/11042025/00/52/image_11042025_00_52_31_10407.jpg', '/home/pi/Desktop/images/11042025/00/52/image_11042025_00_52_42_10382.jpg', '/home/pi/Desktop/images/11042025/00/52/image_11042025_00_52_51_9389.jpg', '/home/pi/Desktop/images/11042025/00/52/image_11042025_00_53_01_10372.jpg', '/home/pi/Desktop/images/11042025/00/53/image_11042025_00_53_11_9452.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/00/52/image_11042025_00_52_21_9376.jpg
/home/pi/Desktop/images/11042025/00/52/image_11042025_00_52_31_10407.jpg
/home/pi/Desktop/images/11042025/00/52/image_11042025_00_52_42_10382.jpg
/home/pi/Desktop/images/11042025/00/52/image_11042025_00_52_51_9389.jpg
/home/pi/Desktop/images/11042025/00/52/image_11042025_00_53_01_10372.jpg
/home/pi/Desktop/images/11042025/00/53/image_11042025_00_53_11_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":["1351450992","1351451004","1351451006","1351450999","1351450996","1351451008"],"photo_ids_order":["1351450992","1351450996","1351450999","1351451004","1351451006","1351451008"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7de69002f4ebabf5de264d80230ebe94.jpg","text":"TemporaryFile(/tmp/multipartBody4020540078871969775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339412761,"filename":"image_11042025_00_52_21_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/11/86a8961cbef850c032b5e240f9607f3c.jpg","text":"TemporaryFile(/tmp/multipartBody5959599637717445876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339412761,"filename":"image_11042025_00_52_51_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/11/2e5f22d058920f5f5d000b0c913c2b5f.jpg","text":"TemporaryFile(/tmp/multipartBody4574000000417485834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339412761,"filename":"image_11042025_00_53_01_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/11/112dd758b7e398339d1bbc9c408bbe3d.jpg","text":"TemporaryFile(/tmp/multipartBody7757630397544361468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339412761,"filename":"image_11042025_00_52_42_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/11/525a6410823788cecef0df521f76666e.jpg","text":"TemporaryFile(/tmp/multipartBody9137470183778715645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339412761,"filename":"image_11042025_00_52_31_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/11/f6d5efcf05ea11b497ad09aede556561.jpg","text":"TemporaryFile(/tmp/multipartBody6141729392298796067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339412761,"filename":"image_11042025_00_53_11_9452.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351450999","file1":"1351450996","file0":"1351450992","file4":"1351451006","file5":"1351451008","file3":"1351451004"},"map_files_photo_id_array":[{"photo_id":"1351451008","filename":"file5"},{"photo_id":"1351450999","filename":"file2"},{"photo_id":"1351451006","filename":"file4"},{"photo_id":"1351450996","filename":"file1"},{"photo_id":"1351450992","filename":"file0"},{"photo_id":"1351451004","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351450992":["hashtag1","hashtag2"]},{"1351451004":["hashtag1","hashtag2"]},{"1351451006":["hashtag1","hashtag2"]},{"1351450999":["hashtag1","hashtag2"]},{"1351450996":["hashtag1","hashtag2"]},{"1351451008":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351450992, 1351451004, 1351451006, 1351450999, 1351450996, 1351451008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.7499794960022 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 04:43:32.514049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/00/53/image_11042025_00_53_21_10377.jpg', '/home/pi/Desktop/images/11042025/00/53/image_11042025_00_53_32_10378.jpg', '/home/pi/Desktop/images/11042025/00/53/image_11042025_00_53_41_9435.jpg', '/home/pi/Desktop/images/11042025/00/53/image_11042025_00_53_51_10451.jpg', '/home/pi/Desktop/images/11042025/00/53/image_11042025_00_54_01_9478.jpg', '/home/pi/Desktop/images/11042025/00/54/image_11042025_00_54_11_10376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/00/53/image_11042025_00_53_21_10377.jpg
/home/pi/Desktop/images/11042025/00/53/image_11042025_00_53_32_10378.jpg
/home/pi/Desktop/images/11042025/00/53/image_11042025_00_53_41_9435.jpg
/home/pi/Desktop/images/11042025/00/53/image_11042025_00_53_51_10451.jpg
/home/pi/Desktop/images/11042025/00/53/image_11042025_00_54_01_9478.jpg
/home/pi/Desktop/images/11042025/00/54/image_11042025_00_54_11_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":["1351451237","1351451153","1351451135","1351451149","1351451152","1351451088"],"photo_ids_order":["1351451088","1351451135","1351451149","1351451152","1351451153","1351451237"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a4c86aed396a118f457b1eb4f71075ee.jpg","text":"TemporaryFile(/tmp/multipartBody908974771633835917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339472983,"filename":"image_11042025_00_54_11_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/11/eaea4424776454aa546a0680a7b64092.jpg","text":"TemporaryFile(/tmp/multipartBody7692873399525084080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339472983,"filename":"image_11042025_00_54_01_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/11/746f2be4e59e4c210077fa23d10d4368.jpg","text":"TemporaryFile(/tmp/multipartBody8424506883040001402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339472983,"filename":"image_11042025_00_53_32_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/11/8ec307d3283c9b19ba120f4e15f729c1.jpg","text":"TemporaryFile(/tmp/multipartBody1251468759425295902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339472983,"filename":"image_11042025_00_53_41_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/11/dd52e7b43a4f8da1ef850aa6b01a1ebc.jpg","text":"TemporaryFile(/tmp/multipartBody6238440484382585361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339472983,"filename":"image_11042025_00_53_51_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/11/0b309649fae739eabb80710405c623f7.jpg","text":"TemporaryFile(/tmp/multipartBody8711649169695349473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339472983,"filename":"image_11042025_00_53_21_10377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351451149","file1":"1351451135","file0":"1351451088","file4":"1351451153","file5":"1351451237","file3":"1351451152"},"map_files_photo_id_array":[{"photo_id":"1351451237","filename":"file5"},{"photo_id":"1351451149","filename":"file2"},{"photo_id":"1351451153","filename":"file4"},{"photo_id":"1351451135","filename":"file1"},{"photo_id":"1351451088","filename":"file0"},{"photo_id":"1351451152","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351451237":["hashtag1","hashtag2"]},{"1351451153":["hashtag1","hashtag2"]},{"1351451135":["hashtag1","hashtag2"]},{"1351451149":["hashtag1","hashtag2"]},{"1351451152":["hashtag1","hashtag2"]},{"1351451088":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351451237, 1351451153, 1351451135, 1351451149, 1351451152, 1351451088)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.379738569259644 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 04:44:32.780407
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/00/54/image_11042025_00_54_31_10371.jpg', '/home/pi/Desktop/images/11042025/00/54/image_11042025_00_54_42_10464.jpg', '/home/pi/Desktop/images/11042025/00/54/image_11042025_00_54_51_9404.jpg', '/home/pi/Desktop/images/11042025/00/54/image_11042025_00_55_01_10440.jpg', '/home/pi/Desktop/images/11042025/00/55/image_11042025_00_55_21_10370.jpg', '/home/pi/Desktop/images/11042025/00/55/image_11042025_00_55_32_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/00/54/image_11042025_00_54_31_10371.jpg
/home/pi/Desktop/images/11042025/00/54/image_11042025_00_54_42_10464.jpg
/home/pi/Desktop/images/11042025/00/54/image_11042025_00_54_51_9404.jpg
/home/pi/Desktop/images/11042025/00/54/image_11042025_00_55_01_10440.jpg
/home/pi/Desktop/images/11042025/00/55/image_11042025_00_55_21_10370.jpg
/home/pi/Desktop/images/11042025/00/55/image_11042025_00_55_32_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":["1351451507","1351451491","1351451455","1351451499","1351451437","1351451478"],"photo_ids_order":["1351451437","1351451455","1351451478","1351451491","1351451499","1351451507"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/84bc5b750fdde9ace2812137f8244f96.jpg","text":"TemporaryFile(/tmp/multipartBody882642846974704472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339533264,"filename":"image_11042025_00_55_32_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/11/ce9deb04f2d0540c631c0c9b772b834d.jpg","text":"TemporaryFile(/tmp/multipartBody6863170558870114159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339533264,"filename":"image_11042025_00_55_01_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/11/3f83f1ea82d347f3bf9549593f12c673.jpg","text":"TemporaryFile(/tmp/multipartBody8080980306029599831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339533264,"filename":"image_11042025_00_54_42_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/11/3740869e4b02ac7594598c5e9ddada1f.jpg","text":"TemporaryFile(/tmp/multipartBody3175979748235040471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339533264,"filename":"image_11042025_00_55_21_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/11/66566c55c53b2f95ffd9442cd4e5dbf5.jpg","text":"TemporaryFile(/tmp/multipartBody7516603269137149574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339533264,"filename":"image_11042025_00_54_31_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/11/bc29d91d31f2b461d4bb5d29f61a83d5.jpg","text":"TemporaryFile(/tmp/multipartBody1415386071952951231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339533264,"filename":"image_11042025_00_54_51_9404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351451478","file1":"1351451455","file0":"1351451437","file4":"1351451499","file5":"1351451507","file3":"1351451491"},"map_files_photo_id_array":[{"photo_id":"1351451507","filename":"file5"},{"photo_id":"1351451478","filename":"file2"},{"photo_id":"1351451499","filename":"file4"},{"photo_id":"1351451455","filename":"file1"},{"photo_id":"1351451437","filename":"file0"},{"photo_id":"1351451491","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351451507":["hashtag1","hashtag2"]},{"1351451491":["hashtag1","hashtag2"]},{"1351451455":["hashtag1","hashtag2"]},{"1351451499":["hashtag1","hashtag2"]},{"1351451437":["hashtag1","hashtag2"]},{"1351451478":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351451507, 1351451491, 1351451455, 1351451499, 1351451437, 1351451478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.22144913673401 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 04:45:33.073381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/00/55/image_11042025_00_55_41_9451.jpg', '/home/pi/Desktop/images/11042025/00/55/image_11042025_00_55_51_10369.jpg', '/home/pi/Desktop/images/11042025/00/55/image_11042025_00_56_01_9357.jpg', '/home/pi/Desktop/images/11042025/00/56/image_11042025_00_56_11_10385.jpg', '/home/pi/Desktop/images/11042025/00/56/image_11042025_00_56_41_10372.jpg', '/home/pi/Desktop/images/11042025/00/56/image_11042025_00_56_51_9469.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/00/55/image_11042025_00_55_41_9451.jpg
/home/pi/Desktop/images/11042025/00/55/image_11042025_00_55_51_10369.jpg
/home/pi/Desktop/images/11042025/00/55/image_11042025_00_56_01_9357.jpg
/home/pi/Desktop/images/11042025/00/56/image_11042025_00_56_11_10385.jpg
/home/pi/Desktop/images/11042025/00/56/image_11042025_00_56_41_10372.jpg
/home/pi/Desktop/images/11042025/00/56/image_11042025_00_56_51_9469.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351451763","1351451736","1351451681","1351451777","1351451684","1351451767"],"photo_ids_order":["1351451681","1351451684","1351451736","1351451763","1351451767","1351451777"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e5129a1c92baa0302fb6413c8e815588.jpg","text":"TemporaryFile(/tmp/multipartBody2823422928449938456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339593539,"filename":"image_11042025_00_56_11_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/11/45587aee2707fac999b1895fb82620f1.jpg","text":"TemporaryFile(/tmp/multipartBody3688781640896889763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339593539,"filename":"image_11042025_00_56_01_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/11/d65133668ecc3265779171ce7b7e21ca.jpg","text":"TemporaryFile(/tmp/multipartBody6790131340179121848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339593539,"filename":"image_11042025_00_55_41_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/11/616de6e5670d25dfe6bf7755881bdc86.jpg","text":"TemporaryFile(/tmp/multipartBody1094739066645776463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339593539,"filename":"image_11042025_00_56_51_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/11/40854d098676f580975eda7e33733e9c.jpg","text":"TemporaryFile(/tmp/multipartBody6242490391077830541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339593539,"filename":"image_11042025_00_55_51_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/11/2a03b59532f768cac4723a5b700838f8.jpg","text":"TemporaryFile(/tmp/multipartBody4164823725589857111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339593539,"filename":"image_11042025_00_56_41_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351451736","file1":"1351451684","file0":"1351451681","file4":"1351451767","file5":"1351451777","file3":"1351451763"},"map_files_photo_id_array":[{"photo_id":"1351451777","filename":"file5"},{"photo_id":"1351451736","filename":"file2"},{"photo_id":"1351451767","filename":"file4"},{"photo_id":"1351451684","filename":"file1"},{"photo_id":"1351451681","filename":"file0"},{"photo_id":"1351451763","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351451763":["hashtag1","hashtag2"]},{"1351451736":["hashtag1","hashtag2"]},{"1351451681":["hashtag1","hashtag2"]},{"1351451777":["hashtag1","hashtag2"]},{"1351451684":["hashtag1","hashtag2"]},{"1351451767":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351451763, 1351451736, 1351451681, 1351451777, 1351451684, 1351451767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.529768228530884 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 04:46:33.181219
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/00/57/image_11042025_00_57_12_10369.jpg', '/home/pi/Desktop/images/11042025/00/57/image_11042025_00_57_21_9361.jpg', '/home/pi/Desktop/images/11042025/00/57/image_11042025_00_57_31_10374.jpg', '/home/pi/Desktop/images/11042025/00/57/image_11042025_00_58_02_10370.jpg', '/home/pi/Desktop/images/11042025/00/58/image_11042025_00_58_11_9353.jpg', '/home/pi/Desktop/images/11042025/00/58/image_11042025_00_58_51_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/00/57/image_11042025_00_57_12_10369.jpg
/home/pi/Desktop/images/11042025/00/57/image_11042025_00_57_21_9361.jpg
/home/pi/Desktop/images/11042025/00/57/image_11042025_00_57_31_10374.jpg
/home/pi/Desktop/images/11042025/00/57/image_11042025_00_58_02_10370.jpg
/home/pi/Desktop/images/11042025/00/58/image_11042025_00_58_11_9353.jpg
/home/pi/Desktop/images/11042025/00/58/image_11042025_00_58_51_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":["1351451817","1351451812","1351451806","1351451815","1351451809","1351451803"],"photo_ids_order":["1351451803","1351451806","1351451809","1351451812","1351451815","1351451817"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d2b1a1c461bb2c39ce955149bb862a21.jpg","text":"TemporaryFile(/tmp/multipartBody6291240561306046818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339653649,"filename":"image_11042025_00_58_51_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/11/0474c52e437b733e1a3043d2278df032.jpg","text":"TemporaryFile(/tmp/multipartBody6046137631090603636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339653649,"filename":"image_11042025_00_58_02_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/11/cc1acc8bc50c62fb439611a0c477a3d7.jpg","text":"TemporaryFile(/tmp/multipartBody7423406856119747376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339653649,"filename":"image_11042025_00_57_21_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/11/56925307d899782511dbbe4a58aa3144.jpg","text":"TemporaryFile(/tmp/multipartBody7169621762368855544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339653649,"filename":"image_11042025_00_58_11_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/11/553e8553f3d5d0590ea88412fb7a4295.jpg","text":"TemporaryFile(/tmp/multipartBody8498917118292594602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339653649,"filename":"image_11042025_00_57_31_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/11/5dc2b883cf7517ab287ff1542ba8e23f.jpg","text":"TemporaryFile(/tmp/multipartBody2121254029906450572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339653649,"filename":"image_11042025_00_57_12_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351451809","file1":"1351451806","file0":"1351451803","file4":"1351451815","file5":"1351451817","file3":"1351451812"},"map_files_photo_id_array":[{"photo_id":"1351451817","filename":"file5"},{"photo_id":"1351451809","filename":"file2"},{"photo_id":"1351451815","filename":"file4"},{"photo_id":"1351451806","filename":"file1"},{"photo_id":"1351451803","filename":"file0"},{"photo_id":"1351451812","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351451817":["hashtag1","hashtag2"]},{"1351451812":["hashtag1","hashtag2"]},{"1351451806":["hashtag1","hashtag2"]},{"1351451815":["hashtag1","hashtag2"]},{"1351451809":["hashtag1","hashtag2"]},{"1351451803":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351451817, 1351451812, 1351451806, 1351451815, 1351451809, 1351451803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.70964550971985 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 04:47:32.336174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/00/59/image_11042025_00_59_21_9466.jpg', '/home/pi/Desktop/images/11042025/01/01/image_11042025_01_01_14_10085.jpg', '/home/pi/Desktop/images/11042025/01/01/image_11042025_01_01_35_10365.jpg', '/home/pi/Desktop/images/11042025/01/01/image_11042025_01_01_45_9367.jpg', '/home/pi/Desktop/images/11042025/01/01/image_11042025_01_01_55_10466.jpg', '/home/pi/Desktop/images/11042025/01/01/image_11042025_01_02_04_9366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/00/59/image_11042025_00_59_21_9466.jpg
/home/pi/Desktop/images/11042025/01/01/image_11042025_01_01_14_10085.jpg
/home/pi/Desktop/images/11042025/01/01/image_11042025_01_01_35_10365.jpg
/home/pi/Desktop/images/11042025/01/01/image_11042025_01_01_45_9367.jpg
/home/pi/Desktop/images/11042025/01/01/image_11042025_01_01_55_10466.jpg
/home/pi/Desktop/images/11042025/01/01/image_11042025_01_02_04_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":["1351451904","1351451888","1351451899","1351451896","1351451902","1351451877"],"photo_ids_order":["1351451877","1351451888","1351451896","1351451899","1351451902","1351451904"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4f114ea27cc32d135900c03ba15d5376.jpg","text":"TemporaryFile(/tmp/multipartBody7972897160187263482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339712800,"filename":"image_11042025_01_02_04_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/df44f93a46dfce69cd4581ace8f66acc.jpg","text":"TemporaryFile(/tmp/multipartBody2659120273931145430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339712800,"filename":"image_11042025_01_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/11/51257822573dc6419cf2c639e9eb3a41.jpg","text":"TemporaryFile(/tmp/multipartBody1511733133008907921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339712800,"filename":"image_11042025_01_01_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/11/13280f910eb6954c73afe984339ed4f9.jpg","text":"TemporaryFile(/tmp/multipartBody3771191975183592590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339712800,"filename":"image_11042025_01_01_35_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/50581f056da0cd336e2ec53c061e081b.jpg","text":"TemporaryFile(/tmp/multipartBody1362630390036040956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339712800,"filename":"image_11042025_01_01_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/11/f0f0170f3d239d7bfec9f001206dfb5d.jpg","text":"TemporaryFile(/tmp/multipartBody1955092907361920752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339712800,"filename":"image_11042025_00_59_21_9466.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351451896","file1":"1351451888","file0":"1351451877","file4":"1351451902","file5":"1351451904","file3":"1351451899"},"map_files_photo_id_array":[{"photo_id":"1351451904","filename":"file5"},{"photo_id":"1351451896","filename":"file2"},{"photo_id":"1351451902","filename":"file4"},{"photo_id":"1351451888","filename":"file1"},{"photo_id":"1351451877","filename":"file0"},{"photo_id":"1351451899","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351451904":["hashtag1","hashtag2"]},{"1351451888":["hashtag1","hashtag2"]},{"1351451899":["hashtag1","hashtag2"]},{"1351451896":["hashtag1","hashtag2"]},{"1351451902":["hashtag1","hashtag2"]},{"1351451877":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351451904, 1351451888, 1351451899, 1351451896, 1351451902, 1351451877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.04350209236145 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 04:48:32.641333
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/01/02/image_11042025_01_02_15_10369.jpg', '/home/pi/Desktop/images/11042025/01/02/image_11042025_01_02_25_10479.jpg', '/home/pi/Desktop/images/11042025/01/02/image_11042025_01_02_35_9486.jpg', '/home/pi/Desktop/images/11042025/01/03/image_11042025_01_03_25_10420.jpg', '/home/pi/Desktop/images/11042025/01/03/image_11042025_01_03_35_10352.jpg', '/home/pi/Desktop/images/11042025/01/03/image_11042025_01_03_45_9357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/01/02/image_11042025_01_02_15_10369.jpg
/home/pi/Desktop/images/11042025/01/02/image_11042025_01_02_25_10479.jpg
/home/pi/Desktop/images/11042025/01/02/image_11042025_01_02_35_9486.jpg
/home/pi/Desktop/images/11042025/01/03/image_11042025_01_03_25_10420.jpg
/home/pi/Desktop/images/11042025/01/03/image_11042025_01_03_35_10352.jpg
/home/pi/Desktop/images/11042025/01/03/image_11042025_01_03_45_9357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351452053","1351452064","1351452067","1351452061","1351452049","1351452057"],"photo_ids_order":["1351452049","1351452053","1351452057","1351452061","1351452064","1351452067"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c0fba4233db7250917d5c0df573ede9d.jpg","text":"TemporaryFile(/tmp/multipartBody5079977250522641381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339773116,"filename":"image_11042025_01_02_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/11/1e218398d019d17ba5db1c172e2fdfa0.jpg","text":"TemporaryFile(/tmp/multipartBody8141665903952623091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339773116,"filename":"image_11042025_01_03_35_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f1b26a285a797d6658dddfa9ebb0428f.jpg","text":"TemporaryFile(/tmp/multipartBody4819250648330248526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339773116,"filename":"image_11042025_01_03_45_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5de8f18d93d3fdcbeeea04c2ed0d4f5c.jpg","text":"TemporaryFile(/tmp/multipartBody389728646403320513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339773116,"filename":"image_11042025_01_03_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/11/762688025d219a90adbae0b9afe9ec56.jpg","text":"TemporaryFile(/tmp/multipartBody9064158139615581080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339773116,"filename":"image_11042025_01_02_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/11/78a4cc46735252f89f4c90629a227f07.jpg","text":"TemporaryFile(/tmp/multipartBody5311681801634710797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339773116,"filename":"image_11042025_01_02_35_9486.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351452057","file1":"1351452053","file0":"1351452049","file4":"1351452064","file5":"1351452067","file3":"1351452061"},"map_files_photo_id_array":[{"photo_id":"1351452067","filename":"file5"},{"photo_id":"1351452057","filename":"file2"},{"photo_id":"1351452064","filename":"file4"},{"photo_id":"1351452053","filename":"file1"},{"photo_id":"1351452049","filename":"file0"},{"photo_id":"1351452061","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351452053":["hashtag1","hashtag2"]},{"1351452064":["hashtag1","hashtag2"]},{"1351452067":["hashtag1","hashtag2"]},{"1351452061":["hashtag1","hashtag2"]},{"1351452049":["hashtag1","hashtag2"]},{"1351452057":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351452053, 1351452064, 1351452067, 1351452061, 1351452049, 1351452057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.39741897583008 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 04:49:32.926252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/01/04/image_11042025_01_04_25_10408.jpg', '/home/pi/Desktop/images/11042025/01/04/image_11042025_01_05_05_10418.jpg', '/home/pi/Desktop/images/11042025/01/05/image_11042025_01_05_55_10948.jpg', '/home/pi/Desktop/images/11042025/01/06/image_11042025_01_07_05_10379.jpg', '/home/pi/Desktop/images/11042025/01/07/image_11042025_01_07_14_9381.jpg', '/home/pi/Desktop/images/11042025/01/07/image_11042025_01_07_25_10433.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/01/04/image_11042025_01_04_25_10408.jpg
/home/pi/Desktop/images/11042025/01/04/image_11042025_01_05_05_10418.jpg
/home/pi/Desktop/images/11042025/01/05/image_11042025_01_05_55_10948.jpg
/home/pi/Desktop/images/11042025/01/06/image_11042025_01_07_05_10379.jpg
/home/pi/Desktop/images/11042025/01/07/image_11042025_01_07_14_9381.jpg
/home/pi/Desktop/images/11042025/01/07/image_11042025_01_07_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":["1351452315","1351452257","1351452227","1351452291","1351452324","1351452333"],"photo_ids_order":["1351452227","1351452257","1351452291","1351452315","1351452324","1351452333"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/43b2b295c472dd77bd45faa850dd6ea1.jpg","text":"TemporaryFile(/tmp/multipartBody9092425420987795450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339833399,"filename":"image_11042025_01_07_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/11/62552bd6ec862386f41f8e816632851d.jpg","text":"TemporaryFile(/tmp/multipartBody4848361439472307779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339833399,"filename":"image_11042025_01_05_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/11/035eaebe508d7e7242647c5e30c30605.jpg","text":"TemporaryFile(/tmp/multipartBody960262204176609776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339833399,"filename":"image_11042025_01_04_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/11/401f5fc2d9dfb4097a6d52a43ff7abdb.jpg","text":"TemporaryFile(/tmp/multipartBody4024925186267461190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339833399,"filename":"image_11042025_01_05_55_10948.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/259e3f7db6bc7e1e1089eb05a8cd0d35.jpg","text":"TemporaryFile(/tmp/multipartBody5911767976880511169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339833399,"filename":"image_11042025_01_07_14_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/420fa8374d3e080108d70b7eae2a73d7.jpg","text":"TemporaryFile(/tmp/multipartBody2649080582098305580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339833399,"filename":"image_11042025_01_07_25_10433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351452291","file1":"1351452257","file0":"1351452227","file4":"1351452324","file5":"1351452333","file3":"1351452315"},"map_files_photo_id_array":[{"photo_id":"1351452333","filename":"file5"},{"photo_id":"1351452291","filename":"file2"},{"photo_id":"1351452324","filename":"file4"},{"photo_id":"1351452257","filename":"file1"},{"photo_id":"1351452227","filename":"file0"},{"photo_id":"1351452315","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351452315":["hashtag1","hashtag2"]},{"1351452257":["hashtag1","hashtag2"]},{"1351452227":["hashtag1","hashtag2"]},{"1351452291":["hashtag1","hashtag2"]},{"1351452324":["hashtag1","hashtag2"]},{"1351452333":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351452315, 1351452257, 1351452227, 1351452291, 1351452324, 1351452333)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.52131938934326 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 04:50:32.998915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/01/07/image_11042025_01_07_35_10372.jpg', '/home/pi/Desktop/images/11042025/01/07/image_11042025_01_07_45_9385.jpg', '/home/pi/Desktop/images/11042025/01/07/image_11042025_01_08_05_9372.jpg', '/home/pi/Desktop/images/11042025/01/08/image_11042025_01_08_35_10454.jpg', '/home/pi/Desktop/images/11042025/01/08/image_11042025_01_08_45_10362.jpg', '/home/pi/Desktop/images/11042025/01/08/image_11042025_01_09_05_10467.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/01/07/image_11042025_01_07_35_10372.jpg
/home/pi/Desktop/images/11042025/01/07/image_11042025_01_07_45_9385.jpg
/home/pi/Desktop/images/11042025/01/07/image_11042025_01_08_05_9372.jpg
/home/pi/Desktop/images/11042025/01/08/image_11042025_01_08_35_10454.jpg
/home/pi/Desktop/images/11042025/01/08/image_11042025_01_08_45_10362.jpg
/home/pi/Desktop/images/11042025/01/08/image_11042025_01_09_05_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":["1351452749","1351452683","1351452764","1351452650","1351452778","1351452717"],"photo_ids_order":["1351452650","1351452683","1351452717","1351452749","1351452764","1351452778"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/16285fc00aaabbb8df449c9c1f5a14e9.jpg","text":"TemporaryFile(/tmp/multipartBody4744457598193966359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339893467,"filename":"image_11042025_01_08_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/11/b380a4fba9b86fc1c8ef41c6a7d8d2a1.jpg","text":"TemporaryFile(/tmp/multipartBody7136429895944792340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339893467,"filename":"image_11042025_01_07_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/11/af25e79999abf8e61fd27164bae8190b.jpg","text":"TemporaryFile(/tmp/multipartBody8689528859816020836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339893467,"filename":"image_11042025_01_08_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/11/f01daeaf2f09fd33e3dc110a637ab119.jpg","text":"TemporaryFile(/tmp/multipartBody1031043128441866183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339893467,"filename":"image_11042025_01_07_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/11/8edfcdade81c2cf2f2d08534e65199de.jpg","text":"TemporaryFile(/tmp/multipartBody8180603920855782245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339893467,"filename":"image_11042025_01_09_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/11/c10e068d0841845bb0e04aae4d68fd41.jpg","text":"TemporaryFile(/tmp/multipartBody7893844979210818860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339893467,"filename":"image_11042025_01_08_05_9372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351452717","file1":"1351452683","file0":"1351452650","file4":"1351452764","file5":"1351452778","file3":"1351452749"},"map_files_photo_id_array":[{"photo_id":"1351452778","filename":"file5"},{"photo_id":"1351452717","filename":"file2"},{"photo_id":"1351452764","filename":"file4"},{"photo_id":"1351452683","filename":"file1"},{"photo_id":"1351452650","filename":"file0"},{"photo_id":"1351452749","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351452749":["hashtag1","hashtag2"]},{"1351452683":["hashtag1","hashtag2"]},{"1351452764":["hashtag1","hashtag2"]},{"1351452650":["hashtag1","hashtag2"]},{"1351452778":["hashtag1","hashtag2"]},{"1351452717":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351452749, 1351452683, 1351452764, 1351452650, 1351452778, 1351452717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.87251663208008 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 04:51:32.272876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/01/09/image_11042025_01_09_14_9367.jpg', '/home/pi/Desktop/images/11042025/01/09/image_11042025_01_09_25_10438.jpg', '/home/pi/Desktop/images/11042025/01/09/image_11042025_01_09_35_10371.jpg', '/home/pi/Desktop/images/11042025/01/09/image_11042025_01_09_45_9366.jpg', '/home/pi/Desktop/images/11042025/01/09/image_11042025_01_09_55_10393.jpg', '/home/pi/Desktop/images/11042025/01/09/image_11042025_01_10_04_9344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/01/09/image_11042025_01_09_14_9367.jpg
/home/pi/Desktop/images/11042025/01/09/image_11042025_01_09_25_10438.jpg
/home/pi/Desktop/images/11042025/01/09/image_11042025_01_09_35_10371.jpg
/home/pi/Desktop/images/11042025/01/09/image_11042025_01_09_45_9366.jpg
/home/pi/Desktop/images/11042025/01/09/image_11042025_01_09_55_10393.jpg
/home/pi/Desktop/images/11042025/01/09/image_11042025_01_10_04_9344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351452992","1351452824","1351452946","1351452873","1351452951","1351452912"],"photo_ids_order":["1351452824","1351452873","1351452912","1351452946","1351452951","1351452992"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/27f310b359dec9a231de63f0ab704f9e.jpg","text":"TemporaryFile(/tmp/multipartBody2853170802776285104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339952746,"filename":"image_11042025_01_10_04_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4dcf1c9efeaedb3fb1a8eb31218f75f2.jpg","text":"TemporaryFile(/tmp/multipartBody3902814936355485514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339952746,"filename":"image_11042025_01_09_14_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a216c055c259274e914e2908654e2539.jpg","text":"TemporaryFile(/tmp/multipartBody2623660968161155050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339952746,"filename":"image_11042025_01_09_45_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a3fca9badb95facc302f03e7afab9038.jpg","text":"TemporaryFile(/tmp/multipartBody7117299495464743939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339952746,"filename":"image_11042025_01_09_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/11/49414da4fc37a1faf240ab967b550d4d.jpg","text":"TemporaryFile(/tmp/multipartBody2360758986894954844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339952746,"filename":"image_11042025_01_09_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/11/c067d7d617f31b6d27976610da90f190.jpg","text":"TemporaryFile(/tmp/multipartBody1417696855582449394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744339952746,"filename":"image_11042025_01_09_35_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351452912","file1":"1351452873","file0":"1351452824","file4":"1351452951","file5":"1351452992","file3":"1351452946"},"map_files_photo_id_array":[{"photo_id":"1351452992","filename":"file5"},{"photo_id":"1351452912","filename":"file2"},{"photo_id":"1351452951","filename":"file4"},{"photo_id":"1351452873","filename":"file1"},{"photo_id":"1351452824","filename":"file0"},{"photo_id":"1351452946","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351452992":["hashtag1","hashtag2"]},{"1351452824":["hashtag1","hashtag2"]},{"1351452946":["hashtag1","hashtag2"]},{"1351452873":["hashtag1","hashtag2"]},{"1351452951":["hashtag1","hashtag2"]},{"1351452912":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351452992, 1351452824, 1351452946, 1351452873, 1351452951, 1351452912)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.165945291519165 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 04:52:32.572172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/01/10/image_11042025_01_10_15_10453.jpg', '/home/pi/Desktop/images/11042025/01/10/image_11042025_01_10_25_10356.jpg', '/home/pi/Desktop/images/11042025/01/10/image_11042025_01_10_35_9380.jpg', '/home/pi/Desktop/images/11042025/01/10/image_11042025_01_10_45_10382.jpg', '/home/pi/Desktop/images/11042025/01/10/image_11042025_01_10_55_10386.jpg', '/home/pi/Desktop/images/11042025/01/10/image_11042025_01_11_05_9438.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/01/10/image_11042025_01_10_15_10453.jpg
/home/pi/Desktop/images/11042025/01/10/image_11042025_01_10_25_10356.jpg
/home/pi/Desktop/images/11042025/01/10/image_11042025_01_10_35_9380.jpg
/home/pi/Desktop/images/11042025/01/10/image_11042025_01_10_45_10382.jpg
/home/pi/Desktop/images/11042025/01/10/image_11042025_01_10_55_10386.jpg
/home/pi/Desktop/images/11042025/01/10/image_11042025_01_11_05_9438.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.3866753578186035 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 04:52:42.562496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/01/10/image_11042025_01_10_15_10453.jpg', '/home/pi/Desktop/images/11042025/01/10/image_11042025_01_10_25_10356.jpg', '/home/pi/Desktop/images/11042025/01/10/image_11042025_01_10_35_9380.jpg', '/home/pi/Desktop/images/11042025/01/10/image_11042025_01_10_45_10382.jpg', '/home/pi/Desktop/images/11042025/01/10/image_11042025_01_10_55_10386.jpg', '/home/pi/Desktop/images/11042025/01/10/image_11042025_01_11_05_9438.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/01/10/image_11042025_01_10_15_10453.jpg
/home/pi/Desktop/images/11042025/01/10/image_11042025_01_10_25_10356.jpg
/home/pi/Desktop/images/11042025/01/10/image_11042025_01_10_35_9380.jpg
/home/pi/Desktop/images/11042025/01/10/image_11042025_01_10_45_10382.jpg
/home/pi/Desktop/images/11042025/01/10/image_11042025_01_10_55_10386.jpg
/home/pi/Desktop/images/11042025/01/10/image_11042025_01_11_05_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":["1351453127","1351453288","1351453162","1351453210","1351453135","1351453122"],"photo_ids_order":["1351453122","1351453127","1351453135","1351453162","1351453210","1351453288"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e8b2e5ab6c1e65ead368e04d3b83dfde.jpg","text":"TemporaryFile(/tmp/multipartBody3624737799639626122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340023033,"filename":"image_11042025_01_10_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/11/93a65f5928f5be4e042218b90924f87d.jpg","text":"TemporaryFile(/tmp/multipartBody8361908185023470877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340023033,"filename":"image_11042025_01_11_05_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/440355657a6764c19d489c07521205a0.jpg","text":"TemporaryFile(/tmp/multipartBody533711067473212717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340023033,"filename":"image_11042025_01_10_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/11/92257efab72a417d14c99a66264fd418.jpg","text":"TemporaryFile(/tmp/multipartBody8794675993677874496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340023033,"filename":"image_11042025_01_10_55_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e680bd67fade62f35c70c54c24d68c9b.jpg","text":"TemporaryFile(/tmp/multipartBody1254053683306030789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340023033,"filename":"image_11042025_01_10_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/11/3a97cdee0496becdefb73bd2b220990c.jpg","text":"TemporaryFile(/tmp/multipartBody8033789945941342117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340023033,"filename":"image_11042025_01_10_15_10453.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351453135","file1":"1351453127","file0":"1351453122","file4":"1351453210","file5":"1351453288","file3":"1351453162"},"map_files_photo_id_array":[{"photo_id":"1351453288","filename":"file5"},{"photo_id":"1351453135","filename":"file2"},{"photo_id":"1351453210","filename":"file4"},{"photo_id":"1351453127","filename":"file1"},{"photo_id":"1351453122","filename":"file0"},{"photo_id":"1351453162","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351453127":["hashtag1","hashtag2"]},{"1351453288":["hashtag1","hashtag2"]},{"1351453162":["hashtag1","hashtag2"]},{"1351453210":["hashtag1","hashtag2"]},{"1351453135":["hashtag1","hashtag2"]},{"1351453122":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351453127, 1351453288, 1351453162, 1351453210, 1351453135, 1351453122)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.58012628555298 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 04:53:32.953166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/01/11/image_11042025_01_11_15_10397.jpg', '/home/pi/Desktop/images/11042025/01/11/image_11042025_01_11_25_9391.jpg', '/home/pi/Desktop/images/11042025/01/11/image_11042025_01_11_35_10375.jpg', '/home/pi/Desktop/images/11042025/01/11/image_11042025_01_11_44_9427.jpg', '/home/pi/Desktop/images/11042025/01/11/image_11042025_01_11_55_10495.jpg', '/home/pi/Desktop/images/11042025/01/11/image_11042025_01_12_04_9479.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/01/11/image_11042025_01_11_15_10397.jpg
/home/pi/Desktop/images/11042025/01/11/image_11042025_01_11_25_9391.jpg
/home/pi/Desktop/images/11042025/01/11/image_11042025_01_11_35_10375.jpg
/home/pi/Desktop/images/11042025/01/11/image_11042025_01_11_44_9427.jpg
/home/pi/Desktop/images/11042025/01/11/image_11042025_01_11_55_10495.jpg
/home/pi/Desktop/images/11042025/01/11/image_11042025_01_12_04_9479.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351453468","1351453479","1351453449","1351453472","1351453475","1351453457"],"photo_ids_order":["1351453449","1351453457","1351453468","1351453472","1351453475","1351453479"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/903df3641a16d8183362877e9756abbb.jpg","text":"TemporaryFile(/tmp/multipartBody1453715617841278900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340073432,"filename":"image_11042025_01_11_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/11/8ac5c0e6e25c85ab9a1546f4c9673c48.jpg","text":"TemporaryFile(/tmp/multipartBody6498304691455237134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340073432,"filename":"image_11042025_01_12_04_9479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/eb5f08cc84395ba9bfef6291a6ee624c.jpg","text":"TemporaryFile(/tmp/multipartBody8625076845896488815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340073432,"filename":"image_11042025_01_11_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/11/caad389974fae9833ef71d5a8c6ca17d.jpg","text":"TemporaryFile(/tmp/multipartBody1452784398603385304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340073432,"filename":"image_11042025_01_11_44_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/97d09a16e4a5790500974d44624a8b7e.jpg","text":"TemporaryFile(/tmp/multipartBody9053573327711087970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340073432,"filename":"image_11042025_01_11_55_10495.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/962853a74f4ce6d612a1575a9c4eb244.jpg","text":"TemporaryFile(/tmp/multipartBody8170545895443190685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340073432,"filename":"image_11042025_01_11_25_9391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351453468","file1":"1351453457","file0":"1351453449","file4":"1351453475","file5":"1351453479","file3":"1351453472"},"map_files_photo_id_array":[{"photo_id":"1351453479","filename":"file5"},{"photo_id":"1351453468","filename":"file2"},{"photo_id":"1351453475","filename":"file4"},{"photo_id":"1351453457","filename":"file1"},{"photo_id":"1351453449","filename":"file0"},{"photo_id":"1351453472","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351453468":["hashtag1","hashtag2"]},{"1351453479":["hashtag1","hashtag2"]},{"1351453449":["hashtag1","hashtag2"]},{"1351453472":["hashtag1","hashtag2"]},{"1351453475":["hashtag1","hashtag2"]},{"1351453457":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351453468, 1351453479, 1351453449, 1351453472, 1351453475, 1351453457)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.5729603767395 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 04:54:33.149029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/01/12/image_11042025_01_12_15_10434.jpg', '/home/pi/Desktop/images/11042025/01/12/image_11042025_01_12_25_10376.jpg', '/home/pi/Desktop/images/11042025/01/12/image_11042025_01_12_35_9367.jpg', '/home/pi/Desktop/images/11042025/01/12/image_11042025_01_12_45_10385.jpg', '/home/pi/Desktop/images/11042025/01/13/image_11042025_01_13_15_10366.jpg', '/home/pi/Desktop/images/11042025/01/13/image_11042025_01_13_24_9377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/01/12/image_11042025_01_12_15_10434.jpg
/home/pi/Desktop/images/11042025/01/12/image_11042025_01_12_25_10376.jpg
/home/pi/Desktop/images/11042025/01/12/image_11042025_01_12_35_9367.jpg
/home/pi/Desktop/images/11042025/01/12/image_11042025_01_12_45_10385.jpg
/home/pi/Desktop/images/11042025/01/13/image_11042025_01_13_15_10366.jpg
/home/pi/Desktop/images/11042025/01/13/image_11042025_01_13_24_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":["1351453657","1351453651","1351453641","1351453659","1351453679","1351453655"],"photo_ids_order":["1351453641","1351453651","1351453655","1351453657","1351453659","1351453679"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2340afa365af31fb84a632eff2065cf9.jpg","text":"TemporaryFile(/tmp/multipartBody844698618063744159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340134337,"filename":"image_11042025_01_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/11/55a6e2b83fdcee7cc67f428d91598d2a.jpg","text":"TemporaryFile(/tmp/multipartBody7284134050794684252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340134337,"filename":"image_11042025_01_12_25_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ac73a80962db40ad2861620052fa7728.jpg","text":"TemporaryFile(/tmp/multipartBody8513851685381713472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340134337,"filename":"image_11042025_01_12_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/11/dca680144c0a493786753d25f7f76e35.jpg","text":"TemporaryFile(/tmp/multipartBody2279062502991395509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340134337,"filename":"image_11042025_01_13_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/11/2a3907b968efc94c102f66f2f8eca38d.jpg","text":"TemporaryFile(/tmp/multipartBody3257447424392246232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340134337,"filename":"image_11042025_01_13_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/11/939ff371ba81cb4865ec63fe525a1c54.jpg","text":"TemporaryFile(/tmp/multipartBody6723723184916346830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340134337,"filename":"image_11042025_01_12_35_9367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351453655","file1":"1351453651","file0":"1351453641","file4":"1351453659","file5":"1351453679","file3":"1351453657"},"map_files_photo_id_array":[{"photo_id":"1351453679","filename":"file5"},{"photo_id":"1351453655","filename":"file2"},{"photo_id":"1351453659","filename":"file4"},{"photo_id":"1351453651","filename":"file1"},{"photo_id":"1351453641","filename":"file0"},{"photo_id":"1351453657","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351453657":["hashtag1","hashtag2"]},{"1351453651":["hashtag1","hashtag2"]},{"1351453641":["hashtag1","hashtag2"]},{"1351453659":["hashtag1","hashtag2"]},{"1351453679":["hashtag1","hashtag2"]},{"1351453655":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351453657, 1351453651, 1351453641, 1351453659, 1351453679, 1351453655)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.561734199523926 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 04:55:32.443468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/01/13/image_11042025_01_13_45_10372.jpg', '/home/pi/Desktop/images/11042025/01/14/image_11042025_01_14_25_10533.jpg', '/home/pi/Desktop/images/11042025/01/14/image_11042025_01_14_45_9360.jpg', '/home/pi/Desktop/images/11042025/01/14/image_11042025_01_14_55_10455.jpg', '/home/pi/Desktop/images/11042025/01/14/image_11042025_01_15_04_9374.jpg', '/home/pi/Desktop/images/11042025/01/15/image_11042025_01_15_15_10508.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/01/13/image_11042025_01_13_45_10372.jpg
/home/pi/Desktop/images/11042025/01/14/image_11042025_01_14_25_10533.jpg
/home/pi/Desktop/images/11042025/01/14/image_11042025_01_14_45_9360.jpg
/home/pi/Desktop/images/11042025/01/14/image_11042025_01_14_55_10455.jpg
/home/pi/Desktop/images/11042025/01/14/image_11042025_01_15_04_9374.jpg
/home/pi/Desktop/images/11042025/01/15/image_11042025_01_15_15_10508.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351453745","1351453718","1351453767","1351453695","1351453691","1351453688"],"photo_ids_order":["1351453688","1351453691","1351453695","1351453718","1351453745","1351453767"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c184ebf7ebe26fc50b6ee9afaebc72d2.jpg","text":"TemporaryFile(/tmp/multipartBody4204414593703833168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340192908,"filename":"image_11042025_01_15_04_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/dfde66fc253de7155122b3d38301a396.jpg","text":"TemporaryFile(/tmp/multipartBody8102894583772450256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340192908,"filename":"image_11042025_01_14_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/11/cd2ba5b09bf4c72bc4dbc4648ae3c2a4.jpg","text":"TemporaryFile(/tmp/multipartBody3500000097902345769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340192908,"filename":"image_11042025_01_15_15_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/11/e372af2671166e799342155baccd1b70.jpg","text":"TemporaryFile(/tmp/multipartBody6132368403492749764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340192908,"filename":"image_11042025_01_14_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/11/68165d2a6b8f76431a9159c186daff65.jpg","text":"TemporaryFile(/tmp/multipartBody6228688584804697711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340192908,"filename":"image_11042025_01_14_25_10533.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/90c71dc9722181074e247e0fca77d438.jpg","text":"TemporaryFile(/tmp/multipartBody1306254266708445886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340192908,"filename":"image_11042025_01_13_45_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351453695","file1":"1351453691","file0":"1351453688","file4":"1351453745","file5":"1351453767","file3":"1351453718"},"map_files_photo_id_array":[{"photo_id":"1351453767","filename":"file5"},{"photo_id":"1351453695","filename":"file2"},{"photo_id":"1351453745","filename":"file4"},{"photo_id":"1351453691","filename":"file1"},{"photo_id":"1351453688","filename":"file0"},{"photo_id":"1351453718","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351453745":["hashtag1","hashtag2"]},{"1351453718":["hashtag1","hashtag2"]},{"1351453767":["hashtag1","hashtag2"]},{"1351453695":["hashtag1","hashtag2"]},{"1351453691":["hashtag1","hashtag2"]},{"1351453688":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351453745, 1351453718, 1351453767, 1351453695, 1351453691, 1351453688)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.71521234512329 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 04:56:32.673383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/01/15/image_11042025_01_15_24_9380.jpg', '/home/pi/Desktop/images/11042025/01/15/image_11042025_01_16_05_10399.jpg', '/home/pi/Desktop/images/11042025/01/16/image_11042025_01_16_14_9455.jpg', '/home/pi/Desktop/images/11042025/01/16/image_11042025_01_16_25_10375.jpg', '/home/pi/Desktop/images/11042025/01/16/image_11042025_01_16_35_10442.jpg', '/home/pi/Desktop/images/11042025/01/16/image_11042025_01_16_45_9404.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/01/15/image_11042025_01_15_24_9380.jpg
/home/pi/Desktop/images/11042025/01/15/image_11042025_01_16_05_10399.jpg
/home/pi/Desktop/images/11042025/01/16/image_11042025_01_16_14_9455.jpg
/home/pi/Desktop/images/11042025/01/16/image_11042025_01_16_25_10375.jpg
/home/pi/Desktop/images/11042025/01/16/image_11042025_01_16_35_10442.jpg
/home/pi/Desktop/images/11042025/01/16/image_11042025_01_16_45_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":["1351453901","1351453826","1351453879","1351453900","1351453821","1351453830"],"photo_ids_order":["1351453821","1351453826","1351453830","1351453879","1351453900","1351453901"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c5123248c7c52fa93464e3d591d78916.jpg","text":"TemporaryFile(/tmp/multipartBody1793618771935979558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340253225,"filename":"image_11042025_01_16_45_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/08c4ea1b453fedfc26a28bea06ca1bdf.jpg","text":"TemporaryFile(/tmp/multipartBody5558641590542602723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340253225,"filename":"image_11042025_01_16_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/11/c5a2a37be3c17473c12246357659e791.jpg","text":"TemporaryFile(/tmp/multipartBody2897467680197396032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340253225,"filename":"image_11042025_01_16_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/11/91f9dbb0d2bd4e8120b9a212e625db66.jpg","text":"TemporaryFile(/tmp/multipartBody7887566601591531126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340253225,"filename":"image_11042025_01_16_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/11/3ff5417496b1e5f765b94db14f33680e.jpg","text":"TemporaryFile(/tmp/multipartBody4799498432321219693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340253225,"filename":"image_11042025_01_15_24_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/77d6773ca118f479662f27ab7496c57d.jpg","text":"TemporaryFile(/tmp/multipartBody7969374849337398568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340253225,"filename":"image_11042025_01_16_14_9455.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351453830","file1":"1351453826","file0":"1351453821","file4":"1351453900","file5":"1351453901","file3":"1351453879"},"map_files_photo_id_array":[{"photo_id":"1351453901","filename":"file5"},{"photo_id":"1351453830","filename":"file2"},{"photo_id":"1351453900","filename":"file4"},{"photo_id":"1351453826","filename":"file1"},{"photo_id":"1351453821","filename":"file0"},{"photo_id":"1351453879","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351453901":["hashtag1","hashtag2"]},{"1351453826":["hashtag1","hashtag2"]},{"1351453879":["hashtag1","hashtag2"]},{"1351453900":["hashtag1","hashtag2"]},{"1351453821":["hashtag1","hashtag2"]},{"1351453830":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351453901, 1351453826, 1351453879, 1351453900, 1351453821, 1351453830)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.08687233924866 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 04:57:32.869288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/01/16/image_11042025_01_16_55_10484.jpg', '/home/pi/Desktop/images/11042025/01/17/image_11042025_01_17_15_10380.jpg', '/home/pi/Desktop/images/11042025/01/17/image_11042025_01_17_24_9397.jpg', '/home/pi/Desktop/images/11042025/01/17/image_11042025_01_17_35_10421.jpg', '/home/pi/Desktop/images/11042025/01/17/image_11042025_01_17_45_10359.jpg', '/home/pi/Desktop/images/11042025/01/17/image_11042025_01_18_05_10451.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/01/16/image_11042025_01_16_55_10484.jpg
/home/pi/Desktop/images/11042025/01/17/image_11042025_01_17_15_10380.jpg
/home/pi/Desktop/images/11042025/01/17/image_11042025_01_17_24_9397.jpg
/home/pi/Desktop/images/11042025/01/17/image_11042025_01_17_35_10421.jpg
/home/pi/Desktop/images/11042025/01/17/image_11042025_01_17_45_10359.jpg
/home/pi/Desktop/images/11042025/01/17/image_11042025_01_18_05_10451.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 04:59:03.682106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/01/16/image_11042025_01_16_55_10484.jpg', '/home/pi/Desktop/images/11042025/01/17/image_11042025_01_17_15_10380.jpg', '/home/pi/Desktop/images/11042025/01/17/image_11042025_01_17_24_9397.jpg', '/home/pi/Desktop/images/11042025/01/17/image_11042025_01_17_35_10421.jpg', '/home/pi/Desktop/images/11042025/01/17/image_11042025_01_17_45_10359.jpg', '/home/pi/Desktop/images/11042025/01/17/image_11042025_01_18_05_10451.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/01/16/image_11042025_01_16_55_10484.jpg
/home/pi/Desktop/images/11042025/01/17/image_11042025_01_17_15_10380.jpg
/home/pi/Desktop/images/11042025/01/17/image_11042025_01_17_24_9397.jpg
/home/pi/Desktop/images/11042025/01/17/image_11042025_01_17_35_10421.jpg
/home/pi/Desktop/images/11042025/01/17/image_11042025_01_17_45_10359.jpg
/home/pi/Desktop/images/11042025/01/17/image_11042025_01_18_05_10451.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351454242","1351454305","1351454289","1351454355","1351454325","1351454294"],"photo_ids_order":["1351454242","1351454289","1351454294","1351454305","1351454325","1351454355"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ff7ed42e91be2db85d6d55c8bd1c0445.jpg","text":"TemporaryFile(/tmp/multipartBody6590687900585625623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340404281,"filename":"image_11042025_01_16_55_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/11/cef2a0ff930c368074ddc3dbf4aa5f07.jpg","text":"TemporaryFile(/tmp/multipartBody2367136839254353442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340404281,"filename":"image_11042025_01_17_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/11/6d3d075ce0f2db56c760ea4ef5b2dc94.jpg","text":"TemporaryFile(/tmp/multipartBody4640626381581744441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340404281,"filename":"image_11042025_01_17_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/11/8e0335e7f6482161465009e59f7d6509.jpg","text":"TemporaryFile(/tmp/multipartBody8960695203138336402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340404281,"filename":"image_11042025_01_18_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/11/ffcf0b792d48ad3b49f9d16d3c393e1f.jpg","text":"TemporaryFile(/tmp/multipartBody8270550583972480245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340404281,"filename":"image_11042025_01_17_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/11/cb11c70f5cc1138a8f6b5e7a2e524913.jpg","text":"TemporaryFile(/tmp/multipartBody2419206754192763972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340404281,"filename":"image_11042025_01_17_24_9397.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351454294","file1":"1351454289","file0":"1351454242","file4":"1351454325","file5":"1351454355","file3":"1351454305"},"map_files_photo_id_array":[{"photo_id":"1351454355","filename":"file5"},{"photo_id":"1351454294","filename":"file2"},{"photo_id":"1351454325","filename":"file4"},{"photo_id":"1351454289","filename":"file1"},{"photo_id":"1351454242","filename":"file0"},{"photo_id":"1351454305","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351454242":["hashtag1","hashtag2"]},{"1351454305":["hashtag1","hashtag2"]},{"1351454289":["hashtag1","hashtag2"]},{"1351454355":["hashtag1","hashtag2"]},{"1351454325":["hashtag1","hashtag2"]},{"1351454294":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351454242, 1351454305, 1351454289, 1351454355, 1351454325, 1351454294)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.469966888427734 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 04:59:42.598466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/01/18/image_11042025_01_18_15_10366.jpg', '/home/pi/Desktop/images/11042025/01/18/image_11042025_01_18_35_10375.jpg', '/home/pi/Desktop/images/11042025/01/18/image_11042025_01_18_55_10440.jpg', '/home/pi/Desktop/images/11042025/01/19/image_11042025_01_19_25_10361.jpg', '/home/pi/Desktop/images/11042025/01/19/image_11042025_01_19_35_9365.jpg', '/home/pi/Desktop/images/11042025/01/19/image_11042025_01_19_45_10431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/01/18/image_11042025_01_18_15_10366.jpg
/home/pi/Desktop/images/11042025/01/18/image_11042025_01_18_35_10375.jpg
/home/pi/Desktop/images/11042025/01/18/image_11042025_01_18_55_10440.jpg
/home/pi/Desktop/images/11042025/01/19/image_11042025_01_19_25_10361.jpg
/home/pi/Desktop/images/11042025/01/19/image_11042025_01_19_35_9365.jpg
/home/pi/Desktop/images/11042025/01/19/image_11042025_01_19_45_10431.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351454611","1351454548","1351454526","1351454514","1351454601","1351454579"],"photo_ids_order":["1351454514","1351454526","1351454548","1351454579","1351454601","1351454611"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2c02890c04ad3e119b629fccc55a97e3.jpg","text":"TemporaryFile(/tmp/multipartBody8161724943474087476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340443081,"filename":"image_11042025_01_19_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/11/a840f9ca69f09a26e2c8d932a29c53be.jpg","text":"TemporaryFile(/tmp/multipartBody6653624997086286645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340443081,"filename":"image_11042025_01_18_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/11/cc129238d4b24099a5a904304dea9a97.jpg","text":"TemporaryFile(/tmp/multipartBody7136387140003193214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340443081,"filename":"image_11042025_01_18_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/11/0b3abe9d9a3ed66692fd233709940779.jpg","text":"TemporaryFile(/tmp/multipartBody1351382354565518493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340443081,"filename":"image_11042025_01_18_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/11/5b5845f939b91e5dcf8431b8e7cf2b14.jpg","text":"TemporaryFile(/tmp/multipartBody486313991043233662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340443081,"filename":"image_11042025_01_19_35_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2903ae37af4412843b48934fb06ae415.jpg","text":"TemporaryFile(/tmp/multipartBody2050863586779640027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340443081,"filename":"image_11042025_01_19_25_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351454548","file1":"1351454526","file0":"1351454514","file4":"1351454601","file5":"1351454611","file3":"1351454579"},"map_files_photo_id_array":[{"photo_id":"1351454611","filename":"file5"},{"photo_id":"1351454548","filename":"file2"},{"photo_id":"1351454601","filename":"file4"},{"photo_id":"1351454526","filename":"file1"},{"photo_id":"1351454514","filename":"file0"},{"photo_id":"1351454579","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351454611":["hashtag1","hashtag2"]},{"1351454548":["hashtag1","hashtag2"]},{"1351454526":["hashtag1","hashtag2"]},{"1351454514":["hashtag1","hashtag2"]},{"1351454601":["hashtag1","hashtag2"]},{"1351454579":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351454611, 1351454548, 1351454526, 1351454514, 1351454601, 1351454579)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.1950798034668 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 05:00:32.948269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/01/19/image_11042025_01_20_05_10420.jpg', '/home/pi/Desktop/images/11042025/01/20/image_11042025_01_20_15_10382.jpg', '/home/pi/Desktop/images/11042025/01/20/image_11042025_01_20_44_9444.jpg', '/home/pi/Desktop/images/11042025/01/20/image_11042025_01_20_55_10411.jpg', '/home/pi/Desktop/images/11042025/01/21/image_11042025_01_21_15_9372.jpg', '/home/pi/Desktop/images/11042025/01/21/image_11042025_01_21_45_10480.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/01/19/image_11042025_01_20_05_10420.jpg
/home/pi/Desktop/images/11042025/01/20/image_11042025_01_20_15_10382.jpg
/home/pi/Desktop/images/11042025/01/20/image_11042025_01_20_44_9444.jpg
/home/pi/Desktop/images/11042025/01/20/image_11042025_01_20_55_10411.jpg
/home/pi/Desktop/images/11042025/01/21/image_11042025_01_21_15_9372.jpg
/home/pi/Desktop/images/11042025/01/21/image_11042025_01_21_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":["1351454740","1351454743","1351454737","1351454746","1351454736","1351454738"],"photo_ids_order":["1351454736","1351454737","1351454738","1351454740","1351454743","1351454746"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ed70d409ee3132f091a3cfc8d5629035.jpg","text":"TemporaryFile(/tmp/multipartBody548014899477734819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340493423,"filename":"image_11042025_01_20_55_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/344d5eb803bac3be6e874e40e9eeacaa.jpg","text":"TemporaryFile(/tmp/multipartBody5741806677826653650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340493423,"filename":"image_11042025_01_21_15_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8ea1097e5fe90fabda70d0df30901e8d.jpg","text":"TemporaryFile(/tmp/multipartBody4408195065451508035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340493423,"filename":"image_11042025_01_20_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/11/9998850eba443cd056fa45140291978c.jpg","text":"TemporaryFile(/tmp/multipartBody2140999476971448890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340493423,"filename":"image_11042025_01_21_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/11/1b90f9eb978c1f1b07b2181174e17c64.jpg","text":"TemporaryFile(/tmp/multipartBody2394591643854864838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340493423,"filename":"image_11042025_01_20_05_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/39c450cd5f176c326c07d071c86efefb.jpg","text":"TemporaryFile(/tmp/multipartBody6071077804303979837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340493423,"filename":"image_11042025_01_20_44_9444.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351454738","file1":"1351454737","file0":"1351454736","file4":"1351454743","file5":"1351454746","file3":"1351454740"},"map_files_photo_id_array":[{"photo_id":"1351454746","filename":"file5"},{"photo_id":"1351454738","filename":"file2"},{"photo_id":"1351454743","filename":"file4"},{"photo_id":"1351454737","filename":"file1"},{"photo_id":"1351454736","filename":"file0"},{"photo_id":"1351454740","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351454740":["hashtag1","hashtag2"]},{"1351454743":["hashtag1","hashtag2"]},{"1351454737":["hashtag1","hashtag2"]},{"1351454746":["hashtag1","hashtag2"]},{"1351454736":["hashtag1","hashtag2"]},{"1351454738":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351454740, 1351454743, 1351454737, 1351454746, 1351454736, 1351454738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.420819997787476 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 05:01:32.206425
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/01/23/image_11042025_01_23_15_9361.jpg', '/home/pi/Desktop/images/11042025/01/23/image_11042025_01_23_34_9385.jpg', '/home/pi/Desktop/images/11042025/01/23/image_11042025_01_23_45_10450.jpg', '/home/pi/Desktop/images/11042025/01/23/image_11042025_01_23_55_10377.jpg', '/home/pi/Desktop/images/11042025/01/23/image_11042025_01_24_05_9361.jpg', '/home/pi/Desktop/images/11042025/01/24/image_11042025_01_24_15_10373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/01/23/image_11042025_01_23_15_9361.jpg
/home/pi/Desktop/images/11042025/01/23/image_11042025_01_23_34_9385.jpg
/home/pi/Desktop/images/11042025/01/23/image_11042025_01_23_45_10450.jpg
/home/pi/Desktop/images/11042025/01/23/image_11042025_01_23_55_10377.jpg
/home/pi/Desktop/images/11042025/01/23/image_11042025_01_24_05_9361.jpg
/home/pi/Desktop/images/11042025/01/24/image_11042025_01_24_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":["1351454881","1351454854","1351454902","1351454964","1351454919","1351454945"],"photo_ids_order":["1351454854","1351454881","1351454902","1351454919","1351454945","1351454964"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2246919050a36f8a98d527c424e08e39.jpg","text":"TemporaryFile(/tmp/multipartBody1440378435816463459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340552676,"filename":"image_11042025_01_23_34_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ee3a5de02476f9e26bdd4b65855c6e1b.jpg","text":"TemporaryFile(/tmp/multipartBody7283995837611028142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340552676,"filename":"image_11042025_01_23_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/11/3e5156575224e0acc2b1a08d8fef503b.jpg","text":"TemporaryFile(/tmp/multipartBody1546986220317471119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340552676,"filename":"image_11042025_01_23_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/11/52a9f07c106138a5b510d44577b0f4ab.jpg","text":"TemporaryFile(/tmp/multipartBody8310533850158338337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340552676,"filename":"image_11042025_01_24_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/11/349dcc12bbe701d59e36fea584464ebc.jpg","text":"TemporaryFile(/tmp/multipartBody5350009951213237664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340552676,"filename":"image_11042025_01_23_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/11/37a459767a23dfa07ae2db3262b5b240.jpg","text":"TemporaryFile(/tmp/multipartBody1526928578171277369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340552676,"filename":"image_11042025_01_24_05_9361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351454902","file1":"1351454881","file0":"1351454854","file4":"1351454945","file5":"1351454964","file3":"1351454919"},"map_files_photo_id_array":[{"photo_id":"1351454964","filename":"file5"},{"photo_id":"1351454902","filename":"file2"},{"photo_id":"1351454945","filename":"file4"},{"photo_id":"1351454881","filename":"file1"},{"photo_id":"1351454854","filename":"file0"},{"photo_id":"1351454919","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351454881":["hashtag1","hashtag2"]},{"1351454854":["hashtag1","hashtag2"]},{"1351454902":["hashtag1","hashtag2"]},{"1351454964":["hashtag1","hashtag2"]},{"1351454919":["hashtag1","hashtag2"]},{"1351454945":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351454881, 1351454854, 1351454902, 1351454964, 1351454919, 1351454945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.69169044494629 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 05:02:32.401007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/01/24/image_11042025_01_24_45_10377.jpg', '/home/pi/Desktop/images/11042025/01/24/image_11042025_01_25_05_10450.jpg', '/home/pi/Desktop/images/11042025/01/25/image_11042025_01_25_14_9421.jpg', '/home/pi/Desktop/images/11042025/01/25/image_11042025_01_25_35_10358.jpg', '/home/pi/Desktop/images/11042025/01/25/image_11042025_01_25_55_10374.jpg', '/home/pi/Desktop/images/11042025/01/25/image_11042025_01_26_04_9367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/01/24/image_11042025_01_24_45_10377.jpg
/home/pi/Desktop/images/11042025/01/24/image_11042025_01_25_05_10450.jpg
/home/pi/Desktop/images/11042025/01/25/image_11042025_01_25_14_9421.jpg
/home/pi/Desktop/images/11042025/01/25/image_11042025_01_25_35_10358.jpg
/home/pi/Desktop/images/11042025/01/25/image_11042025_01_25_55_10374.jpg
/home/pi/Desktop/images/11042025/01/25/image_11042025_01_26_04_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":["1351455223","1351455180","1351455111","1351455152","1351455242","1351455212"],"photo_ids_order":["1351455111","1351455152","1351455180","1351455212","1351455223","1351455242"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/06123a250abf34a2753973f94f7896b9.jpg","text":"TemporaryFile(/tmp/multipartBody4074335506090837611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340612938,"filename":"image_11042025_01_25_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/11/66aee7828e619b2e0032f085517eebfd.jpg","text":"TemporaryFile(/tmp/multipartBody2216018368607727042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340612938,"filename":"image_11042025_01_25_14_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3f36fed16667320bffb4115c2dc776b6.jpg","text":"TemporaryFile(/tmp/multipartBody7263119862122545609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340612938,"filename":"image_11042025_01_24_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/11/f0230cd24d19c39d73a27aa5c89b27ef.jpg","text":"TemporaryFile(/tmp/multipartBody4493119635884461417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340612938,"filename":"image_11042025_01_25_05_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c0ed8b53db319ff4718ded1727784892.jpg","text":"TemporaryFile(/tmp/multipartBody5622948440961401572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340612938,"filename":"image_11042025_01_26_04_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1daf49de92ff6e55f967ad55c3bf2e98.jpg","text":"TemporaryFile(/tmp/multipartBody882779445063901795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340612938,"filename":"image_11042025_01_25_35_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351455180","file1":"1351455152","file0":"1351455111","file4":"1351455223","file5":"1351455242","file3":"1351455212"},"map_files_photo_id_array":[{"photo_id":"1351455242","filename":"file5"},{"photo_id":"1351455180","filename":"file2"},{"photo_id":"1351455223","filename":"file4"},{"photo_id":"1351455152","filename":"file1"},{"photo_id":"1351455111","filename":"file0"},{"photo_id":"1351455212","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351455223":["hashtag1","hashtag2"]},{"1351455180":["hashtag1","hashtag2"]},{"1351455111":["hashtag1","hashtag2"]},{"1351455152":["hashtag1","hashtag2"]},{"1351455242":["hashtag1","hashtag2"]},{"1351455212":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351455223, 1351455180, 1351455111, 1351455152, 1351455242, 1351455212)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.468822717666626 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 05:03:32.849993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/01/26/image_11042025_01_26_25_10376.jpg', '/home/pi/Desktop/images/11042025/01/26/image_11042025_01_26_35_9375.jpg', '/home/pi/Desktop/images/11042025/01/26/image_11042025_01_26_45_10448.jpg', '/home/pi/Desktop/images/11042025/01/26/image_11042025_01_26_54_9362.jpg', '/home/pi/Desktop/images/11042025/01/26/image_11042025_01_27_05_10399.jpg', '/home/pi/Desktop/images/11042025/01/27/image_11042025_01_27_15_10467.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/01/26/image_11042025_01_26_25_10376.jpg
/home/pi/Desktop/images/11042025/01/26/image_11042025_01_26_35_9375.jpg
/home/pi/Desktop/images/11042025/01/26/image_11042025_01_26_45_10448.jpg
/home/pi/Desktop/images/11042025/01/26/image_11042025_01_26_54_9362.jpg
/home/pi/Desktop/images/11042025/01/26/image_11042025_01_27_05_10399.jpg
/home/pi/Desktop/images/11042025/01/27/image_11042025_01_27_15_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":["1351456170","1351456347","1351455936","1351456404","1351456253","1351456027"],"photo_ids_order":["1351455936","1351456027","1351456170","1351456253","1351456347","1351456404"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/24f2b56e5011d79ecc16108230a439b5.jpg","text":"TemporaryFile(/tmp/multipartBody493231473193105433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340673322,"filename":"image_11042025_01_26_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/11/f722f4d690b5c177114de11e34b3493b.jpg","text":"TemporaryFile(/tmp/multipartBody3214679165479296965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340673322,"filename":"image_11042025_01_27_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/11/0880f4ef54d4dff96d7ce1765163f0f5.jpg","text":"TemporaryFile(/tmp/multipartBody4183734985552495452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340673322,"filename":"image_11042025_01_26_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/11/fabcbc1e3017e107433d0faa0614d0da.jpg","text":"TemporaryFile(/tmp/multipartBody2659745991034122552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340673322,"filename":"image_11042025_01_27_15_10467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/05d738407e4581a96c3a9478ff1cb012.jpg","text":"TemporaryFile(/tmp/multipartBody9170773704872239981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340673322,"filename":"image_11042025_01_26_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/11/52c98320811b5e2bb5c3045407ce4176.jpg","text":"TemporaryFile(/tmp/multipartBody5269447990895403403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340673322,"filename":"image_11042025_01_26_35_9375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351456170","file1":"1351456027","file0":"1351455936","file4":"1351456347","file5":"1351456404","file3":"1351456253"},"map_files_photo_id_array":[{"photo_id":"1351456404","filename":"file5"},{"photo_id":"1351456170","filename":"file2"},{"photo_id":"1351456347","filename":"file4"},{"photo_id":"1351456027","filename":"file1"},{"photo_id":"1351455936","filename":"file0"},{"photo_id":"1351456253","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351456170":["hashtag1","hashtag2"]},{"1351456347":["hashtag1","hashtag2"]},{"1351455936":["hashtag1","hashtag2"]},{"1351456404":["hashtag1","hashtag2"]},{"1351456253":["hashtag1","hashtag2"]},{"1351456027":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351456170, 1351456347, 1351455936, 1351456404, 1351456253, 1351456027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.98330330848694 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 05:04:33.034223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/01/27/image_11042025_01_27_35_10361.jpg', '/home/pi/Desktop/images/11042025/01/27/image_11042025_01_28_05_10363.jpg', '/home/pi/Desktop/images/11042025/01/28/image_11042025_01_28_15_9356.jpg', '/home/pi/Desktop/images/11042025/01/28/image_11042025_01_28_34_9351.jpg', '/home/pi/Desktop/images/11042025/01/28/image_11042025_01_29_05_9343.jpg', '/home/pi/Desktop/images/11042025/01/29/image_11042025_01_29_24_9447.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/01/27/image_11042025_01_27_35_10361.jpg
/home/pi/Desktop/images/11042025/01/27/image_11042025_01_28_05_10363.jpg
/home/pi/Desktop/images/11042025/01/28/image_11042025_01_28_15_9356.jpg
/home/pi/Desktop/images/11042025/01/28/image_11042025_01_28_34_9351.jpg
/home/pi/Desktop/images/11042025/01/28/image_11042025_01_29_05_9343.jpg
/home/pi/Desktop/images/11042025/01/29/image_11042025_01_29_24_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":["1351457241","1351457084","1351457063","1351457147","1351456991","1351456907"],"photo_ids_order":["1351456907","1351456991","1351457063","1351457084","1351457147","1351457241"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6508e7c4fae3966d45e0c96837a8d3da.jpg","text":"TemporaryFile(/tmp/multipartBody6684044162195155544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340733515,"filename":"image_11042025_01_29_24_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/11/e99af367cc5300819800e31f1f5af709.jpg","text":"TemporaryFile(/tmp/multipartBody8610296516924958462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340733515,"filename":"image_11042025_01_28_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/11/d1c75da6f3a75982335416c28a996def.jpg","text":"TemporaryFile(/tmp/multipartBody4395495630562431076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340733515,"filename":"image_11042025_01_28_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/11/492d2eeb06bf80033669208b8a1bc124.jpg","text":"TemporaryFile(/tmp/multipartBody7763610240153366489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340733515,"filename":"image_11042025_01_29_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/11/78a22bfdbc57d29b2f9edfc7e588d1b8.jpg","text":"TemporaryFile(/tmp/multipartBody7444387972618787383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340733515,"filename":"image_11042025_01_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/11/a2792efd93811d9deba9546fcbe971c2.jpg","text":"TemporaryFile(/tmp/multipartBody6238564993043162329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340733515,"filename":"image_11042025_01_27_35_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351457063","file1":"1351456991","file0":"1351456907","file4":"1351457147","file5":"1351457241","file3":"1351457084"},"map_files_photo_id_array":[{"photo_id":"1351457241","filename":"file5"},{"photo_id":"1351457063","filename":"file2"},{"photo_id":"1351457147","filename":"file4"},{"photo_id":"1351456991","filename":"file1"},{"photo_id":"1351456907","filename":"file0"},{"photo_id":"1351457084","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351457241":["hashtag1","hashtag2"]},{"1351457084":["hashtag1","hashtag2"]},{"1351457063":["hashtag1","hashtag2"]},{"1351457147":["hashtag1","hashtag2"]},{"1351456991":["hashtag1","hashtag2"]},{"1351456907":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351457241, 1351457084, 1351457063, 1351457147, 1351456991, 1351456907)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.35015606880188 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 05:05:32.281313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/01/29/image_11042025_01_29_35_10436.jpg', '/home/pi/Desktop/images/11042025/01/29/image_11042025_01_29_45_10377.jpg', '/home/pi/Desktop/images/11042025/01/29/image_11042025_01_29_55_9370.jpg', '/home/pi/Desktop/images/11042025/01/29/image_11042025_01_30_05_10419.jpg', '/home/pi/Desktop/images/11042025/01/30/image_11042025_01_30_14_9487.jpg', '/home/pi/Desktop/images/11042025/01/30/image_11042025_01_30_25_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/01/29/image_11042025_01_29_35_10436.jpg
/home/pi/Desktop/images/11042025/01/29/image_11042025_01_29_45_10377.jpg
/home/pi/Desktop/images/11042025/01/29/image_11042025_01_29_55_9370.jpg
/home/pi/Desktop/images/11042025/01/29/image_11042025_01_30_05_10419.jpg
/home/pi/Desktop/images/11042025/01/30/image_11042025_01_30_14_9487.jpg
/home/pi/Desktop/images/11042025/01/30/image_11042025_01_30_25_10370.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.40366148948669434 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 05:05:42.353967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/01/29/image_11042025_01_29_35_10436.jpg', '/home/pi/Desktop/images/11042025/01/29/image_11042025_01_29_45_10377.jpg', '/home/pi/Desktop/images/11042025/01/29/image_11042025_01_29_55_9370.jpg', '/home/pi/Desktop/images/11042025/01/29/image_11042025_01_30_05_10419.jpg', '/home/pi/Desktop/images/11042025/01/30/image_11042025_01_30_14_9487.jpg', '/home/pi/Desktop/images/11042025/01/30/image_11042025_01_30_25_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/01/29/image_11042025_01_29_35_10436.jpg
/home/pi/Desktop/images/11042025/01/29/image_11042025_01_29_45_10377.jpg
/home/pi/Desktop/images/11042025/01/29/image_11042025_01_29_55_9370.jpg
/home/pi/Desktop/images/11042025/01/29/image_11042025_01_30_05_10419.jpg
/home/pi/Desktop/images/11042025/01/30/image_11042025_01_30_14_9487.jpg
/home/pi/Desktop/images/11042025/01/30/image_11042025_01_30_25_10370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351458143","1351457951","1351457785","1351458100","1351457865","1351458015"],"photo_ids_order":["1351457785","1351457865","1351457951","1351458015","1351458100","1351458143"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b8390141d043213ffa57a7cda47ee115.jpg","text":"TemporaryFile(/tmp/multipartBody3893197975397704707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340802827,"filename":"image_11042025_01_30_25_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/472c95f24a3f3b344bd0d753cc37f4c3.jpg","text":"TemporaryFile(/tmp/multipartBody7529638716582189602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340802827,"filename":"image_11042025_01_29_55_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4a53ef2c40a328932cf7cc1290019ae1.jpg","text":"TemporaryFile(/tmp/multipartBody8857293376689658669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340802827,"filename":"image_11042025_01_29_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/11/2b074dab59c871b720bb8c64f5901407.jpg","text":"TemporaryFile(/tmp/multipartBody5219597594301499243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340802827,"filename":"image_11042025_01_30_14_9487.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f01c496b1088e6a09810dc1ca13fd4ab.jpg","text":"TemporaryFile(/tmp/multipartBody7243295861519236032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340802827,"filename":"image_11042025_01_29_45_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1aae7940cd6c6263994919a1093fffbf.jpg","text":"TemporaryFile(/tmp/multipartBody28314128320726733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340802827,"filename":"image_11042025_01_30_05_10419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351457951","file1":"1351457865","file0":"1351457785","file4":"1351458100","file5":"1351458143","file3":"1351458015"},"map_files_photo_id_array":[{"photo_id":"1351458143","filename":"file5"},{"photo_id":"1351457951","filename":"file2"},{"photo_id":"1351458100","filename":"file4"},{"photo_id":"1351457865","filename":"file1"},{"photo_id":"1351457785","filename":"file0"},{"photo_id":"1351458015","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351458143":["hashtag1","hashtag2"]},{"1351457951":["hashtag1","hashtag2"]},{"1351457785":["hashtag1","hashtag2"]},{"1351458100":["hashtag1","hashtag2"]},{"1351457865":["hashtag1","hashtag2"]},{"1351458015":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351458143, 1351457951, 1351457785, 1351458100, 1351457865, 1351458015)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.12010359764099 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 05:06:32.452015
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/01/30/image_11042025_01_30_35_10375.jpg', '/home/pi/Desktop/images/11042025/01/30/image_11042025_01_30_45_9384.jpg', '/home/pi/Desktop/images/11042025/01/30/image_11042025_01_30_55_10372.jpg', '/home/pi/Desktop/images/11042025/01/30/image_11042025_01_31_04_9356.jpg', '/home/pi/Desktop/images/11042025/01/31/image_11042025_01_31_15_10613.jpg', '/home/pi/Desktop/images/11042025/01/31/image_11042025_01_31_24_9444.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/01/30/image_11042025_01_30_35_10375.jpg
/home/pi/Desktop/images/11042025/01/30/image_11042025_01_30_45_9384.jpg
/home/pi/Desktop/images/11042025/01/30/image_11042025_01_30_55_10372.jpg
/home/pi/Desktop/images/11042025/01/30/image_11042025_01_31_04_9356.jpg
/home/pi/Desktop/images/11042025/01/31/image_11042025_01_31_15_10613.jpg
/home/pi/Desktop/images/11042025/01/31/image_11042025_01_31_24_9444.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351458425","1351458368","1351458323","1351458376","1351458348","1351458402"],"photo_ids_order":["1351458323","1351458348","1351458368","1351458376","1351458402","1351458425"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0ae9de09c972b2528767744a82bdc339.jpg","text":"TemporaryFile(/tmp/multipartBody2348111131978576944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340852929,"filename":"image_11042025_01_31_24_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3000c745b2d8a6d7f409033f673ba077.jpg","text":"TemporaryFile(/tmp/multipartBody6893397056077305276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340852929,"filename":"image_11042025_01_30_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/11/0f048c6e3fbcebecde9d79eabb6f3963.jpg","text":"TemporaryFile(/tmp/multipartBody4946786533234506224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340852929,"filename":"image_11042025_01_30_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/11/42357a013d1bd48463a3561063bc7202.jpg","text":"TemporaryFile(/tmp/multipartBody524973801653254768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340852929,"filename":"image_11042025_01_31_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/11/d41ab3085892c8c401d403cdcea6be49.jpg","text":"TemporaryFile(/tmp/multipartBody2848488119873847278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340852929,"filename":"image_11042025_01_30_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/11/f41bc31a91253ada042c897f53d9bb4d.jpg","text":"TemporaryFile(/tmp/multipartBody3014395286238184846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340852929,"filename":"image_11042025_01_31_15_10613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351458368","file1":"1351458348","file0":"1351458323","file4":"1351458402","file5":"1351458425","file3":"1351458376"},"map_files_photo_id_array":[{"photo_id":"1351458425","filename":"file5"},{"photo_id":"1351458368","filename":"file2"},{"photo_id":"1351458402","filename":"file4"},{"photo_id":"1351458348","filename":"file1"},{"photo_id":"1351458323","filename":"file0"},{"photo_id":"1351458376","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351458425":["hashtag1","hashtag2"]},{"1351458368":["hashtag1","hashtag2"]},{"1351458323":["hashtag1","hashtag2"]},{"1351458376":["hashtag1","hashtag2"]},{"1351458348":["hashtag1","hashtag2"]},{"1351458402":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351458425, 1351458368, 1351458323, 1351458376, 1351458348, 1351458402)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.733904123306274 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 05:07:32.683393
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/01/31/image_11042025_01_31_35_10461.jpg', '/home/pi/Desktop/images/11042025/01/31/image_11042025_01_31_45_10383.jpg', '/home/pi/Desktop/images/11042025/01/31/image_11042025_01_31_55_9517.jpg', '/home/pi/Desktop/images/11042025/01/31/image_11042025_01_32_05_10426.jpg', '/home/pi/Desktop/images/11042025/01/32/image_11042025_01_32_15_9392.jpg', '/home/pi/Desktop/images/11042025/01/32/image_11042025_01_32_25_10451.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/01/31/image_11042025_01_31_35_10461.jpg
/home/pi/Desktop/images/11042025/01/31/image_11042025_01_31_45_10383.jpg
/home/pi/Desktop/images/11042025/01/31/image_11042025_01_31_55_9517.jpg
/home/pi/Desktop/images/11042025/01/31/image_11042025_01_32_05_10426.jpg
/home/pi/Desktop/images/11042025/01/32/image_11042025_01_32_15_9392.jpg
/home/pi/Desktop/images/11042025/01/32/image_11042025_01_32_25_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":["1351458458","1351458452","1351458460","1351458454","1351458456","1351458473"],"photo_ids_order":["1351458452","1351458454","1351458456","1351458458","1351458460","1351458473"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/499f08e48a81f7e55096078e2afb600f.jpg","text":"TemporaryFile(/tmp/multipartBody1257764505299334747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340913168,"filename":"image_11042025_01_32_05_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/be155cbca0bbabdb3fe6bded8dd9fd33.jpg","text":"TemporaryFile(/tmp/multipartBody6128771119666192028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340913168,"filename":"image_11042025_01_31_35_10461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/94db5880faf10d4aaa7d94b7cc31d4c9.jpg","text":"TemporaryFile(/tmp/multipartBody887383537931549410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340913168,"filename":"image_11042025_01_32_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/11/3d900e9b669a9e7da11dbdd40feaf9bb.jpg","text":"TemporaryFile(/tmp/multipartBody6630943017455401955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340913168,"filename":"image_11042025_01_31_45_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/819e4e02285fa5290a43c38f67514c52.jpg","text":"TemporaryFile(/tmp/multipartBody8910420672910582416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340913168,"filename":"image_11042025_01_31_55_9517.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/08dc5bc78163f38f2c3c3738e191dd3e.jpg","text":"TemporaryFile(/tmp/multipartBody8443903441449722745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340913168,"filename":"image_11042025_01_32_25_10451.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351458456","file1":"1351458454","file0":"1351458452","file4":"1351458460","file5":"1351458473","file3":"1351458458"},"map_files_photo_id_array":[{"photo_id":"1351458473","filename":"file5"},{"photo_id":"1351458456","filename":"file2"},{"photo_id":"1351458460","filename":"file4"},{"photo_id":"1351458454","filename":"file1"},{"photo_id":"1351458452","filename":"file0"},{"photo_id":"1351458458","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351458458":["hashtag1","hashtag2"]},{"1351458452":["hashtag1","hashtag2"]},{"1351458460":["hashtag1","hashtag2"]},{"1351458454":["hashtag1","hashtag2"]},{"1351458456":["hashtag1","hashtag2"]},{"1351458473":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351458458, 1351458452, 1351458460, 1351458454, 1351458456, 1351458473)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.78118896484375 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 05:08:33.150188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/01/32/image_11042025_01_32_34_9362.jpg', '/home/pi/Desktop/images/11042025/01/32/image_11042025_01_32_45_10372.jpg', '/home/pi/Desktop/images/11042025/01/32/image_11042025_01_32_55_10374.jpg', '/home/pi/Desktop/images/11042025/01/32/image_11042025_01_33_05_9375.jpg', '/home/pi/Desktop/images/11042025/01/33/image_11042025_01_33_15_10498.jpg', '/home/pi/Desktop/images/11042025/01/33/image_11042025_01_33_24_9370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/01/32/image_11042025_01_32_34_9362.jpg
/home/pi/Desktop/images/11042025/01/32/image_11042025_01_32_45_10372.jpg
/home/pi/Desktop/images/11042025/01/32/image_11042025_01_32_55_10374.jpg
/home/pi/Desktop/images/11042025/01/32/image_11042025_01_33_05_9375.jpg
/home/pi/Desktop/images/11042025/01/33/image_11042025_01_33_15_10498.jpg
/home/pi/Desktop/images/11042025/01/33/image_11042025_01_33_24_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":["1351459049","1351458971","1351459025","1351459000","1351459097","1351459073"],"photo_ids_order":["1351458971","1351459000","1351459025","1351459049","1351459073","1351459097"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b27a23e9dd59afd7101ba9f9e4f60dee.jpg","text":"TemporaryFile(/tmp/multipartBody2706105146225479942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340973619,"filename":"image_11042025_01_33_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/11/0ab03f1abfdfd9181097086d0e825ea3.jpg","text":"TemporaryFile(/tmp/multipartBody2929603239569467432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340973619,"filename":"image_11042025_01_32_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/11/8ad7f527196bfbc32f1a48941964b6e4.jpg","text":"TemporaryFile(/tmp/multipartBody1047141192667253935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340973619,"filename":"image_11042025_01_32_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/11/93ff2792c234c0838521b8cd245ba383.jpg","text":"TemporaryFile(/tmp/multipartBody2366912621993243501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340973619,"filename":"image_11042025_01_32_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/11/98f611e66bcc806f55da43ab7d937be2.jpg","text":"TemporaryFile(/tmp/multipartBody2030774927090345670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340973619,"filename":"image_11042025_01_33_24_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c57de61259147b40ba49c2ef63c106ba.jpg","text":"TemporaryFile(/tmp/multipartBody6937855605464373711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744340973619,"filename":"image_11042025_01_33_15_10498.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351459025","file1":"1351459000","file0":"1351458971","file4":"1351459073","file5":"1351459097","file3":"1351459049"},"map_files_photo_id_array":[{"photo_id":"1351459097","filename":"file5"},{"photo_id":"1351459025","filename":"file2"},{"photo_id":"1351459073","filename":"file4"},{"photo_id":"1351459000","filename":"file1"},{"photo_id":"1351458971","filename":"file0"},{"photo_id":"1351459049","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351459049":["hashtag1","hashtag2"]},{"1351458971":["hashtag1","hashtag2"]},{"1351459025":["hashtag1","hashtag2"]},{"1351459000":["hashtag1","hashtag2"]},{"1351459097":["hashtag1","hashtag2"]},{"1351459073":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351459049, 1351458971, 1351459025, 1351459000, 1351459097, 1351459073)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.45240759849548 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 05:09:32.345314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/01/33/image_11042025_01_33_35_10494.jpg', '/home/pi/Desktop/images/11042025/01/33/image_11042025_01_33_45_10378.jpg', '/home/pi/Desktop/images/11042025/01/33/image_11042025_01_33_55_9462.jpg', '/home/pi/Desktop/images/11042025/01/33/image_11042025_01_34_05_10421.jpg', '/home/pi/Desktop/images/11042025/01/34/image_11042025_01_34_15_9368.jpg', '/home/pi/Desktop/images/11042025/01/34/image_11042025_01_34_25_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/01/33/image_11042025_01_33_35_10494.jpg
/home/pi/Desktop/images/11042025/01/33/image_11042025_01_33_45_10378.jpg
/home/pi/Desktop/images/11042025/01/33/image_11042025_01_33_55_9462.jpg
/home/pi/Desktop/images/11042025/01/33/image_11042025_01_34_05_10421.jpg
/home/pi/Desktop/images/11042025/01/34/image_11042025_01_34_15_9368.jpg
/home/pi/Desktop/images/11042025/01/34/image_11042025_01_34_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":["1351459318","1351459284","1351459434","1351459416","1351459373","1351459343"],"photo_ids_order":["1351459284","1351459318","1351459343","1351459373","1351459416","1351459434"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4e4fa93a722c88707f2e9dcb79cc0240.jpg","text":"TemporaryFile(/tmp/multipartBody1822882423917050969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341032836,"filename":"image_11042025_01_33_45_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/44b7e049c031af1f163ca8ff67a6657b.jpg","text":"TemporaryFile(/tmp/multipartBody1487756272090532510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341032836,"filename":"image_11042025_01_33_35_10494.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/40051a13872da5d024a04e25cb4db0e6.jpg","text":"TemporaryFile(/tmp/multipartBody7269415932594230169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341032836,"filename":"image_11042025_01_34_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/11/ee60f6a54b4f517613780d53d7a3328e.jpg","text":"TemporaryFile(/tmp/multipartBody4424877954453741154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341032836,"filename":"image_11042025_01_34_15_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ea7b9f3d673089adea6774fd707efe93.jpg","text":"TemporaryFile(/tmp/multipartBody3973995861924644001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341032836,"filename":"image_11042025_01_34_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/11/b26c79445d291576bcdebcfa536c9415.jpg","text":"TemporaryFile(/tmp/multipartBody5722725154093462892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341032836,"filename":"image_11042025_01_33_55_9462.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351459343","file1":"1351459318","file0":"1351459284","file4":"1351459416","file5":"1351459434","file3":"1351459373"},"map_files_photo_id_array":[{"photo_id":"1351459434","filename":"file5"},{"photo_id":"1351459343","filename":"file2"},{"photo_id":"1351459416","filename":"file4"},{"photo_id":"1351459318","filename":"file1"},{"photo_id":"1351459284","filename":"file0"},{"photo_id":"1351459373","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351459318":["hashtag1","hashtag2"]},{"1351459284":["hashtag1","hashtag2"]},{"1351459434":["hashtag1","hashtag2"]},{"1351459416":["hashtag1","hashtag2"]},{"1351459373":["hashtag1","hashtag2"]},{"1351459343":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351459318, 1351459284, 1351459434, 1351459416, 1351459373, 1351459343)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.50678491592407 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 05:10:32.692347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/01/34/image_11042025_01_34_35_10356.jpg', '/home/pi/Desktop/images/11042025/01/34/image_11042025_01_34_45_9365.jpg', '/home/pi/Desktop/images/11042025/01/34/image_11042025_01_34_55_10445.jpg', '/home/pi/Desktop/images/11042025/01/34/image_11042025_01_35_04_9354.jpg', '/home/pi/Desktop/images/11042025/01/35/image_11042025_01_35_15_10382.jpg', '/home/pi/Desktop/images/11042025/01/35/image_11042025_01_35_25_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/01/34/image_11042025_01_34_35_10356.jpg
/home/pi/Desktop/images/11042025/01/34/image_11042025_01_34_45_9365.jpg
/home/pi/Desktop/images/11042025/01/34/image_11042025_01_34_55_10445.jpg
/home/pi/Desktop/images/11042025/01/34/image_11042025_01_35_04_9354.jpg
/home/pi/Desktop/images/11042025/01/35/image_11042025_01_35_15_10382.jpg
/home/pi/Desktop/images/11042025/01/35/image_11042025_01_35_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":["1351459835","1351459873","1351459810","1351459915","1351459785","1351459860"],"photo_ids_order":["1351459785","1351459810","1351459835","1351459860","1351459873","1351459915"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0b9915f50f845a844deeb59faf7ab4df.jpg","text":"TemporaryFile(/tmp/multipartBody8570479231210392445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341093175,"filename":"image_11042025_01_34_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/11/bb6fdc0568312c6b703b11c09ca6a58b.jpg","text":"TemporaryFile(/tmp/multipartBody3100111327497846487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341093175,"filename":"image_11042025_01_35_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/11/db6e5270639c7b654fc87b631da9599b.jpg","text":"TemporaryFile(/tmp/multipartBody2611525581585930738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341093175,"filename":"image_11042025_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/11/7e25d5bf0fa4c7924d96589a4f413ce6.jpg","text":"TemporaryFile(/tmp/multipartBody1744256233252509503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341093175,"filename":"image_11042025_01_35_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/11/5999480603cd3264e20447a43a11e0e8.jpg","text":"TemporaryFile(/tmp/multipartBody6515348149172526257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341093175,"filename":"image_11042025_01_34_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/11/abdbeb9d1da66cefb392b384437ca84a.jpg","text":"TemporaryFile(/tmp/multipartBody704533118548794346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341093175,"filename":"image_11042025_01_35_04_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351459835","file1":"1351459810","file0":"1351459785","file4":"1351459873","file5":"1351459915","file3":"1351459860"},"map_files_photo_id_array":[{"photo_id":"1351459915","filename":"file5"},{"photo_id":"1351459835","filename":"file2"},{"photo_id":"1351459873","filename":"file4"},{"photo_id":"1351459810","filename":"file1"},{"photo_id":"1351459785","filename":"file0"},{"photo_id":"1351459860","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351459835":["hashtag1","hashtag2"]},{"1351459873":["hashtag1","hashtag2"]},{"1351459810":["hashtag1","hashtag2"]},{"1351459915":["hashtag1","hashtag2"]},{"1351459785":["hashtag1","hashtag2"]},{"1351459860":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351459835, 1351459873, 1351459810, 1351459915, 1351459785, 1351459860)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.050535440444946 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 05:11:33.048793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/01/35/image_11042025_01_35_45_10373.jpg', '/home/pi/Desktop/images/11042025/01/35/image_11042025_01_35_54_9428.jpg', '/home/pi/Desktop/images/11042025/01/35/image_11042025_01_36_05_10490.jpg', '/home/pi/Desktop/images/11042025/01/36/image_11042025_01_36_15_10378.jpg', '/home/pi/Desktop/images/11042025/01/36/image_11042025_01_36_25_9375.jpg', '/home/pi/Desktop/images/11042025/01/36/image_11042025_01_36_35_10455.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/01/35/image_11042025_01_35_45_10373.jpg
/home/pi/Desktop/images/11042025/01/35/image_11042025_01_35_54_9428.jpg
/home/pi/Desktop/images/11042025/01/35/image_11042025_01_36_05_10490.jpg
/home/pi/Desktop/images/11042025/01/36/image_11042025_01_36_15_10378.jpg
/home/pi/Desktop/images/11042025/01/36/image_11042025_01_36_25_9375.jpg
/home/pi/Desktop/images/11042025/01/36/image_11042025_01_36_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":["1351460204","1351460026","1351460187","1351460088","1351460127","1351460202"],"photo_ids_order":["1351460026","1351460088","1351460127","1351460187","1351460202","1351460204"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f72b1d5d8a7b2b5f0b63b2a751ccd7c7.jpg","text":"TemporaryFile(/tmp/multipartBody2704588199421433417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341153528,"filename":"image_11042025_01_36_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/11/3fb49165f098688783ac0ef6336dd927.jpg","text":"TemporaryFile(/tmp/multipartBody5114728533614571873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341153528,"filename":"image_11042025_01_35_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/11/add1caac56d573d98066827092caa0ae.jpg","text":"TemporaryFile(/tmp/multipartBody1527006792388846420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341153528,"filename":"image_11042025_01_36_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/11/4102c05036370e813255c4a11dc06db7.jpg","text":"TemporaryFile(/tmp/multipartBody4522736205454656573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341153528,"filename":"image_11042025_01_35_54_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e960b8a081a0d76ba1de06dc6e20b900.jpg","text":"TemporaryFile(/tmp/multipartBody7276807817083296439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341153528,"filename":"image_11042025_01_36_05_10490.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/55dc21585cc058689d37a530d3974746.jpg","text":"TemporaryFile(/tmp/multipartBody8174620998820664668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341153528,"filename":"image_11042025_01_36_25_9375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351460127","file1":"1351460088","file0":"1351460026","file4":"1351460202","file5":"1351460204","file3":"1351460187"},"map_files_photo_id_array":[{"photo_id":"1351460204","filename":"file5"},{"photo_id":"1351460127","filename":"file2"},{"photo_id":"1351460202","filename":"file4"},{"photo_id":"1351460088","filename":"file1"},{"photo_id":"1351460026","filename":"file0"},{"photo_id":"1351460187","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351460204":["hashtag1","hashtag2"]},{"1351460026":["hashtag1","hashtag2"]},{"1351460187":["hashtag1","hashtag2"]},{"1351460088":["hashtag1","hashtag2"]},{"1351460127":["hashtag1","hashtag2"]},{"1351460202":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351460204, 1351460026, 1351460187, 1351460088, 1351460127, 1351460202)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.50855851173401 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 05:12:32.185267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/01/36/image_11042025_01_36_44_9374.jpg', '/home/pi/Desktop/images/11042025/01/36/image_11042025_01_36_55_10405.jpg', '/home/pi/Desktop/images/11042025/01/37/image_11042025_01_37_15_9419.jpg', '/home/pi/Desktop/images/11042025/01/37/image_11042025_01_37_24_9814.jpg', '/home/pi/Desktop/images/11042025/01/37/image_11042025_01_37_35_10552.jpg', '/home/pi/Desktop/images/11042025/01/37/image_11042025_01_37_44_9350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/01/36/image_11042025_01_36_44_9374.jpg
/home/pi/Desktop/images/11042025/01/36/image_11042025_01_36_55_10405.jpg
/home/pi/Desktop/images/11042025/01/37/image_11042025_01_37_15_9419.jpg
/home/pi/Desktop/images/11042025/01/37/image_11042025_01_37_24_9814.jpg
/home/pi/Desktop/images/11042025/01/37/image_11042025_01_37_35_10552.jpg
/home/pi/Desktop/images/11042025/01/37/image_11042025_01_37_44_9350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351460273","1351460267","1351460315","1351460312","1351460338","1351460317"],"photo_ids_order":["1351460267","1351460273","1351460312","1351460315","1351460317","1351460338"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/46aee93d3721a6cb0601bab51559fbad.jpg","text":"TemporaryFile(/tmp/multipartBody8905786543221139105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341212654,"filename":"image_11042025_01_36_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/11/236692cadc2ca68022a2ffb36912fed8.jpg","text":"TemporaryFile(/tmp/multipartBody4919099192851669861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341212654,"filename":"image_11042025_01_36_44_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b4e05621712611ecc21eda1eb6cd215c.jpg","text":"TemporaryFile(/tmp/multipartBody4091130637906443257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341212654,"filename":"image_11042025_01_37_24_9814.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/015b69d05a72ceae5b47036fa924c288.jpg","text":"TemporaryFile(/tmp/multipartBody2053259840649626495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341212654,"filename":"image_11042025_01_37_15_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d6ac2a4d47ac3c4d3b94088d8220fd78.jpg","text":"TemporaryFile(/tmp/multipartBody4011486065399017845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341212654,"filename":"image_11042025_01_37_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/11/3b7d5e911b3b638be83857c547717ab0.jpg","text":"TemporaryFile(/tmp/multipartBody9219645001639046907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341212654,"filename":"image_11042025_01_37_35_10552.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351460312","file1":"1351460273","file0":"1351460267","file4":"1351460317","file5":"1351460338","file3":"1351460315"},"map_files_photo_id_array":[{"photo_id":"1351460338","filename":"file5"},{"photo_id":"1351460312","filename":"file2"},{"photo_id":"1351460317","filename":"file4"},{"photo_id":"1351460273","filename":"file1"},{"photo_id":"1351460267","filename":"file0"},{"photo_id":"1351460315","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351460273":["hashtag1","hashtag2"]},{"1351460267":["hashtag1","hashtag2"]},{"1351460315":["hashtag1","hashtag2"]},{"1351460312":["hashtag1","hashtag2"]},{"1351460338":["hashtag1","hashtag2"]},{"1351460317":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351460273, 1351460267, 1351460315, 1351460312, 1351460338, 1351460317)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.71235013008118 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 05:13:32.418222
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/01/37/image_11042025_01_37_55_10445.jpg', '/home/pi/Desktop/images/11042025/01/37/image_11042025_01_38_05_10385.jpg', '/home/pi/Desktop/images/11042025/01/38/image_11042025_01_38_15_9359.jpg', '/home/pi/Desktop/images/11042025/01/38/image_11042025_01_38_35_10374.jpg', '/home/pi/Desktop/images/11042025/01/38/image_11042025_01_38_55_10401.jpg', '/home/pi/Desktop/images/11042025/01/39/image_11042025_01_39_15_10399.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/01/37/image_11042025_01_37_55_10445.jpg
/home/pi/Desktop/images/11042025/01/37/image_11042025_01_38_05_10385.jpg
/home/pi/Desktop/images/11042025/01/38/image_11042025_01_38_15_9359.jpg
/home/pi/Desktop/images/11042025/01/38/image_11042025_01_38_35_10374.jpg
/home/pi/Desktop/images/11042025/01/38/image_11042025_01_38_55_10401.jpg
/home/pi/Desktop/images/11042025/01/39/image_11042025_01_39_15_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":["1351460372","1351460375","1351460369","1351460363","1351460377","1351460365"],"photo_ids_order":["1351460363","1351460365","1351460369","1351460372","1351460375","1351460377"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/63e71b83425dc6a65b9a05008298a80a.jpg","text":"TemporaryFile(/tmp/multipartBody79999396696257977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341272886,"filename":"image_11042025_01_38_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/11/db19c1af992099783bc890828c4c57ef.jpg","text":"TemporaryFile(/tmp/multipartBody1999914732006590920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341272886,"filename":"image_11042025_01_38_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/11/117ff1b62811cc8f9388f6e488c802b8.jpg","text":"TemporaryFile(/tmp/multipartBody4891264518518771647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341272886,"filename":"image_11042025_01_38_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/11/259faf6c47934ce7630a2bdd23290b69.jpg","text":"TemporaryFile(/tmp/multipartBody894926989233796989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341272886,"filename":"image_11042025_01_37_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/11/cd43bc39131fac4b82dc0eb07be0b4ff.jpg","text":"TemporaryFile(/tmp/multipartBody1619663420215369094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341272886,"filename":"image_11042025_01_39_15_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/019c05d3bb6ff079ec2cf8406880f054.jpg","text":"TemporaryFile(/tmp/multipartBody1787050637867401728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341272886,"filename":"image_11042025_01_38_05_10385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351460369","file1":"1351460365","file0":"1351460363","file4":"1351460375","file5":"1351460377","file3":"1351460372"},"map_files_photo_id_array":[{"photo_id":"1351460377","filename":"file5"},{"photo_id":"1351460369","filename":"file2"},{"photo_id":"1351460375","filename":"file4"},{"photo_id":"1351460365","filename":"file1"},{"photo_id":"1351460363","filename":"file0"},{"photo_id":"1351460372","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351460372":["hashtag1","hashtag2"]},{"1351460375":["hashtag1","hashtag2"]},{"1351460369":["hashtag1","hashtag2"]},{"1351460363":["hashtag1","hashtag2"]},{"1351460377":["hashtag1","hashtag2"]},{"1351460365":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351460372, 1351460375, 1351460369, 1351460363, 1351460377, 1351460365)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.30716514587402 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 05:14:32.692407
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/01/39/image_11042025_01_39_35_9368.jpg', '/home/pi/Desktop/images/11042025/01/39/image_11042025_01_39_45_10467.jpg', '/home/pi/Desktop/images/11042025/01/40/image_11042025_01_40_15_10360.jpg', '/home/pi/Desktop/images/11042025/01/40/image_11042025_01_40_25_9425.jpg', '/home/pi/Desktop/images/11042025/01/40/image_11042025_01_40_35_10370.jpg', '/home/pi/Desktop/images/11042025/01/40/image_11042025_01_40_44_9350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/01/39/image_11042025_01_39_35_9368.jpg
/home/pi/Desktop/images/11042025/01/39/image_11042025_01_39_45_10467.jpg
/home/pi/Desktop/images/11042025/01/40/image_11042025_01_40_15_10360.jpg
/home/pi/Desktop/images/11042025/01/40/image_11042025_01_40_25_9425.jpg
/home/pi/Desktop/images/11042025/01/40/image_11042025_01_40_35_10370.jpg
/home/pi/Desktop/images/11042025/01/40/image_11042025_01_40_44_9350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351460403","1351460395","1351460398","1351460391","1351460396","1351460400"],"photo_ids_order":["1351460391","1351460395","1351460396","1351460398","1351460400","1351460403"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c8c4e10fcd2a2e4a452b972765227419.jpg","text":"TemporaryFile(/tmp/multipartBody7286302484959935863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341333567,"filename":"image_11042025_01_40_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/11/e65062af5701769c103e6c58614795cb.jpg","text":"TemporaryFile(/tmp/multipartBody2831632140921433225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341333567,"filename":"image_11042025_01_39_45_10467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/81b15104b0f7ed5a72157a8dac049478.jpg","text":"TemporaryFile(/tmp/multipartBody6955704826523361290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341333567,"filename":"image_11042025_01_40_25_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4f0190f6775db1c3ab65ed83aa83979c.jpg","text":"TemporaryFile(/tmp/multipartBody7701904220539281104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341333567,"filename":"image_11042025_01_39_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/11/ebb20ba602f5da2fa1bc2c4f1bc5b39b.jpg","text":"TemporaryFile(/tmp/multipartBody8201992440804839510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341333567,"filename":"image_11042025_01_40_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/11/04efbcaf310dff4dcea8f773bec3545d.jpg","text":"TemporaryFile(/tmp/multipartBody6026891206120779679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341333567,"filename":"image_11042025_01_40_35_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351460396","file1":"1351460395","file0":"1351460391","file4":"1351460400","file5":"1351460403","file3":"1351460398"},"map_files_photo_id_array":[{"photo_id":"1351460403","filename":"file5"},{"photo_id":"1351460396","filename":"file2"},{"photo_id":"1351460400","filename":"file4"},{"photo_id":"1351460395","filename":"file1"},{"photo_id":"1351460391","filename":"file0"},{"photo_id":"1351460398","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351460403":["hashtag1","hashtag2"]},{"1351460395":["hashtag1","hashtag2"]},{"1351460398":["hashtag1","hashtag2"]},{"1351460391":["hashtag1","hashtag2"]},{"1351460396":["hashtag1","hashtag2"]},{"1351460400":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351460403, 1351460395, 1351460398, 1351460391, 1351460396, 1351460400)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.06684589385986 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 05:15:32.941031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/01/40/image_11042025_01_40_55_10384.jpg', '/home/pi/Desktop/images/11042025/01/40/image_11042025_01_41_05_10345.jpg', '/home/pi/Desktop/images/11042025/01/41/image_11042025_01_41_15_9360.jpg', '/home/pi/Desktop/images/11042025/01/41/image_11042025_01_41_34_9410.jpg', '/home/pi/Desktop/images/11042025/01/41/image_11042025_01_41_45_10406.jpg', '/home/pi/Desktop/images/11042025/01/41/image_11042025_01_41_55_10384.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/01/40/image_11042025_01_40_55_10384.jpg
/home/pi/Desktop/images/11042025/01/40/image_11042025_01_41_05_10345.jpg
/home/pi/Desktop/images/11042025/01/41/image_11042025_01_41_15_9360.jpg
/home/pi/Desktop/images/11042025/01/41/image_11042025_01_41_34_9410.jpg
/home/pi/Desktop/images/11042025/01/41/image_11042025_01_41_45_10406.jpg
/home/pi/Desktop/images/11042025/01/41/image_11042025_01_41_55_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":["1351460494","1351460416","1351460466","1351460419","1351460442","1351460421"],"photo_ids_order":["1351460416","1351460419","1351460421","1351460442","1351460466","1351460494"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/52f6aa047690b300eb2aeb567208a355.jpg","text":"TemporaryFile(/tmp/multipartBody4363319467741556265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341393413,"filename":"image_11042025_01_41_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/11/ee319209a73daf2988c825e6f700840a.jpg","text":"TemporaryFile(/tmp/multipartBody8457398314310380915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341393413,"filename":"image_11042025_01_40_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/11/47f477037924c713f930d9ee9d368434.jpg","text":"TemporaryFile(/tmp/multipartBody4683871298816364700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341393413,"filename":"image_11042025_01_41_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/11/95a0e06c4932463091169f7cee3641fb.jpg","text":"TemporaryFile(/tmp/multipartBody9119216078926473241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341393413,"filename":"image_11042025_01_41_05_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/bf3bb351cfd55bf110de7a0c69288a7f.jpg","text":"TemporaryFile(/tmp/multipartBody5500415404923107748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341393413,"filename":"image_11042025_01_41_34_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/454f0daf22865a8a8e1b8a79aa87ad85.jpg","text":"TemporaryFile(/tmp/multipartBody5449717501054156593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341393413,"filename":"image_11042025_01_41_15_9360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351460421","file1":"1351460419","file0":"1351460416","file4":"1351460466","file5":"1351460494","file3":"1351460442"},"map_files_photo_id_array":[{"photo_id":"1351460494","filename":"file5"},{"photo_id":"1351460421","filename":"file2"},{"photo_id":"1351460466","filename":"file4"},{"photo_id":"1351460419","filename":"file1"},{"photo_id":"1351460416","filename":"file0"},{"photo_id":"1351460442","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351460494":["hashtag1","hashtag2"]},{"1351460416":["hashtag1","hashtag2"]},{"1351460466":["hashtag1","hashtag2"]},{"1351460419":["hashtag1","hashtag2"]},{"1351460442":["hashtag1","hashtag2"]},{"1351460421":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351460494, 1351460416, 1351460466, 1351460419, 1351460442, 1351460421)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.59767532348633 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 05:16:33.025327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/01/41/image_11042025_01_42_05_9350.jpg', '/home/pi/Desktop/images/11042025/01/42/image_11042025_01_42_25_10369.jpg', '/home/pi/Desktop/images/11042025/01/42/image_11042025_01_42_35_9351.jpg', '/home/pi/Desktop/images/11042025/01/42/image_11042025_01_42_45_10433.jpg', '/home/pi/Desktop/images/11042025/01/42/image_11042025_01_42_55_9452.jpg', '/home/pi/Desktop/images/11042025/01/42/image_11042025_01_43_05_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/01/41/image_11042025_01_42_05_9350.jpg
/home/pi/Desktop/images/11042025/01/42/image_11042025_01_42_25_10369.jpg
/home/pi/Desktop/images/11042025/01/42/image_11042025_01_42_35_9351.jpg
/home/pi/Desktop/images/11042025/01/42/image_11042025_01_42_45_10433.jpg
/home/pi/Desktop/images/11042025/01/42/image_11042025_01_42_55_9452.jpg
/home/pi/Desktop/images/11042025/01/42/image_11042025_01_43_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":["1351460714","1351460794","1351460773","1351460740","1351460844","1351460693"],"photo_ids_order":["1351460693","1351460714","1351460740","1351460773","1351460794","1351460844"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c6f155c5fb770785f069f9c20958ac68.jpg","text":"TemporaryFile(/tmp/multipartBody6840370280079087303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341453515,"filename":"image_11042025_01_42_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/11/48b8c4c4214f395fa808161298bbd2d2.jpg","text":"TemporaryFile(/tmp/multipartBody7285073991387216748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341453515,"filename":"image_11042025_01_42_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/11/95a503222ba53a67889b31c0428870f3.jpg","text":"TemporaryFile(/tmp/multipartBody4859492251222663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341453515,"filename":"image_11042025_01_42_45_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ba363a355e10463214444a29d6a26d61.jpg","text":"TemporaryFile(/tmp/multipartBody6016539908561803557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341453515,"filename":"image_11042025_01_42_35_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ce532594c44331b9f945fb77368a2b3c.jpg","text":"TemporaryFile(/tmp/multipartBody3610094520344538462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341453515,"filename":"image_11042025_01_43_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/11/4499e18db2b99b4ea8c544997f4ec404.jpg","text":"TemporaryFile(/tmp/multipartBody2354169498027634591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341453515,"filename":"image_11042025_01_42_05_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351460740","file1":"1351460714","file0":"1351460693","file4":"1351460794","file5":"1351460844","file3":"1351460773"},"map_files_photo_id_array":[{"photo_id":"1351460844","filename":"file5"},{"photo_id":"1351460740","filename":"file2"},{"photo_id":"1351460794","filename":"file4"},{"photo_id":"1351460714","filename":"file1"},{"photo_id":"1351460693","filename":"file0"},{"photo_id":"1351460773","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351460714":["hashtag1","hashtag2"]},{"1351460794":["hashtag1","hashtag2"]},{"1351460773":["hashtag1","hashtag2"]},{"1351460740":["hashtag1","hashtag2"]},{"1351460844":["hashtag1","hashtag2"]},{"1351460693":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351460714, 1351460794, 1351460773, 1351460740, 1351460844, 1351460693)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.78899550437927 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 05:17:32.269986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/01/43/image_11042025_01_43_25_9480.jpg', '/home/pi/Desktop/images/11042025/01/43/image_11042025_01_43_44_9361.jpg', '/home/pi/Desktop/images/11042025/01/43/image_11042025_01_43_55_10392.jpg', '/home/pi/Desktop/images/11042025/01/43/image_11042025_01_44_05_10360.jpg', '/home/pi/Desktop/images/11042025/01/44/image_11042025_01_44_15_9389.jpg', '/home/pi/Desktop/images/11042025/01/44/image_11042025_01_44_25_10428.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/01/43/image_11042025_01_43_25_9480.jpg
/home/pi/Desktop/images/11042025/01/43/image_11042025_01_43_44_9361.jpg
/home/pi/Desktop/images/11042025/01/43/image_11042025_01_43_55_10392.jpg
/home/pi/Desktop/images/11042025/01/43/image_11042025_01_44_05_10360.jpg
/home/pi/Desktop/images/11042025/01/44/image_11042025_01_44_15_9389.jpg
/home/pi/Desktop/images/11042025/01/44/image_11042025_01_44_25_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":["1351461005","1351460978","1351461238","1351461024","1351461383","1351461201"],"photo_ids_order":["1351460978","1351461005","1351461024","1351461201","1351461238","1351461383"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8bb78fe4ba6fa3249773bffa88e0230c.jpg","text":"TemporaryFile(/tmp/multipartBody9026339412327199035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341512745,"filename":"image_11042025_01_43_44_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/18a2b408bb64e50922e3fd28724c46a6.jpg","text":"TemporaryFile(/tmp/multipartBody194247112115084363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341512745,"filename":"image_11042025_01_43_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/11/4cd6ab13d4d30abde52b1106bb3b9af8.jpg","text":"TemporaryFile(/tmp/multipartBody3378056460912373780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341512745,"filename":"image_11042025_01_44_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/11/58ca2c7fa6d0149e9bb8c9d95312beb5.jpg","text":"TemporaryFile(/tmp/multipartBody6130931419268886441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341512745,"filename":"image_11042025_01_43_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/11/8fe07fb5a7305779781a04d8f4df489f.jpg","text":"TemporaryFile(/tmp/multipartBody1341312383055591912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341512745,"filename":"image_11042025_01_44_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/11/f92729c17e9c9094ace034ebb3e32db1.jpg","text":"TemporaryFile(/tmp/multipartBody1858133589332038724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341512745,"filename":"image_11042025_01_44_05_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351461024","file1":"1351461005","file0":"1351460978","file4":"1351461238","file5":"1351461383","file3":"1351461201"},"map_files_photo_id_array":[{"photo_id":"1351461383","filename":"file5"},{"photo_id":"1351461024","filename":"file2"},{"photo_id":"1351461238","filename":"file4"},{"photo_id":"1351461005","filename":"file1"},{"photo_id":"1351460978","filename":"file0"},{"photo_id":"1351461201","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351461005":["hashtag1","hashtag2"]},{"1351460978":["hashtag1","hashtag2"]},{"1351461238":["hashtag1","hashtag2"]},{"1351461024":["hashtag1","hashtag2"]},{"1351461383":["hashtag1","hashtag2"]},{"1351461201":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351461005, 1351460978, 1351461238, 1351461024, 1351461383, 1351461201)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.86576008796692 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 05:18:32.537975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/01/44/image_11042025_01_44_34_9365.jpg', '/home/pi/Desktop/images/11042025/01/44/image_11042025_01_44_45_10397.jpg', '/home/pi/Desktop/images/11042025/01/44/image_11042025_01_44_55_10389.jpg', '/home/pi/Desktop/images/11042025/01/44/image_11042025_01_45_05_9361.jpg', '/home/pi/Desktop/images/11042025/01/45/image_11042025_01_45_15_10468.jpg', '/home/pi/Desktop/images/11042025/01/45/image_11042025_01_45_24_9377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/01/44/image_11042025_01_44_34_9365.jpg
/home/pi/Desktop/images/11042025/01/44/image_11042025_01_44_45_10397.jpg
/home/pi/Desktop/images/11042025/01/44/image_11042025_01_44_55_10389.jpg
/home/pi/Desktop/images/11042025/01/44/image_11042025_01_45_05_9361.jpg
/home/pi/Desktop/images/11042025/01/45/image_11042025_01_45_15_10468.jpg
/home/pi/Desktop/images/11042025/01/45/image_11042025_01_45_24_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":["1351461612","1351461590","1351461686","1351461668","1351461606","1351461641"],"photo_ids_order":["1351461590","1351461606","1351461612","1351461641","1351461668","1351461686"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ea4ff147c35e34c315b2d0fad5c19a7e.jpg","text":"TemporaryFile(/tmp/multipartBody1007651337447855148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341573009,"filename":"image_11042025_01_44_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/11/5b1515793d324529bc4aa1b36035e2b0.jpg","text":"TemporaryFile(/tmp/multipartBody4432866163503010576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341573009,"filename":"image_11042025_01_44_34_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1ee6d20f68e6bb6da3348d496ba7b184.jpg","text":"TemporaryFile(/tmp/multipartBody2149059376802594588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341573009,"filename":"image_11042025_01_45_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/11/524247509549fdb3313a375fc9f24214.jpg","text":"TemporaryFile(/tmp/multipartBody2342817126145848282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341573009,"filename":"image_11042025_01_45_15_10468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1e4bfe8db8ddb884d7d57aa34f273d0c.jpg","text":"TemporaryFile(/tmp/multipartBody7253257187442372435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341573009,"filename":"image_11042025_01_44_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/11/b29de52bbc7481058cf507315dc4dc30.jpg","text":"TemporaryFile(/tmp/multipartBody5847163545604011034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341573009,"filename":"image_11042025_01_45_05_9361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351461612","file1":"1351461606","file0":"1351461590","file4":"1351461668","file5":"1351461686","file3":"1351461641"},"map_files_photo_id_array":[{"photo_id":"1351461686","filename":"file5"},{"photo_id":"1351461612","filename":"file2"},{"photo_id":"1351461668","filename":"file4"},{"photo_id":"1351461606","filename":"file1"},{"photo_id":"1351461590","filename":"file0"},{"photo_id":"1351461641","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351461612":["hashtag1","hashtag2"]},{"1351461590":["hashtag1","hashtag2"]},{"1351461686":["hashtag1","hashtag2"]},{"1351461668":["hashtag1","hashtag2"]},{"1351461606":["hashtag1","hashtag2"]},{"1351461641":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351461612, 1351461590, 1351461686, 1351461668, 1351461606, 1351461641)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.93181920051575 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 05:19:32.876961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/01/45/image_11042025_01_45_35_10441.jpg', '/home/pi/Desktop/images/11042025/01/45/image_11042025_01_45_45_10358.jpg', '/home/pi/Desktop/images/11042025/01/45/image_11042025_01_45_55_9377.jpg', '/home/pi/Desktop/images/11042025/01/45/image_11042025_01_46_05_10382.jpg', '/home/pi/Desktop/images/11042025/01/46/image_11042025_01_46_14_9372.jpg', '/home/pi/Desktop/images/11042025/01/46/image_11042025_01_46_25_10422.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/01/45/image_11042025_01_45_35_10441.jpg
/home/pi/Desktop/images/11042025/01/45/image_11042025_01_45_45_10358.jpg
/home/pi/Desktop/images/11042025/01/45/image_11042025_01_45_55_9377.jpg
/home/pi/Desktop/images/11042025/01/45/image_11042025_01_46_05_10382.jpg
/home/pi/Desktop/images/11042025/01/46/image_11042025_01_46_14_9372.jpg
/home/pi/Desktop/images/11042025/01/46/image_11042025_01_46_25_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":["1351461991","1351461973","1351461905","1351461970","1351461954","1351461998"],"photo_ids_order":["1351461905","1351461954","1351461970","1351461973","1351461991","1351461998"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/38838f11a1fa1532f6b1f10a8f834450.jpg","text":"TemporaryFile(/tmp/multipartBody668156925725219392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341633350,"filename":"image_11042025_01_46_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/11/19c5e56fe5a4e674ba4f465be21d2b7f.jpg","text":"TemporaryFile(/tmp/multipartBody5873750319462172590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341633350,"filename":"image_11042025_01_46_05_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/91aa2ee47a19892ab7954cc04f743b65.jpg","text":"TemporaryFile(/tmp/multipartBody6220542283604181058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341633350,"filename":"image_11042025_01_45_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/11/221414e6d734e81bfdb58db50a6515f3.jpg","text":"TemporaryFile(/tmp/multipartBody5792050086912149879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341633350,"filename":"image_11042025_01_45_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/11/8bbcecf36e132e0559ed1829e07eb340.jpg","text":"TemporaryFile(/tmp/multipartBody9132043800218610308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341633350,"filename":"image_11042025_01_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/11/b18c97fb1bb41019c07241a901f4ff71.jpg","text":"TemporaryFile(/tmp/multipartBody8828650109990685589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341633350,"filename":"image_11042025_01_46_25_10422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351461970","file1":"1351461954","file0":"1351461905","file4":"1351461991","file5":"1351461998","file3":"1351461973"},"map_files_photo_id_array":[{"photo_id":"1351461998","filename":"file5"},{"photo_id":"1351461970","filename":"file2"},{"photo_id":"1351461991","filename":"file4"},{"photo_id":"1351461954","filename":"file1"},{"photo_id":"1351461905","filename":"file0"},{"photo_id":"1351461973","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351461991":["hashtag1","hashtag2"]},{"1351461973":["hashtag1","hashtag2"]},{"1351461905":["hashtag1","hashtag2"]},{"1351461970":["hashtag1","hashtag2"]},{"1351461954":["hashtag1","hashtag2"]},{"1351461998":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351461991, 1351461973, 1351461905, 1351461970, 1351461954, 1351461998)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.0173237323761 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 05:20:33.098401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/01/46/image_11042025_01_46_35_10366.jpg', '/home/pi/Desktop/images/11042025/01/46/image_11042025_01_46_44_9371.jpg', '/home/pi/Desktop/images/11042025/01/46/image_11042025_01_46_55_10459.jpg', '/home/pi/Desktop/images/11042025/01/46/image_11042025_01_47_05_10369.jpg', '/home/pi/Desktop/images/11042025/01/47/image_11042025_01_47_15_9421.jpg', '/home/pi/Desktop/images/11042025/01/47/image_11042025_01_47_25_10381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/01/46/image_11042025_01_46_35_10366.jpg
/home/pi/Desktop/images/11042025/01/46/image_11042025_01_46_44_9371.jpg
/home/pi/Desktop/images/11042025/01/46/image_11042025_01_46_55_10459.jpg
/home/pi/Desktop/images/11042025/01/46/image_11042025_01_47_05_10369.jpg
/home/pi/Desktop/images/11042025/01/47/image_11042025_01_47_15_9421.jpg
/home/pi/Desktop/images/11042025/01/47/image_11042025_01_47_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":["1351462165","1351462123","1351462129","1351462080","1351462125","1351462121"],"photo_ids_order":["1351462080","1351462121","1351462123","1351462125","1351462129","1351462165"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4f6279513dac94676eea7bc56f89caab.jpg","text":"TemporaryFile(/tmp/multipartBody1123190729643772144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341693577,"filename":"image_11042025_01_47_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/11/ee6245504828d25be433067cbb9022a2.jpg","text":"TemporaryFile(/tmp/multipartBody5531288006162370440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341693577,"filename":"image_11042025_01_46_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/11/12447d34c39dad4d7aaed22f638a59c5.jpg","text":"TemporaryFile(/tmp/multipartBody9120461637285999360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341693577,"filename":"image_11042025_01_47_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/11/df2b77c25c771ec4a837c844fd3cc953.jpg","text":"TemporaryFile(/tmp/multipartBody9141374095217424625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341693577,"filename":"image_11042025_01_46_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/11/da04101c55c9065a87b6908beab833ff.jpg","text":"TemporaryFile(/tmp/multipartBody4670551050113124933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341693577,"filename":"image_11042025_01_47_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/11/b2ad9d8ba3ec27b4345abe26993af2a0.jpg","text":"TemporaryFile(/tmp/multipartBody5310053002669411283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341693577,"filename":"image_11042025_01_46_44_9371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351462123","file1":"1351462121","file0":"1351462080","file4":"1351462129","file5":"1351462165","file3":"1351462125"},"map_files_photo_id_array":[{"photo_id":"1351462165","filename":"file5"},{"photo_id":"1351462123","filename":"file2"},{"photo_id":"1351462129","filename":"file4"},{"photo_id":"1351462121","filename":"file1"},{"photo_id":"1351462080","filename":"file0"},{"photo_id":"1351462125","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351462165":["hashtag1","hashtag2"]},{"1351462123":["hashtag1","hashtag2"]},{"1351462129":["hashtag1","hashtag2"]},{"1351462080":["hashtag1","hashtag2"]},{"1351462125":["hashtag1","hashtag2"]},{"1351462121":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351462165, 1351462123, 1351462129, 1351462080, 1351462125, 1351462121)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.00286889076233 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 05:21:32.257897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/01/47/image_11042025_01_47_34_9348.jpg', '/home/pi/Desktop/images/11042025/01/47/image_11042025_01_47_45_10513.jpg', '/home/pi/Desktop/images/11042025/01/47/image_11042025_01_47_54_9364.jpg', '/home/pi/Desktop/images/11042025/01/47/image_11042025_01_48_05_10418.jpg', '/home/pi/Desktop/images/11042025/01/48/image_11042025_01_48_15_10387.jpg', '/home/pi/Desktop/images/11042025/01/48/image_11042025_01_48_25_9391.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/01/47/image_11042025_01_47_34_9348.jpg
/home/pi/Desktop/images/11042025/01/47/image_11042025_01_47_45_10513.jpg
/home/pi/Desktop/images/11042025/01/47/image_11042025_01_47_54_9364.jpg
/home/pi/Desktop/images/11042025/01/47/image_11042025_01_48_05_10418.jpg
/home/pi/Desktop/images/11042025/01/48/image_11042025_01_48_15_10387.jpg
/home/pi/Desktop/images/11042025/01/48/image_11042025_01_48_25_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":["1351462195","1351462204","1351462197","1351462206","1351462208","1351462202"],"photo_ids_order":["1351462195","1351462197","1351462202","1351462204","1351462206","1351462208"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8742e7f713ef47a18159360708876398.jpg","text":"TemporaryFile(/tmp/multipartBody6047977183418282148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341752729,"filename":"image_11042025_01_47_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/11/be77bf1b916e1071ba30d6fd95bd0cf4.jpg","text":"TemporaryFile(/tmp/multipartBody3236474084022146556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341752729,"filename":"image_11042025_01_48_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/11/e58d856b7d8d539cf3d4a97521f27529.jpg","text":"TemporaryFile(/tmp/multipartBody823337804174016275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341752729,"filename":"image_11042025_01_47_45_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/11/987dd41a96482005c090017ee5fb0391.jpg","text":"TemporaryFile(/tmp/multipartBody4330483285808562415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341752729,"filename":"image_11042025_01_48_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/11/0182c5b896000345ba16e092e5743a7f.jpg","text":"TemporaryFile(/tmp/multipartBody230353097906403835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341752729,"filename":"image_11042025_01_48_25_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/11/ba0b2b2d37ce1df9b6ace01ec800009d.jpg","text":"TemporaryFile(/tmp/multipartBody1806223347572255096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341752729,"filename":"image_11042025_01_47_54_9364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351462202","file1":"1351462197","file0":"1351462195","file4":"1351462206","file5":"1351462208","file3":"1351462204"},"map_files_photo_id_array":[{"photo_id":"1351462208","filename":"file5"},{"photo_id":"1351462202","filename":"file2"},{"photo_id":"1351462206","filename":"file4"},{"photo_id":"1351462197","filename":"file1"},{"photo_id":"1351462195","filename":"file0"},{"photo_id":"1351462204","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351462195":["hashtag1","hashtag2"]},{"1351462204":["hashtag1","hashtag2"]},{"1351462197":["hashtag1","hashtag2"]},{"1351462206":["hashtag1","hashtag2"]},{"1351462208":["hashtag1","hashtag2"]},{"1351462202":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351462195, 1351462204, 1351462197, 1351462206, 1351462208, 1351462202)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.32730436325073 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 05:22:32.593969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/01/48/image_11042025_01_48_35_10387.jpg', '/home/pi/Desktop/images/11042025/01/48/image_11042025_01_48_45_10367.jpg', '/home/pi/Desktop/images/11042025/01/48/image_11042025_01_48_55_9414.jpg', '/home/pi/Desktop/images/11042025/01/48/image_11042025_01_49_05_10368.jpg', '/home/pi/Desktop/images/11042025/01/49/image_11042025_01_49_14_9363.jpg', '/home/pi/Desktop/images/11042025/01/50/image_11042025_01_50_25_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/01/48/image_11042025_01_48_35_10387.jpg
/home/pi/Desktop/images/11042025/01/48/image_11042025_01_48_45_10367.jpg
/home/pi/Desktop/images/11042025/01/48/image_11042025_01_48_55_9414.jpg
/home/pi/Desktop/images/11042025/01/48/image_11042025_01_49_05_10368.jpg
/home/pi/Desktop/images/11042025/01/49/image_11042025_01_49_14_9363.jpg
/home/pi/Desktop/images/11042025/01/50/image_11042025_01_50_25_10352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351462222","1351462231","1351462225","1351462228","1351462233","1351462236"],"photo_ids_order":["1351462222","1351462225","1351462228","1351462231","1351462233","1351462236"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e216d7cae20b88d91cb282cae1e5ccfe.jpg","text":"TemporaryFile(/tmp/multipartBody2993671021278942355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341813060,"filename":"image_11042025_01_48_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/11/ebcec6b9d8ddd5a807c4115d14d4d6c2.jpg","text":"TemporaryFile(/tmp/multipartBody5169965628425859264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341813060,"filename":"image_11042025_01_49_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/11/a91b4eac96747fca5913736f8b05332d.jpg","text":"TemporaryFile(/tmp/multipartBody4798997097622221287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341813060,"filename":"image_11042025_01_48_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/11/a1552a5eaf0f62ed8912738616000b12.jpg","text":"TemporaryFile(/tmp/multipartBody4497960699665948796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341813060,"filename":"image_11042025_01_48_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/11/b030a82b485912a7064156563a9f2cef.jpg","text":"TemporaryFile(/tmp/multipartBody5553931724903260419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341813060,"filename":"image_11042025_01_49_14_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/11/4ec97cde3e73f7abc50a6d626d4e02ed.jpg","text":"TemporaryFile(/tmp/multipartBody2434663409388801827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341813060,"filename":"image_11042025_01_50_25_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351462228","file1":"1351462225","file0":"1351462222","file4":"1351462233","file5":"1351462236","file3":"1351462231"},"map_files_photo_id_array":[{"photo_id":"1351462236","filename":"file5"},{"photo_id":"1351462228","filename":"file2"},{"photo_id":"1351462233","filename":"file4"},{"photo_id":"1351462225","filename":"file1"},{"photo_id":"1351462222","filename":"file0"},{"photo_id":"1351462231","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351462222":["hashtag1","hashtag2"]},{"1351462231":["hashtag1","hashtag2"]},{"1351462225":["hashtag1","hashtag2"]},{"1351462228":["hashtag1","hashtag2"]},{"1351462233":["hashtag1","hashtag2"]},{"1351462236":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351462222, 1351462231, 1351462225, 1351462228, 1351462233, 1351462236)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.513332843780518 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 05:23:32.813463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/01/50/image_11042025_01_50_35_9364.jpg', '/home/pi/Desktop/images/11042025/01/50/image_11042025_01_50_54_9361.jpg', '/home/pi/Desktop/images/11042025/01/50/image_11042025_01_51_05_10445.jpg', '/home/pi/Desktop/images/11042025/01/51/image_11042025_01_51_25_9368.jpg', '/home/pi/Desktop/images/11042025/01/51/image_11042025_01_51_35_10419.jpg', '/home/pi/Desktop/images/11042025/01/51/image_11042025_01_51_55_10408.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/01/50/image_11042025_01_50_35_9364.jpg
/home/pi/Desktop/images/11042025/01/50/image_11042025_01_50_54_9361.jpg
/home/pi/Desktop/images/11042025/01/50/image_11042025_01_51_05_10445.jpg
/home/pi/Desktop/images/11042025/01/51/image_11042025_01_51_25_9368.jpg
/home/pi/Desktop/images/11042025/01/51/image_11042025_01_51_35_10419.jpg
/home/pi/Desktop/images/11042025/01/51/image_11042025_01_51_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":["1351462255","1351462264","1351462260","1351462268","1351462277","1351462271"],"photo_ids_order":["1351462255","1351462260","1351462264","1351462268","1351462271","1351462277"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a51e5ee73c994491876b318f9788e14c.jpg","text":"TemporaryFile(/tmp/multipartBody470487993281202948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341873289,"filename":"image_11042025_01_50_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/11/2f38537539599223b4dea3821e9f117a.jpg","text":"TemporaryFile(/tmp/multipartBody1268914010069642854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341873289,"filename":"image_11042025_01_51_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/11/afbb25f8f374e3bbe56b16dd8f9aa739.jpg","text":"TemporaryFile(/tmp/multipartBody1848953002616596360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341873289,"filename":"image_11042025_01_50_54_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3376a17032d48458866b2410f555b30f.jpg","text":"TemporaryFile(/tmp/multipartBody7165309574190102266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341873289,"filename":"image_11042025_01_51_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/11/3279f3c5bcff2fb556e653cbe3d33f98.jpg","text":"TemporaryFile(/tmp/multipartBody7703097665121481927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341873289,"filename":"image_11042025_01_51_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/11/5bb10a91bb0f6cbaf647cc2f747a5d87.jpg","text":"TemporaryFile(/tmp/multipartBody8376915864600532466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341873289,"filename":"image_11042025_01_51_35_10419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351462264","file1":"1351462260","file0":"1351462255","file4":"1351462271","file5":"1351462277","file3":"1351462268"},"map_files_photo_id_array":[{"photo_id":"1351462277","filename":"file5"},{"photo_id":"1351462264","filename":"file2"},{"photo_id":"1351462271","filename":"file4"},{"photo_id":"1351462260","filename":"file1"},{"photo_id":"1351462255","filename":"file0"},{"photo_id":"1351462268","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351462255":["hashtag1","hashtag2"]},{"1351462264":["hashtag1","hashtag2"]},{"1351462260":["hashtag1","hashtag2"]},{"1351462268":["hashtag1","hashtag2"]},{"1351462277":["hashtag1","hashtag2"]},{"1351462271":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351462255, 1351462264, 1351462260, 1351462268, 1351462277, 1351462271)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.38236737251282 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 05:24:33.000848
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/01/51/image_11042025_01_52_05_10422.jpg', '/home/pi/Desktop/images/11042025/01/52/image_11042025_01_52_15_9367.jpg', '/home/pi/Desktop/images/11042025/01/52/image_11042025_01_52_45_10443.jpg', '/home/pi/Desktop/images/11042025/01/52/image_11042025_01_52_55_10380.jpg', '/home/pi/Desktop/images/11042025/01/53/image_11042025_01_53_15_10394.jpg', '/home/pi/Desktop/images/11042025/01/53/image_11042025_01_53_24_9389.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/01/51/image_11042025_01_52_05_10422.jpg
/home/pi/Desktop/images/11042025/01/52/image_11042025_01_52_15_9367.jpg
/home/pi/Desktop/images/11042025/01/52/image_11042025_01_52_45_10443.jpg
/home/pi/Desktop/images/11042025/01/52/image_11042025_01_52_55_10380.jpg
/home/pi/Desktop/images/11042025/01/53/image_11042025_01_53_15_10394.jpg
/home/pi/Desktop/images/11042025/01/53/image_11042025_01_53_24_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":["1351462294","1351462288","1351462321","1351462318","1351462303","1351462304"],"photo_ids_order":["1351462288","1351462294","1351462303","1351462304","1351462318","1351462321"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c7cade7394c23bcfa3e5dafb4d4a4007.jpg","text":"TemporaryFile(/tmp/multipartBody4289399086115443814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341933484,"filename":"image_11042025_01_52_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/11/cbbf6d8263f50c45f435bf874545a8aa.jpg","text":"TemporaryFile(/tmp/multipartBody4787057798201016797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341933484,"filename":"image_11042025_01_52_05_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/561377754543f48730b00e27a4fee9a6.jpg","text":"TemporaryFile(/tmp/multipartBody4315359065477539498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341933484,"filename":"image_11042025_01_53_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/11/fd4d92f67c8ad6b32107dfc9d288415e.jpg","text":"TemporaryFile(/tmp/multipartBody1862654567938495377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341933484,"filename":"image_11042025_01_53_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/11/7c37dc910073058d85acb9f95b2bcc12.jpg","text":"TemporaryFile(/tmp/multipartBody1559962884597382276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341933484,"filename":"image_11042025_01_52_45_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/517779be0103b482d8817cffcbbdc97f.jpg","text":"TemporaryFile(/tmp/multipartBody7653718398882970760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341933484,"filename":"image_11042025_01_52_55_10380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351462303","file1":"1351462294","file0":"1351462288","file4":"1351462318","file5":"1351462321","file3":"1351462304"},"map_files_photo_id_array":[{"photo_id":"1351462321","filename":"file5"},{"photo_id":"1351462303","filename":"file2"},{"photo_id":"1351462318","filename":"file4"},{"photo_id":"1351462294","filename":"file1"},{"photo_id":"1351462288","filename":"file0"},{"photo_id":"1351462304","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351462294":["hashtag1","hashtag2"]},{"1351462288":["hashtag1","hashtag2"]},{"1351462321":["hashtag1","hashtag2"]},{"1351462318":["hashtag1","hashtag2"]},{"1351462303":["hashtag1","hashtag2"]},{"1351462304":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351462294, 1351462288, 1351462321, 1351462318, 1351462303, 1351462304)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.567837715148926 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 05:25:32.179149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/01/53/image_11042025_01_53_35_10425.jpg', '/home/pi/Desktop/images/11042025/01/53/image_11042025_01_53_45_10377.jpg', '/home/pi/Desktop/images/11042025/01/53/image_11042025_01_54_05_10437.jpg', '/home/pi/Desktop/images/11042025/01/54/image_11042025_01_54_14_9431.jpg', '/home/pi/Desktop/images/11042025/01/54/image_11042025_01_54_25_10432.jpg', '/home/pi/Desktop/images/11042025/01/54/image_11042025_01_54_35_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/01/53/image_11042025_01_53_35_10425.jpg
/home/pi/Desktop/images/11042025/01/53/image_11042025_01_53_45_10377.jpg
/home/pi/Desktop/images/11042025/01/53/image_11042025_01_54_05_10437.jpg
/home/pi/Desktop/images/11042025/01/54/image_11042025_01_54_14_9431.jpg
/home/pi/Desktop/images/11042025/01/54/image_11042025_01_54_25_10432.jpg
/home/pi/Desktop/images/11042025/01/54/image_11042025_01_54_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":["1351462420","1351462385","1351462373","1351462370","1351462364","1351462400"],"photo_ids_order":["1351462364","1351462370","1351462373","1351462385","1351462400","1351462420"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/93d9c718d1cba02e09605d72f0e4c59a.jpg","text":"TemporaryFile(/tmp/multipartBody7260780993388572900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341992649,"filename":"image_11042025_01_54_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/11/e63862097b3004e0dccae34b2ae7f114.jpg","text":"TemporaryFile(/tmp/multipartBody7681336136769297937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341992649,"filename":"image_11042025_01_54_14_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0cc6327cd7f43bd6d41d1f60e388189c.jpg","text":"TemporaryFile(/tmp/multipartBody8473701976325919433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341992649,"filename":"image_11042025_01_54_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/11/04cc0110af1a8e8c222825a3dfc6730a.jpg","text":"TemporaryFile(/tmp/multipartBody8768511337773850702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341992649,"filename":"image_11042025_01_53_45_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/eb27510b3664ccfe156ed59680b72e84.jpg","text":"TemporaryFile(/tmp/multipartBody5828945630394626065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341992649,"filename":"image_11042025_01_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/11/499aaf80471a5d31fe3f62cae3d19b4d.jpg","text":"TemporaryFile(/tmp/multipartBody7216763490335188854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744341992649,"filename":"image_11042025_01_54_25_10432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351462373","file1":"1351462370","file0":"1351462364","file4":"1351462400","file5":"1351462420","file3":"1351462385"},"map_files_photo_id_array":[{"photo_id":"1351462420","filename":"file5"},{"photo_id":"1351462373","filename":"file2"},{"photo_id":"1351462400","filename":"file4"},{"photo_id":"1351462370","filename":"file1"},{"photo_id":"1351462364","filename":"file0"},{"photo_id":"1351462385","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351462420":["hashtag1","hashtag2"]},{"1351462385":["hashtag1","hashtag2"]},{"1351462373":["hashtag1","hashtag2"]},{"1351462370":["hashtag1","hashtag2"]},{"1351462364":["hashtag1","hashtag2"]},{"1351462400":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351462420, 1351462385, 1351462373, 1351462370, 1351462364, 1351462400)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.431774377822876 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 05:26:32.413077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/01/54/image_11042025_01_54_45_9373.jpg', '/home/pi/Desktop/images/11042025/01/54/image_11042025_01_54_55_10442.jpg', '/home/pi/Desktop/images/11042025/01/54/image_11042025_01_55_04_9359.jpg', '/home/pi/Desktop/images/11042025/01/55/image_11042025_01_55_15_10437.jpg', '/home/pi/Desktop/images/11042025/01/55/image_11042025_01_55_25_10366.jpg', '/home/pi/Desktop/images/11042025/01/55/image_11042025_01_55_35_9373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/01/54/image_11042025_01_54_45_9373.jpg
/home/pi/Desktop/images/11042025/01/54/image_11042025_01_54_55_10442.jpg
/home/pi/Desktop/images/11042025/01/54/image_11042025_01_55_04_9359.jpg
/home/pi/Desktop/images/11042025/01/55/image_11042025_01_55_15_10437.jpg
/home/pi/Desktop/images/11042025/01/55/image_11042025_01_55_25_10366.jpg
/home/pi/Desktop/images/11042025/01/55/image_11042025_01_55_35_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":["1351462651","1351462630","1351462612","1351462621","1351462644","1351462637"],"photo_ids_order":["1351462612","1351462621","1351462630","1351462637","1351462644","1351462651"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/bc47923cb5796f588b10af554f8a9ffe.jpg","text":"TemporaryFile(/tmp/multipartBody1171748064434952844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342052950,"filename":"image_11042025_01_55_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/11/592025307b56fc1ef201173d3c0b6144.jpg","text":"TemporaryFile(/tmp/multipartBody6596278731471205949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342052950,"filename":"image_11042025_01_55_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/11/6df1c35ad4ab8f82ab73751f035f3475.jpg","text":"TemporaryFile(/tmp/multipartBody940064234147345857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342052950,"filename":"image_11042025_01_54_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/11/475dc70ebdc4c59f8e4c7b9c933823ef.jpg","text":"TemporaryFile(/tmp/multipartBody4873715375468411452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342052950,"filename":"image_11042025_01_54_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/11/76ebf4b527133aeb5c7272bf8b8a837d.jpg","text":"TemporaryFile(/tmp/multipartBody6604639262251220086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342052950,"filename":"image_11042025_01_55_25_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4399e26e5d47a545fdfdc18b10738c4d.jpg","text":"TemporaryFile(/tmp/multipartBody2748287150112578358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342052950,"filename":"image_11042025_01_55_15_10437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351462630","file1":"1351462621","file0":"1351462612","file4":"1351462644","file5":"1351462651","file3":"1351462637"},"map_files_photo_id_array":[{"photo_id":"1351462651","filename":"file5"},{"photo_id":"1351462630","filename":"file2"},{"photo_id":"1351462644","filename":"file4"},{"photo_id":"1351462621","filename":"file1"},{"photo_id":"1351462612","filename":"file0"},{"photo_id":"1351462637","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351462651":["hashtag1","hashtag2"]},{"1351462630":["hashtag1","hashtag2"]},{"1351462612":["hashtag1","hashtag2"]},{"1351462621":["hashtag1","hashtag2"]},{"1351462644":["hashtag1","hashtag2"]},{"1351462637":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351462651, 1351462630, 1351462612, 1351462621, 1351462644, 1351462637)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.478697061538696 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 05:27:32.671194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/01/55/image_11042025_01_55_45_10389.jpg', '/home/pi/Desktop/images/11042025/01/55/image_11042025_01_55_55_10387.jpg', '/home/pi/Desktop/images/11042025/01/56/image_11042025_01_56_15_10377.jpg', '/home/pi/Desktop/images/11042025/01/56/image_11042025_01_56_24_9450.jpg', '/home/pi/Desktop/images/11042025/01/57/image_11042025_01_57_25_10399.jpg', '/home/pi/Desktop/images/11042025/01/57/image_11042025_01_57_35_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/01/55/image_11042025_01_55_45_10389.jpg
/home/pi/Desktop/images/11042025/01/55/image_11042025_01_55_55_10387.jpg
/home/pi/Desktop/images/11042025/01/56/image_11042025_01_56_15_10377.jpg
/home/pi/Desktop/images/11042025/01/56/image_11042025_01_56_24_9450.jpg
/home/pi/Desktop/images/11042025/01/57/image_11042025_01_57_25_10399.jpg
/home/pi/Desktop/images/11042025/01/57/image_11042025_01_57_35_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":["1351462753","1351462731","1351462781","1351462775","1351462784","1351462778"],"photo_ids_order":["1351462731","1351462753","1351462775","1351462778","1351462781","1351462784"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/eed1638b9ee8a0a229bcff492e9f922c.jpg","text":"TemporaryFile(/tmp/multipartBody5032966312737479030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342113146,"filename":"image_11042025_01_55_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/11/9bc7f7a5624b5b34f6644902cfdd1cb2.jpg","text":"TemporaryFile(/tmp/multipartBody7445548054983835434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342113146,"filename":"image_11042025_01_55_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/11/5c2a305fe87331abce2ba767c38c07ca.jpg","text":"TemporaryFile(/tmp/multipartBody981952894603070692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342113146,"filename":"image_11042025_01_57_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/11/2523442acad33ef36dadac18721c76f4.jpg","text":"TemporaryFile(/tmp/multipartBody4469589737901562823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342113146,"filename":"image_11042025_01_56_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/11/0ad0443f9c1241c2a9cceaea93fc1631.jpg","text":"TemporaryFile(/tmp/multipartBody4225676655985479134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342113146,"filename":"image_11042025_01_57_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/11/ea2052f6c1c3046a17bd8b2458a851bd.jpg","text":"TemporaryFile(/tmp/multipartBody2660737645060898304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342113146,"filename":"image_11042025_01_56_24_9450.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351462775","file1":"1351462753","file0":"1351462731","file4":"1351462781","file5":"1351462784","file3":"1351462778"},"map_files_photo_id_array":[{"photo_id":"1351462784","filename":"file5"},{"photo_id":"1351462775","filename":"file2"},{"photo_id":"1351462781","filename":"file4"},{"photo_id":"1351462753","filename":"file1"},{"photo_id":"1351462731","filename":"file0"},{"photo_id":"1351462778","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351462753":["hashtag1","hashtag2"]},{"1351462731":["hashtag1","hashtag2"]},{"1351462781":["hashtag1","hashtag2"]},{"1351462775":["hashtag1","hashtag2"]},{"1351462784":["hashtag1","hashtag2"]},{"1351462778":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351462753, 1351462731, 1351462781, 1351462775, 1351462784, 1351462778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.10397934913635 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 05:28:32.865043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/01/57/image_11042025_01_57_45_9384.jpg', '/home/pi/Desktop/images/11042025/01/57/image_11042025_01_57_55_10378.jpg', '/home/pi/Desktop/images/11042025/01/57/image_11042025_01_58_04_9405.jpg', '/home/pi/Desktop/images/11042025/01/58/image_11042025_01_58_15_10373.jpg', '/home/pi/Desktop/images/11042025/01/58/image_11042025_01_58_25_10378.jpg', '/home/pi/Desktop/images/11042025/01/58/image_11042025_01_58_35_9369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/01/57/image_11042025_01_57_45_9384.jpg
/home/pi/Desktop/images/11042025/01/57/image_11042025_01_57_55_10378.jpg
/home/pi/Desktop/images/11042025/01/57/image_11042025_01_58_04_9405.jpg
/home/pi/Desktop/images/11042025/01/58/image_11042025_01_58_15_10373.jpg
/home/pi/Desktop/images/11042025/01/58/image_11042025_01_58_25_10378.jpg
/home/pi/Desktop/images/11042025/01/58/image_11042025_01_58_35_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":["1351462882","1351462983","1351462854","1351462955","1351463398","1351463065"],"photo_ids_order":["1351462854","1351462882","1351462955","1351462983","1351463065","1351463398"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/962399ac0798676a39d7e271a6a07a76.jpg","text":"TemporaryFile(/tmp/multipartBody9198653488482426105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342173343,"filename":"image_11042025_01_57_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/11/d3ef79f651a07a576ad64e7da8a8d7de.jpg","text":"TemporaryFile(/tmp/multipartBody7537641512354555132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342173343,"filename":"image_11042025_01_58_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/11/6b555aed8ef7bf4d51b4356315e75f0b.jpg","text":"TemporaryFile(/tmp/multipartBody1421666922963687659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342173343,"filename":"image_11042025_01_57_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/11/fd1b419655741e6bb58685d0e2930745.jpg","text":"TemporaryFile(/tmp/multipartBody8264539752567327531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342173343,"filename":"image_11042025_01_58_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/11/dca01f92131101c9a98c2a214a56990a.jpg","text":"TemporaryFile(/tmp/multipartBody1273710189739925684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342173343,"filename":"image_11042025_01_58_35_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/09f234babf590527b5616f8238cedad6.jpg","text":"TemporaryFile(/tmp/multipartBody3703428054717974069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342173343,"filename":"image_11042025_01_58_25_10378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351462955","file1":"1351462882","file0":"1351462854","file4":"1351463065","file5":"1351463398","file3":"1351462983"},"map_files_photo_id_array":[{"photo_id":"1351463398","filename":"file5"},{"photo_id":"1351462955","filename":"file2"},{"photo_id":"1351463065","filename":"file4"},{"photo_id":"1351462882","filename":"file1"},{"photo_id":"1351462854","filename":"file0"},{"photo_id":"1351462983","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351462882":["hashtag1","hashtag2"]},{"1351462983":["hashtag1","hashtag2"]},{"1351462854":["hashtag1","hashtag2"]},{"1351462955":["hashtag1","hashtag2"]},{"1351463398":["hashtag1","hashtag2"]},{"1351463065":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351462882, 1351462983, 1351462854, 1351462955, 1351463398, 1351463065)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.975871086120605 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 05:29:33.147712
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/01/58/image_11042025_01_58_45_10393.jpg', '/home/pi/Desktop/images/11042025/01/58/image_11042025_01_58_55_10371.jpg', '/home/pi/Desktop/images/11042025/01/58/image_11042025_01_59_05_9406.jpg', '/home/pi/Desktop/images/11042025/01/59/image_11042025_01_59_15_10457.jpg', '/home/pi/Desktop/images/11042025/01/59/image_11042025_01_59_25_9364.jpg', '/home/pi/Desktop/images/11042025/01/59/image_11042025_01_59_45_10374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/01/58/image_11042025_01_58_45_10393.jpg
/home/pi/Desktop/images/11042025/01/58/image_11042025_01_58_55_10371.jpg
/home/pi/Desktop/images/11042025/01/58/image_11042025_01_59_05_9406.jpg
/home/pi/Desktop/images/11042025/01/59/image_11042025_01_59_15_10457.jpg
/home/pi/Desktop/images/11042025/01/59/image_11042025_01_59_25_9364.jpg
/home/pi/Desktop/images/11042025/01/59/image_11042025_01_59_45_10374.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351463490","1351463448","1351463445","1351463462","1351463488","1351463482"],"photo_ids_order":["1351463445","1351463448","1351463462","1351463482","1351463488","1351463490"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5c1ac5939db8d6a7d91eb7896b722d75.jpg","text":"TemporaryFile(/tmp/multipartBody1903666520589565889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342233618,"filename":"image_11042025_01_59_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/11/5b1f73b0b61c9777a4da939bdb30a314.jpg","text":"TemporaryFile(/tmp/multipartBody2897360490557953087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342233618,"filename":"image_11042025_01_58_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/11/04cca2fcdd6c9a23710e77bab25a5f92.jpg","text":"TemporaryFile(/tmp/multipartBody1955132421245574652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342233618,"filename":"image_11042025_01_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/11/f9617c21228d2e65e92fbd495fa19cc0.jpg","text":"TemporaryFile(/tmp/multipartBody802597387449474864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342233618,"filename":"image_11042025_01_59_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/11/b1d61393a8ef36d53fbcbd33d5229e1b.jpg","text":"TemporaryFile(/tmp/multipartBody2485541727136617348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342233618,"filename":"image_11042025_01_59_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/11/9dd37bc1de78946cc6729c34c335fb67.jpg","text":"TemporaryFile(/tmp/multipartBody4449137379194825580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342233618,"filename":"image_11042025_01_59_15_10457.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351463462","file1":"1351463448","file0":"1351463445","file4":"1351463488","file5":"1351463490","file3":"1351463482"},"map_files_photo_id_array":[{"photo_id":"1351463490","filename":"file5"},{"photo_id":"1351463462","filename":"file2"},{"photo_id":"1351463488","filename":"file4"},{"photo_id":"1351463448","filename":"file1"},{"photo_id":"1351463445","filename":"file0"},{"photo_id":"1351463482","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351463490":["hashtag1","hashtag2"]},{"1351463448":["hashtag1","hashtag2"]},{"1351463445":["hashtag1","hashtag2"]},{"1351463462":["hashtag1","hashtag2"]},{"1351463488":["hashtag1","hashtag2"]},{"1351463482":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351463490, 1351463448, 1351463445, 1351463462, 1351463488, 1351463482)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.08178448677063 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 05:30:32.328609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/01/59/image_11042025_01_59_55_9464.jpg', '/home/pi/Desktop/images/11042025/02/01/image_11042025_02_01_14_10085.jpg', '/home/pi/Desktop/images/11042025/02/01/image_11042025_02_01_24_10373.jpg', '/home/pi/Desktop/images/11042025/02/01/image_11042025_02_01_35_10470.jpg', '/home/pi/Desktop/images/11042025/02/01/image_11042025_02_01_44_9356.jpg', '/home/pi/Desktop/images/11042025/02/01/image_11042025_02_01_54_10380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/01/59/image_11042025_01_59_55_9464.jpg
/home/pi/Desktop/images/11042025/02/01/image_11042025_02_01_14_10085.jpg
/home/pi/Desktop/images/11042025/02/01/image_11042025_02_01_24_10373.jpg
/home/pi/Desktop/images/11042025/02/01/image_11042025_02_01_35_10470.jpg
/home/pi/Desktop/images/11042025/02/01/image_11042025_02_01_44_9356.jpg
/home/pi/Desktop/images/11042025/02/01/image_11042025_02_01_54_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":["1351463526","1351463513","1351463516","1351463519","1351463530","1351463524"],"photo_ids_order":["1351463513","1351463516","1351463519","1351463524","1351463526","1351463530"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ff2ae07ed90258daee6fd0769b173887.jpg","text":"TemporaryFile(/tmp/multipartBody8165062678693995687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342292813,"filename":"image_11042025_02_01_44_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/666800dc7a222a7a790e5649aa606685.jpg","text":"TemporaryFile(/tmp/multipartBody6759072185929230735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342292813,"filename":"image_11042025_01_59_55_9464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/563b4e11a2adba237aef2fdb4e94816a.jpg","text":"TemporaryFile(/tmp/multipartBody582653103061824067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342292813,"filename":"image_11042025_02_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/11/1c9f972a27b5093d3bd789e8dcb7c220.jpg","text":"TemporaryFile(/tmp/multipartBody7325655106705774628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342292813,"filename":"image_11042025_02_01_24_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f5adcdbde9f6fe1842d7a4c1c2fa5f87.jpg","text":"TemporaryFile(/tmp/multipartBody6145091176763860254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342292813,"filename":"image_11042025_02_01_54_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/11/51d88c9a656d9251cd691ab5c24e3f23.jpg","text":"TemporaryFile(/tmp/multipartBody795546901015404922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342292813,"filename":"image_11042025_02_01_35_10470.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351463519","file1":"1351463516","file0":"1351463513","file4":"1351463526","file5":"1351463530","file3":"1351463524"},"map_files_photo_id_array":[{"photo_id":"1351463530","filename":"file5"},{"photo_id":"1351463519","filename":"file2"},{"photo_id":"1351463526","filename":"file4"},{"photo_id":"1351463516","filename":"file1"},{"photo_id":"1351463513","filename":"file0"},{"photo_id":"1351463524","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351463526":["hashtag1","hashtag2"]},{"1351463513":["hashtag1","hashtag2"]},{"1351463516":["hashtag1","hashtag2"]},{"1351463519":["hashtag1","hashtag2"]},{"1351463530":["hashtag1","hashtag2"]},{"1351463524":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351463526, 1351463513, 1351463516, 1351463519, 1351463530, 1351463524)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.727778911590576 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 05:31:32.591169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/02/02/image_11042025_02_02_14_10373.jpg', '/home/pi/Desktop/images/11042025/02/02/image_11042025_02_02_25_10377.jpg', '/home/pi/Desktop/images/11042025/02/02/image_11042025_02_02_34_9408.jpg', '/home/pi/Desktop/images/11042025/02/02/image_11042025_02_02_44_10353.jpg', '/home/pi/Desktop/images/11042025/02/02/image_11042025_02_02_55_10428.jpg', '/home/pi/Desktop/images/11042025/02/02/image_11042025_02_03_04_9377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/02/02/image_11042025_02_02_14_10373.jpg
/home/pi/Desktop/images/11042025/02/02/image_11042025_02_02_25_10377.jpg
/home/pi/Desktop/images/11042025/02/02/image_11042025_02_02_34_9408.jpg
/home/pi/Desktop/images/11042025/02/02/image_11042025_02_02_44_10353.jpg
/home/pi/Desktop/images/11042025/02/02/image_11042025_02_02_55_10428.jpg
/home/pi/Desktop/images/11042025/02/02/image_11042025_02_03_04_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":["1351463571","1351463580","1351463574","1351463585","1351463569","1351463578"],"photo_ids_order":["1351463569","1351463571","1351463574","1351463578","1351463580","1351463585"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/06fdca33dd8f8b247e56752e02b082b5.jpg","text":"TemporaryFile(/tmp/multipartBody3138541052041502449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342353066,"filename":"image_11042025_02_02_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/11/03e8f152ca0ab543e1f7b9df157e9424.jpg","text":"TemporaryFile(/tmp/multipartBody818309502253945229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342353066,"filename":"image_11042025_02_02_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/11/0acba0cde917fcceeef2ea5bf1c11f4d.jpg","text":"TemporaryFile(/tmp/multipartBody1352065859051101391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342353066,"filename":"image_11042025_02_02_34_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b16c8b77d8811490d6a288b744b57e23.jpg","text":"TemporaryFile(/tmp/multipartBody2285804142558156220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342353066,"filename":"image_11042025_02_03_04_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/04b644d40acb580deb328a88f5f286db.jpg","text":"TemporaryFile(/tmp/multipartBody6512629739700794038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342353066,"filename":"image_11042025_02_02_14_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/28ffdd61a0ff5528b531f8daa6f24eec.jpg","text":"TemporaryFile(/tmp/multipartBody6601012625259121515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342353066,"filename":"image_11042025_02_02_44_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351463574","file1":"1351463571","file0":"1351463569","file4":"1351463580","file5":"1351463585","file3":"1351463578"},"map_files_photo_id_array":[{"photo_id":"1351463585","filename":"file5"},{"photo_id":"1351463574","filename":"file2"},{"photo_id":"1351463580","filename":"file4"},{"photo_id":"1351463571","filename":"file1"},{"photo_id":"1351463569","filename":"file0"},{"photo_id":"1351463578","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351463571":["hashtag1","hashtag2"]},{"1351463580":["hashtag1","hashtag2"]},{"1351463574":["hashtag1","hashtag2"]},{"1351463585":["hashtag1","hashtag2"]},{"1351463569":["hashtag1","hashtag2"]},{"1351463578":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351463571, 1351463580, 1351463574, 1351463585, 1351463569, 1351463578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.52382469177246 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 05:32:32.846247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/02/03/image_11042025_02_03_15_10365.jpg', '/home/pi/Desktop/images/11042025/02/03/image_11042025_02_03_24_9438.jpg', '/home/pi/Desktop/images/11042025/02/03/image_11042025_02_03_34_10436.jpg', '/home/pi/Desktop/images/11042025/02/03/image_11042025_02_03_44_9404.jpg', '/home/pi/Desktop/images/11042025/02/03/image_11042025_02_04_05_10456.jpg', '/home/pi/Desktop/images/11042025/02/04/image_11042025_02_04_14_9358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/02/03/image_11042025_02_03_15_10365.jpg
/home/pi/Desktop/images/11042025/02/03/image_11042025_02_03_24_9438.jpg
/home/pi/Desktop/images/11042025/02/03/image_11042025_02_03_34_10436.jpg
/home/pi/Desktop/images/11042025/02/03/image_11042025_02_03_44_9404.jpg
/home/pi/Desktop/images/11042025/02/03/image_11042025_02_04_05_10456.jpg
/home/pi/Desktop/images/11042025/02/04/image_11042025_02_04_14_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":["1351463626","1351463629","1351463613","1351463619","1351463615","1351463609"],"photo_ids_order":["1351463609","1351463613","1351463615","1351463619","1351463626","1351463629"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5685b88a5b9e4d11b8eac07a2600548d.jpg","text":"TemporaryFile(/tmp/multipartBody4807165057427906406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342413322,"filename":"image_11042025_02_04_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/11/e28fbf777085acb4a43c7c8313b3f263.jpg","text":"TemporaryFile(/tmp/multipartBody348408889164637674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342413322,"filename":"image_11042025_02_04_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/11/2b7e1e553f86c01c4f69dff9042cc066.jpg","text":"TemporaryFile(/tmp/multipartBody1069978107830074918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342413322,"filename":"image_11042025_02_03_24_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/453ad1e2fe476522dfa07ab032d348c9.jpg","text":"TemporaryFile(/tmp/multipartBody1207694915533046927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342413322,"filename":"image_11042025_02_03_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/11/ffc8f18a074ebc7c543869bbe3b1d997.jpg","text":"TemporaryFile(/tmp/multipartBody4694587314550093447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342413322,"filename":"image_11042025_02_03_34_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/11/8574c7b5ef12ff3d98dc345fab8033ee.jpg","text":"TemporaryFile(/tmp/multipartBody4163417992987298290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342413322,"filename":"image_11042025_02_03_15_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351463615","file1":"1351463613","file0":"1351463609","file4":"1351463626","file5":"1351463629","file3":"1351463619"},"map_files_photo_id_array":[{"photo_id":"1351463629","filename":"file5"},{"photo_id":"1351463615","filename":"file2"},{"photo_id":"1351463626","filename":"file4"},{"photo_id":"1351463613","filename":"file1"},{"photo_id":"1351463609","filename":"file0"},{"photo_id":"1351463619","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351463626":["hashtag1","hashtag2"]},{"1351463629":["hashtag1","hashtag2"]},{"1351463613":["hashtag1","hashtag2"]},{"1351463619":["hashtag1","hashtag2"]},{"1351463615":["hashtag1","hashtag2"]},{"1351463609":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351463626, 1351463629, 1351463613, 1351463619, 1351463615, 1351463609)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.930126428604126 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 05:33:33.112968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/02/04/image_11042025_02_04_34_9440.jpg', '/home/pi/Desktop/images/11042025/02/04/image_11042025_02_04_44_10373.jpg', '/home/pi/Desktop/images/11042025/02/04/image_11042025_02_04_55_10487.jpg', '/home/pi/Desktop/images/11042025/02/04/image_11042025_02_05_04_9356.jpg', '/home/pi/Desktop/images/11042025/02/05/image_11042025_02_05_15_10415.jpg', '/home/pi/Desktop/images/11042025/02/05/image_11042025_02_05_34_10381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/02/04/image_11042025_02_04_34_9440.jpg
/home/pi/Desktop/images/11042025/02/04/image_11042025_02_04_44_10373.jpg
/home/pi/Desktop/images/11042025/02/04/image_11042025_02_04_55_10487.jpg
/home/pi/Desktop/images/11042025/02/04/image_11042025_02_05_04_9356.jpg
/home/pi/Desktop/images/11042025/02/05/image_11042025_02_05_15_10415.jpg
/home/pi/Desktop/images/11042025/02/05/image_11042025_02_05_34_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":["1351463719","1351463704","1351463694","1351463727","1351463715","1351463724"],"photo_ids_order":["1351463694","1351463704","1351463715","1351463719","1351463724","1351463727"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/fd08009a0ffa61057666f5a59947d7f0.jpg","text":"TemporaryFile(/tmp/multipartBody8272031187402809755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342473584,"filename":"image_11042025_02_05_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/11/dd17cb41203837afc79dde7f2cfe5ecc.jpg","text":"TemporaryFile(/tmp/multipartBody7248485873216619959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342473584,"filename":"image_11042025_02_04_44_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/11/c9836fa8f50a37a48998b5c3878bb942.jpg","text":"TemporaryFile(/tmp/multipartBody2213202991173621921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342473584,"filename":"image_11042025_02_04_34_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/edfe5251338934b47466c69f5374f4ae.jpg","text":"TemporaryFile(/tmp/multipartBody454196972836508394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342473584,"filename":"image_11042025_02_05_34_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6fc6b27e115df84c232096a62fe779a6.jpg","text":"TemporaryFile(/tmp/multipartBody1781839354408316889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342473584,"filename":"image_11042025_02_04_55_10487.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b71a22c3ec4797834173f7e644d46afc.jpg","text":"TemporaryFile(/tmp/multipartBody7179117069313473565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342473584,"filename":"image_11042025_02_05_15_10415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351463715","file1":"1351463704","file0":"1351463694","file4":"1351463724","file5":"1351463727","file3":"1351463719"},"map_files_photo_id_array":[{"photo_id":"1351463727","filename":"file5"},{"photo_id":"1351463715","filename":"file2"},{"photo_id":"1351463724","filename":"file4"},{"photo_id":"1351463704","filename":"file1"},{"photo_id":"1351463694","filename":"file0"},{"photo_id":"1351463719","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351463719":["hashtag1","hashtag2"]},{"1351463704":["hashtag1","hashtag2"]},{"1351463694":["hashtag1","hashtag2"]},{"1351463727":["hashtag1","hashtag2"]},{"1351463715":["hashtag1","hashtag2"]},{"1351463724":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351463719, 1351463704, 1351463694, 1351463727, 1351463715, 1351463724)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.835782527923584 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 05:34:32.168848
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/02/05/image_11042025_02_05_45_10421.jpg', '/home/pi/Desktop/images/11042025/02/05/image_11042025_02_05_54_9370.jpg', '/home/pi/Desktop/images/11042025/02/05/image_11042025_02_06_05_10367.jpg', '/home/pi/Desktop/images/11042025/02/06/image_11042025_02_06_14_9359.jpg', '/home/pi/Desktop/images/11042025/02/06/image_11042025_02_06_24_10374.jpg', '/home/pi/Desktop/images/11042025/02/06/image_11042025_02_06_35_10496.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/02/05/image_11042025_02_05_45_10421.jpg
/home/pi/Desktop/images/11042025/02/05/image_11042025_02_05_54_9370.jpg
/home/pi/Desktop/images/11042025/02/05/image_11042025_02_06_05_10367.jpg
/home/pi/Desktop/images/11042025/02/06/image_11042025_02_06_14_9359.jpg
/home/pi/Desktop/images/11042025/02/06/image_11042025_02_06_24_10374.jpg
/home/pi/Desktop/images/11042025/02/06/image_11042025_02_06_35_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":["1351463873","1351463924","1351463896","1351463845","1351463857","1351463842"],"photo_ids_order":["1351463842","1351463845","1351463857","1351463873","1351463896","1351463924"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b3aee44dee819d03eaba6c1e61f462ff.jpg","text":"TemporaryFile(/tmp/multipartBody1536294410471901990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342532636,"filename":"image_11042025_02_06_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/11/07d61afd3bf462a27a2b572206f8bee3.jpg","text":"TemporaryFile(/tmp/multipartBody8355878579429377546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342532636,"filename":"image_11042025_02_06_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/11/85eebf5b4aa620421892ca8abbea9a58.jpg","text":"TemporaryFile(/tmp/multipartBody1605758467437669245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342532636,"filename":"image_11042025_02_06_24_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7557040bc1e34b2733eeeeb16d2fb71d.jpg","text":"TemporaryFile(/tmp/multipartBody5166941484479207131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342532636,"filename":"image_11042025_02_05_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/11/91798550c107a019e01e87c4ac8ced22.jpg","text":"TemporaryFile(/tmp/multipartBody36086124143476664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342532636,"filename":"image_11042025_02_06_05_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d812a915ca8f5fbcc69227f4de971d83.jpg","text":"TemporaryFile(/tmp/multipartBody2262955278328020360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342532636,"filename":"image_11042025_02_05_45_10421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351463857","file1":"1351463845","file0":"1351463842","file4":"1351463896","file5":"1351463924","file3":"1351463873"},"map_files_photo_id_array":[{"photo_id":"1351463924","filename":"file5"},{"photo_id":"1351463857","filename":"file2"},{"photo_id":"1351463896","filename":"file4"},{"photo_id":"1351463845","filename":"file1"},{"photo_id":"1351463842","filename":"file0"},{"photo_id":"1351463873","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351463873":["hashtag1","hashtag2"]},{"1351463924":["hashtag1","hashtag2"]},{"1351463896":["hashtag1","hashtag2"]},{"1351463845":["hashtag1","hashtag2"]},{"1351463857":["hashtag1","hashtag2"]},{"1351463842":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351463873, 1351463924, 1351463896, 1351463845, 1351463857, 1351463842)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.2835054397583 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 05:35:32.432371
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/02/06/image_11042025_02_06_44_9374.jpg', '/home/pi/Desktop/images/11042025/02/06/image_11042025_02_06_55_10444.jpg', '/home/pi/Desktop/images/11042025/02/06/image_11042025_02_07_04_9356.jpg', '/home/pi/Desktop/images/11042025/02/07/image_11042025_02_07_14_10421.jpg', '/home/pi/Desktop/images/11042025/02/07/image_11042025_02_07_25_10450.jpg', '/home/pi/Desktop/images/11042025/02/07/image_11042025_02_07_34_9357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/02/06/image_11042025_02_06_44_9374.jpg
/home/pi/Desktop/images/11042025/02/06/image_11042025_02_06_55_10444.jpg
/home/pi/Desktop/images/11042025/02/06/image_11042025_02_07_04_9356.jpg
/home/pi/Desktop/images/11042025/02/07/image_11042025_02_07_14_10421.jpg
/home/pi/Desktop/images/11042025/02/07/image_11042025_02_07_25_10450.jpg
/home/pi/Desktop/images/11042025/02/07/image_11042025_02_07_34_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":["1351463985","1351463958","1351463987","1351463972","1351463980","1351463965"],"photo_ids_order":["1351463958","1351463965","1351463972","1351463980","1351463985","1351463987"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/df2d9d37d87b87d273b335b96b0df5d8.jpg","text":"TemporaryFile(/tmp/multipartBody1114981804854261542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342592897,"filename":"image_11042025_02_07_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/11/9564ed0456f62473b4b17e357d227cc0.jpg","text":"TemporaryFile(/tmp/multipartBody338340566400324263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342592897,"filename":"image_11042025_02_06_44_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ac7b53218bc3f2625a82b50bfa6c90ee.jpg","text":"TemporaryFile(/tmp/multipartBody3336372159821796060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342592897,"filename":"image_11042025_02_07_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/11/569314faf85878440b075532705bedfe.jpg","text":"TemporaryFile(/tmp/multipartBody4106992759785594681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342592897,"filename":"image_11042025_02_07_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/11/160207edf54a6e8d4f98c8ad61be0697.jpg","text":"TemporaryFile(/tmp/multipartBody8805702014476583148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342592897,"filename":"image_11042025_02_07_14_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c9f61ce3de56078fd32f411de7955fa1.jpg","text":"TemporaryFile(/tmp/multipartBody6436783210049418282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342592897,"filename":"image_11042025_02_06_55_10444.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351463972","file1":"1351463965","file0":"1351463958","file4":"1351463985","file5":"1351463987","file3":"1351463980"},"map_files_photo_id_array":[{"photo_id":"1351463987","filename":"file5"},{"photo_id":"1351463972","filename":"file2"},{"photo_id":"1351463985","filename":"file4"},{"photo_id":"1351463965","filename":"file1"},{"photo_id":"1351463958","filename":"file0"},{"photo_id":"1351463980","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351463985":["hashtag1","hashtag2"]},{"1351463958":["hashtag1","hashtag2"]},{"1351463987":["hashtag1","hashtag2"]},{"1351463972":["hashtag1","hashtag2"]},{"1351463980":["hashtag1","hashtag2"]},{"1351463965":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351463985, 1351463958, 1351463987, 1351463972, 1351463980, 1351463965)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.26144361495972 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 05:36:32.660431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/02/07/image_11042025_02_07_45_10371.jpg', '/home/pi/Desktop/images/11042025/02/07/image_11042025_02_07_54_9361.jpg', '/home/pi/Desktop/images/11042025/02/08/image_11042025_02_08_15_10477.jpg', '/home/pi/Desktop/images/11042025/02/08/image_11042025_02_08_24_9343.jpg', '/home/pi/Desktop/images/11042025/02/08/image_11042025_02_08_34_10378.jpg', '/home/pi/Desktop/images/11042025/02/08/image_11042025_02_08_44_9367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/02/07/image_11042025_02_07_45_10371.jpg
/home/pi/Desktop/images/11042025/02/07/image_11042025_02_07_54_9361.jpg
/home/pi/Desktop/images/11042025/02/08/image_11042025_02_08_15_10477.jpg
/home/pi/Desktop/images/11042025/02/08/image_11042025_02_08_24_9343.jpg
/home/pi/Desktop/images/11042025/02/08/image_11042025_02_08_34_10378.jpg
/home/pi/Desktop/images/11042025/02/08/image_11042025_02_08_44_9367.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3910684585571289 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 05:36:42.634189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/02/07/image_11042025_02_07_45_10371.jpg', '/home/pi/Desktop/images/11042025/02/07/image_11042025_02_07_54_9361.jpg', '/home/pi/Desktop/images/11042025/02/08/image_11042025_02_08_15_10477.jpg', '/home/pi/Desktop/images/11042025/02/08/image_11042025_02_08_24_9343.jpg', '/home/pi/Desktop/images/11042025/02/08/image_11042025_02_08_34_10378.jpg', '/home/pi/Desktop/images/11042025/02/08/image_11042025_02_08_44_9367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/02/07/image_11042025_02_07_45_10371.jpg
/home/pi/Desktop/images/11042025/02/07/image_11042025_02_07_54_9361.jpg
/home/pi/Desktop/images/11042025/02/08/image_11042025_02_08_15_10477.jpg
/home/pi/Desktop/images/11042025/02/08/image_11042025_02_08_24_9343.jpg
/home/pi/Desktop/images/11042025/02/08/image_11042025_02_08_34_10378.jpg
/home/pi/Desktop/images/11042025/02/08/image_11042025_02_08_44_9367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351464042","1351464012","1351464023","1351464017","1351464032","1351464040"],"photo_ids_order":["1351464012","1351464017","1351464023","1351464032","1351464040","1351464042"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8251b1260b36d22b2aa27480db77211e.jpg","text":"TemporaryFile(/tmp/multipartBody5635756862557857788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342663107,"filename":"image_11042025_02_08_44_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2e4fb1396d1ebd1b78a9f6085109531b.jpg","text":"TemporaryFile(/tmp/multipartBody4761258193852114743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342663107,"filename":"image_11042025_02_07_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/11/5babfc1124ba750eacd9233484018b30.jpg","text":"TemporaryFile(/tmp/multipartBody3180348911005291599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342663107,"filename":"image_11042025_02_08_15_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/11/6ad7d9065f917eb63bbc6a7676f44652.jpg","text":"TemporaryFile(/tmp/multipartBody6982437740999096952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342663107,"filename":"image_11042025_02_07_54_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9c2ced8a16598e8888cbd4559f009fe5.jpg","text":"TemporaryFile(/tmp/multipartBody4888188653314783947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342663107,"filename":"image_11042025_02_08_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/11/d51ed3c0ea9bfa04780d9d8edd0826a6.jpg","text":"TemporaryFile(/tmp/multipartBody3031804443554014540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342663107,"filename":"image_11042025_02_08_34_10378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351464023","file1":"1351464017","file0":"1351464012","file4":"1351464040","file5":"1351464042","file3":"1351464032"},"map_files_photo_id_array":[{"photo_id":"1351464042","filename":"file5"},{"photo_id":"1351464023","filename":"file2"},{"photo_id":"1351464040","filename":"file4"},{"photo_id":"1351464017","filename":"file1"},{"photo_id":"1351464012","filename":"file0"},{"photo_id":"1351464032","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351464042":["hashtag1","hashtag2"]},{"1351464012":["hashtag1","hashtag2"]},{"1351464023":["hashtag1","hashtag2"]},{"1351464017":["hashtag1","hashtag2"]},{"1351464032":["hashtag1","hashtag2"]},{"1351464040":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351464042, 1351464012, 1351464023, 1351464017, 1351464032, 1351464040)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.003318309783936 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 05:37:32.885872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/02/08/image_11042025_02_08_54_10365.jpg', '/home/pi/Desktop/images/11042025/02/08/image_11042025_02_09_05_10369.jpg', '/home/pi/Desktop/images/11042025/02/09/image_11042025_02_09_14_9433.jpg', '/home/pi/Desktop/images/11042025/02/09/image_11042025_02_09_24_10371.jpg', '/home/pi/Desktop/images/11042025/02/09/image_11042025_02_09_34_9516.jpg', '/home/pi/Desktop/images/11042025/02/09/image_11042025_02_09_44_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/02/08/image_11042025_02_08_54_10365.jpg
/home/pi/Desktop/images/11042025/02/08/image_11042025_02_09_05_10369.jpg
/home/pi/Desktop/images/11042025/02/09/image_11042025_02_09_14_9433.jpg
/home/pi/Desktop/images/11042025/02/09/image_11042025_02_09_24_10371.jpg
/home/pi/Desktop/images/11042025/02/09/image_11042025_02_09_34_9516.jpg
/home/pi/Desktop/images/11042025/02/09/image_11042025_02_09_44_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":["1351464176","1351464086","1351464116","1351464119","1351464082","1351464178"],"photo_ids_order":["1351464082","1351464086","1351464116","1351464119","1351464176","1351464178"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/bbf5e741442e958e3510cc6078d120e6.jpg","text":"TemporaryFile(/tmp/multipartBody5876437181664723663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342713360,"filename":"image_11042025_02_09_34_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/11/7d13ee186aeaa1da5b41aa9e37da0beb.jpg","text":"TemporaryFile(/tmp/multipartBody5107123393494027647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342713360,"filename":"image_11042025_02_09_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/11/68d0199f8578da7e1ec1797c25ef2557.jpg","text":"TemporaryFile(/tmp/multipartBody7669342978737783419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342713360,"filename":"image_11042025_02_09_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/11/7ef7c49fa7fab9010ce0e72b1a1c4a4d.jpg","text":"TemporaryFile(/tmp/multipartBody3687985185397695872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342713360,"filename":"image_11042025_02_09_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/11/cba10e7c0cd5e3cc96a087a7ffceda07.jpg","text":"TemporaryFile(/tmp/multipartBody6720332016294705051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342713360,"filename":"image_11042025_02_08_54_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c5894532664bbd1aca16eb46da8afb1d.jpg","text":"TemporaryFile(/tmp/multipartBody3186872400368588518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342713360,"filename":"image_11042025_02_09_44_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351464116","file1":"1351464086","file0":"1351464082","file4":"1351464176","file5":"1351464178","file3":"1351464119"},"map_files_photo_id_array":[{"photo_id":"1351464178","filename":"file5"},{"photo_id":"1351464116","filename":"file2"},{"photo_id":"1351464176","filename":"file4"},{"photo_id":"1351464086","filename":"file1"},{"photo_id":"1351464082","filename":"file0"},{"photo_id":"1351464119","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351464176":["hashtag1","hashtag2"]},{"1351464086":["hashtag1","hashtag2"]},{"1351464116":["hashtag1","hashtag2"]},{"1351464119":["hashtag1","hashtag2"]},{"1351464082":["hashtag1","hashtag2"]},{"1351464178":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351464176, 1351464086, 1351464116, 1351464119, 1351464082, 1351464178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.9670946598053 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 05:38:33.148081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/02/09/image_11042025_02_09_55_10367.jpg', '/home/pi/Desktop/images/11042025/02/09/image_11042025_02_10_04_9405.jpg', '/home/pi/Desktop/images/11042025/02/10/image_11042025_02_10_14_10385.jpg', '/home/pi/Desktop/images/11042025/02/10/image_11042025_02_10_24_9422.jpg', '/home/pi/Desktop/images/11042025/02/10/image_11042025_02_10_34_10477.jpg', '/home/pi/Desktop/images/11042025/02/10/image_11042025_02_10_45_10473.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/02/09/image_11042025_02_09_55_10367.jpg
/home/pi/Desktop/images/11042025/02/09/image_11042025_02_10_04_9405.jpg
/home/pi/Desktop/images/11042025/02/10/image_11042025_02_10_14_10385.jpg
/home/pi/Desktop/images/11042025/02/10/image_11042025_02_10_24_9422.jpg
/home/pi/Desktop/images/11042025/02/10/image_11042025_02_10_34_10477.jpg
/home/pi/Desktop/images/11042025/02/10/image_11042025_02_10_45_10473.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351464228","1351464222","1351464231","1351464224","1351464218","1351464211"],"photo_ids_order":["1351464211","1351464218","1351464222","1351464224","1351464228","1351464231"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/dd8b4ff8e963c7e23eb4a292d5b50c4e.jpg","text":"TemporaryFile(/tmp/multipartBody5372627864597927918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342773616,"filename":"image_11042025_02_10_34_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/11/5cfb4f42e83afeb17e2947efd65e850d.jpg","text":"TemporaryFile(/tmp/multipartBody2854373838053370276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342773616,"filename":"image_11042025_02_10_14_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/11/e764d8935df93b66283efa1f931d2afe.jpg","text":"TemporaryFile(/tmp/multipartBody7948069028455066147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342773616,"filename":"image_11042025_02_10_45_10473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0bd9bdcfe9c7b84a6ef2c54ec38ac676.jpg","text":"TemporaryFile(/tmp/multipartBody5135063034047919665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342773616,"filename":"image_11042025_02_10_24_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1627cccbd9d5ecbcddf8bbf698b62542.jpg","text":"TemporaryFile(/tmp/multipartBody1291580964151068546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342773616,"filename":"image_11042025_02_10_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/11/24bd1bdff6defcd5418f3e221b3262ec.jpg","text":"TemporaryFile(/tmp/multipartBody6534447349774413780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342773616,"filename":"image_11042025_02_09_55_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351464222","file1":"1351464218","file0":"1351464211","file4":"1351464228","file5":"1351464231","file3":"1351464224"},"map_files_photo_id_array":[{"photo_id":"1351464231","filename":"file5"},{"photo_id":"1351464222","filename":"file2"},{"photo_id":"1351464228","filename":"file4"},{"photo_id":"1351464218","filename":"file1"},{"photo_id":"1351464211","filename":"file0"},{"photo_id":"1351464224","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351464228":["hashtag1","hashtag2"]},{"1351464222":["hashtag1","hashtag2"]},{"1351464231":["hashtag1","hashtag2"]},{"1351464224":["hashtag1","hashtag2"]},{"1351464218":["hashtag1","hashtag2"]},{"1351464211":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351464228, 1351464222, 1351464231, 1351464224, 1351464218, 1351464211)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.44049024581909 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 05:39:32.436774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/02/10/image_11042025_02_10_54_9367.jpg', '/home/pi/Desktop/images/11042025/02/10/image_11042025_02_11_05_10356.jpg', '/home/pi/Desktop/images/11042025/02/11/image_11042025_02_11_14_9486.jpg', '/home/pi/Desktop/images/11042025/02/11/image_11042025_02_11_24_10376.jpg', '/home/pi/Desktop/images/11042025/02/11/image_11042025_02_11_35_10397.jpg', '/home/pi/Desktop/images/11042025/02/11/image_11042025_02_11_44_9427.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/02/10/image_11042025_02_10_54_9367.jpg
/home/pi/Desktop/images/11042025/02/10/image_11042025_02_11_05_10356.jpg
/home/pi/Desktop/images/11042025/02/11/image_11042025_02_11_14_9486.jpg
/home/pi/Desktop/images/11042025/02/11/image_11042025_02_11_24_10376.jpg
/home/pi/Desktop/images/11042025/02/11/image_11042025_02_11_35_10397.jpg
/home/pi/Desktop/images/11042025/02/11/image_11042025_02_11_44_9427.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351464386","1351464394","1351464412","1351464415","1351464399","1351464390"],"photo_ids_order":["1351464386","1351464390","1351464394","1351464399","1351464412","1351464415"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/50e6908c082a9171a2f08287d5429182.jpg","text":"TemporaryFile(/tmp/multipartBody5942302756977813111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342832906,"filename":"image_11042025_02_10_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/11/9639cb6934bc74525b58c51316fb52fe.jpg","text":"TemporaryFile(/tmp/multipartBody2290196389835057857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342832906,"filename":"image_11042025_02_11_14_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/11/7e096efa02026f70a7cdd2d612bca93b.jpg","text":"TemporaryFile(/tmp/multipartBody7867135875539294266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342832906,"filename":"image_11042025_02_11_35_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/81643d10b01bd326333b6a7ffc58d5a7.jpg","text":"TemporaryFile(/tmp/multipartBody8809130742532319160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342832906,"filename":"image_11042025_02_11_44_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/53234ad88acb075efcfc1c4948303e66.jpg","text":"TemporaryFile(/tmp/multipartBody3368542395573952360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342832906,"filename":"image_11042025_02_11_24_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/15f156936b85f83d26fb0dffe9332f4e.jpg","text":"TemporaryFile(/tmp/multipartBody1785196074942612459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342832906,"filename":"image_11042025_02_11_05_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351464394","file1":"1351464390","file0":"1351464386","file4":"1351464412","file5":"1351464415","file3":"1351464399"},"map_files_photo_id_array":[{"photo_id":"1351464415","filename":"file5"},{"photo_id":"1351464394","filename":"file2"},{"photo_id":"1351464412","filename":"file4"},{"photo_id":"1351464390","filename":"file1"},{"photo_id":"1351464386","filename":"file0"},{"photo_id":"1351464399","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351464386":["hashtag1","hashtag2"]},{"1351464394":["hashtag1","hashtag2"]},{"1351464412":["hashtag1","hashtag2"]},{"1351464415":["hashtag1","hashtag2"]},{"1351464399":["hashtag1","hashtag2"]},{"1351464390":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351464386, 1351464394, 1351464412, 1351464415, 1351464399, 1351464390)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.84918475151062 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 05:40:32.470978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/02/11/image_11042025_02_11_55_10368.jpg', '/home/pi/Desktop/images/11042025/02/11/image_11042025_02_12_04_9363.jpg', '/home/pi/Desktop/images/11042025/02/12/image_11042025_02_12_14_10419.jpg', '/home/pi/Desktop/images/11042025/02/12/image_11042025_02_12_25_10412.jpg', '/home/pi/Desktop/images/11042025/02/12/image_11042025_02_12_35_9764.jpg', '/home/pi/Desktop/images/11042025/02/12/image_11042025_02_12_44_9377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/02/11/image_11042025_02_11_55_10368.jpg
/home/pi/Desktop/images/11042025/02/11/image_11042025_02_12_04_9363.jpg
/home/pi/Desktop/images/11042025/02/12/image_11042025_02_12_14_10419.jpg
/home/pi/Desktop/images/11042025/02/12/image_11042025_02_12_25_10412.jpg
/home/pi/Desktop/images/11042025/02/12/image_11042025_02_12_35_9764.jpg
/home/pi/Desktop/images/11042025/02/12/image_11042025_02_12_44_9377.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351464437","1351464452","1351464431","1351464454","1351464448","1351464445"],"photo_ids_order":["1351464431","1351464437","1351464445","1351464448","1351464452","1351464454"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5b4b2aa304eec0a3cfc4ce89c80532c0.jpg","text":"TemporaryFile(/tmp/multipartBody1463589336423812113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342892956,"filename":"image_11042025_02_12_04_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a0da17f83df94455782407e268c2e880.jpg","text":"TemporaryFile(/tmp/multipartBody4202906670555492425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342892956,"filename":"image_11042025_02_12_35_9764.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7cc451c197458b8f8645a2fa5db9ca79.jpg","text":"TemporaryFile(/tmp/multipartBody6608253818034170223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342892956,"filename":"image_11042025_02_11_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/11/5eba8e78e582e8f65c532f3940dfb390.jpg","text":"TemporaryFile(/tmp/multipartBody2649119307520727012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342892956,"filename":"image_11042025_02_12_44_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6da692654532d46aea258758b5520726.jpg","text":"TemporaryFile(/tmp/multipartBody5922627099563834074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342892956,"filename":"image_11042025_02_12_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/11/e09a27aacff6ad5a9bbc8d0debe7b065.jpg","text":"TemporaryFile(/tmp/multipartBody225216985580040134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342892956,"filename":"image_11042025_02_12_14_10419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351464445","file1":"1351464437","file0":"1351464431","file4":"1351464452","file5":"1351464454","file3":"1351464448"},"map_files_photo_id_array":[{"photo_id":"1351464454","filename":"file5"},{"photo_id":"1351464445","filename":"file2"},{"photo_id":"1351464452","filename":"file4"},{"photo_id":"1351464437","filename":"file1"},{"photo_id":"1351464431","filename":"file0"},{"photo_id":"1351464448","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351464437":["hashtag1","hashtag2"]},{"1351464452":["hashtag1","hashtag2"]},{"1351464431":["hashtag1","hashtag2"]},{"1351464454":["hashtag1","hashtag2"]},{"1351464448":["hashtag1","hashtag2"]},{"1351464445":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351464437, 1351464452, 1351464431, 1351464454, 1351464448, 1351464445)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.993239402770996 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 05:41:32.659004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/02/12/image_11042025_02_12_54_10381.jpg', '/home/pi/Desktop/images/11042025/02/12/image_11042025_02_13_05_10488.jpg', '/home/pi/Desktop/images/11042025/02/13/image_11042025_02_13_14_9360.jpg', '/home/pi/Desktop/images/11042025/02/13/image_11042025_02_13_25_10443.jpg', '/home/pi/Desktop/images/11042025/02/13/image_11042025_02_13_34_9418.jpg', '/home/pi/Desktop/images/11042025/02/13/image_11042025_02_13_44_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/02/12/image_11042025_02_12_54_10381.jpg
/home/pi/Desktop/images/11042025/02/12/image_11042025_02_13_05_10488.jpg
/home/pi/Desktop/images/11042025/02/13/image_11042025_02_13_14_9360.jpg
/home/pi/Desktop/images/11042025/02/13/image_11042025_02_13_25_10443.jpg
/home/pi/Desktop/images/11042025/02/13/image_11042025_02_13_34_9418.jpg
/home/pi/Desktop/images/11042025/02/13/image_11042025_02_13_44_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":["1351464491","1351464494","1351464485","1351464496","1351464481","1351464477"],"photo_ids_order":["1351464477","1351464481","1351464485","1351464491","1351464494","1351464496"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/eca1b4ec00ce641e6c33226fb5f745b5.jpg","text":"TemporaryFile(/tmp/multipartBody252196988254403644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342953130,"filename":"image_11042025_02_13_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/11/4152a2003370ba57ce44f7434f42d3c9.jpg","text":"TemporaryFile(/tmp/multipartBody2485466059975078972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342953130,"filename":"image_11042025_02_13_34_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d9730a0aafe751cd148602ca27521678.jpg","text":"TemporaryFile(/tmp/multipartBody414232132738916223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342953130,"filename":"image_11042025_02_13_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/11/ebd284b7885dd47239e6729019034176.jpg","text":"TemporaryFile(/tmp/multipartBody49396432693129682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342953130,"filename":"image_11042025_02_13_44_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/519da00c82598b7096254cc00331aae9.jpg","text":"TemporaryFile(/tmp/multipartBody1153270098907769466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342953130,"filename":"image_11042025_02_13_05_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/11/bb46876c9b9d33eeb0d0844ac6402e77.jpg","text":"TemporaryFile(/tmp/multipartBody1941073224097692379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744342953130,"filename":"image_11042025_02_12_54_10381.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351464485","file1":"1351464481","file0":"1351464477","file4":"1351464494","file5":"1351464496","file3":"1351464491"},"map_files_photo_id_array":[{"photo_id":"1351464496","filename":"file5"},{"photo_id":"1351464485","filename":"file2"},{"photo_id":"1351464494","filename":"file4"},{"photo_id":"1351464481","filename":"file1"},{"photo_id":"1351464477","filename":"file0"},{"photo_id":"1351464491","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351464491":["hashtag1","hashtag2"]},{"1351464494":["hashtag1","hashtag2"]},{"1351464485":["hashtag1","hashtag2"]},{"1351464496":["hashtag1","hashtag2"]},{"1351464481":["hashtag1","hashtag2"]},{"1351464477":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351464491, 1351464494, 1351464485, 1351464496, 1351464481, 1351464477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.371602058410645 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 05:42:33.003307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/02/13/image_11042025_02_13_55_10422.jpg', '/home/pi/Desktop/images/11042025/02/14/image_11042025_02_14_24_9343.jpg', '/home/pi/Desktop/images/11042025/02/14/image_11042025_02_14_34_10371.jpg', '/home/pi/Desktop/images/11042025/02/14/image_11042025_02_14_45_10479.jpg', '/home/pi/Desktop/images/11042025/02/14/image_11042025_02_14_54_9389.jpg', '/home/pi/Desktop/images/11042025/02/14/image_11042025_02_15_05_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/02/13/image_11042025_02_13_55_10422.jpg
/home/pi/Desktop/images/11042025/02/14/image_11042025_02_14_24_9343.jpg
/home/pi/Desktop/images/11042025/02/14/image_11042025_02_14_34_10371.jpg
/home/pi/Desktop/images/11042025/02/14/image_11042025_02_14_45_10479.jpg
/home/pi/Desktop/images/11042025/02/14/image_11042025_02_14_54_9389.jpg
/home/pi/Desktop/images/11042025/02/14/image_11042025_02_15_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":["1351464543","1351464531","1351464536","1351464545","1351464524","1351464517"],"photo_ids_order":["1351464517","1351464524","1351464531","1351464536","1351464543","1351464545"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/371d7309cda3f8931f746475a201a9b3.jpg","text":"TemporaryFile(/tmp/multipartBody247004153467098686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744343013473,"filename":"image_11042025_02_14_54_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/11/5844384d64e4c3f11f50f4a0327b5013.jpg","text":"TemporaryFile(/tmp/multipartBody3600520018273579107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744343013473,"filename":"image_11042025_02_14_34_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2737a845dfed06d90269fdb040faf623.jpg","text":"TemporaryFile(/tmp/multipartBody4804005641684831656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744343013473,"filename":"image_11042025_02_14_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/11/e47699adba2f41b59ed279f597e668ee.jpg","text":"TemporaryFile(/tmp/multipartBody7229690216963906855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744343013473,"filename":"image_11042025_02_15_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/11/e616c8ff0dfad9e8bc77656baa6a67fd.jpg","text":"TemporaryFile(/tmp/multipartBody26778387784472123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744343013473,"filename":"image_11042025_02_14_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/11/831e22ffdc24a08d40a4672a9e4e2c59.jpg","text":"TemporaryFile(/tmp/multipartBody4527859987177437271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744343013473,"filename":"image_11042025_02_13_55_10422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351464531","file1":"1351464524","file0":"1351464517","file4":"1351464543","file5":"1351464545","file3":"1351464536"},"map_files_photo_id_array":[{"photo_id":"1351464545","filename":"file5"},{"photo_id":"1351464531","filename":"file2"},{"photo_id":"1351464543","filename":"file4"},{"photo_id":"1351464524","filename":"file1"},{"photo_id":"1351464517","filename":"file0"},{"photo_id":"1351464536","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351464543":["hashtag1","hashtag2"]},{"1351464531":["hashtag1","hashtag2"]},{"1351464536":["hashtag1","hashtag2"]},{"1351464545":["hashtag1","hashtag2"]},{"1351464524":["hashtag1","hashtag2"]},{"1351464517":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351464543, 1351464531, 1351464536, 1351464545, 1351464524, 1351464517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.44879364967346 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 05:43:33.203938
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/02/15/image_11042025_02_15_14_9439.jpg', '/home/pi/Desktop/images/11042025/02/15/image_11042025_02_15_24_10446.jpg', '/home/pi/Desktop/images/11042025/02/15/image_11042025_02_15_35_10356.jpg', '/home/pi/Desktop/images/11042025/02/15/image_11042025_02_15_44_9364.jpg', '/home/pi/Desktop/images/11042025/02/15/image_11042025_02_15_55_10359.jpg', '/home/pi/Desktop/images/11042025/02/15/image_11042025_02_16_04_9434.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/02/15/image_11042025_02_15_14_9439.jpg
/home/pi/Desktop/images/11042025/02/15/image_11042025_02_15_24_10446.jpg
/home/pi/Desktop/images/11042025/02/15/image_11042025_02_15_35_10356.jpg
/home/pi/Desktop/images/11042025/02/15/image_11042025_02_15_44_9364.jpg
/home/pi/Desktop/images/11042025/02/15/image_11042025_02_15_55_10359.jpg
/home/pi/Desktop/images/11042025/02/15/image_11042025_02_16_04_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":["1351464584","1351464581","1351464563","1351464589","1351464568","1351464576"],"photo_ids_order":["1351464563","1351464568","1351464576","1351464581","1351464584","1351464589"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/63f8c5486643038dfbadc584e9d9bd34.jpg","text":"TemporaryFile(/tmp/multipartBody2498275977771984037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744343073671,"filename":"image_11042025_02_15_55_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/efeb9269163ca9a389191f3d26814228.jpg","text":"TemporaryFile(/tmp/multipartBody4214083795612138054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744343073671,"filename":"image_11042025_02_15_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/11/0716acc2cfdc12851adca29fa3aa622a.jpg","text":"TemporaryFile(/tmp/multipartBody4868469055527424354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744343073671,"filename":"image_11042025_02_15_14_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/813efadd73bd107288be39b3a9731648.jpg","text":"TemporaryFile(/tmp/multipartBody3256352890240044214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744343073671,"filename":"image_11042025_02_16_04_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/68e4970d0cd25fb3a49ea77b117f8780.jpg","text":"TemporaryFile(/tmp/multipartBody5795076233921030775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744343073671,"filename":"image_11042025_02_15_24_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/11/518cfe461cb7f7404a70c75a7ffd6c36.jpg","text":"TemporaryFile(/tmp/multipartBody3757630142284908890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744343073671,"filename":"image_11042025_02_15_35_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351464576","file1":"1351464568","file0":"1351464563","file4":"1351464584","file5":"1351464589","file3":"1351464581"},"map_files_photo_id_array":[{"photo_id":"1351464589","filename":"file5"},{"photo_id":"1351464576","filename":"file2"},{"photo_id":"1351464584","filename":"file4"},{"photo_id":"1351464568","filename":"file1"},{"photo_id":"1351464563","filename":"file0"},{"photo_id":"1351464581","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351464584":["hashtag1","hashtag2"]},{"1351464581":["hashtag1","hashtag2"]},{"1351464563":["hashtag1","hashtag2"]},{"1351464589":["hashtag1","hashtag2"]},{"1351464568":["hashtag1","hashtag2"]},{"1351464576":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351464584, 1351464581, 1351464563, 1351464589, 1351464568, 1351464576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.40365147590637 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 05:44:32.273163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/02/16/image_11042025_02_16_14_10431.jpg', '/home/pi/Desktop/images/11042025/02/16/image_11042025_02_16_25_10394.jpg', '/home/pi/Desktop/images/11042025/02/16/image_11042025_02_16_34_9360.jpg', '/home/pi/Desktop/images/11042025/02/16/image_11042025_02_16_54_9428.jpg', '/home/pi/Desktop/images/11042025/02/16/image_11042025_02_17_04_10364.jpg', '/home/pi/Desktop/images/11042025/02/17/image_11042025_02_17_15_10463.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/02/16/image_11042025_02_16_14_10431.jpg
/home/pi/Desktop/images/11042025/02/16/image_11042025_02_16_25_10394.jpg
/home/pi/Desktop/images/11042025/02/16/image_11042025_02_16_34_9360.jpg
/home/pi/Desktop/images/11042025/02/16/image_11042025_02_16_54_9428.jpg
/home/pi/Desktop/images/11042025/02/16/image_11042025_02_17_04_10364.jpg
/home/pi/Desktop/images/11042025/02/17/image_11042025_02_17_15_10463.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351464627","1351464676","1351464679","1351464670","1351464693","1351464619"],"photo_ids_order":["1351464619","1351464627","1351464670","1351464676","1351464679","1351464693"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/eec9b1c7ff82b0ccfaa46b533aa55a93.jpg","text":"TemporaryFile(/tmp/multipartBody820184800193095962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744343132734,"filename":"image_11042025_02_16_25_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d873bd906e51415109ced1960ea32f74.jpg","text":"TemporaryFile(/tmp/multipartBody4973127176448638958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744343132734,"filename":"image_11042025_02_16_54_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/63e05189931ff72f1411c9f20904ecd2.jpg","text":"TemporaryFile(/tmp/multipartBody4645083823050414169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744343132734,"filename":"image_11042025_02_17_04_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f7b361dad2ad57c697b9be9e43142191.jpg","text":"TemporaryFile(/tmp/multipartBody5898146649595539229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744343132734,"filename":"image_11042025_02_16_34_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8f042f7c084b183e55320520571cdedd.jpg","text":"TemporaryFile(/tmp/multipartBody4101957258548704371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744343132734,"filename":"image_11042025_02_17_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/11/b230abb9315a70215a3001cb6d3574e3.jpg","text":"TemporaryFile(/tmp/multipartBody1123645272084527503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744343132734,"filename":"image_11042025_02_16_14_10431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351464670","file1":"1351464627","file0":"1351464619","file4":"1351464679","file5":"1351464693","file3":"1351464676"},"map_files_photo_id_array":[{"photo_id":"1351464693","filename":"file5"},{"photo_id":"1351464670","filename":"file2"},{"photo_id":"1351464679","filename":"file4"},{"photo_id":"1351464627","filename":"file1"},{"photo_id":"1351464619","filename":"file0"},{"photo_id":"1351464676","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351464627":["hashtag1","hashtag2"]},{"1351464676":["hashtag1","hashtag2"]},{"1351464679":["hashtag1","hashtag2"]},{"1351464670":["hashtag1","hashtag2"]},{"1351464693":["hashtag1","hashtag2"]},{"1351464619":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351464627, 1351464676, 1351464679, 1351464670, 1351464693, 1351464619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.39122271537781 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 05:45:32.478634
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/02/17/image_11042025_02_17_24_9368.jpg', '/home/pi/Desktop/images/11042025/02/17/image_11042025_02_17_35_10374.jpg', '/home/pi/Desktop/images/11042025/02/17/image_11042025_02_17_44_9419.jpg', '/home/pi/Desktop/images/11042025/02/17/image_11042025_02_17_54_10411.jpg', '/home/pi/Desktop/images/11042025/02/17/image_11042025_02_18_05_10405.jpg', '/home/pi/Desktop/images/11042025/02/18/image_11042025_02_18_14_9355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/02/17/image_11042025_02_17_24_9368.jpg
/home/pi/Desktop/images/11042025/02/17/image_11042025_02_17_35_10374.jpg
/home/pi/Desktop/images/11042025/02/17/image_11042025_02_17_44_9419.jpg
/home/pi/Desktop/images/11042025/02/17/image_11042025_02_17_54_10411.jpg
/home/pi/Desktop/images/11042025/02/17/image_11042025_02_18_05_10405.jpg
/home/pi/Desktop/images/11042025/02/18/image_11042025_02_18_14_9355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351464816","1351464807","1351464797","1351464800","1351464814","1351464795"],"photo_ids_order":["1351464795","1351464797","1351464800","1351464807","1351464814","1351464816"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/30379108c2a5bfb29adc5022583f924c.jpg","text":"TemporaryFile(/tmp/multipartBody460636713337707315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744343192937,"filename":"image_11042025_02_18_14_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b8a49b5e60492bb96f10154d857a68c8.jpg","text":"TemporaryFile(/tmp/multipartBody4567053290775832262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744343192937,"filename":"image_11042025_02_17_54_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7e7ac6b772a71429f3a294ed2f5700c1.jpg","text":"TemporaryFile(/tmp/multipartBody5038016847980817323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744343192937,"filename":"image_11042025_02_17_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/11/87601a468d6c4a8028d696cd541b84f0.jpg","text":"TemporaryFile(/tmp/multipartBody6111283470965247829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744343192937,"filename":"image_11042025_02_17_44_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1fa501222fec2ae918604c98923bf967.jpg","text":"TemporaryFile(/tmp/multipartBody6775783662248334919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744343192937,"filename":"image_11042025_02_18_05_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a2961d0ede89c274b72a2e44ec35a895.jpg","text":"TemporaryFile(/tmp/multipartBody2938825330835892213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744343192937,"filename":"image_11042025_02_17_24_9368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351464800","file1":"1351464797","file0":"1351464795","file4":"1351464814","file5":"1351464816","file3":"1351464807"},"map_files_photo_id_array":[{"photo_id":"1351464816","filename":"file5"},{"photo_id":"1351464800","filename":"file2"},{"photo_id":"1351464814","filename":"file4"},{"photo_id":"1351464797","filename":"file1"},{"photo_id":"1351464795","filename":"file0"},{"photo_id":"1351464807","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351464816":["hashtag1","hashtag2"]},{"1351464807":["hashtag1","hashtag2"]},{"1351464797":["hashtag1","hashtag2"]},{"1351464800":["hashtag1","hashtag2"]},{"1351464814":["hashtag1","hashtag2"]},{"1351464795":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351464816, 1351464807, 1351464797, 1351464800, 1351464814, 1351464795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.26288175582886 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 05:46:32.794067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/02/18/image_11042025_02_18_25_10488.jpg', '/home/pi/Desktop/images/11042025/02/18/image_11042025_02_18_34_9442.jpg', '/home/pi/Desktop/images/11042025/02/18/image_11042025_02_18_44_10349.jpg', '/home/pi/Desktop/images/11042025/02/18/image_11042025_02_18_54_9467.jpg', '/home/pi/Desktop/images/11042025/02/18/image_11042025_02_19_04_10373.jpg', '/home/pi/Desktop/images/11042025/02/19/image_11042025_02_19_15_10376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/02/18/image_11042025_02_18_25_10488.jpg
/home/pi/Desktop/images/11042025/02/18/image_11042025_02_18_34_9442.jpg
/home/pi/Desktop/images/11042025/02/18/image_11042025_02_18_44_10349.jpg
/home/pi/Desktop/images/11042025/02/18/image_11042025_02_18_54_9467.jpg
/home/pi/Desktop/images/11042025/02/18/image_11042025_02_19_04_10373.jpg
/home/pi/Desktop/images/11042025/02/19/image_11042025_02_19_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":["1351464876","1351464858","1351464872","1351464870","1351464873","1351464867"],"photo_ids_order":["1351464858","1351464867","1351464870","1351464872","1351464873","1351464876"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/757b29af929259ba35fd2d74adafd5c3.jpg","text":"TemporaryFile(/tmp/multipartBody5344172684694235371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744343253261,"filename":"image_11042025_02_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/11/34d5b0aa5cedb148f127c653d2f60f37.jpg","text":"TemporaryFile(/tmp/multipartBody1616432534446397265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744343253261,"filename":"image_11042025_02_18_25_10488.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/93e75b6159bcb9f276afc8863f3fca93.jpg","text":"TemporaryFile(/tmp/multipartBody5499813767111952362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744343253261,"filename":"image_11042025_02_18_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/11/5234caa92b3278b68f4b5d31383d57f4.jpg","text":"TemporaryFile(/tmp/multipartBody821613429040167222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744343253261,"filename":"image_11042025_02_18_44_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/469657fecffec9230489fe610ea08311.jpg","text":"TemporaryFile(/tmp/multipartBody1847086946832427874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744343253261,"filename":"image_11042025_02_19_04_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7752051b45434eb02e355d9f08f2a092.jpg","text":"TemporaryFile(/tmp/multipartBody7802174298012766383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744343253261,"filename":"image_11042025_02_18_34_9442.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351464870","file1":"1351464867","file0":"1351464858","file4":"1351464873","file5":"1351464876","file3":"1351464872"},"map_files_photo_id_array":[{"photo_id":"1351464876","filename":"file5"},{"photo_id":"1351464870","filename":"file2"},{"photo_id":"1351464873","filename":"file4"},{"photo_id":"1351464867","filename":"file1"},{"photo_id":"1351464858","filename":"file0"},{"photo_id":"1351464872","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351464876":["hashtag1","hashtag2"]},{"1351464858":["hashtag1","hashtag2"]},{"1351464872":["hashtag1","hashtag2"]},{"1351464870":["hashtag1","hashtag2"]},{"1351464873":["hashtag1","hashtag2"]},{"1351464867":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351464876, 1351464858, 1351464872, 1351464870, 1351464873, 1351464867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.70744872093201 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 05:47:33.049461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/02/19/image_11042025_02_19_24_9413.jpg', '/home/pi/Desktop/images/11042025/02/19/image_11042025_02_19_34_10362.jpg', '/home/pi/Desktop/images/11042025/02/19/image_11042025_02_19_45_10412.jpg', '/home/pi/Desktop/images/11042025/02/19/image_11042025_02_19_54_9354.jpg', '/home/pi/Desktop/images/11042025/02/19/image_11042025_02_20_05_10363.jpg', '/home/pi/Desktop/images/11042025/02/20/image_11042025_02_20_14_9458.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/02/19/image_11042025_02_19_24_9413.jpg
/home/pi/Desktop/images/11042025/02/19/image_11042025_02_19_34_10362.jpg
/home/pi/Desktop/images/11042025/02/19/image_11042025_02_19_45_10412.jpg
/home/pi/Desktop/images/11042025/02/19/image_11042025_02_19_54_9354.jpg
/home/pi/Desktop/images/11042025/02/19/image_11042025_02_20_05_10363.jpg
/home/pi/Desktop/images/11042025/02/20/image_11042025_02_20_14_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":["1351464969","1351464983","1351464964","1351464928","1351464922","1351464972"],"photo_ids_order":["1351464922","1351464928","1351464964","1351464969","1351464972","1351464983"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c3ee02e774cb029d4c7a1dff8026454f.jpg","text":"TemporaryFile(/tmp/multipartBody4549429521973645536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744343313515,"filename":"image_11042025_02_19_54_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/48cffe4c76faa53cd5670f168f263e2b.jpg","text":"TemporaryFile(/tmp/multipartBody4931636797236033989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744343313515,"filename":"image_11042025_02_20_14_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/11/23e2ed142921ca18c18599e4d7810731.jpg","text":"TemporaryFile(/tmp/multipartBody1763108520339428692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744343313515,"filename":"image_11042025_02_19_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/11/5b10a36ba01cc46a24e21ba5f955e381.jpg","text":"TemporaryFile(/tmp/multipartBody7704727453454613854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744343313515,"filename":"image_11042025_02_19_34_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/110141592eb00b116babcde45ead2ccf.jpg","text":"TemporaryFile(/tmp/multipartBody2121581104556739056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744343313515,"filename":"image_11042025_02_19_24_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a9ad3c613e66ada7b7997a1be0a38175.jpg","text":"TemporaryFile(/tmp/multipartBody5416951575929361814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744343313515,"filename":"image_11042025_02_20_05_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351464964","file1":"1351464928","file0":"1351464922","file4":"1351464972","file5":"1351464983","file3":"1351464969"},"map_files_photo_id_array":[{"photo_id":"1351464983","filename":"file5"},{"photo_id":"1351464964","filename":"file2"},{"photo_id":"1351464972","filename":"file4"},{"photo_id":"1351464928","filename":"file1"},{"photo_id":"1351464922","filename":"file0"},{"photo_id":"1351464969","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351464969":["hashtag1","hashtag2"]},{"1351464983":["hashtag1","hashtag2"]},{"1351464964":["hashtag1","hashtag2"]},{"1351464928":["hashtag1","hashtag2"]},{"1351464922":["hashtag1","hashtag2"]},{"1351464972":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351464969, 1351464983, 1351464964, 1351464928, 1351464922, 1351464972)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.320680141448975 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 05:48:32.182930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/02/20/image_11042025_02_20_24_10373.jpg', '/home/pi/Desktop/images/11042025/02/20/image_11042025_02_20_44_10368.jpg', '/home/pi/Desktop/images/11042025/02/20/image_11042025_02_20_55_10383.jpg', '/home/pi/Desktop/images/11042025/02/20/image_11042025_02_21_04_9360.jpg', '/home/pi/Desktop/images/11042025/02/21/image_11042025_02_21_14_10380.jpg', '/home/pi/Desktop/images/11042025/02/21/image_11042025_02_21_25_10444.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/02/20/image_11042025_02_20_24_10373.jpg
/home/pi/Desktop/images/11042025/02/20/image_11042025_02_20_44_10368.jpg
/home/pi/Desktop/images/11042025/02/20/image_11042025_02_20_55_10383.jpg
/home/pi/Desktop/images/11042025/02/20/image_11042025_02_21_04_9360.jpg
/home/pi/Desktop/images/11042025/02/21/image_11042025_02_21_14_10380.jpg
/home/pi/Desktop/images/11042025/02/21/image_11042025_02_21_25_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":["1351465061","1351465046","1351465040","1351465081","1351465032","1351465035"],"photo_ids_order":["1351465032","1351465035","1351465040","1351465046","1351465061","1351465081"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d35f84a83f47bbbb97bd06a7d10be385.jpg","text":"TemporaryFile(/tmp/multipartBody6013441401392849672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744343372651,"filename":"image_11042025_02_21_14_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/958646b1dcb7887967e3d0581d497705.jpg","text":"TemporaryFile(/tmp/multipartBody8319183651846015573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744343372651,"filename":"image_11042025_02_21_04_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/adf55d5f2151dfb65c9c945acc19f66c.jpg","text":"TemporaryFile(/tmp/multipartBody7316387519259176729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744343372651,"filename":"image_11042025_02_20_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/11/854cd6ea56ef9e941b97197e64443ffe.jpg","text":"TemporaryFile(/tmp/multipartBody3226515339888021604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744343372651,"filename":"image_11042025_02_21_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/11/dd9a91bd869ffef0ea8701f0e741378c.jpg","text":"TemporaryFile(/tmp/multipartBody2220834135886651948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744343372651,"filename":"image_11042025_02_20_24_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3ad94e4a2346e4e7b5ce05fb80b53764.jpg","text":"TemporaryFile(/tmp/multipartBody8713888565928039619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744343372651,"filename":"image_11042025_02_20_44_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351465040","file1":"1351465035","file0":"1351465032","file4":"1351465061","file5":"1351465081","file3":"1351465046"},"map_files_photo_id_array":[{"photo_id":"1351465081","filename":"file5"},{"photo_id":"1351465040","filename":"file2"},{"photo_id":"1351465061","filename":"file4"},{"photo_id":"1351465035","filename":"file1"},{"photo_id":"1351465032","filename":"file0"},{"photo_id":"1351465046","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351465061":["hashtag1","hashtag2"]},{"1351465046":["hashtag1","hashtag2"]},{"1351465040":["hashtag1","hashtag2"]},{"1351465081":["hashtag1","hashtag2"]},{"1351465032":["hashtag1","hashtag2"]},{"1351465035":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351465061, 1351465046, 1351465040, 1351465081, 1351465032, 1351465035)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.451467275619507 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 05:49:32.471152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/02/21/image_11042025_02_21_34_9349.jpg', '/home/pi/Desktop/images/11042025/02/21/image_11042025_02_21_44_10366.jpg', '/home/pi/Desktop/images/11042025/02/21/image_11042025_02_21_54_9359.jpg', '/home/pi/Desktop/images/11042025/02/21/image_11042025_02_22_04_10360.jpg', '/home/pi/Desktop/images/11042025/02/22/image_11042025_02_22_15_10435.jpg', '/home/pi/Desktop/images/11042025/02/22/image_11042025_02_22_24_9419.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/02/21/image_11042025_02_21_34_9349.jpg
/home/pi/Desktop/images/11042025/02/21/image_11042025_02_21_44_10366.jpg
/home/pi/Desktop/images/11042025/02/21/image_11042025_02_21_54_9359.jpg
/home/pi/Desktop/images/11042025/02/21/image_11042025_02_22_04_10360.jpg
/home/pi/Desktop/images/11042025/02/22/image_11042025_02_22_15_10435.jpg
/home/pi/Desktop/images/11042025/02/22/image_11042025_02_22_24_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":["1351465329","1351465401","1351465367","1351465383","1351465356","1351465350"],"photo_ids_order":["1351465329","1351465350","1351465356","1351465367","1351465383","1351465401"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0b8634a9e9668e15544af2c8db18d6d2.jpg","text":"TemporaryFile(/tmp/multipartBody1913177506336252771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744343432936,"filename":"image_11042025_02_21_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/11/a181852b4cbfe084888103fb7310ddf8.jpg","text":"TemporaryFile(/tmp/multipartBody4401778588806684021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744343432936,"filename":"image_11042025_02_22_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/11/48beec331ab2c83d8e1b8fb4df088c8f.jpg","text":"TemporaryFile(/tmp/multipartBody3304092067587778741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744343432936,"filename":"image_11042025_02_22_04_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d8a41502db676eb9edc19d8ad0807f0f.jpg","text":"TemporaryFile(/tmp/multipartBody1892063104545296879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744343432936,"filename":"image_11042025_02_22_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/11/50afb0dfa66365d472840733d90a9b21.jpg","text":"TemporaryFile(/tmp/multipartBody4031171022180098511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744343432936,"filename":"image_11042025_02_21_54_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/27a86aa41435ec3f4917f5589c41cd25.jpg","text":"TemporaryFile(/tmp/multipartBody5950102068752762956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744343432936,"filename":"image_11042025_02_21_44_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351465356","file1":"1351465350","file0":"1351465329","file4":"1351465383","file5":"1351465401","file3":"1351465367"},"map_files_photo_id_array":[{"photo_id":"1351465401","filename":"file5"},{"photo_id":"1351465356","filename":"file2"},{"photo_id":"1351465383","filename":"file4"},{"photo_id":"1351465350","filename":"file1"},{"photo_id":"1351465329","filename":"file0"},{"photo_id":"1351465367","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351465329":["hashtag1","hashtag2"]},{"1351465401":["hashtag1","hashtag2"]},{"1351465367":["hashtag1","hashtag2"]},{"1351465383":["hashtag1","hashtag2"]},{"1351465356":["hashtag1","hashtag2"]},{"1351465350":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351465329, 1351465401, 1351465367, 1351465383, 1351465356, 1351465350)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.16109848022461 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 05:50:32.637375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/02/22/image_11042025_02_22_34_10367.jpg', '/home/pi/Desktop/images/11042025/02/22/image_11042025_02_22_44_9441.jpg', '/home/pi/Desktop/images/11042025/02/22/image_11042025_02_22_54_10395.jpg', '/home/pi/Desktop/images/11042025/02/22/image_11042025_02_23_05_10368.jpg', '/home/pi/Desktop/images/11042025/02/23/image_11042025_02_23_14_9401.jpg', '/home/pi/Desktop/images/11042025/02/23/image_11042025_02_23_24_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/02/22/image_11042025_02_22_34_10367.jpg
/home/pi/Desktop/images/11042025/02/22/image_11042025_02_22_44_9441.jpg
/home/pi/Desktop/images/11042025/02/22/image_11042025_02_22_54_10395.jpg
/home/pi/Desktop/images/11042025/02/22/image_11042025_02_23_05_10368.jpg
/home/pi/Desktop/images/11042025/02/23/image_11042025_02_23_14_9401.jpg
/home/pi/Desktop/images/11042025/02/23/image_11042025_02_23_24_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":["1351465440","1351465444","1351465447","1351465432","1351465423","1351465452"],"photo_ids_order":["1351465423","1351465432","1351465440","1351465444","1351465447","1351465452"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b4eec324d10464448240ee872fc4388f.jpg","text":"TemporaryFile(/tmp/multipartBody5474241367542064285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744343493190,"filename":"image_11042025_02_22_54_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/11/2a09d8cca52002903b39d83d0ac3ff03.jpg","text":"TemporaryFile(/tmp/multipartBody1148294556754839364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744343493190,"filename":"image_11042025_02_23_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/11/26a4db81f25841153f9c21294a288ad1.jpg","text":"TemporaryFile(/tmp/multipartBody539609267254251801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744343493190,"filename":"image_11042025_02_23_14_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/38b31b3ad55883f0aba5fc9961be98d3.jpg","text":"TemporaryFile(/tmp/multipartBody4599017682132073631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744343493190,"filename":"image_11042025_02_22_44_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/fefe6be5d83376ff7a28fe8b415142a4.jpg","text":"TemporaryFile(/tmp/multipartBody793281263995605268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744343493190,"filename":"image_11042025_02_22_34_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b6100b9d8028a0006fedd0dc9ea606fd.jpg","text":"TemporaryFile(/tmp/multipartBody92652408313395927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744343493190,"filename":"image_11042025_02_23_24_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351465440","file1":"1351465432","file0":"1351465423","file4":"1351465447","file5":"1351465452","file3":"1351465444"},"map_files_photo_id_array":[{"photo_id":"1351465452","filename":"file5"},{"photo_id":"1351465440","filename":"file2"},{"photo_id":"1351465447","filename":"file4"},{"photo_id":"1351465432","filename":"file1"},{"photo_id":"1351465423","filename":"file0"},{"photo_id":"1351465444","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351465440":["hashtag1","hashtag2"]},{"1351465444":["hashtag1","hashtag2"]},{"1351465447":["hashtag1","hashtag2"]},{"1351465432":["hashtag1","hashtag2"]},{"1351465423":["hashtag1","hashtag2"]},{"1351465452":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351465440, 1351465444, 1351465447, 1351465432, 1351465423, 1351465452)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.16943383216858 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 05:51:33.073420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/02/23/image_11042025_02_23_35_10373.jpg', '/home/pi/Desktop/images/11042025/02/23/image_11042025_02_23_44_9367.jpg', '/home/pi/Desktop/images/11042025/02/23/image_11042025_02_23_55_10368.jpg', '/home/pi/Desktop/images/11042025/02/23/image_11042025_02_24_04_9431.jpg', '/home/pi/Desktop/images/11042025/02/24/image_11042025_02_24_14_10360.jpg', '/home/pi/Desktop/images/11042025/02/24/image_11042025_02_24_25_10478.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/02/23/image_11042025_02_23_35_10373.jpg
/home/pi/Desktop/images/11042025/02/23/image_11042025_02_23_44_9367.jpg
/home/pi/Desktop/images/11042025/02/23/image_11042025_02_23_55_10368.jpg
/home/pi/Desktop/images/11042025/02/23/image_11042025_02_24_04_9431.jpg
/home/pi/Desktop/images/11042025/02/24/image_11042025_02_24_14_10360.jpg
/home/pi/Desktop/images/11042025/02/24/image_11042025_02_24_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":["1351465490","1351465487","1351465472","1351465492","1351465482","1351465476"],"photo_ids_order":["1351465472","1351465476","1351465482","1351465487","1351465490","1351465492"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4976574a7053ad9e2e779f208279c6ab.jpg","text":"TemporaryFile(/tmp/multipartBody5122211910359045217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744343553532,"filename":"image_11042025_02_24_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/11/80af53db445257770189fd2ae00232d0.jpg","text":"TemporaryFile(/tmp/multipartBody5515283557394230430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744343553532,"filename":"image_11042025_02_24_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/11/ac073685290dbe0269e45f6565bad116.jpg","text":"TemporaryFile(/tmp/multipartBody5986017874113296264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744343553532,"filename":"image_11042025_02_23_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/11/f7906a9784f5377b106a39452aa9f901.jpg","text":"TemporaryFile(/tmp/multipartBody8032792507062679919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744343553532,"filename":"image_11042025_02_24_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/11/7a8e23e7429bd9f639f04b4467f7e219.jpg","text":"TemporaryFile(/tmp/multipartBody2946304103282446728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744343553532,"filename":"image_11042025_02_23_55_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2086e4ebfefa47cffb1aaa85317c5981.jpg","text":"TemporaryFile(/tmp/multipartBody3669671341787730296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744343553532,"filename":"image_11042025_02_23_44_9367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351465482","file1":"1351465476","file0":"1351465472","file4":"1351465490","file5":"1351465492","file3":"1351465487"},"map_files_photo_id_array":[{"photo_id":"1351465492","filename":"file5"},{"photo_id":"1351465482","filename":"file2"},{"photo_id":"1351465490","filename":"file4"},{"photo_id":"1351465476","filename":"file1"},{"photo_id":"1351465472","filename":"file0"},{"photo_id":"1351465487","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351465490":["hashtag1","hashtag2"]},{"1351465487":["hashtag1","hashtag2"]},{"1351465472":["hashtag1","hashtag2"]},{"1351465492":["hashtag1","hashtag2"]},{"1351465482":["hashtag1","hashtag2"]},{"1351465476":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351465490, 1351465487, 1351465472, 1351465492, 1351465482, 1351465476)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.22164177894592 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 05:52:33.062667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/02/24/image_11042025_02_24_34_9384.jpg', '/home/pi/Desktop/images/11042025/02/24/image_11042025_02_24_45_10355.jpg', '/home/pi/Desktop/images/11042025/02/24/image_11042025_02_24_54_9432.jpg', '/home/pi/Desktop/images/11042025/02/24/image_11042025_02_25_04_10504.jpg', '/home/pi/Desktop/images/11042025/02/25/image_11042025_02_25_14_9484.jpg', '/home/pi/Desktop/images/11042025/02/25/image_11042025_02_25_24_10383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/02/24/image_11042025_02_24_34_9384.jpg
/home/pi/Desktop/images/11042025/02/24/image_11042025_02_24_45_10355.jpg
/home/pi/Desktop/images/11042025/02/24/image_11042025_02_24_54_9432.jpg
/home/pi/Desktop/images/11042025/02/24/image_11042025_02_25_04_10504.jpg
/home/pi/Desktop/images/11042025/02/25/image_11042025_02_25_14_9484.jpg
/home/pi/Desktop/images/11042025/02/25/image_11042025_02_25_24_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":["1351465533","1351465512","1351465515","1351465529","1351465523","1351465519"],"photo_ids_order":["1351465512","1351465515","1351465519","1351465523","1351465529","1351465533"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/48fa726748d15eaa1dec8a3b13f27043.jpg","text":"TemporaryFile(/tmp/multipartBody5075230644662416592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744343613535,"filename":"image_11042025_02_25_24_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/11/b1ad92e338d1162c8af421ee221f83af.jpg","text":"TemporaryFile(/tmp/multipartBody7479189866606273133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744343613535,"filename":"image_11042025_02_24_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/11/dc8b03c07e0b92af336ef80f6347420e.jpg","text":"TemporaryFile(/tmp/multipartBody926091798926534825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744343613535,"filename":"image_11042025_02_24_45_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b6a4060881096dd23fe8292ca035d43b.jpg","text":"TemporaryFile(/tmp/multipartBody399481126036245538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744343613535,"filename":"image_11042025_02_25_14_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/11/bd7202dff0e070e2c2bc9c9857c32179.jpg","text":"TemporaryFile(/tmp/multipartBody980205485563125184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744343613535,"filename":"image_11042025_02_25_04_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/11/094af11ef73077810d3808a8d6dfb64d.jpg","text":"TemporaryFile(/tmp/multipartBody1429574156665842031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744343613535,"filename":"image_11042025_02_24_54_9432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351465519","file1":"1351465515","file0":"1351465512","file4":"1351465529","file5":"1351465533","file3":"1351465523"},"map_files_photo_id_array":[{"photo_id":"1351465533","filename":"file5"},{"photo_id":"1351465519","filename":"file2"},{"photo_id":"1351465529","filename":"file4"},{"photo_id":"1351465515","filename":"file1"},{"photo_id":"1351465512","filename":"file0"},{"photo_id":"1351465523","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351465533":["hashtag1","hashtag2"]},{"1351465512":["hashtag1","hashtag2"]},{"1351465515":["hashtag1","hashtag2"]},{"1351465529":["hashtag1","hashtag2"]},{"1351465523":["hashtag1","hashtag2"]},{"1351465519":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351465533, 1351465512, 1351465515, 1351465529, 1351465523, 1351465519)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.15406274795532 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 05:53:32.331613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/02/25/image_11042025_02_25_44_9411.jpg', '/home/pi/Desktop/images/11042025/02/26/image_11042025_02_26_14_10352.jpg', '/home/pi/Desktop/images/11042025/02/26/image_11042025_02_26_34_10367.jpg', '/home/pi/Desktop/images/11042025/02/26/image_11042025_02_26_45_10369.jpg', '/home/pi/Desktop/images/11042025/02/26/image_11042025_02_26_54_9362.jpg', '/home/pi/Desktop/images/11042025/02/26/image_11042025_02_27_04_10444.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/02/25/image_11042025_02_25_44_9411.jpg
/home/pi/Desktop/images/11042025/02/26/image_11042025_02_26_14_10352.jpg
/home/pi/Desktop/images/11042025/02/26/image_11042025_02_26_34_10367.jpg
/home/pi/Desktop/images/11042025/02/26/image_11042025_02_26_45_10369.jpg
/home/pi/Desktop/images/11042025/02/26/image_11042025_02_26_54_9362.jpg
/home/pi/Desktop/images/11042025/02/26/image_11042025_02_27_04_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":["1351465577","1351465568","1351465573","1351465584","1351465581","1351465563"],"photo_ids_order":["1351465563","1351465568","1351465573","1351465577","1351465581","1351465584"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1937a6617688cc03e9fd621fbefcfae1.jpg","text":"TemporaryFile(/tmp/multipartBody3901106423363618281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744343672796,"filename":"image_11042025_02_26_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/11/386975690fc66efdeb2f6b0a50d2b97b.jpg","text":"TemporaryFile(/tmp/multipartBody8497366037596961772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744343672796,"filename":"image_11042025_02_26_14_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/38777a9dbf904947fd42b67dd4026d6e.jpg","text":"TemporaryFile(/tmp/multipartBody2311203662446374115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744343672796,"filename":"image_11042025_02_26_34_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/03ef6048fa1f56e9ffc290660af4377a.jpg","text":"TemporaryFile(/tmp/multipartBody9196100179698953835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744343672796,"filename":"image_11042025_02_27_04_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/23ca6906e2c9af6333aea7852f4d4519.jpg","text":"TemporaryFile(/tmp/multipartBody4317984565838221869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744343672796,"filename":"image_11042025_02_26_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/11/711fcdfc884821c7e3defe831628bde7.jpg","text":"TemporaryFile(/tmp/multipartBody8722030253676430367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744343672796,"filename":"image_11042025_02_25_44_9411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351465573","file1":"1351465568","file0":"1351465563","file4":"1351465581","file5":"1351465584","file3":"1351465577"},"map_files_photo_id_array":[{"photo_id":"1351465584","filename":"file5"},{"photo_id":"1351465573","filename":"file2"},{"photo_id":"1351465581","filename":"file4"},{"photo_id":"1351465568","filename":"file1"},{"photo_id":"1351465563","filename":"file0"},{"photo_id":"1351465577","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351465577":["hashtag1","hashtag2"]},{"1351465568":["hashtag1","hashtag2"]},{"1351465573":["hashtag1","hashtag2"]},{"1351465584":["hashtag1","hashtag2"]},{"1351465581":["hashtag1","hashtag2"]},{"1351465563":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351465577, 1351465568, 1351465573, 1351465584, 1351465581, 1351465563)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.84449529647827 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 05:54:32.446832
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/02/27/image_11042025_02_27_15_10404.jpg', '/home/pi/Desktop/images/11042025/02/27/image_11042025_02_27_24_9355.jpg', '/home/pi/Desktop/images/11042025/02/27/image_11042025_02_27_35_10443.jpg', '/home/pi/Desktop/images/11042025/02/27/image_11042025_02_27_44_9343.jpg', '/home/pi/Desktop/images/11042025/02/27/image_11042025_02_27_54_10361.jpg', '/home/pi/Desktop/images/11042025/02/27/image_11042025_02_28_05_10455.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/02/27/image_11042025_02_27_15_10404.jpg
/home/pi/Desktop/images/11042025/02/27/image_11042025_02_27_24_9355.jpg
/home/pi/Desktop/images/11042025/02/27/image_11042025_02_27_35_10443.jpg
/home/pi/Desktop/images/11042025/02/27/image_11042025_02_27_44_9343.jpg
/home/pi/Desktop/images/11042025/02/27/image_11042025_02_27_54_10361.jpg
/home/pi/Desktop/images/11042025/02/27/image_11042025_02_28_05_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":["1351465611","1351465642","1351465630","1351465621","1351465647","1351465650"],"photo_ids_order":["1351465611","1351465621","1351465630","1351465642","1351465647","1351465650"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d2779509bd8502d96258641ff8484873.jpg","text":"TemporaryFile(/tmp/multipartBody27697228270221957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744343732904,"filename":"image_11042025_02_27_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/11/906a4d8792332781b26fbd7774df4b9d.jpg","text":"TemporaryFile(/tmp/multipartBody790108492118527357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744343732904,"filename":"image_11042025_02_27_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/11/d3d81dcada1ee3fab1a921869ffe1218.jpg","text":"TemporaryFile(/tmp/multipartBody8314935997664527954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744343732904,"filename":"image_11042025_02_27_35_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b532e45971feb0f126885b0931490daf.jpg","text":"TemporaryFile(/tmp/multipartBody1191064242106218062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744343732904,"filename":"image_11042025_02_27_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/11/0135ab6d3e38edf6a86cd71a2075b8ed.jpg","text":"TemporaryFile(/tmp/multipartBody6864078808178548803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744343732904,"filename":"image_11042025_02_27_54_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c0ac61fea64eab754649291af9cc37dd.jpg","text":"TemporaryFile(/tmp/multipartBody2759054139328887103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744343732904,"filename":"image_11042025_02_28_05_10455.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351465630","file1":"1351465621","file0":"1351465611","file4":"1351465647","file5":"1351465650","file3":"1351465642"},"map_files_photo_id_array":[{"photo_id":"1351465650","filename":"file5"},{"photo_id":"1351465630","filename":"file2"},{"photo_id":"1351465647","filename":"file4"},{"photo_id":"1351465621","filename":"file1"},{"photo_id":"1351465611","filename":"file0"},{"photo_id":"1351465642","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351465611":["hashtag1","hashtag2"]},{"1351465642":["hashtag1","hashtag2"]},{"1351465630":["hashtag1","hashtag2"]},{"1351465621":["hashtag1","hashtag2"]},{"1351465647":["hashtag1","hashtag2"]},{"1351465650":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351465611, 1351465642, 1351465630, 1351465621, 1351465647, 1351465650)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.52928400039673 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 05:55:32.657407
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/02/28/image_11042025_02_28_14_9465.jpg', '/home/pi/Desktop/images/11042025/02/28/image_11042025_02_28_25_10367.jpg', '/home/pi/Desktop/images/11042025/02/28/image_11042025_02_28_34_9430.jpg', '/home/pi/Desktop/images/11042025/02/28/image_11042025_02_28_44_10371.jpg', '/home/pi/Desktop/images/11042025/02/28/image_11042025_02_29_04_9421.jpg', '/home/pi/Desktop/images/11042025/02/29/image_11042025_02_29_15_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/02/28/image_11042025_02_28_14_9465.jpg
/home/pi/Desktop/images/11042025/02/28/image_11042025_02_28_25_10367.jpg
/home/pi/Desktop/images/11042025/02/28/image_11042025_02_28_34_9430.jpg
/home/pi/Desktop/images/11042025/02/28/image_11042025_02_28_44_10371.jpg
/home/pi/Desktop/images/11042025/02/28/image_11042025_02_29_04_9421.jpg
/home/pi/Desktop/images/11042025/02/29/image_11042025_02_29_15_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.40288281440734863 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 05:55:42.680086
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/02/28/image_11042025_02_28_14_9465.jpg', '/home/pi/Desktop/images/11042025/02/28/image_11042025_02_28_25_10367.jpg', '/home/pi/Desktop/images/11042025/02/28/image_11042025_02_28_34_9430.jpg', '/home/pi/Desktop/images/11042025/02/28/image_11042025_02_28_44_10371.jpg', '/home/pi/Desktop/images/11042025/02/28/image_11042025_02_29_04_9421.jpg', '/home/pi/Desktop/images/11042025/02/29/image_11042025_02_29_15_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/02/28/image_11042025_02_28_14_9465.jpg
/home/pi/Desktop/images/11042025/02/28/image_11042025_02_28_25_10367.jpg
/home/pi/Desktop/images/11042025/02/28/image_11042025_02_28_34_9430.jpg
/home/pi/Desktop/images/11042025/02/28/image_11042025_02_28_44_10371.jpg
/home/pi/Desktop/images/11042025/02/28/image_11042025_02_29_04_9421.jpg
/home/pi/Desktop/images/11042025/02/29/image_11042025_02_29_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":["1351465709","1351465693","1351465705","1351465698","1351465686","1351465701"],"photo_ids_order":["1351465686","1351465693","1351465698","1351465701","1351465705","1351465709"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/420c045fbbfa5bd35ca0f3a528959cc3.jpg","text":"TemporaryFile(/tmp/multipartBody5714970820477097430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744343803159,"filename":"image_11042025_02_29_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/11/7459b1b75c9b5f6c4401bad6e30e8d71.jpg","text":"TemporaryFile(/tmp/multipartBody75316690771181184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744343803159,"filename":"image_11042025_02_28_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/11/159a6b8d934d61a58032bb613907edae.jpg","text":"TemporaryFile(/tmp/multipartBody6169390465531493497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744343803159,"filename":"image_11042025_02_29_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/11/b24e8d5c308e0717624333741724d2da.jpg","text":"TemporaryFile(/tmp/multipartBody5095931548083429317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744343803159,"filename":"image_11042025_02_28_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/11/d6fcaa389727bae449f68b310e16e10b.jpg","text":"TemporaryFile(/tmp/multipartBody7468291648709131985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744343803159,"filename":"image_11042025_02_28_14_9465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/87ea8f058baca8d9e19ba13b5ca41846.jpg","text":"TemporaryFile(/tmp/multipartBody583536809002664681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744343803159,"filename":"image_11042025_02_28_44_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351465698","file1":"1351465693","file0":"1351465686","file4":"1351465705","file5":"1351465709","file3":"1351465701"},"map_files_photo_id_array":[{"photo_id":"1351465709","filename":"file5"},{"photo_id":"1351465698","filename":"file2"},{"photo_id":"1351465705","filename":"file4"},{"photo_id":"1351465693","filename":"file1"},{"photo_id":"1351465686","filename":"file0"},{"photo_id":"1351465701","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351465709":["hashtag1","hashtag2"]},{"1351465693":["hashtag1","hashtag2"]},{"1351465705":["hashtag1","hashtag2"]},{"1351465698":["hashtag1","hashtag2"]},{"1351465686":["hashtag1","hashtag2"]},{"1351465701":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351465709, 1351465693, 1351465705, 1351465698, 1351465686, 1351465701)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.616854429244995 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 05:56:32.960709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/02/29/image_11042025_02_29_24_9426.jpg', '/home/pi/Desktop/images/11042025/02/29/image_11042025_02_29_34_10450.jpg', '/home/pi/Desktop/images/11042025/02/29/image_11042025_02_29_44_9479.jpg', '/home/pi/Desktop/images/11042025/02/29/image_11042025_02_29_54_10476.jpg', '/home/pi/Desktop/images/11042025/02/30/image_11042025_02_30_14_10434.jpg', '/home/pi/Desktop/images/11042025/02/30/image_11042025_02_30_25_10424.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/02/29/image_11042025_02_29_24_9426.jpg
/home/pi/Desktop/images/11042025/02/29/image_11042025_02_29_34_10450.jpg
/home/pi/Desktop/images/11042025/02/29/image_11042025_02_29_44_9479.jpg
/home/pi/Desktop/images/11042025/02/29/image_11042025_02_29_54_10476.jpg
/home/pi/Desktop/images/11042025/02/30/image_11042025_02_30_14_10434.jpg
/home/pi/Desktop/images/11042025/02/30/image_11042025_02_30_25_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":["1351465731","1351465733","1351465724","1351465735","1351465720","1351465728"],"photo_ids_order":["1351465720","1351465724","1351465728","1351465731","1351465733","1351465735"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b45c524bbf743baffc692469de6f851e.jpg","text":"TemporaryFile(/tmp/multipartBody6706582894144020693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744343853423,"filename":"image_11042025_02_29_54_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/11/6d15b68447bb49d3b9ea7e98c113cf82.jpg","text":"TemporaryFile(/tmp/multipartBody3372606110975624165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744343853423,"filename":"image_11042025_02_30_14_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/28bb1fa187e8baba67f4731d85d10b9b.jpg","text":"TemporaryFile(/tmp/multipartBody4851275351959197831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744343853423,"filename":"image_11042025_02_29_34_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/11/8d82c4fdf92024ed380a307b7198924c.jpg","text":"TemporaryFile(/tmp/multipartBody1617390759190534988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744343853423,"filename":"image_11042025_02_30_25_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d574510abb606baeceb5004b0d963af3.jpg","text":"TemporaryFile(/tmp/multipartBody4431276758639979365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744343853423,"filename":"image_11042025_02_29_24_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/25d42c0c05c2157df812c15cf99d30d4.jpg","text":"TemporaryFile(/tmp/multipartBody940734264809441315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744343853423,"filename":"image_11042025_02_29_44_9479.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351465728","file1":"1351465724","file0":"1351465720","file4":"1351465733","file5":"1351465735","file3":"1351465731"},"map_files_photo_id_array":[{"photo_id":"1351465735","filename":"file5"},{"photo_id":"1351465728","filename":"file2"},{"photo_id":"1351465733","filename":"file4"},{"photo_id":"1351465724","filename":"file1"},{"photo_id":"1351465720","filename":"file0"},{"photo_id":"1351465731","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351465731":["hashtag1","hashtag2"]},{"1351465733":["hashtag1","hashtag2"]},{"1351465724":["hashtag1","hashtag2"]},{"1351465735":["hashtag1","hashtag2"]},{"1351465720":["hashtag1","hashtag2"]},{"1351465728":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351465731, 1351465733, 1351465724, 1351465735, 1351465720, 1351465728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.869959115982056 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 05:57:33.124089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/02/30/image_11042025_02_30_34_9351.jpg', '/home/pi/Desktop/images/11042025/02/30/image_11042025_02_30_45_10436.jpg', '/home/pi/Desktop/images/11042025/02/30/image_11042025_02_30_54_9442.jpg', '/home/pi/Desktop/images/11042025/02/30/image_11042025_02_31_04_10423.jpg', '/home/pi/Desktop/images/11042025/02/31/image_11042025_02_31_15_10399.jpg', '/home/pi/Desktop/images/11042025/02/31/image_11042025_02_31_24_9408.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/02/30/image_11042025_02_30_34_9351.jpg
/home/pi/Desktop/images/11042025/02/30/image_11042025_02_30_45_10436.jpg
/home/pi/Desktop/images/11042025/02/30/image_11042025_02_30_54_9442.jpg
/home/pi/Desktop/images/11042025/02/30/image_11042025_02_31_04_10423.jpg
/home/pi/Desktop/images/11042025/02/31/image_11042025_02_31_15_10399.jpg
/home/pi/Desktop/images/11042025/02/31/image_11042025_02_31_24_9408.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-11 05:59:04.162479
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/02/30/image_11042025_02_30_34_9351.jpg', '/home/pi/Desktop/images/11042025/02/30/image_11042025_02_30_45_10436.jpg', '/home/pi/Desktop/images/11042025/02/30/image_11042025_02_30_54_9442.jpg', '/home/pi/Desktop/images/11042025/02/30/image_11042025_02_31_04_10423.jpg', '/home/pi/Desktop/images/11042025/02/31/image_11042025_02_31_15_10399.jpg', '/home/pi/Desktop/images/11042025/02/31/image_11042025_02_31_24_9408.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/02/30/image_11042025_02_30_34_9351.jpg
/home/pi/Desktop/images/11042025/02/30/image_11042025_02_30_45_10436.jpg
/home/pi/Desktop/images/11042025/02/30/image_11042025_02_30_54_9442.jpg
/home/pi/Desktop/images/11042025/02/30/image_11042025_02_31_04_10423.jpg
/home/pi/Desktop/images/11042025/02/31/image_11042025_02_31_15_10399.jpg
/home/pi/Desktop/images/11042025/02/31/image_11042025_02_31_24_9408.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351465889","1351465874","1351465883","1351465865","1351465876","1351465861"],"photo_ids_order":["1351465861","1351465865","1351465874","1351465876","1351465883","1351465889"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/dd76f2d4e44444f2d3b37567cf0e812c.jpg","text":"TemporaryFile(/tmp/multipartBody4450733208653206932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344006297,"filename":"image_11042025_02_31_24_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7a4f3db61339039111f3ead420c12f96.jpg","text":"TemporaryFile(/tmp/multipartBody335464123882574995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344006297,"filename":"image_11042025_02_30_54_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4c73d93d80036e2ca4a8cec21e96a6bd.jpg","text":"TemporaryFile(/tmp/multipartBody1083418690191244921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344006297,"filename":"image_11042025_02_31_15_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/bbede20d17b145f76433cb5d826010f9.jpg","text":"TemporaryFile(/tmp/multipartBody4243184112712756450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344006297,"filename":"image_11042025_02_30_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/11/f5fcdcc699a1fff6d4ffc8f2536cddcd.jpg","text":"TemporaryFile(/tmp/multipartBody8899162444009173901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344006297,"filename":"image_11042025_02_31_04_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/81e3ba68c038d605103bd23e5ddf4b94.jpg","text":"TemporaryFile(/tmp/multipartBody3282396636988025199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344006297,"filename":"image_11042025_02_30_34_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351465874","file1":"1351465865","file0":"1351465861","file4":"1351465883","file5":"1351465889","file3":"1351465876"},"map_files_photo_id_array":[{"photo_id":"1351465889","filename":"file5"},{"photo_id":"1351465874","filename":"file2"},{"photo_id":"1351465883","filename":"file4"},{"photo_id":"1351465865","filename":"file1"},{"photo_id":"1351465861","filename":"file0"},{"photo_id":"1351465876","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351465889":["hashtag1","hashtag2"]},{"1351465874":["hashtag1","hashtag2"]},{"1351465883":["hashtag1","hashtag2"]},{"1351465865":["hashtag1","hashtag2"]},{"1351465876":["hashtag1","hashtag2"]},{"1351465861":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351465889, 1351465874, 1351465883, 1351465865, 1351465876, 1351465861)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.94543671607971 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 05:59:52.790365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/02/31/image_11042025_02_31_35_10385.jpg', '/home/pi/Desktop/images/11042025/02/31/image_11042025_02_31_44_9464.jpg', '/home/pi/Desktop/images/11042025/02/31/image_11042025_02_31_54_10372.jpg', '/home/pi/Desktop/images/11042025/02/31/image_11042025_02_32_04_9467.jpg', '/home/pi/Desktop/images/11042025/02/32/image_11042025_02_32_14_10381.jpg', '/home/pi/Desktop/images/11042025/02/32/image_11042025_02_32_25_10473.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/02/31/image_11042025_02_31_35_10385.jpg
/home/pi/Desktop/images/11042025/02/31/image_11042025_02_31_44_9464.jpg
/home/pi/Desktop/images/11042025/02/31/image_11042025_02_31_54_10372.jpg
/home/pi/Desktop/images/11042025/02/31/image_11042025_02_32_04_9467.jpg
/home/pi/Desktop/images/11042025/02/32/image_11042025_02_32_14_10381.jpg
/home/pi/Desktop/images/11042025/02/32/image_11042025_02_32_25_10473.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351466201","1351466395","1351465918","1351465912","1351466106","1351465947"],"photo_ids_order":["1351465912","1351465918","1351465947","1351466106","1351466201","1351466395"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1c0fccbfb72cff400dfbabef8e7dd353.jpg","text":"TemporaryFile(/tmp/multipartBody1444656884236276390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344053255,"filename":"image_11042025_02_32_14_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7b113d9f79de5aa4db13cd159fcd7d6e.jpg","text":"TemporaryFile(/tmp/multipartBody1003023098688319351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344053255,"filename":"image_11042025_02_32_25_10473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/21f96eb59e6738054a3f281707e20c95.jpg","text":"TemporaryFile(/tmp/multipartBody3850850098026115317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344053255,"filename":"image_11042025_02_31_44_9464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/532369365fa912364f5c7e6aba54b101.jpg","text":"TemporaryFile(/tmp/multipartBody3403696836288257242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344053255,"filename":"image_11042025_02_31_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/11/6c1be96e2b7c8f0254cc27343724556c.jpg","text":"TemporaryFile(/tmp/multipartBody7509802151731774953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344053255,"filename":"image_11042025_02_32_04_9467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f7df2c7b405f222a3000d15cc078d7ca.jpg","text":"TemporaryFile(/tmp/multipartBody8825178841228334156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344053255,"filename":"image_11042025_02_31_54_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351465947","file1":"1351465918","file0":"1351465912","file4":"1351466201","file5":"1351466395","file3":"1351466106"},"map_files_photo_id_array":[{"photo_id":"1351466395","filename":"file5"},{"photo_id":"1351465947","filename":"file2"},{"photo_id":"1351466201","filename":"file4"},{"photo_id":"1351465918","filename":"file1"},{"photo_id":"1351465912","filename":"file0"},{"photo_id":"1351466106","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351466201":["hashtag1","hashtag2"]},{"1351466395":["hashtag1","hashtag2"]},{"1351465918":["hashtag1","hashtag2"]},{"1351465912":["hashtag1","hashtag2"]},{"1351466106":["hashtag1","hashtag2"]},{"1351465947":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351466201, 1351466395, 1351465918, 1351465912, 1351466106, 1351465947)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.626986503601074 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 06:00:33.065209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/02/32/image_11042025_02_32_34_9362.jpg', '/home/pi/Desktop/images/11042025/02/32/image_11042025_02_32_44_10354.jpg', '/home/pi/Desktop/images/11042025/02/32/image_11042025_02_32_54_9437.jpg', '/home/pi/Desktop/images/11042025/02/32/image_11042025_02_33_04_10368.jpg', '/home/pi/Desktop/images/11042025/02/33/image_11042025_02_33_15_10378.jpg', '/home/pi/Desktop/images/11042025/02/33/image_11042025_02_33_24_9350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/02/32/image_11042025_02_32_34_9362.jpg
/home/pi/Desktop/images/11042025/02/32/image_11042025_02_32_44_10354.jpg
/home/pi/Desktop/images/11042025/02/32/image_11042025_02_32_54_9437.jpg
/home/pi/Desktop/images/11042025/02/32/image_11042025_02_33_04_10368.jpg
/home/pi/Desktop/images/11042025/02/33/image_11042025_02_33_15_10378.jpg
/home/pi/Desktop/images/11042025/02/33/image_11042025_02_33_24_9350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351466473","1351466449","1351466440","1351466437","1351466434","1351466427"],"photo_ids_order":["1351466427","1351466434","1351466437","1351466440","1351466449","1351466473"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f90e83549a11262032feb0da503504a8.jpg","text":"TemporaryFile(/tmp/multipartBody5645367427978690741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344093582,"filename":"image_11042025_02_33_24_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8978a7b7925cc87b3ad48e726653a582.jpg","text":"TemporaryFile(/tmp/multipartBody8337563347648004745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344093582,"filename":"image_11042025_02_33_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/11/0f86fc69e78364dde3c94dd6230ecb05.jpg","text":"TemporaryFile(/tmp/multipartBody2671603919543228672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344093582,"filename":"image_11042025_02_33_04_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/cc1e6852e29c69b61b04d563dc8a8526.jpg","text":"TemporaryFile(/tmp/multipartBody43027869155142261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344093582,"filename":"image_11042025_02_32_54_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/34959b565b778c9cfb6293876db6cca1.jpg","text":"TemporaryFile(/tmp/multipartBody6469844970936511708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344093582,"filename":"image_11042025_02_32_44_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a2684a40c1b1aa4c01396833fa1f8b1f.jpg","text":"TemporaryFile(/tmp/multipartBody8581946067625246007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344093582,"filename":"image_11042025_02_32_34_9362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351466437","file1":"1351466434","file0":"1351466427","file4":"1351466449","file5":"1351466473","file3":"1351466440"},"map_files_photo_id_array":[{"photo_id":"1351466473","filename":"file5"},{"photo_id":"1351466437","filename":"file2"},{"photo_id":"1351466449","filename":"file4"},{"photo_id":"1351466434","filename":"file1"},{"photo_id":"1351466427","filename":"file0"},{"photo_id":"1351466440","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351466473":["hashtag1","hashtag2"]},{"1351466449":["hashtag1","hashtag2"]},{"1351466440":["hashtag1","hashtag2"]},{"1351466437":["hashtag1","hashtag2"]},{"1351466434":["hashtag1","hashtag2"]},{"1351466427":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351466473, 1351466449, 1351466440, 1351466437, 1351466434, 1351466427)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.72996425628662 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 06:01:32.273138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/02/33/image_11042025_02_33_34_10389.jpg', '/home/pi/Desktop/images/11042025/02/33/image_11042025_02_33_44_9437.jpg', '/home/pi/Desktop/images/11042025/02/33/image_11042025_02_33_54_10114.jpg', '/home/pi/Desktop/images/11042025/02/33/image_11042025_02_34_04_10361.jpg', '/home/pi/Desktop/images/11042025/02/34/image_11042025_02_34_15_10459.jpg', '/home/pi/Desktop/images/11042025/02/34/image_11042025_02_34_24_9363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/02/33/image_11042025_02_33_34_10389.jpg
/home/pi/Desktop/images/11042025/02/33/image_11042025_02_33_44_9437.jpg
/home/pi/Desktop/images/11042025/02/33/image_11042025_02_33_54_10114.jpg
/home/pi/Desktop/images/11042025/02/33/image_11042025_02_34_04_10361.jpg
/home/pi/Desktop/images/11042025/02/34/image_11042025_02_34_15_10459.jpg
/home/pi/Desktop/images/11042025/02/34/image_11042025_02_34_24_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":["1351466816","1351466914","1351466985","1351467045","1351466862","1351466943"],"photo_ids_order":["1351466816","1351466862","1351466914","1351466943","1351466985","1351467045"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6baf5cca428b18ed7d88c1e4bb73b950.jpg","text":"TemporaryFile(/tmp/multipartBody3966221758738594570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344152731,"filename":"image_11042025_02_33_34_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4730febee6f63216f8e8ccf8f6f261ff.jpg","text":"TemporaryFile(/tmp/multipartBody5581126643087074340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344152731,"filename":"image_11042025_02_33_54_10114.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d364a19cdc2f0c5b5f3b4d2bc5cafa8b.jpg","text":"TemporaryFile(/tmp/multipartBody202797082093998005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344152731,"filename":"image_11042025_02_34_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/11/2bd29a013db4f42c749f3f7f2320d6f5.jpg","text":"TemporaryFile(/tmp/multipartBody4448651727008864084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344152731,"filename":"image_11042025_02_34_24_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/85188b7ed6fbff39ca39b02f9f3eefe2.jpg","text":"TemporaryFile(/tmp/multipartBody4680644944618495494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344152731,"filename":"image_11042025_02_33_44_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/11/a7b2fc14598d5c3fc7db1d000c26b5b3.jpg","text":"TemporaryFile(/tmp/multipartBody8765420328971734585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344152731,"filename":"image_11042025_02_34_04_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351466914","file1":"1351466862","file0":"1351466816","file4":"1351466985","file5":"1351467045","file3":"1351466943"},"map_files_photo_id_array":[{"photo_id":"1351467045","filename":"file5"},{"photo_id":"1351466914","filename":"file2"},{"photo_id":"1351466985","filename":"file4"},{"photo_id":"1351466862","filename":"file1"},{"photo_id":"1351466816","filename":"file0"},{"photo_id":"1351466943","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351466816":["hashtag1","hashtag2"]},{"1351466914":["hashtag1","hashtag2"]},{"1351466985":["hashtag1","hashtag2"]},{"1351467045":["hashtag1","hashtag2"]},{"1351466862":["hashtag1","hashtag2"]},{"1351466943":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351466816, 1351466914, 1351466985, 1351467045, 1351466862, 1351466943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.3751175403595 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 06:02:32.569162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/02/34/image_11042025_02_34_34_10366.jpg', '/home/pi/Desktop/images/11042025/02/34/image_11042025_02_34_44_9440.jpg', '/home/pi/Desktop/images/11042025/02/34/image_11042025_02_34_54_10363.jpg', '/home/pi/Desktop/images/11042025/02/34/image_11042025_02_35_05_10354.jpg', '/home/pi/Desktop/images/11042025/02/35/image_11042025_02_35_14_9465.jpg', '/home/pi/Desktop/images/11042025/02/35/image_11042025_02_35_24_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/02/34/image_11042025_02_34_34_10366.jpg
/home/pi/Desktop/images/11042025/02/34/image_11042025_02_34_44_9440.jpg
/home/pi/Desktop/images/11042025/02/34/image_11042025_02_34_54_10363.jpg
/home/pi/Desktop/images/11042025/02/34/image_11042025_02_35_05_10354.jpg
/home/pi/Desktop/images/11042025/02/35/image_11042025_02_35_14_9465.jpg
/home/pi/Desktop/images/11042025/02/35/image_11042025_02_35_24_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":["1351467394","1351467582","1351467666","1351467429","1351467770","1351467470"],"photo_ids_order":["1351467394","1351467429","1351467470","1351467582","1351467666","1351467770"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9dfa3089acd0640a7151abe494ffd182.jpg","text":"TemporaryFile(/tmp/multipartBody886049316324957325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344213035,"filename":"image_11042025_02_34_34_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3a7cb53664de57b5b9dee3a0763c5ec6.jpg","text":"TemporaryFile(/tmp/multipartBody7984792272668608780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344213035,"filename":"image_11042025_02_35_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/11/25104df085f68ad72bbcc529eb846b81.jpg","text":"TemporaryFile(/tmp/multipartBody1608827581650623575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344213035,"filename":"image_11042025_02_35_14_9465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/42efefbf2f48ed4a8205a07823c4e7ae.jpg","text":"TemporaryFile(/tmp/multipartBody6268859211364138503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344213035,"filename":"image_11042025_02_34_44_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f145b15e8553d6742c246462f46c8b8f.jpg","text":"TemporaryFile(/tmp/multipartBody4672312068410057346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344213035,"filename":"image_11042025_02_35_24_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/12d8f186ae76e55ca31fee134c2d8abb.jpg","text":"TemporaryFile(/tmp/multipartBody6515293773172759459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344213035,"filename":"image_11042025_02_34_54_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351467470","file1":"1351467429","file0":"1351467394","file4":"1351467666","file5":"1351467770","file3":"1351467582"},"map_files_photo_id_array":[{"photo_id":"1351467770","filename":"file5"},{"photo_id":"1351467470","filename":"file2"},{"photo_id":"1351467666","filename":"file4"},{"photo_id":"1351467429","filename":"file1"},{"photo_id":"1351467394","filename":"file0"},{"photo_id":"1351467582","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351467394":["hashtag1","hashtag2"]},{"1351467582":["hashtag1","hashtag2"]},{"1351467666":["hashtag1","hashtag2"]},{"1351467429":["hashtag1","hashtag2"]},{"1351467770":["hashtag1","hashtag2"]},{"1351467470":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351467394, 1351467582, 1351467666, 1351467429, 1351467770, 1351467470)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.46968913078308 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 06:03:32.708231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/02/35/image_11042025_02_35_34_9421.jpg', '/home/pi/Desktop/images/11042025/02/35/image_11042025_02_35_44_10364.jpg', '/home/pi/Desktop/images/11042025/02/35/image_11042025_02_36_04_9417.jpg', '/home/pi/Desktop/images/11042025/02/36/image_11042025_02_36_14_10369.jpg', '/home/pi/Desktop/images/11042025/02/36/image_11042025_02_36_24_9420.jpg', '/home/pi/Desktop/images/11042025/02/36/image_11042025_02_36_34_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/02/35/image_11042025_02_35_34_9421.jpg
/home/pi/Desktop/images/11042025/02/35/image_11042025_02_35_44_10364.jpg
/home/pi/Desktop/images/11042025/02/35/image_11042025_02_36_04_9417.jpg
/home/pi/Desktop/images/11042025/02/36/image_11042025_02_36_14_10369.jpg
/home/pi/Desktop/images/11042025/02/36/image_11042025_02_36_24_9420.jpg
/home/pi/Desktop/images/11042025/02/36/image_11042025_02_36_34_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":["1351468570","1351468411","1351468336","1351468215","1351468265","1351468489"],"photo_ids_order":["1351468215","1351468265","1351468336","1351468411","1351468489","1351468570"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/efec76ed5d5f18427fce1e5a940e65cf.jpg","text":"TemporaryFile(/tmp/multipartBody6911902425250470964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344273168,"filename":"image_11042025_02_36_34_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1ad78c9d4047945e2dd368087da1d3d0.jpg","text":"TemporaryFile(/tmp/multipartBody5398471402334094865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344273168,"filename":"image_11042025_02_36_14_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3d7b309eb5d87d69c17daa2f16a5dafe.jpg","text":"TemporaryFile(/tmp/multipartBody4543983642917761224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344273168,"filename":"image_11042025_02_36_04_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/38e4e84a79c2b68feb227d033acbdd89.jpg","text":"TemporaryFile(/tmp/multipartBody3479836338979207240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344273168,"filename":"image_11042025_02_35_34_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/11/8623e1c56d7da3fddb8d23021a40ebf3.jpg","text":"TemporaryFile(/tmp/multipartBody4913760386197715086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344273168,"filename":"image_11042025_02_35_44_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0981021d5f0829efe638617c644c21c9.jpg","text":"TemporaryFile(/tmp/multipartBody6197280798671883183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344273168,"filename":"image_11042025_02_36_24_9420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351468336","file1":"1351468265","file0":"1351468215","file4":"1351468489","file5":"1351468570","file3":"1351468411"},"map_files_photo_id_array":[{"photo_id":"1351468570","filename":"file5"},{"photo_id":"1351468336","filename":"file2"},{"photo_id":"1351468489","filename":"file4"},{"photo_id":"1351468265","filename":"file1"},{"photo_id":"1351468215","filename":"file0"},{"photo_id":"1351468411","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351468570":["hashtag1","hashtag2"]},{"1351468411":["hashtag1","hashtag2"]},{"1351468336":["hashtag1","hashtag2"]},{"1351468215":["hashtag1","hashtag2"]},{"1351468265":["hashtag1","hashtag2"]},{"1351468489":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351468570, 1351468411, 1351468336, 1351468215, 1351468265, 1351468489)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.10206055641174 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 06:04:32.942377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/02/36/image_11042025_02_36_45_10356.jpg', '/home/pi/Desktop/images/11042025/02/36/image_11042025_02_36_54_9404.jpg', '/home/pi/Desktop/images/11042025/02/36/image_11042025_02_37_04_10368.jpg', '/home/pi/Desktop/images/11042025/02/37/image_11042025_02_37_15_10482.jpg', '/home/pi/Desktop/images/11042025/02/37/image_11042025_02_37_24_9434.jpg', '/home/pi/Desktop/images/11042025/02/37/image_11042025_02_37_35_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/02/36/image_11042025_02_36_45_10356.jpg
/home/pi/Desktop/images/11042025/02/36/image_11042025_02_36_54_9404.jpg
/home/pi/Desktop/images/11042025/02/36/image_11042025_02_37_04_10368.jpg
/home/pi/Desktop/images/11042025/02/37/image_11042025_02_37_15_10482.jpg
/home/pi/Desktop/images/11042025/02/37/image_11042025_02_37_24_9434.jpg
/home/pi/Desktop/images/11042025/02/37/image_11042025_02_37_35_10368.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":["1351469160","1351469052","1351468947","1351469301","1351469213","1351469102"],"photo_ids_order":["1351468947","1351469052","1351469102","1351469160","1351469213","1351469301"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/910b0addcd9e8215d457c047c75a4ccb.jpg","text":"TemporaryFile(/tmp/multipartBody6372061996623416311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344333418,"filename":"image_11042025_02_37_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/11/c23ff21409136d9c0de697f4cc03d41e.jpg","text":"TemporaryFile(/tmp/multipartBody545772494044027398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344333418,"filename":"image_11042025_02_36_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/11/dbaaf1a2cefadeec2194730983a62d2a.jpg","text":"TemporaryFile(/tmp/multipartBody5637647150653441511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344333418,"filename":"image_11042025_02_36_45_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/cd6d4c891d226423f8abc3b0b1a54512.jpg","text":"TemporaryFile(/tmp/multipartBody1442166431336481819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344333418,"filename":"image_11042025_02_37_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/11/cbfd2a4ea439ff261fffee78acb43588.jpg","text":"TemporaryFile(/tmp/multipartBody110191045218997075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344333418,"filename":"image_11042025_02_37_24_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b325d506786209ea005361a24910a619.jpg","text":"TemporaryFile(/tmp/multipartBody7247376546310507195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344333418,"filename":"image_11042025_02_37_04_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351469102","file1":"1351469052","file0":"1351468947","file4":"1351469213","file5":"1351469301","file3":"1351469160"},"map_files_photo_id_array":[{"photo_id":"1351469301","filename":"file5"},{"photo_id":"1351469102","filename":"file2"},{"photo_id":"1351469213","filename":"file4"},{"photo_id":"1351469052","filename":"file1"},{"photo_id":"1351468947","filename":"file0"},{"photo_id":"1351469160","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351469160":["hashtag1","hashtag2"]},{"1351469052":["hashtag1","hashtag2"]},{"1351468947":["hashtag1","hashtag2"]},{"1351469301":["hashtag1","hashtag2"]},{"1351469213":["hashtag1","hashtag2"]},{"1351469102":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351469160, 1351469052, 1351468947, 1351469301, 1351469213, 1351469102)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.397507667541504 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 06:05:42.202721
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/02/37/image_11042025_02_37_54_10342.jpg', '/home/pi/Desktop/images/11042025/02/37/image_11042025_02_38_05_10468.jpg', '/home/pi/Desktop/images/11042025/02/38/image_11042025_02_38_14_9431.jpg', '/home/pi/Desktop/images/11042025/02/38/image_11042025_02_38_25_10366.jpg', '/home/pi/Desktop/images/11042025/02/38/image_11042025_02_38_34_9430.jpg', '/home/pi/Desktop/images/11042025/02/38/image_11042025_02_38_44_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/02/37/image_11042025_02_37_54_10342.jpg
/home/pi/Desktop/images/11042025/02/37/image_11042025_02_38_05_10468.jpg
/home/pi/Desktop/images/11042025/02/38/image_11042025_02_38_14_9431.jpg
/home/pi/Desktop/images/11042025/02/38/image_11042025_02_38_25_10366.jpg
/home/pi/Desktop/images/11042025/02/38/image_11042025_02_38_34_9430.jpg
/home/pi/Desktop/images/11042025/02/38/image_11042025_02_38_44_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351469396","1351469450","1351469392","1351469386","1351469405","1351469377"],"photo_ids_order":["1351469377","1351469386","1351469392","1351469396","1351469405","1351469450"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/90af7e7e85bcc1694ee34070c6d600f3.jpg","text":"TemporaryFile(/tmp/multipartBody5098584319490792330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344402669,"filename":"image_11042025_02_38_25_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/63368fda8a773404e6387982f01c0360.jpg","text":"TemporaryFile(/tmp/multipartBody2063252321636473927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344402669,"filename":"image_11042025_02_38_44_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6c005bec670a784489a604eae6d94c0b.jpg","text":"TemporaryFile(/tmp/multipartBody5342552718852673601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344402669,"filename":"image_11042025_02_38_14_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1c4c2d50641b5c59c9bbe74840ce44ed.jpg","text":"TemporaryFile(/tmp/multipartBody5347524652523188813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344402669,"filename":"image_11042025_02_38_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/11/04a1fc90acbd6d31bc340bc1320aaca6.jpg","text":"TemporaryFile(/tmp/multipartBody4077670153134538584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344402669,"filename":"image_11042025_02_38_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/11/7d765b905c4a7a13f4d344d8f55f0e2e.jpg","text":"TemporaryFile(/tmp/multipartBody7756522816796249355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344402669,"filename":"image_11042025_02_37_54_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351469392","file1":"1351469386","file0":"1351469377","file4":"1351469405","file5":"1351469450","file3":"1351469396"},"map_files_photo_id_array":[{"photo_id":"1351469450","filename":"file5"},{"photo_id":"1351469392","filename":"file2"},{"photo_id":"1351469405","filename":"file4"},{"photo_id":"1351469386","filename":"file1"},{"photo_id":"1351469377","filename":"file0"},{"photo_id":"1351469396","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351469396":["hashtag1","hashtag2"]},{"1351469450":["hashtag1","hashtag2"]},{"1351469392":["hashtag1","hashtag2"]},{"1351469386":["hashtag1","hashtag2"]},{"1351469405":["hashtag1","hashtag2"]},{"1351469377":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351469396, 1351469450, 1351469392, 1351469386, 1351469405, 1351469377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.20865249633789 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 06:06:32.474611
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/02/38/image_11042025_02_38_54_9488.jpg', '/home/pi/Desktop/images/11042025/02/38/image_11042025_02_39_04_10364.jpg', '/home/pi/Desktop/images/11042025/02/39/image_11042025_02_39_15_10383.jpg', '/home/pi/Desktop/images/11042025/02/39/image_11042025_02_39_24_9360.jpg', '/home/pi/Desktop/images/11042025/02/39/image_11042025_02_39_34_10450.jpg', '/home/pi/Desktop/images/11042025/02/39/image_11042025_02_39_45_10394.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/02/38/image_11042025_02_38_54_9488.jpg
/home/pi/Desktop/images/11042025/02/38/image_11042025_02_39_04_10364.jpg
/home/pi/Desktop/images/11042025/02/39/image_11042025_02_39_15_10383.jpg
/home/pi/Desktop/images/11042025/02/39/image_11042025_02_39_24_9360.jpg
/home/pi/Desktop/images/11042025/02/39/image_11042025_02_39_34_10450.jpg
/home/pi/Desktop/images/11042025/02/39/image_11042025_02_39_45_10394.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351469757","1351469913","1351469846","1351469960","1351469801","1351470002"],"photo_ids_order":["1351469757","1351469801","1351469846","1351469913","1351469960","1351470002"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/098100ed21f5e06e0388d7711a2edfe9.jpg","text":"TemporaryFile(/tmp/multipartBody9064413399024761324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344452938,"filename":"image_11042025_02_38_54_9488.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c0f496f7aaf83d64de0a8dcaeead78a5.jpg","text":"TemporaryFile(/tmp/multipartBody3208830644390965367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344452938,"filename":"image_11042025_02_39_24_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/65f63c7bc7a5abc9e21cfc28f620b247.jpg","text":"TemporaryFile(/tmp/multipartBody6974633583103962800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344452938,"filename":"image_11042025_02_39_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/11/d60491fd2dbcc0b4b77959f40ac27e6b.jpg","text":"TemporaryFile(/tmp/multipartBody5730080183119630225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344452938,"filename":"image_11042025_02_39_34_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/11/7f0288877861b8ca6ca3e295cb0c4724.jpg","text":"TemporaryFile(/tmp/multipartBody1868910317168076985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344452938,"filename":"image_11042025_02_39_04_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/31ecdb766be0ea36686557cc8a608f8d.jpg","text":"TemporaryFile(/tmp/multipartBody4992523949957442968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344452938,"filename":"image_11042025_02_39_45_10394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351469846","file1":"1351469801","file0":"1351469757","file4":"1351469960","file5":"1351470002","file3":"1351469913"},"map_files_photo_id_array":[{"photo_id":"1351470002","filename":"file5"},{"photo_id":"1351469846","filename":"file2"},{"photo_id":"1351469960","filename":"file4"},{"photo_id":"1351469801","filename":"file1"},{"photo_id":"1351469757","filename":"file0"},{"photo_id":"1351469913","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351469757":["hashtag1","hashtag2"]},{"1351469913":["hashtag1","hashtag2"]},{"1351469846":["hashtag1","hashtag2"]},{"1351469960":["hashtag1","hashtag2"]},{"1351469801":["hashtag1","hashtag2"]},{"1351470002":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351469757, 1351469913, 1351469846, 1351469960, 1351469801, 1351470002)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.668967485427856 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 06:07:32.740617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/02/39/image_11042025_02_39_54_9394.jpg', '/home/pi/Desktop/images/11042025/02/39/image_11042025_02_40_05_10368.jpg', '/home/pi/Desktop/images/11042025/02/40/image_11042025_02_40_24_10390.jpg', '/home/pi/Desktop/images/11042025/02/40/image_11042025_02_40_34_9475.jpg', '/home/pi/Desktop/images/11042025/02/40/image_11042025_02_40_44_10379.jpg', '/home/pi/Desktop/images/11042025/02/40/image_11042025_02_40_55_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/02/39/image_11042025_02_39_54_9394.jpg
/home/pi/Desktop/images/11042025/02/39/image_11042025_02_40_05_10368.jpg
/home/pi/Desktop/images/11042025/02/40/image_11042025_02_40_24_10390.jpg
/home/pi/Desktop/images/11042025/02/40/image_11042025_02_40_34_9475.jpg
/home/pi/Desktop/images/11042025/02/40/image_11042025_02_40_44_10379.jpg
/home/pi/Desktop/images/11042025/02/40/image_11042025_02_40_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":["1351470426","1351470275","1351470338","1351470404","1351470305","1351470199"],"photo_ids_order":["1351470199","1351470275","1351470305","1351470338","1351470404","1351470426"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/62af1b83f43477252f6363590d88d6b5.jpg","text":"TemporaryFile(/tmp/multipartBody640464918499354346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344513203,"filename":"image_11042025_02_40_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/11/ebb7887fb6559d0fa5b056350655a08a.jpg","text":"TemporaryFile(/tmp/multipartBody3740007905447308689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344513203,"filename":"image_11042025_02_40_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/11/f053faa30f94ad63d909435088534595.jpg","text":"TemporaryFile(/tmp/multipartBody2697665485481950995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344513203,"filename":"image_11042025_02_40_34_9475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5b7c7e92140d0ee0f5ca43f04386324b.jpg","text":"TemporaryFile(/tmp/multipartBody9057336403438030685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344513203,"filename":"image_11042025_02_40_44_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/11/26d201e5f8cc0cc89a36b6031e92bf0a.jpg","text":"TemporaryFile(/tmp/multipartBody2307004665276836729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344513203,"filename":"image_11042025_02_40_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/11/49a66ad4a8d38689771235b7b6fbe199.jpg","text":"TemporaryFile(/tmp/multipartBody3479428443893940360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344513203,"filename":"image_11042025_02_39_54_9394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351470305","file1":"1351470275","file0":"1351470199","file4":"1351470404","file5":"1351470426","file3":"1351470338"},"map_files_photo_id_array":[{"photo_id":"1351470426","filename":"file5"},{"photo_id":"1351470305","filename":"file2"},{"photo_id":"1351470404","filename":"file4"},{"photo_id":"1351470275","filename":"file1"},{"photo_id":"1351470199","filename":"file0"},{"photo_id":"1351470338","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351470426":["hashtag1","hashtag2"]},{"1351470275":["hashtag1","hashtag2"]},{"1351470338":["hashtag1","hashtag2"]},{"1351470404":["hashtag1","hashtag2"]},{"1351470305":["hashtag1","hashtag2"]},{"1351470199":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351470426, 1351470275, 1351470338, 1351470404, 1351470305, 1351470199)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.57210373878479 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 06:08:33.069152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/02/40/image_11042025_02_41_04_9417.jpg', '/home/pi/Desktop/images/11042025/02/41/image_11042025_02_41_14_10416.jpg', '/home/pi/Desktop/images/11042025/02/41/image_11042025_02_41_25_10394.jpg', '/home/pi/Desktop/images/11042025/02/41/image_11042025_02_41_34_9345.jpg', '/home/pi/Desktop/images/11042025/02/41/image_11042025_02_41_45_10357.jpg', '/home/pi/Desktop/images/11042025/02/42/image_11042025_02_42_15_10410.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/02/40/image_11042025_02_41_04_9417.jpg
/home/pi/Desktop/images/11042025/02/41/image_11042025_02_41_14_10416.jpg
/home/pi/Desktop/images/11042025/02/41/image_11042025_02_41_25_10394.jpg
/home/pi/Desktop/images/11042025/02/41/image_11042025_02_41_34_9345.jpg
/home/pi/Desktop/images/11042025/02/41/image_11042025_02_41_45_10357.jpg
/home/pi/Desktop/images/11042025/02/42/image_11042025_02_42_15_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":["1351470766","1351470666","1351470612","1351470702","1351470737","1351470638"],"photo_ids_order":["1351470612","1351470638","1351470666","1351470702","1351470737","1351470766"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a44c5e00eebeb79e02720af4280b81cb.jpg","text":"TemporaryFile(/tmp/multipartBody8416467575131821721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344573537,"filename":"image_11042025_02_42_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/11/64b3354b04b307366327537629ef7d4b.jpg","text":"TemporaryFile(/tmp/multipartBody4867883036512717171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344573537,"filename":"image_11042025_02_41_25_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/11134cf4ddb01f1ca8943e321af52e7c.jpg","text":"TemporaryFile(/tmp/multipartBody5515077389291972688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344573537,"filename":"image_11042025_02_41_04_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e26b9fd5beedd1472cdc25862ffecb7c.jpg","text":"TemporaryFile(/tmp/multipartBody6089499313443988157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344573537,"filename":"image_11042025_02_41_34_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7d7e0dc4814085e353d57959425d11bb.jpg","text":"TemporaryFile(/tmp/multipartBody1822001055665384064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344573537,"filename":"image_11042025_02_41_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/11/0bc9992c5c6ec3e0187399031cc0781b.jpg","text":"TemporaryFile(/tmp/multipartBody2659088488417753889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344573537,"filename":"image_11042025_02_41_14_10416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351470666","file1":"1351470638","file0":"1351470612","file4":"1351470737","file5":"1351470766","file3":"1351470702"},"map_files_photo_id_array":[{"photo_id":"1351470766","filename":"file5"},{"photo_id":"1351470666","filename":"file2"},{"photo_id":"1351470737","filename":"file4"},{"photo_id":"1351470638","filename":"file1"},{"photo_id":"1351470612","filename":"file0"},{"photo_id":"1351470702","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351470766":["hashtag1","hashtag2"]},{"1351470666":["hashtag1","hashtag2"]},{"1351470612":["hashtag1","hashtag2"]},{"1351470702":["hashtag1","hashtag2"]},{"1351470737":["hashtag1","hashtag2"]},{"1351470638":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351470766, 1351470666, 1351470612, 1351470702, 1351470737, 1351470638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.504120111465454 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 06:09:32.244583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/02/42/image_11042025_02_42_24_9420.jpg', '/home/pi/Desktop/images/11042025/02/42/image_11042025_02_42_35_10507.jpg', '/home/pi/Desktop/images/11042025/02/42/image_11042025_02_42_44_9367.jpg', '/home/pi/Desktop/images/11042025/02/42/image_11042025_02_42_54_10353.jpg', '/home/pi/Desktop/images/11042025/02/42/image_11042025_02_43_05_10388.jpg', '/home/pi/Desktop/images/11042025/02/43/image_11042025_02_43_34_9451.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/02/42/image_11042025_02_42_24_9420.jpg
/home/pi/Desktop/images/11042025/02/42/image_11042025_02_42_35_10507.jpg
/home/pi/Desktop/images/11042025/02/42/image_11042025_02_42_44_9367.jpg
/home/pi/Desktop/images/11042025/02/42/image_11042025_02_42_54_10353.jpg
/home/pi/Desktop/images/11042025/02/42/image_11042025_02_43_05_10388.jpg
/home/pi/Desktop/images/11042025/02/43/image_11042025_02_43_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":["1351471158","1351470996","1351471068","1351471047","1351471112","1351471016"],"photo_ids_order":["1351470996","1351471016","1351471047","1351471068","1351471112","1351471158"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c5f6a0bb10655722944ab29506d24bb5.jpg","text":"TemporaryFile(/tmp/multipartBody1834088132995625360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344632709,"filename":"image_11042025_02_43_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/11/979fc356019fe5256fb6ed0c00e41025.jpg","text":"TemporaryFile(/tmp/multipartBody619269775953193748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344632709,"filename":"image_11042025_02_42_24_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/899decd07c7c64a4d4688322261703bf.jpg","text":"TemporaryFile(/tmp/multipartBody4918550816336943691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344632709,"filename":"image_11042025_02_42_54_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/46f96a63bd97b59ecee39465737225d5.jpg","text":"TemporaryFile(/tmp/multipartBody9107736468189368405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344632709,"filename":"image_11042025_02_42_44_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7ab6b88cd845706e9391a1ee6af33bda.jpg","text":"TemporaryFile(/tmp/multipartBody1799541138505582030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344632709,"filename":"image_11042025_02_43_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/11/b2842f2609253578c9d438bfa1e681df.jpg","text":"TemporaryFile(/tmp/multipartBody6923667819901081857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344632709,"filename":"image_11042025_02_42_35_10507.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351471047","file1":"1351471016","file0":"1351470996","file4":"1351471112","file5":"1351471158","file3":"1351471068"},"map_files_photo_id_array":[{"photo_id":"1351471158","filename":"file5"},{"photo_id":"1351471047","filename":"file2"},{"photo_id":"1351471112","filename":"file4"},{"photo_id":"1351471016","filename":"file1"},{"photo_id":"1351470996","filename":"file0"},{"photo_id":"1351471068","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351471158":["hashtag1","hashtag2"]},{"1351470996":["hashtag1","hashtag2"]},{"1351471068":["hashtag1","hashtag2"]},{"1351471047":["hashtag1","hashtag2"]},{"1351471112":["hashtag1","hashtag2"]},{"1351471016":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351471158, 1351470996, 1351471068, 1351471047, 1351471112, 1351471016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.728696823120117 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 06:10:32.461316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/02/43/image_11042025_02_43_44_10358.jpg', '/home/pi/Desktop/images/11042025/02/43/image_11042025_02_43_55_10420.jpg', '/home/pi/Desktop/images/11042025/02/44/image_11042025_02_44_15_10384.jpg', '/home/pi/Desktop/images/11042025/02/44/image_11042025_02_44_24_9441.jpg', '/home/pi/Desktop/images/11042025/02/44/image_11042025_02_44_45_10364.jpg', '/home/pi/Desktop/images/11042025/02/44/image_11042025_02_44_54_9365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/02/43/image_11042025_02_43_44_10358.jpg
/home/pi/Desktop/images/11042025/02/43/image_11042025_02_43_55_10420.jpg
/home/pi/Desktop/images/11042025/02/44/image_11042025_02_44_15_10384.jpg
/home/pi/Desktop/images/11042025/02/44/image_11042025_02_44_24_9441.jpg
/home/pi/Desktop/images/11042025/02/44/image_11042025_02_44_45_10364.jpg
/home/pi/Desktop/images/11042025/02/44/image_11042025_02_44_54_9365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351472247","1351472351","1351472420","1351472303","1351472092","1351472193"],"photo_ids_order":["1351472092","1351472193","1351472247","1351472303","1351472351","1351472420"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f3fa2069d0c6c2ded813ecd7acc9b144.jpg","text":"TemporaryFile(/tmp/multipartBody7303952696781345001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344692923,"filename":"image_11042025_02_44_15_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/90fecfdb4a17415cf4e85ac3aaf5d893.jpg","text":"TemporaryFile(/tmp/multipartBody3033231192414700327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344692923,"filename":"image_11042025_02_44_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/11/1c82f9066a35b64fe345096fc8d5467d.jpg","text":"TemporaryFile(/tmp/multipartBody7549570670636691468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344692923,"filename":"image_11042025_02_44_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/11/bcc045c67c5309984229cba471888398.jpg","text":"TemporaryFile(/tmp/multipartBody2152465298107240254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344692923,"filename":"image_11042025_02_44_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/11/ff655a3766eb931589125b62e3afb284.jpg","text":"TemporaryFile(/tmp/multipartBody2562165299172289025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344692923,"filename":"image_11042025_02_43_44_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6ddfdf13ca8ee80c3e787b5f74a42d75.jpg","text":"TemporaryFile(/tmp/multipartBody6440297593368947990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344692923,"filename":"image_11042025_02_43_55_10420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351472247","file1":"1351472193","file0":"1351472092","file4":"1351472351","file5":"1351472420","file3":"1351472303"},"map_files_photo_id_array":[{"photo_id":"1351472420","filename":"file5"},{"photo_id":"1351472247","filename":"file2"},{"photo_id":"1351472351","filename":"file4"},{"photo_id":"1351472193","filename":"file1"},{"photo_id":"1351472092","filename":"file0"},{"photo_id":"1351472303","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351472247":["hashtag1","hashtag2"]},{"1351472351":["hashtag1","hashtag2"]},{"1351472420":["hashtag1","hashtag2"]},{"1351472303":["hashtag1","hashtag2"]},{"1351472092":["hashtag1","hashtag2"]},{"1351472193":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351472247, 1351472351, 1351472420, 1351472303, 1351472092, 1351472193)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.15301156044006 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 06:11:32.788789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/02/44/image_11042025_02_45_05_10451.jpg', '/home/pi/Desktop/images/11042025/02/45/image_11042025_02_45_14_9477.jpg', '/home/pi/Desktop/images/11042025/02/45/image_11042025_02_45_24_10385.jpg', '/home/pi/Desktop/images/11042025/02/45/image_11042025_02_45_34_9392.jpg', '/home/pi/Desktop/images/11042025/02/45/image_11042025_02_45_44_10372.jpg', '/home/pi/Desktop/images/11042025/02/45/image_11042025_02_45_55_10373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/02/44/image_11042025_02_45_05_10451.jpg
/home/pi/Desktop/images/11042025/02/45/image_11042025_02_45_14_9477.jpg
/home/pi/Desktop/images/11042025/02/45/image_11042025_02_45_24_10385.jpg
/home/pi/Desktop/images/11042025/02/45/image_11042025_02_45_34_9392.jpg
/home/pi/Desktop/images/11042025/02/45/image_11042025_02_45_44_10372.jpg
/home/pi/Desktop/images/11042025/02/45/image_11042025_02_45_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":["1351472844","1351472932","1351472869","1351472827","1351472898","1351472757"],"photo_ids_order":["1351472757","1351472827","1351472844","1351472869","1351472898","1351472932"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0a6f0347546d99cebff9c496dc36cb14.jpg","text":"TemporaryFile(/tmp/multipartBody1650319299735910726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344753263,"filename":"image_11042025_02_45_24_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/14e99ad450682a1c4f66298e516fc138.jpg","text":"TemporaryFile(/tmp/multipartBody4682961632603207472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344753263,"filename":"image_11042025_02_45_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/11/66b5d25b5b181b090e57c11a77f19148.jpg","text":"TemporaryFile(/tmp/multipartBody6961271005744620381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344753263,"filename":"image_11042025_02_45_34_9392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9a6ffb1e3663ca936a290a5d78ce138c.jpg","text":"TemporaryFile(/tmp/multipartBody5722704829215818532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344753263,"filename":"image_11042025_02_45_14_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/11/54f04579d66861baddbe92c97f95a211.jpg","text":"TemporaryFile(/tmp/multipartBody3390506310449007607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344753263,"filename":"image_11042025_02_45_44_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d6481bfddbd1ee393297077d3da72fac.jpg","text":"TemporaryFile(/tmp/multipartBody4221327205822250217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344753263,"filename":"image_11042025_02_45_05_10451.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351472844","file1":"1351472827","file0":"1351472757","file4":"1351472898","file5":"1351472932","file3":"1351472869"},"map_files_photo_id_array":[{"photo_id":"1351472932","filename":"file5"},{"photo_id":"1351472844","filename":"file2"},{"photo_id":"1351472898","filename":"file4"},{"photo_id":"1351472827","filename":"file1"},{"photo_id":"1351472757","filename":"file0"},{"photo_id":"1351472869","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351472844":["hashtag1","hashtag2"]},{"1351472932":["hashtag1","hashtag2"]},{"1351472869":["hashtag1","hashtag2"]},{"1351472827":["hashtag1","hashtag2"]},{"1351472898":["hashtag1","hashtag2"]},{"1351472757":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351472844, 1351472932, 1351472869, 1351472827, 1351472898, 1351472757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.081214904785156 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 06:12:32.977016
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/02/45/image_11042025_02_46_04_9430.jpg', '/home/pi/Desktop/images/11042025/02/46/image_11042025_02_46_14_10454.jpg', '/home/pi/Desktop/images/11042025/02/46/image_11042025_02_46_24_9366.jpg', '/home/pi/Desktop/images/11042025/02/46/image_11042025_02_46_45_10361.jpg', '/home/pi/Desktop/images/11042025/02/46/image_11042025_02_46_55_10105.jpg', '/home/pi/Desktop/images/11042025/02/46/image_11042025_02_47_04_9357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/02/45/image_11042025_02_46_04_9430.jpg
/home/pi/Desktop/images/11042025/02/46/image_11042025_02_46_14_10454.jpg
/home/pi/Desktop/images/11042025/02/46/image_11042025_02_46_24_9366.jpg
/home/pi/Desktop/images/11042025/02/46/image_11042025_02_46_45_10361.jpg
/home/pi/Desktop/images/11042025/02/46/image_11042025_02_46_55_10105.jpg
/home/pi/Desktop/images/11042025/02/46/image_11042025_02_47_04_9357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351473290","1351473265","1351473172","1351473235","1351473205","1351473327"],"photo_ids_order":["1351473172","1351473205","1351473235","1351473265","1351473290","1351473327"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b7a5054abcac0629ecefe0503dec31dc.jpg","text":"TemporaryFile(/tmp/multipartBody3357462579457428270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344813441,"filename":"image_11042025_02_46_55_10105.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/fd3917109298788489c14d25f85c77d3.jpg","text":"TemporaryFile(/tmp/multipartBody337554539195623487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344813441,"filename":"image_11042025_02_46_45_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/817b70d2047cff9a364c358f02be9dd3.jpg","text":"TemporaryFile(/tmp/multipartBody5828001312862945711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344813441,"filename":"image_11042025_02_46_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/11/b1e6f994aabe46651078b351badd60a7.jpg","text":"TemporaryFile(/tmp/multipartBody8933430405708189044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344813441,"filename":"image_11042025_02_46_24_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e56fb7b57c317ead546cb768f2ceb901.jpg","text":"TemporaryFile(/tmp/multipartBody3070621048623707172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344813441,"filename":"image_11042025_02_46_14_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/11/abafb04f2c6f8f65017ab36802521867.jpg","text":"TemporaryFile(/tmp/multipartBody53380436080116361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344813441,"filename":"image_11042025_02_47_04_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351473235","file1":"1351473205","file0":"1351473172","file4":"1351473290","file5":"1351473327","file3":"1351473265"},"map_files_photo_id_array":[{"photo_id":"1351473327","filename":"file5"},{"photo_id":"1351473235","filename":"file2"},{"photo_id":"1351473290","filename":"file4"},{"photo_id":"1351473205","filename":"file1"},{"photo_id":"1351473172","filename":"file0"},{"photo_id":"1351473265","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351473290":["hashtag1","hashtag2"]},{"1351473265":["hashtag1","hashtag2"]},{"1351473172":["hashtag1","hashtag2"]},{"1351473235":["hashtag1","hashtag2"]},{"1351473205":["hashtag1","hashtag2"]},{"1351473327":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351473290, 1351473265, 1351473172, 1351473235, 1351473205, 1351473327)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.43287205696106 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 06:13:32.159450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/02/47/image_11042025_02_47_14_10430.jpg', '/home/pi/Desktop/images/11042025/02/47/image_11042025_02_47_24_9431.jpg', '/home/pi/Desktop/images/11042025/02/47/image_11042025_02_47_34_10373.jpg', '/home/pi/Desktop/images/11042025/02/47/image_11042025_02_47_45_10468.jpg', '/home/pi/Desktop/images/11042025/02/47/image_11042025_02_47_54_9373.jpg', '/home/pi/Desktop/images/11042025/02/47/image_11042025_02_48_05_10379.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/02/47/image_11042025_02_47_14_10430.jpg
/home/pi/Desktop/images/11042025/02/47/image_11042025_02_47_24_9431.jpg
/home/pi/Desktop/images/11042025/02/47/image_11042025_02_47_34_10373.jpg
/home/pi/Desktop/images/11042025/02/47/image_11042025_02_47_45_10468.jpg
/home/pi/Desktop/images/11042025/02/47/image_11042025_02_47_54_9373.jpg
/home/pi/Desktop/images/11042025/02/47/image_11042025_02_48_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":["1351473527","1351473697","1351473676","1351473594","1351473651","1351473627"],"photo_ids_order":["1351473527","1351473594","1351473627","1351473651","1351473676","1351473697"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2d22084304383cd2c6051337f0b11a47.jpg","text":"TemporaryFile(/tmp/multipartBody6898461468210790964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344872624,"filename":"image_11042025_02_47_14_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/85d124582b1da4249d90f97037282efa.jpg","text":"TemporaryFile(/tmp/multipartBody5664655349464154402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344872624,"filename":"image_11042025_02_48_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/11/2ede67f510f05193f2a32a02791ed175.jpg","text":"TemporaryFile(/tmp/multipartBody6523826812702438564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344872624,"filename":"image_11042025_02_47_54_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d316540ba83b029ffa7679077b49a7b7.jpg","text":"TemporaryFile(/tmp/multipartBody4232351554130376573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344872624,"filename":"image_11042025_02_47_24_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4188f90c36879d585500a51a1bad7add.jpg","text":"TemporaryFile(/tmp/multipartBody5037620344381873497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344872624,"filename":"image_11042025_02_47_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/11/4ee7bfc0b44125c74713111aa1679594.jpg","text":"TemporaryFile(/tmp/multipartBody7829929358771616872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344872624,"filename":"image_11042025_02_47_34_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351473627","file1":"1351473594","file0":"1351473527","file4":"1351473676","file5":"1351473697","file3":"1351473651"},"map_files_photo_id_array":[{"photo_id":"1351473697","filename":"file5"},{"photo_id":"1351473627","filename":"file2"},{"photo_id":"1351473676","filename":"file4"},{"photo_id":"1351473594","filename":"file1"},{"photo_id":"1351473527","filename":"file0"},{"photo_id":"1351473651","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351473527":["hashtag1","hashtag2"]},{"1351473697":["hashtag1","hashtag2"]},{"1351473676":["hashtag1","hashtag2"]},{"1351473594":["hashtag1","hashtag2"]},{"1351473651":["hashtag1","hashtag2"]},{"1351473627":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351473527, 1351473697, 1351473676, 1351473594, 1351473651, 1351473627)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.624492168426514 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 06:14:32.513195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/02/48/image_11042025_02_48_14_9391.jpg', '/home/pi/Desktop/images/11042025/02/48/image_11042025_02_48_24_10390.jpg', '/home/pi/Desktop/images/11042025/02/48/image_11042025_02_48_35_10497.jpg', '/home/pi/Desktop/images/11042025/02/48/image_11042025_02_48_44_9377.jpg', '/home/pi/Desktop/images/11042025/02/48/image_11042025_02_48_55_10373.jpg', '/home/pi/Desktop/images/11042025/02/48/image_11042025_02_49_04_9441.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/02/48/image_11042025_02_48_14_9391.jpg
/home/pi/Desktop/images/11042025/02/48/image_11042025_02_48_24_10390.jpg
/home/pi/Desktop/images/11042025/02/48/image_11042025_02_48_35_10497.jpg
/home/pi/Desktop/images/11042025/02/48/image_11042025_02_48_44_9377.jpg
/home/pi/Desktop/images/11042025/02/48/image_11042025_02_48_55_10373.jpg
/home/pi/Desktop/images/11042025/02/48/image_11042025_02_49_04_9441.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.40566229820251465 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 06:14:42.403905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/02/48/image_11042025_02_48_14_9391.jpg', '/home/pi/Desktop/images/11042025/02/48/image_11042025_02_48_24_10390.jpg', '/home/pi/Desktop/images/11042025/02/48/image_11042025_02_48_35_10497.jpg', '/home/pi/Desktop/images/11042025/02/48/image_11042025_02_48_44_9377.jpg', '/home/pi/Desktop/images/11042025/02/48/image_11042025_02_48_55_10373.jpg', '/home/pi/Desktop/images/11042025/02/48/image_11042025_02_49_04_9441.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/02/48/image_11042025_02_48_14_9391.jpg
/home/pi/Desktop/images/11042025/02/48/image_11042025_02_48_24_10390.jpg
/home/pi/Desktop/images/11042025/02/48/image_11042025_02_48_35_10497.jpg
/home/pi/Desktop/images/11042025/02/48/image_11042025_02_48_44_9377.jpg
/home/pi/Desktop/images/11042025/02/48/image_11042025_02_48_55_10373.jpg
/home/pi/Desktop/images/11042025/02/48/image_11042025_02_49_04_9441.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351473872","1351473839","1351473796","1351473852","1351473777","1351473831"],"photo_ids_order":["1351473777","1351473796","1351473831","1351473839","1351473852","1351473872"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0903c17eda41e716ca93c9a1a3209be2.jpg","text":"TemporaryFile(/tmp/multipartBody5595230702549676431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344942878,"filename":"image_11042025_02_49_04_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b2e66091d588dd750517fd0befdf3f6f.jpg","text":"TemporaryFile(/tmp/multipartBody2157369173099654271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344942878,"filename":"image_11042025_02_48_44_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/00212f67445733b59d9f859fe0f4218f.jpg","text":"TemporaryFile(/tmp/multipartBody2912699646617275539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344942878,"filename":"image_11042025_02_48_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/11/e8f0f97c65084df9fbc329bd7422653d.jpg","text":"TemporaryFile(/tmp/multipartBody277095537653921373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344942878,"filename":"image_11042025_02_48_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/11/739c21f28a9e0e5eae535faebc922360.jpg","text":"TemporaryFile(/tmp/multipartBody3879627997685705160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344942878,"filename":"image_11042025_02_48_14_9391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ebbc3d118eb7346f1e6aa8253d08529d.jpg","text":"TemporaryFile(/tmp/multipartBody5957913049520868259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344942878,"filename":"image_11042025_02_48_35_10497.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351473831","file1":"1351473796","file0":"1351473777","file4":"1351473852","file5":"1351473872","file3":"1351473839"},"map_files_photo_id_array":[{"photo_id":"1351473872","filename":"file5"},{"photo_id":"1351473831","filename":"file2"},{"photo_id":"1351473852","filename":"file4"},{"photo_id":"1351473796","filename":"file1"},{"photo_id":"1351473777","filename":"file0"},{"photo_id":"1351473839","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351473872":["hashtag1","hashtag2"]},{"1351473839":["hashtag1","hashtag2"]},{"1351473796":["hashtag1","hashtag2"]},{"1351473852":["hashtag1","hashtag2"]},{"1351473777":["hashtag1","hashtag2"]},{"1351473831":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351473872, 1351473839, 1351473796, 1351473852, 1351473777, 1351473831)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.72904396057129 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 06:15:32.794217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/02/49/image_11042025_02_49_14_10398.jpg', '/home/pi/Desktop/images/11042025/02/49/image_11042025_02_49_24_9478.jpg', '/home/pi/Desktop/images/11042025/02/49/image_11042025_02_49_34_10429.jpg', '/home/pi/Desktop/images/11042025/02/49/image_11042025_02_49_45_10463.jpg', '/home/pi/Desktop/images/11042025/02/49/image_11042025_02_49_54_9356.jpg', '/home/pi/Desktop/images/11042025/02/49/image_11042025_02_50_04_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/02/49/image_11042025_02_49_14_10398.jpg
/home/pi/Desktop/images/11042025/02/49/image_11042025_02_49_24_9478.jpg
/home/pi/Desktop/images/11042025/02/49/image_11042025_02_49_34_10429.jpg
/home/pi/Desktop/images/11042025/02/49/image_11042025_02_49_45_10463.jpg
/home/pi/Desktop/images/11042025/02/49/image_11042025_02_49_54_9356.jpg
/home/pi/Desktop/images/11042025/02/49/image_11042025_02_50_04_10367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351473896","1351473881","1351473898","1351473889","1351473885","1351473893"],"photo_ids_order":["1351473881","1351473885","1351473889","1351473893","1351473896","1351473898"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9654f45c98f44ee44f31001cd250a49d.jpg","text":"TemporaryFile(/tmp/multipartBody432295619214477443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344993265,"filename":"image_11042025_02_49_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/11/1f9b6c2c8b28a22c19cd53908920acdb.jpg","text":"TemporaryFile(/tmp/multipartBody3022338739776681328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344993265,"filename":"image_11042025_02_49_14_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/02c0b8a421ea88a6e88569caf25ac0dd.jpg","text":"TemporaryFile(/tmp/multipartBody8711743553475197977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344993265,"filename":"image_11042025_02_50_04_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/bbd256d80477a7cce47cf2a20fe922eb.jpg","text":"TemporaryFile(/tmp/multipartBody6389965662678981652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344993265,"filename":"image_11042025_02_49_34_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c31dcbde09acac77463e2d500e252cd8.jpg","text":"TemporaryFile(/tmp/multipartBody2469577828813718754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344993265,"filename":"image_11042025_02_49_24_9478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ba1b6a3305a7d8ca333d5b651fd53a1b.jpg","text":"TemporaryFile(/tmp/multipartBody2857853948373421140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744344993265,"filename":"image_11042025_02_49_45_10463.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351473889","file1":"1351473885","file0":"1351473881","file4":"1351473896","file5":"1351473898","file3":"1351473893"},"map_files_photo_id_array":[{"photo_id":"1351473898","filename":"file5"},{"photo_id":"1351473889","filename":"file2"},{"photo_id":"1351473896","filename":"file4"},{"photo_id":"1351473885","filename":"file1"},{"photo_id":"1351473881","filename":"file0"},{"photo_id":"1351473893","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351473896":["hashtag1","hashtag2"]},{"1351473881":["hashtag1","hashtag2"]},{"1351473898":["hashtag1","hashtag2"]},{"1351473889":["hashtag1","hashtag2"]},{"1351473885":["hashtag1","hashtag2"]},{"1351473893":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351473896, 1351473881, 1351473898, 1351473889, 1351473885, 1351473893)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.74580693244934 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 06:16:32.791374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/02/50/image_11042025_02_50_14_9397.jpg', '/home/pi/Desktop/images/11042025/02/50/image_11042025_02_50_24_10363.jpg', '/home/pi/Desktop/images/11042025/02/50/image_11042025_02_50_35_10375.jpg', '/home/pi/Desktop/images/11042025/02/50/image_11042025_02_50_54_10431.jpg', '/home/pi/Desktop/images/11042025/02/50/image_11042025_02_51_04_9377.jpg', '/home/pi/Desktop/images/11042025/02/51/image_11042025_02_51_14_10435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/02/50/image_11042025_02_50_14_9397.jpg
/home/pi/Desktop/images/11042025/02/50/image_11042025_02_50_24_10363.jpg
/home/pi/Desktop/images/11042025/02/50/image_11042025_02_50_35_10375.jpg
/home/pi/Desktop/images/11042025/02/50/image_11042025_02_50_54_10431.jpg
/home/pi/Desktop/images/11042025/02/50/image_11042025_02_51_04_9377.jpg
/home/pi/Desktop/images/11042025/02/51/image_11042025_02_51_14_10435.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3868751525878906 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 06:16:42.799946
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/02/50/image_11042025_02_50_14_9397.jpg', '/home/pi/Desktop/images/11042025/02/50/image_11042025_02_50_24_10363.jpg', '/home/pi/Desktop/images/11042025/02/50/image_11042025_02_50_35_10375.jpg', '/home/pi/Desktop/images/11042025/02/50/image_11042025_02_50_54_10431.jpg', '/home/pi/Desktop/images/11042025/02/50/image_11042025_02_51_04_9377.jpg', '/home/pi/Desktop/images/11042025/02/51/image_11042025_02_51_14_10435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/02/50/image_11042025_02_50_14_9397.jpg
/home/pi/Desktop/images/11042025/02/50/image_11042025_02_50_24_10363.jpg
/home/pi/Desktop/images/11042025/02/50/image_11042025_02_50_35_10375.jpg
/home/pi/Desktop/images/11042025/02/50/image_11042025_02_50_54_10431.jpg
/home/pi/Desktop/images/11042025/02/50/image_11042025_02_51_04_9377.jpg
/home/pi/Desktop/images/11042025/02/51/image_11042025_02_51_14_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":["1351473932","1351473952","1351473946","1351473948","1351473942","1351473936"],"photo_ids_order":["1351473932","1351473936","1351473942","1351473946","1351473948","1351473952"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3049ba984e760edca39138fdc1ce171b.jpg","text":"TemporaryFile(/tmp/multipartBody386782924359835101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345063272,"filename":"image_11042025_02_50_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/11/2bc2d9e74e952e1304af7d4c586ea603.jpg","text":"TemporaryFile(/tmp/multipartBody814414794034768530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345063272,"filename":"image_11042025_02_51_14_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/11/a1138d54e59e5d4cea3c42e567b8c88d.jpg","text":"TemporaryFile(/tmp/multipartBody5258778653935504015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345063272,"filename":"image_11042025_02_50_54_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/11/b5c874795d9ccd479f05aa537e0e7696.jpg","text":"TemporaryFile(/tmp/multipartBody175528575137150510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345063272,"filename":"image_11042025_02_51_04_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2288f494758891ba85893485c82e23be.jpg","text":"TemporaryFile(/tmp/multipartBody8673112511962112892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345063272,"filename":"image_11042025_02_50_35_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f0bb1740341f52e6b42b0580760bba43.jpg","text":"TemporaryFile(/tmp/multipartBody6008930392904367503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345063272,"filename":"image_11042025_02_50_24_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351473942","file1":"1351473936","file0":"1351473932","file4":"1351473948","file5":"1351473952","file3":"1351473946"},"map_files_photo_id_array":[{"photo_id":"1351473952","filename":"file5"},{"photo_id":"1351473942","filename":"file2"},{"photo_id":"1351473948","filename":"file4"},{"photo_id":"1351473936","filename":"file1"},{"photo_id":"1351473932","filename":"file0"},{"photo_id":"1351473946","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351473932":["hashtag1","hashtag2"]},{"1351473952":["hashtag1","hashtag2"]},{"1351473946":["hashtag1","hashtag2"]},{"1351473948":["hashtag1","hashtag2"]},{"1351473942":["hashtag1","hashtag2"]},{"1351473936":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351473932, 1351473952, 1351473946, 1351473948, 1351473942, 1351473936)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.72534465789795 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 06:17:33.176675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/02/51/image_11042025_02_51_25_10432.jpg', '/home/pi/Desktop/images/11042025/02/51/image_11042025_02_51_34_9344.jpg', '/home/pi/Desktop/images/11042025/02/51/image_11042025_02_51_44_10357.jpg', '/home/pi/Desktop/images/11042025/02/51/image_11042025_02_51_54_9393.jpg', '/home/pi/Desktop/images/11042025/02/51/image_11042025_02_52_04_10438.jpg', '/home/pi/Desktop/images/11042025/02/52/image_11042025_02_52_15_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/02/51/image_11042025_02_51_25_10432.jpg
/home/pi/Desktop/images/11042025/02/51/image_11042025_02_51_34_9344.jpg
/home/pi/Desktop/images/11042025/02/51/image_11042025_02_51_44_10357.jpg
/home/pi/Desktop/images/11042025/02/51/image_11042025_02_51_54_9393.jpg
/home/pi/Desktop/images/11042025/02/51/image_11042025_02_52_04_10438.jpg
/home/pi/Desktop/images/11042025/02/52/image_11042025_02_52_15_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":["1351473995","1351473983","1351474000","1351473990","1351474008","1351474005"],"photo_ids_order":["1351473983","1351473990","1351473995","1351474000","1351474005","1351474008"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b44ae71708d0017c51961ae4399b5895.jpg","text":"TemporaryFile(/tmp/multipartBody1645470241699619259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345113651,"filename":"image_11042025_02_51_44_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/739e297626d27f20a95f7b3dcaa8a326.jpg","text":"TemporaryFile(/tmp/multipartBody4787285570691979546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345113651,"filename":"image_11042025_02_51_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/11/8c530551b47d2637a59354a621960c74.jpg","text":"TemporaryFile(/tmp/multipartBody4733429848365376526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345113651,"filename":"image_11042025_02_51_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/11/87c5cbcbc1b185e61963435d684918b1.jpg","text":"TemporaryFile(/tmp/multipartBody5741780883601977758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345113651,"filename":"image_11042025_02_51_34_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/145973f9c53ecce018a5fc9de670d029.jpg","text":"TemporaryFile(/tmp/multipartBody3165394911698959187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345113651,"filename":"image_11042025_02_52_15_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/20773b65b235f2a01f23e3f36e0489b0.jpg","text":"TemporaryFile(/tmp/multipartBody8685912548618923117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345113651,"filename":"image_11042025_02_52_04_10438.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351473995","file1":"1351473990","file0":"1351473983","file4":"1351474005","file5":"1351474008","file3":"1351474000"},"map_files_photo_id_array":[{"photo_id":"1351474008","filename":"file5"},{"photo_id":"1351473995","filename":"file2"},{"photo_id":"1351474005","filename":"file4"},{"photo_id":"1351473990","filename":"file1"},{"photo_id":"1351473983","filename":"file0"},{"photo_id":"1351474000","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351473995":["hashtag1","hashtag2"]},{"1351473983":["hashtag1","hashtag2"]},{"1351474000":["hashtag1","hashtag2"]},{"1351473990":["hashtag1","hashtag2"]},{"1351474008":["hashtag1","hashtag2"]},{"1351474005":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351473995, 1351473983, 1351474000, 1351473990, 1351474008, 1351474005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.40977644920349 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 06:18:32.260196
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/02/52/image_11042025_02_52_24_9342.jpg', '/home/pi/Desktop/images/11042025/02/52/image_11042025_02_52_34_10403.jpg', '/home/pi/Desktop/images/11042025/02/52/image_11042025_02_52_45_10433.jpg', '/home/pi/Desktop/images/11042025/02/52/image_11042025_02_52_54_9350.jpg', '/home/pi/Desktop/images/11042025/02/52/image_11042025_02_53_05_10375.jpg', '/home/pi/Desktop/images/11042025/02/53/image_11042025_02_53_24_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/02/52/image_11042025_02_52_24_9342.jpg
/home/pi/Desktop/images/11042025/02/52/image_11042025_02_52_34_10403.jpg
/home/pi/Desktop/images/11042025/02/52/image_11042025_02_52_45_10433.jpg
/home/pi/Desktop/images/11042025/02/52/image_11042025_02_52_54_9350.jpg
/home/pi/Desktop/images/11042025/02/52/image_11042025_02_53_05_10375.jpg
/home/pi/Desktop/images/11042025/02/53/image_11042025_02_53_24_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":["1351474063","1351474086","1351474059","1351474140","1351474110","1351474067"],"photo_ids_order":["1351474059","1351474063","1351474067","1351474086","1351474110","1351474140"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e0d40bd27636dcfbcfa9cd086921ec54.jpg","text":"TemporaryFile(/tmp/multipartBody5831329755521016169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345172727,"filename":"image_11042025_02_52_34_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/11/b3b51a89070c4e88d4062458c5b42c68.jpg","text":"TemporaryFile(/tmp/multipartBody988234015941314911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345172727,"filename":"image_11042025_02_52_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/11/86e4cd4895fca4610b08be98e92542d7.jpg","text":"TemporaryFile(/tmp/multipartBody6044807665014289125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345172727,"filename":"image_11042025_02_52_24_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/dea407a817e1ed16102c6123b547ad51.jpg","text":"TemporaryFile(/tmp/multipartBody5772405917329095231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345172727,"filename":"image_11042025_02_53_24_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f52b0d4b118c7a2b6f097dc3acfdeae3.jpg","text":"TemporaryFile(/tmp/multipartBody3424150977711169479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345172727,"filename":"image_11042025_02_53_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/11/e346a3fb8fb610ade29e165a149094a3.jpg","text":"TemporaryFile(/tmp/multipartBody8358514946990374911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345172727,"filename":"image_11042025_02_52_45_10433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351474067","file1":"1351474063","file0":"1351474059","file4":"1351474110","file5":"1351474140","file3":"1351474086"},"map_files_photo_id_array":[{"photo_id":"1351474140","filename":"file5"},{"photo_id":"1351474067","filename":"file2"},{"photo_id":"1351474110","filename":"file4"},{"photo_id":"1351474063","filename":"file1"},{"photo_id":"1351474059","filename":"file0"},{"photo_id":"1351474086","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351474063":["hashtag1","hashtag2"]},{"1351474086":["hashtag1","hashtag2"]},{"1351474059":["hashtag1","hashtag2"]},{"1351474140":["hashtag1","hashtag2"]},{"1351474110":["hashtag1","hashtag2"]},{"1351474067":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351474063, 1351474086, 1351474059, 1351474140, 1351474110, 1351474067)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.85844659805298 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 06:19:32.484547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/02/53/image_11042025_02_53_35_10449.jpg', '/home/pi/Desktop/images/11042025/02/53/image_11042025_02_53_44_9362.jpg', '/home/pi/Desktop/images/11042025/02/53/image_11042025_02_53_55_10351.jpg', '/home/pi/Desktop/images/11042025/02/53/image_11042025_02_54_04_9410.jpg', '/home/pi/Desktop/images/11042025/02/54/image_11042025_02_54_14_10365.jpg', '/home/pi/Desktop/images/11042025/02/54/image_11042025_02_54_25_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/02/53/image_11042025_02_53_35_10449.jpg
/home/pi/Desktop/images/11042025/02/53/image_11042025_02_53_44_9362.jpg
/home/pi/Desktop/images/11042025/02/53/image_11042025_02_53_55_10351.jpg
/home/pi/Desktop/images/11042025/02/53/image_11042025_02_54_04_9410.jpg
/home/pi/Desktop/images/11042025/02/54/image_11042025_02_54_14_10365.jpg
/home/pi/Desktop/images/11042025/02/54/image_11042025_02_54_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":["1351474226","1351474273","1351474234","1351474216","1351474207","1351474212"],"photo_ids_order":["1351474207","1351474212","1351474216","1351474226","1351474234","1351474273"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ab33e87edc867450cbb62923a94b3133.jpg","text":"TemporaryFile(/tmp/multipartBody7862335568578257418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345232957,"filename":"image_11042025_02_54_04_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9ed824c3c90093ce72453f1e9486bf0d.jpg","text":"TemporaryFile(/tmp/multipartBody3524307203085180345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345232957,"filename":"image_11042025_02_54_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/11/6b46496053d070a947845f51d0b72990.jpg","text":"TemporaryFile(/tmp/multipartBody7379526423792526273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345232957,"filename":"image_11042025_02_54_14_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c8f82189a0327e57afc69b1a60df37c6.jpg","text":"TemporaryFile(/tmp/multipartBody3713390556499864875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345232957,"filename":"image_11042025_02_53_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/11/269e624eca346c281563beb9955a0842.jpg","text":"TemporaryFile(/tmp/multipartBody4320789137305635619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345232957,"filename":"image_11042025_02_53_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/11/2e1a078a96e58233eb2b40558815f550.jpg","text":"TemporaryFile(/tmp/multipartBody6744864211169733644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345232957,"filename":"image_11042025_02_53_44_9362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351474216","file1":"1351474212","file0":"1351474207","file4":"1351474234","file5":"1351474273","file3":"1351474226"},"map_files_photo_id_array":[{"photo_id":"1351474273","filename":"file5"},{"photo_id":"1351474216","filename":"file2"},{"photo_id":"1351474234","filename":"file4"},{"photo_id":"1351474212","filename":"file1"},{"photo_id":"1351474207","filename":"file0"},{"photo_id":"1351474226","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351474226":["hashtag1","hashtag2"]},{"1351474273":["hashtag1","hashtag2"]},{"1351474234":["hashtag1","hashtag2"]},{"1351474216":["hashtag1","hashtag2"]},{"1351474207":["hashtag1","hashtag2"]},{"1351474212":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351474226, 1351474273, 1351474234, 1351474216, 1351474207, 1351474212)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.897878885269165 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 06:20:32.708625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/02/54/image_11042025_02_54_34_9415.jpg', '/home/pi/Desktop/images/11042025/02/54/image_11042025_02_54_44_10354.jpg', '/home/pi/Desktop/images/11042025/02/54/image_11042025_02_54_54_9434.jpg', '/home/pi/Desktop/images/11042025/02/55/image_11042025_02_55_15_10402.jpg', '/home/pi/Desktop/images/11042025/02/55/image_11042025_02_55_24_9419.jpg', '/home/pi/Desktop/images/11042025/02/55/image_11042025_02_55_34_10429.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/02/54/image_11042025_02_54_34_9415.jpg
/home/pi/Desktop/images/11042025/02/54/image_11042025_02_54_44_10354.jpg
/home/pi/Desktop/images/11042025/02/54/image_11042025_02_54_54_9434.jpg
/home/pi/Desktop/images/11042025/02/55/image_11042025_02_55_15_10402.jpg
/home/pi/Desktop/images/11042025/02/55/image_11042025_02_55_24_9419.jpg
/home/pi/Desktop/images/11042025/02/55/image_11042025_02_55_34_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":["1351474415","1351474483","1351474438","1351474497","1351474516","1351474431"],"photo_ids_order":["1351474415","1351474431","1351474438","1351474483","1351474497","1351474516"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/751961bac50dfa53d104823dadde0d53.jpg","text":"TemporaryFile(/tmp/multipartBody4954804090432213484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345293181,"filename":"image_11042025_02_54_34_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1a3e3361c309027bb734a17571648aa2.jpg","text":"TemporaryFile(/tmp/multipartBody6381702945491773972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345293181,"filename":"image_11042025_02_55_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/11/3ac8313c1729471cd97dc3c7945d7e00.jpg","text":"TemporaryFile(/tmp/multipartBody6189731176038238231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345293181,"filename":"image_11042025_02_54_54_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/11/7db3fbd6c3c1faa9dd8464d81bd3d706.jpg","text":"TemporaryFile(/tmp/multipartBody8847038427684842615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345293181,"filename":"image_11042025_02_55_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/11/e5fa792ea7abbc5b5028f3d66ccf03cd.jpg","text":"TemporaryFile(/tmp/multipartBody2010813892928776146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345293181,"filename":"image_11042025_02_55_34_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3bc9ae2164aa20d1b108f4415858fbd0.jpg","text":"TemporaryFile(/tmp/multipartBody380855816993300911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345293181,"filename":"image_11042025_02_54_44_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351474438","file1":"1351474431","file0":"1351474415","file4":"1351474497","file5":"1351474516","file3":"1351474483"},"map_files_photo_id_array":[{"photo_id":"1351474516","filename":"file5"},{"photo_id":"1351474438","filename":"file2"},{"photo_id":"1351474497","filename":"file4"},{"photo_id":"1351474431","filename":"file1"},{"photo_id":"1351474415","filename":"file0"},{"photo_id":"1351474483","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351474415":["hashtag1","hashtag2"]},{"1351474483":["hashtag1","hashtag2"]},{"1351474438":["hashtag1","hashtag2"]},{"1351474497":["hashtag1","hashtag2"]},{"1351474516":["hashtag1","hashtag2"]},{"1351474431":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351474415, 1351474483, 1351474438, 1351474497, 1351474516, 1351474431)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.544143199920654 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 06:21:33.004555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/02/55/image_11042025_02_55_44_9467.jpg', '/home/pi/Desktop/images/11042025/02/55/image_11042025_02_55_54_10442.jpg', '/home/pi/Desktop/images/11042025/02/55/image_11042025_02_56_05_10434.jpg', '/home/pi/Desktop/images/11042025/02/56/image_11042025_02_56_14_9349.jpg', '/home/pi/Desktop/images/11042025/02/56/image_11042025_02_56_25_10392.jpg', '/home/pi/Desktop/images/11042025/02/56/image_11042025_02_56_34_9422.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/02/55/image_11042025_02_55_44_9467.jpg
/home/pi/Desktop/images/11042025/02/55/image_11042025_02_55_54_10442.jpg
/home/pi/Desktop/images/11042025/02/55/image_11042025_02_56_05_10434.jpg
/home/pi/Desktop/images/11042025/02/56/image_11042025_02_56_14_9349.jpg
/home/pi/Desktop/images/11042025/02/56/image_11042025_02_56_25_10392.jpg
/home/pi/Desktop/images/11042025/02/56/image_11042025_02_56_34_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":["1351474607","1351474597","1351474587","1351474602","1351474611","1351474592"],"photo_ids_order":["1351474587","1351474592","1351474597","1351474602","1351474607","1351474611"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5cff8c110c3c0857751047b5211a5593.jpg","text":"TemporaryFile(/tmp/multipartBody6249280737530180312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345353487,"filename":"image_11042025_02_56_25_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3e250a631070d38b6def63276869c82c.jpg","text":"TemporaryFile(/tmp/multipartBody9117635416856664968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345353487,"filename":"image_11042025_02_56_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/11/8c9a9f68a00383184cbb4a38f17a00e0.jpg","text":"TemporaryFile(/tmp/multipartBody5295492536805968688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345353487,"filename":"image_11042025_02_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/11/c98df36a86435e6d193decd31546e3c1.jpg","text":"TemporaryFile(/tmp/multipartBody2199346949265801121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345353487,"filename":"image_11042025_02_56_14_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e6d6235332ad7d77afcf5dee19b7b5f6.jpg","text":"TemporaryFile(/tmp/multipartBody4564800175101642920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345353487,"filename":"image_11042025_02_56_34_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a8f584c4491c2a9bda55e7662e8a4d5a.jpg","text":"TemporaryFile(/tmp/multipartBody5910752154611975802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345353487,"filename":"image_11042025_02_55_54_10442.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351474597","file1":"1351474592","file0":"1351474587","file4":"1351474607","file5":"1351474611","file3":"1351474602"},"map_files_photo_id_array":[{"photo_id":"1351474611","filename":"file5"},{"photo_id":"1351474597","filename":"file2"},{"photo_id":"1351474607","filename":"file4"},{"photo_id":"1351474592","filename":"file1"},{"photo_id":"1351474587","filename":"file0"},{"photo_id":"1351474602","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351474607":["hashtag1","hashtag2"]},{"1351474597":["hashtag1","hashtag2"]},{"1351474587":["hashtag1","hashtag2"]},{"1351474602":["hashtag1","hashtag2"]},{"1351474611":["hashtag1","hashtag2"]},{"1351474592":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351474607, 1351474597, 1351474587, 1351474602, 1351474611, 1351474592)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.51267385482788 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 06:22:32.157479
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/02/56/image_11042025_02_56_44_10363.jpg', '/home/pi/Desktop/images/11042025/02/56/image_11042025_02_56_55_10415.jpg', '/home/pi/Desktop/images/11042025/02/56/image_11042025_02_57_04_9372.jpg', '/home/pi/Desktop/images/11042025/02/57/image_11042025_02_57_14_10363.jpg', '/home/pi/Desktop/images/11042025/02/57/image_11042025_02_57_24_9375.jpg', '/home/pi/Desktop/images/11042025/02/57/image_11042025_02_57_34_10417.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/02/56/image_11042025_02_56_44_10363.jpg
/home/pi/Desktop/images/11042025/02/56/image_11042025_02_56_55_10415.jpg
/home/pi/Desktop/images/11042025/02/56/image_11042025_02_57_04_9372.jpg
/home/pi/Desktop/images/11042025/02/57/image_11042025_02_57_14_10363.jpg
/home/pi/Desktop/images/11042025/02/57/image_11042025_02_57_24_9375.jpg
/home/pi/Desktop/images/11042025/02/57/image_11042025_02_57_34_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":["1351474660","1351474729","1351474657","1351474642","1351474653","1351474662"],"photo_ids_order":["1351474642","1351474653","1351474657","1351474660","1351474662","1351474729"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/edd043b414a6c8033a7760a609f003a7.jpg","text":"TemporaryFile(/tmp/multipartBody22572837365299737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345412630,"filename":"image_11042025_02_57_14_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e2bcab32e39175c9f1866aa232d71cae.jpg","text":"TemporaryFile(/tmp/multipartBody142340686203041475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345412630,"filename":"image_11042025_02_57_34_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/539a73858258b01897c737291ab64bc4.jpg","text":"TemporaryFile(/tmp/multipartBody920043486409803505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345412630,"filename":"image_11042025_02_57_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/11/49c9ea2ff220c6c55991cd7f76b972a7.jpg","text":"TemporaryFile(/tmp/multipartBody345772850825799899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345412630,"filename":"image_11042025_02_56_44_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/280d8dd748193c5ba9d3635c46f48f93.jpg","text":"TemporaryFile(/tmp/multipartBody8562977004303021733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345412630,"filename":"image_11042025_02_56_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/11/38ebc1c888f78cf92fa5bac112ae9661.jpg","text":"TemporaryFile(/tmp/multipartBody5911314212371603400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345412630,"filename":"image_11042025_02_57_24_9375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351474657","file1":"1351474653","file0":"1351474642","file4":"1351474662","file5":"1351474729","file3":"1351474660"},"map_files_photo_id_array":[{"photo_id":"1351474729","filename":"file5"},{"photo_id":"1351474657","filename":"file2"},{"photo_id":"1351474662","filename":"file4"},{"photo_id":"1351474653","filename":"file1"},{"photo_id":"1351474642","filename":"file0"},{"photo_id":"1351474660","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351474660":["hashtag1","hashtag2"]},{"1351474729":["hashtag1","hashtag2"]},{"1351474657":["hashtag1","hashtag2"]},{"1351474642":["hashtag1","hashtag2"]},{"1351474653":["hashtag1","hashtag2"]},{"1351474662":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351474660, 1351474729, 1351474657, 1351474642, 1351474653, 1351474662)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.23901700973511 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 06:23:32.383961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/02/57/image_11042025_02_57_45_10496.jpg', '/home/pi/Desktop/images/11042025/02/57/image_11042025_02_57_54_9382.jpg', '/home/pi/Desktop/images/11042025/02/58/image_11042025_02_58_14_9466.jpg', '/home/pi/Desktop/images/11042025/02/58/image_11042025_02_58_35_10414.jpg', '/home/pi/Desktop/images/11042025/02/58/image_11042025_02_58_44_9399.jpg', '/home/pi/Desktop/images/11042025/02/58/image_11042025_02_59_04_9387.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/02/57/image_11042025_02_57_45_10496.jpg
/home/pi/Desktop/images/11042025/02/57/image_11042025_02_57_54_9382.jpg
/home/pi/Desktop/images/11042025/02/58/image_11042025_02_58_14_9466.jpg
/home/pi/Desktop/images/11042025/02/58/image_11042025_02_58_35_10414.jpg
/home/pi/Desktop/images/11042025/02/58/image_11042025_02_58_44_9399.jpg
/home/pi/Desktop/images/11042025/02/58/image_11042025_02_59_04_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":["1351474850","1351474876","1351474861","1351474878","1351474872","1351474845"],"photo_ids_order":["1351474845","1351474850","1351474861","1351474872","1351474876","1351474878"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/50118625ab727634dab8fcdca3915ecd.jpg","text":"TemporaryFile(/tmp/multipartBody2737225339174604680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345472870,"filename":"image_11042025_02_57_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/11/dcc912639737ae43b6c15f4e745701d2.jpg","text":"TemporaryFile(/tmp/multipartBody2546882976900921052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345472870,"filename":"image_11042025_02_58_44_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f91b44ee05b1e5b13faa8e6eaec85a75.jpg","text":"TemporaryFile(/tmp/multipartBody8665190821744591110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345472870,"filename":"image_11042025_02_58_14_9466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/38febbb83f3fa67a135006153468c932.jpg","text":"TemporaryFile(/tmp/multipartBody3063627999754746001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345472870,"filename":"image_11042025_02_59_04_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4b60ea6bc8f17929815503801d73b000.jpg","text":"TemporaryFile(/tmp/multipartBody3323878108828095407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345472870,"filename":"image_11042025_02_58_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/11/5255d5eeaeff246d71dfd9726c9591c0.jpg","text":"TemporaryFile(/tmp/multipartBody969738968891350529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345472870,"filename":"image_11042025_02_57_45_10496.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351474861","file1":"1351474850","file0":"1351474845","file4":"1351474876","file5":"1351474878","file3":"1351474872"},"map_files_photo_id_array":[{"photo_id":"1351474878","filename":"file5"},{"photo_id":"1351474861","filename":"file2"},{"photo_id":"1351474876","filename":"file4"},{"photo_id":"1351474850","filename":"file1"},{"photo_id":"1351474845","filename":"file0"},{"photo_id":"1351474872","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351474850":["hashtag1","hashtag2"]},{"1351474876":["hashtag1","hashtag2"]},{"1351474861":["hashtag1","hashtag2"]},{"1351474878":["hashtag1","hashtag2"]},{"1351474872":["hashtag1","hashtag2"]},{"1351474845":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351474850, 1351474876, 1351474861, 1351474878, 1351474872, 1351474845)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.60127282142639 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 06:24:32.655183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/02/59/image_11042025_02_59_14_10375.jpg', '/home/pi/Desktop/images/11042025/02/59/image_11042025_02_59_25_10489.jpg', '/home/pi/Desktop/images/11042025/02/59/image_11042025_02_59_34_9377.jpg', '/home/pi/Desktop/images/11042025/02/59/image_11042025_02_59_45_10379.jpg', '/home/pi/Desktop/images/11042025/02/59/image_11042025_02_59_54_9367.jpg', '/home/pi/Desktop/images/11042025/03/00/image_11042025_03_00_15_10080.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/02/59/image_11042025_02_59_14_10375.jpg
/home/pi/Desktop/images/11042025/02/59/image_11042025_02_59_25_10489.jpg
/home/pi/Desktop/images/11042025/02/59/image_11042025_02_59_34_9377.jpg
/home/pi/Desktop/images/11042025/02/59/image_11042025_02_59_45_10379.jpg
/home/pi/Desktop/images/11042025/02/59/image_11042025_02_59_54_9367.jpg
/home/pi/Desktop/images/11042025/03/00/image_11042025_03_00_15_10080.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351474925","1351474915","1351474911","1351474929","1351474920","1351474908"],"photo_ids_order":["1351474908","1351474911","1351474915","1351474920","1351474925","1351474929"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a9115362041b5ea024d0705e25d14d9f.jpg","text":"TemporaryFile(/tmp/multipartBody7019026555257554380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345533127,"filename":"image_11042025_02_59_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/11/06638c8ee9bd0295b8168e4b95a4e03e.jpg","text":"TemporaryFile(/tmp/multipartBody3925174613409510559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345533127,"filename":"image_11042025_02_59_34_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/88f8080a97db85f67540aa96acb66db8.jpg","text":"TemporaryFile(/tmp/multipartBody6262043473081020609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345533127,"filename":"image_11042025_02_59_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/11/3d46ab9f68f10cb0c0d8b105ad363c5e.jpg","text":"TemporaryFile(/tmp/multipartBody2251007780752711254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345533127,"filename":"image_11042025_03_00_15_10080.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e21f2cd77f596d0efaa1f79cd66df944.jpg","text":"TemporaryFile(/tmp/multipartBody4615341666517060646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345533127,"filename":"image_11042025_02_59_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/11/4a36c3e55e5926b1d11ddf6857339358.jpg","text":"TemporaryFile(/tmp/multipartBody3384699048785387359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345533127,"filename":"image_11042025_02_59_14_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351474915","file1":"1351474911","file0":"1351474908","file4":"1351474925","file5":"1351474929","file3":"1351474920"},"map_files_photo_id_array":[{"photo_id":"1351474929","filename":"file5"},{"photo_id":"1351474915","filename":"file2"},{"photo_id":"1351474925","filename":"file4"},{"photo_id":"1351474911","filename":"file1"},{"photo_id":"1351474908","filename":"file0"},{"photo_id":"1351474920","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351474925":["hashtag1","hashtag2"]},{"1351474915":["hashtag1","hashtag2"]},{"1351474911":["hashtag1","hashtag2"]},{"1351474929":["hashtag1","hashtag2"]},{"1351474920":["hashtag1","hashtag2"]},{"1351474908":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351474925, 1351474915, 1351474911, 1351474929, 1351474920, 1351474908)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.326539516448975 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 06:25:32.824598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/03/00/image_11042025_03_00_26_10463.jpg', '/home/pi/Desktop/images/11042025/03/00/image_11042025_03_00_36_10428.jpg', '/home/pi/Desktop/images/11042025/03/00/image_11042025_03_00_46_9395.jpg', '/home/pi/Desktop/images/11042025/03/00/image_11042025_03_00_56_10385.jpg', '/home/pi/Desktop/images/11042025/03/00/image_11042025_03_01_05_9371.jpg', '/home/pi/Desktop/images/11042025/03/01/image_11042025_03_01_26_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/03/00/image_11042025_03_00_26_10463.jpg
/home/pi/Desktop/images/11042025/03/00/image_11042025_03_00_36_10428.jpg
/home/pi/Desktop/images/11042025/03/00/image_11042025_03_00_46_9395.jpg
/home/pi/Desktop/images/11042025/03/00/image_11042025_03_00_56_10385.jpg
/home/pi/Desktop/images/11042025/03/00/image_11042025_03_01_05_9371.jpg
/home/pi/Desktop/images/11042025/03/01/image_11042025_03_01_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":["1351475068","1351475056","1351475073","1351475040","1351475019","1351475090"],"photo_ids_order":["1351475019","1351475040","1351475056","1351475068","1351475073","1351475090"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/25464da75d0338df692530d33472f8d9.jpg","text":"TemporaryFile(/tmp/multipartBody2637066595576365815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345593293,"filename":"image_11042025_03_00_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/11/a25dfac530de4e5e0d471535ec205b9f.jpg","text":"TemporaryFile(/tmp/multipartBody8922332693840292991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345593293,"filename":"image_11042025_03_00_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/11/1c7afcbc340f8384696c14a46112d78c.jpg","text":"TemporaryFile(/tmp/multipartBody2268851729509286972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345593293,"filename":"image_11042025_03_01_05_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b4698c9566ea686070cad2b86c082747.jpg","text":"TemporaryFile(/tmp/multipartBody172132706230890913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345593293,"filename":"image_11042025_03_00_36_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0b866fd16b3c0cfe1469207cc3d55867.jpg","text":"TemporaryFile(/tmp/multipartBody2773253809384702622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345593293,"filename":"image_11042025_03_00_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/11/cf7eb6f8d04628abf8324cf242cb55c3.jpg","text":"TemporaryFile(/tmp/multipartBody319575441707362327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345593293,"filename":"image_11042025_03_01_26_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351475056","file1":"1351475040","file0":"1351475019","file4":"1351475073","file5":"1351475090","file3":"1351475068"},"map_files_photo_id_array":[{"photo_id":"1351475090","filename":"file5"},{"photo_id":"1351475056","filename":"file2"},{"photo_id":"1351475073","filename":"file4"},{"photo_id":"1351475040","filename":"file1"},{"photo_id":"1351475019","filename":"file0"},{"photo_id":"1351475068","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351475068":["hashtag1","hashtag2"]},{"1351475056":["hashtag1","hashtag2"]},{"1351475073":["hashtag1","hashtag2"]},{"1351475040":["hashtag1","hashtag2"]},{"1351475019":["hashtag1","hashtag2"]},{"1351475090":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351475068, 1351475056, 1351475073, 1351475040, 1351475019, 1351475090)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.726237773895264 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 06:26:33.098377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/03/01/image_11042025_03_01_46_10432.jpg', '/home/pi/Desktop/images/11042025/03/01/image_11042025_03_01_55_9358.jpg', '/home/pi/Desktop/images/11042025/03/01/image_11042025_03_02_06_10383.jpg', '/home/pi/Desktop/images/11042025/03/02/image_11042025_03_02_16_10351.jpg', '/home/pi/Desktop/images/11042025/03/02/image_11042025_03_02_25_9372.jpg', '/home/pi/Desktop/images/11042025/03/02/image_11042025_03_02_36_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/03/01/image_11042025_03_01_46_10432.jpg
/home/pi/Desktop/images/11042025/03/01/image_11042025_03_01_55_9358.jpg
/home/pi/Desktop/images/11042025/03/01/image_11042025_03_02_06_10383.jpg
/home/pi/Desktop/images/11042025/03/02/image_11042025_03_02_16_10351.jpg
/home/pi/Desktop/images/11042025/03/02/image_11042025_03_02_25_9372.jpg
/home/pi/Desktop/images/11042025/03/02/image_11042025_03_02_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":["1351475204","1351475254","1351475218","1351475226","1351475246","1351475231"],"photo_ids_order":["1351475204","1351475218","1351475226","1351475231","1351475246","1351475254"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1e92a6117e887a4c6b97cb3e8d64697c.jpg","text":"TemporaryFile(/tmp/multipartBody2731053924760992187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345653628,"filename":"image_11042025_03_01_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/11/6e428a0d5f0217f918551702ebcc1980.jpg","text":"TemporaryFile(/tmp/multipartBody3123246763172329913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345653628,"filename":"image_11042025_03_02_36_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/525b719539fd84188056591337e31295.jpg","text":"TemporaryFile(/tmp/multipartBody6512116424119222619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345653628,"filename":"image_11042025_03_01_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/11/b06a088404e2866eb589463a0078ec6d.jpg","text":"TemporaryFile(/tmp/multipartBody1218678410580412820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345653628,"filename":"image_11042025_03_02_06_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3373451fa7435f72f9f4707a57d2f20b.jpg","text":"TemporaryFile(/tmp/multipartBody7872130212131128521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345653628,"filename":"image_11042025_03_02_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/11/5fcca7016c8805172baaa3f1c4cd347b.jpg","text":"TemporaryFile(/tmp/multipartBody2103735888487074551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345653628,"filename":"image_11042025_03_02_16_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351475226","file1":"1351475218","file0":"1351475204","file4":"1351475246","file5":"1351475254","file3":"1351475231"},"map_files_photo_id_array":[{"photo_id":"1351475254","filename":"file5"},{"photo_id":"1351475226","filename":"file2"},{"photo_id":"1351475246","filename":"file4"},{"photo_id":"1351475218","filename":"file1"},{"photo_id":"1351475204","filename":"file0"},{"photo_id":"1351475231","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351475204":["hashtag1","hashtag2"]},{"1351475254":["hashtag1","hashtag2"]},{"1351475218":["hashtag1","hashtag2"]},{"1351475226":["hashtag1","hashtag2"]},{"1351475246":["hashtag1","hashtag2"]},{"1351475231":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351475204, 1351475254, 1351475218, 1351475226, 1351475246, 1351475231)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.547691345214844 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 06:27:32.191109
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/03/02/image_11042025_03_02_56_9368.jpg', '/home/pi/Desktop/images/11042025/03/02/image_11042025_03_03_06_10472.jpg', '/home/pi/Desktop/images/11042025/03/03/image_11042025_03_03_15_9386.jpg', '/home/pi/Desktop/images/11042025/03/03/image_11042025_03_04_06_9418.jpg', '/home/pi/Desktop/images/11042025/03/04/image_11042025_03_04_16_10367.jpg', '/home/pi/Desktop/images/11042025/03/04/image_11042025_03_04_36_10446.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/03/02/image_11042025_03_02_56_9368.jpg
/home/pi/Desktop/images/11042025/03/02/image_11042025_03_03_06_10472.jpg
/home/pi/Desktop/images/11042025/03/03/image_11042025_03_03_15_9386.jpg
/home/pi/Desktop/images/11042025/03/03/image_11042025_03_04_06_9418.jpg
/home/pi/Desktop/images/11042025/03/04/image_11042025_03_04_16_10367.jpg
/home/pi/Desktop/images/11042025/03/04/image_11042025_03_04_36_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":["1351475350","1351475338","1351475370","1351475346","1351475355","1351475342"],"photo_ids_order":["1351475338","1351475342","1351475346","1351475350","1351475355","1351475370"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8928b140f0c55b63b443d7196fd9ca6a.jpg","text":"TemporaryFile(/tmp/multipartBody6950365683037129114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345712673,"filename":"image_11042025_03_04_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/11/3a43227329e7ce6656f88891788539ab.jpg","text":"TemporaryFile(/tmp/multipartBody1415152943610053838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345712673,"filename":"image_11042025_03_02_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/11/6cb94f6bd46c4cba63b3c7bd8d593fb3.jpg","text":"TemporaryFile(/tmp/multipartBody7021518985287017356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345712673,"filename":"image_11042025_03_04_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/11/48d4a6e48e98a7bc58a3179dcdc7af01.jpg","text":"TemporaryFile(/tmp/multipartBody5074094123657651879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345712673,"filename":"image_11042025_03_03_15_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6290d3225589f3b268df1dd6740a7a1f.jpg","text":"TemporaryFile(/tmp/multipartBody5812254084827062075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345712673,"filename":"image_11042025_03_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/11/e181468730ffce0f001135e404e195cf.jpg","text":"TemporaryFile(/tmp/multipartBody4735392108432678881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345712673,"filename":"image_11042025_03_03_06_10472.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351475346","file1":"1351475342","file0":"1351475338","file4":"1351475355","file5":"1351475370","file3":"1351475350"},"map_files_photo_id_array":[{"photo_id":"1351475370","filename":"file5"},{"photo_id":"1351475346","filename":"file2"},{"photo_id":"1351475355","filename":"file4"},{"photo_id":"1351475342","filename":"file1"},{"photo_id":"1351475338","filename":"file0"},{"photo_id":"1351475350","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351475350":["hashtag1","hashtag2"]},{"1351475338":["hashtag1","hashtag2"]},{"1351475370":["hashtag1","hashtag2"]},{"1351475346":["hashtag1","hashtag2"]},{"1351475355":["hashtag1","hashtag2"]},{"1351475342":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351475350, 1351475338, 1351475370, 1351475346, 1351475355, 1351475342)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.04003429412842 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 06:28:32.453650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/03/04/image_11042025_03_04_46_10380.jpg', '/home/pi/Desktop/images/11042025/03/04/image_11042025_03_04_56_9371.jpg', '/home/pi/Desktop/images/11042025/03/05/image_11042025_03_05_16_10370.jpg', '/home/pi/Desktop/images/11042025/03/05/image_11042025_03_05_26_9354.jpg', '/home/pi/Desktop/images/11042025/03/05/image_11042025_03_05_36_10354.jpg', '/home/pi/Desktop/images/11042025/03/05/image_11042025_03_05_45_9431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/03/04/image_11042025_03_04_46_10380.jpg
/home/pi/Desktop/images/11042025/03/04/image_11042025_03_04_56_9371.jpg
/home/pi/Desktop/images/11042025/03/05/image_11042025_03_05_16_10370.jpg
/home/pi/Desktop/images/11042025/03/05/image_11042025_03_05_26_9354.jpg
/home/pi/Desktop/images/11042025/03/05/image_11042025_03_05_36_10354.jpg
/home/pi/Desktop/images/11042025/03/05/image_11042025_03_05_45_9431.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351475443","1351475445","1351475415","1351475439","1351475430","1351475408"],"photo_ids_order":["1351475408","1351475415","1351475430","1351475439","1351475443","1351475445"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1e5a10598fdbd0191d4f6d7009c85fb0.jpg","text":"TemporaryFile(/tmp/multipartBody2517078928725718460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345772939,"filename":"image_11042025_03_05_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/11/eec0346802c9e1be11e8dcd6391ece89.jpg","text":"TemporaryFile(/tmp/multipartBody4003077426718138603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345772939,"filename":"image_11042025_03_05_45_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b3f45ae75931aca2df2a24917b30f40b.jpg","text":"TemporaryFile(/tmp/multipartBody3873871317215713601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345772939,"filename":"image_11042025_03_04_56_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5f2aae941821c5ae75e80bfdba0a281a.jpg","text":"TemporaryFile(/tmp/multipartBody4656591501220454725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345772939,"filename":"image_11042025_03_05_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/11/b0247947b5246f3f15b81364e3674c78.jpg","text":"TemporaryFile(/tmp/multipartBody4290551082937438491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345772939,"filename":"image_11042025_03_05_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/11/ab7a5fbceed33ad74fb8b239da317625.jpg","text":"TemporaryFile(/tmp/multipartBody3138857784014881568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345772939,"filename":"image_11042025_03_04_46_10380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351475430","file1":"1351475415","file0":"1351475408","file4":"1351475443","file5":"1351475445","file3":"1351475439"},"map_files_photo_id_array":[{"photo_id":"1351475445","filename":"file5"},{"photo_id":"1351475430","filename":"file2"},{"photo_id":"1351475443","filename":"file4"},{"photo_id":"1351475415","filename":"file1"},{"photo_id":"1351475408","filename":"file0"},{"photo_id":"1351475439","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351475443":["hashtag1","hashtag2"]},{"1351475445":["hashtag1","hashtag2"]},{"1351475415":["hashtag1","hashtag2"]},{"1351475439":["hashtag1","hashtag2"]},{"1351475430":["hashtag1","hashtag2"]},{"1351475408":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351475443, 1351475445, 1351475415, 1351475439, 1351475430, 1351475408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.4108304977417 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 06:29:32.688184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/03/05/image_11042025_03_05_56_10436.jpg', '/home/pi/Desktop/images/11042025/03/05/image_11042025_03_06_06_10381.jpg', '/home/pi/Desktop/images/11042025/03/06/image_11042025_03_06_16_9371.jpg', '/home/pi/Desktop/images/11042025/03/06/image_11042025_03_06_26_10418.jpg', '/home/pi/Desktop/images/11042025/03/06/image_11042025_03_06_35_9349.jpg', '/home/pi/Desktop/images/11042025/03/06/image_11042025_03_06_46_10450.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/03/05/image_11042025_03_05_56_10436.jpg
/home/pi/Desktop/images/11042025/03/05/image_11042025_03_06_06_10381.jpg
/home/pi/Desktop/images/11042025/03/06/image_11042025_03_06_16_9371.jpg
/home/pi/Desktop/images/11042025/03/06/image_11042025_03_06_26_10418.jpg
/home/pi/Desktop/images/11042025/03/06/image_11042025_03_06_35_9349.jpg
/home/pi/Desktop/images/11042025/03/06/image_11042025_03_06_46_10450.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351475665","1351476348","1351475994","1351475870","1351476128","1351476247"],"photo_ids_order":["1351475665","1351475870","1351475994","1351476128","1351476247","1351476348"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/bba5e9122d02e4b4d3ab1eb6fdb77fbb.jpg","text":"TemporaryFile(/tmp/multipartBody4946309442573685208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345833174,"filename":"image_11042025_03_05_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/11/ea90c27e9954adb957042de915c30ed3.jpg","text":"TemporaryFile(/tmp/multipartBody6705560839388266063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345833174,"filename":"image_11042025_03_06_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/11/24275ff6917d182573053f2fc6d65bea.jpg","text":"TemporaryFile(/tmp/multipartBody6965005586249695292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345833174,"filename":"image_11042025_03_06_16_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/89ce2470ced623f425fe9923fb4ba514.jpg","text":"TemporaryFile(/tmp/multipartBody4243700670789432619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345833174,"filename":"image_11042025_03_06_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/11/235775e1defdeefb2d0a70e2ddf7b0df.jpg","text":"TemporaryFile(/tmp/multipartBody2818845724206316501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345833174,"filename":"image_11042025_03_06_26_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/fa49e26375be328ec208017f4ec45320.jpg","text":"TemporaryFile(/tmp/multipartBody8559700089740240291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345833174,"filename":"image_11042025_03_06_35_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351475994","file1":"1351475870","file0":"1351475665","file4":"1351476247","file5":"1351476348","file3":"1351476128"},"map_files_photo_id_array":[{"photo_id":"1351476348","filename":"file5"},{"photo_id":"1351475994","filename":"file2"},{"photo_id":"1351476247","filename":"file4"},{"photo_id":"1351475870","filename":"file1"},{"photo_id":"1351475665","filename":"file0"},{"photo_id":"1351476128","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351475665":["hashtag1","hashtag2"]},{"1351476348":["hashtag1","hashtag2"]},{"1351475994":["hashtag1","hashtag2"]},{"1351475870":["hashtag1","hashtag2"]},{"1351476128":["hashtag1","hashtag2"]},{"1351476247":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351475665, 1351476348, 1351475994, 1351475870, 1351476128, 1351476247)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.83914542198181 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 06:30:32.981361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/03/06/image_11042025_03_06_56_10398.jpg', '/home/pi/Desktop/images/11042025/03/06/image_11042025_03_07_06_9498.jpg', '/home/pi/Desktop/images/11042025/03/07/image_11042025_03_07_16_10389.jpg', '/home/pi/Desktop/images/11042025/03/07/image_11042025_03_07_26_9439.jpg', '/home/pi/Desktop/images/11042025/03/07/image_11042025_03_07_36_10435.jpg', '/home/pi/Desktop/images/11042025/03/07/image_11042025_03_07_56_10413.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/03/06/image_11042025_03_06_56_10398.jpg
/home/pi/Desktop/images/11042025/03/06/image_11042025_03_07_06_9498.jpg
/home/pi/Desktop/images/11042025/03/07/image_11042025_03_07_16_10389.jpg
/home/pi/Desktop/images/11042025/03/07/image_11042025_03_07_26_9439.jpg
/home/pi/Desktop/images/11042025/03/07/image_11042025_03_07_36_10435.jpg
/home/pi/Desktop/images/11042025/03/07/image_11042025_03_07_56_10413.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351476706","1351476634","1351476681","1351476669","1351476648","1351476685"],"photo_ids_order":["1351476634","1351476648","1351476669","1351476681","1351476685","1351476706"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/281d9321c2e2138f44a9e25bae61ec1f.jpg","text":"TemporaryFile(/tmp/multipartBody2446522845763783176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345893453,"filename":"image_11042025_03_07_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/11/a294fb06e2f13a86eeba743790eb56be.jpg","text":"TemporaryFile(/tmp/multipartBody4502205145393660209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345893453,"filename":"image_11042025_03_06_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/11/9d70765269acecd3def87dfb942e71c0.jpg","text":"TemporaryFile(/tmp/multipartBody3143865409153858381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345893453,"filename":"image_11042025_03_07_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/11/d72900475a1992cf878b370caa9cb609.jpg","text":"TemporaryFile(/tmp/multipartBody2202679933250521086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345893453,"filename":"image_11042025_03_07_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/11/5fb25a553c0e9286b570122303a9b6fc.jpg","text":"TemporaryFile(/tmp/multipartBody3484569217083814466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345893453,"filename":"image_11042025_03_07_06_9498.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/345e7fd21ba557f4c6c891e593ceca9f.jpg","text":"TemporaryFile(/tmp/multipartBody8699226954968304003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345893453,"filename":"image_11042025_03_07_36_10435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351476669","file1":"1351476648","file0":"1351476634","file4":"1351476685","file5":"1351476706","file3":"1351476681"},"map_files_photo_id_array":[{"photo_id":"1351476706","filename":"file5"},{"photo_id":"1351476669","filename":"file2"},{"photo_id":"1351476685","filename":"file4"},{"photo_id":"1351476648","filename":"file1"},{"photo_id":"1351476634","filename":"file0"},{"photo_id":"1351476681","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351476706":["hashtag1","hashtag2"]},{"1351476634":["hashtag1","hashtag2"]},{"1351476681":["hashtag1","hashtag2"]},{"1351476669":["hashtag1","hashtag2"]},{"1351476648":["hashtag1","hashtag2"]},{"1351476685":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351476706, 1351476634, 1351476681, 1351476669, 1351476648, 1351476685)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.21663999557495 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 06:31:32.201212
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/03/07/image_11042025_03_08_06_10400.jpg', '/home/pi/Desktop/images/11042025/03/08/image_11042025_03_08_35_9356.jpg', '/home/pi/Desktop/images/11042025/03/08/image_11042025_03_08_55_9504.jpg', '/home/pi/Desktop/images/11042025/03/08/image_11042025_03_09_06_10455.jpg', '/home/pi/Desktop/images/11042025/03/09/image_11042025_03_09_16_10355.jpg', '/home/pi/Desktop/images/11042025/03/09/image_11042025_03_09_36_10481.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/03/07/image_11042025_03_08_06_10400.jpg
/home/pi/Desktop/images/11042025/03/08/image_11042025_03_08_35_9356.jpg
/home/pi/Desktop/images/11042025/03/08/image_11042025_03_08_55_9504.jpg
/home/pi/Desktop/images/11042025/03/08/image_11042025_03_09_06_10455.jpg
/home/pi/Desktop/images/11042025/03/09/image_11042025_03_09_16_10355.jpg
/home/pi/Desktop/images/11042025/03/09/image_11042025_03_09_36_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":["1351476748","1351476761","1351476731","1351476725","1351476755","1351476790"],"photo_ids_order":["1351476725","1351476731","1351476748","1351476755","1351476761","1351476790"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7e160f1f106e908506818c8304ab1c27.jpg","text":"TemporaryFile(/tmp/multipartBody5241998517105133824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345952674,"filename":"image_11042025_03_08_55_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/11/dbac46865e7edb41ac3eb78dd477d268.jpg","text":"TemporaryFile(/tmp/multipartBody3726574230414932448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345952674,"filename":"image_11042025_03_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/11/e8bcfc92805f21a98b431cadd6d64cd5.jpg","text":"TemporaryFile(/tmp/multipartBody3108819122688367092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345952674,"filename":"image_11042025_03_08_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/11/2b83386ff1dbd332fd4618f3f3164bc9.jpg","text":"TemporaryFile(/tmp/multipartBody7472912062084121925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345952674,"filename":"image_11042025_03_08_06_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a3df131d130ed5ce533ebce9ed15d7de.jpg","text":"TemporaryFile(/tmp/multipartBody2937573723112467663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345952674,"filename":"image_11042025_03_09_06_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/11/340cbab7213ac7109192d7b408d75a01.jpg","text":"TemporaryFile(/tmp/multipartBody4869350536531273581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744345952674,"filename":"image_11042025_03_09_36_10481.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351476748","file1":"1351476731","file0":"1351476725","file4":"1351476761","file5":"1351476790","file3":"1351476755"},"map_files_photo_id_array":[{"photo_id":"1351476790","filename":"file5"},{"photo_id":"1351476748","filename":"file2"},{"photo_id":"1351476761","filename":"file4"},{"photo_id":"1351476731","filename":"file1"},{"photo_id":"1351476725","filename":"file0"},{"photo_id":"1351476755","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351476748":["hashtag1","hashtag2"]},{"1351476761":["hashtag1","hashtag2"]},{"1351476731":["hashtag1","hashtag2"]},{"1351476725":["hashtag1","hashtag2"]},{"1351476755":["hashtag1","hashtag2"]},{"1351476790":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351476748, 1351476761, 1351476731, 1351476725, 1351476755, 1351476790)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.55070614814758 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 06:32:32.459181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/03/10/image_11042025_03_10_26_10446.jpg', '/home/pi/Desktop/images/11042025/03/10/image_11042025_03_10_36_9407.jpg', '/home/pi/Desktop/images/11042025/03/11/image_11042025_03_11_56_10389.jpg', '/home/pi/Desktop/images/11042025/03/11/image_11042025_03_12_06_10392.jpg', '/home/pi/Desktop/images/11042025/03/12/image_11042025_03_12_16_9354.jpg', '/home/pi/Desktop/images/11042025/03/12/image_11042025_03_12_26_10453.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/03/10/image_11042025_03_10_26_10446.jpg
/home/pi/Desktop/images/11042025/03/10/image_11042025_03_10_36_9407.jpg
/home/pi/Desktop/images/11042025/03/11/image_11042025_03_11_56_10389.jpg
/home/pi/Desktop/images/11042025/03/11/image_11042025_03_12_06_10392.jpg
/home/pi/Desktop/images/11042025/03/12/image_11042025_03_12_16_9354.jpg
/home/pi/Desktop/images/11042025/03/12/image_11042025_03_12_26_10453.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3830544948577881 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 06:32:42.468122
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/03/10/image_11042025_03_10_26_10446.jpg', '/home/pi/Desktop/images/11042025/03/10/image_11042025_03_10_36_9407.jpg', '/home/pi/Desktop/images/11042025/03/11/image_11042025_03_11_56_10389.jpg', '/home/pi/Desktop/images/11042025/03/11/image_11042025_03_12_06_10392.jpg', '/home/pi/Desktop/images/11042025/03/12/image_11042025_03_12_16_9354.jpg', '/home/pi/Desktop/images/11042025/03/12/image_11042025_03_12_26_10453.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/03/10/image_11042025_03_10_26_10446.jpg
/home/pi/Desktop/images/11042025/03/10/image_11042025_03_10_36_9407.jpg
/home/pi/Desktop/images/11042025/03/11/image_11042025_03_11_56_10389.jpg
/home/pi/Desktop/images/11042025/03/11/image_11042025_03_12_06_10392.jpg
/home/pi/Desktop/images/11042025/03/12/image_11042025_03_12_16_9354.jpg
/home/pi/Desktop/images/11042025/03/12/image_11042025_03_12_26_10453.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351476891","1351476879","1351476869","1351476857","1351476886","1351476853"],"photo_ids_order":["1351476853","1351476857","1351476869","1351476879","1351476886","1351476891"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6da6bc2123fe675d5a4bed6d2dcf8684.jpg","text":"TemporaryFile(/tmp/multipartBody2860647809232479505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346022939,"filename":"image_11042025_03_12_26_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/fd83df4085556978709aa223db6065c8.jpg","text":"TemporaryFile(/tmp/multipartBody8790083793289089241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346022939,"filename":"image_11042025_03_12_06_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9aa5b599d1d892df966948e69d6d21d0.jpg","text":"TemporaryFile(/tmp/multipartBody2355810589844702462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346022939,"filename":"image_11042025_03_11_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/11/6c206939bf253b395307bf1d748c3b4c.jpg","text":"TemporaryFile(/tmp/multipartBody8031433592068667623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346022939,"filename":"image_11042025_03_10_36_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5084584c917b4b413ecd7ff7e723cf93.jpg","text":"TemporaryFile(/tmp/multipartBody6385441931764290394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346022939,"filename":"image_11042025_03_12_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/11/87efc705970ec0eaba90773592b4b289.jpg","text":"TemporaryFile(/tmp/multipartBody3176858333279552400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346022939,"filename":"image_11042025_03_10_26_10446.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351476869","file1":"1351476857","file0":"1351476853","file4":"1351476886","file5":"1351476891","file3":"1351476879"},"map_files_photo_id_array":[{"photo_id":"1351476891","filename":"file5"},{"photo_id":"1351476869","filename":"file2"},{"photo_id":"1351476886","filename":"file4"},{"photo_id":"1351476857","filename":"file1"},{"photo_id":"1351476853","filename":"file0"},{"photo_id":"1351476879","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351476891":["hashtag1","hashtag2"]},{"1351476879":["hashtag1","hashtag2"]},{"1351476869":["hashtag1","hashtag2"]},{"1351476857":["hashtag1","hashtag2"]},{"1351476886":["hashtag1","hashtag2"]},{"1351476853":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351476891, 1351476879, 1351476869, 1351476857, 1351476886, 1351476853)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.78748440742493 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 06:33:32.732118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/03/13/image_11042025_03_13_46_10454.jpg', '/home/pi/Desktop/images/11042025/03/15/image_11042025_03_15_16_10475.jpg', '/home/pi/Desktop/images/11042025/03/15/image_11042025_03_15_26_10361.jpg', '/home/pi/Desktop/images/11042025/03/15/image_11042025_03_15_46_10369.jpg', '/home/pi/Desktop/images/11042025/03/15/image_11042025_03_15_55_9369.jpg', '/home/pi/Desktop/images/11042025/03/16/image_11042025_03_16_16_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/03/13/image_11042025_03_13_46_10454.jpg
/home/pi/Desktop/images/11042025/03/15/image_11042025_03_15_16_10475.jpg
/home/pi/Desktop/images/11042025/03/15/image_11042025_03_15_26_10361.jpg
/home/pi/Desktop/images/11042025/03/15/image_11042025_03_15_46_10369.jpg
/home/pi/Desktop/images/11042025/03/15/image_11042025_03_15_55_9369.jpg
/home/pi/Desktop/images/11042025/03/16/image_11042025_03_16_16_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.3909797668457031 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 06:33:42.728326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/03/13/image_11042025_03_13_46_10454.jpg', '/home/pi/Desktop/images/11042025/03/15/image_11042025_03_15_16_10475.jpg', '/home/pi/Desktop/images/11042025/03/15/image_11042025_03_15_26_10361.jpg', '/home/pi/Desktop/images/11042025/03/15/image_11042025_03_15_46_10369.jpg', '/home/pi/Desktop/images/11042025/03/15/image_11042025_03_15_55_9369.jpg', '/home/pi/Desktop/images/11042025/03/16/image_11042025_03_16_16_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/03/13/image_11042025_03_13_46_10454.jpg
/home/pi/Desktop/images/11042025/03/15/image_11042025_03_15_16_10475.jpg
/home/pi/Desktop/images/11042025/03/15/image_11042025_03_15_26_10361.jpg
/home/pi/Desktop/images/11042025/03/15/image_11042025_03_15_46_10369.jpg
/home/pi/Desktop/images/11042025/03/15/image_11042025_03_15_55_9369.jpg
/home/pi/Desktop/images/11042025/03/16/image_11042025_03_16_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":["1351477080","1351477083","1351477035","1351477079","1351477051","1351477042"],"photo_ids_order":["1351477035","1351477042","1351477051","1351477079","1351477080","1351477083"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/93277c50b5feb12c9a4ae8ccd13aa138.jpg","text":"TemporaryFile(/tmp/multipartBody7559815339828187973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346083196,"filename":"image_11042025_03_15_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/11/bfda915e2cf225aec608bf471cbe0053.jpg","text":"TemporaryFile(/tmp/multipartBody1198391069698558364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346083196,"filename":"image_11042025_03_16_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/11/46dd9a6ae68a50ddb9f8fb0035d735e8.jpg","text":"TemporaryFile(/tmp/multipartBody6440288537373902212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346083196,"filename":"image_11042025_03_13_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/11/dce1060f34d84d09ce23ab746cdbb776.jpg","text":"TemporaryFile(/tmp/multipartBody7208911143839883877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346083196,"filename":"image_11042025_03_15_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/11/67f3bcdc475efdb6e7f27fbefb006afe.jpg","text":"TemporaryFile(/tmp/multipartBody1550891188750629000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346083196,"filename":"image_11042025_03_15_26_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/be5fce21058edfd3c178e513fb3de861.jpg","text":"TemporaryFile(/tmp/multipartBody270813313607650355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346083196,"filename":"image_11042025_03_15_16_10475.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351477051","file1":"1351477042","file0":"1351477035","file4":"1351477080","file5":"1351477083","file3":"1351477079"},"map_files_photo_id_array":[{"photo_id":"1351477083","filename":"file5"},{"photo_id":"1351477051","filename":"file2"},{"photo_id":"1351477080","filename":"file4"},{"photo_id":"1351477042","filename":"file1"},{"photo_id":"1351477035","filename":"file0"},{"photo_id":"1351477079","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351477080":["hashtag1","hashtag2"]},{"1351477083":["hashtag1","hashtag2"]},{"1351477035":["hashtag1","hashtag2"]},{"1351477079":["hashtag1","hashtag2"]},{"1351477051":["hashtag1","hashtag2"]},{"1351477042":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351477080, 1351477083, 1351477035, 1351477079, 1351477051, 1351477042)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.8355770111084 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 06:34:33.056458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/03/16/image_11042025_03_16_26_9380.jpg', '/home/pi/Desktop/images/11042025/03/16/image_11042025_03_16_36_10428.jpg', '/home/pi/Desktop/images/11042025/03/16/image_11042025_03_16_45_9401.jpg', '/home/pi/Desktop/images/11042025/03/16/image_11042025_03_16_56_10454.jpg', '/home/pi/Desktop/images/11042025/03/16/image_11042025_03_17_06_10365.jpg', '/home/pi/Desktop/images/11042025/03/17/image_11042025_03_17_26_10409.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/03/16/image_11042025_03_16_26_9380.jpg
/home/pi/Desktop/images/11042025/03/16/image_11042025_03_16_36_10428.jpg
/home/pi/Desktop/images/11042025/03/16/image_11042025_03_16_45_9401.jpg
/home/pi/Desktop/images/11042025/03/16/image_11042025_03_16_56_10454.jpg
/home/pi/Desktop/images/11042025/03/16/image_11042025_03_17_06_10365.jpg
/home/pi/Desktop/images/11042025/03/17/image_11042025_03_17_26_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":["1351477161","1351477167","1351477187","1351477171","1351477165","1351477141"],"photo_ids_order":["1351477141","1351477161","1351477165","1351477167","1351477171","1351477187"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ea0e1af7b099dbddf04230c99f7458b3.jpg","text":"TemporaryFile(/tmp/multipartBody1517951002155493299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346133527,"filename":"image_11042025_03_16_36_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d8d352308dcadb0a7a96d96c538ee93e.jpg","text":"TemporaryFile(/tmp/multipartBody4781121431845242033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346133527,"filename":"image_11042025_03_16_56_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/18f0ec5456e94e3696c6d91ab33d530c.jpg","text":"TemporaryFile(/tmp/multipartBody7849344288095368747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346133527,"filename":"image_11042025_03_17_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/11/a68dc5e70d3b0bd9679d59842572f49e.jpg","text":"TemporaryFile(/tmp/multipartBody8115418159455494612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346133527,"filename":"image_11042025_03_17_06_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1929910ae2be93d2c20e0f61e7744567.jpg","text":"TemporaryFile(/tmp/multipartBody7118254458754693054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346133527,"filename":"image_11042025_03_16_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/11/c92334017cf89a7db40cbf874e215162.jpg","text":"TemporaryFile(/tmp/multipartBody5620445708743321198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346133527,"filename":"image_11042025_03_16_26_9380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351477165","file1":"1351477161","file0":"1351477141","file4":"1351477171","file5":"1351477187","file3":"1351477167"},"map_files_photo_id_array":[{"photo_id":"1351477187","filename":"file5"},{"photo_id":"1351477165","filename":"file2"},{"photo_id":"1351477171","filename":"file4"},{"photo_id":"1351477161","filename":"file1"},{"photo_id":"1351477141","filename":"file0"},{"photo_id":"1351477167","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351477161":["hashtag1","hashtag2"]},{"1351477167":["hashtag1","hashtag2"]},{"1351477187":["hashtag1","hashtag2"]},{"1351477171":["hashtag1","hashtag2"]},{"1351477165":["hashtag1","hashtag2"]},{"1351477141":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351477161, 1351477167, 1351477187, 1351477171, 1351477165, 1351477141)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.100247859954834 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 06:35:32.419615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/03/17/image_11042025_03_17_35_9363.jpg', '/home/pi/Desktop/images/11042025/03/17/image_11042025_03_17_46_10410.jpg', '/home/pi/Desktop/images/11042025/03/17/image_11042025_03_17_56_10388.jpg', '/home/pi/Desktop/images/11042025/03/17/image_11042025_03_18_06_9342.jpg', '/home/pi/Desktop/images/11042025/03/18/image_11042025_03_18_16_10436.jpg', '/home/pi/Desktop/images/11042025/03/18/image_11042025_03_18_25_9366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/03/17/image_11042025_03_17_35_9363.jpg
/home/pi/Desktop/images/11042025/03/17/image_11042025_03_17_46_10410.jpg
/home/pi/Desktop/images/11042025/03/17/image_11042025_03_17_56_10388.jpg
/home/pi/Desktop/images/11042025/03/17/image_11042025_03_18_06_9342.jpg
/home/pi/Desktop/images/11042025/03/18/image_11042025_03_18_16_10436.jpg
/home/pi/Desktop/images/11042025/03/18/image_11042025_03_18_25_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":["1351477442","1351477400","1351477360","1351477384","1351477354","1351477420"],"photo_ids_order":["1351477354","1351477360","1351477384","1351477400","1351477420","1351477442"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/057185651f99b04c191cc04090b260b8.jpg","text":"TemporaryFile(/tmp/multipartBody3527323695179075497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346192891,"filename":"image_11042025_03_18_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/11/b57ca1a84028a21aa974cab0d6672a46.jpg","text":"TemporaryFile(/tmp/multipartBody5627477555339926360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346192891,"filename":"image_11042025_03_18_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/11/907dbf46aa888c2170636dd76e8b2bcb.jpg","text":"TemporaryFile(/tmp/multipartBody3029195452450502879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346192891,"filename":"image_11042025_03_17_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/11/495a5512c80af329c12cadfa89fd0ff7.jpg","text":"TemporaryFile(/tmp/multipartBody3528655947274982641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346192891,"filename":"image_11042025_03_17_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/11/74798b85c5cf9d2f1a0f2b6b8ba43737.jpg","text":"TemporaryFile(/tmp/multipartBody5078464664509261617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346192891,"filename":"image_11042025_03_17_35_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f7432789d1cdf0b2610a6073ca3245ac.jpg","text":"TemporaryFile(/tmp/multipartBody1074246540393564770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346192891,"filename":"image_11042025_03_18_16_10436.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351477384","file1":"1351477360","file0":"1351477354","file4":"1351477420","file5":"1351477442","file3":"1351477400"},"map_files_photo_id_array":[{"photo_id":"1351477442","filename":"file5"},{"photo_id":"1351477384","filename":"file2"},{"photo_id":"1351477420","filename":"file4"},{"photo_id":"1351477360","filename":"file1"},{"photo_id":"1351477354","filename":"file0"},{"photo_id":"1351477400","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351477442":["hashtag1","hashtag2"]},{"1351477400":["hashtag1","hashtag2"]},{"1351477360":["hashtag1","hashtag2"]},{"1351477384":["hashtag1","hashtag2"]},{"1351477354":["hashtag1","hashtag2"]},{"1351477420":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351477442, 1351477400, 1351477360, 1351477384, 1351477354, 1351477420)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.62786102294922 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 06:36:32.501138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/03/18/image_11042025_03_18_36_10426.jpg', '/home/pi/Desktop/images/11042025/03/18/image_11042025_03_18_46_10368.jpg', '/home/pi/Desktop/images/11042025/03/18/image_11042025_03_18_56_9367.jpg', '/home/pi/Desktop/images/11042025/03/18/image_11042025_03_19_06_10457.jpg', '/home/pi/Desktop/images/11042025/03/19/image_11042025_03_19_15_9365.jpg', '/home/pi/Desktop/images/11042025/03/19/image_11042025_03_19_26_10468.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/03/18/image_11042025_03_18_36_10426.jpg
/home/pi/Desktop/images/11042025/03/18/image_11042025_03_18_46_10368.jpg
/home/pi/Desktop/images/11042025/03/18/image_11042025_03_18_56_9367.jpg
/home/pi/Desktop/images/11042025/03/18/image_11042025_03_19_06_10457.jpg
/home/pi/Desktop/images/11042025/03/19/image_11042025_03_19_15_9365.jpg
/home/pi/Desktop/images/11042025/03/19/image_11042025_03_19_26_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":["1351477516","1351477501","1351477509","1351477503","1351477513","1351477507"],"photo_ids_order":["1351477501","1351477503","1351477507","1351477509","1351477513","1351477516"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ba87b4c7d5e68b9da1eb54d3f7b055e0.jpg","text":"TemporaryFile(/tmp/multipartBody1786770202239019954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346252972,"filename":"image_11042025_03_19_26_10468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a4448ba68f6b877871473c9cdc0d6bb3.jpg","text":"TemporaryFile(/tmp/multipartBody8079631685305652510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346252972,"filename":"image_11042025_03_18_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/11/b91014e57c91246b61e022064af197c4.jpg","text":"TemporaryFile(/tmp/multipartBody3742029785854581152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346252972,"filename":"image_11042025_03_19_06_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/13779e32ae9b119f4b1c0e25a195b20d.jpg","text":"TemporaryFile(/tmp/multipartBody1429364364666247837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346252972,"filename":"image_11042025_03_18_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/11/838143aa6a757dd245e41285185d9f69.jpg","text":"TemporaryFile(/tmp/multipartBody8046796331458798843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346252972,"filename":"image_11042025_03_19_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/11/cb49d3b8da1974adeab122699cee90cc.jpg","text":"TemporaryFile(/tmp/multipartBody4731632582593718810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346252972,"filename":"image_11042025_03_18_56_9367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351477507","file1":"1351477503","file0":"1351477501","file4":"1351477513","file5":"1351477516","file3":"1351477509"},"map_files_photo_id_array":[{"photo_id":"1351477516","filename":"file5"},{"photo_id":"1351477507","filename":"file2"},{"photo_id":"1351477513","filename":"file4"},{"photo_id":"1351477503","filename":"file1"},{"photo_id":"1351477501","filename":"file0"},{"photo_id":"1351477509","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351477516":["hashtag1","hashtag2"]},{"1351477501":["hashtag1","hashtag2"]},{"1351477509":["hashtag1","hashtag2"]},{"1351477503":["hashtag1","hashtag2"]},{"1351477513":["hashtag1","hashtag2"]},{"1351477507":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351477516, 1351477501, 1351477509, 1351477503, 1351477513, 1351477507)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.591493129730225 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 06:37:32.868485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/03/19/image_11042025_03_19_36_10349.jpg', '/home/pi/Desktop/images/11042025/03/19/image_11042025_03_19_46_9354.jpg', '/home/pi/Desktop/images/11042025/03/19/image_11042025_03_19_56_10470.jpg', '/home/pi/Desktop/images/11042025/03/19/image_11042025_03_20_05_9433.jpg', '/home/pi/Desktop/images/11042025/03/20/image_11042025_03_20_16_10374.jpg', '/home/pi/Desktop/images/11042025/03/20/image_11042025_03_20_26_10394.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/03/19/image_11042025_03_19_36_10349.jpg
/home/pi/Desktop/images/11042025/03/19/image_11042025_03_19_46_9354.jpg
/home/pi/Desktop/images/11042025/03/19/image_11042025_03_19_56_10470.jpg
/home/pi/Desktop/images/11042025/03/19/image_11042025_03_20_05_9433.jpg
/home/pi/Desktop/images/11042025/03/20/image_11042025_03_20_16_10374.jpg
/home/pi/Desktop/images/11042025/03/20/image_11042025_03_20_26_10394.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351477593","1351477545","1351477586","1351477541","1351477591","1351477543"],"photo_ids_order":["1351477541","1351477543","1351477545","1351477586","1351477591","1351477593"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c2c5a242c4f19fcf62023ad9f748df73.jpg","text":"TemporaryFile(/tmp/multipartBody4730782560016801454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346313347,"filename":"image_11042025_03_20_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/11/c68485a73642f1674189e7913fa93251.jpg","text":"TemporaryFile(/tmp/multipartBody7038728581079706021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346313347,"filename":"image_11042025_03_19_56_10470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b7eded5a74ad9aa12ca7f33c4c1ffe22.jpg","text":"TemporaryFile(/tmp/multipartBody6086604458414895446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346313347,"filename":"image_11042025_03_20_05_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d0f41b5eb3cd5273753022b7b5089b92.jpg","text":"TemporaryFile(/tmp/multipartBody2180476183519073876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346313347,"filename":"image_11042025_03_19_36_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8c30df1bf018aef46291347b062e6d81.jpg","text":"TemporaryFile(/tmp/multipartBody2983225665537753058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346313347,"filename":"image_11042025_03_20_16_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e501ab29dd7d5a049689e1eb9fbb4a60.jpg","text":"TemporaryFile(/tmp/multipartBody2109534288133509177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346313347,"filename":"image_11042025_03_19_46_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351477545","file1":"1351477543","file0":"1351477541","file4":"1351477591","file5":"1351477593","file3":"1351477586"},"map_files_photo_id_array":[{"photo_id":"1351477593","filename":"file5"},{"photo_id":"1351477545","filename":"file2"},{"photo_id":"1351477591","filename":"file4"},{"photo_id":"1351477543","filename":"file1"},{"photo_id":"1351477541","filename":"file0"},{"photo_id":"1351477586","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351477593":["hashtag1","hashtag2"]},{"1351477545":["hashtag1","hashtag2"]},{"1351477586":["hashtag1","hashtag2"]},{"1351477541":["hashtag1","hashtag2"]},{"1351477591":["hashtag1","hashtag2"]},{"1351477543":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351477593, 1351477545, 1351477586, 1351477541, 1351477591, 1351477543)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.28487300872803 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 06:38:33.031321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/03/20/image_11042025_03_20_36_9359.jpg', '/home/pi/Desktop/images/11042025/03/20/image_11042025_03_20_56_10376.jpg', '/home/pi/Desktop/images/11042025/03/20/image_11042025_03_21_06_9364.jpg', '/home/pi/Desktop/images/11042025/03/21/image_11042025_03_21_16_10459.jpg', '/home/pi/Desktop/images/11042025/03/21/image_11042025_03_21_25_9357.jpg', '/home/pi/Desktop/images/11042025/03/21/image_11042025_03_21_36_10463.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/03/20/image_11042025_03_20_36_9359.jpg
/home/pi/Desktop/images/11042025/03/20/image_11042025_03_20_56_10376.jpg
/home/pi/Desktop/images/11042025/03/20/image_11042025_03_21_06_9364.jpg
/home/pi/Desktop/images/11042025/03/21/image_11042025_03_21_16_10459.jpg
/home/pi/Desktop/images/11042025/03/21/image_11042025_03_21_25_9357.jpg
/home/pi/Desktop/images/11042025/03/21/image_11042025_03_21_36_10463.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351477691","1351477700","1351477681","1351477654","1351477714","1351477711"],"photo_ids_order":["1351477654","1351477681","1351477691","1351477700","1351477711","1351477714"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b2ca409374532476f5ac03be6c5038e8.jpg","text":"TemporaryFile(/tmp/multipartBody7457507914415374939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346373503,"filename":"image_11042025_03_21_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/11/f401e2c4ff4c2daa3b3495a1c0e5ac57.jpg","text":"TemporaryFile(/tmp/multipartBody445331166801098535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346373503,"filename":"image_11042025_03_21_16_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/58a5af02b94b2122cfc520c923d6f080.jpg","text":"TemporaryFile(/tmp/multipartBody1994990352511675242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346373503,"filename":"image_11042025_03_20_56_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/14ed607586c7e43153320f3f388b0e22.jpg","text":"TemporaryFile(/tmp/multipartBody6843233096370319237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346373503,"filename":"image_11042025_03_20_36_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e2b502abc7f43f41d9b148fd9e990ee9.jpg","text":"TemporaryFile(/tmp/multipartBody3877408756831714701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346373503,"filename":"image_11042025_03_21_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/11/885cd35f2021ae13eb18f8a8e796bf77.jpg","text":"TemporaryFile(/tmp/multipartBody8571578383260444561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346373503,"filename":"image_11042025_03_21_25_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351477691","file1":"1351477681","file0":"1351477654","file4":"1351477711","file5":"1351477714","file3":"1351477700"},"map_files_photo_id_array":[{"photo_id":"1351477714","filename":"file5"},{"photo_id":"1351477691","filename":"file2"},{"photo_id":"1351477711","filename":"file4"},{"photo_id":"1351477681","filename":"file1"},{"photo_id":"1351477654","filename":"file0"},{"photo_id":"1351477700","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351477691":["hashtag1","hashtag2"]},{"1351477700":["hashtag1","hashtag2"]},{"1351477681":["hashtag1","hashtag2"]},{"1351477654":["hashtag1","hashtag2"]},{"1351477714":["hashtag1","hashtag2"]},{"1351477711":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351477691, 1351477700, 1351477681, 1351477654, 1351477714, 1351477711)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.47762322425842 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 06:39:32.349499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/03/21/image_11042025_03_21_46_10361.jpg', '/home/pi/Desktop/images/11042025/03/21/image_11042025_03_21_56_9411.jpg', '/home/pi/Desktop/images/11042025/03/21/image_11042025_03_22_06_10371.jpg', '/home/pi/Desktop/images/11042025/03/22/image_11042025_03_22_26_10379.jpg', '/home/pi/Desktop/images/11042025/03/22/image_11042025_03_22_36_10368.jpg', '/home/pi/Desktop/images/11042025/03/23/image_11042025_03_23_16_10291.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/03/21/image_11042025_03_21_46_10361.jpg
/home/pi/Desktop/images/11042025/03/21/image_11042025_03_21_56_9411.jpg
/home/pi/Desktop/images/11042025/03/21/image_11042025_03_22_06_10371.jpg
/home/pi/Desktop/images/11042025/03/22/image_11042025_03_22_26_10379.jpg
/home/pi/Desktop/images/11042025/03/22/image_11042025_03_22_36_10368.jpg
/home/pi/Desktop/images/11042025/03/23/image_11042025_03_23_16_10291.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351477872","1351477902","1351477901","1351477897","1351477852","1351477887"],"photo_ids_order":["1351477852","1351477872","1351477887","1351477897","1351477901","1351477902"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1a843f3debb6abb0ea3e7aa98d235bd8.jpg","text":"TemporaryFile(/tmp/multipartBody7604244531765356440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346432825,"filename":"image_11042025_03_21_56_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7d75031263a856d1915630c1a1ec9a66.jpg","text":"TemporaryFile(/tmp/multipartBody1649514809475798292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346432825,"filename":"image_11042025_03_23_16_10291.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e135626a3adfa72412de78fbe0b4e2d5.jpg","text":"TemporaryFile(/tmp/multipartBody5300523641157931637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346432825,"filename":"image_11042025_03_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/11/cb5981b441052d88226ea532289e96ec.jpg","text":"TemporaryFile(/tmp/multipartBody548745197473648698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346432825,"filename":"image_11042025_03_22_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/11/132b3d8553233f753cfb241196c81b75.jpg","text":"TemporaryFile(/tmp/multipartBody4746683183910993287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346432825,"filename":"image_11042025_03_21_46_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9fec200fed4314d56c0e98ed68576f9b.jpg","text":"TemporaryFile(/tmp/multipartBody7367505944695468421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346432825,"filename":"image_11042025_03_22_06_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351477887","file1":"1351477872","file0":"1351477852","file4":"1351477901","file5":"1351477902","file3":"1351477897"},"map_files_photo_id_array":[{"photo_id":"1351477902","filename":"file5"},{"photo_id":"1351477887","filename":"file2"},{"photo_id":"1351477901","filename":"file4"},{"photo_id":"1351477872","filename":"file1"},{"photo_id":"1351477852","filename":"file0"},{"photo_id":"1351477897","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351477872":["hashtag1","hashtag2"]},{"1351477902":["hashtag1","hashtag2"]},{"1351477901":["hashtag1","hashtag2"]},{"1351477897":["hashtag1","hashtag2"]},{"1351477852":["hashtag1","hashtag2"]},{"1351477887":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351477872, 1351477902, 1351477901, 1351477897, 1351477852, 1351477887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.10702419281006 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 06:40:32.422432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/03/23/image_11042025_03_23_26_10380.jpg', '/home/pi/Desktop/images/11042025/03/23/image_11042025_03_23_35_9355.jpg', '/home/pi/Desktop/images/11042025/03/23/image_11042025_03_23_46_10438.jpg', '/home/pi/Desktop/images/11042025/03/23/image_11042025_03_23_56_10393.jpg', '/home/pi/Desktop/images/11042025/03/23/image_11042025_03_24_06_9497.jpg', '/home/pi/Desktop/images/11042025/03/24/image_11042025_03_24_16_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/03/23/image_11042025_03_23_26_10380.jpg
/home/pi/Desktop/images/11042025/03/23/image_11042025_03_23_35_9355.jpg
/home/pi/Desktop/images/11042025/03/23/image_11042025_03_23_46_10438.jpg
/home/pi/Desktop/images/11042025/03/23/image_11042025_03_23_56_10393.jpg
/home/pi/Desktop/images/11042025/03/23/image_11042025_03_24_06_9497.jpg
/home/pi/Desktop/images/11042025/03/24/image_11042025_03_24_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":["1351477923","1351477920","1351477939","1351477933","1351477927","1351477942"],"photo_ids_order":["1351477920","1351477923","1351477927","1351477933","1351477939","1351477942"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1c75e657c5d9c533065078b678a897bf.jpg","text":"TemporaryFile(/tmp/multipartBody8917643966164027461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346492918,"filename":"image_11042025_03_23_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/11/b53c558b16ee077f63f6c9f451d5c592.jpg","text":"TemporaryFile(/tmp/multipartBody4755264040877934276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346492918,"filename":"image_11042025_03_23_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/11/de73efb0f16f5ee42b43e5d1b3fe04da.jpg","text":"TemporaryFile(/tmp/multipartBody9007555079205084736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346492918,"filename":"image_11042025_03_24_06_9497.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/afb1c160937c727c6ad2d39b0e0a98ce.jpg","text":"TemporaryFile(/tmp/multipartBody938435987124279784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346492918,"filename":"image_11042025_03_23_56_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/76f525c3457e7d1fb80e334a652c0710.jpg","text":"TemporaryFile(/tmp/multipartBody4603048913620830365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346492918,"filename":"image_11042025_03_23_46_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/53bcaae21f8994922c9c0e99497e9b9e.jpg","text":"TemporaryFile(/tmp/multipartBody3224279978880048744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346492918,"filename":"image_11042025_03_24_16_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351477927","file1":"1351477923","file0":"1351477920","file4":"1351477939","file5":"1351477942","file3":"1351477933"},"map_files_photo_id_array":[{"photo_id":"1351477942","filename":"file5"},{"photo_id":"1351477927","filename":"file2"},{"photo_id":"1351477939","filename":"file4"},{"photo_id":"1351477923","filename":"file1"},{"photo_id":"1351477920","filename":"file0"},{"photo_id":"1351477933","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351477923":["hashtag1","hashtag2"]},{"1351477920":["hashtag1","hashtag2"]},{"1351477939":["hashtag1","hashtag2"]},{"1351477933":["hashtag1","hashtag2"]},{"1351477927":["hashtag1","hashtag2"]},{"1351477942":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351477923, 1351477920, 1351477939, 1351477933, 1351477927, 1351477942)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.127763986587524 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 06:41:32.624790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/03/24/image_11042025_03_24_26_9361.jpg', '/home/pi/Desktop/images/11042025/03/24/image_11042025_03_24_36_10483.jpg', '/home/pi/Desktop/images/11042025/03/24/image_11042025_03_24_45_9345.jpg', '/home/pi/Desktop/images/11042025/03/24/image_11042025_03_24_56_10497.jpg', '/home/pi/Desktop/images/11042025/03/24/image_11042025_03_25_06_10359.jpg', '/home/pi/Desktop/images/11042025/03/25/image_11042025_03_25_16_9456.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/03/24/image_11042025_03_24_26_9361.jpg
/home/pi/Desktop/images/11042025/03/24/image_11042025_03_24_36_10483.jpg
/home/pi/Desktop/images/11042025/03/24/image_11042025_03_24_45_9345.jpg
/home/pi/Desktop/images/11042025/03/24/image_11042025_03_24_56_10497.jpg
/home/pi/Desktop/images/11042025/03/24/image_11042025_03_25_06_10359.jpg
/home/pi/Desktop/images/11042025/03/25/image_11042025_03_25_16_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":["1351478151","1351478165","1351478201","1351478191","1351478204","1351478178"],"photo_ids_order":["1351478151","1351478165","1351478178","1351478191","1351478201","1351478204"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a408b2b1bae0155684101240d162a700.jpg","text":"TemporaryFile(/tmp/multipartBody3680267153964758087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346553102,"filename":"image_11042025_03_24_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/11/117837a9bbc392aab7f4bb5456478ca6.jpg","text":"TemporaryFile(/tmp/multipartBody4736274721921983392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346553102,"filename":"image_11042025_03_24_36_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/11/ae578087271432160932a9e4c9fc0e52.jpg","text":"TemporaryFile(/tmp/multipartBody7798229950167529426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346553102,"filename":"image_11042025_03_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/11/6150919a5f1c806d9d8c82fb8d868846.jpg","text":"TemporaryFile(/tmp/multipartBody4871306328416491525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346553102,"filename":"image_11042025_03_24_56_10497.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/09bd280a9fb84a080e532dba3bacaf79.jpg","text":"TemporaryFile(/tmp/multipartBody2866749258198536065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346553102,"filename":"image_11042025_03_25_16_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/053a32844b9e1024476d570c3ce387cc.jpg","text":"TemporaryFile(/tmp/multipartBody3258868505132065637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346553102,"filename":"image_11042025_03_24_45_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351478178","file1":"1351478165","file0":"1351478151","file4":"1351478201","file5":"1351478204","file3":"1351478191"},"map_files_photo_id_array":[{"photo_id":"1351478204","filename":"file5"},{"photo_id":"1351478178","filename":"file2"},{"photo_id":"1351478201","filename":"file4"},{"photo_id":"1351478165","filename":"file1"},{"photo_id":"1351478151","filename":"file0"},{"photo_id":"1351478191","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351478151":["hashtag1","hashtag2"]},{"1351478165":["hashtag1","hashtag2"]},{"1351478201":["hashtag1","hashtag2"]},{"1351478191":["hashtag1","hashtag2"]},{"1351478204":["hashtag1","hashtag2"]},{"1351478178":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351478151, 1351478165, 1351478201, 1351478191, 1351478204, 1351478178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.54926943778992 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 06:42:32.794930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/03/25/image_11042025_03_25_26_10415.jpg', '/home/pi/Desktop/images/11042025/03/25/image_11042025_03_25_35_9359.jpg', '/home/pi/Desktop/images/11042025/03/25/image_11042025_03_25_46_10428.jpg', '/home/pi/Desktop/images/11042025/03/25/image_11042025_03_26_06_9358.jpg', '/home/pi/Desktop/images/11042025/03/26/image_11042025_03_26_16_10455.jpg', '/home/pi/Desktop/images/11042025/03/26/image_11042025_03_26_25_9375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/03/25/image_11042025_03_25_26_10415.jpg
/home/pi/Desktop/images/11042025/03/25/image_11042025_03_25_35_9359.jpg
/home/pi/Desktop/images/11042025/03/25/image_11042025_03_25_46_10428.jpg
/home/pi/Desktop/images/11042025/03/25/image_11042025_03_26_06_9358.jpg
/home/pi/Desktop/images/11042025/03/26/image_11042025_03_26_16_10455.jpg
/home/pi/Desktop/images/11042025/03/26/image_11042025_03_26_25_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":["1351478328","1351478294","1351478297","1351478285","1351478290","1351478280"],"photo_ids_order":["1351478280","1351478285","1351478290","1351478294","1351478297","1351478328"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c1aa6d5d08be95f8b5b2da585bf21b15.jpg","text":"TemporaryFile(/tmp/multipartBody6578445601649635254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346613266,"filename":"image_11042025_03_26_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/11/32ce8c6b0fa111be7936dfc4f42a4024.jpg","text":"TemporaryFile(/tmp/multipartBody4601451777833856378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346613266,"filename":"image_11042025_03_26_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/11/4bc824454ef349cb2220aab419210d26.jpg","text":"TemporaryFile(/tmp/multipartBody7725740778538797946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346613266,"filename":"image_11042025_03_26_16_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/33300317ac012d8eb9303bfbf44ecbae.jpg","text":"TemporaryFile(/tmp/multipartBody7165992913800861365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346613266,"filename":"image_11042025_03_25_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/11/73605530f0c9cb776f39d4d201779142.jpg","text":"TemporaryFile(/tmp/multipartBody5309989843552874446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346613266,"filename":"image_11042025_03_25_46_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/45ae890d64962060a87e91c299462c35.jpg","text":"TemporaryFile(/tmp/multipartBody5622207959162170697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346613266,"filename":"image_11042025_03_25_26_10415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351478290","file1":"1351478285","file0":"1351478280","file4":"1351478297","file5":"1351478328","file3":"1351478294"},"map_files_photo_id_array":[{"photo_id":"1351478328","filename":"file5"},{"photo_id":"1351478290","filename":"file2"},{"photo_id":"1351478297","filename":"file4"},{"photo_id":"1351478285","filename":"file1"},{"photo_id":"1351478280","filename":"file0"},{"photo_id":"1351478294","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351478328":["hashtag1","hashtag2"]},{"1351478294":["hashtag1","hashtag2"]},{"1351478297":["hashtag1","hashtag2"]},{"1351478285":["hashtag1","hashtag2"]},{"1351478290":["hashtag1","hashtag2"]},{"1351478280":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351478328, 1351478294, 1351478297, 1351478285, 1351478290, 1351478280)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.77156662940979 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 06:43:32.939887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/03/26/image_11042025_03_26_46_10366.jpg', '/home/pi/Desktop/images/11042025/03/26/image_11042025_03_27_06_10439.jpg', '/home/pi/Desktop/images/11042025/03/27/image_11042025_03_27_26_10432.jpg', '/home/pi/Desktop/images/11042025/03/27/image_11042025_03_27_36_10373.jpg', '/home/pi/Desktop/images/11042025/03/27/image_11042025_03_27_46_9364.jpg', '/home/pi/Desktop/images/11042025/03/27/image_11042025_03_28_05_9371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/03/26/image_11042025_03_26_46_10366.jpg
/home/pi/Desktop/images/11042025/03/26/image_11042025_03_27_06_10439.jpg
/home/pi/Desktop/images/11042025/03/27/image_11042025_03_27_26_10432.jpg
/home/pi/Desktop/images/11042025/03/27/image_11042025_03_27_36_10373.jpg
/home/pi/Desktop/images/11042025/03/27/image_11042025_03_27_46_9364.jpg
/home/pi/Desktop/images/11042025/03/27/image_11042025_03_28_05_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":["1351478573","1351478552","1351478459","1351478599","1351478569","1351478602"],"photo_ids_order":["1351478459","1351478552","1351478569","1351478573","1351478599","1351478602"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7cb556177932ce9e0913e99e5cc924f3.jpg","text":"TemporaryFile(/tmp/multipartBody6862231809853113367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346673425,"filename":"image_11042025_03_27_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/11/d4e3ccf4de7c9ffe72fabde1bd2d7419.jpg","text":"TemporaryFile(/tmp/multipartBody160380198468017973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346673425,"filename":"image_11042025_03_27_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/11/0e4ea68dfe10723a320c06332df2417a.jpg","text":"TemporaryFile(/tmp/multipartBody7929449799500706911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346673425,"filename":"image_11042025_03_26_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/11/599383ddcb318277430234a8f97829a7.jpg","text":"TemporaryFile(/tmp/multipartBody4857547429031239798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346673425,"filename":"image_11042025_03_27_46_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8723ebf1244c728227b8d2396ed5f462.jpg","text":"TemporaryFile(/tmp/multipartBody1346862395003232082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346673425,"filename":"image_11042025_03_27_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/11/7e0d38d4818c0d9d94ce2afc4c823256.jpg","text":"TemporaryFile(/tmp/multipartBody2662021680553196446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346673425,"filename":"image_11042025_03_28_05_9371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351478569","file1":"1351478552","file0":"1351478459","file4":"1351478599","file5":"1351478602","file3":"1351478573"},"map_files_photo_id_array":[{"photo_id":"1351478602","filename":"file5"},{"photo_id":"1351478569","filename":"file2"},{"photo_id":"1351478599","filename":"file4"},{"photo_id":"1351478552","filename":"file1"},{"photo_id":"1351478459","filename":"file0"},{"photo_id":"1351478573","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351478573":["hashtag1","hashtag2"]},{"1351478552":["hashtag1","hashtag2"]},{"1351478459":["hashtag1","hashtag2"]},{"1351478599":["hashtag1","hashtag2"]},{"1351478569":["hashtag1","hashtag2"]},{"1351478602":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351478573, 1351478552, 1351478459, 1351478599, 1351478569, 1351478602)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.576690435409546 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 06:44:33.201985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/03/28/image_11042025_03_28_16_10501.jpg', '/home/pi/Desktop/images/11042025/03/28/image_11042025_03_28_36_9348.jpg', '/home/pi/Desktop/images/11042025/03/28/image_11042025_03_28_46_10349.jpg', '/home/pi/Desktop/images/11042025/03/28/image_11042025_03_28_56_10362.jpg', '/home/pi/Desktop/images/11042025/03/28/image_11042025_03_29_06_9467.jpg', '/home/pi/Desktop/images/11042025/03/29/image_11042025_03_29_16_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/03/28/image_11042025_03_28_16_10501.jpg
/home/pi/Desktop/images/11042025/03/28/image_11042025_03_28_36_9348.jpg
/home/pi/Desktop/images/11042025/03/28/image_11042025_03_28_46_10349.jpg
/home/pi/Desktop/images/11042025/03/28/image_11042025_03_28_56_10362.jpg
/home/pi/Desktop/images/11042025/03/28/image_11042025_03_29_06_9467.jpg
/home/pi/Desktop/images/11042025/03/29/image_11042025_03_29_16_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351478795","1351478752","1351478827","1351478772","1351478710","1351478841"],"photo_ids_order":["1351478710","1351478752","1351478772","1351478795","1351478827","1351478841"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a58941ca3350cf4037fd393578ac57c9.jpg","text":"TemporaryFile(/tmp/multipartBody7321015911662271582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346735753,"filename":"image_11042025_03_28_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/11/8fe52e9fc63b597c594242f0270bd0ed.jpg","text":"TemporaryFile(/tmp/multipartBody1323483975958811703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346735753,"filename":"image_11042025_03_28_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/11/677fdefa4869fb87579a77765532e705.jpg","text":"TemporaryFile(/tmp/multipartBody3291804588981217144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346735753,"filename":"image_11042025_03_29_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/11/c6da7e420e1083f460c328e936e317d5.jpg","text":"TemporaryFile(/tmp/multipartBody8363191964087872762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346735753,"filename":"image_11042025_03_28_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/11/a70add7921a28c42a066d31f20a782a4.jpg","text":"TemporaryFile(/tmp/multipartBody8010967015470956467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346735753,"filename":"image_11042025_03_28_16_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/11/ccd6753120ad69010973a64d428d3697.jpg","text":"TemporaryFile(/tmp/multipartBody3653895773881078387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346735753,"filename":"image_11042025_03_29_16_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351478772","file1":"1351478752","file0":"1351478710","file4":"1351478827","file5":"1351478841","file3":"1351478795"},"map_files_photo_id_array":[{"photo_id":"1351478841","filename":"file5"},{"photo_id":"1351478772","filename":"file2"},{"photo_id":"1351478827","filename":"file4"},{"photo_id":"1351478752","filename":"file1"},{"photo_id":"1351478710","filename":"file0"},{"photo_id":"1351478795","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351478795":["hashtag1","hashtag2"]},{"1351478752":["hashtag1","hashtag2"]},{"1351478827":["hashtag1","hashtag2"]},{"1351478772":["hashtag1","hashtag2"]},{"1351478710":["hashtag1","hashtag2"]},{"1351478841":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351478795, 1351478752, 1351478827, 1351478772, 1351478710, 1351478841)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.17755675315857 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 06:45:32.415451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/03/29/image_11042025_03_29_26_9358.jpg', '/home/pi/Desktop/images/11042025/03/29/image_11042025_03_29_36_10361.jpg', '/home/pi/Desktop/images/11042025/03/29/image_11042025_03_29_46_10374.jpg', '/home/pi/Desktop/images/11042025/03/29/image_11042025_03_29_56_9377.jpg', '/home/pi/Desktop/images/11042025/03/29/image_11042025_03_30_06_10438.jpg', '/home/pi/Desktop/images/11042025/03/30/image_11042025_03_30_15_9386.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/03/29/image_11042025_03_29_26_9358.jpg
/home/pi/Desktop/images/11042025/03/29/image_11042025_03_29_36_10361.jpg
/home/pi/Desktop/images/11042025/03/29/image_11042025_03_29_46_10374.jpg
/home/pi/Desktop/images/11042025/03/29/image_11042025_03_29_56_9377.jpg
/home/pi/Desktop/images/11042025/03/29/image_11042025_03_30_06_10438.jpg
/home/pi/Desktop/images/11042025/03/30/image_11042025_03_30_15_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":["1351478975","1351479032","1351479002","1351479048","1351479057","1351478928"],"photo_ids_order":["1351478928","1351478975","1351479002","1351479032","1351479048","1351479057"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f387b19854fba9b87be3d2b956415610.jpg","text":"TemporaryFile(/tmp/multipartBody5405787177711548212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346792983,"filename":"image_11042025_03_29_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/11/be465a6a6fb276109b8f91f3fe645479.jpg","text":"TemporaryFile(/tmp/multipartBody3899111374378348476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346792983,"filename":"image_11042025_03_29_56_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6fa3cf8640dd6ee2a72dc927f5bfe26f.jpg","text":"TemporaryFile(/tmp/multipartBody5168748257214938359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346792983,"filename":"image_11042025_03_29_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/11/c5561bc53c8bcf14423447acc7c30650.jpg","text":"TemporaryFile(/tmp/multipartBody4848642961371492560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346792983,"filename":"image_11042025_03_30_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/11/80829e006d8712db6688746cf54a5d2a.jpg","text":"TemporaryFile(/tmp/multipartBody3888763355198608000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346792983,"filename":"image_11042025_03_30_15_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8242c6d43741f198ca849de81fa35700.jpg","text":"TemporaryFile(/tmp/multipartBody6967332007741533534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346792983,"filename":"image_11042025_03_29_26_9358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351479002","file1":"1351478975","file0":"1351478928","file4":"1351479048","file5":"1351479057","file3":"1351479032"},"map_files_photo_id_array":[{"photo_id":"1351479057","filename":"file5"},{"photo_id":"1351479002","filename":"file2"},{"photo_id":"1351479048","filename":"file4"},{"photo_id":"1351478975","filename":"file1"},{"photo_id":"1351478928","filename":"file0"},{"photo_id":"1351479032","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351478975":["hashtag1","hashtag2"]},{"1351479032":["hashtag1","hashtag2"]},{"1351479002":["hashtag1","hashtag2"]},{"1351479048":["hashtag1","hashtag2"]},{"1351479057":["hashtag1","hashtag2"]},{"1351478928":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351478975, 1351479032, 1351479002, 1351479048, 1351479057, 1351478928)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.96504497528076 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 06:46:32.555052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/03/30/image_11042025_03_30_26_10372.jpg', '/home/pi/Desktop/images/11042025/03/30/image_11042025_03_30_36_10365.jpg', '/home/pi/Desktop/images/11042025/03/30/image_11042025_03_30_46_9447.jpg', '/home/pi/Desktop/images/11042025/03/30/image_11042025_03_30_56_10370.jpg', '/home/pi/Desktop/images/11042025/03/30/image_11042025_03_31_05_9333.jpg', '/home/pi/Desktop/images/11042025/03/31/image_11042025_03_31_16_10411.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/03/30/image_11042025_03_30_26_10372.jpg
/home/pi/Desktop/images/11042025/03/30/image_11042025_03_30_36_10365.jpg
/home/pi/Desktop/images/11042025/03/30/image_11042025_03_30_46_9447.jpg
/home/pi/Desktop/images/11042025/03/30/image_11042025_03_30_56_10370.jpg
/home/pi/Desktop/images/11042025/03/30/image_11042025_03_31_05_9333.jpg
/home/pi/Desktop/images/11042025/03/31/image_11042025_03_31_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":["1351479194","1351479161","1351479146","1351479128","1351479132","1351479126"],"photo_ids_order":["1351479126","1351479128","1351479132","1351479146","1351479161","1351479194"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/807de774e671e3cb3e0abfebb7dd3ab0.jpg","text":"TemporaryFile(/tmp/multipartBody6972530202459626104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346853110,"filename":"image_11042025_03_31_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/11/281e3d1906496892893074d891d3c954.jpg","text":"TemporaryFile(/tmp/multipartBody6466711148807413328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346853110,"filename":"image_11042025_03_31_05_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2d5c0ad0532d3cdaa794b3fee237bc65.jpg","text":"TemporaryFile(/tmp/multipartBody7278414193653427766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346853110,"filename":"image_11042025_03_30_56_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9bba3b510e69273cd2a6b642493f4b49.jpg","text":"TemporaryFile(/tmp/multipartBody2062713618944959892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346853110,"filename":"image_11042025_03_30_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/11/44347b1116a5202828d2bb32bca40eb7.jpg","text":"TemporaryFile(/tmp/multipartBody8785305260098993437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346853110,"filename":"image_11042025_03_30_46_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2ee4f1544e605c6700427926523d1d6b.jpg","text":"TemporaryFile(/tmp/multipartBody1308717125772524152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346853110,"filename":"image_11042025_03_30_26_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351479132","file1":"1351479128","file0":"1351479126","file4":"1351479161","file5":"1351479194","file3":"1351479146"},"map_files_photo_id_array":[{"photo_id":"1351479194","filename":"file5"},{"photo_id":"1351479132","filename":"file2"},{"photo_id":"1351479161","filename":"file4"},{"photo_id":"1351479128","filename":"file1"},{"photo_id":"1351479126","filename":"file0"},{"photo_id":"1351479146","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351479194":["hashtag1","hashtag2"]},{"1351479161":["hashtag1","hashtag2"]},{"1351479146":["hashtag1","hashtag2"]},{"1351479128":["hashtag1","hashtag2"]},{"1351479132":["hashtag1","hashtag2"]},{"1351479126":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351479194, 1351479161, 1351479146, 1351479128, 1351479132, 1351479126)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.78326368331909 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 06:47:32.894783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/03/31/image_11042025_03_31_26_10405.jpg', '/home/pi/Desktop/images/11042025/03/31/image_11042025_03_31_36_9356.jpg', '/home/pi/Desktop/images/11042025/03/31/image_11042025_03_31_46_10366.jpg', '/home/pi/Desktop/images/11042025/03/31/image_11042025_03_31_56_10371.jpg', '/home/pi/Desktop/images/11042025/03/31/image_11042025_03_32_06_9360.jpg', '/home/pi/Desktop/images/11042025/03/32/image_11042025_03_32_16_10382.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/03/31/image_11042025_03_31_26_10405.jpg
/home/pi/Desktop/images/11042025/03/31/image_11042025_03_31_36_9356.jpg
/home/pi/Desktop/images/11042025/03/31/image_11042025_03_31_46_10366.jpg
/home/pi/Desktop/images/11042025/03/31/image_11042025_03_31_56_10371.jpg
/home/pi/Desktop/images/11042025/03/31/image_11042025_03_32_06_9360.jpg
/home/pi/Desktop/images/11042025/03/32/image_11042025_03_32_16_10382.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351479329","1351479278","1351479326","1351479274","1351479268","1351479255"],"photo_ids_order":["1351479255","1351479268","1351479274","1351479278","1351479326","1351479329"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/bb518e7a5ed9390c05b33b1b8d68f344.jpg","text":"TemporaryFile(/tmp/multipartBody6076995713685506097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346913452,"filename":"image_11042025_03_32_16_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/330b6035df25116859cfc673f65c9504.jpg","text":"TemporaryFile(/tmp/multipartBody7001458546186695746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346913452,"filename":"image_11042025_03_31_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/11/acc6050ea0142ff8d9b232b49c9b8d8d.jpg","text":"TemporaryFile(/tmp/multipartBody8934506028471203078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346913452,"filename":"image_11042025_03_32_06_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ea4da06944dfc745b4698cd2ed05ccad.jpg","text":"TemporaryFile(/tmp/multipartBody3909423608855350335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346913452,"filename":"image_11042025_03_31_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/11/008c782c0733d8d3eb013a1d93e3529e.jpg","text":"TemporaryFile(/tmp/multipartBody4954516049760980602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346913452,"filename":"image_11042025_03_31_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/11/51f9913430772c5063f2ec1c4ac52d51.jpg","text":"TemporaryFile(/tmp/multipartBody6780265379275693629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346913452,"filename":"image_11042025_03_31_26_10405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351479274","file1":"1351479268","file0":"1351479255","file4":"1351479326","file5":"1351479329","file3":"1351479278"},"map_files_photo_id_array":[{"photo_id":"1351479329","filename":"file5"},{"photo_id":"1351479274","filename":"file2"},{"photo_id":"1351479326","filename":"file4"},{"photo_id":"1351479268","filename":"file1"},{"photo_id":"1351479255","filename":"file0"},{"photo_id":"1351479278","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351479329":["hashtag1","hashtag2"]},{"1351479278":["hashtag1","hashtag2"]},{"1351479326":["hashtag1","hashtag2"]},{"1351479274":["hashtag1","hashtag2"]},{"1351479268":["hashtag1","hashtag2"]},{"1351479255":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351479329, 1351479278, 1351479326, 1351479274, 1351479268, 1351479255)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.67391085624695 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 06:48:32.106538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/03/32/image_11042025_03_32_25_9355.jpg', '/home/pi/Desktop/images/11042025/03/32/image_11042025_03_32_36_10414.jpg', '/home/pi/Desktop/images/11042025/03/32/image_11042025_03_32_46_10386.jpg', '/home/pi/Desktop/images/11042025/03/32/image_11042025_03_32_56_9424.jpg', '/home/pi/Desktop/images/11042025/03/32/image_11042025_03_33_06_10377.jpg', '/home/pi/Desktop/images/11042025/03/33/image_11042025_03_33_16_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/03/32/image_11042025_03_32_25_9355.jpg
/home/pi/Desktop/images/11042025/03/32/image_11042025_03_32_36_10414.jpg
/home/pi/Desktop/images/11042025/03/32/image_11042025_03_32_46_10386.jpg
/home/pi/Desktop/images/11042025/03/32/image_11042025_03_32_56_9424.jpg
/home/pi/Desktop/images/11042025/03/32/image_11042025_03_33_06_10377.jpg
/home/pi/Desktop/images/11042025/03/33/image_11042025_03_33_16_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":["1351479602","1351479631","1351479508","1351479502","1351479555","1351479528"],"photo_ids_order":["1351479502","1351479508","1351479528","1351479555","1351479602","1351479631"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/253dc22a8e8ad7501c434221b78cd051.jpg","text":"TemporaryFile(/tmp/multipartBody5528203740716160049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346972659,"filename":"image_11042025_03_33_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/11/609ae717bd720fb629337ceb7280ecea.jpg","text":"TemporaryFile(/tmp/multipartBody2407579766912116046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346972659,"filename":"image_11042025_03_33_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/11/aad70c82684d23e1634e232cbe059fe6.jpg","text":"TemporaryFile(/tmp/multipartBody5416746868048772086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346972659,"filename":"image_11042025_03_32_36_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/84047dd0c639a0975c093a198da72b14.jpg","text":"TemporaryFile(/tmp/multipartBody8949049744026096300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346972659,"filename":"image_11042025_03_32_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/11/622650040451297eea189bbaef1ac33c.jpg","text":"TemporaryFile(/tmp/multipartBody5048776679011747396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346972659,"filename":"image_11042025_03_32_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/11/6c361d8260fa5be4fe38aa1df740df6f.jpg","text":"TemporaryFile(/tmp/multipartBody981266318097438350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744346972659,"filename":"image_11042025_03_32_46_10386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351479528","file1":"1351479508","file0":"1351479502","file4":"1351479602","file5":"1351479631","file3":"1351479555"},"map_files_photo_id_array":[{"photo_id":"1351479631","filename":"file5"},{"photo_id":"1351479528","filename":"file2"},{"photo_id":"1351479602","filename":"file4"},{"photo_id":"1351479508","filename":"file1"},{"photo_id":"1351479502","filename":"file0"},{"photo_id":"1351479555","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351479602":["hashtag1","hashtag2"]},{"1351479631":["hashtag1","hashtag2"]},{"1351479508":["hashtag1","hashtag2"]},{"1351479502":["hashtag1","hashtag2"]},{"1351479555":["hashtag1","hashtag2"]},{"1351479528":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351479602, 1351479631, 1351479508, 1351479502, 1351479555, 1351479528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.623640060424805 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 06:49:32.361715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/03/33/image_11042025_03_33_36_10357.jpg', '/home/pi/Desktop/images/11042025/03/33/image_11042025_03_33_46_9357.jpg', '/home/pi/Desktop/images/11042025/03/33/image_11042025_03_33_56_10410.jpg', '/home/pi/Desktop/images/11042025/03/33/image_11042025_03_34_06_10375.jpg', '/home/pi/Desktop/images/11042025/03/34/image_11042025_03_34_16_9486.jpg', '/home/pi/Desktop/images/11042025/03/34/image_11042025_03_34_26_10377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/03/33/image_11042025_03_33_36_10357.jpg
/home/pi/Desktop/images/11042025/03/33/image_11042025_03_33_46_9357.jpg
/home/pi/Desktop/images/11042025/03/33/image_11042025_03_33_56_10410.jpg
/home/pi/Desktop/images/11042025/03/33/image_11042025_03_34_06_10375.jpg
/home/pi/Desktop/images/11042025/03/34/image_11042025_03_34_16_9486.jpg
/home/pi/Desktop/images/11042025/03/34/image_11042025_03_34_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":["1351479881","1351479875","1351479807","1351479864","1351479834","1351479794"],"photo_ids_order":["1351479794","1351479807","1351479834","1351479864","1351479875","1351479881"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/fdfce6cba74f64f015e564da8994e79a.jpg","text":"TemporaryFile(/tmp/multipartBody6379564917194296209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347032917,"filename":"image_11042025_03_34_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/11/d6fc4f134c45d0e461c5b718866b46ad.jpg","text":"TemporaryFile(/tmp/multipartBody4732658555992316629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347032917,"filename":"image_11042025_03_34_16_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/11/36f8e12bdd08451078c2a42bfa1c9ffa.jpg","text":"TemporaryFile(/tmp/multipartBody7915056062336327185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347032917,"filename":"image_11042025_03_33_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/11/8e069e36e473c4dce3fb8fb1b0bb11c0.jpg","text":"TemporaryFile(/tmp/multipartBody3062153640294030469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347032917,"filename":"image_11042025_03_34_06_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/dd5c7bf95eb6bf2b22320c7e71fa1fb3.jpg","text":"TemporaryFile(/tmp/multipartBody7897392610162696454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347032917,"filename":"image_11042025_03_33_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/11/c9936801f2914c3a48a014660c62f273.jpg","text":"TemporaryFile(/tmp/multipartBody241127716598082084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347032917,"filename":"image_11042025_03_33_36_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351479834","file1":"1351479807","file0":"1351479794","file4":"1351479875","file5":"1351479881","file3":"1351479864"},"map_files_photo_id_array":[{"photo_id":"1351479881","filename":"file5"},{"photo_id":"1351479834","filename":"file2"},{"photo_id":"1351479875","filename":"file4"},{"photo_id":"1351479807","filename":"file1"},{"photo_id":"1351479794","filename":"file0"},{"photo_id":"1351479864","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351479881":["hashtag1","hashtag2"]},{"1351479875":["hashtag1","hashtag2"]},{"1351479807":["hashtag1","hashtag2"]},{"1351479864":["hashtag1","hashtag2"]},{"1351479834":["hashtag1","hashtag2"]},{"1351479794":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351479881, 1351479875, 1351479807, 1351479864, 1351479834, 1351479794)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.59222936630249 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 06:50:32.623890
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/03/34/image_11042025_03_34_36_9366.jpg', '/home/pi/Desktop/images/11042025/03/34/image_11042025_03_34_55_9386.jpg', '/home/pi/Desktop/images/11042025/03/34/image_11042025_03_35_06_10412.jpg', '/home/pi/Desktop/images/11042025/03/35/image_11042025_03_35_16_10357.jpg', '/home/pi/Desktop/images/11042025/03/35/image_11042025_03_35_25_9349.jpg', '/home/pi/Desktop/images/11042025/03/35/image_11042025_03_35_36_10452.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/03/34/image_11042025_03_34_36_9366.jpg
/home/pi/Desktop/images/11042025/03/34/image_11042025_03_34_55_9386.jpg
/home/pi/Desktop/images/11042025/03/34/image_11042025_03_35_06_10412.jpg
/home/pi/Desktop/images/11042025/03/35/image_11042025_03_35_16_10357.jpg
/home/pi/Desktop/images/11042025/03/35/image_11042025_03_35_25_9349.jpg
/home/pi/Desktop/images/11042025/03/35/image_11042025_03_35_36_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":["1351480097","1351480064","1351479979","1351479937","1351480081","1351480075"],"photo_ids_order":["1351479937","1351479979","1351480064","1351480075","1351480081","1351480097"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e1a2950880fe5ffc40108c641ad21ace.jpg","text":"TemporaryFile(/tmp/multipartBody5782276175225681008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347093187,"filename":"image_11042025_03_35_36_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7044effa3358999ab20fc3dda2db9a2d.jpg","text":"TemporaryFile(/tmp/multipartBody4402907874058667299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347093187,"filename":"image_11042025_03_35_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/11/fc1a703e92d3442ed1b2b293587069c5.jpg","text":"TemporaryFile(/tmp/multipartBody5219164999742924447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347093187,"filename":"image_11042025_03_34_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/11/6a030aeb13d8c6b617880bfdf7cff54e.jpg","text":"TemporaryFile(/tmp/multipartBody2708542867207164843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347093187,"filename":"image_11042025_03_34_36_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/11/3895600e47f95618c4093e0a332eb324.jpg","text":"TemporaryFile(/tmp/multipartBody8770737695301434436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347093187,"filename":"image_11042025_03_35_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/11/8dcabe3e095cce1d0525ae29a305d592.jpg","text":"TemporaryFile(/tmp/multipartBody7061634292764645366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347093187,"filename":"image_11042025_03_35_16_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351480064","file1":"1351479979","file0":"1351479937","file4":"1351480081","file5":"1351480097","file3":"1351480075"},"map_files_photo_id_array":[{"photo_id":"1351480097","filename":"file5"},{"photo_id":"1351480064","filename":"file2"},{"photo_id":"1351480081","filename":"file4"},{"photo_id":"1351479979","filename":"file1"},{"photo_id":"1351479937","filename":"file0"},{"photo_id":"1351480075","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351480097":["hashtag1","hashtag2"]},{"1351480064":["hashtag1","hashtag2"]},{"1351479979":["hashtag1","hashtag2"]},{"1351479937":["hashtag1","hashtag2"]},{"1351480081":["hashtag1","hashtag2"]},{"1351480075":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351480097, 1351480064, 1351479979, 1351479937, 1351480081, 1351480075)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.583539724349976 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 06:51:32.823476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/03/35/image_11042025_03_35_56_10400.jpg', '/home/pi/Desktop/images/11042025/03/35/image_11042025_03_36_06_10374.jpg', '/home/pi/Desktop/images/11042025/03/36/image_11042025_03_36_16_9349.jpg', '/home/pi/Desktop/images/11042025/03/36/image_11042025_03_36_26_10479.jpg', '/home/pi/Desktop/images/11042025/03/36/image_11042025_03_36_46_10494.jpg', '/home/pi/Desktop/images/11042025/03/36/image_11042025_03_37_06_9368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/03/35/image_11042025_03_35_56_10400.jpg
/home/pi/Desktop/images/11042025/03/35/image_11042025_03_36_06_10374.jpg
/home/pi/Desktop/images/11042025/03/36/image_11042025_03_36_16_9349.jpg
/home/pi/Desktop/images/11042025/03/36/image_11042025_03_36_26_10479.jpg
/home/pi/Desktop/images/11042025/03/36/image_11042025_03_36_46_10494.jpg
/home/pi/Desktop/images/11042025/03/36/image_11042025_03_37_06_9368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351480251","1351480239","1351480248","1351480227","1351480200","1351480243"],"photo_ids_order":["1351480200","1351480227","1351480239","1351480243","1351480248","1351480251"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4331af6ee458518d4be35d9e8d3fc37a.jpg","text":"TemporaryFile(/tmp/multipartBody178944846401326087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347153377,"filename":"image_11042025_03_37_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/11/7029e918d182042ff44611347bec20d2.jpg","text":"TemporaryFile(/tmp/multipartBody1796823776267546328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347153377,"filename":"image_11042025_03_36_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/11/c76bbf750416bf5a82be4d3e939d2ebf.jpg","text":"TemporaryFile(/tmp/multipartBody496457838071321374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347153377,"filename":"image_11042025_03_36_46_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/11/b1a8005a2184358e8b9eb3281de54bfb.jpg","text":"TemporaryFile(/tmp/multipartBody6770215878671448758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347153377,"filename":"image_11042025_03_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/11/b252c549180a06b53e6198ef230ebf1e.jpg","text":"TemporaryFile(/tmp/multipartBody7076014669982007903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347153377,"filename":"image_11042025_03_35_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/11/6d51cc5c453cfa8067682f365928ddd8.jpg","text":"TemporaryFile(/tmp/multipartBody7288821343178508813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347153377,"filename":"image_11042025_03_36_26_10479.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351480239","file1":"1351480227","file0":"1351480200","file4":"1351480248","file5":"1351480251","file3":"1351480243"},"map_files_photo_id_array":[{"photo_id":"1351480251","filename":"file5"},{"photo_id":"1351480239","filename":"file2"},{"photo_id":"1351480248","filename":"file4"},{"photo_id":"1351480227","filename":"file1"},{"photo_id":"1351480200","filename":"file0"},{"photo_id":"1351480243","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351480251":["hashtag1","hashtag2"]},{"1351480239":["hashtag1","hashtag2"]},{"1351480248":["hashtag1","hashtag2"]},{"1351480227":["hashtag1","hashtag2"]},{"1351480200":["hashtag1","hashtag2"]},{"1351480243":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351480251, 1351480239, 1351480248, 1351480227, 1351480200, 1351480243)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.8890061378479 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 06:52:32.955527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/03/37/image_11042025_03_37_16_10485.jpg', '/home/pi/Desktop/images/11042025/03/37/image_11042025_03_37_36_10476.jpg', '/home/pi/Desktop/images/11042025/03/37/image_11042025_03_37_56_9500.jpg', '/home/pi/Desktop/images/11042025/03/37/image_11042025_03_38_06_10461.jpg', '/home/pi/Desktop/images/11042025/03/38/image_11042025_03_38_16_9366.jpg', '/home/pi/Desktop/images/11042025/03/38/image_11042025_03_38_26_10390.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/03/37/image_11042025_03_37_16_10485.jpg
/home/pi/Desktop/images/11042025/03/37/image_11042025_03_37_36_10476.jpg
/home/pi/Desktop/images/11042025/03/37/image_11042025_03_37_56_9500.jpg
/home/pi/Desktop/images/11042025/03/37/image_11042025_03_38_06_10461.jpg
/home/pi/Desktop/images/11042025/03/38/image_11042025_03_38_16_9366.jpg
/home/pi/Desktop/images/11042025/03/38/image_11042025_03_38_26_10390.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.45807909965515137 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 06:52:42.969821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/03/37/image_11042025_03_37_16_10485.jpg', '/home/pi/Desktop/images/11042025/03/37/image_11042025_03_37_36_10476.jpg', '/home/pi/Desktop/images/11042025/03/37/image_11042025_03_37_56_9500.jpg', '/home/pi/Desktop/images/11042025/03/37/image_11042025_03_38_06_10461.jpg', '/home/pi/Desktop/images/11042025/03/38/image_11042025_03_38_16_9366.jpg', '/home/pi/Desktop/images/11042025/03/38/image_11042025_03_38_26_10390.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/03/37/image_11042025_03_37_16_10485.jpg
/home/pi/Desktop/images/11042025/03/37/image_11042025_03_37_36_10476.jpg
/home/pi/Desktop/images/11042025/03/37/image_11042025_03_37_56_9500.jpg
/home/pi/Desktop/images/11042025/03/37/image_11042025_03_38_06_10461.jpg
/home/pi/Desktop/images/11042025/03/38/image_11042025_03_38_16_9366.jpg
/home/pi/Desktop/images/11042025/03/38/image_11042025_03_38_26_10390.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351480305","1351480308","1351480286","1351480301","1351480297","1351480290"],"photo_ids_order":["1351480286","1351480290","1351480297","1351480301","1351480305","1351480308"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d0830b953aec3364155e717648b07195.jpg","text":"TemporaryFile(/tmp/multipartBody3627936110425062642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347223496,"filename":"image_11042025_03_38_16_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/78de417ecfe37fa48533c7b264d0e22d.jpg","text":"TemporaryFile(/tmp/multipartBody2283013055874333470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347223496,"filename":"image_11042025_03_38_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/11/9b073ab5af1913e582542108bef7fe43.jpg","text":"TemporaryFile(/tmp/multipartBody7284214280173978712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347223496,"filename":"image_11042025_03_37_16_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/11/bdeaf17ab6348537cc9c88b8a748c4d7.jpg","text":"TemporaryFile(/tmp/multipartBody4929862458508367644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347223496,"filename":"image_11042025_03_38_06_10461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3711f927ec88d6b0c18a26088bda15c2.jpg","text":"TemporaryFile(/tmp/multipartBody5648479027564687615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347223496,"filename":"image_11042025_03_37_56_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/11/1077b26ec31dfab3518a04a34dc05b6d.jpg","text":"TemporaryFile(/tmp/multipartBody6725924187535434380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347223496,"filename":"image_11042025_03_37_36_10476.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351480297","file1":"1351480290","file0":"1351480286","file4":"1351480305","file5":"1351480308","file3":"1351480301"},"map_files_photo_id_array":[{"photo_id":"1351480308","filename":"file5"},{"photo_id":"1351480297","filename":"file2"},{"photo_id":"1351480305","filename":"file4"},{"photo_id":"1351480290","filename":"file1"},{"photo_id":"1351480286","filename":"file0"},{"photo_id":"1351480301","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351480305":["hashtag1","hashtag2"]},{"1351480308":["hashtag1","hashtag2"]},{"1351480286":["hashtag1","hashtag2"]},{"1351480301":["hashtag1","hashtag2"]},{"1351480297":["hashtag1","hashtag2"]},{"1351480290":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351480305, 1351480308, 1351480286, 1351480301, 1351480297, 1351480290)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.83985900878906 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 06:53:32.283071
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/03/38/image_11042025_03_38_46_10431.jpg', '/home/pi/Desktop/images/11042025/03/38/image_11042025_03_39_06_9445.jpg', '/home/pi/Desktop/images/11042025/03/39/image_11042025_03_39_16_10460.jpg', '/home/pi/Desktop/images/11042025/03/39/image_11042025_03_39_26_9414.jpg', '/home/pi/Desktop/images/11042025/03/39/image_11042025_03_39_36_10438.jpg', '/home/pi/Desktop/images/11042025/03/39/image_11042025_03_39_46_9470.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/03/38/image_11042025_03_38_46_10431.jpg
/home/pi/Desktop/images/11042025/03/38/image_11042025_03_39_06_9445.jpg
/home/pi/Desktop/images/11042025/03/39/image_11042025_03_39_16_10460.jpg
/home/pi/Desktop/images/11042025/03/39/image_11042025_03_39_26_9414.jpg
/home/pi/Desktop/images/11042025/03/39/image_11042025_03_39_36_10438.jpg
/home/pi/Desktop/images/11042025/03/39/image_11042025_03_39_46_9470.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351480410","1351480358","1351480388","1351480361","1351480355","1351480384"],"photo_ids_order":["1351480355","1351480358","1351480361","1351480384","1351480388","1351480410"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4759f948cb26bbca2132665d1defadf3.jpg","text":"TemporaryFile(/tmp/multipartBody6813686339332910873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347272835,"filename":"image_11042025_03_39_46_9470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0f94d51855c0c0fc1e522cf091b464b9.jpg","text":"TemporaryFile(/tmp/multipartBody3862417249034912839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347272835,"filename":"image_11042025_03_39_06_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/32cf7cd630a4d634aa3656a3411c39c3.jpg","text":"TemporaryFile(/tmp/multipartBody380215387465472706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347272835,"filename":"image_11042025_03_39_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/11/ca89ae37ed9f4e962e5d25c8153b7f13.jpg","text":"TemporaryFile(/tmp/multipartBody8960771352286195841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347272835,"filename":"image_11042025_03_39_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/11/ded2e67849ff7d249bbc08c4d147b546.jpg","text":"TemporaryFile(/tmp/multipartBody1728206553143972602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347272835,"filename":"image_11042025_03_38_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/11/142175e21ec0a5816db2dc3e14384fa0.jpg","text":"TemporaryFile(/tmp/multipartBody508194111876966724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347272835,"filename":"image_11042025_03_39_26_9414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351480361","file1":"1351480358","file0":"1351480355","file4":"1351480388","file5":"1351480410","file3":"1351480384"},"map_files_photo_id_array":[{"photo_id":"1351480410","filename":"file5"},{"photo_id":"1351480361","filename":"file2"},{"photo_id":"1351480388","filename":"file4"},{"photo_id":"1351480358","filename":"file1"},{"photo_id":"1351480355","filename":"file0"},{"photo_id":"1351480384","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351480410":["hashtag1","hashtag2"]},{"1351480358":["hashtag1","hashtag2"]},{"1351480388":["hashtag1","hashtag2"]},{"1351480361":["hashtag1","hashtag2"]},{"1351480355":["hashtag1","hashtag2"]},{"1351480384":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351480410, 1351480358, 1351480388, 1351480361, 1351480355, 1351480384)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.58718752861023 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 06:54:32.347472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/03/39/image_11042025_03_39_56_10440.jpg', '/home/pi/Desktop/images/11042025/03/39/image_11042025_03_40_05_9386.jpg', '/home/pi/Desktop/images/11042025/03/40/image_11042025_03_40_36_9346.jpg', '/home/pi/Desktop/images/11042025/03/40/image_11042025_03_40_46_10488.jpg', '/home/pi/Desktop/images/11042025/03/40/image_11042025_03_41_06_10446.jpg', '/home/pi/Desktop/images/11042025/03/41/image_11042025_03_41_15_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/03/39/image_11042025_03_39_56_10440.jpg
/home/pi/Desktop/images/11042025/03/39/image_11042025_03_40_05_9386.jpg
/home/pi/Desktop/images/11042025/03/40/image_11042025_03_40_36_9346.jpg
/home/pi/Desktop/images/11042025/03/40/image_11042025_03_40_46_10488.jpg
/home/pi/Desktop/images/11042025/03/40/image_11042025_03_41_06_10446.jpg
/home/pi/Desktop/images/11042025/03/41/image_11042025_03_41_15_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":["1351480562","1351480556","1351480559","1351480566","1351480551","1351480554"],"photo_ids_order":["1351480551","1351480554","1351480556","1351480559","1351480562","1351480566"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/25f19110d393e932b17191390217e566.jpg","text":"TemporaryFile(/tmp/multipartBody5729520532377839921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347332896,"filename":"image_11042025_03_41_06_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5b4ab123a73f69cc49c2a37beb924f5c.jpg","text":"TemporaryFile(/tmp/multipartBody6057449328854231035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347332896,"filename":"image_11042025_03_40_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/11/3ba7e65ee59a2318e5082cc69f81a9e6.jpg","text":"TemporaryFile(/tmp/multipartBody563100610313740209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347332896,"filename":"image_11042025_03_40_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/11/60ed04c4c6523eede6ebe2b6ce8ed6df.jpg","text":"TemporaryFile(/tmp/multipartBody7202528903094266916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347332896,"filename":"image_11042025_03_41_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/11/71f3a1acf1286e282bc959cae3da3f16.jpg","text":"TemporaryFile(/tmp/multipartBody6685532449625040982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347332896,"filename":"image_11042025_03_39_56_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/523e4f7af3bb057d8f6bd37e9b3d8007.jpg","text":"TemporaryFile(/tmp/multipartBody5194014939438423857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347332896,"filename":"image_11042025_03_40_05_9386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351480556","file1":"1351480554","file0":"1351480551","file4":"1351480562","file5":"1351480566","file3":"1351480559"},"map_files_photo_id_array":[{"photo_id":"1351480566","filename":"file5"},{"photo_id":"1351480556","filename":"file2"},{"photo_id":"1351480562","filename":"file4"},{"photo_id":"1351480554","filename":"file1"},{"photo_id":"1351480551","filename":"file0"},{"photo_id":"1351480559","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351480562":["hashtag1","hashtag2"]},{"1351480556":["hashtag1","hashtag2"]},{"1351480559":["hashtag1","hashtag2"]},{"1351480566":["hashtag1","hashtag2"]},{"1351480551":["hashtag1","hashtag2"]},{"1351480554":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351480562, 1351480556, 1351480559, 1351480566, 1351480551, 1351480554)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.158365964889526 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 06:55:32.605414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/03/41/image_11042025_03_41_26_10536.jpg', '/home/pi/Desktop/images/11042025/03/41/image_11042025_03_41_36_10346.jpg', '/home/pi/Desktop/images/11042025/03/41/image_11042025_03_41_46_9329.jpg', '/home/pi/Desktop/images/11042025/03/41/image_11042025_03_41_56_10358.jpg', '/home/pi/Desktop/images/11042025/03/41/image_11042025_03_42_06_10338.jpg', '/home/pi/Desktop/images/11042025/03/42/image_11042025_03_42_16_9370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/03/41/image_11042025_03_41_26_10536.jpg
/home/pi/Desktop/images/11042025/03/41/image_11042025_03_41_36_10346.jpg
/home/pi/Desktop/images/11042025/03/41/image_11042025_03_41_46_9329.jpg
/home/pi/Desktop/images/11042025/03/41/image_11042025_03_41_56_10358.jpg
/home/pi/Desktop/images/11042025/03/41/image_11042025_03_42_06_10338.jpg
/home/pi/Desktop/images/11042025/03/42/image_11042025_03_42_16_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":["1351480592","1351480598","1351480601","1351480594","1351480588","1351480584"],"photo_ids_order":["1351480584","1351480588","1351480592","1351480594","1351480598","1351480601"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/af03a5247abf8987f57e743e76f8824c.jpg","text":"TemporaryFile(/tmp/multipartBody1619153101917353336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347393172,"filename":"image_11042025_03_41_46_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d8c57a67a701ede6ae1893b686d004e3.jpg","text":"TemporaryFile(/tmp/multipartBody2744837601457982194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347393172,"filename":"image_11042025_03_42_06_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/adbfc69ec4cd68ad2e196ee9e3a5fcb6.jpg","text":"TemporaryFile(/tmp/multipartBody6506884687003764910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347393172,"filename":"image_11042025_03_42_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/11/77b4566b4db578f2cfaa2f510f76e5e4.jpg","text":"TemporaryFile(/tmp/multipartBody8579538228263653767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347393172,"filename":"image_11042025_03_41_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/11/caeb45555316b49c9ab8380f0cef720c.jpg","text":"TemporaryFile(/tmp/multipartBody6772497514540746396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347393172,"filename":"image_11042025_03_41_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/11/6f87a91143851f746ca1efd7520c9a67.jpg","text":"TemporaryFile(/tmp/multipartBody2015749208490814269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347393172,"filename":"image_11042025_03_41_26_10536.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351480592","file1":"1351480588","file0":"1351480584","file4":"1351480598","file5":"1351480601","file3":"1351480594"},"map_files_photo_id_array":[{"photo_id":"1351480601","filename":"file5"},{"photo_id":"1351480592","filename":"file2"},{"photo_id":"1351480598","filename":"file4"},{"photo_id":"1351480588","filename":"file1"},{"photo_id":"1351480584","filename":"file0"},{"photo_id":"1351480594","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351480592":["hashtag1","hashtag2"]},{"1351480598":["hashtag1","hashtag2"]},{"1351480601":["hashtag1","hashtag2"]},{"1351480594":["hashtag1","hashtag2"]},{"1351480588":["hashtag1","hashtag2"]},{"1351480584":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351480592, 1351480598, 1351480601, 1351480594, 1351480588, 1351480584)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.23182964324951 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 06:56:32.943012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/03/42/image_11042025_03_42_35_9356.jpg', '/home/pi/Desktop/images/11042025/03/42/image_11042025_03_42_46_10421.jpg', '/home/pi/Desktop/images/11042025/03/42/image_11042025_03_42_56_10382.jpg', '/home/pi/Desktop/images/11042025/03/42/image_11042025_03_43_06_9363.jpg', '/home/pi/Desktop/images/11042025/03/43/image_11042025_03_43_16_10496.jpg', '/home/pi/Desktop/images/11042025/03/43/image_11042025_03_43_25_9354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/03/42/image_11042025_03_42_35_9356.jpg
/home/pi/Desktop/images/11042025/03/42/image_11042025_03_42_46_10421.jpg
/home/pi/Desktop/images/11042025/03/42/image_11042025_03_42_56_10382.jpg
/home/pi/Desktop/images/11042025/03/42/image_11042025_03_43_06_9363.jpg
/home/pi/Desktop/images/11042025/03/43/image_11042025_03_43_16_10496.jpg
/home/pi/Desktop/images/11042025/03/43/image_11042025_03_43_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":["1351480619","1351480628","1351480622","1351480621","1351480624","1351480626"],"photo_ids_order":["1351480619","1351480621","1351480622","1351480624","1351480626","1351480628"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/16a38d78cbc48589e163653404a32a17.jpg","text":"TemporaryFile(/tmp/multipartBody1038972252373012330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347453427,"filename":"image_11042025_03_42_35_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/77e6d83301f1715368b88012866c454c.jpg","text":"TemporaryFile(/tmp/multipartBody8880069380681686009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347453427,"filename":"image_11042025_03_43_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/11/6d15287f1e17c1370cb20aaba1cb23be.jpg","text":"TemporaryFile(/tmp/multipartBody1553043812637142154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347453427,"filename":"image_11042025_03_42_56_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6e985e19a4d8fb19bd7e77d76ee5b16e.jpg","text":"TemporaryFile(/tmp/multipartBody4011070639920035853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347453427,"filename":"image_11042025_03_42_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/11/ded1022a34a719a17eeb6e35161c3022.jpg","text":"TemporaryFile(/tmp/multipartBody4952071680880572699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347453427,"filename":"image_11042025_03_43_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/11/43b645f3ffe89923fff57956da4f25e1.jpg","text":"TemporaryFile(/tmp/multipartBody8523727321490430310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347453427,"filename":"image_11042025_03_43_16_10496.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351480622","file1":"1351480621","file0":"1351480619","file4":"1351480626","file5":"1351480628","file3":"1351480624"},"map_files_photo_id_array":[{"photo_id":"1351480628","filename":"file5"},{"photo_id":"1351480622","filename":"file2"},{"photo_id":"1351480626","filename":"file4"},{"photo_id":"1351480621","filename":"file1"},{"photo_id":"1351480619","filename":"file0"},{"photo_id":"1351480624","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351480619":["hashtag1","hashtag2"]},{"1351480628":["hashtag1","hashtag2"]},{"1351480622":["hashtag1","hashtag2"]},{"1351480621":["hashtag1","hashtag2"]},{"1351480624":["hashtag1","hashtag2"]},{"1351480626":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351480619, 1351480628, 1351480622, 1351480621, 1351480624, 1351480626)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.92228627204895 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 06:57:32.251644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/03/43/image_11042025_03_43_36_10470.jpg', '/home/pi/Desktop/images/11042025/03/43/image_11042025_03_43_46_10370.jpg', '/home/pi/Desktop/images/11042025/03/43/image_11042025_03_43_56_9376.jpg', '/home/pi/Desktop/images/11042025/03/44/image_11042025_03_44_15_9354.jpg', '/home/pi/Desktop/images/11042025/03/44/image_11042025_03_44_26_10520.jpg', '/home/pi/Desktop/images/11042025/03/44/image_11042025_03_44_36_10391.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/03/43/image_11042025_03_43_36_10470.jpg
/home/pi/Desktop/images/11042025/03/43/image_11042025_03_43_46_10370.jpg
/home/pi/Desktop/images/11042025/03/43/image_11042025_03_43_56_9376.jpg
/home/pi/Desktop/images/11042025/03/44/image_11042025_03_44_15_9354.jpg
/home/pi/Desktop/images/11042025/03/44/image_11042025_03_44_26_10520.jpg
/home/pi/Desktop/images/11042025/03/44/image_11042025_03_44_36_10391.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-11 06:59:04.110265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/03/43/image_11042025_03_43_36_10470.jpg', '/home/pi/Desktop/images/11042025/03/43/image_11042025_03_43_46_10370.jpg', '/home/pi/Desktop/images/11042025/03/43/image_11042025_03_43_56_9376.jpg', '/home/pi/Desktop/images/11042025/03/44/image_11042025_03_44_15_9354.jpg', '/home/pi/Desktop/images/11042025/03/44/image_11042025_03_44_26_10520.jpg', '/home/pi/Desktop/images/11042025/03/44/image_11042025_03_44_36_10391.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/03/43/image_11042025_03_43_36_10470.jpg
/home/pi/Desktop/images/11042025/03/43/image_11042025_03_43_46_10370.jpg
/home/pi/Desktop/images/11042025/03/43/image_11042025_03_43_56_9376.jpg
/home/pi/Desktop/images/11042025/03/44/image_11042025_03_44_15_9354.jpg
/home/pi/Desktop/images/11042025/03/44/image_11042025_03_44_26_10520.jpg
/home/pi/Desktop/images/11042025/03/44/image_11042025_03_44_36_10391.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351480902","1351480916","1351480909","1351480896","1351480890","1351480884"],"photo_ids_order":["1351480884","1351480890","1351480896","1351480902","1351480909","1351480916"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e56c4864ac1a84019b128ba806fddfd2.jpg","text":"TemporaryFile(/tmp/multipartBody326098825207305102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347604711,"filename":"image_11042025_03_44_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/11/f2ae73a27a3b0473018d982822430baf.jpg","text":"TemporaryFile(/tmp/multipartBody2817530818812527398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347604711,"filename":"image_11042025_03_44_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/11/308c59d48f152149409bdd265afeb774.jpg","text":"TemporaryFile(/tmp/multipartBody455347489238786712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347604711,"filename":"image_11042025_03_44_26_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/11/e9572625bbd16acbda51babbdc34c311.jpg","text":"TemporaryFile(/tmp/multipartBody4269005750751092519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347604711,"filename":"image_11042025_03_43_56_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/11/6bff909e7239ea782157d57e637f4719.jpg","text":"TemporaryFile(/tmp/multipartBody64594234463081079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347604711,"filename":"image_11042025_03_43_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/11/4914e31afae33b273d485fa05db9b80e.jpg","text":"TemporaryFile(/tmp/multipartBody3564626731205395905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347604711,"filename":"image_11042025_03_43_36_10470.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351480896","file1":"1351480890","file0":"1351480884","file4":"1351480909","file5":"1351480916","file3":"1351480902"},"map_files_photo_id_array":[{"photo_id":"1351480916","filename":"file5"},{"photo_id":"1351480896","filename":"file2"},{"photo_id":"1351480909","filename":"file4"},{"photo_id":"1351480890","filename":"file1"},{"photo_id":"1351480884","filename":"file0"},{"photo_id":"1351480902","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351480902":["hashtag1","hashtag2"]},{"1351480916":["hashtag1","hashtag2"]},{"1351480909":["hashtag1","hashtag2"]},{"1351480896":["hashtag1","hashtag2"]},{"1351480890":["hashtag1","hashtag2"]},{"1351480884":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351480902, 1351480916, 1351480909, 1351480896, 1351480890, 1351480884)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.16890287399292 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 06:59:43.117306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/03/44/image_11042025_03_44_46_9437.jpg', '/home/pi/Desktop/images/11042025/03/44/image_11042025_03_44_56_10373.jpg', '/home/pi/Desktop/images/11042025/03/44/image_11042025_03_45_06_9426.jpg', '/home/pi/Desktop/images/11042025/03/45/image_11042025_03_45_16_10395.jpg', '/home/pi/Desktop/images/11042025/03/45/image_11042025_03_45_26_10375.jpg', '/home/pi/Desktop/images/11042025/03/45/image_11042025_03_45_36_9425.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/03/44/image_11042025_03_44_46_9437.jpg
/home/pi/Desktop/images/11042025/03/44/image_11042025_03_44_56_10373.jpg
/home/pi/Desktop/images/11042025/03/44/image_11042025_03_45_06_9426.jpg
/home/pi/Desktop/images/11042025/03/45/image_11042025_03_45_16_10395.jpg
/home/pi/Desktop/images/11042025/03/45/image_11042025_03_45_26_10375.jpg
/home/pi/Desktop/images/11042025/03/45/image_11042025_03_45_36_9425.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351480934","1351480937","1351480931","1351480939","1351480927","1351480944"],"photo_ids_order":["1351480927","1351480931","1351480934","1351480937","1351480939","1351480944"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5d26b1c2bc187d79232c9d928e865ae5.jpg","text":"TemporaryFile(/tmp/multipartBody2270018565703246308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347643593,"filename":"image_11042025_03_45_06_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/33740590549ba8fa0a70dc523cde1075.jpg","text":"TemporaryFile(/tmp/multipartBody8812621411944793864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347643593,"filename":"image_11042025_03_45_16_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4ffc9c7ee12845bd47d34bde0258eb56.jpg","text":"TemporaryFile(/tmp/multipartBody7557500429214915581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347643593,"filename":"image_11042025_03_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/11/7c5b3f615a3e7da27438eaf6d1048beb.jpg","text":"TemporaryFile(/tmp/multipartBody997998585356567513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347643593,"filename":"image_11042025_03_45_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/11/965d15bcd50ae21a4a0211f78d88ba6d.jpg","text":"TemporaryFile(/tmp/multipartBody8176629137914575542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347643593,"filename":"image_11042025_03_44_46_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f733b26732ff769158d01260cc93d800.jpg","text":"TemporaryFile(/tmp/multipartBody985698874500654481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347643593,"filename":"image_11042025_03_45_36_9425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351480934","file1":"1351480931","file0":"1351480927","file4":"1351480939","file5":"1351480944","file3":"1351480937"},"map_files_photo_id_array":[{"photo_id":"1351480944","filename":"file5"},{"photo_id":"1351480934","filename":"file2"},{"photo_id":"1351480939","filename":"file4"},{"photo_id":"1351480931","filename":"file1"},{"photo_id":"1351480927","filename":"file0"},{"photo_id":"1351480937","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351480934":["hashtag1","hashtag2"]},{"1351480937":["hashtag1","hashtag2"]},{"1351480931":["hashtag1","hashtag2"]},{"1351480939":["hashtag1","hashtag2"]},{"1351480927":["hashtag1","hashtag2"]},{"1351480944":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351480934, 1351480937, 1351480931, 1351480939, 1351480927, 1351480944)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.967867851257324 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 07:00:32.266799
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/03/45/image_11042025_03_45_46_10349.jpg', '/home/pi/Desktop/images/11042025/03/45/image_11042025_03_46_06_10361.jpg', '/home/pi/Desktop/images/11042025/03/46/image_11042025_03_46_16_10362.jpg', '/home/pi/Desktop/images/11042025/03/46/image_11042025_03_46_26_9427.jpg', '/home/pi/Desktop/images/11042025/03/46/image_11042025_03_46_36_10418.jpg', '/home/pi/Desktop/images/11042025/03/46/image_11042025_03_46_45_9364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/03/45/image_11042025_03_45_46_10349.jpg
/home/pi/Desktop/images/11042025/03/45/image_11042025_03_46_06_10361.jpg
/home/pi/Desktop/images/11042025/03/46/image_11042025_03_46_16_10362.jpg
/home/pi/Desktop/images/11042025/03/46/image_11042025_03_46_26_9427.jpg
/home/pi/Desktop/images/11042025/03/46/image_11042025_03_46_36_10418.jpg
/home/pi/Desktop/images/11042025/03/46/image_11042025_03_46_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":["1351480958","1351480993","1351480989","1351480962","1351480971","1351480965"],"photo_ids_order":["1351480958","1351480962","1351480965","1351480971","1351480989","1351480993"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8e0b37608cc359c71f38ce381d1c2564.jpg","text":"TemporaryFile(/tmp/multipartBody8931360807962798884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347692751,"filename":"image_11042025_03_45_46_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0a08d5fe7739f2a0870cfdb3dc7e9fb1.jpg","text":"TemporaryFile(/tmp/multipartBody2468977952235571781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347692751,"filename":"image_11042025_03_46_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/11/66957bc0a0841e84beac2474c2c89b87.jpg","text":"TemporaryFile(/tmp/multipartBody937786659738308910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347692751,"filename":"image_11042025_03_46_36_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e6308a0263e2f6da6f37ccc9838b4457.jpg","text":"TemporaryFile(/tmp/multipartBody2597074330654199923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347692751,"filename":"image_11042025_03_46_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/11/f424877206138f192405276bfa8ca796.jpg","text":"TemporaryFile(/tmp/multipartBody8020019168080796157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347692751,"filename":"image_11042025_03_46_26_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/baaac581275b5c3daa72db0903f1dfa0.jpg","text":"TemporaryFile(/tmp/multipartBody130039068983301987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347692751,"filename":"image_11042025_03_46_16_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351480965","file1":"1351480962","file0":"1351480958","file4":"1351480989","file5":"1351480993","file3":"1351480971"},"map_files_photo_id_array":[{"photo_id":"1351480993","filename":"file5"},{"photo_id":"1351480965","filename":"file2"},{"photo_id":"1351480989","filename":"file4"},{"photo_id":"1351480962","filename":"file1"},{"photo_id":"1351480958","filename":"file0"},{"photo_id":"1351480971","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351480958":["hashtag1","hashtag2"]},{"1351480993":["hashtag1","hashtag2"]},{"1351480989":["hashtag1","hashtag2"]},{"1351480962":["hashtag1","hashtag2"]},{"1351480971":["hashtag1","hashtag2"]},{"1351480965":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351480958, 1351480993, 1351480989, 1351480962, 1351480971, 1351480965)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.27601432800293 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 07:01:32.548544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/03/46/image_11042025_03_46_56_10513.jpg', '/home/pi/Desktop/images/11042025/03/46/image_11042025_03_47_06_10344.jpg', '/home/pi/Desktop/images/11042025/03/47/image_11042025_03_47_16_9365.jpg', '/home/pi/Desktop/images/11042025/03/47/image_11042025_03_47_26_10487.jpg', '/home/pi/Desktop/images/11042025/03/47/image_11042025_03_47_36_9429.jpg', '/home/pi/Desktop/images/11042025/03/47/image_11042025_03_47_46_10485.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/03/46/image_11042025_03_46_56_10513.jpg
/home/pi/Desktop/images/11042025/03/46/image_11042025_03_47_06_10344.jpg
/home/pi/Desktop/images/11042025/03/47/image_11042025_03_47_16_9365.jpg
/home/pi/Desktop/images/11042025/03/47/image_11042025_03_47_26_10487.jpg
/home/pi/Desktop/images/11042025/03/47/image_11042025_03_47_36_9429.jpg
/home/pi/Desktop/images/11042025/03/47/image_11042025_03_47_46_10485.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351481018","1351481038","1351481041","1351481020","1351481023","1351481073"],"photo_ids_order":["1351481018","1351481020","1351481023","1351481038","1351481041","1351481073"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/21791baa6dd3264472bcd86c8027f55a.jpg","text":"TemporaryFile(/tmp/multipartBody3001635865756117773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347753012,"filename":"image_11042025_03_46_56_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/11/c1c74a47bb89ba55145741657d9f4a72.jpg","text":"TemporaryFile(/tmp/multipartBody3221280247129532625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347753012,"filename":"image_11042025_03_47_26_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/11/e51b3d3961ffeb9017108477d9daffc9.jpg","text":"TemporaryFile(/tmp/multipartBody423173759734631629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347753012,"filename":"image_11042025_03_47_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/11/829ecdbd48c8b8a05b6dffe4904e698a.jpg","text":"TemporaryFile(/tmp/multipartBody7327508655464923862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347753012,"filename":"image_11042025_03_47_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/11/9c152a05012d914676aa55ef616b9ca0.jpg","text":"TemporaryFile(/tmp/multipartBody3934636457180230340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347753012,"filename":"image_11042025_03_47_16_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/78c2c8420394ae62355fa3e66518ac32.jpg","text":"TemporaryFile(/tmp/multipartBody2735620843896549200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347753012,"filename":"image_11042025_03_47_46_10485.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351481023","file1":"1351481020","file0":"1351481018","file4":"1351481041","file5":"1351481073","file3":"1351481038"},"map_files_photo_id_array":[{"photo_id":"1351481073","filename":"file5"},{"photo_id":"1351481023","filename":"file2"},{"photo_id":"1351481041","filename":"file4"},{"photo_id":"1351481020","filename":"file1"},{"photo_id":"1351481018","filename":"file0"},{"photo_id":"1351481038","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351481018":["hashtag1","hashtag2"]},{"1351481038":["hashtag1","hashtag2"]},{"1351481041":["hashtag1","hashtag2"]},{"1351481020":["hashtag1","hashtag2"]},{"1351481023":["hashtag1","hashtag2"]},{"1351481073":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351481018, 1351481038, 1351481041, 1351481020, 1351481023, 1351481073)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.23065996170044 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 07:02:32.680318
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/03/47/image_11042025_03_47_55_9391.jpg', '/home/pi/Desktop/images/11042025/03/47/image_11042025_03_48_06_10394.jpg', '/home/pi/Desktop/images/11042025/03/48/image_11042025_03_48_26_9369.jpg', '/home/pi/Desktop/images/11042025/03/48/image_11042025_03_48_36_10486.jpg', '/home/pi/Desktop/images/11042025/03/48/image_11042025_03_49_06_10371.jpg', '/home/pi/Desktop/images/11042025/03/49/image_11042025_03_49_16_9365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/03/47/image_11042025_03_47_55_9391.jpg
/home/pi/Desktop/images/11042025/03/47/image_11042025_03_48_06_10394.jpg
/home/pi/Desktop/images/11042025/03/48/image_11042025_03_48_26_9369.jpg
/home/pi/Desktop/images/11042025/03/48/image_11042025_03_48_36_10486.jpg
/home/pi/Desktop/images/11042025/03/48/image_11042025_03_49_06_10371.jpg
/home/pi/Desktop/images/11042025/03/49/image_11042025_03_49_16_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":["1351481144","1351481141","1351481146","1351481125","1351481136","1351481121"],"photo_ids_order":["1351481121","1351481125","1351481136","1351481141","1351481144","1351481146"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/95bc95c21b49fa7eca1acd68e02d4451.jpg","text":"TemporaryFile(/tmp/multipartBody6966088396104877058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347813148,"filename":"image_11042025_03_49_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/11/def6c736c9b7c863ac0cef5acf20f9e4.jpg","text":"TemporaryFile(/tmp/multipartBody7946849764837901109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347813148,"filename":"image_11042025_03_48_36_10486.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0541f4f53a3c0ab484b69396ec45508d.jpg","text":"TemporaryFile(/tmp/multipartBody3840879910254991742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347813148,"filename":"image_11042025_03_49_16_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/51412f72ba2d3cb76b4a860da19730d0.jpg","text":"TemporaryFile(/tmp/multipartBody5771554671966131193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347813148,"filename":"image_11042025_03_48_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/11/c4ecf92207e854eb468ad1a0a9be2b12.jpg","text":"TemporaryFile(/tmp/multipartBody2416322662267901964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347813148,"filename":"image_11042025_03_48_26_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/12d79c793d0fc3a23d74e7518258e80f.jpg","text":"TemporaryFile(/tmp/multipartBody7396145199143386612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347813148,"filename":"image_11042025_03_47_55_9391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351481136","file1":"1351481125","file0":"1351481121","file4":"1351481144","file5":"1351481146","file3":"1351481141"},"map_files_photo_id_array":[{"photo_id":"1351481146","filename":"file5"},{"photo_id":"1351481136","filename":"file2"},{"photo_id":"1351481144","filename":"file4"},{"photo_id":"1351481125","filename":"file1"},{"photo_id":"1351481121","filename":"file0"},{"photo_id":"1351481141","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351481144":["hashtag1","hashtag2"]},{"1351481141":["hashtag1","hashtag2"]},{"1351481146":["hashtag1","hashtag2"]},{"1351481125":["hashtag1","hashtag2"]},{"1351481136":["hashtag1","hashtag2"]},{"1351481121":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351481144, 1351481141, 1351481146, 1351481125, 1351481136, 1351481121)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.87721276283264 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 07:03:32.998726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/03/49/image_11042025_03_49_26_10508.jpg', '/home/pi/Desktop/images/11042025/03/49/image_11042025_03_49_35_9354.jpg', '/home/pi/Desktop/images/11042025/03/49/image_11042025_03_49_46_10444.jpg', '/home/pi/Desktop/images/11042025/03/49/image_11042025_03_49_56_10366.jpg', '/home/pi/Desktop/images/11042025/03/49/image_11042025_03_50_06_9390.jpg', '/home/pi/Desktop/images/11042025/03/50/image_11042025_03_50_16_10476.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/03/49/image_11042025_03_49_26_10508.jpg
/home/pi/Desktop/images/11042025/03/49/image_11042025_03_49_35_9354.jpg
/home/pi/Desktop/images/11042025/03/49/image_11042025_03_49_46_10444.jpg
/home/pi/Desktop/images/11042025/03/49/image_11042025_03_49_56_10366.jpg
/home/pi/Desktop/images/11042025/03/49/image_11042025_03_50_06_9390.jpg
/home/pi/Desktop/images/11042025/03/50/image_11042025_03_50_16_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":["1351481198","1351481444","1351481845","1351481196","1351481193","1351481658"],"photo_ids_order":["1351481193","1351481196","1351481198","1351481444","1351481658","1351481845"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d873e89f0c7354b90eb926a118b8b24b.jpg","text":"TemporaryFile(/tmp/multipartBody2973503872803446992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347873466,"filename":"image_11042025_03_49_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/11/a0d01f967019a5af8bc4a6e8d6131444.jpg","text":"TemporaryFile(/tmp/multipartBody7089172694959751632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347873466,"filename":"image_11042025_03_49_56_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/04f0b46ed41a387a0b1b0aa4f8541736.jpg","text":"TemporaryFile(/tmp/multipartBody5633526881892029244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347873466,"filename":"image_11042025_03_50_16_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/11/5e0ab2211334ed2a3cc5f84a015f9d14.jpg","text":"TemporaryFile(/tmp/multipartBody3583125637871112847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347873466,"filename":"image_11042025_03_49_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/11/3750256ed506c3eb58272f1ff93670a4.jpg","text":"TemporaryFile(/tmp/multipartBody8789841731599613047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347873466,"filename":"image_11042025_03_49_26_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/11/b1b7c3b6f06909f042035225cd33bbc4.jpg","text":"TemporaryFile(/tmp/multipartBody227509817702091199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347873466,"filename":"image_11042025_03_50_06_9390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351481198","file1":"1351481196","file0":"1351481193","file4":"1351481658","file5":"1351481845","file3":"1351481444"},"map_files_photo_id_array":[{"photo_id":"1351481845","filename":"file5"},{"photo_id":"1351481198","filename":"file2"},{"photo_id":"1351481658","filename":"file4"},{"photo_id":"1351481196","filename":"file1"},{"photo_id":"1351481193","filename":"file0"},{"photo_id":"1351481444","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351481198":["hashtag1","hashtag2"]},{"1351481444":["hashtag1","hashtag2"]},{"1351481845":["hashtag1","hashtag2"]},{"1351481196":["hashtag1","hashtag2"]},{"1351481193":["hashtag1","hashtag2"]},{"1351481658":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351481198, 1351481444, 1351481845, 1351481196, 1351481193, 1351481658)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.35457754135132 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 07:04:32.077273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/03/50/image_11042025_03_50_26_9404.jpg', '/home/pi/Desktop/images/11042025/03/50/image_11042025_03_50_36_10477.jpg', '/home/pi/Desktop/images/11042025/03/50/image_11042025_03_50_45_9352.jpg', '/home/pi/Desktop/images/11042025/03/50/image_11042025_03_50_56_10434.jpg', '/home/pi/Desktop/images/11042025/03/50/image_11042025_03_51_06_10368.jpg', '/home/pi/Desktop/images/11042025/03/51/image_11042025_03_51_26_10477.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/03/50/image_11042025_03_50_26_9404.jpg
/home/pi/Desktop/images/11042025/03/50/image_11042025_03_50_36_10477.jpg
/home/pi/Desktop/images/11042025/03/50/image_11042025_03_50_45_9352.jpg
/home/pi/Desktop/images/11042025/03/50/image_11042025_03_50_56_10434.jpg
/home/pi/Desktop/images/11042025/03/50/image_11042025_03_51_06_10368.jpg
/home/pi/Desktop/images/11042025/03/51/image_11042025_03_51_26_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":["1351482195","1351482174","1351482191","1351482204","1351482188","1351482182"],"photo_ids_order":["1351482174","1351482182","1351482188","1351482191","1351482195","1351482204"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4dfdbaee6be5af71cc20b93ec664f71a.jpg","text":"TemporaryFile(/tmp/multipartBody5258755313266940948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347932542,"filename":"image_11042025_03_51_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/11/e6bdf1a62f9ff7207d85f0a7b96bf68c.jpg","text":"TemporaryFile(/tmp/multipartBody6338162935848009823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347932542,"filename":"image_11042025_03_50_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/11/84b9f2d80106cd9558636460b164f55b.jpg","text":"TemporaryFile(/tmp/multipartBody8532361521303327286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347932542,"filename":"image_11042025_03_50_56_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/da21f0c5a7d94a0c3fc4f35963c56ac6.jpg","text":"TemporaryFile(/tmp/multipartBody613753138342554850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347932542,"filename":"image_11042025_03_51_26_10477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/65d1ddf150f4b391e4724c11076ab18b.jpg","text":"TemporaryFile(/tmp/multipartBody8225018026549828387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347932542,"filename":"image_11042025_03_50_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/11/51255ba42fd16a954e427e54defc6ce6.jpg","text":"TemporaryFile(/tmp/multipartBody779407640988940138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347932542,"filename":"image_11042025_03_50_36_10477.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351482188","file1":"1351482182","file0":"1351482174","file4":"1351482195","file5":"1351482204","file3":"1351482191"},"map_files_photo_id_array":[{"photo_id":"1351482204","filename":"file5"},{"photo_id":"1351482188","filename":"file2"},{"photo_id":"1351482195","filename":"file4"},{"photo_id":"1351482182","filename":"file1"},{"photo_id":"1351482174","filename":"file0"},{"photo_id":"1351482191","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351482195":["hashtag1","hashtag2"]},{"1351482174":["hashtag1","hashtag2"]},{"1351482191":["hashtag1","hashtag2"]},{"1351482204":["hashtag1","hashtag2"]},{"1351482188":["hashtag1","hashtag2"]},{"1351482182":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351482195, 1351482174, 1351482191, 1351482204, 1351482188, 1351482182)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.70977544784546 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 07:05:32.391113
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/03/51/image_11042025_03_51_35_9350.jpg', '/home/pi/Desktop/images/11042025/03/51/image_11042025_03_51_56_10370.jpg', '/home/pi/Desktop/images/11042025/03/51/image_11042025_03_52_06_9355.jpg', '/home/pi/Desktop/images/11042025/03/52/image_11042025_03_52_25_9376.jpg', '/home/pi/Desktop/images/11042025/03/52/image_11042025_03_52_36_10474.jpg', '/home/pi/Desktop/images/11042025/03/52/image_11042025_03_52_46_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/03/51/image_11042025_03_51_35_9350.jpg
/home/pi/Desktop/images/11042025/03/51/image_11042025_03_51_56_10370.jpg
/home/pi/Desktop/images/11042025/03/51/image_11042025_03_52_06_9355.jpg
/home/pi/Desktop/images/11042025/03/52/image_11042025_03_52_25_9376.jpg
/home/pi/Desktop/images/11042025/03/52/image_11042025_03_52_36_10474.jpg
/home/pi/Desktop/images/11042025/03/52/image_11042025_03_52_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":["1351482503","1351482466","1351482534","1351482363","1351482497","1351482494"],"photo_ids_order":["1351482363","1351482466","1351482494","1351482497","1351482503","1351482534"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/37dbd0ad91496462e700dd00b48cad71.jpg","text":"TemporaryFile(/tmp/multipartBody6595857681875233810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347992858,"filename":"image_11042025_03_52_36_10474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f74f2d1a04d74ed1cc02c4ba2e54e70d.jpg","text":"TemporaryFile(/tmp/multipartBody807141181996110558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347992858,"filename":"image_11042025_03_51_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/11/826f85714a3ef363cbb75dbc76dfcbfc.jpg","text":"TemporaryFile(/tmp/multipartBody8230817906898795642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347992858,"filename":"image_11042025_03_52_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/11/73831a0f81b90aa0a1be37f4e96e0671.jpg","text":"TemporaryFile(/tmp/multipartBody7975913469985565689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347992858,"filename":"image_11042025_03_51_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/11/0d2257d9317ffc79544cdabb047248e5.jpg","text":"TemporaryFile(/tmp/multipartBody4554590981843793242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347992858,"filename":"image_11042025_03_52_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/11/ff14f6778e883164b7396f9d5104b441.jpg","text":"TemporaryFile(/tmp/multipartBody9162644749677022076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744347992858,"filename":"image_11042025_03_52_06_9355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351482494","file1":"1351482466","file0":"1351482363","file4":"1351482503","file5":"1351482534","file3":"1351482497"},"map_files_photo_id_array":[{"photo_id":"1351482534","filename":"file5"},{"photo_id":"1351482494","filename":"file2"},{"photo_id":"1351482503","filename":"file4"},{"photo_id":"1351482466","filename":"file1"},{"photo_id":"1351482363","filename":"file0"},{"photo_id":"1351482497","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351482503":["hashtag1","hashtag2"]},{"1351482466":["hashtag1","hashtag2"]},{"1351482534":["hashtag1","hashtag2"]},{"1351482363":["hashtag1","hashtag2"]},{"1351482497":["hashtag1","hashtag2"]},{"1351482494":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351482503, 1351482466, 1351482534, 1351482363, 1351482497, 1351482494)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.063456773757935 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 07:06:32.619336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/03/52/image_11042025_03_53_06_10369.jpg', '/home/pi/Desktop/images/11042025/03/53/image_11042025_03_53_16_10371.jpg', '/home/pi/Desktop/images/11042025/03/53/image_11042025_03_53_26_9491.jpg', '/home/pi/Desktop/images/11042025/03/53/image_11042025_03_53_36_10356.jpg', '/home/pi/Desktop/images/11042025/03/53/image_11042025_03_53_46_9354.jpg', '/home/pi/Desktop/images/11042025/03/53/image_11042025_03_53_56_10453.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/03/52/image_11042025_03_53_06_10369.jpg
/home/pi/Desktop/images/11042025/03/53/image_11042025_03_53_16_10371.jpg
/home/pi/Desktop/images/11042025/03/53/image_11042025_03_53_26_9491.jpg
/home/pi/Desktop/images/11042025/03/53/image_11042025_03_53_36_10356.jpg
/home/pi/Desktop/images/11042025/03/53/image_11042025_03_53_46_9354.jpg
/home/pi/Desktop/images/11042025/03/53/image_11042025_03_53_56_10453.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351482932","1351483029","1351482966","1351482921","1351482890","1351482992"],"photo_ids_order":["1351482890","1351482921","1351482932","1351482966","1351482992","1351483029"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f4bede0300645a3461d71982ea742e7d.jpg","text":"TemporaryFile(/tmp/multipartBody5466169140229071664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348053085,"filename":"image_11042025_03_53_26_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/11/b22c0e408d6bed6c5c4b15514c0a75d8.jpg","text":"TemporaryFile(/tmp/multipartBody4931672409763823773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348053085,"filename":"image_11042025_03_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/11/c5a112d74b770bf4cc52b3346118a170.jpg","text":"TemporaryFile(/tmp/multipartBody3773496427446365561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348053085,"filename":"image_11042025_03_53_36_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e3e95c0f2a951719b2715f220f9192b5.jpg","text":"TemporaryFile(/tmp/multipartBody7398454423272433730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348053085,"filename":"image_11042025_03_53_16_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/44972eb5881108dabfaacf6353896de8.jpg","text":"TemporaryFile(/tmp/multipartBody6347756038991043802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348053085,"filename":"image_11042025_03_53_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/11/157ca8cd4f83e0417db9789dce252520.jpg","text":"TemporaryFile(/tmp/multipartBody8548824072655159502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348053085,"filename":"image_11042025_03_53_46_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351482932","file1":"1351482921","file0":"1351482890","file4":"1351482992","file5":"1351483029","file3":"1351482966"},"map_files_photo_id_array":[{"photo_id":"1351483029","filename":"file5"},{"photo_id":"1351482932","filename":"file2"},{"photo_id":"1351482992","filename":"file4"},{"photo_id":"1351482921","filename":"file1"},{"photo_id":"1351482890","filename":"file0"},{"photo_id":"1351482966","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351482932":["hashtag1","hashtag2"]},{"1351483029":["hashtag1","hashtag2"]},{"1351482966":["hashtag1","hashtag2"]},{"1351482921":["hashtag1","hashtag2"]},{"1351482890":["hashtag1","hashtag2"]},{"1351482992":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351482932, 1351483029, 1351482966, 1351482921, 1351482890, 1351482992)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.6733832359314 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 07:07:32.871101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/03/53/image_11042025_03_54_06_10360.jpg', '/home/pi/Desktop/images/11042025/03/54/image_11042025_03_54_16_9423.jpg', '/home/pi/Desktop/images/11042025/03/54/image_11042025_03_54_26_10372.jpg', '/home/pi/Desktop/images/11042025/03/54/image_11042025_03_54_36_9394.jpg', '/home/pi/Desktop/images/11042025/03/54/image_11042025_03_54_46_10434.jpg', '/home/pi/Desktop/images/11042025/03/54/image_11042025_03_54_56_10382.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/03/53/image_11042025_03_54_06_10360.jpg
/home/pi/Desktop/images/11042025/03/54/image_11042025_03_54_16_9423.jpg
/home/pi/Desktop/images/11042025/03/54/image_11042025_03_54_26_10372.jpg
/home/pi/Desktop/images/11042025/03/54/image_11042025_03_54_36_9394.jpg
/home/pi/Desktop/images/11042025/03/54/image_11042025_03_54_46_10434.jpg
/home/pi/Desktop/images/11042025/03/54/image_11042025_03_54_56_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":["1351483477","1351483554","1351483536","1351483512","1351483427","1351483393"],"photo_ids_order":["1351483393","1351483427","1351483477","1351483512","1351483536","1351483554"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/828c42be9b8b7b00473c4d99b6d4c588.jpg","text":"TemporaryFile(/tmp/multipartBody1390483178857584077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348113332,"filename":"image_11042025_03_54_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/11/ea59285bded45ec586cfabf222951108.jpg","text":"TemporaryFile(/tmp/multipartBody2160862419312702292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348113332,"filename":"image_11042025_03_54_56_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/92fca348d2c018ba8c7715b0b06c5004.jpg","text":"TemporaryFile(/tmp/multipartBody5749724100937014240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348113332,"filename":"image_11042025_03_54_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/11/a04e92a002f14771f10a8dab6c29b664.jpg","text":"TemporaryFile(/tmp/multipartBody7956399190724057814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348113332,"filename":"image_11042025_03_54_36_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ada87fa398395ce53a262fff1e4180ce.jpg","text":"TemporaryFile(/tmp/multipartBody6562514092306373550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348113332,"filename":"image_11042025_03_54_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/11/5b826b81f0ce840f7038c0c3d1085c10.jpg","text":"TemporaryFile(/tmp/multipartBody8135268497639798997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348113332,"filename":"image_11042025_03_54_06_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351483477","file1":"1351483427","file0":"1351483393","file4":"1351483536","file5":"1351483554","file3":"1351483512"},"map_files_photo_id_array":[{"photo_id":"1351483554","filename":"file5"},{"photo_id":"1351483477","filename":"file2"},{"photo_id":"1351483536","filename":"file4"},{"photo_id":"1351483427","filename":"file1"},{"photo_id":"1351483393","filename":"file0"},{"photo_id":"1351483512","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351483477":["hashtag1","hashtag2"]},{"1351483554":["hashtag1","hashtag2"]},{"1351483536":["hashtag1","hashtag2"]},{"1351483512":["hashtag1","hashtag2"]},{"1351483427":["hashtag1","hashtag2"]},{"1351483393":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351483477, 1351483554, 1351483536, 1351483512, 1351483427, 1351483393)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.97781443595886 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 07:08:32.970544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/03/54/image_11042025_03_55_06_9454.jpg', '/home/pi/Desktop/images/11042025/03/55/image_11042025_03_55_16_10361.jpg', '/home/pi/Desktop/images/11042025/03/55/image_11042025_03_55_26_9372.jpg', '/home/pi/Desktop/images/11042025/03/55/image_11042025_03_55_36_10477.jpg', '/home/pi/Desktop/images/11042025/03/55/image_11042025_03_55_45_9348.jpg', '/home/pi/Desktop/images/11042025/03/55/image_11042025_03_55_56_10470.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/03/54/image_11042025_03_55_06_9454.jpg
/home/pi/Desktop/images/11042025/03/55/image_11042025_03_55_16_10361.jpg
/home/pi/Desktop/images/11042025/03/55/image_11042025_03_55_26_9372.jpg
/home/pi/Desktop/images/11042025/03/55/image_11042025_03_55_36_10477.jpg
/home/pi/Desktop/images/11042025/03/55/image_11042025_03_55_45_9348.jpg
/home/pi/Desktop/images/11042025/03/55/image_11042025_03_55_56_10470.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351483753","1351484308","1351484255","1351484098","1351484329","1351483996"],"photo_ids_order":["1351483753","1351483996","1351484098","1351484255","1351484308","1351484329"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e94e72253d19f02e5bb825c4458fa8a1.jpg","text":"TemporaryFile(/tmp/multipartBody4922959023874734527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348173441,"filename":"image_11042025_03_55_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/11/1d62ce306761f5ac7b6cd73c7b2c8ebe.jpg","text":"TemporaryFile(/tmp/multipartBody1385746542774723657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348173441,"filename":"image_11042025_03_55_45_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d923396d6bf2ca26f4a055f754e6b4d2.jpg","text":"TemporaryFile(/tmp/multipartBody3026384998290386965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348173441,"filename":"image_11042025_03_55_36_10477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5ad7599a5a1cb45a03f3caf1201c30e3.jpg","text":"TemporaryFile(/tmp/multipartBody7075118503565162398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348173441,"filename":"image_11042025_03_55_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/11/7c8864569df824daf458eeeb7009fae6.jpg","text":"TemporaryFile(/tmp/multipartBody5264055551254263331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348173441,"filename":"image_11042025_03_55_56_10470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c2b70054b78a87f49a479461dd621972.jpg","text":"TemporaryFile(/tmp/multipartBody8515138328251064265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348173441,"filename":"image_11042025_03_55_16_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351484098","file1":"1351483996","file0":"1351483753","file4":"1351484308","file5":"1351484329","file3":"1351484255"},"map_files_photo_id_array":[{"photo_id":"1351484329","filename":"file5"},{"photo_id":"1351484098","filename":"file2"},{"photo_id":"1351484308","filename":"file4"},{"photo_id":"1351483996","filename":"file1"},{"photo_id":"1351483753","filename":"file0"},{"photo_id":"1351484255","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351483753":["hashtag1","hashtag2"]},{"1351484308":["hashtag1","hashtag2"]},{"1351484255":["hashtag1","hashtag2"]},{"1351484098":["hashtag1","hashtag2"]},{"1351484329":["hashtag1","hashtag2"]},{"1351483996":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351483753, 1351484308, 1351484255, 1351484098, 1351484329, 1351483996)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.73656916618347 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 07:09:32.175076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/03/55/image_11042025_03_56_06_10369.jpg', '/home/pi/Desktop/images/11042025/03/56/image_11042025_03_56_16_9343.jpg', '/home/pi/Desktop/images/11042025/03/56/image_11042025_03_56_26_10409.jpg', '/home/pi/Desktop/images/11042025/03/56/image_11042025_03_56_36_10367.jpg', '/home/pi/Desktop/images/11042025/03/56/image_11042025_03_56_46_9415.jpg', '/home/pi/Desktop/images/11042025/03/56/image_11042025_03_56_56_10478.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/03/55/image_11042025_03_56_06_10369.jpg
/home/pi/Desktop/images/11042025/03/56/image_11042025_03_56_16_9343.jpg
/home/pi/Desktop/images/11042025/03/56/image_11042025_03_56_26_10409.jpg
/home/pi/Desktop/images/11042025/03/56/image_11042025_03_56_36_10367.jpg
/home/pi/Desktop/images/11042025/03/56/image_11042025_03_56_46_9415.jpg
/home/pi/Desktop/images/11042025/03/56/image_11042025_03_56_56_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":["1351484536","1351484586","1351484550","1351484547","1351484612","1351484566"],"photo_ids_order":["1351484536","1351484547","1351484550","1351484566","1351484586","1351484612"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/067529606ce7d9103414f8f224753aca.jpg","text":"TemporaryFile(/tmp/multipartBody4165908380481491021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348232673,"filename":"image_11042025_03_56_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/11/470b76c2036c4f5bc6cc163d8b75ea52.jpg","text":"TemporaryFile(/tmp/multipartBody8004256556186758167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348232673,"filename":"image_11042025_03_56_46_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/408f506e534d247ab43493ee758e38ec.jpg","text":"TemporaryFile(/tmp/multipartBody1005751124085558434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348232673,"filename":"image_11042025_03_56_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/11/9c8f576b0becc76bdc150244cb36cc61.jpg","text":"TemporaryFile(/tmp/multipartBody2794994973682372276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348232673,"filename":"image_11042025_03_56_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/11/6ac57b069a8c8c1a2e66ea7329a16a17.jpg","text":"TemporaryFile(/tmp/multipartBody8391164651969004455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348232673,"filename":"image_11042025_03_56_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/11/dd73c796fd14278d6a0d744e631b3771.jpg","text":"TemporaryFile(/tmp/multipartBody1781594757075658600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348232673,"filename":"image_11042025_03_56_36_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351484550","file1":"1351484547","file0":"1351484536","file4":"1351484586","file5":"1351484612","file3":"1351484566"},"map_files_photo_id_array":[{"photo_id":"1351484612","filename":"file5"},{"photo_id":"1351484550","filename":"file2"},{"photo_id":"1351484586","filename":"file4"},{"photo_id":"1351484547","filename":"file1"},{"photo_id":"1351484536","filename":"file0"},{"photo_id":"1351484566","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351484536":["hashtag1","hashtag2"]},{"1351484586":["hashtag1","hashtag2"]},{"1351484550":["hashtag1","hashtag2"]},{"1351484547":["hashtag1","hashtag2"]},{"1351484612":["hashtag1","hashtag2"]},{"1351484566":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351484536, 1351484586, 1351484550, 1351484547, 1351484612, 1351484566)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.4797420501709 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 07:10:32.463451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/03/56/image_11042025_03_57_06_9351.jpg', '/home/pi/Desktop/images/11042025/03/57/image_11042025_03_57_16_10469.jpg', '/home/pi/Desktop/images/11042025/03/57/image_11042025_03_57_25_9370.jpg', '/home/pi/Desktop/images/11042025/03/57/image_11042025_03_57_36_10445.jpg', '/home/pi/Desktop/images/11042025/03/57/image_11042025_03_57_46_10380.jpg', '/home/pi/Desktop/images/11042025/03/57/image_11042025_03_57_56_9346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/03/56/image_11042025_03_57_06_9351.jpg
/home/pi/Desktop/images/11042025/03/57/image_11042025_03_57_16_10469.jpg
/home/pi/Desktop/images/11042025/03/57/image_11042025_03_57_25_9370.jpg
/home/pi/Desktop/images/11042025/03/57/image_11042025_03_57_36_10445.jpg
/home/pi/Desktop/images/11042025/03/57/image_11042025_03_57_46_10380.jpg
/home/pi/Desktop/images/11042025/03/57/image_11042025_03_57_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":["1351485375","1351485033","1351484964","1351485128","1351485277","1351485442"],"photo_ids_order":["1351484964","1351485033","1351485128","1351485277","1351485375","1351485442"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e9760146f49a800c3360fa37ac9370a7.jpg","text":"TemporaryFile(/tmp/multipartBody2674888377178935694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348292932,"filename":"image_11042025_03_57_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/11/6d05e5efb5e2eef38a70b1143255c78e.jpg","text":"TemporaryFile(/tmp/multipartBody578291832174377177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348292932,"filename":"image_11042025_03_57_16_10469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e7096268925e7e47167453ca1b34bf5e.jpg","text":"TemporaryFile(/tmp/multipartBody5106769761279701186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348292932,"filename":"image_11042025_03_57_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/11/6eef3419d3c15e7efb83b196c91be1dd.jpg","text":"TemporaryFile(/tmp/multipartBody143657963367889692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348292932,"filename":"image_11042025_03_57_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/11/39ec9e139762a2ddbc0d6ae623c8578b.jpg","text":"TemporaryFile(/tmp/multipartBody9097469393357116979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348292932,"filename":"image_11042025_03_57_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/11/f0e6a6da0359aacbd5942f02ac4b592b.jpg","text":"TemporaryFile(/tmp/multipartBody2675391819107956880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348292932,"filename":"image_11042025_03_57_56_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351485128","file1":"1351485033","file0":"1351484964","file4":"1351485375","file5":"1351485442","file3":"1351485277"},"map_files_photo_id_array":[{"photo_id":"1351485442","filename":"file5"},{"photo_id":"1351485128","filename":"file2"},{"photo_id":"1351485375","filename":"file4"},{"photo_id":"1351485033","filename":"file1"},{"photo_id":"1351484964","filename":"file0"},{"photo_id":"1351485277","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351485375":["hashtag1","hashtag2"]},{"1351485033":["hashtag1","hashtag2"]},{"1351484964":["hashtag1","hashtag2"]},{"1351485128":["hashtag1","hashtag2"]},{"1351485277":["hashtag1","hashtag2"]},{"1351485442":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351485375, 1351485033, 1351484964, 1351485128, 1351485277, 1351485442)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.421170711517334 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 07:11:32.676697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/03/57/image_11042025_03_58_06_10475.jpg', '/home/pi/Desktop/images/11042025/03/58/image_11042025_03_58_16_9462.jpg', '/home/pi/Desktop/images/11042025/03/58/image_11042025_03_58_26_10488.jpg', '/home/pi/Desktop/images/11042025/03/58/image_11042025_03_58_35_9364.jpg', '/home/pi/Desktop/images/11042025/03/58/image_11042025_03_58_46_10416.jpg', '/home/pi/Desktop/images/11042025/03/58/image_11042025_03_58_56_10378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/03/57/image_11042025_03_58_06_10475.jpg
/home/pi/Desktop/images/11042025/03/58/image_11042025_03_58_16_9462.jpg
/home/pi/Desktop/images/11042025/03/58/image_11042025_03_58_26_10488.jpg
/home/pi/Desktop/images/11042025/03/58/image_11042025_03_58_35_9364.jpg
/home/pi/Desktop/images/11042025/03/58/image_11042025_03_58_46_10416.jpg
/home/pi/Desktop/images/11042025/03/58/image_11042025_03_58_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":["1351485930","1351485909","1351486081","1351486228","1351485841","1351486161"],"photo_ids_order":["1351485841","1351485909","1351485930","1351486081","1351486161","1351486228"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b748f65f29447036fb38975031943d06.jpg","text":"TemporaryFile(/tmp/multipartBody5816387669925624175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348353145,"filename":"image_11042025_03_58_26_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/11/0977d3180544d39ee0589dd9d47ea8bb.jpg","text":"TemporaryFile(/tmp/multipartBody5270530516360766337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348353145,"filename":"image_11042025_03_58_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/11/2312c01d1c463dfde868390ee8a81a24.jpg","text":"TemporaryFile(/tmp/multipartBody8546534472535418976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348353145,"filename":"image_11042025_03_58_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/11/1c61b466df4fb7164a56a119997d0d1d.jpg","text":"TemporaryFile(/tmp/multipartBody7723163891765868382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348353145,"filename":"image_11042025_03_58_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/11/1983e1b47acd233e0a12cc01aeac843d.jpg","text":"TemporaryFile(/tmp/multipartBody7979131911036013238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348353145,"filename":"image_11042025_03_58_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/11/8fcde3525fc8613523d1bdd467912b1a.jpg","text":"TemporaryFile(/tmp/multipartBody3327065211278235279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348353145,"filename":"image_11042025_03_58_46_10416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351485930","file1":"1351485909","file0":"1351485841","file4":"1351486161","file5":"1351486228","file3":"1351486081"},"map_files_photo_id_array":[{"photo_id":"1351486228","filename":"file5"},{"photo_id":"1351485930","filename":"file2"},{"photo_id":"1351486161","filename":"file4"},{"photo_id":"1351485909","filename":"file1"},{"photo_id":"1351485841","filename":"file0"},{"photo_id":"1351486081","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351485930":["hashtag1","hashtag2"]},{"1351485909":["hashtag1","hashtag2"]},{"1351486081":["hashtag1","hashtag2"]},{"1351486228":["hashtag1","hashtag2"]},{"1351485841":["hashtag1","hashtag2"]},{"1351486161":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351485930, 1351485909, 1351486081, 1351486228, 1351485841, 1351486161)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.85421013832092 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 07:12:32.953964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/03/58/image_11042025_03_59_06_9364.jpg', '/home/pi/Desktop/images/11042025/03/59/image_11042025_03_59_16_10375.jpg', '/home/pi/Desktop/images/11042025/03/59/image_11042025_03_59_26_10363.jpg', '/home/pi/Desktop/images/11042025/03/59/image_11042025_03_59_46_10469.jpg', '/home/pi/Desktop/images/11042025/04/01/image_11042025_04_01_14_10068.jpg', '/home/pi/Desktop/images/11042025/04/01/image_11042025_04_01_44_9367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/03/58/image_11042025_03_59_06_9364.jpg
/home/pi/Desktop/images/11042025/03/59/image_11042025_03_59_16_10375.jpg
/home/pi/Desktop/images/11042025/03/59/image_11042025_03_59_26_10363.jpg
/home/pi/Desktop/images/11042025/03/59/image_11042025_03_59_46_10469.jpg
/home/pi/Desktop/images/11042025/04/01/image_11042025_04_01_14_10068.jpg
/home/pi/Desktop/images/11042025/04/01/image_11042025_04_01_44_9367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351486629","1351486655","1351486571","1351486684","1351486601","1351486525"],"photo_ids_order":["1351486525","1351486571","1351486601","1351486629","1351486655","1351486684"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4c16bf11dc3f13658d08aac2898c8ba2.jpg","text":"TemporaryFile(/tmp/multipartBody53475004468980800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348413426,"filename":"image_11042025_03_59_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/11/fe768aecd24c111ba4602b1a6bb341a0.jpg","text":"TemporaryFile(/tmp/multipartBody4822292461594421450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348413426,"filename":"image_11042025_04_01_14_10068.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2230c1166a8ffa0eb2b4c0db300029d9.jpg","text":"TemporaryFile(/tmp/multipartBody5479668911923457152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348413426,"filename":"image_11042025_03_59_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/11/de5fa8e7083348b2da6e09ef4d061020.jpg","text":"TemporaryFile(/tmp/multipartBody3924017086852289790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348413426,"filename":"image_11042025_04_01_44_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4ce0ba7be5d45aca15e2911f90ac72fc.jpg","text":"TemporaryFile(/tmp/multipartBody2219961039944468613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348413426,"filename":"image_11042025_03_59_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/11/869ca90d33cbbe2457c2267a264995a0.jpg","text":"TemporaryFile(/tmp/multipartBody9010567575262465026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348413426,"filename":"image_11042025_03_59_06_9364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351486601","file1":"1351486571","file0":"1351486525","file4":"1351486655","file5":"1351486684","file3":"1351486629"},"map_files_photo_id_array":[{"photo_id":"1351486684","filename":"file5"},{"photo_id":"1351486601","filename":"file2"},{"photo_id":"1351486655","filename":"file4"},{"photo_id":"1351486571","filename":"file1"},{"photo_id":"1351486525","filename":"file0"},{"photo_id":"1351486629","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351486629":["hashtag1","hashtag2"]},{"1351486655":["hashtag1","hashtag2"]},{"1351486571":["hashtag1","hashtag2"]},{"1351486684":["hashtag1","hashtag2"]},{"1351486601":["hashtag1","hashtag2"]},{"1351486525":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351486629, 1351486655, 1351486571, 1351486684, 1351486601, 1351486525)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.8433940410614 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 07:13:33.197320
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/04/01/image_11042025_04_01_54_10375.jpg', '/home/pi/Desktop/images/11042025/04/02/image_11042025_04_02_14_10356.jpg', '/home/pi/Desktop/images/11042025/04/02/image_11042025_04_02_25_10434.jpg', '/home/pi/Desktop/images/11042025/04/02/image_11042025_04_02_34_9355.jpg', '/home/pi/Desktop/images/11042025/04/02/image_11042025_04_02_45_10524.jpg', '/home/pi/Desktop/images/11042025/04/02/image_11042025_04_03_04_10345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/04/01/image_11042025_04_01_54_10375.jpg
/home/pi/Desktop/images/11042025/04/02/image_11042025_04_02_14_10356.jpg
/home/pi/Desktop/images/11042025/04/02/image_11042025_04_02_25_10434.jpg
/home/pi/Desktop/images/11042025/04/02/image_11042025_04_02_34_9355.jpg
/home/pi/Desktop/images/11042025/04/02/image_11042025_04_02_45_10524.jpg
/home/pi/Desktop/images/11042025/04/02/image_11042025_04_03_04_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":["1351487090","1351487033","1351486931","1351486884","1351487133","1351486989"],"photo_ids_order":["1351486884","1351486931","1351486989","1351487033","1351487090","1351487133"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9cf60e777519006bcbde3d6cbc767946.jpg","text":"TemporaryFile(/tmp/multipartBody8139353000063857096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348473669,"filename":"image_11042025_04_02_45_10524.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/574f097e7418ed463e05d08be31a8517.jpg","text":"TemporaryFile(/tmp/multipartBody6791066660904982427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348473669,"filename":"image_11042025_04_02_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/11/369ec1bc43eb409bc25d829214a9860e.jpg","text":"TemporaryFile(/tmp/multipartBody3667999548938145769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348473669,"filename":"image_11042025_04_02_14_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e26becd380e02f7ab97f790b73d79c56.jpg","text":"TemporaryFile(/tmp/multipartBody5489012795873265967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348473669,"filename":"image_11042025_04_01_54_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/11/0ea6c9975e0f07154318895ea76c4c72.jpg","text":"TemporaryFile(/tmp/multipartBody6280868762324230850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348473669,"filename":"image_11042025_04_03_04_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0b46a67839008cc95a4e48adf7237418.jpg","text":"TemporaryFile(/tmp/multipartBody3034211137300009358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348473669,"filename":"image_11042025_04_02_25_10434.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351486989","file1":"1351486931","file0":"1351486884","file4":"1351487090","file5":"1351487133","file3":"1351487033"},"map_files_photo_id_array":[{"photo_id":"1351487133","filename":"file5"},{"photo_id":"1351486989","filename":"file2"},{"photo_id":"1351487090","filename":"file4"},{"photo_id":"1351486931","filename":"file1"},{"photo_id":"1351486884","filename":"file0"},{"photo_id":"1351487033","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351487090":["hashtag1","hashtag2"]},{"1351487033":["hashtag1","hashtag2"]},{"1351486931":["hashtag1","hashtag2"]},{"1351486884":["hashtag1","hashtag2"]},{"1351487133":["hashtag1","hashtag2"]},{"1351486989":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351487090, 1351487033, 1351486931, 1351486884, 1351487133, 1351486989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.12176322937012 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 07:14:32.420656
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/04/03/image_11042025_04_03_15_10410.jpg', '/home/pi/Desktop/images/11042025/04/03/image_11042025_04_03_44_9446.jpg', '/home/pi/Desktop/images/11042025/04/03/image_11042025_04_03_54_10473.jpg', '/home/pi/Desktop/images/11042025/04/03/image_11042025_04_04_05_10397.jpg', '/home/pi/Desktop/images/11042025/04/04/image_11042025_04_04_14_9367.jpg', '/home/pi/Desktop/images/11042025/04/04/image_11042025_04_04_25_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/04/03/image_11042025_04_03_15_10410.jpg
/home/pi/Desktop/images/11042025/04/03/image_11042025_04_03_44_9446.jpg
/home/pi/Desktop/images/11042025/04/03/image_11042025_04_03_54_10473.jpg
/home/pi/Desktop/images/11042025/04/03/image_11042025_04_04_05_10397.jpg
/home/pi/Desktop/images/11042025/04/04/image_11042025_04_04_14_9367.jpg
/home/pi/Desktop/images/11042025/04/04/image_11042025_04_04_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":["1351487796","1351487571","1351487754","1351487703","1351487628","1351487520"],"photo_ids_order":["1351487520","1351487571","1351487628","1351487703","1351487754","1351487796"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a5ded5326c72d8de7b9c8d1dc0f15081.jpg","text":"TemporaryFile(/tmp/multipartBody4187667173201775154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348532891,"filename":"image_11042025_04_04_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/11/057fc4874f5667ad8365a5de8fcde5eb.jpg","text":"TemporaryFile(/tmp/multipartBody5719979949955885099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348532891,"filename":"image_11042025_04_03_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/11/3b8c10f792b43c98185a45bc296a7aed.jpg","text":"TemporaryFile(/tmp/multipartBody5846179974226185775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348532891,"filename":"image_11042025_04_04_14_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c9a4937bf51ccf11f81b26dac4ae379e.jpg","text":"TemporaryFile(/tmp/multipartBody3349038614086669600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348532891,"filename":"image_11042025_04_04_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/11/377cb534721045b9f4e275e32331ea53.jpg","text":"TemporaryFile(/tmp/multipartBody8253661731860081976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348532891,"filename":"image_11042025_04_03_54_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/11/c16726d3cfb899ae66c760d017b6cc8a.jpg","text":"TemporaryFile(/tmp/multipartBody2738786474167809249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348532891,"filename":"image_11042025_04_03_15_10410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351487628","file1":"1351487571","file0":"1351487520","file4":"1351487754","file5":"1351487796","file3":"1351487703"},"map_files_photo_id_array":[{"photo_id":"1351487796","filename":"file5"},{"photo_id":"1351487628","filename":"file2"},{"photo_id":"1351487754","filename":"file4"},{"photo_id":"1351487571","filename":"file1"},{"photo_id":"1351487520","filename":"file0"},{"photo_id":"1351487703","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351487796":["hashtag1","hashtag2"]},{"1351487571":["hashtag1","hashtag2"]},{"1351487754":["hashtag1","hashtag2"]},{"1351487703":["hashtag1","hashtag2"]},{"1351487628":["hashtag1","hashtag2"]},{"1351487520":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351487796, 1351487571, 1351487754, 1351487703, 1351487628, 1351487520)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.29160189628601 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 07:15:32.687892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/04/04/image_11042025_04_04_34_9380.jpg', '/home/pi/Desktop/images/11042025/04/04/image_11042025_04_04_44_10386.jpg', '/home/pi/Desktop/images/11042025/04/05/image_11042025_04_05_24_9412.jpg', '/home/pi/Desktop/images/11042025/04/05/image_11042025_04_05_34_10358.jpg', '/home/pi/Desktop/images/11042025/04/05/image_11042025_04_05_45_10379.jpg', '/home/pi/Desktop/images/11042025/04/05/image_11042025_04_05_54_9378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/04/04/image_11042025_04_04_34_9380.jpg
/home/pi/Desktop/images/11042025/04/04/image_11042025_04_04_44_10386.jpg
/home/pi/Desktop/images/11042025/04/05/image_11042025_04_05_24_9412.jpg
/home/pi/Desktop/images/11042025/04/05/image_11042025_04_05_34_10358.jpg
/home/pi/Desktop/images/11042025/04/05/image_11042025_04_05_45_10379.jpg
/home/pi/Desktop/images/11042025/04/05/image_11042025_04_05_54_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":["1351488196","1351488128","1351488101","1351488180","1351488057","1351488153"],"photo_ids_order":["1351488057","1351488101","1351488128","1351488153","1351488180","1351488196"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/58cf452bc74d661c51cd4f71af18412f.jpg","text":"TemporaryFile(/tmp/multipartBody400619108624444938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348593155,"filename":"image_11042025_04_05_54_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/11/3fd10aead118adc7268abeabcc483b3b.jpg","text":"TemporaryFile(/tmp/multipartBody6634569902728960935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348593155,"filename":"image_11042025_04_05_24_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6eabc9089f653729a93afcb27f9d03c1.jpg","text":"TemporaryFile(/tmp/multipartBody9095874118390560346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348593155,"filename":"image_11042025_04_04_44_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/11/0820372709ad39481b13a6aa1049b991.jpg","text":"TemporaryFile(/tmp/multipartBody912351879051488053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348593155,"filename":"image_11042025_04_05_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/11/14b1fbc700251cf66a9ab0d62f4ca363.jpg","text":"TemporaryFile(/tmp/multipartBody3722051100857320405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348593155,"filename":"image_11042025_04_04_34_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7b4203eff23ee237bba08b58d7b8d14f.jpg","text":"TemporaryFile(/tmp/multipartBody8939574212412099417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348593155,"filename":"image_11042025_04_05_34_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351488128","file1":"1351488101","file0":"1351488057","file4":"1351488180","file5":"1351488196","file3":"1351488153"},"map_files_photo_id_array":[{"photo_id":"1351488196","filename":"file5"},{"photo_id":"1351488128","filename":"file2"},{"photo_id":"1351488180","filename":"file4"},{"photo_id":"1351488101","filename":"file1"},{"photo_id":"1351488057","filename":"file0"},{"photo_id":"1351488153","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351488196":["hashtag1","hashtag2"]},{"1351488128":["hashtag1","hashtag2"]},{"1351488101":["hashtag1","hashtag2"]},{"1351488180":["hashtag1","hashtag2"]},{"1351488057":["hashtag1","hashtag2"]},{"1351488153":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351488196, 1351488128, 1351488101, 1351488180, 1351488057, 1351488153)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.701932430267334 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 07:16:32.916849
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/04/05/image_11042025_04_06_04_10395.jpg', '/home/pi/Desktop/images/11042025/04/06/image_11042025_04_06_14_9455.jpg', '/home/pi/Desktop/images/11042025/04/06/image_11042025_04_06_24_10361.jpg', '/home/pi/Desktop/images/11042025/04/06/image_11042025_04_06_35_10386.jpg', '/home/pi/Desktop/images/11042025/04/06/image_11042025_04_06_44_9366.jpg', '/home/pi/Desktop/images/11042025/04/06/image_11042025_04_06_54_10408.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/04/05/image_11042025_04_06_04_10395.jpg
/home/pi/Desktop/images/11042025/04/06/image_11042025_04_06_14_9455.jpg
/home/pi/Desktop/images/11042025/04/06/image_11042025_04_06_24_10361.jpg
/home/pi/Desktop/images/11042025/04/06/image_11042025_04_06_35_10386.jpg
/home/pi/Desktop/images/11042025/04/06/image_11042025_04_06_44_9366.jpg
/home/pi/Desktop/images/11042025/04/06/image_11042025_04_06_54_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":["1351488608","1351488542","1351488669","1351488561","1351488600","1351488593"],"photo_ids_order":["1351488542","1351488561","1351488593","1351488600","1351488608","1351488669"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d6b075804c1bd82a3e0c3f7486e5f3cb.jpg","text":"TemporaryFile(/tmp/multipartBody6605160678954068541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348653382,"filename":"image_11042025_04_06_44_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/26523bb38b160adc6b409f5c8d039d9f.jpg","text":"TemporaryFile(/tmp/multipartBody3879095699210386005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348653382,"filename":"image_11042025_04_06_04_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/11/f420df38568af70d0f12357467f03538.jpg","text":"TemporaryFile(/tmp/multipartBody1134334272833287964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348653382,"filename":"image_11042025_04_06_54_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/11/8b9907dea60206bbf78488345c1c345f.jpg","text":"TemporaryFile(/tmp/multipartBody200122009020731802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348653382,"filename":"image_11042025_04_06_14_9455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c2edf6dd18be2582648ebbcc849def07.jpg","text":"TemporaryFile(/tmp/multipartBody1721849575605272384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348653382,"filename":"image_11042025_04_06_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/11/3ff7458a5a4dece411720e46a2baee1c.jpg","text":"TemporaryFile(/tmp/multipartBody5223114228978546176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348653382,"filename":"image_11042025_04_06_24_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351488593","file1":"1351488561","file0":"1351488542","file4":"1351488608","file5":"1351488669","file3":"1351488600"},"map_files_photo_id_array":[{"photo_id":"1351488669","filename":"file5"},{"photo_id":"1351488593","filename":"file2"},{"photo_id":"1351488608","filename":"file4"},{"photo_id":"1351488561","filename":"file1"},{"photo_id":"1351488542","filename":"file0"},{"photo_id":"1351488600","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351488608":["hashtag1","hashtag2"]},{"1351488542":["hashtag1","hashtag2"]},{"1351488669":["hashtag1","hashtag2"]},{"1351488561":["hashtag1","hashtag2"]},{"1351488600":["hashtag1","hashtag2"]},{"1351488593":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351488608, 1351488542, 1351488669, 1351488561, 1351488600, 1351488593)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.22788739204407 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 07:17:32.139014
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/04/07/image_11042025_04_07_25_10490.jpg', '/home/pi/Desktop/images/11042025/04/07/image_11042025_04_07_34_9422.jpg', '/home/pi/Desktop/images/11042025/04/07/image_11042025_04_07_45_10374.jpg', '/home/pi/Desktop/images/11042025/04/07/image_11042025_04_07_54_9394.jpg', '/home/pi/Desktop/images/11042025/04/07/image_11042025_04_08_04_10385.jpg', '/home/pi/Desktop/images/11042025/04/08/image_11042025_04_08_15_10482.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/04/07/image_11042025_04_07_25_10490.jpg
/home/pi/Desktop/images/11042025/04/07/image_11042025_04_07_34_9422.jpg
/home/pi/Desktop/images/11042025/04/07/image_11042025_04_07_45_10374.jpg
/home/pi/Desktop/images/11042025/04/07/image_11042025_04_07_54_9394.jpg
/home/pi/Desktop/images/11042025/04/07/image_11042025_04_08_04_10385.jpg
/home/pi/Desktop/images/11042025/04/08/image_11042025_04_08_15_10482.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351488799","1351488784","1351488778","1351489033","1351488861","1351488831"],"photo_ids_order":["1351488778","1351488784","1351488799","1351488831","1351488861","1351489033"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/58675af2218a65d6a23fd1c720f74f22.jpg","text":"TemporaryFile(/tmp/multipartBody4903605575171746700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348712609,"filename":"image_11042025_04_07_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/11/872e42f06d05aacafa6c4edf7c99fb6c.jpg","text":"TemporaryFile(/tmp/multipartBody3948943395233989968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348712609,"filename":"image_11042025_04_07_34_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a8d2c64c0fd056477910aaae30745c43.jpg","text":"TemporaryFile(/tmp/multipartBody660482938858826314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348712609,"filename":"image_11042025_04_07_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/11/99e154ab9f82f0e77e477fd41ff01821.jpg","text":"TemporaryFile(/tmp/multipartBody1595338509364858336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348712609,"filename":"image_11042025_04_08_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/11/5fe6a3702d52dbd8d537a495bba91a8f.jpg","text":"TemporaryFile(/tmp/multipartBody2170771802019544646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348712609,"filename":"image_11042025_04_08_04_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/11/5ff9a838471ad27d25fb1084044e0425.jpg","text":"TemporaryFile(/tmp/multipartBody1942891786139528613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348712609,"filename":"image_11042025_04_07_54_9394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351488799","file1":"1351488784","file0":"1351488778","file4":"1351488861","file5":"1351489033","file3":"1351488831"},"map_files_photo_id_array":[{"photo_id":"1351489033","filename":"file5"},{"photo_id":"1351488799","filename":"file2"},{"photo_id":"1351488861","filename":"file4"},{"photo_id":"1351488784","filename":"file1"},{"photo_id":"1351488778","filename":"file0"},{"photo_id":"1351488831","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351488799":["hashtag1","hashtag2"]},{"1351488784":["hashtag1","hashtag2"]},{"1351488778":["hashtag1","hashtag2"]},{"1351489033":["hashtag1","hashtag2"]},{"1351488861":["hashtag1","hashtag2"]},{"1351488831":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351488799, 1351488784, 1351488778, 1351489033, 1351488861, 1351488831)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.20130467414856 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 07:18:32.543853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/04/08/image_11042025_04_08_24_9371.jpg', '/home/pi/Desktop/images/11042025/04/08/image_11042025_04_08_35_10417.jpg', '/home/pi/Desktop/images/11042025/04/08/image_11042025_04_08_44_9450.jpg', '/home/pi/Desktop/images/11042025/04/08/image_11042025_04_08_54_10356.jpg', '/home/pi/Desktop/images/11042025/04/08/image_11042025_04_09_04_9450.jpg', '/home/pi/Desktop/images/11042025/04/09/image_11042025_04_09_14_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/04/08/image_11042025_04_08_24_9371.jpg
/home/pi/Desktop/images/11042025/04/08/image_11042025_04_08_35_10417.jpg
/home/pi/Desktop/images/11042025/04/08/image_11042025_04_08_44_9450.jpg
/home/pi/Desktop/images/11042025/04/08/image_11042025_04_08_54_10356.jpg
/home/pi/Desktop/images/11042025/04/08/image_11042025_04_09_04_9450.jpg
/home/pi/Desktop/images/11042025/04/09/image_11042025_04_09_14_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":["1351489261","1351489234","1351489197","1351489407","1351489157","1351489322"],"photo_ids_order":["1351489157","1351489197","1351489234","1351489261","1351489322","1351489407"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/79c219535f2349682bbbae64a054f77e.jpg","text":"TemporaryFile(/tmp/multipartBody2303133899372249958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348773013,"filename":"image_11042025_04_08_54_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/574b84fa3301dc23f4eab9eae6c4bbb4.jpg","text":"TemporaryFile(/tmp/multipartBody7407785316263449535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348773013,"filename":"image_11042025_04_08_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/11/603050664c9916f227498dee5acb3648.jpg","text":"TemporaryFile(/tmp/multipartBody31585721406113732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348773013,"filename":"image_11042025_04_08_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/11/f66ea5880a4f200fba7e904c97feeb56.jpg","text":"TemporaryFile(/tmp/multipartBody5067563964160223131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348773013,"filename":"image_11042025_04_09_14_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b73d80dcaedd306c579130ff541891ad.jpg","text":"TemporaryFile(/tmp/multipartBody4989423614988947098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348773013,"filename":"image_11042025_04_08_24_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/11/09ee010e869156ffb926ab95d754be98.jpg","text":"TemporaryFile(/tmp/multipartBody6943751054327832952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348773013,"filename":"image_11042025_04_09_04_9450.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351489234","file1":"1351489197","file0":"1351489157","file4":"1351489322","file5":"1351489407","file3":"1351489261"},"map_files_photo_id_array":[{"photo_id":"1351489407","filename":"file5"},{"photo_id":"1351489234","filename":"file2"},{"photo_id":"1351489322","filename":"file4"},{"photo_id":"1351489197","filename":"file1"},{"photo_id":"1351489157","filename":"file0"},{"photo_id":"1351489261","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351489261":["hashtag1","hashtag2"]},{"1351489234":["hashtag1","hashtag2"]},{"1351489197":["hashtag1","hashtag2"]},{"1351489407":["hashtag1","hashtag2"]},{"1351489157":["hashtag1","hashtag2"]},{"1351489322":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351489261, 1351489234, 1351489197, 1351489407, 1351489157, 1351489322)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.18769407272339 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 07:19:32.736965
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/04/09/image_11042025_04_09_34_9373.jpg', '/home/pi/Desktop/images/11042025/04/09/image_11042025_04_09_44_10380.jpg', '/home/pi/Desktop/images/11042025/04/09/image_11042025_04_09_55_10412.jpg', '/home/pi/Desktop/images/11042025/04/09/image_11042025_04_10_04_9353.jpg', '/home/pi/Desktop/images/11042025/04/10/image_11042025_04_10_15_10471.jpg', '/home/pi/Desktop/images/11042025/04/10/image_11042025_04_10_24_9356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/04/09/image_11042025_04_09_34_9373.jpg
/home/pi/Desktop/images/11042025/04/09/image_11042025_04_09_44_10380.jpg
/home/pi/Desktop/images/11042025/04/09/image_11042025_04_09_55_10412.jpg
/home/pi/Desktop/images/11042025/04/09/image_11042025_04_10_04_9353.jpg
/home/pi/Desktop/images/11042025/04/10/image_11042025_04_10_15_10471.jpg
/home/pi/Desktop/images/11042025/04/10/image_11042025_04_10_24_9356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351489744","1351489698","1351489725","1351489673","1351489739","1351489657"],"photo_ids_order":["1351489657","1351489673","1351489698","1351489725","1351489739","1351489744"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/70545a06ee8fea8fd272b2d39fa8ca84.jpg","text":"TemporaryFile(/tmp/multipartBody779137380055126424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348837415,"filename":"image_11042025_04_10_24_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c037b064c33e193989030dd6308496cf.jpg","text":"TemporaryFile(/tmp/multipartBody5585417468130838928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348837415,"filename":"image_11042025_04_09_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/11/572f790e46e69b0e246e8e784d54a8e6.jpg","text":"TemporaryFile(/tmp/multipartBody5363680462091658246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348837415,"filename":"image_11042025_04_10_04_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c10044b3c478a5c807b69ec2a10651d7.jpg","text":"TemporaryFile(/tmp/multipartBody8592707073315676994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348837415,"filename":"image_11042025_04_09_44_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/11/aa768306810ec143e8f620dbd747f35f.jpg","text":"TemporaryFile(/tmp/multipartBody3961195168623492458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348837415,"filename":"image_11042025_04_10_15_10471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/81183eb5873f0e6f8c59584977bbf880.jpg","text":"TemporaryFile(/tmp/multipartBody2008643252465117828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348837415,"filename":"image_11042025_04_09_34_9373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351489698","file1":"1351489673","file0":"1351489657","file4":"1351489739","file5":"1351489744","file3":"1351489725"},"map_files_photo_id_array":[{"photo_id":"1351489744","filename":"file5"},{"photo_id":"1351489698","filename":"file2"},{"photo_id":"1351489739","filename":"file4"},{"photo_id":"1351489673","filename":"file1"},{"photo_id":"1351489657","filename":"file0"},{"photo_id":"1351489725","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351489744":["hashtag1","hashtag2"]},{"1351489698":["hashtag1","hashtag2"]},{"1351489725":["hashtag1","hashtag2"]},{"1351489673":["hashtag1","hashtag2"]},{"1351489739":["hashtag1","hashtag2"]},{"1351489657":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351489744, 1351489698, 1351489725, 1351489673, 1351489739, 1351489657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.39579772949219 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 07:20:32.966783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/04/10/image_11042025_04_10_45_10437.jpg', '/home/pi/Desktop/images/11042025/04/10/image_11042025_04_10_54_9369.jpg', '/home/pi/Desktop/images/11042025/04/10/image_11042025_04_11_04_10346.jpg', '/home/pi/Desktop/images/11042025/04/11/image_11042025_04_11_14_9425.jpg', '/home/pi/Desktop/images/11042025/04/11/image_11042025_04_11_24_10349.jpg', '/home/pi/Desktop/images/11042025/04/11/image_11042025_04_11_35_10499.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/04/10/image_11042025_04_10_45_10437.jpg
/home/pi/Desktop/images/11042025/04/10/image_11042025_04_10_54_9369.jpg
/home/pi/Desktop/images/11042025/04/10/image_11042025_04_11_04_10346.jpg
/home/pi/Desktop/images/11042025/04/11/image_11042025_04_11_14_9425.jpg
/home/pi/Desktop/images/11042025/04/11/image_11042025_04_11_24_10349.jpg
/home/pi/Desktop/images/11042025/04/11/image_11042025_04_11_35_10499.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351489950","1351489862","1351489850","1351489874","1351489856","1351489841"],"photo_ids_order":["1351489841","1351489850","1351489856","1351489862","1351489874","1351489950"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2e62c58d7aa8d573aa6a6e52a8a7a0bc.jpg","text":"TemporaryFile(/tmp/multipartBody6689814251762914446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348893438,"filename":"image_11042025_04_11_35_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/11/c62d97217ceff6afc037fdb49538eb07.jpg","text":"TemporaryFile(/tmp/multipartBody6417619594862506511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348893438,"filename":"image_11042025_04_11_14_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/49a53eee9bd75334c52135feba252b72.jpg","text":"TemporaryFile(/tmp/multipartBody5204214092682153668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348893438,"filename":"image_11042025_04_10_54_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9359df845e17e4a3ad068df0f767232b.jpg","text":"TemporaryFile(/tmp/multipartBody8932682287044430110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348893438,"filename":"image_11042025_04_11_24_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7a26c147145134eb96f607a85a67887d.jpg","text":"TemporaryFile(/tmp/multipartBody2052974211917593836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348893438,"filename":"image_11042025_04_11_04_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/252cadc7332a7dfbc808f55b8046b33e.jpg","text":"TemporaryFile(/tmp/multipartBody259829162951894748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348893438,"filename":"image_11042025_04_10_45_10437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351489856","file1":"1351489850","file0":"1351489841","file4":"1351489874","file5":"1351489950","file3":"1351489862"},"map_files_photo_id_array":[{"photo_id":"1351489950","filename":"file5"},{"photo_id":"1351489856","filename":"file2"},{"photo_id":"1351489874","filename":"file4"},{"photo_id":"1351489850","filename":"file1"},{"photo_id":"1351489841","filename":"file0"},{"photo_id":"1351489862","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351489950":["hashtag1","hashtag2"]},{"1351489862":["hashtag1","hashtag2"]},{"1351489850":["hashtag1","hashtag2"]},{"1351489874":["hashtag1","hashtag2"]},{"1351489856":["hashtag1","hashtag2"]},{"1351489841":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351489950, 1351489862, 1351489850, 1351489874, 1351489856, 1351489841)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.99057960510254 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 07:21:33.160048
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/04/11/image_11042025_04_11_44_9210.jpg', '/home/pi/Desktop/images/11042025/04/11/image_11042025_04_11_54_10368.jpg', '/home/pi/Desktop/images/11042025/04/11/image_11042025_04_12_05_10473.jpg', '/home/pi/Desktop/images/11042025/04/12/image_11042025_04_12_14_9337.jpg', '/home/pi/Desktop/images/11042025/04/12/image_11042025_04_12_24_10351.jpg', '/home/pi/Desktop/images/11042025/04/12/image_11042025_04_12_44_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/04/11/image_11042025_04_11_44_9210.jpg
/home/pi/Desktop/images/11042025/04/11/image_11042025_04_11_54_10368.jpg
/home/pi/Desktop/images/11042025/04/11/image_11042025_04_12_05_10473.jpg
/home/pi/Desktop/images/11042025/04/12/image_11042025_04_12_14_9337.jpg
/home/pi/Desktop/images/11042025/04/12/image_11042025_04_12_24_10351.jpg
/home/pi/Desktop/images/11042025/04/12/image_11042025_04_12_44_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":["1351490201","1351490194","1351490245","1351490187","1351490211","1351490183"],"photo_ids_order":["1351490183","1351490187","1351490194","1351490201","1351490211","1351490245"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1055636562fe56d9bd931bece0160fbd.jpg","text":"TemporaryFile(/tmp/multipartBody1572734861674605132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348953648,"filename":"image_11042025_04_12_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/11/d4884a41c9f13ce448519d4c914afb29.jpg","text":"TemporaryFile(/tmp/multipartBody5417158151267848364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348953648,"filename":"image_11042025_04_12_05_10473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0b1249e66fcfc42d0f638aecf669d776.jpg","text":"TemporaryFile(/tmp/multipartBody7845428006011194297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348953648,"filename":"image_11042025_04_12_44_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/11/b3f7237555ca775af184a4427468ab0a.jpg","text":"TemporaryFile(/tmp/multipartBody1802397306445148644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348953648,"filename":"image_11042025_04_11_54_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/14188b0d9d1a24f4d8a5b8e771355cdd.jpg","text":"TemporaryFile(/tmp/multipartBody7235567073854171438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348953648,"filename":"image_11042025_04_12_24_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6de936d67de95c34f8268d2231e51b6a.jpg","text":"TemporaryFile(/tmp/multipartBody8365519860840745069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744348953648,"filename":"image_11042025_04_11_44_9210.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351490194","file1":"1351490187","file0":"1351490183","file4":"1351490211","file5":"1351490245","file3":"1351490201"},"map_files_photo_id_array":[{"photo_id":"1351490245","filename":"file5"},{"photo_id":"1351490194","filename":"file2"},{"photo_id":"1351490211","filename":"file4"},{"photo_id":"1351490187","filename":"file1"},{"photo_id":"1351490183","filename":"file0"},{"photo_id":"1351490201","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351490201":["hashtag1","hashtag2"]},{"1351490194":["hashtag1","hashtag2"]},{"1351490245":["hashtag1","hashtag2"]},{"1351490187":["hashtag1","hashtag2"]},{"1351490211":["hashtag1","hashtag2"]},{"1351490183":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351490201, 1351490194, 1351490245, 1351490187, 1351490211, 1351490183)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.29871845245361 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 07:22:32.380400
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/04/12/image_11042025_04_13_04_9347.jpg', '/home/pi/Desktop/images/11042025/04/13/image_11042025_04_13_25_10464.jpg', '/home/pi/Desktop/images/11042025/04/13/image_11042025_04_13_34_9349.jpg', '/home/pi/Desktop/images/11042025/04/13/image_11042025_04_13_45_10366.jpg', '/home/pi/Desktop/images/11042025/04/13/image_11042025_04_13_54_9448.jpg', '/home/pi/Desktop/images/11042025/04/14/image_11042025_04_14_15_10493.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/04/12/image_11042025_04_13_04_9347.jpg
/home/pi/Desktop/images/11042025/04/13/image_11042025_04_13_25_10464.jpg
/home/pi/Desktop/images/11042025/04/13/image_11042025_04_13_34_9349.jpg
/home/pi/Desktop/images/11042025/04/13/image_11042025_04_13_45_10366.jpg
/home/pi/Desktop/images/11042025/04/13/image_11042025_04_13_54_9448.jpg
/home/pi/Desktop/images/11042025/04/14/image_11042025_04_14_15_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":["1351490335","1351490343","1351490355","1351490328","1351490322","1351490324"],"photo_ids_order":["1351490322","1351490324","1351490328","1351490335","1351490343","1351490355"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4f68dd33794de5a654f9df4f8dd4593a.jpg","text":"TemporaryFile(/tmp/multipartBody8186258165129555320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349012851,"filename":"image_11042025_04_13_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/11/994a28dee277e09deb2b8c783d172e24.jpg","text":"TemporaryFile(/tmp/multipartBody5846240130524823714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349012851,"filename":"image_11042025_04_13_54_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/36ac2a768e9e22c3abbd8b9d29cd465a.jpg","text":"TemporaryFile(/tmp/multipartBody7138366851358030767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349012851,"filename":"image_11042025_04_14_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/11/f7f78a22bcfb1f053a7349fdbcd24a52.jpg","text":"TemporaryFile(/tmp/multipartBody4275405229860015884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349012851,"filename":"image_11042025_04_13_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/11/e455659e9418fc0dc2498d7b874ddeb1.jpg","text":"TemporaryFile(/tmp/multipartBody4776603196356127805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349012851,"filename":"image_11042025_04_13_04_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/db279f374ecad36d122f2a7cd750e036.jpg","text":"TemporaryFile(/tmp/multipartBody2182846074872904781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349012851,"filename":"image_11042025_04_13_25_10464.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351490328","file1":"1351490324","file0":"1351490322","file4":"1351490343","file5":"1351490355","file3":"1351490335"},"map_files_photo_id_array":[{"photo_id":"1351490355","filename":"file5"},{"photo_id":"1351490328","filename":"file2"},{"photo_id":"1351490343","filename":"file4"},{"photo_id":"1351490324","filename":"file1"},{"photo_id":"1351490322","filename":"file0"},{"photo_id":"1351490335","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351490335":["hashtag1","hashtag2"]},{"1351490343":["hashtag1","hashtag2"]},{"1351490355":["hashtag1","hashtag2"]},{"1351490328":["hashtag1","hashtag2"]},{"1351490322":["hashtag1","hashtag2"]},{"1351490324":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351490335, 1351490343, 1351490355, 1351490328, 1351490322, 1351490324)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.008148431777954 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 07:23:32.734936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/04/14/image_11042025_04_14_24_9406.jpg', '/home/pi/Desktop/images/11042025/04/14/image_11042025_04_14_35_10390.jpg', '/home/pi/Desktop/images/11042025/04/14/image_11042025_04_14_44_9424.jpg', '/home/pi/Desktop/images/11042025/04/14/image_11042025_04_14_54_10397.jpg', '/home/pi/Desktop/images/11042025/04/14/image_11042025_04_15_04_9444.jpg', '/home/pi/Desktop/images/11042025/04/15/image_11042025_04_15_14_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/04/14/image_11042025_04_14_24_9406.jpg
/home/pi/Desktop/images/11042025/04/14/image_11042025_04_14_35_10390.jpg
/home/pi/Desktop/images/11042025/04/14/image_11042025_04_14_44_9424.jpg
/home/pi/Desktop/images/11042025/04/14/image_11042025_04_14_54_10397.jpg
/home/pi/Desktop/images/11042025/04/14/image_11042025_04_15_04_9444.jpg
/home/pi/Desktop/images/11042025/04/15/image_11042025_04_15_14_10350.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3883821964263916 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 07:23:42.576369
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/04/14/image_11042025_04_14_24_9406.jpg', '/home/pi/Desktop/images/11042025/04/14/image_11042025_04_14_35_10390.jpg', '/home/pi/Desktop/images/11042025/04/14/image_11042025_04_14_44_9424.jpg', '/home/pi/Desktop/images/11042025/04/14/image_11042025_04_14_54_10397.jpg', '/home/pi/Desktop/images/11042025/04/14/image_11042025_04_15_04_9444.jpg', '/home/pi/Desktop/images/11042025/04/15/image_11042025_04_15_14_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/04/14/image_11042025_04_14_24_9406.jpg
/home/pi/Desktop/images/11042025/04/14/image_11042025_04_14_35_10390.jpg
/home/pi/Desktop/images/11042025/04/14/image_11042025_04_14_44_9424.jpg
/home/pi/Desktop/images/11042025/04/14/image_11042025_04_14_54_10397.jpg
/home/pi/Desktop/images/11042025/04/14/image_11042025_04_15_04_9444.jpg
/home/pi/Desktop/images/11042025/04/15/image_11042025_04_15_14_10350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351490575","1351490602","1351490484","1351490454","1351490514","1351490543"],"photo_ids_order":["1351490454","1351490484","1351490514","1351490543","1351490575","1351490602"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1420d379390dfcb20d87cee146a7f963.jpg","text":"TemporaryFile(/tmp/multipartBody675961800643492542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349083059,"filename":"image_11042025_04_15_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/11/73e10021e06d1fe1ef0281af8fd42b92.jpg","text":"TemporaryFile(/tmp/multipartBody6280152062330025370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349083059,"filename":"image_11042025_04_15_14_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5ae3547ef293038be4dcc1d97a78406b.jpg","text":"TemporaryFile(/tmp/multipartBody4519714570416431285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349083059,"filename":"image_11042025_04_14_35_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/436a4e43d3f329ad63f1295fe4ad982e.jpg","text":"TemporaryFile(/tmp/multipartBody5388532881077976693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349083059,"filename":"image_11042025_04_14_24_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/11/79903c9a99664e16d405362497e146e5.jpg","text":"TemporaryFile(/tmp/multipartBody6340119197905288679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349083059,"filename":"image_11042025_04_14_44_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d7ef422cac6360c4e6d887b8cfcd428d.jpg","text":"TemporaryFile(/tmp/multipartBody536731686062279127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349083059,"filename":"image_11042025_04_14_54_10397.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351490514","file1":"1351490484","file0":"1351490454","file4":"1351490575","file5":"1351490602","file3":"1351490543"},"map_files_photo_id_array":[{"photo_id":"1351490602","filename":"file5"},{"photo_id":"1351490514","filename":"file2"},{"photo_id":"1351490575","filename":"file4"},{"photo_id":"1351490484","filename":"file1"},{"photo_id":"1351490454","filename":"file0"},{"photo_id":"1351490543","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351490575":["hashtag1","hashtag2"]},{"1351490602":["hashtag1","hashtag2"]},{"1351490484":["hashtag1","hashtag2"]},{"1351490454":["hashtag1","hashtag2"]},{"1351490514":["hashtag1","hashtag2"]},{"1351490543":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351490575, 1351490602, 1351490484, 1351490454, 1351490514, 1351490543)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.18073344230652 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 07:24:32.920758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/04/15/image_11042025_04_15_25_10372.jpg', '/home/pi/Desktop/images/11042025/04/15/image_11042025_04_15_54_9380.jpg', '/home/pi/Desktop/images/11042025/04/15/image_11042025_04_16_04_10425.jpg', '/home/pi/Desktop/images/11042025/04/16/image_11042025_04_16_15_10429.jpg', '/home/pi/Desktop/images/11042025/04/16/image_11042025_04_16_24_9364.jpg', '/home/pi/Desktop/images/11042025/04/16/image_11042025_04_16_34_10379.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/04/15/image_11042025_04_15_25_10372.jpg
/home/pi/Desktop/images/11042025/04/15/image_11042025_04_15_54_9380.jpg
/home/pi/Desktop/images/11042025/04/15/image_11042025_04_16_04_10425.jpg
/home/pi/Desktop/images/11042025/04/16/image_11042025_04_16_15_10429.jpg
/home/pi/Desktop/images/11042025/04/16/image_11042025_04_16_24_9364.jpg
/home/pi/Desktop/images/11042025/04/16/image_11042025_04_16_34_10379.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.40422892570495605 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 07:24:42.868542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/04/15/image_11042025_04_15_25_10372.jpg', '/home/pi/Desktop/images/11042025/04/15/image_11042025_04_15_54_9380.jpg', '/home/pi/Desktop/images/11042025/04/15/image_11042025_04_16_04_10425.jpg', '/home/pi/Desktop/images/11042025/04/16/image_11042025_04_16_15_10429.jpg', '/home/pi/Desktop/images/11042025/04/16/image_11042025_04_16_24_9364.jpg', '/home/pi/Desktop/images/11042025/04/16/image_11042025_04_16_34_10379.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/04/15/image_11042025_04_15_25_10372.jpg
/home/pi/Desktop/images/11042025/04/15/image_11042025_04_15_54_9380.jpg
/home/pi/Desktop/images/11042025/04/15/image_11042025_04_16_04_10425.jpg
/home/pi/Desktop/images/11042025/04/16/image_11042025_04_16_15_10429.jpg
/home/pi/Desktop/images/11042025/04/16/image_11042025_04_16_24_9364.jpg
/home/pi/Desktop/images/11042025/04/16/image_11042025_04_16_34_10379.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351490968","1351491048","1351490886","1351490859","1351491021","1351490918"],"photo_ids_order":["1351490859","1351490886","1351490918","1351490968","1351491021","1351491048"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b6833d36e2f76f11910d88222f3de363.jpg","text":"TemporaryFile(/tmp/multipartBody7139562064452678694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349143340,"filename":"image_11042025_04_16_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/11/9844a9ecbd3de303971d121d7c97d410.jpg","text":"TemporaryFile(/tmp/multipartBody4280250463850440426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349143340,"filename":"image_11042025_04_16_34_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/11/21877ed1154d260a227e5bccf3e43376.jpg","text":"TemporaryFile(/tmp/multipartBody7640518261522210522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349143340,"filename":"image_11042025_04_15_54_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6c9414e1ff8cccf3ea6cb215989b08e6.jpg","text":"TemporaryFile(/tmp/multipartBody4409325094175081532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349143340,"filename":"image_11042025_04_15_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/11/7aaf301c6804a87f4c0014c4fb5ea2e7.jpg","text":"TemporaryFile(/tmp/multipartBody3954805074815048642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349143340,"filename":"image_11042025_04_16_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/11/6db7b10a44984d6f452cefc7addb7e2a.jpg","text":"TemporaryFile(/tmp/multipartBody8244974032184941675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349143340,"filename":"image_11042025_04_16_04_10425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351490918","file1":"1351490886","file0":"1351490859","file4":"1351491021","file5":"1351491048","file3":"1351490968"},"map_files_photo_id_array":[{"photo_id":"1351491048","filename":"file5"},{"photo_id":"1351490918","filename":"file2"},{"photo_id":"1351491021","filename":"file4"},{"photo_id":"1351490886","filename":"file1"},{"photo_id":"1351490859","filename":"file0"},{"photo_id":"1351490968","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351490968":["hashtag1","hashtag2"]},{"1351491048":["hashtag1","hashtag2"]},{"1351490886":["hashtag1","hashtag2"]},{"1351490859":["hashtag1","hashtag2"]},{"1351491021":["hashtag1","hashtag2"]},{"1351490918":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351490968, 1351491048, 1351490886, 1351490859, 1351491021, 1351490918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.46966004371643 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 07:25:32.187661
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/04/16/image_11042025_04_16_44_9465.jpg', '/home/pi/Desktop/images/11042025/04/16/image_11042025_04_16_54_10357.jpg', '/home/pi/Desktop/images/11042025/04/16/image_11042025_04_17_05_10479.jpg', '/home/pi/Desktop/images/11042025/04/17/image_11042025_04_17_14_9340.jpg', '/home/pi/Desktop/images/11042025/04/17/image_11042025_04_17_24_10374.jpg', '/home/pi/Desktop/images/11042025/04/17/image_11042025_04_17_35_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/04/16/image_11042025_04_16_44_9465.jpg
/home/pi/Desktop/images/11042025/04/16/image_11042025_04_16_54_10357.jpg
/home/pi/Desktop/images/11042025/04/16/image_11042025_04_17_05_10479.jpg
/home/pi/Desktop/images/11042025/04/17/image_11042025_04_17_14_9340.jpg
/home/pi/Desktop/images/11042025/04/17/image_11042025_04_17_24_10374.jpg
/home/pi/Desktop/images/11042025/04/17/image_11042025_04_17_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":["1351491226","1351491130","1351491159","1351491150","1351491155","1351491125"],"photo_ids_order":["1351491125","1351491130","1351491150","1351491155","1351491159","1351491226"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e9c9e589809d42dacb6c78879fdf5fb1.jpg","text":"TemporaryFile(/tmp/multipartBody1166955155250533099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349192649,"filename":"image_11042025_04_17_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/11/4cae671e581967ad0be83da21fdb46f5.jpg","text":"TemporaryFile(/tmp/multipartBody4994345308411321486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349192649,"filename":"image_11042025_04_16_54_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/517a3701ab87f0ad985382bd6f61e085.jpg","text":"TemporaryFile(/tmp/multipartBody7206103315350711857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349192649,"filename":"image_11042025_04_17_24_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0badd1d914ab090f60e005e82138cab0.jpg","text":"TemporaryFile(/tmp/multipartBody1146874715126176927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349192649,"filename":"image_11042025_04_17_05_10479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8369a7d93994391d0ff39ecfe650fb9b.jpg","text":"TemporaryFile(/tmp/multipartBody8288520658448145141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349192649,"filename":"image_11042025_04_17_14_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/03539e10533386f43beec6245a8a8dd0.jpg","text":"TemporaryFile(/tmp/multipartBody2591758519000050925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349192649,"filename":"image_11042025_04_16_44_9465.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351491150","file1":"1351491130","file0":"1351491125","file4":"1351491159","file5":"1351491226","file3":"1351491155"},"map_files_photo_id_array":[{"photo_id":"1351491226","filename":"file5"},{"photo_id":"1351491150","filename":"file2"},{"photo_id":"1351491159","filename":"file4"},{"photo_id":"1351491130","filename":"file1"},{"photo_id":"1351491125","filename":"file0"},{"photo_id":"1351491155","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351491226":["hashtag1","hashtag2"]},{"1351491130":["hashtag1","hashtag2"]},{"1351491159":["hashtag1","hashtag2"]},{"1351491150":["hashtag1","hashtag2"]},{"1351491155":["hashtag1","hashtag2"]},{"1351491125":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351491226, 1351491130, 1351491159, 1351491150, 1351491155, 1351491125)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.40531015396118 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 07:26:32.458837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/04/17/image_11042025_04_17_44_9363.jpg', '/home/pi/Desktop/images/11042025/04/17/image_11042025_04_17_55_10397.jpg', '/home/pi/Desktop/images/11042025/04/17/image_11042025_04_18_04_9424.jpg', '/home/pi/Desktop/images/11042025/04/18/image_11042025_04_18_14_10405.jpg', '/home/pi/Desktop/images/11042025/04/18/image_11042025_04_18_24_9437.jpg', '/home/pi/Desktop/images/11042025/04/18/image_11042025_04_18_34_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/04/17/image_11042025_04_17_44_9363.jpg
/home/pi/Desktop/images/11042025/04/17/image_11042025_04_17_55_10397.jpg
/home/pi/Desktop/images/11042025/04/17/image_11042025_04_18_04_9424.jpg
/home/pi/Desktop/images/11042025/04/18/image_11042025_04_18_14_10405.jpg
/home/pi/Desktop/images/11042025/04/18/image_11042025_04_18_24_9437.jpg
/home/pi/Desktop/images/11042025/04/18/image_11042025_04_18_34_10365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351491523","1351491486","1351491471","1351491519","1351491432","1351491497"],"photo_ids_order":["1351491432","1351491471","1351491486","1351491497","1351491519","1351491523"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/bec4d38d2a949819d5279ca958522360.jpg","text":"TemporaryFile(/tmp/multipartBody6446742333134226263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349252921,"filename":"image_11042025_04_18_34_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/11/c509a3dd679d55100f399e8a265527f3.jpg","text":"TemporaryFile(/tmp/multipartBody1079857699581096611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349252921,"filename":"image_11042025_04_18_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/11/74f6ef07899d11bd125ea3116f8c8361.jpg","text":"TemporaryFile(/tmp/multipartBody8636265693862987531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349252921,"filename":"image_11042025_04_17_55_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/161eb4a39d2d00a4da82480d314afb9a.jpg","text":"TemporaryFile(/tmp/multipartBody252574501482722701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349252921,"filename":"image_11042025_04_18_24_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c952570090b184a3844db8cca3db2dbc.jpg","text":"TemporaryFile(/tmp/multipartBody2981786677577085112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349252921,"filename":"image_11042025_04_17_44_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e913e20cc701acc07f2a7905229a4029.jpg","text":"TemporaryFile(/tmp/multipartBody8809333731493940740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349252921,"filename":"image_11042025_04_18_14_10405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351491486","file1":"1351491471","file0":"1351491432","file4":"1351491519","file5":"1351491523","file3":"1351491497"},"map_files_photo_id_array":[{"photo_id":"1351491523","filename":"file5"},{"photo_id":"1351491486","filename":"file2"},{"photo_id":"1351491519","filename":"file4"},{"photo_id":"1351491471","filename":"file1"},{"photo_id":"1351491432","filename":"file0"},{"photo_id":"1351491497","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351491523":["hashtag1","hashtag2"]},{"1351491486":["hashtag1","hashtag2"]},{"1351491471":["hashtag1","hashtag2"]},{"1351491519":["hashtag1","hashtag2"]},{"1351491432":["hashtag1","hashtag2"]},{"1351491497":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351491523, 1351491486, 1351491471, 1351491519, 1351491432, 1351491497)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.09113049507141 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 07:27:32.649862
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/04/18/image_11042025_04_18_45_10367.jpg', '/home/pi/Desktop/images/11042025/04/18/image_11042025_04_18_54_9391.jpg', '/home/pi/Desktop/images/11042025/04/18/image_11042025_04_19_04_10396.jpg', '/home/pi/Desktop/images/11042025/04/19/image_11042025_04_19_15_10436.jpg', '/home/pi/Desktop/images/11042025/04/19/image_11042025_04_19_24_9368.jpg', '/home/pi/Desktop/images/11042025/04/19/image_11042025_04_19_35_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/04/18/image_11042025_04_18_45_10367.jpg
/home/pi/Desktop/images/11042025/04/18/image_11042025_04_18_54_9391.jpg
/home/pi/Desktop/images/11042025/04/18/image_11042025_04_19_04_10396.jpg
/home/pi/Desktop/images/11042025/04/19/image_11042025_04_19_15_10436.jpg
/home/pi/Desktop/images/11042025/04/19/image_11042025_04_19_24_9368.jpg
/home/pi/Desktop/images/11042025/04/19/image_11042025_04_19_35_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":["1351491661","1351491721","1351491684","1351491651","1351491677","1351491728"],"photo_ids_order":["1351491651","1351491661","1351491677","1351491684","1351491721","1351491728"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/09dd10fc91952c65765c130720888e08.jpg","text":"TemporaryFile(/tmp/multipartBody3930208218721629040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349313121,"filename":"image_11042025_04_18_54_9391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8e28c3f2f946966e431918be3a9cc790.jpg","text":"TemporaryFile(/tmp/multipartBody6044955474633226792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349313121,"filename":"image_11042025_04_19_24_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/acb2a6ea0855b7bf3b559b7a107023aa.jpg","text":"TemporaryFile(/tmp/multipartBody1049634983289228677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349313121,"filename":"image_11042025_04_19_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/11/dac0ed4caddd73e847daab832bd27c47.jpg","text":"TemporaryFile(/tmp/multipartBody2852266915007868533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349313121,"filename":"image_11042025_04_18_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/11/b74be54921f4ffdecc569cc35eace39c.jpg","text":"TemporaryFile(/tmp/multipartBody8656878905185715789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349313121,"filename":"image_11042025_04_19_04_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d4e03e84467516e3d71b212bf886f03b.jpg","text":"TemporaryFile(/tmp/multipartBody11368895551822517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349313121,"filename":"image_11042025_04_19_35_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351491677","file1":"1351491661","file0":"1351491651","file4":"1351491721","file5":"1351491728","file3":"1351491684"},"map_files_photo_id_array":[{"photo_id":"1351491728","filename":"file5"},{"photo_id":"1351491677","filename":"file2"},{"photo_id":"1351491721","filename":"file4"},{"photo_id":"1351491661","filename":"file1"},{"photo_id":"1351491651","filename":"file0"},{"photo_id":"1351491684","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351491661":["hashtag1","hashtag2"]},{"1351491721":["hashtag1","hashtag2"]},{"1351491684":["hashtag1","hashtag2"]},{"1351491651":["hashtag1","hashtag2"]},{"1351491677":["hashtag1","hashtag2"]},{"1351491728":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351491661, 1351491721, 1351491684, 1351491651, 1351491677, 1351491728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.54322290420532 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 07:28:32.945236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/04/19/image_11042025_04_19_44_9467.jpg', '/home/pi/Desktop/images/11042025/04/19/image_11042025_04_19_54_10374.jpg', '/home/pi/Desktop/images/11042025/04/20/image_11042025_04_20_14_10354.jpg', '/home/pi/Desktop/images/11042025/04/20/image_11042025_04_20_25_10363.jpg', '/home/pi/Desktop/images/11042025/04/20/image_11042025_04_20_34_9434.jpg', '/home/pi/Desktop/images/11042025/04/20/image_11042025_04_20_44_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/04/19/image_11042025_04_19_44_9467.jpg
/home/pi/Desktop/images/11042025/04/19/image_11042025_04_19_54_10374.jpg
/home/pi/Desktop/images/11042025/04/20/image_11042025_04_20_14_10354.jpg
/home/pi/Desktop/images/11042025/04/20/image_11042025_04_20_25_10363.jpg
/home/pi/Desktop/images/11042025/04/20/image_11042025_04_20_34_9434.jpg
/home/pi/Desktop/images/11042025/04/20/image_11042025_04_20_44_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":["1351491814","1351491894","1351491821","1351492013","1351491851","1351491824"],"photo_ids_order":["1351491814","1351491821","1351491824","1351491851","1351491894","1351492013"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/fae5ff3bae759687fe73eff19067b97f.jpg","text":"TemporaryFile(/tmp/multipartBody743043694336213559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349373415,"filename":"image_11042025_04_19_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/11/f7bc6b8566d7c736e250e0c4680483f8.jpg","text":"TemporaryFile(/tmp/multipartBody747954324617019473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349373415,"filename":"image_11042025_04_20_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/11/4fe8f3aaf6634e5d8811c76055d1a194.jpg","text":"TemporaryFile(/tmp/multipartBody185534885465152033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349373415,"filename":"image_11042025_04_19_54_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2e5cfa293ebbdea842f63ca9bbe999aa.jpg","text":"TemporaryFile(/tmp/multipartBody140688258125784616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349373415,"filename":"image_11042025_04_20_44_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/11/ef43bd340cd5c0cca4a2ea86c8da2ba5.jpg","text":"TemporaryFile(/tmp/multipartBody1315358895122436539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349373415,"filename":"image_11042025_04_20_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/11/05753fa41ea6bef733ddc58380fd0778.jpg","text":"TemporaryFile(/tmp/multipartBody276084881509694834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349373415,"filename":"image_11042025_04_20_14_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351491824","file1":"1351491821","file0":"1351491814","file4":"1351491894","file5":"1351492013","file3":"1351491851"},"map_files_photo_id_array":[{"photo_id":"1351492013","filename":"file5"},{"photo_id":"1351491824","filename":"file2"},{"photo_id":"1351491894","filename":"file4"},{"photo_id":"1351491821","filename":"file1"},{"photo_id":"1351491814","filename":"file0"},{"photo_id":"1351491851","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351491814":["hashtag1","hashtag2"]},{"1351491894":["hashtag1","hashtag2"]},{"1351491821":["hashtag1","hashtag2"]},{"1351492013":["hashtag1","hashtag2"]},{"1351491851":["hashtag1","hashtag2"]},{"1351491824":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351491814, 1351491894, 1351491821, 1351492013, 1351491851, 1351491824)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.508309841156006 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 07:29:33.137504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/04/20/image_11042025_04_20_55_10454.jpg', '/home/pi/Desktop/images/11042025/04/21/image_11042025_04_21_15_10344.jpg', '/home/pi/Desktop/images/11042025/04/21/image_11042025_04_21_24_9431.jpg', '/home/pi/Desktop/images/11042025/04/21/image_11042025_04_21_34_10372.jpg', '/home/pi/Desktop/images/11042025/04/21/image_11042025_04_21_45_10481.jpg', '/home/pi/Desktop/images/11042025/04/21/image_11042025_04_21_54_9358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/04/20/image_11042025_04_20_55_10454.jpg
/home/pi/Desktop/images/11042025/04/21/image_11042025_04_21_15_10344.jpg
/home/pi/Desktop/images/11042025/04/21/image_11042025_04_21_24_9431.jpg
/home/pi/Desktop/images/11042025/04/21/image_11042025_04_21_34_10372.jpg
/home/pi/Desktop/images/11042025/04/21/image_11042025_04_21_45_10481.jpg
/home/pi/Desktop/images/11042025/04/21/image_11042025_04_21_54_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":["1351492426","1351492280","1351492358","1351492337","1351492412","1351492429"],"photo_ids_order":["1351492280","1351492337","1351492358","1351492412","1351492426","1351492429"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/97d145a88597f01326d43174a38b275f.jpg","text":"TemporaryFile(/tmp/multipartBody7912742804804014691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349433600,"filename":"image_11042025_04_21_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/11/11634212b04db831c08285b96c2e6e22.jpg","text":"TemporaryFile(/tmp/multipartBody7692155056321872293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349433600,"filename":"image_11042025_04_20_55_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/37339c1c525ac135c67884c8baf95226.jpg","text":"TemporaryFile(/tmp/multipartBody4234037892284477811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349433600,"filename":"image_11042025_04_21_24_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/807de19d871c8b5d0e676aa53a2ceac0.jpg","text":"TemporaryFile(/tmp/multipartBody4699689372353791348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349433600,"filename":"image_11042025_04_21_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/11/25de1537168c4c04800f0ea4cd02464f.jpg","text":"TemporaryFile(/tmp/multipartBody2711398871412951917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349433600,"filename":"image_11042025_04_21_34_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/657200b4e60d13601c0f722f75317bf6.jpg","text":"TemporaryFile(/tmp/multipartBody1768122113166780620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349433600,"filename":"image_11042025_04_21_54_9358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351492358","file1":"1351492337","file0":"1351492280","file4":"1351492426","file5":"1351492429","file3":"1351492412"},"map_files_photo_id_array":[{"photo_id":"1351492429","filename":"file5"},{"photo_id":"1351492358","filename":"file2"},{"photo_id":"1351492426","filename":"file4"},{"photo_id":"1351492337","filename":"file1"},{"photo_id":"1351492280","filename":"file0"},{"photo_id":"1351492412","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351492426":["hashtag1","hashtag2"]},{"1351492280":["hashtag1","hashtag2"]},{"1351492358":["hashtag1","hashtag2"]},{"1351492337":["hashtag1","hashtag2"]},{"1351492412":["hashtag1","hashtag2"]},{"1351492429":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351492426, 1351492280, 1351492358, 1351492337, 1351492412, 1351492429)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.99251103401184 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 07:30:32.329926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/04/21/image_11042025_04_22_05_10362.jpg', '/home/pi/Desktop/images/11042025/04/22/image_11042025_04_22_14_9424.jpg', '/home/pi/Desktop/images/11042025/04/22/image_11042025_04_22_24_10359.jpg', '/home/pi/Desktop/images/11042025/04/22/image_11042025_04_22_34_9511.jpg', '/home/pi/Desktop/images/11042025/04/22/image_11042025_04_22_44_10376.jpg', '/home/pi/Desktop/images/11042025/04/22/image_11042025_04_22_55_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/04/21/image_11042025_04_22_05_10362.jpg
/home/pi/Desktop/images/11042025/04/22/image_11042025_04_22_14_9424.jpg
/home/pi/Desktop/images/11042025/04/22/image_11042025_04_22_24_10359.jpg
/home/pi/Desktop/images/11042025/04/22/image_11042025_04_22_34_9511.jpg
/home/pi/Desktop/images/11042025/04/22/image_11042025_04_22_44_10376.jpg
/home/pi/Desktop/images/11042025/04/22/image_11042025_04_22_55_10369.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351492510","1351492500","1351492481","1351492466","1351492451","1351492459"],"photo_ids_order":["1351492451","1351492459","1351492466","1351492481","1351492500","1351492510"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d0c077d1c9d1c8c6c23c95bc72a18673.jpg","text":"TemporaryFile(/tmp/multipartBody1162071109494856365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349492814,"filename":"image_11042025_04_22_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/11/d63068ba4f97f7eb3b006ec9cba938ca.jpg","text":"TemporaryFile(/tmp/multipartBody5526722757440682914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349492814,"filename":"image_11042025_04_22_44_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c7509f651b1422719b1fce94b2951db8.jpg","text":"TemporaryFile(/tmp/multipartBody6522377744524648659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349492814,"filename":"image_11042025_04_22_34_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/11/4e13852faf1c6ef29c003f18d57e810f.jpg","text":"TemporaryFile(/tmp/multipartBody2388062816401665592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349492814,"filename":"image_11042025_04_22_24_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7779efb1a43e19f2bd7ac73859915532.jpg","text":"TemporaryFile(/tmp/multipartBody9201904460033974409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349492814,"filename":"image_11042025_04_22_05_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9c1803f113ade67b36e840988f87425c.jpg","text":"TemporaryFile(/tmp/multipartBody6270162157825893228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349492814,"filename":"image_11042025_04_22_14_9424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351492466","file1":"1351492459","file0":"1351492451","file4":"1351492500","file5":"1351492510","file3":"1351492481"},"map_files_photo_id_array":[{"photo_id":"1351492510","filename":"file5"},{"photo_id":"1351492466","filename":"file2"},{"photo_id":"1351492500","filename":"file4"},{"photo_id":"1351492459","filename":"file1"},{"photo_id":"1351492451","filename":"file0"},{"photo_id":"1351492481","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351492510":["hashtag1","hashtag2"]},{"1351492500":["hashtag1","hashtag2"]},{"1351492481":["hashtag1","hashtag2"]},{"1351492466":["hashtag1","hashtag2"]},{"1351492451":["hashtag1","hashtag2"]},{"1351492459":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351492510, 1351492500, 1351492481, 1351492466, 1351492451, 1351492459)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.10752892494202 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 07:31:32.644168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/04/22/image_11042025_04_23_04_9396.jpg', '/home/pi/Desktop/images/11042025/04/23/image_11042025_04_23_14_10347.jpg', '/home/pi/Desktop/images/11042025/04/23/image_11042025_04_23_25_10490.jpg', '/home/pi/Desktop/images/11042025/04/23/image_11042025_04_23_34_9358.jpg', '/home/pi/Desktop/images/11042025/04/23/image_11042025_04_23_45_10366.jpg', '/home/pi/Desktop/images/11042025/04/23/image_11042025_04_23_54_9356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/04/22/image_11042025_04_23_04_9396.jpg
/home/pi/Desktop/images/11042025/04/23/image_11042025_04_23_14_10347.jpg
/home/pi/Desktop/images/11042025/04/23/image_11042025_04_23_25_10490.jpg
/home/pi/Desktop/images/11042025/04/23/image_11042025_04_23_34_9358.jpg
/home/pi/Desktop/images/11042025/04/23/image_11042025_04_23_45_10366.jpg
/home/pi/Desktop/images/11042025/04/23/image_11042025_04_23_54_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":["1351492596","1351492605","1351492592","1351492580","1351492601","1351492588"],"photo_ids_order":["1351492580","1351492588","1351492592","1351492596","1351492601","1351492605"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/56f027e04bc38e8edc03ed1bd6a37531.jpg","text":"TemporaryFile(/tmp/multipartBody5457151962150335465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349553121,"filename":"image_11042025_04_23_34_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2447aff12d398ec1d2d95c1eb012bfd3.jpg","text":"TemporaryFile(/tmp/multipartBody4961902875683948061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349553121,"filename":"image_11042025_04_23_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/11/1c37f93304876d6d46ca76b3aa291a50.jpg","text":"TemporaryFile(/tmp/multipartBody2481780379020689939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349553121,"filename":"image_11042025_04_23_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/11/1afca0b0617134f8d81ef42e5dfedc01.jpg","text":"TemporaryFile(/tmp/multipartBody2317793216405723412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349553121,"filename":"image_11042025_04_23_04_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a2a69e1a37ce7861b71351a9ee74592e.jpg","text":"TemporaryFile(/tmp/multipartBody8186776766189622593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349553121,"filename":"image_11042025_04_23_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/11/37036d9597c2f8d2572dd17db23be81c.jpg","text":"TemporaryFile(/tmp/multipartBody5278026795022199650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349553121,"filename":"image_11042025_04_23_14_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351492592","file1":"1351492588","file0":"1351492580","file4":"1351492601","file5":"1351492605","file3":"1351492596"},"map_files_photo_id_array":[{"photo_id":"1351492605","filename":"file5"},{"photo_id":"1351492592","filename":"file2"},{"photo_id":"1351492601","filename":"file4"},{"photo_id":"1351492588","filename":"file1"},{"photo_id":"1351492580","filename":"file0"},{"photo_id":"1351492596","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351492596":["hashtag1","hashtag2"]},{"1351492605":["hashtag1","hashtag2"]},{"1351492592":["hashtag1","hashtag2"]},{"1351492580":["hashtag1","hashtag2"]},{"1351492601":["hashtag1","hashtag2"]},{"1351492588":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351492596, 1351492605, 1351492592, 1351492580, 1351492601, 1351492588)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.32338809967041 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 07:32:32.864946
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/04/23/image_11042025_04_24_04_10360.jpg', '/home/pi/Desktop/images/11042025/04/24/image_11042025_04_24_15_10343.jpg', '/home/pi/Desktop/images/11042025/04/24/image_11042025_04_24_24_9411.jpg', '/home/pi/Desktop/images/11042025/04/24/image_11042025_04_24_34_10368.jpg', '/home/pi/Desktop/images/11042025/04/24/image_11042025_04_24_45_10397.jpg', '/home/pi/Desktop/images/11042025/04/24/image_11042025_04_24_54_9366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/04/23/image_11042025_04_24_04_10360.jpg
/home/pi/Desktop/images/11042025/04/24/image_11042025_04_24_15_10343.jpg
/home/pi/Desktop/images/11042025/04/24/image_11042025_04_24_24_9411.jpg
/home/pi/Desktop/images/11042025/04/24/image_11042025_04_24_34_10368.jpg
/home/pi/Desktop/images/11042025/04/24/image_11042025_04_24_45_10397.jpg
/home/pi/Desktop/images/11042025/04/24/image_11042025_04_24_54_9366.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.38837361335754395 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 07:32:42.874662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/04/23/image_11042025_04_24_04_10360.jpg', '/home/pi/Desktop/images/11042025/04/24/image_11042025_04_24_15_10343.jpg', '/home/pi/Desktop/images/11042025/04/24/image_11042025_04_24_24_9411.jpg', '/home/pi/Desktop/images/11042025/04/24/image_11042025_04_24_34_10368.jpg', '/home/pi/Desktop/images/11042025/04/24/image_11042025_04_24_45_10397.jpg', '/home/pi/Desktop/images/11042025/04/24/image_11042025_04_24_54_9366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/04/23/image_11042025_04_24_04_10360.jpg
/home/pi/Desktop/images/11042025/04/24/image_11042025_04_24_15_10343.jpg
/home/pi/Desktop/images/11042025/04/24/image_11042025_04_24_24_9411.jpg
/home/pi/Desktop/images/11042025/04/24/image_11042025_04_24_34_10368.jpg
/home/pi/Desktop/images/11042025/04/24/image_11042025_04_24_45_10397.jpg
/home/pi/Desktop/images/11042025/04/24/image_11042025_04_24_54_9366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351492689","1351492740","1351492662","1351492709","1351492657","1351492771"],"photo_ids_order":["1351492657","1351492662","1351492689","1351492709","1351492740","1351492771"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e6cebb5291950198190ef145f159b455.jpg","text":"TemporaryFile(/tmp/multipartBody611249255313492143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349623348,"filename":"image_11042025_04_24_24_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/45961d0f0f9cc9ff3431d8f5306c40a2.jpg","text":"TemporaryFile(/tmp/multipartBody6368046062630785003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349623348,"filename":"image_11042025_04_24_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/11/2e8ffe39349492ac1205a3715058c708.jpg","text":"TemporaryFile(/tmp/multipartBody7780077343059238081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349623348,"filename":"image_11042025_04_24_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/11/ceae3887a9777c6d7e95e56a9cf9d82a.jpg","text":"TemporaryFile(/tmp/multipartBody2161606758750073802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349623348,"filename":"image_11042025_04_24_34_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9a8d6150054fd52f48388014d9335768.jpg","text":"TemporaryFile(/tmp/multipartBody8341497104640868500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349623348,"filename":"image_11042025_04_24_04_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/394c1e08fb08f076b085cfd9bcb404ec.jpg","text":"TemporaryFile(/tmp/multipartBody8618694024128976811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349623348,"filename":"image_11042025_04_24_54_9366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351492689","file1":"1351492662","file0":"1351492657","file4":"1351492740","file5":"1351492771","file3":"1351492709"},"map_files_photo_id_array":[{"photo_id":"1351492771","filename":"file5"},{"photo_id":"1351492689","filename":"file2"},{"photo_id":"1351492740","filename":"file4"},{"photo_id":"1351492662","filename":"file1"},{"photo_id":"1351492657","filename":"file0"},{"photo_id":"1351492709","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351492689":["hashtag1","hashtag2"]},{"1351492740":["hashtag1","hashtag2"]},{"1351492662":["hashtag1","hashtag2"]},{"1351492709":["hashtag1","hashtag2"]},{"1351492657":["hashtag1","hashtag2"]},{"1351492771":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351492689, 1351492740, 1351492662, 1351492709, 1351492657, 1351492771)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.65561628341675 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 07:33:33.240645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/04/24/image_11042025_04_25_05_10368.jpg', '/home/pi/Desktop/images/11042025/04/25/image_11042025_04_25_14_9349.jpg', '/home/pi/Desktop/images/11042025/04/25/image_11042025_04_25_24_10367.jpg', '/home/pi/Desktop/images/11042025/04/25/image_11042025_04_25_35_10361.jpg', '/home/pi/Desktop/images/11042025/04/25/image_11042025_04_25_44_9411.jpg', '/home/pi/Desktop/images/11042025/04/25/image_11042025_04_25_54_10421.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/04/24/image_11042025_04_25_05_10368.jpg
/home/pi/Desktop/images/11042025/04/25/image_11042025_04_25_14_9349.jpg
/home/pi/Desktop/images/11042025/04/25/image_11042025_04_25_24_10367.jpg
/home/pi/Desktop/images/11042025/04/25/image_11042025_04_25_35_10361.jpg
/home/pi/Desktop/images/11042025/04/25/image_11042025_04_25_44_9411.jpg
/home/pi/Desktop/images/11042025/04/25/image_11042025_04_25_54_10421.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351492822","1351492797","1351492863","1351492889","1351492805","1351492828"],"photo_ids_order":["1351492797","1351492805","1351492822","1351492828","1351492863","1351492889"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/22b74cc7dc6292a84cf62bb842d673eb.jpg","text":"TemporaryFile(/tmp/multipartBody3557363794271148149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349673711,"filename":"image_11042025_04_25_24_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2628d8ac688309ce360d9aa55081a81c.jpg","text":"TemporaryFile(/tmp/multipartBody9183987587558874403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349673711,"filename":"image_11042025_04_25_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/11/90af324486077b9ff74df1f5203db5b8.jpg","text":"TemporaryFile(/tmp/multipartBody1759786793950958332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349673711,"filename":"image_11042025_04_25_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/11/3811d942dd9382e79471b7de4685474f.jpg","text":"TemporaryFile(/tmp/multipartBody6999773365131136436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349673711,"filename":"image_11042025_04_25_54_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/dd77fe2fc0ce67a0eabe2447894cdcd5.jpg","text":"TemporaryFile(/tmp/multipartBody7595262116747280877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349673711,"filename":"image_11042025_04_25_14_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9a43d52d9a563cadd46d919a926d99c6.jpg","text":"TemporaryFile(/tmp/multipartBody1781362986264939358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349673711,"filename":"image_11042025_04_25_35_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351492822","file1":"1351492805","file0":"1351492797","file4":"1351492863","file5":"1351492889","file3":"1351492828"},"map_files_photo_id_array":[{"photo_id":"1351492889","filename":"file5"},{"photo_id":"1351492822","filename":"file2"},{"photo_id":"1351492863","filename":"file4"},{"photo_id":"1351492805","filename":"file1"},{"photo_id":"1351492797","filename":"file0"},{"photo_id":"1351492828","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351492822":["hashtag1","hashtag2"]},{"1351492797":["hashtag1","hashtag2"]},{"1351492863":["hashtag1","hashtag2"]},{"1351492889":["hashtag1","hashtag2"]},{"1351492805":["hashtag1","hashtag2"]},{"1351492828":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351492822, 1351492797, 1351492863, 1351492889, 1351492805, 1351492828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.30813217163086 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 07:34:32.306742
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/04/25/image_11042025_04_26_04_9442.jpg', '/home/pi/Desktop/images/11042025/04/26/image_11042025_04_26_14_10378.jpg', '/home/pi/Desktop/images/11042025/04/26/image_11042025_04_26_25_10372.jpg', '/home/pi/Desktop/images/11042025/04/26/image_11042025_04_26_34_9354.jpg', '/home/pi/Desktop/images/11042025/04/26/image_11042025_04_26_44_10427.jpg', '/home/pi/Desktop/images/11042025/04/26/image_11042025_04_26_54_9439.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/04/25/image_11042025_04_26_04_9442.jpg
/home/pi/Desktop/images/11042025/04/26/image_11042025_04_26_14_10378.jpg
/home/pi/Desktop/images/11042025/04/26/image_11042025_04_26_25_10372.jpg
/home/pi/Desktop/images/11042025/04/26/image_11042025_04_26_34_9354.jpg
/home/pi/Desktop/images/11042025/04/26/image_11042025_04_26_44_10427.jpg
/home/pi/Desktop/images/11042025/04/26/image_11042025_04_26_54_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":["1351493100","1351493198","1351493057","1351493062","1351493041","1351493146"],"photo_ids_order":["1351493041","1351493057","1351493062","1351493100","1351493146","1351493198"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ef9635b71dc43a319112c96964134f7f.jpg","text":"TemporaryFile(/tmp/multipartBody2998808928852811731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349732777,"filename":"image_11042025_04_26_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/11/ef619475a279c563db2e95530b77c25b.jpg","text":"TemporaryFile(/tmp/multipartBody7979856976862580843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349732777,"filename":"image_11042025_04_26_54_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c7e95af066102d3a9684e0343b7f669b.jpg","text":"TemporaryFile(/tmp/multipartBody4214291595533516117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349732777,"filename":"image_11042025_04_26_14_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4cd59fa513e77db2ef83b0f1e462525a.jpg","text":"TemporaryFile(/tmp/multipartBody8185423682200468172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349732777,"filename":"image_11042025_04_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/11/a901b3bad5b2d2507dd5ab4e78c88de9.jpg","text":"TemporaryFile(/tmp/multipartBody2823685627443361255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349732777,"filename":"image_11042025_04_26_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/11/d748784277fe46a53ea4dac479718a71.jpg","text":"TemporaryFile(/tmp/multipartBody5875613583629056409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349732777,"filename":"image_11042025_04_26_44_10427.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351493062","file1":"1351493057","file0":"1351493041","file4":"1351493146","file5":"1351493198","file3":"1351493100"},"map_files_photo_id_array":[{"photo_id":"1351493198","filename":"file5"},{"photo_id":"1351493062","filename":"file2"},{"photo_id":"1351493146","filename":"file4"},{"photo_id":"1351493057","filename":"file1"},{"photo_id":"1351493041","filename":"file0"},{"photo_id":"1351493100","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351493100":["hashtag1","hashtag2"]},{"1351493198":["hashtag1","hashtag2"]},{"1351493057":["hashtag1","hashtag2"]},{"1351493062":["hashtag1","hashtag2"]},{"1351493041":["hashtag1","hashtag2"]},{"1351493146":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351493100, 1351493198, 1351493057, 1351493062, 1351493041, 1351493146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.26224374771118 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 07:35:32.497077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/04/26/image_11042025_04_27_04_10365.jpg', '/home/pi/Desktop/images/11042025/04/27/image_11042025_04_27_15_10465.jpg', '/home/pi/Desktop/images/11042025/04/27/image_11042025_04_27_24_9362.jpg', '/home/pi/Desktop/images/11042025/04/27/image_11042025_04_27_34_10374.jpg', '/home/pi/Desktop/images/11042025/04/27/image_11042025_04_27_54_10362.jpg', '/home/pi/Desktop/images/11042025/04/27/image_11042025_04_28_05_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/04/26/image_11042025_04_27_04_10365.jpg
/home/pi/Desktop/images/11042025/04/27/image_11042025_04_27_15_10465.jpg
/home/pi/Desktop/images/11042025/04/27/image_11042025_04_27_24_9362.jpg
/home/pi/Desktop/images/11042025/04/27/image_11042025_04_27_34_10374.jpg
/home/pi/Desktop/images/11042025/04/27/image_11042025_04_27_54_10362.jpg
/home/pi/Desktop/images/11042025/04/27/image_11042025_04_28_05_10360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351493396","1351493297","1351493321","1351493417","1351493411","1351493388"],"photo_ids_order":["1351493297","1351493321","1351493388","1351493396","1351493411","1351493417"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5f7fd3bc8c16c9d86658b60ae500b2fa.jpg","text":"TemporaryFile(/tmp/multipartBody6966575463193804128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349792983,"filename":"image_11042025_04_27_34_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/436f43844fda37268d9deffe63e6f66e.jpg","text":"TemporaryFile(/tmp/multipartBody3627497220479661171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349792983,"filename":"image_11042025_04_27_04_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/bb1afd0d813a99be8b61ee6eb24dc4e7.jpg","text":"TemporaryFile(/tmp/multipartBody2612829683467114705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349792983,"filename":"image_11042025_04_27_15_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e014e97668857e7f70a1e5b59ac77b05.jpg","text":"TemporaryFile(/tmp/multipartBody5284780877542424320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349792983,"filename":"image_11042025_04_28_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/11/533984d482e564fd6c12125f90c0572c.jpg","text":"TemporaryFile(/tmp/multipartBody3940594575372098884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349792983,"filename":"image_11042025_04_27_54_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c1d1e32265095d5a3a7170e9727b28a4.jpg","text":"TemporaryFile(/tmp/multipartBody7191899467902452951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349792983,"filename":"image_11042025_04_27_24_9362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351493388","file1":"1351493321","file0":"1351493297","file4":"1351493411","file5":"1351493417","file3":"1351493396"},"map_files_photo_id_array":[{"photo_id":"1351493417","filename":"file5"},{"photo_id":"1351493388","filename":"file2"},{"photo_id":"1351493411","filename":"file4"},{"photo_id":"1351493321","filename":"file1"},{"photo_id":"1351493297","filename":"file0"},{"photo_id":"1351493396","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351493396":["hashtag1","hashtag2"]},{"1351493297":["hashtag1","hashtag2"]},{"1351493321":["hashtag1","hashtag2"]},{"1351493417":["hashtag1","hashtag2"]},{"1351493411":["hashtag1","hashtag2"]},{"1351493388":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351493396, 1351493297, 1351493321, 1351493417, 1351493411, 1351493388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.1890389919281 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 07:36:32.608403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/04/28/image_11042025_04_28_14_9418.jpg', '/home/pi/Desktop/images/11042025/04/28/image_11042025_04_28_24_10359.jpg', '/home/pi/Desktop/images/11042025/04/28/image_11042025_04_28_35_10475.jpg', '/home/pi/Desktop/images/11042025/04/28/image_11042025_04_28_44_9433.jpg', '/home/pi/Desktop/images/11042025/04/28/image_11042025_04_28_55_10420.jpg', '/home/pi/Desktop/images/11042025/04/28/image_11042025_04_29_04_9348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/04/28/image_11042025_04_28_14_9418.jpg
/home/pi/Desktop/images/11042025/04/28/image_11042025_04_28_24_10359.jpg
/home/pi/Desktop/images/11042025/04/28/image_11042025_04_28_35_10475.jpg
/home/pi/Desktop/images/11042025/04/28/image_11042025_04_28_44_9433.jpg
/home/pi/Desktop/images/11042025/04/28/image_11042025_04_28_55_10420.jpg
/home/pi/Desktop/images/11042025/04/28/image_11042025_04_29_04_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":["1351493484","1351493505","1351493525","1351493500","1351493518","1351493493"],"photo_ids_order":["1351493484","1351493493","1351493500","1351493505","1351493518","1351493525"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ca7764d8a8dcbea2c0385f6e7ad10534.jpg","text":"TemporaryFile(/tmp/multipartBody3589873625395378769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349853076,"filename":"image_11042025_04_28_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/11/ff5ec06c9b79bcd98e3e50072faaa018.jpg","text":"TemporaryFile(/tmp/multipartBody2013608349259073004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349853076,"filename":"image_11042025_04_28_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/11/75a8b3aa72fdd12de9c586a808a1e0f5.jpg","text":"TemporaryFile(/tmp/multipartBody4657571076250247931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349853076,"filename":"image_11042025_04_29_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/11/8916c00938c6d14eac3bb92db4650ebf.jpg","text":"TemporaryFile(/tmp/multipartBody4074636842520049163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349853076,"filename":"image_11042025_04_28_35_10475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c3bf43300d51dce679afdef45e6e7672.jpg","text":"TemporaryFile(/tmp/multipartBody1151533356496869474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349853076,"filename":"image_11042025_04_28_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/11/5c839fc769ad413e9e45376adb2b24c2.jpg","text":"TemporaryFile(/tmp/multipartBody8093779651634884585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349853076,"filename":"image_11042025_04_28_24_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351493500","file1":"1351493493","file0":"1351493484","file4":"1351493518","file5":"1351493525","file3":"1351493505"},"map_files_photo_id_array":[{"photo_id":"1351493525","filename":"file5"},{"photo_id":"1351493500","filename":"file2"},{"photo_id":"1351493518","filename":"file4"},{"photo_id":"1351493493","filename":"file1"},{"photo_id":"1351493484","filename":"file0"},{"photo_id":"1351493505","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351493484":["hashtag1","hashtag2"]},{"1351493505":["hashtag1","hashtag2"]},{"1351493525":["hashtag1","hashtag2"]},{"1351493500":["hashtag1","hashtag2"]},{"1351493518":["hashtag1","hashtag2"]},{"1351493493":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351493484, 1351493505, 1351493525, 1351493500, 1351493518, 1351493493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.91981840133667 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 07:37:32.839838
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/04/29/image_11042025_04_29_14_10344.jpg', '/home/pi/Desktop/images/11042025/04/29/image_11042025_04_29_25_10389.jpg', '/home/pi/Desktop/images/11042025/04/29/image_11042025_04_29_34_9369.jpg', '/home/pi/Desktop/images/11042025/04/29/image_11042025_04_29_45_10434.jpg', '/home/pi/Desktop/images/11042025/04/29/image_11042025_04_29_54_9370.jpg', '/home/pi/Desktop/images/11042025/04/29/image_11042025_04_30_04_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/04/29/image_11042025_04_29_14_10344.jpg
/home/pi/Desktop/images/11042025/04/29/image_11042025_04_29_25_10389.jpg
/home/pi/Desktop/images/11042025/04/29/image_11042025_04_29_34_9369.jpg
/home/pi/Desktop/images/11042025/04/29/image_11042025_04_29_45_10434.jpg
/home/pi/Desktop/images/11042025/04/29/image_11042025_04_29_54_9370.jpg
/home/pi/Desktop/images/11042025/04/29/image_11042025_04_30_04_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":["1351493577","1351493625","1351493594","1351493570","1351493584","1351493574"],"photo_ids_order":["1351493570","1351493574","1351493577","1351493584","1351493594","1351493625"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a42a69634870814a30fda8009048ac1a.jpg","text":"TemporaryFile(/tmp/multipartBody424417996325798755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349913305,"filename":"image_11042025_04_29_34_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ff870179329cc7ff70c8de426ad08445.jpg","text":"TemporaryFile(/tmp/multipartBody1494827979819821400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349913305,"filename":"image_11042025_04_30_04_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/22a11729f587210a86e43ac8696fde67.jpg","text":"TemporaryFile(/tmp/multipartBody6724182295566695956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349913305,"filename":"image_11042025_04_29_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/11/69c90e8c69e86d568737aa80e2ebde8e.jpg","text":"TemporaryFile(/tmp/multipartBody8913213036746025447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349913305,"filename":"image_11042025_04_29_14_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6d81014c4aa4b900e06d274b28921ec6.jpg","text":"TemporaryFile(/tmp/multipartBody806498725985465885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349913305,"filename":"image_11042025_04_29_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/11/430dab4402a81fa6ac09b296f623dd6e.jpg","text":"TemporaryFile(/tmp/multipartBody6658971097399974865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349913305,"filename":"image_11042025_04_29_25_10389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351493577","file1":"1351493574","file0":"1351493570","file4":"1351493594","file5":"1351493625","file3":"1351493584"},"map_files_photo_id_array":[{"photo_id":"1351493625","filename":"file5"},{"photo_id":"1351493577","filename":"file2"},{"photo_id":"1351493594","filename":"file4"},{"photo_id":"1351493574","filename":"file1"},{"photo_id":"1351493570","filename":"file0"},{"photo_id":"1351493584","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351493577":["hashtag1","hashtag2"]},{"1351493625":["hashtag1","hashtag2"]},{"1351493594":["hashtag1","hashtag2"]},{"1351493570":["hashtag1","hashtag2"]},{"1351493584":["hashtag1","hashtag2"]},{"1351493574":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351493577, 1351493625, 1351493594, 1351493570, 1351493584, 1351493574)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.0276517868042 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 07:38:33.089654
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/04/30/image_11042025_04_30_15_10463.jpg', '/home/pi/Desktop/images/11042025/04/30/image_11042025_04_30_24_9346.jpg', '/home/pi/Desktop/images/11042025/04/30/image_11042025_04_30_35_10441.jpg', '/home/pi/Desktop/images/11042025/04/30/image_11042025_04_30_44_9357.jpg', '/home/pi/Desktop/images/11042025/04/30/image_11042025_04_30_54_10354.jpg', '/home/pi/Desktop/images/11042025/04/30/image_11042025_04_31_05_10460.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/04/30/image_11042025_04_30_15_10463.jpg
/home/pi/Desktop/images/11042025/04/30/image_11042025_04_30_24_9346.jpg
/home/pi/Desktop/images/11042025/04/30/image_11042025_04_30_35_10441.jpg
/home/pi/Desktop/images/11042025/04/30/image_11042025_04_30_44_9357.jpg
/home/pi/Desktop/images/11042025/04/30/image_11042025_04_30_54_10354.jpg
/home/pi/Desktop/images/11042025/04/30/image_11042025_04_31_05_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":["1351493835","1351493829","1351493805","1351493822","1351493845","1351493850"],"photo_ids_order":["1351493805","1351493822","1351493829","1351493835","1351493845","1351493850"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/dd62f913c0c275ffd0e5afa3c0fb9108.jpg","text":"TemporaryFile(/tmp/multipartBody5322080030909215790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349973652,"filename":"image_11042025_04_30_44_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e37383f065c6aa319cdb7a7844f470cf.jpg","text":"TemporaryFile(/tmp/multipartBody4098707899615120163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349973652,"filename":"image_11042025_04_30_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/11/c47a7a53467684b3415140fd0d135007.jpg","text":"TemporaryFile(/tmp/multipartBody1570410593426939146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349973652,"filename":"image_11042025_04_30_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/11/bc07f07f7649d81b48bbc610659cdb84.jpg","text":"TemporaryFile(/tmp/multipartBody3063719291221086601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349973652,"filename":"image_11042025_04_30_24_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/08ba89279a154854ca1de80088d0bde3.jpg","text":"TemporaryFile(/tmp/multipartBody2371653990065577626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349973652,"filename":"image_11042025_04_30_54_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9a049717b26ac32cff6e1299cb5ff83a.jpg","text":"TemporaryFile(/tmp/multipartBody582845660610763670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744349973652,"filename":"image_11042025_04_31_05_10460.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351493829","file1":"1351493822","file0":"1351493805","file4":"1351493845","file5":"1351493850","file3":"1351493835"},"map_files_photo_id_array":[{"photo_id":"1351493850","filename":"file5"},{"photo_id":"1351493829","filename":"file2"},{"photo_id":"1351493845","filename":"file4"},{"photo_id":"1351493822","filename":"file1"},{"photo_id":"1351493805","filename":"file0"},{"photo_id":"1351493835","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351493835":["hashtag1","hashtag2"]},{"1351493829":["hashtag1","hashtag2"]},{"1351493805":["hashtag1","hashtag2"]},{"1351493822":["hashtag1","hashtag2"]},{"1351493845":["hashtag1","hashtag2"]},{"1351493850":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351493835, 1351493829, 1351493805, 1351493822, 1351493845, 1351493850)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.49353218078613 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 07:39:32.297075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/04/31/image_11042025_04_31_14_9388.jpg', '/home/pi/Desktop/images/11042025/04/31/image_11042025_04_31_25_10359.jpg', '/home/pi/Desktop/images/11042025/04/31/image_11042025_04_31_34_9416.jpg', '/home/pi/Desktop/images/11042025/04/31/image_11042025_04_31_44_10380.jpg', '/home/pi/Desktop/images/11042025/04/31/image_11042025_04_31_55_10486.jpg', '/home/pi/Desktop/images/11042025/04/32/image_11042025_04_32_34_10412.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/04/31/image_11042025_04_31_14_9388.jpg
/home/pi/Desktop/images/11042025/04/31/image_11042025_04_31_25_10359.jpg
/home/pi/Desktop/images/11042025/04/31/image_11042025_04_31_34_9416.jpg
/home/pi/Desktop/images/11042025/04/31/image_11042025_04_31_44_10380.jpg
/home/pi/Desktop/images/11042025/04/31/image_11042025_04_31_55_10486.jpg
/home/pi/Desktop/images/11042025/04/32/image_11042025_04_32_34_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":["1351494134","1351494041","1351494122","1351494131","1351494127","1351493982"],"photo_ids_order":["1351493982","1351494041","1351494122","1351494127","1351494131","1351494134"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/45664244aa349a9a819ef33442b49f7c.jpg","text":"TemporaryFile(/tmp/multipartBody7173919107004106072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350032763,"filename":"image_11042025_04_32_34_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/11/5d26f485df4c5eca6a43b19b7859491e.jpg","text":"TemporaryFile(/tmp/multipartBody6935424756223230391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350032763,"filename":"image_11042025_04_31_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/11/9e3ca69c8906e2905111fa5f4981bd7b.jpg","text":"TemporaryFile(/tmp/multipartBody3536715218712254818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350032763,"filename":"image_11042025_04_31_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/11/dcb11081ecb3e7c43a42a194d1721a9a.jpg","text":"TemporaryFile(/tmp/multipartBody6413447600532431985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350032763,"filename":"image_11042025_04_31_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/11/36e427d32b73594451e550a2c8ee4e14.jpg","text":"TemporaryFile(/tmp/multipartBody7327961476919138048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350032763,"filename":"image_11042025_04_31_44_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/11/60257a2d5ce577b69f19ab48c8462f31.jpg","text":"TemporaryFile(/tmp/multipartBody8546820276557749366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350032763,"filename":"image_11042025_04_31_14_9388.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351494122","file1":"1351494041","file0":"1351493982","file4":"1351494131","file5":"1351494134","file3":"1351494127"},"map_files_photo_id_array":[{"photo_id":"1351494134","filename":"file5"},{"photo_id":"1351494122","filename":"file2"},{"photo_id":"1351494131","filename":"file4"},{"photo_id":"1351494041","filename":"file1"},{"photo_id":"1351493982","filename":"file0"},{"photo_id":"1351494127","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351494134":["hashtag1","hashtag2"]},{"1351494041":["hashtag1","hashtag2"]},{"1351494122":["hashtag1","hashtag2"]},{"1351494131":["hashtag1","hashtag2"]},{"1351494127":["hashtag1","hashtag2"]},{"1351493982":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351494134, 1351494041, 1351494122, 1351494131, 1351494127, 1351493982)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.09316349029541 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 07:40:32.642222
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/04/32/image_11042025_04_32_44_9549.jpg', '/home/pi/Desktop/images/11042025/04/32/image_11042025_04_32_54_10371.jpg', '/home/pi/Desktop/images/11042025/04/32/image_11042025_04_33_05_10352.jpg', '/home/pi/Desktop/images/11042025/04/33/image_11042025_04_33_14_9343.jpg', '/home/pi/Desktop/images/11042025/04/33/image_11042025_04_33_24_10380.jpg', '/home/pi/Desktop/images/11042025/04/33/image_11042025_04_33_35_10456.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/04/32/image_11042025_04_32_44_9549.jpg
/home/pi/Desktop/images/11042025/04/32/image_11042025_04_32_54_10371.jpg
/home/pi/Desktop/images/11042025/04/32/image_11042025_04_33_05_10352.jpg
/home/pi/Desktop/images/11042025/04/33/image_11042025_04_33_14_9343.jpg
/home/pi/Desktop/images/11042025/04/33/image_11042025_04_33_24_10380.jpg
/home/pi/Desktop/images/11042025/04/33/image_11042025_04_33_35_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":["1351494173","1351494182","1351494200","1351494178","1351494195","1351494204"],"photo_ids_order":["1351494173","1351494178","1351494182","1351494195","1351494200","1351494204"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/25e4169ee672b469c7fbd33c9526584d.jpg","text":"TemporaryFile(/tmp/multipartBody8231833639528715352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350093105,"filename":"image_11042025_04_32_44_9549.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/736e048f3a2a898684c32a60fac45e49.jpg","text":"TemporaryFile(/tmp/multipartBody772529217938419442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350093105,"filename":"image_11042025_04_33_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/11/dad7efdfeec2c894ad3090774d30e48a.jpg","text":"TemporaryFile(/tmp/multipartBody3649146698453124582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350093105,"filename":"image_11042025_04_33_24_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/11/7fdcc1f7fcea703df4c33bb7aa68c2f2.jpg","text":"TemporaryFile(/tmp/multipartBody1045815172549494300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350093105,"filename":"image_11042025_04_32_54_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9f54fcbe837a3e7ac4bef1d394758107.jpg","text":"TemporaryFile(/tmp/multipartBody2868624991495380677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350093105,"filename":"image_11042025_04_33_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/11/0c111f64c8bef5ce9ad7f6d21f76bb28.jpg","text":"TemporaryFile(/tmp/multipartBody3933143305311813671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350093105,"filename":"image_11042025_04_33_35_10456.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351494182","file1":"1351494178","file0":"1351494173","file4":"1351494200","file5":"1351494204","file3":"1351494195"},"map_files_photo_id_array":[{"photo_id":"1351494204","filename":"file5"},{"photo_id":"1351494182","filename":"file2"},{"photo_id":"1351494200","filename":"file4"},{"photo_id":"1351494178","filename":"file1"},{"photo_id":"1351494173","filename":"file0"},{"photo_id":"1351494195","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351494173":["hashtag1","hashtag2"]},{"1351494182":["hashtag1","hashtag2"]},{"1351494200":["hashtag1","hashtag2"]},{"1351494178":["hashtag1","hashtag2"]},{"1351494195":["hashtag1","hashtag2"]},{"1351494204":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351494173, 1351494182, 1351494200, 1351494178, 1351494195, 1351494204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.87594246864319 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 07:41:32.850959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/04/33/image_11042025_04_33_55_10391.jpg', '/home/pi/Desktop/images/11042025/04/33/image_11042025_04_34_04_9445.jpg', '/home/pi/Desktop/images/11042025/04/34/image_11042025_04_34_14_10346.jpg', '/home/pi/Desktop/images/11042025/04/34/image_11042025_04_34_34_9368.jpg', '/home/pi/Desktop/images/11042025/04/34/image_11042025_04_34_45_10366.jpg', '/home/pi/Desktop/images/11042025/04/34/image_11042025_04_34_54_9350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/04/33/image_11042025_04_33_55_10391.jpg
/home/pi/Desktop/images/11042025/04/33/image_11042025_04_34_04_9445.jpg
/home/pi/Desktop/images/11042025/04/34/image_11042025_04_34_14_10346.jpg
/home/pi/Desktop/images/11042025/04/34/image_11042025_04_34_34_9368.jpg
/home/pi/Desktop/images/11042025/04/34/image_11042025_04_34_45_10366.jpg
/home/pi/Desktop/images/11042025/04/34/image_11042025_04_34_54_9350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351494315","1351494293","1351494283","1351494310","1351494301","1351494276"],"photo_ids_order":["1351494276","1351494283","1351494293","1351494301","1351494310","1351494315"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/38dad956aa15e666ceb91e396df0a56d.jpg","text":"TemporaryFile(/tmp/multipartBody480687026600343207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350153408,"filename":"image_11042025_04_34_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/11/166c3858ebdedb3680c967ef8821233f.jpg","text":"TemporaryFile(/tmp/multipartBody5312722751491558497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350153408,"filename":"image_11042025_04_34_14_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/229f22cbd69481e38cb0d69199a9aeeb.jpg","text":"TemporaryFile(/tmp/multipartBody1157511092017317348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350153408,"filename":"image_11042025_04_34_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/11/f151d1593f8630748c7f95b929f3f1a3.jpg","text":"TemporaryFile(/tmp/multipartBody7100984607285810365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350153408,"filename":"image_11042025_04_34_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/11/215d7abd9ffe7f1e0ec21bf077248ad7.jpg","text":"TemporaryFile(/tmp/multipartBody8391153588642635133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350153408,"filename":"image_11042025_04_34_34_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d2d3f51bc0e002a11ebf52ebc096d878.jpg","text":"TemporaryFile(/tmp/multipartBody9136458228289329031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350153408,"filename":"image_11042025_04_33_55_10391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351494293","file1":"1351494283","file0":"1351494276","file4":"1351494310","file5":"1351494315","file3":"1351494301"},"map_files_photo_id_array":[{"photo_id":"1351494315","filename":"file5"},{"photo_id":"1351494293","filename":"file2"},{"photo_id":"1351494310","filename":"file4"},{"photo_id":"1351494283","filename":"file1"},{"photo_id":"1351494276","filename":"file0"},{"photo_id":"1351494301","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351494315":["hashtag1","hashtag2"]},{"1351494293":["hashtag1","hashtag2"]},{"1351494283":["hashtag1","hashtag2"]},{"1351494310":["hashtag1","hashtag2"]},{"1351494301":["hashtag1","hashtag2"]},{"1351494276":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351494315, 1351494293, 1351494283, 1351494310, 1351494301, 1351494276)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.76679587364197 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 07:42:32.913366
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/04/34/image_11042025_04_35_04_10360.jpg', '/home/pi/Desktop/images/11042025/04/35/image_11042025_04_35_15_10334.jpg', '/home/pi/Desktop/images/11042025/04/35/image_11042025_04_35_24_9406.jpg', '/home/pi/Desktop/images/11042025/04/35/image_11042025_04_35_34_10360.jpg', '/home/pi/Desktop/images/11042025/04/35/image_11042025_04_35_45_10394.jpg', '/home/pi/Desktop/images/11042025/04/35/image_11042025_04_35_54_9350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/04/34/image_11042025_04_35_04_10360.jpg
/home/pi/Desktop/images/11042025/04/35/image_11042025_04_35_15_10334.jpg
/home/pi/Desktop/images/11042025/04/35/image_11042025_04_35_24_9406.jpg
/home/pi/Desktop/images/11042025/04/35/image_11042025_04_35_34_10360.jpg
/home/pi/Desktop/images/11042025/04/35/image_11042025_04_35_45_10394.jpg
/home/pi/Desktop/images/11042025/04/35/image_11042025_04_35_54_9350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351494470","1351494386","1351494410","1351494376","1351494433","1351494396"],"photo_ids_order":["1351494376","1351494386","1351494396","1351494410","1351494433","1351494470"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/80a632704d8480eeae87da9317d34fdf.jpg","text":"TemporaryFile(/tmp/multipartBody7749859525144694484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350213377,"filename":"image_11042025_04_35_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/11/7e56ece0351feef034ddba05eb167945.jpg","text":"TemporaryFile(/tmp/multipartBody6063420562220465509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350213377,"filename":"image_11042025_04_35_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/11/d85ae5e3c5124b0fb0e4bec4bd6305ee.jpg","text":"TemporaryFile(/tmp/multipartBody1273106872458402944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350213377,"filename":"image_11042025_04_35_34_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/76955bb1d2d17af14428971cd4599588.jpg","text":"TemporaryFile(/tmp/multipartBody2607460219650289161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350213377,"filename":"image_11042025_04_35_04_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/81b4596586d82b5b5b45f1723f8587cd.jpg","text":"TemporaryFile(/tmp/multipartBody4724331861063417225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350213377,"filename":"image_11042025_04_35_45_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/80e7468e38129bec37b9f65c092b57b0.jpg","text":"TemporaryFile(/tmp/multipartBody111819741158264024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350213377,"filename":"image_11042025_04_35_24_9406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351494396","file1":"1351494386","file0":"1351494376","file4":"1351494433","file5":"1351494470","file3":"1351494410"},"map_files_photo_id_array":[{"photo_id":"1351494470","filename":"file5"},{"photo_id":"1351494396","filename":"file2"},{"photo_id":"1351494433","filename":"file4"},{"photo_id":"1351494386","filename":"file1"},{"photo_id":"1351494376","filename":"file0"},{"photo_id":"1351494410","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351494470":["hashtag1","hashtag2"]},{"1351494386":["hashtag1","hashtag2"]},{"1351494410":["hashtag1","hashtag2"]},{"1351494376":["hashtag1","hashtag2"]},{"1351494433":["hashtag1","hashtag2"]},{"1351494396":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351494470, 1351494386, 1351494410, 1351494376, 1351494433, 1351494396)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.13539719581604 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 07:43:32.160684
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/04/35/image_11042025_04_36_05_10456.jpg', '/home/pi/Desktop/images/11042025/04/36/image_11042025_04_36_14_9403.jpg', '/home/pi/Desktop/images/11042025/04/36/image_11042025_04_36_24_10354.jpg', '/home/pi/Desktop/images/11042025/04/36/image_11042025_04_36_35_10423.jpg', '/home/pi/Desktop/images/11042025/04/36/image_11042025_04_36_44_9405.jpg', '/home/pi/Desktop/images/11042025/04/36/image_11042025_04_36_55_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/04/35/image_11042025_04_36_05_10456.jpg
/home/pi/Desktop/images/11042025/04/36/image_11042025_04_36_14_9403.jpg
/home/pi/Desktop/images/11042025/04/36/image_11042025_04_36_24_10354.jpg
/home/pi/Desktop/images/11042025/04/36/image_11042025_04_36_35_10423.jpg
/home/pi/Desktop/images/11042025/04/36/image_11042025_04_36_44_9405.jpg
/home/pi/Desktop/images/11042025/04/36/image_11042025_04_36_55_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351494785","1351494717","1351494682","1351494643","1351494744","1351494615"],"photo_ids_order":["1351494615","1351494643","1351494682","1351494717","1351494744","1351494785"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1f25600034691305ea78a9f34318f6f0.jpg","text":"TemporaryFile(/tmp/multipartBody1677762397246874974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350272628,"filename":"image_11042025_04_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/11/e20eb24dc646f8b2d6356faac66e2f9d.jpg","text":"TemporaryFile(/tmp/multipartBody3316244870801342590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350272628,"filename":"image_11042025_04_36_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/11/ae653245b0c2cddf61338df6bbb4a02b.jpg","text":"TemporaryFile(/tmp/multipartBody786571245413167828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350272628,"filename":"image_11042025_04_36_24_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/bd2821b9f3f21a6316cacb3f5db2776b.jpg","text":"TemporaryFile(/tmp/multipartBody1699202367512773834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350272628,"filename":"image_11042025_04_36_14_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8e3806ccd6e211b961f7652b7627af0f.jpg","text":"TemporaryFile(/tmp/multipartBody6678274355018018419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350272628,"filename":"image_11042025_04_36_44_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9ca57cd447607695967a817bfc2a3e49.jpg","text":"TemporaryFile(/tmp/multipartBody7347900260249286037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350272628,"filename":"image_11042025_04_36_05_10456.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351494682","file1":"1351494643","file0":"1351494615","file4":"1351494744","file5":"1351494785","file3":"1351494717"},"map_files_photo_id_array":[{"photo_id":"1351494785","filename":"file5"},{"photo_id":"1351494682","filename":"file2"},{"photo_id":"1351494744","filename":"file4"},{"photo_id":"1351494643","filename":"file1"},{"photo_id":"1351494615","filename":"file0"},{"photo_id":"1351494717","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351494785":["hashtag1","hashtag2"]},{"1351494717":["hashtag1","hashtag2"]},{"1351494682":["hashtag1","hashtag2"]},{"1351494643":["hashtag1","hashtag2"]},{"1351494744":["hashtag1","hashtag2"]},{"1351494615":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351494785, 1351494717, 1351494682, 1351494643, 1351494744, 1351494615)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.56913113594055 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 07:44:32.456790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/04/36/image_11042025_04_37_04_9348.jpg', '/home/pi/Desktop/images/11042025/04/37/image_11042025_04_37_14_10316.jpg', '/home/pi/Desktop/images/11042025/04/37/image_11042025_04_37_25_10347.jpg', '/home/pi/Desktop/images/11042025/04/37/image_11042025_04_37_34_9432.jpg', '/home/pi/Desktop/images/11042025/04/37/image_11042025_04_37_44_10375.jpg', '/home/pi/Desktop/images/11042025/04/37/image_11042025_04_37_55_10477.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/04/36/image_11042025_04_37_04_9348.jpg
/home/pi/Desktop/images/11042025/04/37/image_11042025_04_37_14_10316.jpg
/home/pi/Desktop/images/11042025/04/37/image_11042025_04_37_25_10347.jpg
/home/pi/Desktop/images/11042025/04/37/image_11042025_04_37_34_9432.jpg
/home/pi/Desktop/images/11042025/04/37/image_11042025_04_37_44_10375.jpg
/home/pi/Desktop/images/11042025/04/37/image_11042025_04_37_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":["1351494992","1351494971","1351494961","1351494967","1351494981","1351495011"],"photo_ids_order":["1351494961","1351494967","1351494971","1351494981","1351494992","1351495011"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/51d0630e390d522f78af9a94c1cecfd6.jpg","text":"TemporaryFile(/tmp/multipartBody1555972779664863552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350332920,"filename":"image_11042025_04_37_44_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/11/aabb7410e0869eec5ffc1e8ff8977f26.jpg","text":"TemporaryFile(/tmp/multipartBody6315265928214168017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350332920,"filename":"image_11042025_04_37_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/11/54c7bddf7e63b2e0db5ed761709cd4f7.jpg","text":"TemporaryFile(/tmp/multipartBody2287019844114572691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350332920,"filename":"image_11042025_04_37_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/11/0a338c4a8c62f04a8b8bb2e6e6514c8f.jpg","text":"TemporaryFile(/tmp/multipartBody8865986974388617640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350332920,"filename":"image_11042025_04_37_14_10316.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f909a1bddbdf06e95a480e550a2fdef7.jpg","text":"TemporaryFile(/tmp/multipartBody4444888685108796766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350332920,"filename":"image_11042025_04_37_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/11/39f7d91f2e2a7643e6630d92d69cec12.jpg","text":"TemporaryFile(/tmp/multipartBody574319669958048461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350332920,"filename":"image_11042025_04_37_55_10477.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351494971","file1":"1351494967","file0":"1351494961","file4":"1351494992","file5":"1351495011","file3":"1351494981"},"map_files_photo_id_array":[{"photo_id":"1351495011","filename":"file5"},{"photo_id":"1351494971","filename":"file2"},{"photo_id":"1351494992","filename":"file4"},{"photo_id":"1351494967","filename":"file1"},{"photo_id":"1351494961","filename":"file0"},{"photo_id":"1351494981","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351494992":["hashtag1","hashtag2"]},{"1351494971":["hashtag1","hashtag2"]},{"1351494961":["hashtag1","hashtag2"]},{"1351494967":["hashtag1","hashtag2"]},{"1351494981":["hashtag1","hashtag2"]},{"1351495011":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351494992, 1351494971, 1351494961, 1351494967, 1351494981, 1351495011)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.42029809951782 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 07:45:32.766929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/04/37/image_11042025_04_38_04_9342.jpg', '/home/pi/Desktop/images/11042025/04/38/image_11042025_04_38_15_10355.jpg', '/home/pi/Desktop/images/11042025/04/38/image_11042025_04_38_24_9363.jpg', '/home/pi/Desktop/images/11042025/04/38/image_11042025_04_38_34_10358.jpg', '/home/pi/Desktop/images/11042025/04/38/image_11042025_04_38_45_10384.jpg', '/home/pi/Desktop/images/11042025/04/38/image_11042025_04_38_54_9367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/04/37/image_11042025_04_38_04_9342.jpg
/home/pi/Desktop/images/11042025/04/38/image_11042025_04_38_15_10355.jpg
/home/pi/Desktop/images/11042025/04/38/image_11042025_04_38_24_9363.jpg
/home/pi/Desktop/images/11042025/04/38/image_11042025_04_38_34_10358.jpg
/home/pi/Desktop/images/11042025/04/38/image_11042025_04_38_45_10384.jpg
/home/pi/Desktop/images/11042025/04/38/image_11042025_04_38_54_9367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351495169","1351495106","1351495083","1351495071","1351495176","1351495131"],"photo_ids_order":["1351495071","1351495083","1351495106","1351495131","1351495169","1351495176"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d6f2178935d958bb8fc9cff7aa7ba63c.jpg","text":"TemporaryFile(/tmp/multipartBody5789852629187742499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350393252,"filename":"image_11042025_04_38_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/11/a7326d578fa5f37b6e5f419bf8d8e681.jpg","text":"TemporaryFile(/tmp/multipartBody3971468378324255159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350393252,"filename":"image_11042025_04_38_24_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4cd01b8ad0ffd12987da3a0d2e861a56.jpg","text":"TemporaryFile(/tmp/multipartBody3164586021699362462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350393252,"filename":"image_11042025_04_38_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/11/5e2414b12200edea816b918be0d14d22.jpg","text":"TemporaryFile(/tmp/multipartBody4986898005210366723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350393252,"filename":"image_11042025_04_38_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/11/5914fdba275e2ad16722a91854a3faa2.jpg","text":"TemporaryFile(/tmp/multipartBody2624225630192133879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350393252,"filename":"image_11042025_04_38_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/11/e1ba86a5ad61f00867163c18b66823e0.jpg","text":"TemporaryFile(/tmp/multipartBody7242131899178000617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350393252,"filename":"image_11042025_04_38_34_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351495106","file1":"1351495083","file0":"1351495071","file4":"1351495169","file5":"1351495176","file3":"1351495131"},"map_files_photo_id_array":[{"photo_id":"1351495176","filename":"file5"},{"photo_id":"1351495106","filename":"file2"},{"photo_id":"1351495169","filename":"file4"},{"photo_id":"1351495083","filename":"file1"},{"photo_id":"1351495071","filename":"file0"},{"photo_id":"1351495131","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351495169":["hashtag1","hashtag2"]},{"1351495106":["hashtag1","hashtag2"]},{"1351495083":["hashtag1","hashtag2"]},{"1351495071":["hashtag1","hashtag2"]},{"1351495176":["hashtag1","hashtag2"]},{"1351495131":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351495169, 1351495106, 1351495083, 1351495071, 1351495176, 1351495131)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.81756353378296 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 07:46:33.053136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/04/38/image_11042025_04_39_04_10364.jpg', '/home/pi/Desktop/images/11042025/04/39/image_11042025_04_39_15_10406.jpg', '/home/pi/Desktop/images/11042025/04/39/image_11042025_04_39_24_9352.jpg', '/home/pi/Desktop/images/11042025/04/39/image_11042025_04_39_34_10371.jpg', '/home/pi/Desktop/images/11042025/04/39/image_11042025_04_39_45_10366.jpg', '/home/pi/Desktop/images/11042025/04/39/image_11042025_04_39_54_9351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/04/38/image_11042025_04_39_04_10364.jpg
/home/pi/Desktop/images/11042025/04/39/image_11042025_04_39_15_10406.jpg
/home/pi/Desktop/images/11042025/04/39/image_11042025_04_39_24_9352.jpg
/home/pi/Desktop/images/11042025/04/39/image_11042025_04_39_34_10371.jpg
/home/pi/Desktop/images/11042025/04/39/image_11042025_04_39_45_10366.jpg
/home/pi/Desktop/images/11042025/04/39/image_11042025_04_39_54_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":["1351495316","1351495291","1351495219","1351495344","1351495224","1351495206"],"photo_ids_order":["1351495206","1351495219","1351495224","1351495291","1351495316","1351495344"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b65d191e870843ed12be0e0823fe1337.jpg","text":"TemporaryFile(/tmp/multipartBody7367153218619218842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350453527,"filename":"image_11042025_04_39_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/11/53b48cfc0a21cd6cc262a941f111fd48.jpg","text":"TemporaryFile(/tmp/multipartBody7024812875776863521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350453527,"filename":"image_11042025_04_39_34_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0a827c80d5be0bd90bf087380a2d7763.jpg","text":"TemporaryFile(/tmp/multipartBody1136312930136409518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350453527,"filename":"image_11042025_04_39_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/11/1b9ea6b938a08229603efac1835b1810.jpg","text":"TemporaryFile(/tmp/multipartBody1505674130023661019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350453527,"filename":"image_11042025_04_39_54_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/22e20eac940ccad66eae3025a1700e6b.jpg","text":"TemporaryFile(/tmp/multipartBody4438283326638028041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350453527,"filename":"image_11042025_04_39_24_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f06b5d2cba3e997ee8ef0864be6aeb0d.jpg","text":"TemporaryFile(/tmp/multipartBody3435723931323337304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350453527,"filename":"image_11042025_04_39_04_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351495224","file1":"1351495219","file0":"1351495206","file4":"1351495316","file5":"1351495344","file3":"1351495291"},"map_files_photo_id_array":[{"photo_id":"1351495344","filename":"file5"},{"photo_id":"1351495224","filename":"file2"},{"photo_id":"1351495316","filename":"file4"},{"photo_id":"1351495219","filename":"file1"},{"photo_id":"1351495206","filename":"file0"},{"photo_id":"1351495291","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351495316":["hashtag1","hashtag2"]},{"1351495291":["hashtag1","hashtag2"]},{"1351495219":["hashtag1","hashtag2"]},{"1351495344":["hashtag1","hashtag2"]},{"1351495224":["hashtag1","hashtag2"]},{"1351495206":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351495316, 1351495291, 1351495219, 1351495344, 1351495224, 1351495206)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.10141944885254 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 07:47:32.302189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/04/39/image_11042025_04_40_05_10358.jpg', '/home/pi/Desktop/images/11042025/04/40/image_11042025_04_40_14_9434.jpg', '/home/pi/Desktop/images/11042025/04/40/image_11042025_04_40_24_10362.jpg', '/home/pi/Desktop/images/11042025/04/40/image_11042025_04_40_35_10412.jpg', '/home/pi/Desktop/images/11042025/04/40/image_11042025_04_40_44_9387.jpg', '/home/pi/Desktop/images/11042025/04/40/image_11042025_04_40_55_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/04/39/image_11042025_04_40_05_10358.jpg
/home/pi/Desktop/images/11042025/04/40/image_11042025_04_40_14_9434.jpg
/home/pi/Desktop/images/11042025/04/40/image_11042025_04_40_24_10362.jpg
/home/pi/Desktop/images/11042025/04/40/image_11042025_04_40_35_10412.jpg
/home/pi/Desktop/images/11042025/04/40/image_11042025_04_40_44_9387.jpg
/home/pi/Desktop/images/11042025/04/40/image_11042025_04_40_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":["1351495442","1351495433","1351495441","1351495444","1351495428","1351495437"],"photo_ids_order":["1351495428","1351495433","1351495437","1351495441","1351495442","1351495444"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6de39892ac45d284b8e4592af536f8e4.jpg","text":"TemporaryFile(/tmp/multipartBody6279271245238058254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350512762,"filename":"image_11042025_04_40_44_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6b144ccab1bbdf3432743bbb00c19c5f.jpg","text":"TemporaryFile(/tmp/multipartBody6382684320014656488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350512762,"filename":"image_11042025_04_40_14_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/11/f2901eaeb844ac8f566ef7b140650b2e.jpg","text":"TemporaryFile(/tmp/multipartBody3662121297412785368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350512762,"filename":"image_11042025_04_40_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/11/d83449fb57f12d1106a599493498220b.jpg","text":"TemporaryFile(/tmp/multipartBody3033812516021005086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350512762,"filename":"image_11042025_04_40_55_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6a1b5031a638aae4b9e19c7f8957071b.jpg","text":"TemporaryFile(/tmp/multipartBody4117070917349974027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350512762,"filename":"image_11042025_04_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/11/771c4d2d47076be24255ce717d1118bf.jpg","text":"TemporaryFile(/tmp/multipartBody9112696372702443590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350512762,"filename":"image_11042025_04_40_24_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351495437","file1":"1351495433","file0":"1351495428","file4":"1351495442","file5":"1351495444","file3":"1351495441"},"map_files_photo_id_array":[{"photo_id":"1351495444","filename":"file5"},{"photo_id":"1351495437","filename":"file2"},{"photo_id":"1351495442","filename":"file4"},{"photo_id":"1351495433","filename":"file1"},{"photo_id":"1351495428","filename":"file0"},{"photo_id":"1351495441","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351495442":["hashtag1","hashtag2"]},{"1351495433":["hashtag1","hashtag2"]},{"1351495441":["hashtag1","hashtag2"]},{"1351495444":["hashtag1","hashtag2"]},{"1351495428":["hashtag1","hashtag2"]},{"1351495437":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351495442, 1351495433, 1351495441, 1351495444, 1351495428, 1351495437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.70394229888916 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 07:48:32.496868
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/04/40/image_11042025_04_41_04_9473.jpg', '/home/pi/Desktop/images/11042025/04/41/image_11042025_04_41_14_10435.jpg', '/home/pi/Desktop/images/11042025/04/41/image_11042025_04_41_25_10351.jpg', '/home/pi/Desktop/images/11042025/04/41/image_11042025_04_41_34_9362.jpg', '/home/pi/Desktop/images/11042025/04/41/image_11042025_04_41_45_10429.jpg', '/home/pi/Desktop/images/11042025/04/41/image_11042025_04_41_54_9391.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/04/40/image_11042025_04_41_04_9473.jpg
/home/pi/Desktop/images/11042025/04/41/image_11042025_04_41_14_10435.jpg
/home/pi/Desktop/images/11042025/04/41/image_11042025_04_41_25_10351.jpg
/home/pi/Desktop/images/11042025/04/41/image_11042025_04_41_34_9362.jpg
/home/pi/Desktop/images/11042025/04/41/image_11042025_04_41_45_10429.jpg
/home/pi/Desktop/images/11042025/04/41/image_11042025_04_41_54_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":["1351495552","1351495531","1351495534","1351495519","1351495515","1351495500"],"photo_ids_order":["1351495500","1351495515","1351495519","1351495531","1351495534","1351495552"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/930de017c39a7ae518e70364bb0e6497.jpg","text":"TemporaryFile(/tmp/multipartBody1366602182928792294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350572960,"filename":"image_11042025_04_41_54_9391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6c8d86ee53f9e62151f4e274cf802894.jpg","text":"TemporaryFile(/tmp/multipartBody2168941876065510303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350572960,"filename":"image_11042025_04_41_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/11/4eb6139a5d8822af085dd0e5ab451b08.jpg","text":"TemporaryFile(/tmp/multipartBody5947700853980417408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350572960,"filename":"image_11042025_04_41_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/11/67ba9e17e7692af7fb842214448ccddf.jpg","text":"TemporaryFile(/tmp/multipartBody1253780752491779878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350572960,"filename":"image_11042025_04_41_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/11/39f881d2f7b739a4af55ae1d935a7866.jpg","text":"TemporaryFile(/tmp/multipartBody3604090811829869279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350572960,"filename":"image_11042025_04_41_14_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/11/cdb4ef19f01c55a1b1d8ae4032ea2c63.jpg","text":"TemporaryFile(/tmp/multipartBody8441909849233168657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350572960,"filename":"image_11042025_04_41_04_9473.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351495519","file1":"1351495515","file0":"1351495500","file4":"1351495534","file5":"1351495552","file3":"1351495531"},"map_files_photo_id_array":[{"photo_id":"1351495552","filename":"file5"},{"photo_id":"1351495519","filename":"file2"},{"photo_id":"1351495534","filename":"file4"},{"photo_id":"1351495515","filename":"file1"},{"photo_id":"1351495500","filename":"file0"},{"photo_id":"1351495531","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351495552":["hashtag1","hashtag2"]},{"1351495531":["hashtag1","hashtag2"]},{"1351495534":["hashtag1","hashtag2"]},{"1351495519":["hashtag1","hashtag2"]},{"1351495515":["hashtag1","hashtag2"]},{"1351495500":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351495552, 1351495531, 1351495534, 1351495519, 1351495515, 1351495500)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.975528478622437 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 07:49:32.752935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/04/41/image_11042025_04_42_04_9989.jpg', '/home/pi/Desktop/images/11042025/04/42/image_11042025_04_42_14_10342.jpg', '/home/pi/Desktop/images/11042025/04/42/image_11042025_04_42_25_10447.jpg', '/home/pi/Desktop/images/11042025/04/42/image_11042025_04_42_34_9402.jpg', '/home/pi/Desktop/images/11042025/04/42/image_11042025_04_42_45_10420.jpg', '/home/pi/Desktop/images/11042025/04/42/image_11042025_04_43_04_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/04/41/image_11042025_04_42_04_9989.jpg
/home/pi/Desktop/images/11042025/04/42/image_11042025_04_42_14_10342.jpg
/home/pi/Desktop/images/11042025/04/42/image_11042025_04_42_25_10447.jpg
/home/pi/Desktop/images/11042025/04/42/image_11042025_04_42_34_9402.jpg
/home/pi/Desktop/images/11042025/04/42/image_11042025_04_42_45_10420.jpg
/home/pi/Desktop/images/11042025/04/42/image_11042025_04_43_04_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":["1351495733","1351495640","1351495648","1351495698","1351495692","1351495668"],"photo_ids_order":["1351495640","1351495648","1351495668","1351495692","1351495698","1351495733"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1beef91c380a1840ec62a9695039d46a.jpg","text":"TemporaryFile(/tmp/multipartBody7597251858730431416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350633211,"filename":"image_11042025_04_43_04_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/dcf18a1305ce22d13b0ba6737f4453c0.jpg","text":"TemporaryFile(/tmp/multipartBody4498357391615419581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350633211,"filename":"image_11042025_04_42_04_9989.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ab132ca1d082e8cc143d104692896393.jpg","text":"TemporaryFile(/tmp/multipartBody481284416417423847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350633211,"filename":"image_11042025_04_42_14_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/777b6b4e7d83ddbb6339277d254b7fcc.jpg","text":"TemporaryFile(/tmp/multipartBody544311784968680098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350633211,"filename":"image_11042025_04_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/11/6554e88200573b792e310a1564bd9499.jpg","text":"TemporaryFile(/tmp/multipartBody5487677265045210662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350633211,"filename":"image_11042025_04_42_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/11/cdb42195f5ac0de203253675628de13d.jpg","text":"TemporaryFile(/tmp/multipartBody4142116945274129948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350633211,"filename":"image_11042025_04_42_25_10447.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351495668","file1":"1351495648","file0":"1351495640","file4":"1351495698","file5":"1351495733","file3":"1351495692"},"map_files_photo_id_array":[{"photo_id":"1351495733","filename":"file5"},{"photo_id":"1351495668","filename":"file2"},{"photo_id":"1351495698","filename":"file4"},{"photo_id":"1351495648","filename":"file1"},{"photo_id":"1351495640","filename":"file0"},{"photo_id":"1351495692","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351495733":["hashtag1","hashtag2"]},{"1351495640":["hashtag1","hashtag2"]},{"1351495648":["hashtag1","hashtag2"]},{"1351495698":["hashtag1","hashtag2"]},{"1351495692":["hashtag1","hashtag2"]},{"1351495668":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351495733, 1351495640, 1351495648, 1351495698, 1351495692, 1351495668)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.88597655296326 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 07:50:32.976718
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/04/43/image_11042025_04_43_15_10428.jpg', '/home/pi/Desktop/images/11042025/04/43/image_11042025_04_43_24_9335.jpg', '/home/pi/Desktop/images/11042025/04/43/image_11042025_04_43_44_9433.jpg', '/home/pi/Desktop/images/11042025/04/43/image_11042025_04_43_54_10367.jpg', '/home/pi/Desktop/images/11042025/04/43/image_11042025_04_44_05_10460.jpg', '/home/pi/Desktop/images/11042025/04/44/image_11042025_04_44_14_9423.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/04/43/image_11042025_04_43_15_10428.jpg
/home/pi/Desktop/images/11042025/04/43/image_11042025_04_43_24_9335.jpg
/home/pi/Desktop/images/11042025/04/43/image_11042025_04_43_44_9433.jpg
/home/pi/Desktop/images/11042025/04/43/image_11042025_04_43_54_10367.jpg
/home/pi/Desktop/images/11042025/04/43/image_11042025_04_44_05_10460.jpg
/home/pi/Desktop/images/11042025/04/44/image_11042025_04_44_14_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":["1351496114","1351496089","1351496143","1351495870","1351496057","1351495979"],"photo_ids_order":["1351495870","1351495979","1351496057","1351496089","1351496114","1351496143"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9a1246cd3ffbd3d445ebe36494d64793.jpg","text":"TemporaryFile(/tmp/multipartBody2929594079884323200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350693520,"filename":"image_11042025_04_44_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/11/55fe8120d79420a3993a68e15bac0c34.jpg","text":"TemporaryFile(/tmp/multipartBody7056118555474947062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350693520,"filename":"image_11042025_04_43_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/11/9803674db0b8c02f64d74d5b40645153.jpg","text":"TemporaryFile(/tmp/multipartBody1131535462764490634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350693520,"filename":"image_11042025_04_44_14_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/11/c1f782abb81f540861603b1ee4f9d4d7.jpg","text":"TemporaryFile(/tmp/multipartBody6344793346479540079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350693520,"filename":"image_11042025_04_43_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/11/75110913fdb956392d847c8a5650fefc.jpg","text":"TemporaryFile(/tmp/multipartBody1745688036592179502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350693520,"filename":"image_11042025_04_43_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/11/df2bf5508bb401a0344543786dd18422.jpg","text":"TemporaryFile(/tmp/multipartBody723247208439132197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350693520,"filename":"image_11042025_04_43_24_9335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351496057","file1":"1351495979","file0":"1351495870","file4":"1351496114","file5":"1351496143","file3":"1351496089"},"map_files_photo_id_array":[{"photo_id":"1351496143","filename":"file5"},{"photo_id":"1351496057","filename":"file2"},{"photo_id":"1351496114","filename":"file4"},{"photo_id":"1351495979","filename":"file1"},{"photo_id":"1351495870","filename":"file0"},{"photo_id":"1351496089","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351496114":["hashtag1","hashtag2"]},{"1351496089":["hashtag1","hashtag2"]},{"1351496143":["hashtag1","hashtag2"]},{"1351495870":["hashtag1","hashtag2"]},{"1351496057":["hashtag1","hashtag2"]},{"1351495979":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351496114, 1351496089, 1351496143, 1351495870, 1351496057, 1351495979)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.607571840286255 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 07:51:32.190317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/04/44/image_11042025_04_44_25_10363.jpg', '/home/pi/Desktop/images/11042025/04/44/image_11042025_04_44_34_9358.jpg', '/home/pi/Desktop/images/11042025/04/44/image_11042025_04_44_44_10367.jpg', '/home/pi/Desktop/images/11042025/04/44/image_11042025_04_44_55_10380.jpg', '/home/pi/Desktop/images/11042025/04/45/image_11042025_04_45_14_10373.jpg', '/home/pi/Desktop/images/11042025/04/45/image_11042025_04_45_25_10403.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/04/44/image_11042025_04_44_25_10363.jpg
/home/pi/Desktop/images/11042025/04/44/image_11042025_04_44_34_9358.jpg
/home/pi/Desktop/images/11042025/04/44/image_11042025_04_44_44_10367.jpg
/home/pi/Desktop/images/11042025/04/44/image_11042025_04_44_55_10380.jpg
/home/pi/Desktop/images/11042025/04/45/image_11042025_04_45_14_10373.jpg
/home/pi/Desktop/images/11042025/04/45/image_11042025_04_45_25_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":["1351496248","1351496236","1351496244","1351496253","1351496241","1351496258"],"photo_ids_order":["1351496236","1351496241","1351496244","1351496248","1351496253","1351496258"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ad4c8c9d4cdea6ff473b03b064772582.jpg","text":"TemporaryFile(/tmp/multipartBody1836074336396623742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350752651,"filename":"image_11042025_04_44_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/11/e97f4091a00343424f14b8ccbc258869.jpg","text":"TemporaryFile(/tmp/multipartBody2309173528833242736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350752651,"filename":"image_11042025_04_44_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/11/bf9be6b3f8c7e4d4a4796de5f9b12198.jpg","text":"TemporaryFile(/tmp/multipartBody5462104249605785288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350752651,"filename":"image_11042025_04_44_44_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b006bdfad7786da84e217931a9c787ee.jpg","text":"TemporaryFile(/tmp/multipartBody3857524243691981053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350752651,"filename":"image_11042025_04_45_14_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/19075212b0d9bc4de8dd7e2fd2aec3b6.jpg","text":"TemporaryFile(/tmp/multipartBody667914659410132954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350752651,"filename":"image_11042025_04_44_34_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/27d4ecda4b89aaf4e78415bc05df5dc5.jpg","text":"TemporaryFile(/tmp/multipartBody5521907771788874526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350752651,"filename":"image_11042025_04_45_25_10403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351496244","file1":"1351496241","file0":"1351496236","file4":"1351496253","file5":"1351496258","file3":"1351496248"},"map_files_photo_id_array":[{"photo_id":"1351496258","filename":"file5"},{"photo_id":"1351496244","filename":"file2"},{"photo_id":"1351496253","filename":"file4"},{"photo_id":"1351496241","filename":"file1"},{"photo_id":"1351496236","filename":"file0"},{"photo_id":"1351496248","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351496248":["hashtag1","hashtag2"]},{"1351496236":["hashtag1","hashtag2"]},{"1351496244":["hashtag1","hashtag2"]},{"1351496253":["hashtag1","hashtag2"]},{"1351496241":["hashtag1","hashtag2"]},{"1351496258":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351496248, 1351496236, 1351496244, 1351496253, 1351496241, 1351496258)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.87640118598938 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 07:52:32.434476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/04/45/image_11042025_04_45_45_10357.jpg', '/home/pi/Desktop/images/11042025/04/45/image_11042025_04_45_54_9434.jpg', '/home/pi/Desktop/images/11042025/04/45/image_11042025_04_46_04_10352.jpg', '/home/pi/Desktop/images/11042025/04/46/image_11042025_04_46_15_10411.jpg', '/home/pi/Desktop/images/11042025/04/46/image_11042025_04_46_34_10361.jpg', '/home/pi/Desktop/images/11042025/04/46/image_11042025_04_46_54_9414.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/04/45/image_11042025_04_45_45_10357.jpg
/home/pi/Desktop/images/11042025/04/45/image_11042025_04_45_54_9434.jpg
/home/pi/Desktop/images/11042025/04/45/image_11042025_04_46_04_10352.jpg
/home/pi/Desktop/images/11042025/04/46/image_11042025_04_46_15_10411.jpg
/home/pi/Desktop/images/11042025/04/46/image_11042025_04_46_34_10361.jpg
/home/pi/Desktop/images/11042025/04/46/image_11042025_04_46_54_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":["1351496327","1351496309","1351496299","1351496355","1351496316","1351496303"],"photo_ids_order":["1351496299","1351496303","1351496309","1351496316","1351496327","1351496355"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/678d76f55fb7ffe8e1a14dcfe08703cc.jpg","text":"TemporaryFile(/tmp/multipartBody3756709588158663792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350812902,"filename":"image_11042025_04_46_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/11/f8f77c8daad8db195f6811173033ce68.jpg","text":"TemporaryFile(/tmp/multipartBody6871926368916890188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350812902,"filename":"image_11042025_04_46_04_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/998c21d6a8996ed69d30443d6edf2552.jpg","text":"TemporaryFile(/tmp/multipartBody2551383990975585638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350812902,"filename":"image_11042025_04_45_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/11/d85f416d8ae4083f6554ac8b8a64f9c3.jpg","text":"TemporaryFile(/tmp/multipartBody3964204359793935164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350812902,"filename":"image_11042025_04_46_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/11/751d04d65e60b39964a91efc4d5af6bc.jpg","text":"TemporaryFile(/tmp/multipartBody3920003454443526077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350812902,"filename":"image_11042025_04_46_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/11/b38a4ae17e80c286dd8f407617706042.jpg","text":"TemporaryFile(/tmp/multipartBody8314048351458107895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350812902,"filename":"image_11042025_04_45_54_9434.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351496309","file1":"1351496303","file0":"1351496299","file4":"1351496327","file5":"1351496355","file3":"1351496316"},"map_files_photo_id_array":[{"photo_id":"1351496355","filename":"file5"},{"photo_id":"1351496309","filename":"file2"},{"photo_id":"1351496327","filename":"file4"},{"photo_id":"1351496303","filename":"file1"},{"photo_id":"1351496299","filename":"file0"},{"photo_id":"1351496316","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351496327":["hashtag1","hashtag2"]},{"1351496309":["hashtag1","hashtag2"]},{"1351496299":["hashtag1","hashtag2"]},{"1351496355":["hashtag1","hashtag2"]},{"1351496316":["hashtag1","hashtag2"]},{"1351496303":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351496327, 1351496309, 1351496299, 1351496355, 1351496316, 1351496303)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.71647763252258 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 07:53:32.600844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/04/46/image_11042025_04_47_05_10522.jpg', '/home/pi/Desktop/images/11042025/04/47/image_11042025_04_47_14_9356.jpg', '/home/pi/Desktop/images/11042025/04/47/image_11042025_04_47_25_10414.jpg', '/home/pi/Desktop/images/11042025/04/47/image_11042025_04_47_34_9371.jpg', '/home/pi/Desktop/images/11042025/04/47/image_11042025_04_47_44_10387.jpg', '/home/pi/Desktop/images/11042025/04/47/image_11042025_04_47_55_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/04/46/image_11042025_04_47_05_10522.jpg
/home/pi/Desktop/images/11042025/04/47/image_11042025_04_47_14_9356.jpg
/home/pi/Desktop/images/11042025/04/47/image_11042025_04_47_25_10414.jpg
/home/pi/Desktop/images/11042025/04/47/image_11042025_04_47_34_9371.jpg
/home/pi/Desktop/images/11042025/04/47/image_11042025_04_47_44_10387.jpg
/home/pi/Desktop/images/11042025/04/47/image_11042025_04_47_55_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351496411","1351496405","1351496408","1351496416","1351496421","1351496427"],"photo_ids_order":["1351496405","1351496408","1351496411","1351496416","1351496421","1351496427"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6981bddc9591b786da75a6ce7036708a.jpg","text":"TemporaryFile(/tmp/multipartBody6650479706474982973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350873084,"filename":"image_11042025_04_47_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/11/9f99538c2c7cbbcbd9a393640d365b14.jpg","text":"TemporaryFile(/tmp/multipartBody2964430677334536380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350873084,"filename":"image_11042025_04_47_05_10522.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0d29cb37e5209f0e751e29b6ba2c0894.jpg","text":"TemporaryFile(/tmp/multipartBody3020949939802905991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350873084,"filename":"image_11042025_04_47_14_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8e9a1752a64818a7a9daff15dc02c6fb.jpg","text":"TemporaryFile(/tmp/multipartBody484820523842669410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350873084,"filename":"image_11042025_04_47_34_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a76956cb416b61e9caab3d71207d70d4.jpg","text":"TemporaryFile(/tmp/multipartBody6443804308482193139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350873084,"filename":"image_11042025_04_47_44_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/11/7a973d0866a7e7d973adb94f05fda211.jpg","text":"TemporaryFile(/tmp/multipartBody4832992121071629408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350873084,"filename":"image_11042025_04_47_55_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351496411","file1":"1351496408","file0":"1351496405","file4":"1351496421","file5":"1351496427","file3":"1351496416"},"map_files_photo_id_array":[{"photo_id":"1351496427","filename":"file5"},{"photo_id":"1351496411","filename":"file2"},{"photo_id":"1351496421","filename":"file4"},{"photo_id":"1351496408","filename":"file1"},{"photo_id":"1351496405","filename":"file0"},{"photo_id":"1351496416","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351496411":["hashtag1","hashtag2"]},{"1351496405":["hashtag1","hashtag2"]},{"1351496408":["hashtag1","hashtag2"]},{"1351496416":["hashtag1","hashtag2"]},{"1351496421":["hashtag1","hashtag2"]},{"1351496427":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351496411, 1351496405, 1351496408, 1351496416, 1351496421, 1351496427)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.755064725875854 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 07:54:33.116509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/04/47/image_11042025_04_48_04_9418.jpg', '/home/pi/Desktop/images/11042025/04/48/image_11042025_04_48_14_10360.jpg', '/home/pi/Desktop/images/11042025/04/48/image_11042025_04_48_25_10388.jpg', '/home/pi/Desktop/images/11042025/04/48/image_11042025_04_48_34_9357.jpg', '/home/pi/Desktop/images/11042025/04/48/image_11042025_04_48_45_10378.jpg', '/home/pi/Desktop/images/11042025/04/48/image_11042025_04_48_54_9446.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/04/47/image_11042025_04_48_04_9418.jpg
/home/pi/Desktop/images/11042025/04/48/image_11042025_04_48_14_10360.jpg
/home/pi/Desktop/images/11042025/04/48/image_11042025_04_48_25_10388.jpg
/home/pi/Desktop/images/11042025/04/48/image_11042025_04_48_34_9357.jpg
/home/pi/Desktop/images/11042025/04/48/image_11042025_04_48_45_10378.jpg
/home/pi/Desktop/images/11042025/04/48/image_11042025_04_48_54_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":["1351496452","1351496455","1351496469","1351496460","1351496465","1351496474"],"photo_ids_order":["1351496452","1351496455","1351496460","1351496465","1351496469","1351496474"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ddc34399ab3117f2d7da1fbd7bbc3e2c.jpg","text":"TemporaryFile(/tmp/multipartBody3179677065930695483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350933587,"filename":"image_11042025_04_48_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/11/c9a32f54c26f20ede9aabe1ef768643e.jpg","text":"TemporaryFile(/tmp/multipartBody1448228166084481755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350933587,"filename":"image_11042025_04_48_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/11/6a72cb4cafe9abc49f135aeec3d8545d.jpg","text":"TemporaryFile(/tmp/multipartBody1239269754160877184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350933587,"filename":"image_11042025_04_48_45_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e3fec478eef91a52d79955f2ebae9287.jpg","text":"TemporaryFile(/tmp/multipartBody8399646468281003043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350933587,"filename":"image_11042025_04_48_25_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/52cf711f95864c8f08c450ee93e3bf77.jpg","text":"TemporaryFile(/tmp/multipartBody114627080746489052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350933587,"filename":"image_11042025_04_48_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/11/1c53d490a8b8fb436bf33a9502959623.jpg","text":"TemporaryFile(/tmp/multipartBody2879959656649844898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350933587,"filename":"image_11042025_04_48_54_9446.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351496460","file1":"1351496455","file0":"1351496452","file4":"1351496469","file5":"1351496474","file3":"1351496465"},"map_files_photo_id_array":[{"photo_id":"1351496474","filename":"file5"},{"photo_id":"1351496460","filename":"file2"},{"photo_id":"1351496469","filename":"file4"},{"photo_id":"1351496455","filename":"file1"},{"photo_id":"1351496452","filename":"file0"},{"photo_id":"1351496465","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351496452":["hashtag1","hashtag2"]},{"1351496455":["hashtag1","hashtag2"]},{"1351496469":["hashtag1","hashtag2"]},{"1351496460":["hashtag1","hashtag2"]},{"1351496465":["hashtag1","hashtag2"]},{"1351496474":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351496452, 1351496455, 1351496469, 1351496460, 1351496465, 1351496474)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.71752643585205 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 07:55:32.213919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/04/48/image_11042025_04_49_04_10361.jpg', '/home/pi/Desktop/images/11042025/04/49/image_11042025_04_49_15_10398.jpg', '/home/pi/Desktop/images/11042025/04/49/image_11042025_04_49_24_9355.jpg', '/home/pi/Desktop/images/11042025/04/49/image_11042025_04_49_34_10360.jpg', '/home/pi/Desktop/images/11042025/04/49/image_11042025_04_50_05_10379.jpg', '/home/pi/Desktop/images/11042025/04/50/image_11042025_04_50_14_9453.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/04/48/image_11042025_04_49_04_10361.jpg
/home/pi/Desktop/images/11042025/04/49/image_11042025_04_49_15_10398.jpg
/home/pi/Desktop/images/11042025/04/49/image_11042025_04_49_24_9355.jpg
/home/pi/Desktop/images/11042025/04/49/image_11042025_04_49_34_10360.jpg
/home/pi/Desktop/images/11042025/04/49/image_11042025_04_50_05_10379.jpg
/home/pi/Desktop/images/11042025/04/50/image_11042025_04_50_14_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":["1351496554","1351496557","1351496550","1351496544","1351496514","1351496531"],"photo_ids_order":["1351496514","1351496531","1351496544","1351496550","1351496554","1351496557"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d004931ce70c0e7502e4eaad22ef29b6.jpg","text":"TemporaryFile(/tmp/multipartBody7108983731358148322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350992677,"filename":"image_11042025_04_50_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/11/980e4c488c861fc01010d7fe37f003fa.jpg","text":"TemporaryFile(/tmp/multipartBody5367993569358137900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350992677,"filename":"image_11042025_04_50_14_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/11/f62340e85456f87dfbe65022e6fc6398.jpg","text":"TemporaryFile(/tmp/multipartBody6579896174946246398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350992677,"filename":"image_11042025_04_49_34_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8586a4defed9483a9b1a147e4c4014f1.jpg","text":"TemporaryFile(/tmp/multipartBody449708878759443769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350992677,"filename":"image_11042025_04_49_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/11/95b980232bd34355b675c1f8bb1d7f9c.jpg","text":"TemporaryFile(/tmp/multipartBody3670659309955957879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350992677,"filename":"image_11042025_04_49_04_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d74043b9d65a469d34246d2ff66e7031.jpg","text":"TemporaryFile(/tmp/multipartBody6528681372737870792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744350992677,"filename":"image_11042025_04_49_15_10398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351496544","file1":"1351496531","file0":"1351496514","file4":"1351496554","file5":"1351496557","file3":"1351496550"},"map_files_photo_id_array":[{"photo_id":"1351496557","filename":"file5"},{"photo_id":"1351496544","filename":"file2"},{"photo_id":"1351496554","filename":"file4"},{"photo_id":"1351496531","filename":"file1"},{"photo_id":"1351496514","filename":"file0"},{"photo_id":"1351496550","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351496554":["hashtag1","hashtag2"]},{"1351496557":["hashtag1","hashtag2"]},{"1351496550":["hashtag1","hashtag2"]},{"1351496544":["hashtag1","hashtag2"]},{"1351496514":["hashtag1","hashtag2"]},{"1351496531":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351496554, 1351496557, 1351496550, 1351496544, 1351496514, 1351496531)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.29494380950928 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 07:56:32.455708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/04/50/image_11042025_04_50_24_10371.jpg', '/home/pi/Desktop/images/11042025/04/50/image_11042025_04_50_35_10400.jpg', '/home/pi/Desktop/images/11042025/04/50/image_11042025_04_50_44_9357.jpg', '/home/pi/Desktop/images/11042025/04/50/image_11042025_04_50_55_10362.jpg', '/home/pi/Desktop/images/11042025/04/50/image_11042025_04_51_05_10359.jpg', '/home/pi/Desktop/images/11042025/04/51/image_11042025_04_51_14_9353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/04/50/image_11042025_04_50_24_10371.jpg
/home/pi/Desktop/images/11042025/04/50/image_11042025_04_50_35_10400.jpg
/home/pi/Desktop/images/11042025/04/50/image_11042025_04_50_44_9357.jpg
/home/pi/Desktop/images/11042025/04/50/image_11042025_04_50_55_10362.jpg
/home/pi/Desktop/images/11042025/04/50/image_11042025_04_51_05_10359.jpg
/home/pi/Desktop/images/11042025/04/51/image_11042025_04_51_14_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":["1351496668","1351496653","1351496650","1351496673","1351496663","1351496657"],"photo_ids_order":["1351496650","1351496653","1351496657","1351496663","1351496668","1351496673"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c827d83ee9d922695423c5ff1ee7ff26.jpg","text":"TemporaryFile(/tmp/multipartBody7792038557744747681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744351052920,"filename":"image_11042025_04_51_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/11/67f55d69976036eb6fbc7fbd70e7f6cc.jpg","text":"TemporaryFile(/tmp/multipartBody4625395101373648612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744351052920,"filename":"image_11042025_04_50_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/11/df6313c008b734c422bac1e825799051.jpg","text":"TemporaryFile(/tmp/multipartBody3743047614534970714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744351052920,"filename":"image_11042025_04_50_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/11/5b0aef443a5e60b9ce7cd490b8f570e3.jpg","text":"TemporaryFile(/tmp/multipartBody9149007902185322098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744351052920,"filename":"image_11042025_04_51_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/11/790a48eed079ec5172ad957bc4f23558.jpg","text":"TemporaryFile(/tmp/multipartBody4179691657191856064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744351052920,"filename":"image_11042025_04_50_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/11/cfd796001ffa4a89eb5ab603df638f0f.jpg","text":"TemporaryFile(/tmp/multipartBody8794466173428540385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744351052920,"filename":"image_11042025_04_50_44_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351496657","file1":"1351496653","file0":"1351496650","file4":"1351496668","file5":"1351496673","file3":"1351496663"},"map_files_photo_id_array":[{"photo_id":"1351496673","filename":"file5"},{"photo_id":"1351496657","filename":"file2"},{"photo_id":"1351496668","filename":"file4"},{"photo_id":"1351496653","filename":"file1"},{"photo_id":"1351496650","filename":"file0"},{"photo_id":"1351496663","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351496668":["hashtag1","hashtag2"]},{"1351496653":["hashtag1","hashtag2"]},{"1351496650":["hashtag1","hashtag2"]},{"1351496673":["hashtag1","hashtag2"]},{"1351496663":["hashtag1","hashtag2"]},{"1351496657":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351496668, 1351496653, 1351496650, 1351496673, 1351496663, 1351496657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.179317235946655 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 07:57:32.599039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/04/51/image_11042025_04_51_25_10390.jpg', '/home/pi/Desktop/images/11042025/04/51/image_11042025_04_51_34_9349.jpg', '/home/pi/Desktop/images/11042025/04/51/image_11042025_04_51_44_10360.jpg', '/home/pi/Desktop/images/11042025/04/51/image_11042025_04_51_55_10436.jpg', '/home/pi/Desktop/images/11042025/04/51/image_11042025_04_52_04_9368.jpg', '/home/pi/Desktop/images/11042025/04/52/image_11042025_04_52_14_10343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/04/51/image_11042025_04_51_25_10390.jpg
/home/pi/Desktop/images/11042025/04/51/image_11042025_04_51_34_9349.jpg
/home/pi/Desktop/images/11042025/04/51/image_11042025_04_51_44_10360.jpg
/home/pi/Desktop/images/11042025/04/51/image_11042025_04_51_55_10436.jpg
/home/pi/Desktop/images/11042025/04/51/image_11042025_04_52_04_9368.jpg
/home/pi/Desktop/images/11042025/04/52/image_11042025_04_52_14_10343.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 07:59:04.084832
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/04/51/image_11042025_04_51_25_10390.jpg', '/home/pi/Desktop/images/11042025/04/51/image_11042025_04_51_34_9349.jpg', '/home/pi/Desktop/images/11042025/04/51/image_11042025_04_51_44_10360.jpg', '/home/pi/Desktop/images/11042025/04/51/image_11042025_04_51_55_10436.jpg', '/home/pi/Desktop/images/11042025/04/51/image_11042025_04_52_04_9368.jpg', '/home/pi/Desktop/images/11042025/04/52/image_11042025_04_52_14_10343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/04/51/image_11042025_04_51_25_10390.jpg
/home/pi/Desktop/images/11042025/04/51/image_11042025_04_51_34_9349.jpg
/home/pi/Desktop/images/11042025/04/51/image_11042025_04_51_44_10360.jpg
/home/pi/Desktop/images/11042025/04/51/image_11042025_04_51_55_10436.jpg
/home/pi/Desktop/images/11042025/04/51/image_11042025_04_52_04_9368.jpg
/home/pi/Desktop/images/11042025/04/52/image_11042025_04_52_14_10343.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351497331","1351497447","1351497389","1351497452","1351497440","1351497434"],"photo_ids_order":["1351497331","1351497389","1351497434","1351497440","1351497447","1351497452"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3c9e995cf618ed225649122789ab3f70.jpg","text":"TemporaryFile(/tmp/multipartBody3346252637927031642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744351204705,"filename":"image_11042025_04_51_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/11/196b513b78945a687b51b77e83aed4b3.jpg","text":"TemporaryFile(/tmp/multipartBody4719566469622746670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744351204705,"filename":"image_11042025_04_52_04_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/11/2b0ca3bc47ca3f459ed4b755e586b60b.jpg","text":"TemporaryFile(/tmp/multipartBody7152041866822955243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744351204705,"filename":"image_11042025_04_51_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/11/b1207f157c77abae759ae578b7e80548.jpg","text":"TemporaryFile(/tmp/multipartBody6987241755275935313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744351204705,"filename":"image_11042025_04_52_14_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d9d886b932693ed919999ca2db60d8bf.jpg","text":"TemporaryFile(/tmp/multipartBody6000007256316329296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744351204705,"filename":"image_11042025_04_51_55_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/462a7da73933852947057f05aedb4a74.jpg","text":"TemporaryFile(/tmp/multipartBody870814077425801667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744351204705,"filename":"image_11042025_04_51_44_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351497434","file1":"1351497389","file0":"1351497331","file4":"1351497447","file5":"1351497452","file3":"1351497440"},"map_files_photo_id_array":[{"photo_id":"1351497452","filename":"file5"},{"photo_id":"1351497434","filename":"file2"},{"photo_id":"1351497447","filename":"file4"},{"photo_id":"1351497389","filename":"file1"},{"photo_id":"1351497331","filename":"file0"},{"photo_id":"1351497440","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351497331":["hashtag1","hashtag2"]},{"1351497447":["hashtag1","hashtag2"]},{"1351497389":["hashtag1","hashtag2"]},{"1351497452":["hashtag1","hashtag2"]},{"1351497440":["hashtag1","hashtag2"]},{"1351497434":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351497331, 1351497447, 1351497389, 1351497452, 1351497440, 1351497434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.31195020675659 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 07:59:52.455215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/04/52/image_11042025_04_52_24_9475.jpg', '/home/pi/Desktop/images/11042025/04/52/image_11042025_04_52_34_10362.jpg', '/home/pi/Desktop/images/11042025/04/52/image_11042025_04_52_45_10410.jpg', '/home/pi/Desktop/images/11042025/04/52/image_11042025_04_52_54_9379.jpg', '/home/pi/Desktop/images/11042025/04/53/image_11042025_04_53_15_10382.jpg', '/home/pi/Desktop/images/11042025/04/53/image_11042025_04_53_24_9366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/04/52/image_11042025_04_52_24_9475.jpg
/home/pi/Desktop/images/11042025/04/52/image_11042025_04_52_34_10362.jpg
/home/pi/Desktop/images/11042025/04/52/image_11042025_04_52_45_10410.jpg
/home/pi/Desktop/images/11042025/04/52/image_11042025_04_52_54_9379.jpg
/home/pi/Desktop/images/11042025/04/53/image_11042025_04_53_15_10382.jpg
/home/pi/Desktop/images/11042025/04/53/image_11042025_04_53_24_9366.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351497721","1351497996","1351497666","1351497947","1351497815","1351497902"],"photo_ids_order":["1351497666","1351497721","1351497815","1351497902","1351497947","1351497996"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/26111c69b9c2f041113be407928916dd.jpg","text":"TemporaryFile(/tmp/multipartBody3016454554240507082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744351252922,"filename":"image_11042025_04_52_34_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2aaa804f2831b675ec4870530edc456c.jpg","text":"TemporaryFile(/tmp/multipartBody1992197428405992101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744351252922,"filename":"image_11042025_04_53_24_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/fb3bda5beac2444547fb459db126833b.jpg","text":"TemporaryFile(/tmp/multipartBody3524028768663213792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744351252922,"filename":"image_11042025_04_52_24_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/11/1fd88356616e2ee9eb2f020ba3373ca2.jpg","text":"TemporaryFile(/tmp/multipartBody6856622064811646730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744351252922,"filename":"image_11042025_04_53_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/11/e9356c69a879e5af89edfb5bbd53f5ad.jpg","text":"TemporaryFile(/tmp/multipartBody7877819563348454392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744351252922,"filename":"image_11042025_04_52_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/11/39ab69594e1130b9f7ca4aa1a9c3a328.jpg","text":"TemporaryFile(/tmp/multipartBody7516240202793977319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744351252922,"filename":"image_11042025_04_52_54_9379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351497815","file1":"1351497721","file0":"1351497666","file4":"1351497947","file5":"1351497996","file3":"1351497902"},"map_files_photo_id_array":[{"photo_id":"1351497996","filename":"file5"},{"photo_id":"1351497815","filename":"file2"},{"photo_id":"1351497947","filename":"file4"},{"photo_id":"1351497721","filename":"file1"},{"photo_id":"1351497666","filename":"file0"},{"photo_id":"1351497902","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351497721":["hashtag1","hashtag2"]},{"1351497996":["hashtag1","hashtag2"]},{"1351497666":["hashtag1","hashtag2"]},{"1351497947":["hashtag1","hashtag2"]},{"1351497815":["hashtag1","hashtag2"]},{"1351497902":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351497721, 1351497996, 1351497666, 1351497947, 1351497815, 1351497902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.38302731513977 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 08:00:32.676846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/04/53/image_11042025_04_53_35_10425.jpg', '/home/pi/Desktop/images/11042025/04/53/image_11042025_04_53_54_10385.jpg', '/home/pi/Desktop/images/11042025/04/53/image_11042025_04_54_05_10433.jpg', '/home/pi/Desktop/images/11042025/04/54/image_11042025_04_54_14_9363.jpg', '/home/pi/Desktop/images/11042025/04/54/image_11042025_04_54_44_10364.jpg', '/home/pi/Desktop/images/11042025/04/54/image_11042025_04_54_55_10392.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/04/53/image_11042025_04_53_35_10425.jpg
/home/pi/Desktop/images/11042025/04/53/image_11042025_04_53_54_10385.jpg
/home/pi/Desktop/images/11042025/04/53/image_11042025_04_54_05_10433.jpg
/home/pi/Desktop/images/11042025/04/54/image_11042025_04_54_14_9363.jpg
/home/pi/Desktop/images/11042025/04/54/image_11042025_04_54_44_10364.jpg
/home/pi/Desktop/images/11042025/04/54/image_11042025_04_54_55_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":["1351498188","1351498248","1351498161","1351498274","1351498217","1351498339"],"photo_ids_order":["1351498161","1351498188","1351498217","1351498248","1351498274","1351498339"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/73816a4beed25afc7c233bf6c2869182.jpg","text":"TemporaryFile(/tmp/multipartBody4807088236171609302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744351293150,"filename":"image_11042025_04_53_54_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/11/a83d9d9a2738b32102f571483a260212.jpg","text":"TemporaryFile(/tmp/multipartBody3613331538623091774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744351293150,"filename":"image_11042025_04_54_14_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/11/7566ebe7bbe4c2fea81cd7a0f110a3ea.jpg","text":"TemporaryFile(/tmp/multipartBody214172770497492857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744351293150,"filename":"image_11042025_04_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/11/a52a3127766176253d90ead5e0d45dca.jpg","text":"TemporaryFile(/tmp/multipartBody1404107581330712128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744351293150,"filename":"image_11042025_04_54_44_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e3edb0fb3d56a84bef36db0c785dbbc7.jpg","text":"TemporaryFile(/tmp/multipartBody5761915376724807979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744351293150,"filename":"image_11042025_04_54_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/11/4e66e6937ab89a14f45861ba8c86bbd3.jpg","text":"TemporaryFile(/tmp/multipartBody179649863697736397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744351293150,"filename":"image_11042025_04_54_55_10392.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351498217","file1":"1351498188","file0":"1351498161","file4":"1351498274","file5":"1351498339","file3":"1351498248"},"map_files_photo_id_array":[{"photo_id":"1351498339","filename":"file5"},{"photo_id":"1351498217","filename":"file2"},{"photo_id":"1351498274","filename":"file4"},{"photo_id":"1351498188","filename":"file1"},{"photo_id":"1351498161","filename":"file0"},{"photo_id":"1351498248","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351498188":["hashtag1","hashtag2"]},{"1351498248":["hashtag1","hashtag2"]},{"1351498161":["hashtag1","hashtag2"]},{"1351498274":["hashtag1","hashtag2"]},{"1351498217":["hashtag1","hashtag2"]},{"1351498339":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351498188, 1351498248, 1351498161, 1351498274, 1351498217, 1351498339)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.54664659500122 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 08:01:32.809247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/04/54/image_11042025_04_55_04_9352.jpg', '/home/pi/Desktop/images/11042025/04/55/image_11042025_04_55_15_10368.jpg', '/home/pi/Desktop/images/11042025/04/55/image_11042025_04_55_34_10409.jpg', '/home/pi/Desktop/images/11042025/04/55/image_11042025_04_55_44_9520.jpg', '/home/pi/Desktop/images/11042025/04/55/image_11042025_04_55_54_10365.jpg', '/home/pi/Desktop/images/11042025/04/55/image_11042025_04_56_05_10376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/04/54/image_11042025_04_55_04_9352.jpg
/home/pi/Desktop/images/11042025/04/55/image_11042025_04_55_15_10368.jpg
/home/pi/Desktop/images/11042025/04/55/image_11042025_04_55_34_10409.jpg
/home/pi/Desktop/images/11042025/04/55/image_11042025_04_55_44_9520.jpg
/home/pi/Desktop/images/11042025/04/55/image_11042025_04_55_54_10365.jpg
/home/pi/Desktop/images/11042025/04/55/image_11042025_04_56_05_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":["1351498557","1351498719","1351498763","1351498670","1351498640","1351498600"],"photo_ids_order":["1351498557","1351498600","1351498640","1351498670","1351498719","1351498763"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/03344d44722942ec3fa3be31f0f15fa9.jpg","text":"TemporaryFile(/tmp/multipartBody8758699822016410512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744351353271,"filename":"image_11042025_04_55_04_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d4ed7e1f4a5b67020870d2a5b2a92ede.jpg","text":"TemporaryFile(/tmp/multipartBody4821328129618891428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744351353271,"filename":"image_11042025_04_55_54_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3b9335b01bb869f754092d4f3e66b4e2.jpg","text":"TemporaryFile(/tmp/multipartBody1764167644114461275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744351353271,"filename":"image_11042025_04_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/11/ce487b6f3cda63e6cf9b17442bcef08a.jpg","text":"TemporaryFile(/tmp/multipartBody1899144419718405842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744351353271,"filename":"image_11042025_04_55_44_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/11/952a1b535b1ef3d39c091cb79062b68c.jpg","text":"TemporaryFile(/tmp/multipartBody3819746094438783365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744351353271,"filename":"image_11042025_04_55_34_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5cf8c2c212592fe509be6f6be342ea2d.jpg","text":"TemporaryFile(/tmp/multipartBody6938616982183564131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744351353271,"filename":"image_11042025_04_55_15_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351498640","file1":"1351498600","file0":"1351498557","file4":"1351498719","file5":"1351498763","file3":"1351498670"},"map_files_photo_id_array":[{"photo_id":"1351498763","filename":"file5"},{"photo_id":"1351498640","filename":"file2"},{"photo_id":"1351498719","filename":"file4"},{"photo_id":"1351498600","filename":"file1"},{"photo_id":"1351498557","filename":"file0"},{"photo_id":"1351498670","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351498557":["hashtag1","hashtag2"]},{"1351498719":["hashtag1","hashtag2"]},{"1351498763":["hashtag1","hashtag2"]},{"1351498670":["hashtag1","hashtag2"]},{"1351498640":["hashtag1","hashtag2"]},{"1351498600":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351498557, 1351498719, 1351498763, 1351498670, 1351498640, 1351498600)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.866541624069214 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 08:02:33.048451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/04/56/image_11042025_04_56_14_9370.jpg', '/home/pi/Desktop/images/11042025/04/56/image_11042025_04_56_24_10372.jpg', '/home/pi/Desktop/images/11042025/04/56/image_11042025_04_56_34_9500.jpg', '/home/pi/Desktop/images/11042025/04/56/image_11042025_04_56_44_10361.jpg', '/home/pi/Desktop/images/11042025/04/56/image_11042025_04_56_55_10364.jpg', '/home/pi/Desktop/images/11042025/04/56/image_11042025_04_57_04_9371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/04/56/image_11042025_04_56_14_9370.jpg
/home/pi/Desktop/images/11042025/04/56/image_11042025_04_56_24_10372.jpg
/home/pi/Desktop/images/11042025/04/56/image_11042025_04_56_34_9500.jpg
/home/pi/Desktop/images/11042025/04/56/image_11042025_04_56_44_10361.jpg
/home/pi/Desktop/images/11042025/04/56/image_11042025_04_56_55_10364.jpg
/home/pi/Desktop/images/11042025/04/56/image_11042025_04_57_04_9371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351498997","1351498982","1351499105","1351499129","1351499080","1351499064"],"photo_ids_order":["1351498982","1351498997","1351499064","1351499080","1351499105","1351499129"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d74cb0b45f0be40575da7f3852904336.jpg","text":"TemporaryFile(/tmp/multipartBody8794398286662387365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744351413510,"filename":"image_11042025_04_56_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/11/f5a104b6e2f209a176db92e4618f2ec1.jpg","text":"TemporaryFile(/tmp/multipartBody6925539509496420503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744351413510,"filename":"image_11042025_04_56_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/11/f6587682e0c510d064c83b6d49d9faeb.jpg","text":"TemporaryFile(/tmp/multipartBody3204078970545595832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744351413510,"filename":"image_11042025_04_56_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/11/1c1987e43bacdb2ba08a1a0c356fbb2c.jpg","text":"TemporaryFile(/tmp/multipartBody1989620410343186206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744351413510,"filename":"image_11042025_04_57_04_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/885da5df4a294df33db5400285762d6a.jpg","text":"TemporaryFile(/tmp/multipartBody6996015902142578605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744351413510,"filename":"image_11042025_04_56_44_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b3b617a00bc31c3e460e507652be4d4e.jpg","text":"TemporaryFile(/tmp/multipartBody3014206657853029850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744351413510,"filename":"image_11042025_04_56_34_9500.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351499064","file1":"1351498997","file0":"1351498982","file4":"1351499105","file5":"1351499129","file3":"1351499080"},"map_files_photo_id_array":[{"photo_id":"1351499129","filename":"file5"},{"photo_id":"1351499064","filename":"file2"},{"photo_id":"1351499105","filename":"file4"},{"photo_id":"1351498997","filename":"file1"},{"photo_id":"1351498982","filename":"file0"},{"photo_id":"1351499080","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351498997":["hashtag1","hashtag2"]},{"1351498982":["hashtag1","hashtag2"]},{"1351499105":["hashtag1","hashtag2"]},{"1351499129":["hashtag1","hashtag2"]},{"1351499080":["hashtag1","hashtag2"]},{"1351499064":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351498997, 1351498982, 1351499105, 1351499129, 1351499080, 1351499064)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.856800079345703 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 08:03:32.294288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/04/57/image_11042025_04_57_14_10360.jpg', '/home/pi/Desktop/images/11042025/04/57/image_11042025_04_57_25_10438.jpg', '/home/pi/Desktop/images/11042025/04/57/image_11042025_04_57_34_9345.jpg', '/home/pi/Desktop/images/11042025/04/57/image_11042025_04_57_44_10380.jpg', '/home/pi/Desktop/images/11042025/04/57/image_11042025_04_57_55_10378.jpg', '/home/pi/Desktop/images/11042025/04/57/image_11042025_04_58_04_9366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/04/57/image_11042025_04_57_14_10360.jpg
/home/pi/Desktop/images/11042025/04/57/image_11042025_04_57_25_10438.jpg
/home/pi/Desktop/images/11042025/04/57/image_11042025_04_57_34_9345.jpg
/home/pi/Desktop/images/11042025/04/57/image_11042025_04_57_44_10380.jpg
/home/pi/Desktop/images/11042025/04/57/image_11042025_04_57_55_10378.jpg
/home/pi/Desktop/images/11042025/04/57/image_11042025_04_58_04_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":["1351499573","1351499606","1351499519","1351499411","1351499446","1351499379"],"photo_ids_order":["1351499379","1351499411","1351499446","1351499519","1351499573","1351499606"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3dd4c2b484dd4530e4a78e8bfdf75b72.jpg","text":"TemporaryFile(/tmp/multipartBody2346593943922325149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744351472764,"filename":"image_11042025_04_57_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/11/17b9849a1c997aa4ab9f7a0640c50f51.jpg","text":"TemporaryFile(/tmp/multipartBody5497658538301485741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744351472764,"filename":"image_11042025_04_58_04_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/09d82c27192c8e1975094caf5cbb7c7b.jpg","text":"TemporaryFile(/tmp/multipartBody1388291443327062998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744351472764,"filename":"image_11042025_04_57_44_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/11/6fabd04b28462f6d25004055f6604a0b.jpg","text":"TemporaryFile(/tmp/multipartBody1962704290186307137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744351472764,"filename":"image_11042025_04_57_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/11/343a81a647fd16e4031a8cfd994bd18f.jpg","text":"TemporaryFile(/tmp/multipartBody2619036849453198469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744351472764,"filename":"image_11042025_04_57_34_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ad3df44bdfe0309881bc46f25e924148.jpg","text":"TemporaryFile(/tmp/multipartBody5739223736513824086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744351472764,"filename":"image_11042025_04_57_14_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351499446","file1":"1351499411","file0":"1351499379","file4":"1351499573","file5":"1351499606","file3":"1351499519"},"map_files_photo_id_array":[{"photo_id":"1351499606","filename":"file5"},{"photo_id":"1351499446","filename":"file2"},{"photo_id":"1351499573","filename":"file4"},{"photo_id":"1351499411","filename":"file1"},{"photo_id":"1351499379","filename":"file0"},{"photo_id":"1351499519","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351499573":["hashtag1","hashtag2"]},{"1351499606":["hashtag1","hashtag2"]},{"1351499519":["hashtag1","hashtag2"]},{"1351499411":["hashtag1","hashtag2"]},{"1351499446":["hashtag1","hashtag2"]},{"1351499379":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351499573, 1351499606, 1351499519, 1351499411, 1351499446, 1351499379)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.99122333526611 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 08:04:32.457037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/04/58/image_11042025_04_58_24_9454.jpg', '/home/pi/Desktop/images/11042025/04/58/image_11042025_04_58_34_10375.jpg', '/home/pi/Desktop/images/11042025/04/58/image_11042025_04_58_45_10383.jpg', '/home/pi/Desktop/images/11042025/04/58/image_11042025_04_58_54_9422.jpg', '/home/pi/Desktop/images/11042025/04/58/image_11042025_04_59_05_10357.jpg', '/home/pi/Desktop/images/11042025/04/59/image_11042025_04_59_14_9341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/04/58/image_11042025_04_58_24_9454.jpg
/home/pi/Desktop/images/11042025/04/58/image_11042025_04_58_34_10375.jpg
/home/pi/Desktop/images/11042025/04/58/image_11042025_04_58_45_10383.jpg
/home/pi/Desktop/images/11042025/04/58/image_11042025_04_58_54_9422.jpg
/home/pi/Desktop/images/11042025/04/58/image_11042025_04_59_05_10357.jpg
/home/pi/Desktop/images/11042025/04/59/image_11042025_04_59_14_9341.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.38509368896484375 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 08:04:42.479516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/04/58/image_11042025_04_58_24_9454.jpg', '/home/pi/Desktop/images/11042025/04/58/image_11042025_04_58_34_10375.jpg', '/home/pi/Desktop/images/11042025/04/58/image_11042025_04_58_45_10383.jpg', '/home/pi/Desktop/images/11042025/04/58/image_11042025_04_58_54_9422.jpg', '/home/pi/Desktop/images/11042025/04/58/image_11042025_04_59_05_10357.jpg', '/home/pi/Desktop/images/11042025/04/59/image_11042025_04_59_14_9341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/04/58/image_11042025_04_58_24_9454.jpg
/home/pi/Desktop/images/11042025/04/58/image_11042025_04_58_34_10375.jpg
/home/pi/Desktop/images/11042025/04/58/image_11042025_04_58_45_10383.jpg
/home/pi/Desktop/images/11042025/04/58/image_11042025_04_58_54_9422.jpg
/home/pi/Desktop/images/11042025/04/58/image_11042025_04_59_05_10357.jpg
/home/pi/Desktop/images/11042025/04/59/image_11042025_04_59_14_9341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351499999","1351500082","1351499912","1351500028","1351500115","1351499979"],"photo_ids_order":["1351499912","1351499979","1351499999","1351500028","1351500082","1351500115"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/32eb34b0e2e6958fafc520c1273b23a1.jpg","text":"TemporaryFile(/tmp/multipartBody2784878283105159575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744351542944,"filename":"image_11042025_04_58_45_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/317398860296745aec4375ac4e8a40c5.jpg","text":"TemporaryFile(/tmp/multipartBody4696619010624790162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744351542944,"filename":"image_11042025_04_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/11/c2726b08f94305bc8c9e33e105290012.jpg","text":"TemporaryFile(/tmp/multipartBody8773466806182602598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744351542944,"filename":"image_11042025_04_58_24_9454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/81df3b1734569039e3dbc0f23760ddf5.jpg","text":"TemporaryFile(/tmp/multipartBody8343666608599193418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744351542944,"filename":"image_11042025_04_58_54_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3a4f9ae1c0970f0ccb19a3ebfa898c8e.jpg","text":"TemporaryFile(/tmp/multipartBody3066275321896989518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744351542944,"filename":"image_11042025_04_59_14_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/29cf3a208b517aa482cd58b4c043b5df.jpg","text":"TemporaryFile(/tmp/multipartBody5514223343097663321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744351542944,"filename":"image_11042025_04_58_34_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351499999","file1":"1351499979","file0":"1351499912","file4":"1351500082","file5":"1351500115","file3":"1351500028"},"map_files_photo_id_array":[{"photo_id":"1351500115","filename":"file5"},{"photo_id":"1351499999","filename":"file2"},{"photo_id":"1351500082","filename":"file4"},{"photo_id":"1351499979","filename":"file1"},{"photo_id":"1351499912","filename":"file0"},{"photo_id":"1351500028","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351499999":["hashtag1","hashtag2"]},{"1351500082":["hashtag1","hashtag2"]},{"1351499912":["hashtag1","hashtag2"]},{"1351500028":["hashtag1","hashtag2"]},{"1351500115":["hashtag1","hashtag2"]},{"1351499979":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351499999, 1351500082, 1351499912, 1351500028, 1351500115, 1351499979)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.93134593963623 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 08:05:32.769240
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/04/59/image_11042025_04_59_24_10363.jpg', '/home/pi/Desktop/images/11042025/04/59/image_11042025_04_59_35_10407.jpg', '/home/pi/Desktop/images/11042025/04/59/image_11042025_04_59_44_9353.jpg', '/home/pi/Desktop/images/11042025/04/59/image_11042025_04_59_54_10406.jpg', '/home/pi/Desktop/images/11042025/05/01/image_11042025_05_01_15_10078.jpg', '/home/pi/Desktop/images/11042025/05/01/image_11042025_05_01_25_10446.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/04/59/image_11042025_04_59_24_10363.jpg
/home/pi/Desktop/images/11042025/04/59/image_11042025_04_59_35_10407.jpg
/home/pi/Desktop/images/11042025/04/59/image_11042025_04_59_44_9353.jpg
/home/pi/Desktop/images/11042025/04/59/image_11042025_04_59_54_10406.jpg
/home/pi/Desktop/images/11042025/05/01/image_11042025_05_01_15_10078.jpg
/home/pi/Desktop/images/11042025/05/01/image_11042025_05_01_25_10446.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.39055800437927246 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 08:05:42.798529
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/04/59/image_11042025_04_59_24_10363.jpg', '/home/pi/Desktop/images/11042025/04/59/image_11042025_04_59_35_10407.jpg', '/home/pi/Desktop/images/11042025/04/59/image_11042025_04_59_44_9353.jpg', '/home/pi/Desktop/images/11042025/04/59/image_11042025_04_59_54_10406.jpg', '/home/pi/Desktop/images/11042025/05/01/image_11042025_05_01_15_10078.jpg', '/home/pi/Desktop/images/11042025/05/01/image_11042025_05_01_25_10446.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/04/59/image_11042025_04_59_24_10363.jpg
/home/pi/Desktop/images/11042025/04/59/image_11042025_04_59_35_10407.jpg
/home/pi/Desktop/images/11042025/04/59/image_11042025_04_59_44_9353.jpg
/home/pi/Desktop/images/11042025/04/59/image_11042025_04_59_54_10406.jpg
/home/pi/Desktop/images/11042025/05/01/image_11042025_05_01_15_10078.jpg
/home/pi/Desktop/images/11042025/05/01/image_11042025_05_01_25_10446.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.40531468391418457 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 08:05:52.772841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/04/59/image_11042025_04_59_24_10363.jpg', '/home/pi/Desktop/images/11042025/04/59/image_11042025_04_59_35_10407.jpg', '/home/pi/Desktop/images/11042025/04/59/image_11042025_04_59_44_9353.jpg', '/home/pi/Desktop/images/11042025/04/59/image_11042025_04_59_54_10406.jpg', '/home/pi/Desktop/images/11042025/05/01/image_11042025_05_01_15_10078.jpg', '/home/pi/Desktop/images/11042025/05/01/image_11042025_05_01_25_10446.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/04/59/image_11042025_04_59_24_10363.jpg
/home/pi/Desktop/images/11042025/04/59/image_11042025_04_59_35_10407.jpg
/home/pi/Desktop/images/11042025/04/59/image_11042025_04_59_44_9353.jpg
/home/pi/Desktop/images/11042025/04/59/image_11042025_04_59_54_10406.jpg
/home/pi/Desktop/images/11042025/05/01/image_11042025_05_01_15_10078.jpg
/home/pi/Desktop/images/11042025/05/01/image_11042025_05_01_25_10446.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351500614","1351500503","1351500481","1351500598","1351500604","1351500537"],"photo_ids_order":["1351500481","1351500503","1351500537","1351500598","1351500604","1351500614"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8669ee0b5d78c1eff17d368ee082113e.jpg","text":"TemporaryFile(/tmp/multipartBody419900661024249759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744351613241,"filename":"image_11042025_05_01_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/11/fe96182e6bccf62a2c8f8faa90a365a5.jpg","text":"TemporaryFile(/tmp/multipartBody1345846243660229997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744351613241,"filename":"image_11042025_04_59_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/11/bd929ac694d94099c494219360bbd9fe.jpg","text":"TemporaryFile(/tmp/multipartBody6341060784364976890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744351613241,"filename":"image_11042025_04_59_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/11/1f975d8431acc58a2c720baee94e401e.jpg","text":"TemporaryFile(/tmp/multipartBody1156431215128950250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744351613241,"filename":"image_11042025_04_59_54_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/473401b39d341101e265ed90b5da3beb.jpg","text":"TemporaryFile(/tmp/multipartBody5357373868952449878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744351613241,"filename":"image_11042025_05_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/11/865cc6d7075f85a14bc91a03c58b3443.jpg","text":"TemporaryFile(/tmp/multipartBody5650816897311400414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744351613241,"filename":"image_11042025_04_59_44_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351500537","file1":"1351500503","file0":"1351500481","file4":"1351500604","file5":"1351500614","file3":"1351500598"},"map_files_photo_id_array":[{"photo_id":"1351500614","filename":"file5"},{"photo_id":"1351500537","filename":"file2"},{"photo_id":"1351500604","filename":"file4"},{"photo_id":"1351500503","filename":"file1"},{"photo_id":"1351500481","filename":"file0"},{"photo_id":"1351500598","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351500614":["hashtag1","hashtag2"]},{"1351500503":["hashtag1","hashtag2"]},{"1351500481":["hashtag1","hashtag2"]},{"1351500598":["hashtag1","hashtag2"]},{"1351500604":["hashtag1","hashtag2"]},{"1351500537":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351500614, 1351500503, 1351500481, 1351500598, 1351500604, 1351500537)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.84735608100891 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 08:06:42.942342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/05/01/image_11042025_05_01_36_10352.jpg', '/home/pi/Desktop/images/11042025/05/01/image_11042025_05_01_55_10361.jpg', '/home/pi/Desktop/images/11042025/05/01/image_11042025_05_02_05_9420.jpg', '/home/pi/Desktop/images/11042025/05/02/image_11042025_05_02_15_10396.jpg', '/home/pi/Desktop/images/11042025/05/02/image_11042025_05_02_25_10365.jpg', '/home/pi/Desktop/images/11042025/05/02/image_11042025_05_02_35_9372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/05/01/image_11042025_05_01_36_10352.jpg
/home/pi/Desktop/images/11042025/05/01/image_11042025_05_01_55_10361.jpg
/home/pi/Desktop/images/11042025/05/01/image_11042025_05_02_05_9420.jpg
/home/pi/Desktop/images/11042025/05/02/image_11042025_05_02_15_10396.jpg
/home/pi/Desktop/images/11042025/05/02/image_11042025_05_02_25_10365.jpg
/home/pi/Desktop/images/11042025/05/02/image_11042025_05_02_35_9372.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351500835","1351500778","1351500709","1351500852","1351500801","1351500831"],"photo_ids_order":["1351500709","1351500778","1351500801","1351500831","1351500835","1351500852"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/659a939dfbabfdd9fbbc93f4f41f2a4f.jpg","text":"TemporaryFile(/tmp/multipartBody1404419072249277749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744351663410,"filename":"image_11042025_05_02_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/11/f00dd1796abb0c86ae2ab46e37011946.jpg","text":"TemporaryFile(/tmp/multipartBody7192729312987437180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744351663410,"filename":"image_11042025_05_01_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/11/2bbb03b97af4a7a27ebef9d54c2a459b.jpg","text":"TemporaryFile(/tmp/multipartBody895272406327564613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744351663410,"filename":"image_11042025_05_01_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/11/4d99bca950d29d2240327793f64c0e1c.jpg","text":"TemporaryFile(/tmp/multipartBody4461920231599099895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744351663410,"filename":"image_11042025_05_02_35_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c197af88d3d827184ba76cfaf0ac12ab.jpg","text":"TemporaryFile(/tmp/multipartBody8952688775198836832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744351663410,"filename":"image_11042025_05_02_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/11/2e4cd7be1af7df27666a92accedbaf27.jpg","text":"TemporaryFile(/tmp/multipartBody1432167113400843197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744351663410,"filename":"image_11042025_05_02_15_10396.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351500801","file1":"1351500778","file0":"1351500709","file4":"1351500835","file5":"1351500852","file3":"1351500831"},"map_files_photo_id_array":[{"photo_id":"1351500852","filename":"file5"},{"photo_id":"1351500801","filename":"file2"},{"photo_id":"1351500835","filename":"file4"},{"photo_id":"1351500778","filename":"file1"},{"photo_id":"1351500709","filename":"file0"},{"photo_id":"1351500831","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351500835":["hashtag1","hashtag2"]},{"1351500778":["hashtag1","hashtag2"]},{"1351500709":["hashtag1","hashtag2"]},{"1351500852":["hashtag1","hashtag2"]},{"1351500801":["hashtag1","hashtag2"]},{"1351500831":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351500835, 1351500778, 1351500709, 1351500852, 1351500801, 1351500831)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.88023328781128 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 08:07:33.175357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/05/02/image_11042025_05_02_45_10379.jpg', '/home/pi/Desktop/images/11042025/05/02/image_11042025_05_02_56_10367.jpg', '/home/pi/Desktop/images/11042025/05/02/image_11042025_05_03_05_9414.jpg', '/home/pi/Desktop/images/11042025/05/03/image_11042025_05_03_25_9429.jpg', '/home/pi/Desktop/images/11042025/05/03/image_11042025_05_03_35_10466.jpg', '/home/pi/Desktop/images/11042025/05/03/image_11042025_05_03_46_10373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/05/02/image_11042025_05_02_45_10379.jpg
/home/pi/Desktop/images/11042025/05/02/image_11042025_05_02_56_10367.jpg
/home/pi/Desktop/images/11042025/05/02/image_11042025_05_03_05_9414.jpg
/home/pi/Desktop/images/11042025/05/03/image_11042025_05_03_25_9429.jpg
/home/pi/Desktop/images/11042025/05/03/image_11042025_05_03_35_10466.jpg
/home/pi/Desktop/images/11042025/05/03/image_11042025_05_03_46_10373.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3907661437988281 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 08:07:43.171935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/05/02/image_11042025_05_02_45_10379.jpg', '/home/pi/Desktop/images/11042025/05/02/image_11042025_05_02_56_10367.jpg', '/home/pi/Desktop/images/11042025/05/02/image_11042025_05_03_05_9414.jpg', '/home/pi/Desktop/images/11042025/05/03/image_11042025_05_03_25_9429.jpg', '/home/pi/Desktop/images/11042025/05/03/image_11042025_05_03_35_10466.jpg', '/home/pi/Desktop/images/11042025/05/03/image_11042025_05_03_46_10373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/05/02/image_11042025_05_02_45_10379.jpg
/home/pi/Desktop/images/11042025/05/02/image_11042025_05_02_56_10367.jpg
/home/pi/Desktop/images/11042025/05/02/image_11042025_05_03_05_9414.jpg
/home/pi/Desktop/images/11042025/05/03/image_11042025_05_03_25_9429.jpg
/home/pi/Desktop/images/11042025/05/03/image_11042025_05_03_35_10466.jpg
/home/pi/Desktop/images/11042025/05/03/image_11042025_05_03_46_10373.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351501205","1351501102","1351501137","1351501113","1351501181","1351501118"],"photo_ids_order":["1351501102","1351501113","1351501118","1351501137","1351501181","1351501205"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b1aef4106f61f62884dba1941da87e10.jpg","text":"TemporaryFile(/tmp/multipartBody3326230331494141741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744351723635,"filename":"image_11042025_05_03_46_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a921a813f076a2658b12b595a2b0710a.jpg","text":"TemporaryFile(/tmp/multipartBody2393251523486154278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744351723635,"filename":"image_11042025_05_02_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/11/d3c6cf1cedf0a656a815072d085ad995.jpg","text":"TemporaryFile(/tmp/multipartBody1296266473907190573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744351723635,"filename":"image_11042025_05_03_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/11/2ab452805f63f9dba1b82c57c3cda76d.jpg","text":"TemporaryFile(/tmp/multipartBody327506424519166174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744351723635,"filename":"image_11042025_05_02_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/11/bbbb65e930247d775d024f4818c12067.jpg","text":"TemporaryFile(/tmp/multipartBody5069833129717541441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744351723635,"filename":"image_11042025_05_03_35_10466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8034a9a5c3c6be15cc7d2075dd085f88.jpg","text":"TemporaryFile(/tmp/multipartBody4091244785364031206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744351723635,"filename":"image_11042025_05_03_05_9414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351501118","file1":"1351501113","file0":"1351501102","file4":"1351501181","file5":"1351501205","file3":"1351501137"},"map_files_photo_id_array":[{"photo_id":"1351501205","filename":"file5"},{"photo_id":"1351501118","filename":"file2"},{"photo_id":"1351501181","filename":"file4"},{"photo_id":"1351501113","filename":"file1"},{"photo_id":"1351501102","filename":"file0"},{"photo_id":"1351501137","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351501205":["hashtag1","hashtag2"]},{"1351501102":["hashtag1","hashtag2"]},{"1351501137":["hashtag1","hashtag2"]},{"1351501113":["hashtag1","hashtag2"]},{"1351501181":["hashtag1","hashtag2"]},{"1351501118":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351501205, 1351501102, 1351501137, 1351501113, 1351501181, 1351501118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.0679087638855 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 08:08:32.343497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/05/03/image_11042025_05_03_55_9421.jpg', '/home/pi/Desktop/images/11042025/05/04/image_11042025_05_04_36_10380.jpg', '/home/pi/Desktop/images/11042025/05/04/image_11042025_05_04_45_9436.jpg', '/home/pi/Desktop/images/11042025/05/04/image_11042025_05_04_55_10359.jpg', '/home/pi/Desktop/images/11042025/05/04/image_11042025_05_05_05_9397.jpg', '/home/pi/Desktop/images/11042025/05/05/image_11042025_05_05_56_10386.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/05/03/image_11042025_05_03_55_9421.jpg
/home/pi/Desktop/images/11042025/05/04/image_11042025_05_04_36_10380.jpg
/home/pi/Desktop/images/11042025/05/04/image_11042025_05_04_45_9436.jpg
/home/pi/Desktop/images/11042025/05/04/image_11042025_05_04_55_10359.jpg
/home/pi/Desktop/images/11042025/05/04/image_11042025_05_05_05_9397.jpg
/home/pi/Desktop/images/11042025/05/05/image_11042025_05_05_56_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":["1351501309","1351501299","1351501290","1351501332","1351501401","1351501370"],"photo_ids_order":["1351501290","1351501299","1351501309","1351501332","1351501370","1351501401"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e809792d74ad7d69d257fc4d14ae13e4.jpg","text":"TemporaryFile(/tmp/multipartBody5943628767030572176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744351772817,"filename":"image_11042025_05_04_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/11/0dc2ebcc33dc2f2dfe9d3eb7a9562e59.jpg","text":"TemporaryFile(/tmp/multipartBody2832098317592502549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744351772817,"filename":"image_11042025_05_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/11/380c8199e1e3462e2eb6afd181f96f9f.jpg","text":"TemporaryFile(/tmp/multipartBody3990670872640859439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744351772817,"filename":"image_11042025_05_03_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/11/c442281fcc98867220ba2afdfafb52e9.jpg","text":"TemporaryFile(/tmp/multipartBody3723723026772664389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744351772817,"filename":"image_11042025_05_04_55_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c0f62e02c336614519f97191116d92f9.jpg","text":"TemporaryFile(/tmp/multipartBody6518343450220389614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744351772817,"filename":"image_11042025_05_05_56_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/409d1ac5541b980fc390b704c0dd81ab.jpg","text":"TemporaryFile(/tmp/multipartBody4133386845967096479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744351772817,"filename":"image_11042025_05_05_05_9397.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351501309","file1":"1351501299","file0":"1351501290","file4":"1351501370","file5":"1351501401","file3":"1351501332"},"map_files_photo_id_array":[{"photo_id":"1351501401","filename":"file5"},{"photo_id":"1351501309","filename":"file2"},{"photo_id":"1351501370","filename":"file4"},{"photo_id":"1351501299","filename":"file1"},{"photo_id":"1351501290","filename":"file0"},{"photo_id":"1351501332","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351501309":["hashtag1","hashtag2"]},{"1351501299":["hashtag1","hashtag2"]},{"1351501290":["hashtag1","hashtag2"]},{"1351501332":["hashtag1","hashtag2"]},{"1351501401":["hashtag1","hashtag2"]},{"1351501370":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351501309, 1351501299, 1351501290, 1351501332, 1351501401, 1351501370)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.46164393424988 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 08:09:32.615932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/05/06/image_11042025_05_06_15_10380.jpg', '/home/pi/Desktop/images/11042025/05/06/image_11042025_05_06_25_9365.jpg', '/home/pi/Desktop/images/11042025/05/06/image_11042025_05_06_45_9497.jpg', '/home/pi/Desktop/images/11042025/05/06/image_11042025_05_07_05_10358.jpg', '/home/pi/Desktop/images/11042025/05/07/image_11042025_05_07_25_10353.jpg', '/home/pi/Desktop/images/11042025/05/07/image_11042025_05_07_36_10392.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/05/06/image_11042025_05_06_15_10380.jpg
/home/pi/Desktop/images/11042025/05/06/image_11042025_05_06_25_9365.jpg
/home/pi/Desktop/images/11042025/05/06/image_11042025_05_06_45_9497.jpg
/home/pi/Desktop/images/11042025/05/06/image_11042025_05_07_05_10358.jpg
/home/pi/Desktop/images/11042025/05/07/image_11042025_05_07_25_10353.jpg
/home/pi/Desktop/images/11042025/05/07/image_11042025_05_07_36_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":["1351501715","1351501720","1351501761","1351501754","1351501685","1351501634"],"photo_ids_order":["1351501634","1351501685","1351501715","1351501720","1351501754","1351501761"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/076111e7b97618b7f3b7f231b766f793.jpg","text":"TemporaryFile(/tmp/multipartBody2467170905207295141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744351833311,"filename":"image_11042025_05_06_45_9497.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/936b5fc644b50be2dd64efd6a576ea5b.jpg","text":"TemporaryFile(/tmp/multipartBody2616540305182217353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744351833311,"filename":"image_11042025_05_07_05_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c9f3f621939facd82b2a8f518f69a7ce.jpg","text":"TemporaryFile(/tmp/multipartBody8286265110265242542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744351833311,"filename":"image_11042025_05_07_36_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8654da1f2ed34136b02696a9e7b7b8e0.jpg","text":"TemporaryFile(/tmp/multipartBody8223871451386961642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744351833311,"filename":"image_11042025_05_07_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/11/7e35cc07b4e73f5808833210e3e3ac0b.jpg","text":"TemporaryFile(/tmp/multipartBody7487694283347902530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744351833311,"filename":"image_11042025_05_06_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/11/5033213e0193d0377eca66621c5a7c34.jpg","text":"TemporaryFile(/tmp/multipartBody2159149633242448514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744351833311,"filename":"image_11042025_05_06_15_10380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351501715","file1":"1351501685","file0":"1351501634","file4":"1351501754","file5":"1351501761","file3":"1351501720"},"map_files_photo_id_array":[{"photo_id":"1351501761","filename":"file5"},{"photo_id":"1351501715","filename":"file2"},{"photo_id":"1351501754","filename":"file4"},{"photo_id":"1351501685","filename":"file1"},{"photo_id":"1351501634","filename":"file0"},{"photo_id":"1351501720","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351501715":["hashtag1","hashtag2"]},{"1351501720":["hashtag1","hashtag2"]},{"1351501761":["hashtag1","hashtag2"]},{"1351501754":["hashtag1","hashtag2"]},{"1351501685":["hashtag1","hashtag2"]},{"1351501634":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351501715, 1351501720, 1351501761, 1351501754, 1351501685, 1351501634)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.26186537742615 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 08:10:32.919072
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/05/07/image_11042025_05_07_45_9356.jpg', '/home/pi/Desktop/images/11042025/05/08/image_11042025_05_08_15_10335.jpg', '/home/pi/Desktop/images/11042025/05/08/image_11042025_05_08_26_10367.jpg', '/home/pi/Desktop/images/11042025/05/08/image_11042025_05_08_35_9417.jpg', '/home/pi/Desktop/images/11042025/05/08/image_11042025_05_08_55_9448.jpg', '/home/pi/Desktop/images/11042025/05/09/image_11042025_05_09_25_9396.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/05/07/image_11042025_05_07_45_9356.jpg
/home/pi/Desktop/images/11042025/05/08/image_11042025_05_08_15_10335.jpg
/home/pi/Desktop/images/11042025/05/08/image_11042025_05_08_26_10367.jpg
/home/pi/Desktop/images/11042025/05/08/image_11042025_05_08_35_9417.jpg
/home/pi/Desktop/images/11042025/05/08/image_11042025_05_08_55_9448.jpg
/home/pi/Desktop/images/11042025/05/09/image_11042025_05_09_25_9396.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351501864","1351501941","1351501877","1351501856","1351501937","1351501919"],"photo_ids_order":["1351501856","1351501864","1351501877","1351501919","1351501937","1351501941"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/77ca88ba841c478eb89122a98bbb4222.jpg","text":"TemporaryFile(/tmp/multipartBody6788240584124565677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744351893407,"filename":"image_11042025_05_08_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/11/47f5df918daa427808a80d5c517d8e84.jpg","text":"TemporaryFile(/tmp/multipartBody3923523321343246658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744351893407,"filename":"image_11042025_05_09_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/11/9d8a8580299c3305a70a28445d74ac7c.jpg","text":"TemporaryFile(/tmp/multipartBody7043757356984908649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744351893407,"filename":"image_11042025_05_08_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/11/a8208500d460475a7a4522415011cc76.jpg","text":"TemporaryFile(/tmp/multipartBody4278008865539039080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744351893407,"filename":"image_11042025_05_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/11/588ceac9c366cb747d82aea5c7eca230.jpg","text":"TemporaryFile(/tmp/multipartBody3636531186622440101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744351893407,"filename":"image_11042025_05_08_55_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8b585ef27327db1a8f07cdb40c65d7aa.jpg","text":"TemporaryFile(/tmp/multipartBody7809215361630610787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744351893407,"filename":"image_11042025_05_08_35_9417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351501877","file1":"1351501864","file0":"1351501856","file4":"1351501937","file5":"1351501941","file3":"1351501919"},"map_files_photo_id_array":[{"photo_id":"1351501941","filename":"file5"},{"photo_id":"1351501877","filename":"file2"},{"photo_id":"1351501937","filename":"file4"},{"photo_id":"1351501864","filename":"file1"},{"photo_id":"1351501856","filename":"file0"},{"photo_id":"1351501919","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351501864":["hashtag1","hashtag2"]},{"1351501941":["hashtag1","hashtag2"]},{"1351501877":["hashtag1","hashtag2"]},{"1351501856":["hashtag1","hashtag2"]},{"1351501937":["hashtag1","hashtag2"]},{"1351501919":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351501864, 1351501941, 1351501877, 1351501856, 1351501937, 1351501919)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.558356523513794 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 08:11:33.136456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/05/09/image_11042025_05_09_35_10389.jpg', '/home/pi/Desktop/images/11042025/05/09/image_11042025_05_09_45_9432.jpg', '/home/pi/Desktop/images/11042025/05/09/image_11042025_05_09_55_10469.jpg', '/home/pi/Desktop/images/11042025/05/09/image_11042025_05_10_06_10349.jpg', '/home/pi/Desktop/images/11042025/05/10/image_11042025_05_10_15_9367.jpg', '/home/pi/Desktop/images/11042025/05/10/image_11042025_05_10_36_10355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/05/09/image_11042025_05_09_35_10389.jpg
/home/pi/Desktop/images/11042025/05/09/image_11042025_05_09_45_9432.jpg
/home/pi/Desktop/images/11042025/05/09/image_11042025_05_09_55_10469.jpg
/home/pi/Desktop/images/11042025/05/09/image_11042025_05_10_06_10349.jpg
/home/pi/Desktop/images/11042025/05/10/image_11042025_05_10_15_9367.jpg
/home/pi/Desktop/images/11042025/05/10/image_11042025_05_10_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":["1351502242","1351502193","1351502162","1351502255","1351502228","1351502210"],"photo_ids_order":["1351502162","1351502193","1351502210","1351502228","1351502242","1351502255"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/31e33038027bab1df23ab4e80ed0c90a.jpg","text":"TemporaryFile(/tmp/multipartBody1251198590776671905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744351953603,"filename":"image_11042025_05_10_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/11/6202fc5a846b65fbf451158b7ec138bc.jpg","text":"TemporaryFile(/tmp/multipartBody6295783729299780166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744351953603,"filename":"image_11042025_05_09_45_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c418f5925a7db94b52fb86942d2d5cab.jpg","text":"TemporaryFile(/tmp/multipartBody5710778077620204064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744351953603,"filename":"image_11042025_05_09_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/11/d5bf912eb5f5cb4ad7cfa1645dcc0111.jpg","text":"TemporaryFile(/tmp/multipartBody6871935703690789519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744351953603,"filename":"image_11042025_05_10_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/11/075156dfcc0a69131beb140f3a77e19f.jpg","text":"TemporaryFile(/tmp/multipartBody6159972364039528813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744351953603,"filename":"image_11042025_05_10_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/11/bb084992107511a00f06a12c279d26de.jpg","text":"TemporaryFile(/tmp/multipartBody5267069962597444027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744351953603,"filename":"image_11042025_05_09_55_10469.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351502210","file1":"1351502193","file0":"1351502162","file4":"1351502242","file5":"1351502255","file3":"1351502228"},"map_files_photo_id_array":[{"photo_id":"1351502255","filename":"file5"},{"photo_id":"1351502210","filename":"file2"},{"photo_id":"1351502242","filename":"file4"},{"photo_id":"1351502193","filename":"file1"},{"photo_id":"1351502162","filename":"file0"},{"photo_id":"1351502228","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351502242":["hashtag1","hashtag2"]},{"1351502193":["hashtag1","hashtag2"]},{"1351502162":["hashtag1","hashtag2"]},{"1351502255":["hashtag1","hashtag2"]},{"1351502228":["hashtag1","hashtag2"]},{"1351502210":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351502242, 1351502193, 1351502162, 1351502255, 1351502228, 1351502210)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.954949140548706 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 08:12:32.392573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/05/10/image_11042025_05_11_05_9362.jpg', '/home/pi/Desktop/images/11042025/05/11/image_11042025_05_11_15_10355.jpg', '/home/pi/Desktop/images/11042025/05/11/image_11042025_05_11_26_10378.jpg', '/home/pi/Desktop/images/11042025/05/11/image_11042025_05_11_35_9469.jpg', '/home/pi/Desktop/images/11042025/05/11/image_11042025_05_11_45_10376.jpg', '/home/pi/Desktop/images/11042025/05/11/image_11042025_05_11_55_9422.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/05/10/image_11042025_05_11_05_9362.jpg
/home/pi/Desktop/images/11042025/05/11/image_11042025_05_11_15_10355.jpg
/home/pi/Desktop/images/11042025/05/11/image_11042025_05_11_26_10378.jpg
/home/pi/Desktop/images/11042025/05/11/image_11042025_05_11_35_9469.jpg
/home/pi/Desktop/images/11042025/05/11/image_11042025_05_11_45_10376.jpg
/home/pi/Desktop/images/11042025/05/11/image_11042025_05_11_55_9422.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351502334","1351502343","1351502351","1351502354","1351502348","1351502327"],"photo_ids_order":["1351502327","1351502334","1351502343","1351502348","1351502351","1351502354"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e388a6f5ea5dbdbac99ef00860dc47f0.jpg","text":"TemporaryFile(/tmp/multipartBody5227531183779681553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352012868,"filename":"image_11042025_05_11_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/11/db0e4a50c4d9faefb0e4306525fcd3aa.jpg","text":"TemporaryFile(/tmp/multipartBody3114972368039440283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352012868,"filename":"image_11042025_05_11_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/11/9b4473dde9f55868f42e5f7d28fb01e5.jpg","text":"TemporaryFile(/tmp/multipartBody8941362009064162541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352012868,"filename":"image_11042025_05_11_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/11/3b6ba705481859af4718bfabedd0e1de.jpg","text":"TemporaryFile(/tmp/multipartBody7151526564120299811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352012868,"filename":"image_11042025_05_11_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/11/76210b369715760bdddc6ca57f84c3d5.jpg","text":"TemporaryFile(/tmp/multipartBody5711766572456992115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352012868,"filename":"image_11042025_05_11_35_9469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6a4b9feb658b86381257b7bfe37d6e00.jpg","text":"TemporaryFile(/tmp/multipartBody7698166991862810792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352012868,"filename":"image_11042025_05_11_05_9362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351502343","file1":"1351502334","file0":"1351502327","file4":"1351502351","file5":"1351502354","file3":"1351502348"},"map_files_photo_id_array":[{"photo_id":"1351502354","filename":"file5"},{"photo_id":"1351502343","filename":"file2"},{"photo_id":"1351502351","filename":"file4"},{"photo_id":"1351502334","filename":"file1"},{"photo_id":"1351502327","filename":"file0"},{"photo_id":"1351502348","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351502334":["hashtag1","hashtag2"]},{"1351502343":["hashtag1","hashtag2"]},{"1351502351":["hashtag1","hashtag2"]},{"1351502354":["hashtag1","hashtag2"]},{"1351502348":["hashtag1","hashtag2"]},{"1351502327":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351502334, 1351502343, 1351502351, 1351502354, 1351502348, 1351502327)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.59389305114746 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 08:13:32.631470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/05/11/image_11042025_05_12_05_10403.jpg', '/home/pi/Desktop/images/11042025/05/12/image_11042025_05_12_16_10352.jpg', '/home/pi/Desktop/images/11042025/05/12/image_11042025_05_12_25_9431.jpg', '/home/pi/Desktop/images/11042025/05/12/image_11042025_05_12_35_10353.jpg', '/home/pi/Desktop/images/11042025/05/12/image_11042025_05_12_45_9425.jpg', '/home/pi/Desktop/images/11042025/05/12/image_11042025_05_12_55_10441.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/05/11/image_11042025_05_12_05_10403.jpg
/home/pi/Desktop/images/11042025/05/12/image_11042025_05_12_16_10352.jpg
/home/pi/Desktop/images/11042025/05/12/image_11042025_05_12_25_9431.jpg
/home/pi/Desktop/images/11042025/05/12/image_11042025_05_12_35_10353.jpg
/home/pi/Desktop/images/11042025/05/12/image_11042025_05_12_45_9425.jpg
/home/pi/Desktop/images/11042025/05/12/image_11042025_05_12_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":["1351502790","1351502768","1351502825","1351502810","1351502726","1351502797"],"photo_ids_order":["1351502726","1351502768","1351502790","1351502797","1351502810","1351502825"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f5763e6df80e6943bcad1fd7e7371f31.jpg","text":"TemporaryFile(/tmp/multipartBody815569495131596970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352073108,"filename":"image_11042025_05_12_25_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/491a1e3ab85c95481544e5d53d8d3b12.jpg","text":"TemporaryFile(/tmp/multipartBody6475502161949688174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352073108,"filename":"image_11042025_05_12_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/11/2ccad994f16714d1897894db9adfd7c5.jpg","text":"TemporaryFile(/tmp/multipartBody7120842013759193033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352073108,"filename":"image_11042025_05_12_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/11/e9ee1240f317ebcd765d6287796c40cd.jpg","text":"TemporaryFile(/tmp/multipartBody3152955780957707384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352073108,"filename":"image_11042025_05_12_45_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/063fd64c99a60e7b888a9c3b0983bb8c.jpg","text":"TemporaryFile(/tmp/multipartBody5687378280286688400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352073108,"filename":"image_11042025_05_12_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/11/15a26b49dcd31254945aed7a216d0cc7.jpg","text":"TemporaryFile(/tmp/multipartBody1146357982006251565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352073108,"filename":"image_11042025_05_12_35_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351502790","file1":"1351502768","file0":"1351502726","file4":"1351502810","file5":"1351502825","file3":"1351502797"},"map_files_photo_id_array":[{"photo_id":"1351502825","filename":"file5"},{"photo_id":"1351502790","filename":"file2"},{"photo_id":"1351502810","filename":"file4"},{"photo_id":"1351502768","filename":"file1"},{"photo_id":"1351502726","filename":"file0"},{"photo_id":"1351502797","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351502790":["hashtag1","hashtag2"]},{"1351502768":["hashtag1","hashtag2"]},{"1351502825":["hashtag1","hashtag2"]},{"1351502810":["hashtag1","hashtag2"]},{"1351502726":["hashtag1","hashtag2"]},{"1351502797":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351502790, 1351502768, 1351502825, 1351502810, 1351502726, 1351502797)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.90093803405762 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 08:14:32.952496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/05/12/image_11042025_05_13_06_10353.jpg', '/home/pi/Desktop/images/11042025/05/13/image_11042025_05_13_45_9363.jpg', '/home/pi/Desktop/images/11042025/05/14/image_11042025_05_14_15_10349.jpg', '/home/pi/Desktop/images/11042025/05/14/image_11042025_05_14_35_9470.jpg', '/home/pi/Desktop/images/11042025/05/14/image_11042025_05_15_05_10461.jpg', '/home/pi/Desktop/images/11042025/05/15/image_11042025_05_15_15_9452.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/05/12/image_11042025_05_13_06_10353.jpg
/home/pi/Desktop/images/11042025/05/13/image_11042025_05_13_45_9363.jpg
/home/pi/Desktop/images/11042025/05/14/image_11042025_05_14_15_10349.jpg
/home/pi/Desktop/images/11042025/05/14/image_11042025_05_14_35_9470.jpg
/home/pi/Desktop/images/11042025/05/14/image_11042025_05_15_05_10461.jpg
/home/pi/Desktop/images/11042025/05/15/image_11042025_05_15_15_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":["1351503162","1351503156","1351503146","1351503166","1351503151","1351503130"],"photo_ids_order":["1351503130","1351503146","1351503151","1351503156","1351503162","1351503166"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c0a2e410cd3917b8d10cc45805275107.jpg","text":"TemporaryFile(/tmp/multipartBody3883578383595999258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352133543,"filename":"image_11042025_05_15_05_10461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f7f44eae47c12c43648c26a3d6f70fad.jpg","text":"TemporaryFile(/tmp/multipartBody4922117451461171385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352133543,"filename":"image_11042025_05_14_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/11/5a489a033c1c779707de41cde8953816.jpg","text":"TemporaryFile(/tmp/multipartBody3671444820241708911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352133543,"filename":"image_11042025_05_13_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/11/f340c99c2fb6261ff9721c106b94b53d.jpg","text":"TemporaryFile(/tmp/multipartBody611649720211252928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352133543,"filename":"image_11042025_05_15_15_9452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b263044595f1afe686458e43d67b0723.jpg","text":"TemporaryFile(/tmp/multipartBody23631092164849064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352133543,"filename":"image_11042025_05_14_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/11/a8b43aebb27134babf89b74206a19b3e.jpg","text":"TemporaryFile(/tmp/multipartBody6094413244790446549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352133543,"filename":"image_11042025_05_13_06_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351503151","file1":"1351503146","file0":"1351503130","file4":"1351503162","file5":"1351503166","file3":"1351503156"},"map_files_photo_id_array":[{"photo_id":"1351503166","filename":"file5"},{"photo_id":"1351503151","filename":"file2"},{"photo_id":"1351503162","filename":"file4"},{"photo_id":"1351503146","filename":"file1"},{"photo_id":"1351503130","filename":"file0"},{"photo_id":"1351503156","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351503162":["hashtag1","hashtag2"]},{"1351503156":["hashtag1","hashtag2"]},{"1351503146":["hashtag1","hashtag2"]},{"1351503166":["hashtag1","hashtag2"]},{"1351503151":["hashtag1","hashtag2"]},{"1351503130":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351503162, 1351503156, 1351503146, 1351503166, 1351503151, 1351503130)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.849537134170532 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 08:15:33.135565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/05/15/image_11042025_05_15_25_10477.jpg', '/home/pi/Desktop/images/11042025/05/15/image_11042025_05_15_35_9504.jpg', '/home/pi/Desktop/images/11042025/05/15/image_11042025_05_15_45_10390.jpg', '/home/pi/Desktop/images/11042025/05/15/image_11042025_05_15_55_10380.jpg', '/home/pi/Desktop/images/11042025/05/15/image_11042025_05_16_05_9467.jpg', '/home/pi/Desktop/images/11042025/05/16/image_11042025_05_16_15_10381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/05/15/image_11042025_05_15_25_10477.jpg
/home/pi/Desktop/images/11042025/05/15/image_11042025_05_15_35_9504.jpg
/home/pi/Desktop/images/11042025/05/15/image_11042025_05_15_45_10390.jpg
/home/pi/Desktop/images/11042025/05/15/image_11042025_05_15_55_10380.jpg
/home/pi/Desktop/images/11042025/05/15/image_11042025_05_16_05_9467.jpg
/home/pi/Desktop/images/11042025/05/16/image_11042025_05_16_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":["1351503240","1351503213","1351503230","1351503218","1351503244","1351503223"],"photo_ids_order":["1351503213","1351503218","1351503223","1351503230","1351503240","1351503244"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/83b5154fa71d4ee5288d0092a44cbf91.jpg","text":"TemporaryFile(/tmp/multipartBody7045676022197470275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352193616,"filename":"image_11042025_05_16_05_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/11/41d8329dbdc11a19db7519f408c381db.jpg","text":"TemporaryFile(/tmp/multipartBody964035702157467560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352193616,"filename":"image_11042025_05_15_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/11/20085f953a93cce5421940eb7e00fd68.jpg","text":"TemporaryFile(/tmp/multipartBody7905988176085602650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352193616,"filename":"image_11042025_05_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/11/06475f9fbc332a2944fa62a6e1a10ca9.jpg","text":"TemporaryFile(/tmp/multipartBody2813777559713336597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352193616,"filename":"image_11042025_05_15_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/11/b60ba2e52d47d17a4d4e8311a58c5da1.jpg","text":"TemporaryFile(/tmp/multipartBody4019577814259510253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352193616,"filename":"image_11042025_05_16_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/11/6640a990a84086a2db272260cc0fac85.jpg","text":"TemporaryFile(/tmp/multipartBody1901386632373428320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352193616,"filename":"image_11042025_05_15_45_10390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351503223","file1":"1351503218","file0":"1351503213","file4":"1351503240","file5":"1351503244","file3":"1351503230"},"map_files_photo_id_array":[{"photo_id":"1351503244","filename":"file5"},{"photo_id":"1351503223","filename":"file2"},{"photo_id":"1351503240","filename":"file4"},{"photo_id":"1351503218","filename":"file1"},{"photo_id":"1351503213","filename":"file0"},{"photo_id":"1351503230","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351503240":["hashtag1","hashtag2"]},{"1351503213":["hashtag1","hashtag2"]},{"1351503230":["hashtag1","hashtag2"]},{"1351503218":["hashtag1","hashtag2"]},{"1351503244":["hashtag1","hashtag2"]},{"1351503223":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351503240, 1351503213, 1351503230, 1351503218, 1351503244, 1351503223)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.61605978012085 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 08:16:32.343840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/05/16/image_11042025_05_16_25_9476.jpg', '/home/pi/Desktop/images/11042025/05/16/image_11042025_05_16_35_10368.jpg', '/home/pi/Desktop/images/11042025/05/16/image_11042025_05_17_05_10368.jpg', '/home/pi/Desktop/images/11042025/05/17/image_11042025_05_17_16_10380.jpg', '/home/pi/Desktop/images/11042025/05/17/image_11042025_05_17_25_9374.jpg', '/home/pi/Desktop/images/11042025/05/17/image_11042025_05_17_35_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/05/16/image_11042025_05_16_25_9476.jpg
/home/pi/Desktop/images/11042025/05/16/image_11042025_05_16_35_10368.jpg
/home/pi/Desktop/images/11042025/05/16/image_11042025_05_17_05_10368.jpg
/home/pi/Desktop/images/11042025/05/17/image_11042025_05_17_16_10380.jpg
/home/pi/Desktop/images/11042025/05/17/image_11042025_05_17_25_9374.jpg
/home/pi/Desktop/images/11042025/05/17/image_11042025_05_17_35_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":["1351503375","1351503312","1351503318","1351503323","1351503305","1351503364"],"photo_ids_order":["1351503305","1351503312","1351503318","1351503323","1351503364","1351503375"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6e6e1b2d37ec55112f8b07cd06925c55.jpg","text":"TemporaryFile(/tmp/multipartBody2891460904488147953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352252813,"filename":"image_11042025_05_17_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/11/006352a83cf340f40356beda485c0210.jpg","text":"TemporaryFile(/tmp/multipartBody7422304776772485921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352252813,"filename":"image_11042025_05_16_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/11/6b23097b2ee8a9d8f1bab2984ebf7d44.jpg","text":"TemporaryFile(/tmp/multipartBody6191444021252218281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352252813,"filename":"image_11042025_05_17_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/11/5ed45b9f385855d0ab2f3fc7c2989b2d.jpg","text":"TemporaryFile(/tmp/multipartBody1671890190431176753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352252813,"filename":"image_11042025_05_17_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/11/1f69e191866a579174b638f757cdaa70.jpg","text":"TemporaryFile(/tmp/multipartBody6423359094634900285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352252813,"filename":"image_11042025_05_16_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/11/c01b63d59e5a7c20f66d3ba536d5ff01.jpg","text":"TemporaryFile(/tmp/multipartBody8492694991277581437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352252813,"filename":"image_11042025_05_17_25_9374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351503318","file1":"1351503312","file0":"1351503305","file4":"1351503364","file5":"1351503375","file3":"1351503323"},"map_files_photo_id_array":[{"photo_id":"1351503375","filename":"file5"},{"photo_id":"1351503318","filename":"file2"},{"photo_id":"1351503364","filename":"file4"},{"photo_id":"1351503312","filename":"file1"},{"photo_id":"1351503305","filename":"file0"},{"photo_id":"1351503323","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351503375":["hashtag1","hashtag2"]},{"1351503312":["hashtag1","hashtag2"]},{"1351503318":["hashtag1","hashtag2"]},{"1351503323":["hashtag1","hashtag2"]},{"1351503305":["hashtag1","hashtag2"]},{"1351503364":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351503375, 1351503312, 1351503318, 1351503323, 1351503305, 1351503364)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.75858998298645 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 08:17:32.523367
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/05/17/image_11042025_05_17_45_9487.jpg', '/home/pi/Desktop/images/11042025/05/17/image_11042025_05_17_55_10429.jpg', '/home/pi/Desktop/images/11042025/05/17/image_11042025_05_18_05_9400.jpg', '/home/pi/Desktop/images/11042025/05/18/image_11042025_05_18_15_10352.jpg', '/home/pi/Desktop/images/11042025/05/18/image_11042025_05_18_25_10365.jpg', '/home/pi/Desktop/images/11042025/05/18/image_11042025_05_18_35_9373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/05/17/image_11042025_05_17_45_9487.jpg
/home/pi/Desktop/images/11042025/05/17/image_11042025_05_17_55_10429.jpg
/home/pi/Desktop/images/11042025/05/17/image_11042025_05_18_05_9400.jpg
/home/pi/Desktop/images/11042025/05/18/image_11042025_05_18_15_10352.jpg
/home/pi/Desktop/images/11042025/05/18/image_11042025_05_18_25_10365.jpg
/home/pi/Desktop/images/11042025/05/18/image_11042025_05_18_35_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":["1351503621","1351503683","1351503659","1351503626","1351503617","1351503637"],"photo_ids_order":["1351503617","1351503621","1351503626","1351503637","1351503659","1351503683"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6465eeb059e091b016562696c6bf1e15.jpg","text":"TemporaryFile(/tmp/multipartBody8426861928754149894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352312998,"filename":"image_11042025_05_17_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/11/5d08f0dfd3bc35f8ba4022ef3330d8d2.jpg","text":"TemporaryFile(/tmp/multipartBody134750000754261589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352312998,"filename":"image_11042025_05_18_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/11/8e14fc5a9c34578268877253212e5ebf.jpg","text":"TemporaryFile(/tmp/multipartBody7596897398015104274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352312998,"filename":"image_11042025_05_18_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/11/a3237b5daa4646eb5fe9edcd7fe85d9a.jpg","text":"TemporaryFile(/tmp/multipartBody9206887270334455376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352312998,"filename":"image_11042025_05_18_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/11/1e57dcab0a4a5c201f0bb67fde3b9fbb.jpg","text":"TemporaryFile(/tmp/multipartBody429503385618763459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352312998,"filename":"image_11042025_05_17_45_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/11/b6e9072bffb9f8f8546f0803a6650dcb.jpg","text":"TemporaryFile(/tmp/multipartBody2731638695706421765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352312998,"filename":"image_11042025_05_18_15_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351503626","file1":"1351503621","file0":"1351503617","file4":"1351503659","file5":"1351503683","file3":"1351503637"},"map_files_photo_id_array":[{"photo_id":"1351503683","filename":"file5"},{"photo_id":"1351503626","filename":"file2"},{"photo_id":"1351503659","filename":"file4"},{"photo_id":"1351503621","filename":"file1"},{"photo_id":"1351503617","filename":"file0"},{"photo_id":"1351503637","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351503621":["hashtag1","hashtag2"]},{"1351503683":["hashtag1","hashtag2"]},{"1351503659":["hashtag1","hashtag2"]},{"1351503626":["hashtag1","hashtag2"]},{"1351503617":["hashtag1","hashtag2"]},{"1351503637":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351503621, 1351503683, 1351503659, 1351503626, 1351503617, 1351503637)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.80943202972412 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 08:18:32.739067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/05/18/image_11042025_05_18_45_10363.jpg', '/home/pi/Desktop/images/11042025/05/18/image_11042025_05_18_56_10376.jpg', '/home/pi/Desktop/images/11042025/05/18/image_11042025_05_19_05_9333.jpg', '/home/pi/Desktop/images/11042025/05/19/image_11042025_05_19_15_10341.jpg', '/home/pi/Desktop/images/11042025/05/19/image_11042025_05_19_26_10370.jpg', '/home/pi/Desktop/images/11042025/05/19/image_11042025_05_19_35_9355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/05/18/image_11042025_05_18_45_10363.jpg
/home/pi/Desktop/images/11042025/05/18/image_11042025_05_18_56_10376.jpg
/home/pi/Desktop/images/11042025/05/18/image_11042025_05_19_05_9333.jpg
/home/pi/Desktop/images/11042025/05/19/image_11042025_05_19_15_10341.jpg
/home/pi/Desktop/images/11042025/05/19/image_11042025_05_19_26_10370.jpg
/home/pi/Desktop/images/11042025/05/19/image_11042025_05_19_35_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":["1351503929","1351503886","1351503841","1351503850","1351503910","1351503832"],"photo_ids_order":["1351503832","1351503841","1351503850","1351503886","1351503910","1351503929"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c91c8a46e2fdb8ad4f657cbef8c13a65.jpg","text":"TemporaryFile(/tmp/multipartBody2893262262399706807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352373203,"filename":"image_11042025_05_19_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/11/e35914cc8b626dfc6420ca425a759091.jpg","text":"TemporaryFile(/tmp/multipartBody8971541431494448728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352373203,"filename":"image_11042025_05_19_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/11/6db2e4bef6f6947ffcf9c28de716a090.jpg","text":"TemporaryFile(/tmp/multipartBody1778165599000915587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352373203,"filename":"image_11042025_05_18_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/11/633bffa4d65cbad46f8a949c169093ac.jpg","text":"TemporaryFile(/tmp/multipartBody856350669771147417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352373203,"filename":"image_11042025_05_19_05_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/34f2247e5d47bb8a0a88ea6aa8352afd.jpg","text":"TemporaryFile(/tmp/multipartBody4131022260790705443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352373203,"filename":"image_11042025_05_19_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/11/6ec983fd703e893fdc0be31cf521053d.jpg","text":"TemporaryFile(/tmp/multipartBody5151204330357693245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352373203,"filename":"image_11042025_05_18_45_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351503850","file1":"1351503841","file0":"1351503832","file4":"1351503910","file5":"1351503929","file3":"1351503886"},"map_files_photo_id_array":[{"photo_id":"1351503929","filename":"file5"},{"photo_id":"1351503850","filename":"file2"},{"photo_id":"1351503910","filename":"file4"},{"photo_id":"1351503841","filename":"file1"},{"photo_id":"1351503832","filename":"file0"},{"photo_id":"1351503886","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351503929":["hashtag1","hashtag2"]},{"1351503886":["hashtag1","hashtag2"]},{"1351503841":["hashtag1","hashtag2"]},{"1351503850":["hashtag1","hashtag2"]},{"1351503910":["hashtag1","hashtag2"]},{"1351503832":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351503929, 1351503886, 1351503841, 1351503850, 1351503910, 1351503832)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.505587339401245 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 08:19:33.163316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/05/19/image_11042025_05_19_45_10356.jpg', '/home/pi/Desktop/images/11042025/05/19/image_11042025_05_19_55_9456.jpg', '/home/pi/Desktop/images/11042025/05/19/image_11042025_05_20_05_10372.jpg', '/home/pi/Desktop/images/11042025/05/20/image_11042025_05_20_16_10360.jpg', '/home/pi/Desktop/images/11042025/05/20/image_11042025_05_20_25_9368.jpg', '/home/pi/Desktop/images/11042025/05/20/image_11042025_05_20_35_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/05/19/image_11042025_05_19_45_10356.jpg
/home/pi/Desktop/images/11042025/05/19/image_11042025_05_19_55_9456.jpg
/home/pi/Desktop/images/11042025/05/19/image_11042025_05_20_05_10372.jpg
/home/pi/Desktop/images/11042025/05/20/image_11042025_05_20_16_10360.jpg
/home/pi/Desktop/images/11042025/05/20/image_11042025_05_20_25_9368.jpg
/home/pi/Desktop/images/11042025/05/20/image_11042025_05_20_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":["1351504113","1351504055","1351504064","1351504043","1351504106","1351504089"],"photo_ids_order":["1351504043","1351504055","1351504064","1351504089","1351504106","1351504113"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9d3dff6c54c213cbd22b19adf3a3d22f.jpg","text":"TemporaryFile(/tmp/multipartBody1574747617217053275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352433636,"filename":"image_11042025_05_20_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/11/6ed2bc9251e9b6eb34077d8b19beadca.jpg","text":"TemporaryFile(/tmp/multipartBody2189776587626844920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352433636,"filename":"image_11042025_05_19_55_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3e8d0f79d27d84da8f5c6bdd7b739f70.jpg","text":"TemporaryFile(/tmp/multipartBody1088870132872985752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352433636,"filename":"image_11042025_05_20_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/11/c6fea85f33f313ce30a6258516dcb014.jpg","text":"TemporaryFile(/tmp/multipartBody2599903520381094629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352433636,"filename":"image_11042025_05_19_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/11/630a88aab63bbb517f56b6bde08e0363.jpg","text":"TemporaryFile(/tmp/multipartBody4943053593480504143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352433636,"filename":"image_11042025_05_20_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/11/baea2ec0fcf428c92dba48ab5ce6e34a.jpg","text":"TemporaryFile(/tmp/multipartBody3427483591842574168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352433636,"filename":"image_11042025_05_20_16_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351504064","file1":"1351504055","file0":"1351504043","file4":"1351504106","file5":"1351504113","file3":"1351504089"},"map_files_photo_id_array":[{"photo_id":"1351504113","filename":"file5"},{"photo_id":"1351504064","filename":"file2"},{"photo_id":"1351504106","filename":"file4"},{"photo_id":"1351504055","filename":"file1"},{"photo_id":"1351504043","filename":"file0"},{"photo_id":"1351504089","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351504113":["hashtag1","hashtag2"]},{"1351504055":["hashtag1","hashtag2"]},{"1351504064":["hashtag1","hashtag2"]},{"1351504043":["hashtag1","hashtag2"]},{"1351504106":["hashtag1","hashtag2"]},{"1351504089":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351504113, 1351504055, 1351504064, 1351504043, 1351504106, 1351504089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.394068241119385 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 08:20:32.283835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/05/20/image_11042025_05_20_55_9415.jpg', '/home/pi/Desktop/images/11042025/05/20/image_11042025_05_21_05_10348.jpg', '/home/pi/Desktop/images/11042025/05/21/image_11042025_05_21_15_9402.jpg', '/home/pi/Desktop/images/11042025/05/21/image_11042025_05_21_25_10471.jpg', '/home/pi/Desktop/images/11042025/05/21/image_11042025_05_21_36_10374.jpg', '/home/pi/Desktop/images/11042025/05/21/image_11042025_05_21_45_9434.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/05/20/image_11042025_05_20_55_9415.jpg
/home/pi/Desktop/images/11042025/05/20/image_11042025_05_21_05_10348.jpg
/home/pi/Desktop/images/11042025/05/21/image_11042025_05_21_15_9402.jpg
/home/pi/Desktop/images/11042025/05/21/image_11042025_05_21_25_10471.jpg
/home/pi/Desktop/images/11042025/05/21/image_11042025_05_21_36_10374.jpg
/home/pi/Desktop/images/11042025/05/21/image_11042025_05_21_45_9434.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351504242","1351504256","1351504223","1351504162","1351504266","1351504182"],"photo_ids_order":["1351504162","1351504182","1351504223","1351504242","1351504256","1351504266"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/40438dddc29899a126f54524493b1303.jpg","text":"TemporaryFile(/tmp/multipartBody761942114922695220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352492747,"filename":"image_11042025_05_21_25_10471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3c7874a2643c25c75637f50779dfec6b.jpg","text":"TemporaryFile(/tmp/multipartBody2591124673393819496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352492747,"filename":"image_11042025_05_21_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/11/2e30a6e0da6604f6dcf53c1080b4edff.jpg","text":"TemporaryFile(/tmp/multipartBody6746549575705993086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352492747,"filename":"image_11042025_05_21_15_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/fa1e7b2fbe72ab264010ec080389d131.jpg","text":"TemporaryFile(/tmp/multipartBody8778445052975625786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352492747,"filename":"image_11042025_05_20_55_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/058cc750b73d7fb1ea0035daab0452c5.jpg","text":"TemporaryFile(/tmp/multipartBody8932067338394172179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352492747,"filename":"image_11042025_05_21_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/11/0ccf5ff2c8965c113c9f93cf7e3d150a.jpg","text":"TemporaryFile(/tmp/multipartBody4536101236075931643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352492747,"filename":"image_11042025_05_21_05_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351504223","file1":"1351504182","file0":"1351504162","file4":"1351504256","file5":"1351504266","file3":"1351504242"},"map_files_photo_id_array":[{"photo_id":"1351504266","filename":"file5"},{"photo_id":"1351504223","filename":"file2"},{"photo_id":"1351504256","filename":"file4"},{"photo_id":"1351504182","filename":"file1"},{"photo_id":"1351504162","filename":"file0"},{"photo_id":"1351504242","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351504242":["hashtag1","hashtag2"]},{"1351504256":["hashtag1","hashtag2"]},{"1351504223":["hashtag1","hashtag2"]},{"1351504162":["hashtag1","hashtag2"]},{"1351504266":["hashtag1","hashtag2"]},{"1351504182":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351504242, 1351504256, 1351504223, 1351504162, 1351504266, 1351504182)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.664897441864014 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 08:21:32.477256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/05/21/image_11042025_05_21_55_10399.jpg', '/home/pi/Desktop/images/11042025/05/21/image_11042025_05_22_05_9444.jpg', '/home/pi/Desktop/images/11042025/05/22/image_11042025_05_22_55_9465.jpg', '/home/pi/Desktop/images/11042025/05/23/image_11042025_05_23_15_9392.jpg', '/home/pi/Desktop/images/11042025/05/23/image_11042025_05_23_25_10349.jpg', '/home/pi/Desktop/images/11042025/05/23/image_11042025_05_23_35_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/05/21/image_11042025_05_21_55_10399.jpg
/home/pi/Desktop/images/11042025/05/21/image_11042025_05_22_05_9444.jpg
/home/pi/Desktop/images/11042025/05/22/image_11042025_05_22_55_9465.jpg
/home/pi/Desktop/images/11042025/05/23/image_11042025_05_23_15_9392.jpg
/home/pi/Desktop/images/11042025/05/23/image_11042025_05_23_25_10349.jpg
/home/pi/Desktop/images/11042025/05/23/image_11042025_05_23_35_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351504302","1351504388","1351504369","1351504384","1351504342","1351504281"],"photo_ids_order":["1351504281","1351504302","1351504342","1351504369","1351504384","1351504388"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c80a84eedfce21211df31f523f32c49f.jpg","text":"TemporaryFile(/tmp/multipartBody7238327905266248877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352552944,"filename":"image_11042025_05_22_05_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/531c7943043b40e131e95d8880ebbe3b.jpg","text":"TemporaryFile(/tmp/multipartBody20403674564979352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352552944,"filename":"image_11042025_05_23_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/11/524234446136d3b6d02681dd226921b1.jpg","text":"TemporaryFile(/tmp/multipartBody3658586224904104577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352552944,"filename":"image_11042025_05_23_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/11/1609da4e284a85e2488292e42ce87433.jpg","text":"TemporaryFile(/tmp/multipartBody821050452733938127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352552944,"filename":"image_11042025_05_23_25_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/94c940774c5485f2bf545d89994acce1.jpg","text":"TemporaryFile(/tmp/multipartBody1122088476349478758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352552944,"filename":"image_11042025_05_22_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/11/e98c70fa832cf76995b9c032a4490ccf.jpg","text":"TemporaryFile(/tmp/multipartBody3658519559160293950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352552944,"filename":"image_11042025_05_21_55_10399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351504342","file1":"1351504302","file0":"1351504281","file4":"1351504384","file5":"1351504388","file3":"1351504369"},"map_files_photo_id_array":[{"photo_id":"1351504388","filename":"file5"},{"photo_id":"1351504342","filename":"file2"},{"photo_id":"1351504384","filename":"file4"},{"photo_id":"1351504302","filename":"file1"},{"photo_id":"1351504281","filename":"file0"},{"photo_id":"1351504369","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351504302":["hashtag1","hashtag2"]},{"1351504388":["hashtag1","hashtag2"]},{"1351504369":["hashtag1","hashtag2"]},{"1351504384":["hashtag1","hashtag2"]},{"1351504342":["hashtag1","hashtag2"]},{"1351504281":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351504302, 1351504388, 1351504369, 1351504384, 1351504342, 1351504281)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.75056791305542 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 08:22:32.693136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/05/23/image_11042025_05_23_45_9436.jpg', '/home/pi/Desktop/images/11042025/05/23/image_11042025_05_23_55_10373.jpg', '/home/pi/Desktop/images/11042025/05/24/image_11042025_05_24_15_10354.jpg', '/home/pi/Desktop/images/11042025/05/24/image_11042025_05_24_25_10363.jpg', '/home/pi/Desktop/images/11042025/05/24/image_11042025_05_24_35_9368.jpg', '/home/pi/Desktop/images/11042025/05/25/image_11042025_05_25_15_10344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/05/23/image_11042025_05_23_45_9436.jpg
/home/pi/Desktop/images/11042025/05/23/image_11042025_05_23_55_10373.jpg
/home/pi/Desktop/images/11042025/05/24/image_11042025_05_24_15_10354.jpg
/home/pi/Desktop/images/11042025/05/24/image_11042025_05_24_25_10363.jpg
/home/pi/Desktop/images/11042025/05/24/image_11042025_05_24_35_9368.jpg
/home/pi/Desktop/images/11042025/05/25/image_11042025_05_25_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":["1351504461","1351504455","1351504443","1351504418","1351504450","1351504429"],"photo_ids_order":["1351504418","1351504429","1351504443","1351504450","1351504455","1351504461"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/21e4a0445ad8a448cee6a6a25d161c26.jpg","text":"TemporaryFile(/tmp/multipartBody6814991560498813931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352613159,"filename":"image_11042025_05_25_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/11/ba2e0a1e1fc8d993c4410380e3378180.jpg","text":"TemporaryFile(/tmp/multipartBody7252119933726569588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352613159,"filename":"image_11042025_05_24_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/11/4af309f66123249101ca72287a85abf2.jpg","text":"TemporaryFile(/tmp/multipartBody6831732541327921556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352613159,"filename":"image_11042025_05_24_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/11/f84fa97933bfd8ee269c4c5718ac77ec.jpg","text":"TemporaryFile(/tmp/multipartBody84522809859271758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352613159,"filename":"image_11042025_05_23_45_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6d306da41aceb9911fe2bd599cb326e7.jpg","text":"TemporaryFile(/tmp/multipartBody5149312247663601219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352613159,"filename":"image_11042025_05_24_25_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3ab93d4ce5fd5b2429fa44d7535d8839.jpg","text":"TemporaryFile(/tmp/multipartBody940124964218367849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352613159,"filename":"image_11042025_05_23_55_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351504443","file1":"1351504429","file0":"1351504418","file4":"1351504455","file5":"1351504461","file3":"1351504450"},"map_files_photo_id_array":[{"photo_id":"1351504461","filename":"file5"},{"photo_id":"1351504443","filename":"file2"},{"photo_id":"1351504455","filename":"file4"},{"photo_id":"1351504429","filename":"file1"},{"photo_id":"1351504418","filename":"file0"},{"photo_id":"1351504450","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351504461":["hashtag1","hashtag2"]},{"1351504455":["hashtag1","hashtag2"]},{"1351504443":["hashtag1","hashtag2"]},{"1351504418":["hashtag1","hashtag2"]},{"1351504450":["hashtag1","hashtag2"]},{"1351504429":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351504461, 1351504455, 1351504443, 1351504418, 1351504450, 1351504429)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.40260887145996 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 08:23:33.054012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/05/25/image_11042025_05_26_05_10389.jpg', '/home/pi/Desktop/images/11042025/05/26/image_11042025_05_26_15_9403.jpg', '/home/pi/Desktop/images/11042025/05/26/image_11042025_05_26_25_10375.jpg', '/home/pi/Desktop/images/11042025/05/26/image_11042025_05_26_36_10474.jpg', '/home/pi/Desktop/images/11042025/05/26/image_11042025_05_26_45_9345.jpg', '/home/pi/Desktop/images/11042025/05/26/image_11042025_05_26_55_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/05/25/image_11042025_05_26_05_10389.jpg
/home/pi/Desktop/images/11042025/05/26/image_11042025_05_26_15_9403.jpg
/home/pi/Desktop/images/11042025/05/26/image_11042025_05_26_25_10375.jpg
/home/pi/Desktop/images/11042025/05/26/image_11042025_05_26_36_10474.jpg
/home/pi/Desktop/images/11042025/05/26/image_11042025_05_26_45_9345.jpg
/home/pi/Desktop/images/11042025/05/26/image_11042025_05_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":["1351504527","1351504496","1351504490","1351504544","1351504514","1351504540"],"photo_ids_order":["1351504490","1351504496","1351504514","1351504527","1351504540","1351504544"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8c75616348735b5ce47b72033779564b.jpg","text":"TemporaryFile(/tmp/multipartBody3876861069940250351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352673516,"filename":"image_11042025_05_26_36_10474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f6a9261fdaa05d7ff4c2725f66f7555a.jpg","text":"TemporaryFile(/tmp/multipartBody1331939110087546694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352673516,"filename":"image_11042025_05_26_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/11/1b6dac42d806c8b744e015eb031c4b48.jpg","text":"TemporaryFile(/tmp/multipartBody4737584823591891924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352673516,"filename":"image_11042025_05_26_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/11/4342a165511fa2bff25ab1713c942483.jpg","text":"TemporaryFile(/tmp/multipartBody7432740368933891534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352673516,"filename":"image_11042025_05_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/11/667273d81095b572744f686203797447.jpg","text":"TemporaryFile(/tmp/multipartBody6934212340833040449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352673516,"filename":"image_11042025_05_26_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/11/8c6ff5a09357a43093c5eca761a9cc72.jpg","text":"TemporaryFile(/tmp/multipartBody5865864060422678573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352673516,"filename":"image_11042025_05_26_45_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351504514","file1":"1351504496","file0":"1351504490","file4":"1351504540","file5":"1351504544","file3":"1351504527"},"map_files_photo_id_array":[{"photo_id":"1351504544","filename":"file5"},{"photo_id":"1351504514","filename":"file2"},{"photo_id":"1351504540","filename":"file4"},{"photo_id":"1351504496","filename":"file1"},{"photo_id":"1351504490","filename":"file0"},{"photo_id":"1351504527","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351504527":["hashtag1","hashtag2"]},{"1351504496":["hashtag1","hashtag2"]},{"1351504490":["hashtag1","hashtag2"]},{"1351504544":["hashtag1","hashtag2"]},{"1351504514":["hashtag1","hashtag2"]},{"1351504540":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351504527, 1351504496, 1351504490, 1351504544, 1351504514, 1351504540)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.104544162750244 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 08:24:32.179604
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/05/26/image_11042025_05_27_05_9479.jpg', '/home/pi/Desktop/images/11042025/05/27/image_11042025_05_27_15_10358.jpg', '/home/pi/Desktop/images/11042025/05/27/image_11042025_05_27_35_9451.jpg', '/home/pi/Desktop/images/11042025/05/27/image_11042025_05_27_45_10357.jpg', '/home/pi/Desktop/images/11042025/05/27/image_11042025_05_27_55_9419.jpg', '/home/pi/Desktop/images/11042025/05/27/image_11042025_05_28_05_10393.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/05/26/image_11042025_05_27_05_9479.jpg
/home/pi/Desktop/images/11042025/05/27/image_11042025_05_27_15_10358.jpg
/home/pi/Desktop/images/11042025/05/27/image_11042025_05_27_35_9451.jpg
/home/pi/Desktop/images/11042025/05/27/image_11042025_05_27_45_10357.jpg
/home/pi/Desktop/images/11042025/05/27/image_11042025_05_27_55_9419.jpg
/home/pi/Desktop/images/11042025/05/27/image_11042025_05_28_05_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":["1351504716","1351504586","1351504742","1351504751","1351504689","1351504665"],"photo_ids_order":["1351504586","1351504665","1351504689","1351504716","1351504742","1351504751"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a64e5d3f53f61233f66a7de21560d565.jpg","text":"TemporaryFile(/tmp/multipartBody7956745356160905627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352732639,"filename":"image_11042025_05_27_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/11/d87c630f81c9cd01ba2c5bc92cd36c4f.jpg","text":"TemporaryFile(/tmp/multipartBody1701269371766501771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352732639,"filename":"image_11042025_05_27_05_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/11/853efc932212793b4d865d772996b508.jpg","text":"TemporaryFile(/tmp/multipartBody7881520901210160937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352732639,"filename":"image_11042025_05_27_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/11/ea2fe3344ba145f0f8b4e66169051f09.jpg","text":"TemporaryFile(/tmp/multipartBody8516338161680292026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352732639,"filename":"image_11042025_05_28_05_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/cf6c06624ea6334e9f2f8ec20c19cd46.jpg","text":"TemporaryFile(/tmp/multipartBody5335220332039553372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352732639,"filename":"image_11042025_05_27_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/11/e39f38479cec7d5974769a2907048ecf.jpg","text":"TemporaryFile(/tmp/multipartBody3332813845422955602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352732639,"filename":"image_11042025_05_27_15_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351504689","file1":"1351504665","file0":"1351504586","file4":"1351504742","file5":"1351504751","file3":"1351504716"},"map_files_photo_id_array":[{"photo_id":"1351504751","filename":"file5"},{"photo_id":"1351504689","filename":"file2"},{"photo_id":"1351504742","filename":"file4"},{"photo_id":"1351504665","filename":"file1"},{"photo_id":"1351504586","filename":"file0"},{"photo_id":"1351504716","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351504716":["hashtag1","hashtag2"]},{"1351504586":["hashtag1","hashtag2"]},{"1351504742":["hashtag1","hashtag2"]},{"1351504751":["hashtag1","hashtag2"]},{"1351504689":["hashtag1","hashtag2"]},{"1351504665":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351504716, 1351504586, 1351504742, 1351504751, 1351504689, 1351504665)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.98805117607117 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 08:25:32.537747
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/05/28/image_11042025_05_28_16_10372.jpg', '/home/pi/Desktop/images/11042025/05/28/image_11042025_05_28_25_9446.jpg', '/home/pi/Desktop/images/11042025/05/28/image_11042025_05_28_35_10407.jpg', '/home/pi/Desktop/images/11042025/05/28/image_11042025_05_28_45_9397.jpg', '/home/pi/Desktop/images/11042025/05/28/image_11042025_05_28_55_10364.jpg', '/home/pi/Desktop/images/11042025/05/28/image_11042025_05_29_05_10344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/05/28/image_11042025_05_28_16_10372.jpg
/home/pi/Desktop/images/11042025/05/28/image_11042025_05_28_25_9446.jpg
/home/pi/Desktop/images/11042025/05/28/image_11042025_05_28_35_10407.jpg
/home/pi/Desktop/images/11042025/05/28/image_11042025_05_28_45_9397.jpg
/home/pi/Desktop/images/11042025/05/28/image_11042025_05_28_55_10364.jpg
/home/pi/Desktop/images/11042025/05/28/image_11042025_05_29_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":["1351504917","1351504892","1351504937","1351504873","1351504927","1351504900"],"photo_ids_order":["1351504873","1351504892","1351504900","1351504917","1351504927","1351504937"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/bedcecaec31d691134b2ff0abe53cab4.jpg","text":"TemporaryFile(/tmp/multipartBody35804799690645272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352793036,"filename":"image_11042025_05_28_45_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/060787de4487f6b9212a030f378c1f18.jpg","text":"TemporaryFile(/tmp/multipartBody6713011864155759240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352793036,"filename":"image_11042025_05_28_25_9446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/cf527aff9392f80c0ce9849ef930e7cc.jpg","text":"TemporaryFile(/tmp/multipartBody957250835954895680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352793036,"filename":"image_11042025_05_29_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/11/28d14812e6b2441c43cd6683e7cc32ce.jpg","text":"TemporaryFile(/tmp/multipartBody4161381462592727174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352793036,"filename":"image_11042025_05_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/11/5004786aec800ec4356c1633d1123bfa.jpg","text":"TemporaryFile(/tmp/multipartBody6076986025757679837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352793036,"filename":"image_11042025_05_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/11/60cbf64ac9526df9e572fbd1e456c520.jpg","text":"TemporaryFile(/tmp/multipartBody9102813509804125337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352793036,"filename":"image_11042025_05_28_35_10407.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351504900","file1":"1351504892","file0":"1351504873","file4":"1351504927","file5":"1351504937","file3":"1351504917"},"map_files_photo_id_array":[{"photo_id":"1351504937","filename":"file5"},{"photo_id":"1351504900","filename":"file2"},{"photo_id":"1351504927","filename":"file4"},{"photo_id":"1351504892","filename":"file1"},{"photo_id":"1351504873","filename":"file0"},{"photo_id":"1351504917","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351504917":["hashtag1","hashtag2"]},{"1351504892":["hashtag1","hashtag2"]},{"1351504937":["hashtag1","hashtag2"]},{"1351504873":["hashtag1","hashtag2"]},{"1351504927":["hashtag1","hashtag2"]},{"1351504900":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351504917, 1351504892, 1351504937, 1351504873, 1351504927, 1351504900)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.926963806152344 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 08:26:32.594925
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/05/29/image_11042025_05_29_15_9357.jpg', '/home/pi/Desktop/images/11042025/05/29/image_11042025_05_29_25_10373.jpg', '/home/pi/Desktop/images/11042025/05/29/image_11042025_05_29_35_9492.jpg', '/home/pi/Desktop/images/11042025/05/29/image_11042025_05_29_45_10367.jpg', '/home/pi/Desktop/images/11042025/05/29/image_11042025_05_29_55_10386.jpg', '/home/pi/Desktop/images/11042025/05/29/image_11042025_05_30_05_9422.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/05/29/image_11042025_05_29_15_9357.jpg
/home/pi/Desktop/images/11042025/05/29/image_11042025_05_29_25_10373.jpg
/home/pi/Desktop/images/11042025/05/29/image_11042025_05_29_35_9492.jpg
/home/pi/Desktop/images/11042025/05/29/image_11042025_05_29_45_10367.jpg
/home/pi/Desktop/images/11042025/05/29/image_11042025_05_29_55_10386.jpg
/home/pi/Desktop/images/11042025/05/29/image_11042025_05_30_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":["1351505106","1351505062","1351505035","1351505082","1351505037","1351505031"],"photo_ids_order":["1351505031","1351505035","1351505037","1351505062","1351505082","1351505106"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b0ab41a7c33c223f6579e8431eee564d.jpg","text":"TemporaryFile(/tmp/multipartBody8541633115550617682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352853067,"filename":"image_11042025_05_30_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/11/fd32af81a99f6a1d1514cb4bc2150710.jpg","text":"TemporaryFile(/tmp/multipartBody7248455541174365499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352853067,"filename":"image_11042025_05_29_45_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/bac3a31ec2a2782d3f70bbb79bf45c6a.jpg","text":"TemporaryFile(/tmp/multipartBody6670249569160115868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352853067,"filename":"image_11042025_05_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/11/dff701e05e6f189735939d6908d13e50.jpg","text":"TemporaryFile(/tmp/multipartBody8001175185061689914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352853067,"filename":"image_11042025_05_29_55_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/438f58d8dbeb4fc26d672e603ddc8592.jpg","text":"TemporaryFile(/tmp/multipartBody7599400095994432448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352853067,"filename":"image_11042025_05_29_35_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/11/d7da7fd962e604449692fe3117c3a618.jpg","text":"TemporaryFile(/tmp/multipartBody9172962036296795568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352853067,"filename":"image_11042025_05_29_15_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351505037","file1":"1351505035","file0":"1351505031","file4":"1351505082","file5":"1351505106","file3":"1351505062"},"map_files_photo_id_array":[{"photo_id":"1351505106","filename":"file5"},{"photo_id":"1351505037","filename":"file2"},{"photo_id":"1351505082","filename":"file4"},{"photo_id":"1351505035","filename":"file1"},{"photo_id":"1351505031","filename":"file0"},{"photo_id":"1351505062","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351505106":["hashtag1","hashtag2"]},{"1351505062":["hashtag1","hashtag2"]},{"1351505035":["hashtag1","hashtag2"]},{"1351505082":["hashtag1","hashtag2"]},{"1351505037":["hashtag1","hashtag2"]},{"1351505031":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351505106, 1351505062, 1351505035, 1351505082, 1351505037, 1351505031)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.011008501052856 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 08:27:32.814702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/05/30/image_11042025_05_30_15_10040.jpg', '/home/pi/Desktop/images/11042025/05/30/image_11042025_05_30_25_10359.jpg', '/home/pi/Desktop/images/11042025/05/30/image_11042025_05_30_36_10366.jpg', '/home/pi/Desktop/images/11042025/05/30/image_11042025_05_30_45_9470.jpg', '/home/pi/Desktop/images/11042025/05/30/image_11042025_05_30_55_10368.jpg', '/home/pi/Desktop/images/11042025/05/30/image_11042025_05_31_05_9457.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/05/30/image_11042025_05_30_15_10040.jpg
/home/pi/Desktop/images/11042025/05/30/image_11042025_05_30_25_10359.jpg
/home/pi/Desktop/images/11042025/05/30/image_11042025_05_30_36_10366.jpg
/home/pi/Desktop/images/11042025/05/30/image_11042025_05_30_45_9470.jpg
/home/pi/Desktop/images/11042025/05/30/image_11042025_05_30_55_10368.jpg
/home/pi/Desktop/images/11042025/05/30/image_11042025_05_31_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":["1351505180","1351505186","1351505204","1351505194","1351505173","1351505197"],"photo_ids_order":["1351505173","1351505180","1351505186","1351505194","1351505197","1351505204"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/448511b62144424f39728e680293d23b.jpg","text":"TemporaryFile(/tmp/multipartBody6843322537713703624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352913275,"filename":"image_11042025_05_30_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/11/e0be358446bda810e5229dabc559c0a8.jpg","text":"TemporaryFile(/tmp/multipartBody1650777144082988385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352913275,"filename":"image_11042025_05_30_36_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/86f3c16ef631be8df81db4935379672b.jpg","text":"TemporaryFile(/tmp/multipartBody7405124875557884988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352913275,"filename":"image_11042025_05_31_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/11/52f32aab194109b3022f76f1ad97f083.jpg","text":"TemporaryFile(/tmp/multipartBody8703529796604064494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352913275,"filename":"image_11042025_05_30_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/11/1948a65afbbad2b96a24af26a9a32ac2.jpg","text":"TemporaryFile(/tmp/multipartBody4038525229934662218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352913275,"filename":"image_11042025_05_30_15_10040.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0c7808d42eb3d3827a6e878b585a0490.jpg","text":"TemporaryFile(/tmp/multipartBody2095299053606980241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352913275,"filename":"image_11042025_05_30_55_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351505186","file1":"1351505180","file0":"1351505173","file4":"1351505197","file5":"1351505204","file3":"1351505194"},"map_files_photo_id_array":[{"photo_id":"1351505204","filename":"file5"},{"photo_id":"1351505186","filename":"file2"},{"photo_id":"1351505197","filename":"file4"},{"photo_id":"1351505180","filename":"file1"},{"photo_id":"1351505173","filename":"file0"},{"photo_id":"1351505194","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351505180":["hashtag1","hashtag2"]},{"1351505186":["hashtag1","hashtag2"]},{"1351505204":["hashtag1","hashtag2"]},{"1351505194":["hashtag1","hashtag2"]},{"1351505173":["hashtag1","hashtag2"]},{"1351505197":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351505180, 1351505186, 1351505204, 1351505194, 1351505173, 1351505197)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.17633628845215 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 08:28:33.098450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/05/31/image_11042025_05_31_15_10353.jpg', '/home/pi/Desktop/images/11042025/05/31/image_11042025_05_31_25_9508.jpg', '/home/pi/Desktop/images/11042025/05/31/image_11042025_05_31_35_10359.jpg', '/home/pi/Desktop/images/11042025/05/31/image_11042025_05_31_55_9420.jpg', '/home/pi/Desktop/images/11042025/05/31/image_11042025_05_32_05_10350.jpg', '/home/pi/Desktop/images/11042025/05/32/image_11042025_05_32_15_9421.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/05/31/image_11042025_05_31_15_10353.jpg
/home/pi/Desktop/images/11042025/05/31/image_11042025_05_31_25_9508.jpg
/home/pi/Desktop/images/11042025/05/31/image_11042025_05_31_35_10359.jpg
/home/pi/Desktop/images/11042025/05/31/image_11042025_05_31_55_9420.jpg
/home/pi/Desktop/images/11042025/05/31/image_11042025_05_32_05_10350.jpg
/home/pi/Desktop/images/11042025/05/32/image_11042025_05_32_15_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":["1351505288","1351505248","1351505251","1351505410","1351505241","1351505244"],"photo_ids_order":["1351505241","1351505244","1351505248","1351505251","1351505288","1351505410"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4307c820dde262a11ac5cce5aff6f4d2.jpg","text":"TemporaryFile(/tmp/multipartBody8662892107447479449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352973565,"filename":"image_11042025_05_32_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/11/3f444267bf7190daf4fa671792dd18f4.jpg","text":"TemporaryFile(/tmp/multipartBody8597717323981821884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352973565,"filename":"image_11042025_05_31_35_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/59acf4267809332a90e422e9532a8716.jpg","text":"TemporaryFile(/tmp/multipartBody7097943492037663745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352973565,"filename":"image_11042025_05_31_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/11/6b551a1bc91dc67c4d49617948591e6d.jpg","text":"TemporaryFile(/tmp/multipartBody3332179623915284939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352973565,"filename":"image_11042025_05_32_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/11/fd4a4b6fd36f2b3b91918239d4aabfdf.jpg","text":"TemporaryFile(/tmp/multipartBody554620508689121494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352973565,"filename":"image_11042025_05_31_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/11/fe66cb6fe909cc12b94e23aaa5f53a1c.jpg","text":"TemporaryFile(/tmp/multipartBody2179552767081852452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744352973565,"filename":"image_11042025_05_31_25_9508.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351505248","file1":"1351505244","file0":"1351505241","file4":"1351505288","file5":"1351505410","file3":"1351505251"},"map_files_photo_id_array":[{"photo_id":"1351505410","filename":"file5"},{"photo_id":"1351505248","filename":"file2"},{"photo_id":"1351505288","filename":"file4"},{"photo_id":"1351505244","filename":"file1"},{"photo_id":"1351505241","filename":"file0"},{"photo_id":"1351505251","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351505288":["hashtag1","hashtag2"]},{"1351505248":["hashtag1","hashtag2"]},{"1351505251":["hashtag1","hashtag2"]},{"1351505410":["hashtag1","hashtag2"]},{"1351505241":["hashtag1","hashtag2"]},{"1351505244":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351505288, 1351505248, 1351505251, 1351505410, 1351505241, 1351505244)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.030298948287964 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 08:29:32.448961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/05/32/image_11042025_05_32_25_10354.jpg', '/home/pi/Desktop/images/11042025/05/32/image_11042025_05_32_35_10354.jpg', '/home/pi/Desktop/images/11042025/05/32/image_11042025_05_32_45_9477.jpg', '/home/pi/Desktop/images/11042025/05/32/image_11042025_05_32_55_10367.jpg', '/home/pi/Desktop/images/11042025/05/33/image_11042025_05_33_15_10419.jpg', '/home/pi/Desktop/images/11042025/05/33/image_11042025_05_33_25_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/05/32/image_11042025_05_32_25_10354.jpg
/home/pi/Desktop/images/11042025/05/32/image_11042025_05_32_35_10354.jpg
/home/pi/Desktop/images/11042025/05/32/image_11042025_05_32_45_9477.jpg
/home/pi/Desktop/images/11042025/05/32/image_11042025_05_32_55_10367.jpg
/home/pi/Desktop/images/11042025/05/33/image_11042025_05_33_15_10419.jpg
/home/pi/Desktop/images/11042025/05/33/image_11042025_05_33_25_10367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351505579","1351505578","1351505560","1351505568","1351505541","1351505547"],"photo_ids_order":["1351505541","1351505547","1351505560","1351505568","1351505578","1351505579"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/08966bd1f02a6bb0b8f24af9d425007f.jpg","text":"TemporaryFile(/tmp/multipartBody6722006863384701718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353032908,"filename":"image_11042025_05_33_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/11/d6820dc5a1ad7380a80b453a1f7af0a8.jpg","text":"TemporaryFile(/tmp/multipartBody3319721115326793100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353032908,"filename":"image_11042025_05_33_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/11/646d969320bf451d01b2b8afda7176e5.jpg","text":"TemporaryFile(/tmp/multipartBody6915608741004310552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353032908,"filename":"image_11042025_05_32_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/11/c5cce88ec813bdc0db70ef4f7d8331ba.jpg","text":"TemporaryFile(/tmp/multipartBody4031436754344980393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353032908,"filename":"image_11042025_05_32_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/11/c275584a8e4cf7721bf6201821b9ffb7.jpg","text":"TemporaryFile(/tmp/multipartBody449128418700841688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353032908,"filename":"image_11042025_05_32_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/11/66508975de4aee725405d237322eeba6.jpg","text":"TemporaryFile(/tmp/multipartBody1233905559978517891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353032908,"filename":"image_11042025_05_32_35_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351505560","file1":"1351505547","file0":"1351505541","file4":"1351505578","file5":"1351505579","file3":"1351505568"},"map_files_photo_id_array":[{"photo_id":"1351505579","filename":"file5"},{"photo_id":"1351505560","filename":"file2"},{"photo_id":"1351505578","filename":"file4"},{"photo_id":"1351505547","filename":"file1"},{"photo_id":"1351505541","filename":"file0"},{"photo_id":"1351505568","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351505579":["hashtag1","hashtag2"]},{"1351505578":["hashtag1","hashtag2"]},{"1351505560":["hashtag1","hashtag2"]},{"1351505568":["hashtag1","hashtag2"]},{"1351505541":["hashtag1","hashtag2"]},{"1351505547":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351505579, 1351505578, 1351505560, 1351505568, 1351505541, 1351505547)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.790156841278076 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 08:30:32.642802
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/05/33/image_11042025_05_33_35_9362.jpg', '/home/pi/Desktop/images/11042025/05/33/image_11042025_05_33_45_10360.jpg', '/home/pi/Desktop/images/11042025/05/33/image_11042025_05_33_56_10390.jpg', '/home/pi/Desktop/images/11042025/05/33/image_11042025_05_34_05_9414.jpg', '/home/pi/Desktop/images/11042025/05/34/image_11042025_05_34_15_10342.jpg', '/home/pi/Desktop/images/11042025/05/34/image_11042025_05_34_25_9451.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/05/33/image_11042025_05_33_35_9362.jpg
/home/pi/Desktop/images/11042025/05/33/image_11042025_05_33_45_10360.jpg
/home/pi/Desktop/images/11042025/05/33/image_11042025_05_33_56_10390.jpg
/home/pi/Desktop/images/11042025/05/33/image_11042025_05_34_05_9414.jpg
/home/pi/Desktop/images/11042025/05/34/image_11042025_05_34_15_10342.jpg
/home/pi/Desktop/images/11042025/05/34/image_11042025_05_34_25_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":["1351505601","1351505648","1351505645","1351505638","1351505602","1351505640"],"photo_ids_order":["1351505601","1351505602","1351505638","1351505640","1351505645","1351505648"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f3b4d94efc0adc99ea2f7778c520cb0d.jpg","text":"TemporaryFile(/tmp/multipartBody185702167639467549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353093203,"filename":"image_11042025_05_33_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/11/ba5ef97e7ed549bc82a05de3db470828.jpg","text":"TemporaryFile(/tmp/multipartBody1065782326554157810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353093203,"filename":"image_11042025_05_34_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/11/6a74356f78cc8d8c3fe0a0962a643ec4.jpg","text":"TemporaryFile(/tmp/multipartBody6533145944799923851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353093203,"filename":"image_11042025_05_34_15_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b0a8850000c2b5fd69e09256bdccf553.jpg","text":"TemporaryFile(/tmp/multipartBody1562049997295924512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353093203,"filename":"image_11042025_05_33_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/11/cf1705334928a7397ce84b5edcac3a9b.jpg","text":"TemporaryFile(/tmp/multipartBody8740715019537436870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353093203,"filename":"image_11042025_05_33_45_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8ea2d9907763bb28a86f7294626156a2.jpg","text":"TemporaryFile(/tmp/multipartBody8288336210937988395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353093203,"filename":"image_11042025_05_34_05_9414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351505638","file1":"1351505602","file0":"1351505601","file4":"1351505645","file5":"1351505648","file3":"1351505640"},"map_files_photo_id_array":[{"photo_id":"1351505648","filename":"file5"},{"photo_id":"1351505638","filename":"file2"},{"photo_id":"1351505645","filename":"file4"},{"photo_id":"1351505602","filename":"file1"},{"photo_id":"1351505601","filename":"file0"},{"photo_id":"1351505640","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351505601":["hashtag1","hashtag2"]},{"1351505648":["hashtag1","hashtag2"]},{"1351505645":["hashtag1","hashtag2"]},{"1351505638":["hashtag1","hashtag2"]},{"1351505602":["hashtag1","hashtag2"]},{"1351505640":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351505601, 1351505648, 1351505645, 1351505638, 1351505602, 1351505640)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.4777774810791 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 08:31:32.955234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/05/34/image_11042025_05_34_35_10349.jpg', '/home/pi/Desktop/images/11042025/05/34/image_11042025_05_34_46_10364.jpg', '/home/pi/Desktop/images/11042025/05/34/image_11042025_05_34_55_9441.jpg', '/home/pi/Desktop/images/11042025/05/34/image_11042025_05_35_05_10353.jpg', '/home/pi/Desktop/images/11042025/05/35/image_11042025_05_35_15_9423.jpg', '/home/pi/Desktop/images/11042025/05/35/image_11042025_05_35_25_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/05/34/image_11042025_05_34_35_10349.jpg
/home/pi/Desktop/images/11042025/05/34/image_11042025_05_34_46_10364.jpg
/home/pi/Desktop/images/11042025/05/34/image_11042025_05_34_55_9441.jpg
/home/pi/Desktop/images/11042025/05/34/image_11042025_05_35_05_10353.jpg
/home/pi/Desktop/images/11042025/05/35/image_11042025_05_35_15_9423.jpg
/home/pi/Desktop/images/11042025/05/35/image_11042025_05_35_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":["1351505747","1351505756","1351505729","1351505723","1351505737","1351505752"],"photo_ids_order":["1351505723","1351505729","1351505737","1351505747","1351505752","1351505756"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6ed83d3a916c8bba1c42a48cf56ea179.jpg","text":"TemporaryFile(/tmp/multipartBody1294885809238522117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353153421,"filename":"image_11042025_05_35_05_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/90ef689ba4b5924a996146e1154cb4b1.jpg","text":"TemporaryFile(/tmp/multipartBody1449060415758225242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353153421,"filename":"image_11042025_05_35_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/11/6842e3ba9799baded3f4ba422e69bc6d.jpg","text":"TemporaryFile(/tmp/multipartBody5128197704250086752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353153421,"filename":"image_11042025_05_34_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/11/b746f1fee562d9e11f46543804b61f35.jpg","text":"TemporaryFile(/tmp/multipartBody4103356276930256169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353153421,"filename":"image_11042025_05_34_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/11/87a2dd4de20867968271e18e6b12c2ee.jpg","text":"TemporaryFile(/tmp/multipartBody4323986885210979034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353153421,"filename":"image_11042025_05_34_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/11/e845fd8642194b75020647047d45928c.jpg","text":"TemporaryFile(/tmp/multipartBody2952228036686371044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353153421,"filename":"image_11042025_05_35_15_9423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351505737","file1":"1351505729","file0":"1351505723","file4":"1351505752","file5":"1351505756","file3":"1351505747"},"map_files_photo_id_array":[{"photo_id":"1351505756","filename":"file5"},{"photo_id":"1351505737","filename":"file2"},{"photo_id":"1351505752","filename":"file4"},{"photo_id":"1351505729","filename":"file1"},{"photo_id":"1351505723","filename":"file0"},{"photo_id":"1351505747","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351505747":["hashtag1","hashtag2"]},{"1351505756":["hashtag1","hashtag2"]},{"1351505729":["hashtag1","hashtag2"]},{"1351505723":["hashtag1","hashtag2"]},{"1351505737":["hashtag1","hashtag2"]},{"1351505752":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351505747, 1351505756, 1351505729, 1351505723, 1351505737, 1351505752)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.44701886177063 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 08:32:33.174673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/05/35/image_11042025_05_35_35_10368.jpg', '/home/pi/Desktop/images/11042025/05/35/image_11042025_05_35_45_9425.jpg', '/home/pi/Desktop/images/11042025/05/35/image_11042025_05_36_06_10348.jpg', '/home/pi/Desktop/images/11042025/05/36/image_11042025_05_36_15_9382.jpg', '/home/pi/Desktop/images/11042025/05/36/image_11042025_05_36_35_9397.jpg', '/home/pi/Desktop/images/11042025/05/36/image_11042025_05_36_45_10345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/05/35/image_11042025_05_35_35_10368.jpg
/home/pi/Desktop/images/11042025/05/35/image_11042025_05_35_45_9425.jpg
/home/pi/Desktop/images/11042025/05/35/image_11042025_05_36_06_10348.jpg
/home/pi/Desktop/images/11042025/05/36/image_11042025_05_36_15_9382.jpg
/home/pi/Desktop/images/11042025/05/36/image_11042025_05_36_35_9397.jpg
/home/pi/Desktop/images/11042025/05/36/image_11042025_05_36_45_10345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351505791","1351505821","1351505815","1351505809","1351505800","1351505778"],"photo_ids_order":["1351505778","1351505791","1351505800","1351505809","1351505815","1351505821"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a3a6a4a5b6f3299561ca3ee5686eec06.jpg","text":"TemporaryFile(/tmp/multipartBody4782351721964548943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353213640,"filename":"image_11042025_05_35_45_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/cc57c98b33668f19e7f46987ba95e955.jpg","text":"TemporaryFile(/tmp/multipartBody2888948895837168757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353213640,"filename":"image_11042025_05_36_45_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/dcf67a1a51e50755637624b446fab878.jpg","text":"TemporaryFile(/tmp/multipartBody7181727691615415809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353213640,"filename":"image_11042025_05_36_35_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/08b1879ba6881e8a6913ab8114ffb77c.jpg","text":"TemporaryFile(/tmp/multipartBody4529064460108908841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353213640,"filename":"image_11042025_05_36_15_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/03d304c481a704f1a517694d44785768.jpg","text":"TemporaryFile(/tmp/multipartBody8544103503492589956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353213640,"filename":"image_11042025_05_36_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/11/34e90e3ac0cea774453f6522ff5932be.jpg","text":"TemporaryFile(/tmp/multipartBody5859850308849301258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353213640,"filename":"image_11042025_05_35_35_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351505800","file1":"1351505791","file0":"1351505778","file4":"1351505815","file5":"1351505821","file3":"1351505809"},"map_files_photo_id_array":[{"photo_id":"1351505821","filename":"file5"},{"photo_id":"1351505800","filename":"file2"},{"photo_id":"1351505815","filename":"file4"},{"photo_id":"1351505791","filename":"file1"},{"photo_id":"1351505778","filename":"file0"},{"photo_id":"1351505809","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351505791":["hashtag1","hashtag2"]},{"1351505821":["hashtag1","hashtag2"]},{"1351505815":["hashtag1","hashtag2"]},{"1351505809":["hashtag1","hashtag2"]},{"1351505800":["hashtag1","hashtag2"]},{"1351505778":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351505791, 1351505821, 1351505815, 1351505809, 1351505800, 1351505778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.68342185020447 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 08:33:32.334973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/05/36/image_11042025_05_36_56_10360.jpg', '/home/pi/Desktop/images/11042025/05/37/image_11042025_05_37_15_10355.jpg', '/home/pi/Desktop/images/11042025/05/37/image_11042025_05_37_46_10352.jpg', '/home/pi/Desktop/images/11042025/05/37/image_11042025_05_37_55_9374.jpg', '/home/pi/Desktop/images/11042025/05/38/image_11042025_05_38_16_10362.jpg', '/home/pi/Desktop/images/11042025/05/38/image_11042025_05_38_25_9359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/05/36/image_11042025_05_36_56_10360.jpg
/home/pi/Desktop/images/11042025/05/37/image_11042025_05_37_15_10355.jpg
/home/pi/Desktop/images/11042025/05/37/image_11042025_05_37_46_10352.jpg
/home/pi/Desktop/images/11042025/05/37/image_11042025_05_37_55_9374.jpg
/home/pi/Desktop/images/11042025/05/38/image_11042025_05_38_16_10362.jpg
/home/pi/Desktop/images/11042025/05/38/image_11042025_05_38_25_9359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351506050","1351506005","1351506034","1351506016","1351505959","1351506027"],"photo_ids_order":["1351505959","1351506005","1351506016","1351506027","1351506034","1351506050"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2dd105eb4b9d1ce941b7b21e49fa03d8.jpg","text":"TemporaryFile(/tmp/multipartBody1975374338201803790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353272792,"filename":"image_11042025_05_38_25_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5622b6069bafb76a621435bc4cd32b3f.jpg","text":"TemporaryFile(/tmp/multipartBody7637411459871707765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353272792,"filename":"image_11042025_05_37_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/11/4a956aa700fbc37dff5bc859cb4cde46.jpg","text":"TemporaryFile(/tmp/multipartBody5599510057693157273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353272792,"filename":"image_11042025_05_38_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/11/26222f80ba5840a41350f801f37dc0d7.jpg","text":"TemporaryFile(/tmp/multipartBody1150240747163332069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353272792,"filename":"image_11042025_05_37_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/11/e7005f10ed2b62f2dd498d84566080b9.jpg","text":"TemporaryFile(/tmp/multipartBody8510522112411012019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353272792,"filename":"image_11042025_05_36_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/11/f0216cb4466c0213b89111c1fb3172e3.jpg","text":"TemporaryFile(/tmp/multipartBody4207351578033461464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353272792,"filename":"image_11042025_05_37_55_9374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351506016","file1":"1351506005","file0":"1351505959","file4":"1351506034","file5":"1351506050","file3":"1351506027"},"map_files_photo_id_array":[{"photo_id":"1351506050","filename":"file5"},{"photo_id":"1351506016","filename":"file2"},{"photo_id":"1351506034","filename":"file4"},{"photo_id":"1351506005","filename":"file1"},{"photo_id":"1351505959","filename":"file0"},{"photo_id":"1351506027","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351506050":["hashtag1","hashtag2"]},{"1351506005":["hashtag1","hashtag2"]},{"1351506034":["hashtag1","hashtag2"]},{"1351506016":["hashtag1","hashtag2"]},{"1351505959":["hashtag1","hashtag2"]},{"1351506027":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351506050, 1351506005, 1351506034, 1351506016, 1351505959, 1351506027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.4051456451416 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 08:34:32.581692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/05/38/image_11042025_05_38_35_10382.jpg', '/home/pi/Desktop/images/11042025/05/38/image_11042025_05_38_45_9386.jpg', '/home/pi/Desktop/images/11042025/05/38/image_11042025_05_38_55_10377.jpg', '/home/pi/Desktop/images/11042025/05/38/image_11042025_05_39_06_10434.jpg', '/home/pi/Desktop/images/11042025/05/39/image_11042025_05_39_15_9342.jpg', '/home/pi/Desktop/images/11042025/05/39/image_11042025_05_40_05_9495.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/05/38/image_11042025_05_38_35_10382.jpg
/home/pi/Desktop/images/11042025/05/38/image_11042025_05_38_45_9386.jpg
/home/pi/Desktop/images/11042025/05/38/image_11042025_05_38_55_10377.jpg
/home/pi/Desktop/images/11042025/05/38/image_11042025_05_39_06_10434.jpg
/home/pi/Desktop/images/11042025/05/39/image_11042025_05_39_15_9342.jpg
/home/pi/Desktop/images/11042025/05/39/image_11042025_05_40_05_9495.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":["1351506119","1351506110","1351506128","1351506124","1351506132","1351506114"],"photo_ids_order":["1351506110","1351506114","1351506119","1351506124","1351506128","1351506132"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a4d66a9aea918e8062c13d153623009b.jpg","text":"TemporaryFile(/tmp/multipartBody5293460731117034494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353333056,"filename":"image_11042025_05_38_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/11/dfbe3e29c90fecd75934337a2c3f1952.jpg","text":"TemporaryFile(/tmp/multipartBody700679241911548095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353333056,"filename":"image_11042025_05_38_35_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/15976f32dc8202959538a6f1714ac854.jpg","text":"TemporaryFile(/tmp/multipartBody8318064123058207550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353333056,"filename":"image_11042025_05_39_15_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/fe7efc37f8666c5bdd9208eac0527519.jpg","text":"TemporaryFile(/tmp/multipartBody7867620162541450150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353333056,"filename":"image_11042025_05_39_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/11/f9f72cc51d325866328a51bb470ff9a7.jpg","text":"TemporaryFile(/tmp/multipartBody5234900945368862357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353333056,"filename":"image_11042025_05_40_05_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/11/9b39a4d1cb611ce1d92cbfe6d19dc5b0.jpg","text":"TemporaryFile(/tmp/multipartBody4885241175051548582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353333056,"filename":"image_11042025_05_38_45_9386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351506119","file1":"1351506114","file0":"1351506110","file4":"1351506128","file5":"1351506132","file3":"1351506124"},"map_files_photo_id_array":[{"photo_id":"1351506132","filename":"file5"},{"photo_id":"1351506119","filename":"file2"},{"photo_id":"1351506128","filename":"file4"},{"photo_id":"1351506114","filename":"file1"},{"photo_id":"1351506110","filename":"file0"},{"photo_id":"1351506124","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351506119":["hashtag1","hashtag2"]},{"1351506110":["hashtag1","hashtag2"]},{"1351506128":["hashtag1","hashtag2"]},{"1351506124":["hashtag1","hashtag2"]},{"1351506132":["hashtag1","hashtag2"]},{"1351506114":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351506119, 1351506110, 1351506128, 1351506124, 1351506132, 1351506114)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.65447211265564 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 08:35:42.849720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/05/40/image_11042025_05_40_15_10350.jpg', '/home/pi/Desktop/images/11042025/05/40/image_11042025_05_41_05_9378.jpg', '/home/pi/Desktop/images/11042025/05/41/image_11042025_05_41_15_10339.jpg', '/home/pi/Desktop/images/11042025/05/41/image_11042025_05_41_25_9488.jpg', '/home/pi/Desktop/images/11042025/05/41/image_11042025_05_41_35_10386.jpg', '/home/pi/Desktop/images/11042025/05/41/image_11042025_05_42_05_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/05/40/image_11042025_05_40_15_10350.jpg
/home/pi/Desktop/images/11042025/05/40/image_11042025_05_41_05_9378.jpg
/home/pi/Desktop/images/11042025/05/41/image_11042025_05_41_15_10339.jpg
/home/pi/Desktop/images/11042025/05/41/image_11042025_05_41_25_9488.jpg
/home/pi/Desktop/images/11042025/05/41/image_11042025_05_41_35_10386.jpg
/home/pi/Desktop/images/11042025/05/41/image_11042025_05_42_05_10362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351506209","1351506184","1351506160","1351506217","1351506167","1351506149"],"photo_ids_order":["1351506149","1351506160","1351506167","1351506184","1351506209","1351506217"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d47e4e46d65b9a34bbec645807d10c08.jpg","text":"TemporaryFile(/tmp/multipartBody5822606838464965609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353403327,"filename":"image_11042025_05_41_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/11/106c3a43d94cfc65e5a9722f42d47515.jpg","text":"TemporaryFile(/tmp/multipartBody5548885637874904180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353403327,"filename":"image_11042025_05_41_25_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/11/d66bf9c9cb64b8dd4cf3050ef1e17f3c.jpg","text":"TemporaryFile(/tmp/multipartBody5872149256362220790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353403327,"filename":"image_11042025_05_41_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/11/c33fc446d0edf1ce9ea5fc034a1a68ff.jpg","text":"TemporaryFile(/tmp/multipartBody6973467197173560466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353403327,"filename":"image_11042025_05_42_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/11/02d4f18990a042f20fdfffb4388e4860.jpg","text":"TemporaryFile(/tmp/multipartBody159262783757394274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353403327,"filename":"image_11042025_05_41_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/11/60b17288483fa227a8e55c562bf63f12.jpg","text":"TemporaryFile(/tmp/multipartBody7756539292846942123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353403327,"filename":"image_11042025_05_40_15_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351506167","file1":"1351506160","file0":"1351506149","file4":"1351506209","file5":"1351506217","file3":"1351506184"},"map_files_photo_id_array":[{"photo_id":"1351506217","filename":"file5"},{"photo_id":"1351506167","filename":"file2"},{"photo_id":"1351506209","filename":"file4"},{"photo_id":"1351506160","filename":"file1"},{"photo_id":"1351506149","filename":"file0"},{"photo_id":"1351506184","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351506209":["hashtag1","hashtag2"]},{"1351506184":["hashtag1","hashtag2"]},{"1351506160":["hashtag1","hashtag2"]},{"1351506217":["hashtag1","hashtag2"]},{"1351506167":["hashtag1","hashtag2"]},{"1351506149":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351506209, 1351506184, 1351506160, 1351506217, 1351506167, 1351506149)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.68734574317932 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 08:36:33.000273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/05/42/image_11042025_05_42_25_10366.jpg', '/home/pi/Desktop/images/11042025/05/43/image_11042025_05_43_26_10378.jpg', '/home/pi/Desktop/images/11042025/05/43/image_11042025_05_43_45_10373.jpg', '/home/pi/Desktop/images/11042025/05/43/image_11042025_05_43_55_9504.jpg', '/home/pi/Desktop/images/11042025/05/43/image_11042025_05_44_05_10363.jpg', '/home/pi/Desktop/images/11042025/05/44/image_11042025_05_44_16_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/05/42/image_11042025_05_42_25_10366.jpg
/home/pi/Desktop/images/11042025/05/43/image_11042025_05_43_26_10378.jpg
/home/pi/Desktop/images/11042025/05/43/image_11042025_05_43_45_10373.jpg
/home/pi/Desktop/images/11042025/05/43/image_11042025_05_43_55_9504.jpg
/home/pi/Desktop/images/11042025/05/43/image_11042025_05_44_05_10363.jpg
/home/pi/Desktop/images/11042025/05/44/image_11042025_05_44_16_10361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351506278","1351506280","1351506261","1351506270","1351506275","1351506248"],"photo_ids_order":["1351506248","1351506261","1351506270","1351506275","1351506278","1351506280"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/acec7faaa46be213f1faa73b3e7e367c.jpg","text":"TemporaryFile(/tmp/multipartBody6540912560456773113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353453470,"filename":"image_11042025_05_44_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/11/e102dc71a20178429c12e7a03a0e8f19.jpg","text":"TemporaryFile(/tmp/multipartBody7711045278722754476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353453470,"filename":"image_11042025_05_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/11/407ff9ed7897d098f089ae797f3620d1.jpg","text":"TemporaryFile(/tmp/multipartBody328431013634599641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353453470,"filename":"image_11042025_05_43_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/11/dc81a6453acd84038678b4da1cb2acb8.jpg","text":"TemporaryFile(/tmp/multipartBody5115987824188550743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353453470,"filename":"image_11042025_05_43_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/11/1f84285d8f87e721c9364987af22650f.jpg","text":"TemporaryFile(/tmp/multipartBody8089285235471452741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353453470,"filename":"image_11042025_05_43_55_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/11/6c8c2aadca12c48b3b899799807a3a0f.jpg","text":"TemporaryFile(/tmp/multipartBody5831384477783408908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353453470,"filename":"image_11042025_05_42_25_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351506270","file1":"1351506261","file0":"1351506248","file4":"1351506278","file5":"1351506280","file3":"1351506275"},"map_files_photo_id_array":[{"photo_id":"1351506280","filename":"file5"},{"photo_id":"1351506270","filename":"file2"},{"photo_id":"1351506278","filename":"file4"},{"photo_id":"1351506261","filename":"file1"},{"photo_id":"1351506248","filename":"file0"},{"photo_id":"1351506275","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351506278":["hashtag1","hashtag2"]},{"1351506280":["hashtag1","hashtag2"]},{"1351506261":["hashtag1","hashtag2"]},{"1351506270":["hashtag1","hashtag2"]},{"1351506275":["hashtag1","hashtag2"]},{"1351506248":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351506278, 1351506280, 1351506261, 1351506270, 1351506275, 1351506248)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.02513408660889 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 08:37:32.161731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/05/44/image_11042025_05_44_25_9346.jpg', '/home/pi/Desktop/images/11042025/05/44/image_11042025_05_44_35_10399.jpg', '/home/pi/Desktop/images/11042025/05/44/image_11042025_05_44_45_9459.jpg', '/home/pi/Desktop/images/11042025/05/44/image_11042025_05_44_55_10353.jpg', '/home/pi/Desktop/images/11042025/05/44/image_11042025_05_45_06_10359.jpg', '/home/pi/Desktop/images/11042025/05/45/image_11042025_05_45_15_9440.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/05/44/image_11042025_05_44_25_9346.jpg
/home/pi/Desktop/images/11042025/05/44/image_11042025_05_44_35_10399.jpg
/home/pi/Desktop/images/11042025/05/44/image_11042025_05_44_45_9459.jpg
/home/pi/Desktop/images/11042025/05/44/image_11042025_05_44_55_10353.jpg
/home/pi/Desktop/images/11042025/05/44/image_11042025_05_45_06_10359.jpg
/home/pi/Desktop/images/11042025/05/45/image_11042025_05_45_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":["1351506457","1351506439","1351506393","1351506459","1351506414","1351506464"],"photo_ids_order":["1351506393","1351506414","1351506439","1351506457","1351506459","1351506464"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/eb93606cf14a3d94ec0c9bf12aadd59a.jpg","text":"TemporaryFile(/tmp/multipartBody1042352527980295286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353512633,"filename":"image_11042025_05_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/11/e8c38b2d4cfdbbc92b414fb7d3300f80.jpg","text":"TemporaryFile(/tmp/multipartBody7874208106185415774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353512633,"filename":"image_11042025_05_44_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/11/d4360834d67032010f23d2010cfcca3b.jpg","text":"TemporaryFile(/tmp/multipartBody2900322985363150042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353512633,"filename":"image_11042025_05_44_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/11/995fc444b1395b2b1296f267b1454e28.jpg","text":"TemporaryFile(/tmp/multipartBody8303462160887588715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353512633,"filename":"image_11042025_05_45_06_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f0f4d4c1f1e97b71d053a6c348bbfed9.jpg","text":"TemporaryFile(/tmp/multipartBody2893863421617030486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353512633,"filename":"image_11042025_05_44_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/11/caf4f595ddc2bb493174db36eb22f197.jpg","text":"TemporaryFile(/tmp/multipartBody7827563554409083257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353512633,"filename":"image_11042025_05_45_15_9440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351506439","file1":"1351506414","file0":"1351506393","file4":"1351506459","file5":"1351506464","file3":"1351506457"},"map_files_photo_id_array":[{"photo_id":"1351506464","filename":"file5"},{"photo_id":"1351506439","filename":"file2"},{"photo_id":"1351506459","filename":"file4"},{"photo_id":"1351506414","filename":"file1"},{"photo_id":"1351506393","filename":"file0"},{"photo_id":"1351506457","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351506457":["hashtag1","hashtag2"]},{"1351506439":["hashtag1","hashtag2"]},{"1351506393":["hashtag1","hashtag2"]},{"1351506459":["hashtag1","hashtag2"]},{"1351506414":["hashtag1","hashtag2"]},{"1351506464":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351506457, 1351506439, 1351506393, 1351506459, 1351506414, 1351506464)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.72488331794739 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 08:38:32.348440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/05/45/image_11042025_05_45_25_10361.jpg', '/home/pi/Desktop/images/11042025/05/45/image_11042025_05_45_35_9429.jpg', '/home/pi/Desktop/images/11042025/05/45/image_11042025_05_45_45_10384.jpg', '/home/pi/Desktop/images/11042025/05/45/image_11042025_05_45_56_10461.jpg', '/home/pi/Desktop/images/11042025/05/45/image_11042025_05_46_05_9438.jpg', '/home/pi/Desktop/images/11042025/05/46/image_11042025_05_46_15_10384.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/05/45/image_11042025_05_45_25_10361.jpg
/home/pi/Desktop/images/11042025/05/45/image_11042025_05_45_35_9429.jpg
/home/pi/Desktop/images/11042025/05/45/image_11042025_05_45_45_10384.jpg
/home/pi/Desktop/images/11042025/05/45/image_11042025_05_45_56_10461.jpg
/home/pi/Desktop/images/11042025/05/45/image_11042025_05_46_05_9438.jpg
/home/pi/Desktop/images/11042025/05/46/image_11042025_05_46_15_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":["1351506585","1351506579","1351506594","1351506576","1351506609","1351506572"],"photo_ids_order":["1351506572","1351506576","1351506579","1351506585","1351506594","1351506609"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/db18c5606979ef4c878036faea5b52df.jpg","text":"TemporaryFile(/tmp/multipartBody261329433599503759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353572807,"filename":"image_11042025_05_45_56_10461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/99e7118e8c1f764b5f40f65874975693.jpg","text":"TemporaryFile(/tmp/multipartBody3518905972591138620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353572807,"filename":"image_11042025_05_45_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/11/cb65608b0aa15ae753dc89c076d9fe52.jpg","text":"TemporaryFile(/tmp/multipartBody4289595271532432498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353572807,"filename":"image_11042025_05_46_05_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ab6fb42ba66a9cb048fac07a0afeccf3.jpg","text":"TemporaryFile(/tmp/multipartBody513129869860515144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353572807,"filename":"image_11042025_05_45_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/11/08fd2d1d76736a058516bce81ab9ae67.jpg","text":"TemporaryFile(/tmp/multipartBody8076507500601184875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353572807,"filename":"image_11042025_05_46_15_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1a0ea1f68669c6f5263c9cc0244ae1e6.jpg","text":"TemporaryFile(/tmp/multipartBody9019330034744609931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353572807,"filename":"image_11042025_05_45_25_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351506579","file1":"1351506576","file0":"1351506572","file4":"1351506594","file5":"1351506609","file3":"1351506585"},"map_files_photo_id_array":[{"photo_id":"1351506609","filename":"file5"},{"photo_id":"1351506579","filename":"file2"},{"photo_id":"1351506594","filename":"file4"},{"photo_id":"1351506576","filename":"file1"},{"photo_id":"1351506572","filename":"file0"},{"photo_id":"1351506585","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351506585":["hashtag1","hashtag2"]},{"1351506579":["hashtag1","hashtag2"]},{"1351506594":["hashtag1","hashtag2"]},{"1351506576":["hashtag1","hashtag2"]},{"1351506609":["hashtag1","hashtag2"]},{"1351506572":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351506585, 1351506579, 1351506594, 1351506576, 1351506609, 1351506572)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.08674907684326 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 08:39:32.686399
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/05/46/image_11042025_05_46_25_9371.jpg', '/home/pi/Desktop/images/11042025/05/46/image_11042025_05_46_35_10393.jpg', '/home/pi/Desktop/images/11042025/05/46/image_11042025_05_46_46_10384.jpg', '/home/pi/Desktop/images/11042025/05/46/image_11042025_05_46_55_9431.jpg', '/home/pi/Desktop/images/11042025/05/46/image_11042025_05_47_05_10441.jpg', '/home/pi/Desktop/images/11042025/05/47/image_11042025_05_47_15_9348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/05/46/image_11042025_05_46_25_9371.jpg
/home/pi/Desktop/images/11042025/05/46/image_11042025_05_46_35_10393.jpg
/home/pi/Desktop/images/11042025/05/46/image_11042025_05_46_46_10384.jpg
/home/pi/Desktop/images/11042025/05/46/image_11042025_05_46_55_9431.jpg
/home/pi/Desktop/images/11042025/05/46/image_11042025_05_47_05_10441.jpg
/home/pi/Desktop/images/11042025/05/47/image_11042025_05_47_15_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":["1351506719","1351506749","1351506728","1351506694","1351506745","1351506739"],"photo_ids_order":["1351506694","1351506719","1351506728","1351506739","1351506745","1351506749"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1dbd5df9462301c6db773e58683d730f.jpg","text":"TemporaryFile(/tmp/multipartBody1091644464462606305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353633150,"filename":"image_11042025_05_46_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/11/468d886dbd76b09e22cb87c543c1cbe9.jpg","text":"TemporaryFile(/tmp/multipartBody7440909017380421490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353633150,"filename":"image_11042025_05_47_15_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/53a0c72540a30df9c9f280bef6220d5f.jpg","text":"TemporaryFile(/tmp/multipartBody4936937408138188250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353633150,"filename":"image_11042025_05_46_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/11/d8fc29b329758ea529cd9a62574892b5.jpg","text":"TemporaryFile(/tmp/multipartBody6024176011822935290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353633150,"filename":"image_11042025_05_46_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/11/0a23a573f53c193d860c6c4af9ef3d3b.jpg","text":"TemporaryFile(/tmp/multipartBody8600697496504689761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353633150,"filename":"image_11042025_05_47_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/11/f5233e657bbff28f63ff8e789c3c2e90.jpg","text":"TemporaryFile(/tmp/multipartBody7938969307528294284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353633150,"filename":"image_11042025_05_46_55_9431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351506728","file1":"1351506719","file0":"1351506694","file4":"1351506745","file5":"1351506749","file3":"1351506739"},"map_files_photo_id_array":[{"photo_id":"1351506749","filename":"file5"},{"photo_id":"1351506728","filename":"file2"},{"photo_id":"1351506745","filename":"file4"},{"photo_id":"1351506719","filename":"file1"},{"photo_id":"1351506694","filename":"file0"},{"photo_id":"1351506739","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351506719":["hashtag1","hashtag2"]},{"1351506749":["hashtag1","hashtag2"]},{"1351506728":["hashtag1","hashtag2"]},{"1351506694":["hashtag1","hashtag2"]},{"1351506745":["hashtag1","hashtag2"]},{"1351506739":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351506719, 1351506749, 1351506728, 1351506694, 1351506745, 1351506739)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.834635496139526 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 08:40:32.911323
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/05/47/image_11042025_05_47_25_10369.jpg', '/home/pi/Desktop/images/11042025/05/47/image_11042025_05_47_45_9369.jpg', '/home/pi/Desktop/images/11042025/05/47/image_11042025_05_47_55_10384.jpg', '/home/pi/Desktop/images/11042025/05/47/image_11042025_05_48_05_9513.jpg', '/home/pi/Desktop/images/11042025/05/48/image_11042025_05_48_15_10376.jpg', '/home/pi/Desktop/images/11042025/05/48/image_11042025_05_48_26_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/05/47/image_11042025_05_47_25_10369.jpg
/home/pi/Desktop/images/11042025/05/47/image_11042025_05_47_45_9369.jpg
/home/pi/Desktop/images/11042025/05/47/image_11042025_05_47_55_10384.jpg
/home/pi/Desktop/images/11042025/05/47/image_11042025_05_48_05_9513.jpg
/home/pi/Desktop/images/11042025/05/48/image_11042025_05_48_15_10376.jpg
/home/pi/Desktop/images/11042025/05/48/image_11042025_05_48_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":["1351506888","1351506879","1351506858","1351506873","1351506855","1351506840"],"photo_ids_order":["1351506840","1351506855","1351506858","1351506873","1351506879","1351506888"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/aec0546b452022f21dcdcf6d83a65f38.jpg","text":"TemporaryFile(/tmp/multipartBody1923562870452153124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353693386,"filename":"image_11042025_05_48_26_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/451abf7bee97722979012a7aa66a8b93.jpg","text":"TemporaryFile(/tmp/multipartBody5129475996964319089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353693386,"filename":"image_11042025_05_48_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/11/362f9bd0387e117cef354f09b56199d0.jpg","text":"TemporaryFile(/tmp/multipartBody4173602263332431094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353693386,"filename":"image_11042025_05_47_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/11/aeaf3b6ac17cad0950823766fb9fc43f.jpg","text":"TemporaryFile(/tmp/multipartBody7488824988088932227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353693386,"filename":"image_11042025_05_48_05_9513.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b87e2edd14dbe1d7236d32dbc0df1d92.jpg","text":"TemporaryFile(/tmp/multipartBody8623520210401049808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353693386,"filename":"image_11042025_05_47_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/11/bafbec11eaa186a4338d9a4d216d0d00.jpg","text":"TemporaryFile(/tmp/multipartBody2249944129245739685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353693386,"filename":"image_11042025_05_47_25_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351506858","file1":"1351506855","file0":"1351506840","file4":"1351506879","file5":"1351506888","file3":"1351506873"},"map_files_photo_id_array":[{"photo_id":"1351506888","filename":"file5"},{"photo_id":"1351506858","filename":"file2"},{"photo_id":"1351506879","filename":"file4"},{"photo_id":"1351506855","filename":"file1"},{"photo_id":"1351506840","filename":"file0"},{"photo_id":"1351506873","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351506888":["hashtag1","hashtag2"]},{"1351506879":["hashtag1","hashtag2"]},{"1351506858":["hashtag1","hashtag2"]},{"1351506873":["hashtag1","hashtag2"]},{"1351506855":["hashtag1","hashtag2"]},{"1351506840":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351506888, 1351506879, 1351506858, 1351506873, 1351506855, 1351506840)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.59152960777283 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 08:41:33.205169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/05/48/image_11042025_05_48_35_9431.jpg', '/home/pi/Desktop/images/11042025/05/48/image_11042025_05_48_45_10436.jpg', '/home/pi/Desktop/images/11042025/05/48/image_11042025_05_48_55_9546.jpg', '/home/pi/Desktop/images/11042025/05/48/image_11042025_05_49_05_10359.jpg', '/home/pi/Desktop/images/11042025/05/49/image_11042025_05_49_15_9454.jpg', '/home/pi/Desktop/images/11042025/05/49/image_11042025_05_49_25_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/05/48/image_11042025_05_48_35_9431.jpg
/home/pi/Desktop/images/11042025/05/48/image_11042025_05_48_45_10436.jpg
/home/pi/Desktop/images/11042025/05/48/image_11042025_05_48_55_9546.jpg
/home/pi/Desktop/images/11042025/05/48/image_11042025_05_49_05_10359.jpg
/home/pi/Desktop/images/11042025/05/49/image_11042025_05_49_15_9454.jpg
/home/pi/Desktop/images/11042025/05/49/image_11042025_05_49_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":["1351507021","1351506939","1351506992","1351506965","1351507019","1351507010"],"photo_ids_order":["1351506939","1351506965","1351506992","1351507010","1351507019","1351507021"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/06f0cbafc055ab40ab0aaf47c85cb23f.jpg","text":"TemporaryFile(/tmp/multipartBody4817069029679178050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353753671,"filename":"image_11042025_05_49_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/11/d2dffccbc877c7c9992547f4c8fa13c3.jpg","text":"TemporaryFile(/tmp/multipartBody8927637312702318894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353753671,"filename":"image_11042025_05_48_35_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6b5bc404d8a259c190763bc587b1eb98.jpg","text":"TemporaryFile(/tmp/multipartBody253253057967749865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353753671,"filename":"image_11042025_05_48_55_9546.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d272dcddc69e27b77552ec89f507f7e1.jpg","text":"TemporaryFile(/tmp/multipartBody9051637823287219230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353753671,"filename":"image_11042025_05_48_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/11/4d418cec381fb8f6a589ccd05c1ac361.jpg","text":"TemporaryFile(/tmp/multipartBody6573411548109802244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353753671,"filename":"image_11042025_05_49_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/11/3f8fa7738a4a2b06ae818e22e559eecb.jpg","text":"TemporaryFile(/tmp/multipartBody7847098126522591303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353753671,"filename":"image_11042025_05_49_05_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351506992","file1":"1351506965","file0":"1351506939","file4":"1351507019","file5":"1351507021","file3":"1351507010"},"map_files_photo_id_array":[{"photo_id":"1351507021","filename":"file5"},{"photo_id":"1351506992","filename":"file2"},{"photo_id":"1351507019","filename":"file4"},{"photo_id":"1351506965","filename":"file1"},{"photo_id":"1351506939","filename":"file0"},{"photo_id":"1351507010","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351507021":["hashtag1","hashtag2"]},{"1351506939":["hashtag1","hashtag2"]},{"1351506992":["hashtag1","hashtag2"]},{"1351506965":["hashtag1","hashtag2"]},{"1351507019":["hashtag1","hashtag2"]},{"1351507010":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351507021, 1351506939, 1351506992, 1351506965, 1351507019, 1351507010)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.132040977478027 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 08:42:32.273518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/05/49/image_11042025_05_49_35_10369.jpg', '/home/pi/Desktop/images/11042025/05/49/image_11042025_05_49_45_9361.jpg', '/home/pi/Desktop/images/11042025/05/49/image_11042025_05_49_55_10360.jpg', '/home/pi/Desktop/images/11042025/05/49/image_11042025_05_50_06_10357.jpg', '/home/pi/Desktop/images/11042025/05/50/image_11042025_05_50_15_9428.jpg', '/home/pi/Desktop/images/11042025/05/50/image_11042025_05_50_25_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/05/49/image_11042025_05_49_35_10369.jpg
/home/pi/Desktop/images/11042025/05/49/image_11042025_05_49_45_9361.jpg
/home/pi/Desktop/images/11042025/05/49/image_11042025_05_49_55_10360.jpg
/home/pi/Desktop/images/11042025/05/49/image_11042025_05_50_06_10357.jpg
/home/pi/Desktop/images/11042025/05/50/image_11042025_05_50_15_9428.jpg
/home/pi/Desktop/images/11042025/05/50/image_11042025_05_50_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":["1351507038","1351507052","1351507055","1351507049","1351507043","1351507046"],"photo_ids_order":["1351507038","1351507043","1351507046","1351507049","1351507052","1351507055"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0c30fa81e039271151286124fda0e545.jpg","text":"TemporaryFile(/tmp/multipartBody5429763514095679979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353812743,"filename":"image_11042025_05_49_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/11/719327526c95473ec5b23bdffcae3ae6.jpg","text":"TemporaryFile(/tmp/multipartBody4153662210274775886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353812743,"filename":"image_11042025_05_50_15_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/82df6e33a1ed763d79fdb70021ba0895.jpg","text":"TemporaryFile(/tmp/multipartBody1853154813292683003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353812743,"filename":"image_11042025_05_50_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/11/8bbed4247f6954e0a67b72a5ce095d92.jpg","text":"TemporaryFile(/tmp/multipartBody6428608539221064256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353812743,"filename":"image_11042025_05_50_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/11/dd598eef39f92e59a15915284e81cbe2.jpg","text":"TemporaryFile(/tmp/multipartBody6119868077589620037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353812743,"filename":"image_11042025_05_49_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/11/8f2d6c44d7fb2335289f6d5c88d5deb0.jpg","text":"TemporaryFile(/tmp/multipartBody217611121328297337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353812743,"filename":"image_11042025_05_49_55_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351507046","file1":"1351507043","file0":"1351507038","file4":"1351507052","file5":"1351507055","file3":"1351507049"},"map_files_photo_id_array":[{"photo_id":"1351507055","filename":"file5"},{"photo_id":"1351507046","filename":"file2"},{"photo_id":"1351507052","filename":"file4"},{"photo_id":"1351507043","filename":"file1"},{"photo_id":"1351507038","filename":"file0"},{"photo_id":"1351507049","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351507038":["hashtag1","hashtag2"]},{"1351507052":["hashtag1","hashtag2"]},{"1351507055":["hashtag1","hashtag2"]},{"1351507049":["hashtag1","hashtag2"]},{"1351507043":["hashtag1","hashtag2"]},{"1351507046":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351507038, 1351507052, 1351507055, 1351507049, 1351507043, 1351507046)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.912458419799805 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 08:43:32.508313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/05/50/image_11042025_05_50_35_9478.jpg', '/home/pi/Desktop/images/11042025/05/50/image_11042025_05_50_45_10364.jpg', '/home/pi/Desktop/images/11042025/05/50/image_11042025_05_50_56_10356.jpg', '/home/pi/Desktop/images/11042025/05/50/image_11042025_05_51_05_9370.jpg', '/home/pi/Desktop/images/11042025/05/51/image_11042025_05_51_15_10393.jpg', '/home/pi/Desktop/images/11042025/05/51/image_11042025_05_51_25_9423.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/05/50/image_11042025_05_50_35_9478.jpg
/home/pi/Desktop/images/11042025/05/50/image_11042025_05_50_45_10364.jpg
/home/pi/Desktop/images/11042025/05/50/image_11042025_05_50_56_10356.jpg
/home/pi/Desktop/images/11042025/05/50/image_11042025_05_51_05_9370.jpg
/home/pi/Desktop/images/11042025/05/51/image_11042025_05_51_15_10393.jpg
/home/pi/Desktop/images/11042025/05/51/image_11042025_05_51_25_9423.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351507100","1351507078","1351507102","1351507091","1351507085","1351507109"],"photo_ids_order":["1351507078","1351507085","1351507091","1351507100","1351507102","1351507109"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f222cbf392a437a618be7431dd17cdec.jpg","text":"TemporaryFile(/tmp/multipartBody4402541029332428864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353872993,"filename":"image_11042025_05_51_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/11/47daf48917d30821af2082ae1d411629.jpg","text":"TemporaryFile(/tmp/multipartBody4706977561177319098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353872993,"filename":"image_11042025_05_50_35_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/11/8f812795b376d02af7e390e272cdd559.jpg","text":"TemporaryFile(/tmp/multipartBody8441333869557217800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353872993,"filename":"image_11042025_05_51_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/11/9394ebeea1ad11bb26f4790af238e0a3.jpg","text":"TemporaryFile(/tmp/multipartBody1622337660430401414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353872993,"filename":"image_11042025_05_50_56_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/bca201d5e002f740faa958f9758b15ad.jpg","text":"TemporaryFile(/tmp/multipartBody834281252994834127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353872993,"filename":"image_11042025_05_50_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/11/65c3a167681b570539e54e4e248ef7b6.jpg","text":"TemporaryFile(/tmp/multipartBody7483367727229770526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353872993,"filename":"image_11042025_05_51_25_9423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351507091","file1":"1351507085","file0":"1351507078","file4":"1351507102","file5":"1351507109","file3":"1351507100"},"map_files_photo_id_array":[{"photo_id":"1351507109","filename":"file5"},{"photo_id":"1351507091","filename":"file2"},{"photo_id":"1351507102","filename":"file4"},{"photo_id":"1351507085","filename":"file1"},{"photo_id":"1351507078","filename":"file0"},{"photo_id":"1351507100","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351507100":["hashtag1","hashtag2"]},{"1351507078":["hashtag1","hashtag2"]},{"1351507102":["hashtag1","hashtag2"]},{"1351507091":["hashtag1","hashtag2"]},{"1351507085":["hashtag1","hashtag2"]},{"1351507109":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351507100, 1351507078, 1351507102, 1351507091, 1351507085, 1351507109)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.55756735801697 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 08:44:32.666178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/05/51/image_11042025_05_51_35_10386.jpg', '/home/pi/Desktop/images/11042025/05/51/image_11042025_05_51_46_10371.jpg', '/home/pi/Desktop/images/11042025/05/51/image_11042025_05_51_55_9443.jpg', '/home/pi/Desktop/images/11042025/05/51/image_11042025_05_52_05_10405.jpg', '/home/pi/Desktop/images/11042025/05/52/image_11042025_05_52_15_9403.jpg', '/home/pi/Desktop/images/11042025/05/52/image_11042025_05_52_25_10461.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/05/51/image_11042025_05_51_35_10386.jpg
/home/pi/Desktop/images/11042025/05/51/image_11042025_05_51_46_10371.jpg
/home/pi/Desktop/images/11042025/05/51/image_11042025_05_51_55_9443.jpg
/home/pi/Desktop/images/11042025/05/51/image_11042025_05_52_05_10405.jpg
/home/pi/Desktop/images/11042025/05/52/image_11042025_05_52_15_9403.jpg
/home/pi/Desktop/images/11042025/05/52/image_11042025_05_52_25_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":["1351507243","1351507222","1351507204","1351507236","1351507239","1351507214"],"photo_ids_order":["1351507204","1351507214","1351507222","1351507236","1351507239","1351507243"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f6558a1965e472a358ffa6489d6fee61.jpg","text":"TemporaryFile(/tmp/multipartBody4779896995143662507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353933131,"filename":"image_11042025_05_52_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/11/18e5b8aba038b0032b4408bd4f3705a0.jpg","text":"TemporaryFile(/tmp/multipartBody4462094049564328508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353933131,"filename":"image_11042025_05_51_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/11/1a3b206abb7ebcc12fc1481de26951ea.jpg","text":"TemporaryFile(/tmp/multipartBody8459213785474902462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353933131,"filename":"image_11042025_05_51_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/11/f70c6959798b8102345765544c5ed050.jpg","text":"TemporaryFile(/tmp/multipartBody5200269716071405808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353933131,"filename":"image_11042025_05_52_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/11/13ac5e02c1088dc3a7305cebd5201653.jpg","text":"TemporaryFile(/tmp/multipartBody1934271156485186511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353933131,"filename":"image_11042025_05_52_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/11/43221c28aa4b10193c96bcf0a8fb1af8.jpg","text":"TemporaryFile(/tmp/multipartBody6119198197630534921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353933131,"filename":"image_11042025_05_51_46_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351507222","file1":"1351507214","file0":"1351507204","file4":"1351507239","file5":"1351507243","file3":"1351507236"},"map_files_photo_id_array":[{"photo_id":"1351507243","filename":"file5"},{"photo_id":"1351507222","filename":"file2"},{"photo_id":"1351507239","filename":"file4"},{"photo_id":"1351507214","filename":"file1"},{"photo_id":"1351507204","filename":"file0"},{"photo_id":"1351507236","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351507243":["hashtag1","hashtag2"]},{"1351507222":["hashtag1","hashtag2"]},{"1351507204":["hashtag1","hashtag2"]},{"1351507236":["hashtag1","hashtag2"]},{"1351507239":["hashtag1","hashtag2"]},{"1351507214":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351507243, 1351507222, 1351507204, 1351507236, 1351507239, 1351507214)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.1383843421936 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 08:45:32.888085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/05/52/image_11042025_05_52_36_10467.jpg', '/home/pi/Desktop/images/11042025/05/52/image_11042025_05_52_45_9441.jpg', '/home/pi/Desktop/images/11042025/05/52/image_11042025_05_52_56_10366.jpg', '/home/pi/Desktop/images/11042025/05/52/image_11042025_05_53_05_9374.jpg', '/home/pi/Desktop/images/11042025/05/53/image_11042025_05_53_15_10201.jpg', '/home/pi/Desktop/images/11042025/05/53/image_11042025_05_53_26_10451.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/05/52/image_11042025_05_52_36_10467.jpg
/home/pi/Desktop/images/11042025/05/52/image_11042025_05_52_45_9441.jpg
/home/pi/Desktop/images/11042025/05/52/image_11042025_05_52_56_10366.jpg
/home/pi/Desktop/images/11042025/05/52/image_11042025_05_53_05_9374.jpg
/home/pi/Desktop/images/11042025/05/53/image_11042025_05_53_15_10201.jpg
/home/pi/Desktop/images/11042025/05/53/image_11042025_05_53_26_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":["1351507395","1351507359","1351507350","1351507376","1351507367","1351507390"],"photo_ids_order":["1351507350","1351507359","1351507367","1351507376","1351507390","1351507395"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/cf361895cc57cae3f6eef9c9117b2c83.jpg","text":"TemporaryFile(/tmp/multipartBody8117953432554805561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353993372,"filename":"image_11042025_05_53_26_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4503ff0f090414f535ce00c4c2b97440.jpg","text":"TemporaryFile(/tmp/multipartBody5564606740654490436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353993372,"filename":"image_11042025_05_52_45_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/728b6d7252adcaf7eff6bdf35053b3aa.jpg","text":"TemporaryFile(/tmp/multipartBody7648713415838787332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353993372,"filename":"image_11042025_05_52_36_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/11/7b22225354a81d19705ba9565d9b9aef.jpg","text":"TemporaryFile(/tmp/multipartBody7854029768736757520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353993372,"filename":"image_11042025_05_53_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/11/41c237f6a6229ed15afa58c16939387a.jpg","text":"TemporaryFile(/tmp/multipartBody8459201973032539455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353993372,"filename":"image_11042025_05_52_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/11/c26620b22469da349f2cdc9b9588143d.jpg","text":"TemporaryFile(/tmp/multipartBody125332158540651461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744353993372,"filename":"image_11042025_05_53_15_10201.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351507367","file1":"1351507359","file0":"1351507350","file4":"1351507390","file5":"1351507395","file3":"1351507376"},"map_files_photo_id_array":[{"photo_id":"1351507395","filename":"file5"},{"photo_id":"1351507367","filename":"file2"},{"photo_id":"1351507390","filename":"file4"},{"photo_id":"1351507359","filename":"file1"},{"photo_id":"1351507350","filename":"file0"},{"photo_id":"1351507376","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351507395":["hashtag1","hashtag2"]},{"1351507359":["hashtag1","hashtag2"]},{"1351507350":["hashtag1","hashtag2"]},{"1351507376":["hashtag1","hashtag2"]},{"1351507367":["hashtag1","hashtag2"]},{"1351507390":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351507395, 1351507359, 1351507350, 1351507376, 1351507367, 1351507390)","result":[],"list_datou_current":[]}'
Result OK !
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1351507367 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/11042025/05/52/image_11042025_05_52_56_10366.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1351507367 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/11042025/05/52/image_11042025_05_52_56_10366.jpg";
uploaded 6 photos
time to upload: 57.52222967147827 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-11 08:46:42.226930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 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
2025-04-11 08:47:09.665713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 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-11 08:47:32.237946
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/05/52/image_11042025_05_52_36_10467.jpg', '/home/pi/Desktop/images/11042025/05/52/image_11042025_05_52_45_9441.jpg', '/home/pi/Desktop/images/11042025/05/52/image_11042025_05_52_56_10366.jpg', '/home/pi/Desktop/images/11042025/05/52/image_11042025_05_53_05_9374.jpg', '/home/pi/Desktop/images/11042025/05/53/image_11042025_05_53_15_10201.jpg', '/home/pi/Desktop/images/11042025/05/53/image_11042025_05_53_26_10451.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/05/52/image_11042025_05_52_36_10467.jpg
/home/pi/Desktop/images/11042025/05/52/image_11042025_05_52_45_9441.jpg
/home/pi/Desktop/images/11042025/05/52/image_11042025_05_52_56_10366.jpg
/home/pi/Desktop/images/11042025/05/52/image_11042025_05_53_05_9374.jpg
/home/pi/Desktop/images/11042025/05/53/image_11042025_05_53_15_10201.jpg
/home/pi/Desktop/images/11042025/05/53/image_11042025_05_53_26_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":["1351507687","1351507735","1351507710","1351507728","1351507707","1351507718"],"photo_ids_order":["1351507687","1351507707","1351507710","1351507718","1351507728","1351507735"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/053640dd01bd5a751c159c2add790150.jpg","text":"TemporaryFile(/tmp/multipartBody6501831530574544843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744354112708,"filename":"image_11042025_05_52_36_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/11/06bbf87f0447a10734f7c535b81fede7.jpg","text":"TemporaryFile(/tmp/multipartBody8626324103278098991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744354112708,"filename":"image_11042025_05_53_26_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f8a6a8d6559d6b0b94b8fa555c740041.jpg","text":"TemporaryFile(/tmp/multipartBody608870251087237555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744354112708,"filename":"image_11042025_05_52_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/11/296e79a79539cedfccf4f4782ceef6cc.jpg","text":"TemporaryFile(/tmp/multipartBody2819659997955874224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744354112708,"filename":"image_11042025_05_53_15_10201.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/aa55fbfa91533f056f316213901b84c5.jpg","text":"TemporaryFile(/tmp/multipartBody2574482696995192360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744354112708,"filename":"image_11042025_05_52_45_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/03e81d9849e265407a379d54a1ca7792.jpg","text":"TemporaryFile(/tmp/multipartBody2214148031351116345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744354112708,"filename":"image_11042025_05_53_05_9374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351507710","file1":"1351507707","file0":"1351507687","file4":"1351507728","file5":"1351507735","file3":"1351507718"},"map_files_photo_id_array":[{"photo_id":"1351507735","filename":"file5"},{"photo_id":"1351507710","filename":"file2"},{"photo_id":"1351507728","filename":"file4"},{"photo_id":"1351507707","filename":"file1"},{"photo_id":"1351507687","filename":"file0"},{"photo_id":"1351507718","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351507687":["hashtag1","hashtag2"]},{"1351507735":["hashtag1","hashtag2"]},{"1351507710":["hashtag1","hashtag2"]},{"1351507728":["hashtag1","hashtag2"]},{"1351507707":["hashtag1","hashtag2"]},{"1351507718":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351507687, 1351507735, 1351507710, 1351507728, 1351507707, 1351507718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.14649510383606 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 08:48:32.689619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/05/53/image_11042025_05_53_35_9352.jpg', '/home/pi/Desktop/images/11042025/05/53/image_11042025_05_53_45_10458.jpg', '/home/pi/Desktop/images/11042025/05/54/image_11042025_05_54_16_10385.jpg', '/home/pi/Desktop/images/11042025/05/54/image_11042025_05_54_25_9374.jpg', '/home/pi/Desktop/images/11042025/05/54/image_11042025_05_54_35_10382.jpg', '/home/pi/Desktop/images/11042025/05/55/image_11042025_05_55_15_9445.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/05/53/image_11042025_05_53_35_9352.jpg
/home/pi/Desktop/images/11042025/05/53/image_11042025_05_53_45_10458.jpg
/home/pi/Desktop/images/11042025/05/54/image_11042025_05_54_16_10385.jpg
/home/pi/Desktop/images/11042025/05/54/image_11042025_05_54_25_9374.jpg
/home/pi/Desktop/images/11042025/05/54/image_11042025_05_54_35_10382.jpg
/home/pi/Desktop/images/11042025/05/55/image_11042025_05_55_15_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":["1351507792","1351507797","1351507776","1351507779","1351507787","1351507795"],"photo_ids_order":["1351507776","1351507779","1351507787","1351507792","1351507795","1351507797"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c8594330446b497c1da06ea8faeff30b.jpg","text":"TemporaryFile(/tmp/multipartBody6982395397375692209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744354173209,"filename":"image_11042025_05_54_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/11/ac83137cb61d836bf0094adb6d037672.jpg","text":"TemporaryFile(/tmp/multipartBody8522265052278382335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744354173209,"filename":"image_11042025_05_55_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/11/44521e77f99e6de517a3b7f465a77619.jpg","text":"TemporaryFile(/tmp/multipartBody2705153184281278690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744354173209,"filename":"image_11042025_05_53_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/11/63d09620a74dced3a9530c4fa4444703.jpg","text":"TemporaryFile(/tmp/multipartBody85096509949451131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744354173209,"filename":"image_11042025_05_53_45_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/abcea4c03802a4352ce7376aa36e2fad.jpg","text":"TemporaryFile(/tmp/multipartBody7171801803338481848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744354173209,"filename":"image_11042025_05_54_16_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/11/bb7f4b6cc4ac280513115b68e3b6195f.jpg","text":"TemporaryFile(/tmp/multipartBody5838350394796801128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744354173209,"filename":"image_11042025_05_54_35_10382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351507787","file1":"1351507779","file0":"1351507776","file4":"1351507795","file5":"1351507797","file3":"1351507792"},"map_files_photo_id_array":[{"photo_id":"1351507797","filename":"file5"},{"photo_id":"1351507787","filename":"file2"},{"photo_id":"1351507795","filename":"file4"},{"photo_id":"1351507779","filename":"file1"},{"photo_id":"1351507776","filename":"file0"},{"photo_id":"1351507792","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351507792":["hashtag1","hashtag2"]},{"1351507797":["hashtag1","hashtag2"]},{"1351507776":["hashtag1","hashtag2"]},{"1351507779":["hashtag1","hashtag2"]},{"1351507787":["hashtag1","hashtag2"]},{"1351507795":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351507792, 1351507797, 1351507776, 1351507779, 1351507787, 1351507795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.046722173690796 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 08:49:32.946344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/05/55/image_11042025_05_55_25_10373.jpg', '/home/pi/Desktop/images/11042025/05/55/image_11042025_05_55_35_9407.jpg', '/home/pi/Desktop/images/11042025/05/55/image_11042025_05_55_45_10367.jpg', '/home/pi/Desktop/images/11042025/05/56/image_11042025_05_56_15_10361.jpg', '/home/pi/Desktop/images/11042025/05/56/image_11042025_05_57_05_10370.jpg', '/home/pi/Desktop/images/11042025/05/57/image_11042025_05_57_36_10415.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/05/55/image_11042025_05_55_25_10373.jpg
/home/pi/Desktop/images/11042025/05/55/image_11042025_05_55_35_9407.jpg
/home/pi/Desktop/images/11042025/05/55/image_11042025_05_55_45_10367.jpg
/home/pi/Desktop/images/11042025/05/56/image_11042025_05_56_15_10361.jpg
/home/pi/Desktop/images/11042025/05/56/image_11042025_05_57_05_10370.jpg
/home/pi/Desktop/images/11042025/05/57/image_11042025_05_57_36_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":["1351507816","1351507869","1351507824","1351507914","1351507847","1351507820"],"photo_ids_order":["1351507816","1351507820","1351507824","1351507847","1351507869","1351507914"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c318be4ac469e5b040ba276ce532491c.jpg","text":"TemporaryFile(/tmp/multipartBody5566644598062131231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744354233478,"filename":"image_11042025_05_55_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/11/9af6fc9ce0f733d9cbc11e20fa3439a1.jpg","text":"TemporaryFile(/tmp/multipartBody7539517466995308815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744354233478,"filename":"image_11042025_05_57_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/11/a1d13f41fdefa0e63448b185f9e143af.jpg","text":"TemporaryFile(/tmp/multipartBody266156965813643684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744354233478,"filename":"image_11042025_05_55_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/11/b3cbea915de70ee5756a5d11b719fb5a.jpg","text":"TemporaryFile(/tmp/multipartBody1147681595875659366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744354233478,"filename":"image_11042025_05_57_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/11/e5b7d92144004c01e607dc333d01f344.jpg","text":"TemporaryFile(/tmp/multipartBody4450845716869171119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744354233478,"filename":"image_11042025_05_56_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/11/7995f9e1fd1e5e315aee160a532843b9.jpg","text":"TemporaryFile(/tmp/multipartBody6578493228509947847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744354233478,"filename":"image_11042025_05_55_35_9407.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351507824","file1":"1351507820","file0":"1351507816","file4":"1351507869","file5":"1351507914","file3":"1351507847"},"map_files_photo_id_array":[{"photo_id":"1351507914","filename":"file5"},{"photo_id":"1351507824","filename":"file2"},{"photo_id":"1351507869","filename":"file4"},{"photo_id":"1351507820","filename":"file1"},{"photo_id":"1351507816","filename":"file0"},{"photo_id":"1351507847","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351507816":["hashtag1","hashtag2"]},{"1351507869":["hashtag1","hashtag2"]},{"1351507824":["hashtag1","hashtag2"]},{"1351507914":["hashtag1","hashtag2"]},{"1351507847":["hashtag1","hashtag2"]},{"1351507820":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351507816, 1351507869, 1351507824, 1351507914, 1351507847, 1351507820)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.55081248283386 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 08:50:32.191120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/05/57/image_11042025_05_57_45_9465.jpg', '/home/pi/Desktop/images/11042025/05/57/image_11042025_05_57_55_10384.jpg', '/home/pi/Desktop/images/11042025/05/57/image_11042025_05_58_05_9377.jpg', '/home/pi/Desktop/images/11042025/05/58/image_11042025_05_58_15_10334.jpg', '/home/pi/Desktop/images/11042025/05/58/image_11042025_05_58_25_10360.jpg', '/home/pi/Desktop/images/11042025/05/58/image_11042025_05_58_45_10374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/05/57/image_11042025_05_57_45_9465.jpg
/home/pi/Desktop/images/11042025/05/57/image_11042025_05_57_55_10384.jpg
/home/pi/Desktop/images/11042025/05/57/image_11042025_05_58_05_9377.jpg
/home/pi/Desktop/images/11042025/05/58/image_11042025_05_58_15_10334.jpg
/home/pi/Desktop/images/11042025/05/58/image_11042025_05_58_25_10360.jpg
/home/pi/Desktop/images/11042025/05/58/image_11042025_05_58_45_10374.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351508335","1351508352","1351508355","1351508375","1351508330","1351508321"],"photo_ids_order":["1351508321","1351508330","1351508335","1351508352","1351508355","1351508375"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3d542e356b915de2cdc45637cfe408f8.jpg","text":"TemporaryFile(/tmp/multipartBody8191734960639645270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744354292723,"filename":"image_11042025_05_58_05_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9ed351fcb2b311a6130afcf40afd90fb.jpg","text":"TemporaryFile(/tmp/multipartBody1172143573535246490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744354292723,"filename":"image_11042025_05_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/11/4358d5fbd1924c910abcceed939db03b.jpg","text":"TemporaryFile(/tmp/multipartBody6077368655387864880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744354292723,"filename":"image_11042025_05_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/11/e45f852243f67b0808334420a77f19e8.jpg","text":"TemporaryFile(/tmp/multipartBody8483505846510096843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744354292723,"filename":"image_11042025_05_58_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/11/e28af73bbcc57c7689a643285af26bf9.jpg","text":"TemporaryFile(/tmp/multipartBody670301919360260446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744354292723,"filename":"image_11042025_05_57_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/11/083d2d286b965c4adf5018fd6187867e.jpg","text":"TemporaryFile(/tmp/multipartBody6414260620684939924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744354292723,"filename":"image_11042025_05_57_45_9465.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351508335","file1":"1351508330","file0":"1351508321","file4":"1351508355","file5":"1351508375","file3":"1351508352"},"map_files_photo_id_array":[{"photo_id":"1351508375","filename":"file5"},{"photo_id":"1351508335","filename":"file2"},{"photo_id":"1351508355","filename":"file4"},{"photo_id":"1351508330","filename":"file1"},{"photo_id":"1351508321","filename":"file0"},{"photo_id":"1351508352","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351508335":["hashtag1","hashtag2"]},{"1351508352":["hashtag1","hashtag2"]},{"1351508355":["hashtag1","hashtag2"]},{"1351508375":["hashtag1","hashtag2"]},{"1351508330":["hashtag1","hashtag2"]},{"1351508321":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351508335, 1351508352, 1351508355, 1351508375, 1351508330, 1351508321)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.41248154640198 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 08:51:32.536762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/05/58/image_11042025_05_58_56_10364.jpg', '/home/pi/Desktop/images/11042025/05/58/image_11042025_05_59_05_9337.jpg', '/home/pi/Desktop/images/11042025/05/59/image_11042025_05_59_15_10378.jpg', '/home/pi/Desktop/images/11042025/06/01/image_11042025_06_01_36_9353.jpg', '/home/pi/Desktop/images/11042025/06/01/image_11042025_06_01_46_10398.jpg', '/home/pi/Desktop/images/11042025/06/01/image_11042025_06_01_55_9398.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/05/58/image_11042025_05_58_56_10364.jpg
/home/pi/Desktop/images/11042025/05/58/image_11042025_05_59_05_9337.jpg
/home/pi/Desktop/images/11042025/05/59/image_11042025_05_59_15_10378.jpg
/home/pi/Desktop/images/11042025/06/01/image_11042025_06_01_36_9353.jpg
/home/pi/Desktop/images/11042025/06/01/image_11042025_06_01_46_10398.jpg
/home/pi/Desktop/images/11042025/06/01/image_11042025_06_01_55_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":["1351508553","1351508582","1351508520","1351508508","1351508564","1351508588"],"photo_ids_order":["1351508508","1351508520","1351508553","1351508564","1351508582","1351508588"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e7fe5e2b8f890ce63d094e8cd9f91e4d.jpg","text":"TemporaryFile(/tmp/multipartBody4658404874662805557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744354353062,"filename":"image_11042025_05_59_15_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/84ef2e7103d0353d50fa96be29c580be.jpg","text":"TemporaryFile(/tmp/multipartBody987976676851418722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744354353062,"filename":"image_11042025_06_01_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/11/2cd45a5e20c6cbd8067c37931ce26e1a.jpg","text":"TemporaryFile(/tmp/multipartBody545083491885593468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744354353062,"filename":"image_11042025_05_59_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/11/c1332b1e3a76db6f7eea71ca517e358a.jpg","text":"TemporaryFile(/tmp/multipartBody3076558095665228155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744354353062,"filename":"image_11042025_05_58_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/11/1d256ed14dfeb333e0d16f96ab067df1.jpg","text":"TemporaryFile(/tmp/multipartBody5244586475160669317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744354353062,"filename":"image_11042025_06_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/11/0cae1227c5b2dab2b14053c6327f0c81.jpg","text":"TemporaryFile(/tmp/multipartBody7991814404793045487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744354353062,"filename":"image_11042025_06_01_55_9398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351508553","file1":"1351508520","file0":"1351508508","file4":"1351508582","file5":"1351508588","file3":"1351508564"},"map_files_photo_id_array":[{"photo_id":"1351508588","filename":"file5"},{"photo_id":"1351508553","filename":"file2"},{"photo_id":"1351508582","filename":"file4"},{"photo_id":"1351508520","filename":"file1"},{"photo_id":"1351508508","filename":"file0"},{"photo_id":"1351508564","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351508553":["hashtag1","hashtag2"]},{"1351508582":["hashtag1","hashtag2"]},{"1351508520":["hashtag1","hashtag2"]},{"1351508508":["hashtag1","hashtag2"]},{"1351508564":["hashtag1","hashtag2"]},{"1351508588":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351508553, 1351508582, 1351508520, 1351508508, 1351508564, 1351508588)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.05644512176514 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 08:52:32.593184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/06/02/image_11042025_06_02_16_10382.jpg', '/home/pi/Desktop/images/11042025/06/02/image_11042025_06_02_26_9355.jpg', '/home/pi/Desktop/images/11042025/06/02/image_11042025_06_02_36_10422.jpg', '/home/pi/Desktop/images/11042025/06/03/image_11042025_06_03_15_9351.jpg', '/home/pi/Desktop/images/11042025/06/03/image_11042025_06_03_26_10455.jpg', '/home/pi/Desktop/images/11042025/06/03/image_11042025_06_03_46_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/06/02/image_11042025_06_02_16_10382.jpg
/home/pi/Desktop/images/11042025/06/02/image_11042025_06_02_26_9355.jpg
/home/pi/Desktop/images/11042025/06/02/image_11042025_06_02_36_10422.jpg
/home/pi/Desktop/images/11042025/06/03/image_11042025_06_03_15_9351.jpg
/home/pi/Desktop/images/11042025/06/03/image_11042025_06_03_26_10455.jpg
/home/pi/Desktop/images/11042025/06/03/image_11042025_06_03_46_10353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351508731","1351508911","1351508809","1351508688","1351508763","1351508854"],"photo_ids_order":["1351508688","1351508731","1351508763","1351508809","1351508854","1351508911"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/08c4570343c2ae02bd601291547043c2.jpg","text":"TemporaryFile(/tmp/multipartBody5878681193048281685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744354413123,"filename":"image_11042025_06_02_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/11/7e0ef09f78ae41b4f44d571436972ab9.jpg","text":"TemporaryFile(/tmp/multipartBody4696819643649305268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744354413123,"filename":"image_11042025_06_03_46_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/05badce5cf61a25304a49e2959628bf0.jpg","text":"TemporaryFile(/tmp/multipartBody8580501350063180175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744354413123,"filename":"image_11042025_06_03_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/11/d14dee6b84646059f32fbce5a7889fed.jpg","text":"TemporaryFile(/tmp/multipartBody2405129474928257362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744354413123,"filename":"image_11042025_06_02_16_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/520248ef2c447cc0c48d5d3038952d12.jpg","text":"TemporaryFile(/tmp/multipartBody3218370567023713703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744354413123,"filename":"image_11042025_06_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/11/076d182fe4736a6cdac4bf656201b0ae.jpg","text":"TemporaryFile(/tmp/multipartBody7839830128328773926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744354413123,"filename":"image_11042025_06_03_26_10455.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351508763","file1":"1351508731","file0":"1351508688","file4":"1351508854","file5":"1351508911","file3":"1351508809"},"map_files_photo_id_array":[{"photo_id":"1351508911","filename":"file5"},{"photo_id":"1351508763","filename":"file2"},{"photo_id":"1351508854","filename":"file4"},{"photo_id":"1351508731","filename":"file1"},{"photo_id":"1351508688","filename":"file0"},{"photo_id":"1351508809","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351508731":["hashtag1","hashtag2"]},{"1351508911":["hashtag1","hashtag2"]},{"1351508809":["hashtag1","hashtag2"]},{"1351508688":["hashtag1","hashtag2"]},{"1351508763":["hashtag1","hashtag2"]},{"1351508854":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351508731, 1351508911, 1351508809, 1351508688, 1351508763, 1351508854)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.07102131843567 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 08:53:32.783558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/06/03/image_11042025_06_03_56_10374.jpg', '/home/pi/Desktop/images/11042025/06/03/image_11042025_06_04_06_9427.jpg', '/home/pi/Desktop/images/11042025/06/04/image_11042025_06_04_15_9668.jpg', '/home/pi/Desktop/images/11042025/06/04/image_11042025_06_04_36_10358.jpg', '/home/pi/Desktop/images/11042025/06/04/image_11042025_06_04_45_9354.jpg', '/home/pi/Desktop/images/11042025/06/04/image_11042025_06_05_06_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/06/03/image_11042025_06_03_56_10374.jpg
/home/pi/Desktop/images/11042025/06/03/image_11042025_06_04_06_9427.jpg
/home/pi/Desktop/images/11042025/06/04/image_11042025_06_04_15_9668.jpg
/home/pi/Desktop/images/11042025/06/04/image_11042025_06_04_36_10358.jpg
/home/pi/Desktop/images/11042025/06/04/image_11042025_06_04_45_9354.jpg
/home/pi/Desktop/images/11042025/06/04/image_11042025_06_05_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":["1351509249","1351509300","1351509356","1351509323","1351509415","1351509192"],"photo_ids_order":["1351509192","1351509249","1351509300","1351509323","1351509356","1351509415"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1159308a9ebde7993682095f1298ee3e.jpg","text":"TemporaryFile(/tmp/multipartBody5487360174419219966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744354473304,"filename":"image_11042025_06_04_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/11/adc0fe79b81225495112d24098899129.jpg","text":"TemporaryFile(/tmp/multipartBody8682578163259940740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744354473304,"filename":"image_11042025_06_04_15_9668.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/75ec8445e5c17305dbe04e8693afe599.jpg","text":"TemporaryFile(/tmp/multipartBody5777722168851141507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744354473304,"filename":"image_11042025_06_04_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/11/7df20ff4778c104d604658b4d6fdfb5e.jpg","text":"TemporaryFile(/tmp/multipartBody5964347829899221876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744354473304,"filename":"image_11042025_06_04_36_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/755f6e48406677b23b2daf5e137ad936.jpg","text":"TemporaryFile(/tmp/multipartBody8181453751632170826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744354473304,"filename":"image_11042025_06_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/11/71a31a4fdfb224568173811e35d4b5ed.jpg","text":"TemporaryFile(/tmp/multipartBody6300606543051732779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744354473304,"filename":"image_11042025_06_03_56_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351509300","file1":"1351509249","file0":"1351509192","file4":"1351509356","file5":"1351509415","file3":"1351509323"},"map_files_photo_id_array":[{"photo_id":"1351509415","filename":"file5"},{"photo_id":"1351509300","filename":"file2"},{"photo_id":"1351509356","filename":"file4"},{"photo_id":"1351509249","filename":"file1"},{"photo_id":"1351509192","filename":"file0"},{"photo_id":"1351509323","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351509249":["hashtag1","hashtag2"]},{"1351509300":["hashtag1","hashtag2"]},{"1351509356":["hashtag1","hashtag2"]},{"1351509323":["hashtag1","hashtag2"]},{"1351509415":["hashtag1","hashtag2"]},{"1351509192":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351509249, 1351509300, 1351509356, 1351509323, 1351509415, 1351509192)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.25783896446228 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 08:54:33.015794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/06/05/image_11042025_06_05_16_9359.jpg', '/home/pi/Desktop/images/11042025/06/05/image_11042025_06_05_26_10463.jpg', '/home/pi/Desktop/images/11042025/06/05/image_11042025_06_05_35_9358.jpg', '/home/pi/Desktop/images/11042025/06/05/image_11042025_06_05_46_10465.jpg', '/home/pi/Desktop/images/11042025/06/05/image_11042025_06_05_56_10358.jpg', '/home/pi/Desktop/images/11042025/06/05/image_11042025_06_06_06_9381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/06/05/image_11042025_06_05_16_9359.jpg
/home/pi/Desktop/images/11042025/06/05/image_11042025_06_05_26_10463.jpg
/home/pi/Desktop/images/11042025/06/05/image_11042025_06_05_35_9358.jpg
/home/pi/Desktop/images/11042025/06/05/image_11042025_06_05_46_10465.jpg
/home/pi/Desktop/images/11042025/06/05/image_11042025_06_05_56_10358.jpg
/home/pi/Desktop/images/11042025/06/05/image_11042025_06_06_06_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":["1351509663","1351509561","1351509702","1351509587","1351509683","1351509632"],"photo_ids_order":["1351509561","1351509587","1351509632","1351509663","1351509683","1351509702"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c0ff5d2f6b66d91fc8262407bfd7a7ff.jpg","text":"TemporaryFile(/tmp/multipartBody2346851042018927764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744354533565,"filename":"image_11042025_06_05_46_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1ec9c1f6128113d80d801cefe0d2501b.jpg","text":"TemporaryFile(/tmp/multipartBody6085195639441712653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744354533565,"filename":"image_11042025_06_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/11/e01d3e8bcc051777c86af83d21c677cc.jpg","text":"TemporaryFile(/tmp/multipartBody5314307215099459010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744354533565,"filename":"image_11042025_06_06_06_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/eb322d2128143af036c7eba231932870.jpg","text":"TemporaryFile(/tmp/multipartBody7017845270359147695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744354533565,"filename":"image_11042025_06_05_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/11/0d7e56dd4e8ee75cff0f5969542e820b.jpg","text":"TemporaryFile(/tmp/multipartBody7498816383812830899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744354533565,"filename":"image_11042025_06_05_56_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e9f9d825e880047c51dad5a2f58459af.jpg","text":"TemporaryFile(/tmp/multipartBody2444396612188378955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744354533565,"filename":"image_11042025_06_05_35_9358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351509632","file1":"1351509587","file0":"1351509561","file4":"1351509683","file5":"1351509702","file3":"1351509663"},"map_files_photo_id_array":[{"photo_id":"1351509702","filename":"file5"},{"photo_id":"1351509632","filename":"file2"},{"photo_id":"1351509683","filename":"file4"},{"photo_id":"1351509587","filename":"file1"},{"photo_id":"1351509561","filename":"file0"},{"photo_id":"1351509663","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351509663":["hashtag1","hashtag2"]},{"1351509561":["hashtag1","hashtag2"]},{"1351509702":["hashtag1","hashtag2"]},{"1351509587":["hashtag1","hashtag2"]},{"1351509683":["hashtag1","hashtag2"]},{"1351509632":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351509663, 1351509561, 1351509702, 1351509587, 1351509683, 1351509632)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.00305151939392 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 08:55:32.407206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/06/06/image_11042025_06_06_36_10448.jpg', '/home/pi/Desktop/images/11042025/06/06/image_11042025_06_06_46_10358.jpg', '/home/pi/Desktop/images/11042025/06/06/image_11042025_06_06_55_9363.jpg', '/home/pi/Desktop/images/11042025/06/06/image_11042025_06_07_06_10407.jpg', '/home/pi/Desktop/images/11042025/06/07/image_11042025_06_07_16_10373.jpg', '/home/pi/Desktop/images/11042025/06/07/image_11042025_06_07_26_9473.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/06/06/image_11042025_06_06_36_10448.jpg
/home/pi/Desktop/images/11042025/06/06/image_11042025_06_06_46_10358.jpg
/home/pi/Desktop/images/11042025/06/06/image_11042025_06_06_55_9363.jpg
/home/pi/Desktop/images/11042025/06/06/image_11042025_06_07_06_10407.jpg
/home/pi/Desktop/images/11042025/06/07/image_11042025_06_07_16_10373.jpg
/home/pi/Desktop/images/11042025/06/07/image_11042025_06_07_26_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":["1351509808","1351509798","1351509786","1351509848","1351509778","1351509841"],"photo_ids_order":["1351509778","1351509786","1351509798","1351509808","1351509841","1351509848"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/bbdc18b437363b0f0d13f9a754052e76.jpg","text":"TemporaryFile(/tmp/multipartBody575185546967368699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744354592937,"filename":"image_11042025_06_07_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/11/2bc5b1fecafae07fafbc7f07993996ca.jpg","text":"TemporaryFile(/tmp/multipartBody599607189754750567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744354592937,"filename":"image_11042025_06_06_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/11/39679831d6e2896f329cfc3b7d2a07cf.jpg","text":"TemporaryFile(/tmp/multipartBody4775568155168930394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744354592937,"filename":"image_11042025_06_06_46_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8da0df12e039bb6b68c48f9b865e6e6a.jpg","text":"TemporaryFile(/tmp/multipartBody5073625092870610737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744354592937,"filename":"image_11042025_06_07_26_9473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/92c66d436d93191c346865042ff8e168.jpg","text":"TemporaryFile(/tmp/multipartBody7335485878122772697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744354592937,"filename":"image_11042025_06_06_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/11/dd8daa51a6814a74cf6cf3a8e091b1b8.jpg","text":"TemporaryFile(/tmp/multipartBody4621565938273760653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744354592937,"filename":"image_11042025_06_07_16_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351509798","file1":"1351509786","file0":"1351509778","file4":"1351509841","file5":"1351509848","file3":"1351509808"},"map_files_photo_id_array":[{"photo_id":"1351509848","filename":"file5"},{"photo_id":"1351509798","filename":"file2"},{"photo_id":"1351509841","filename":"file4"},{"photo_id":"1351509786","filename":"file1"},{"photo_id":"1351509778","filename":"file0"},{"photo_id":"1351509808","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351509808":["hashtag1","hashtag2"]},{"1351509798":["hashtag1","hashtag2"]},{"1351509786":["hashtag1","hashtag2"]},{"1351509848":["hashtag1","hashtag2"]},{"1351509778":["hashtag1","hashtag2"]},{"1351509841":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351509808, 1351509798, 1351509786, 1351509848, 1351509778, 1351509841)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.99348998069763 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 08:56:32.538199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/06/07/image_11042025_06_07_36_10348.jpg', '/home/pi/Desktop/images/11042025/06/07/image_11042025_06_07_45_9340.jpg', '/home/pi/Desktop/images/11042025/06/07/image_11042025_06_07_56_10465.jpg', '/home/pi/Desktop/images/11042025/06/07/image_11042025_06_08_06_10356.jpg', '/home/pi/Desktop/images/11042025/06/08/image_11042025_06_08_16_9346.jpg', '/home/pi/Desktop/images/11042025/06/08/image_11042025_06_08_26_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/06/07/image_11042025_06_07_36_10348.jpg
/home/pi/Desktop/images/11042025/06/07/image_11042025_06_07_45_9340.jpg
/home/pi/Desktop/images/11042025/06/07/image_11042025_06_07_56_10465.jpg
/home/pi/Desktop/images/11042025/06/07/image_11042025_06_08_06_10356.jpg
/home/pi/Desktop/images/11042025/06/08/image_11042025_06_08_16_9346.jpg
/home/pi/Desktop/images/11042025/06/08/image_11042025_06_08_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":["1351509984","1351509927","1351509973","1351509952","1351510007","1351509901"],"photo_ids_order":["1351509901","1351509927","1351509952","1351509973","1351509984","1351510007"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0aa64d2ab49de0b9f531b43202450ca7.jpg","text":"TemporaryFile(/tmp/multipartBody7813273609666780996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744354653059,"filename":"image_11042025_06_08_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/11/203f4f1b01dc743b1c3d0fb5d4911c73.jpg","text":"TemporaryFile(/tmp/multipartBody7048931130604914108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744354653059,"filename":"image_11042025_06_07_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/11/f2f59530d4a89c04307f15008a29c22c.jpg","text":"TemporaryFile(/tmp/multipartBody1374686118017156057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744354653059,"filename":"image_11042025_06_08_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/11/24b9fbba2b85af5f3b925d535f383e0b.jpg","text":"TemporaryFile(/tmp/multipartBody4751974738338062124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744354653059,"filename":"image_11042025_06_07_56_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/cf2a3cef31cb3ee6799e3f33764fcd0a.jpg","text":"TemporaryFile(/tmp/multipartBody42050658381657971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744354653059,"filename":"image_11042025_06_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/11/6ee54baa547db2c2be242c59f363df8b.jpg","text":"TemporaryFile(/tmp/multipartBody281960830763098524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744354653059,"filename":"image_11042025_06_07_36_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351509952","file1":"1351509927","file0":"1351509901","file4":"1351509984","file5":"1351510007","file3":"1351509973"},"map_files_photo_id_array":[{"photo_id":"1351510007","filename":"file5"},{"photo_id":"1351509952","filename":"file2"},{"photo_id":"1351509984","filename":"file4"},{"photo_id":"1351509927","filename":"file1"},{"photo_id":"1351509901","filename":"file0"},{"photo_id":"1351509973","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351509984":["hashtag1","hashtag2"]},{"1351509927":["hashtag1","hashtag2"]},{"1351509973":["hashtag1","hashtag2"]},{"1351509952":["hashtag1","hashtag2"]},{"1351510007":["hashtag1","hashtag2"]},{"1351509901":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351509984, 1351509927, 1351509973, 1351509952, 1351510007, 1351509901)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.85102581977844 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 08:57:32.794662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/06/08/image_11042025_06_08_46_10507.jpg', '/home/pi/Desktop/images/11042025/06/08/image_11042025_06_08_56_10461.jpg', '/home/pi/Desktop/images/11042025/06/08/image_11042025_06_09_06_9418.jpg', '/home/pi/Desktop/images/11042025/06/09/image_11042025_06_09_25_9354.jpg', '/home/pi/Desktop/images/11042025/06/09/image_11042025_06_09_36_10367.jpg', '/home/pi/Desktop/images/11042025/06/10/image_11042025_06_10_15_9345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/06/08/image_11042025_06_08_46_10507.jpg
/home/pi/Desktop/images/11042025/06/08/image_11042025_06_08_56_10461.jpg
/home/pi/Desktop/images/11042025/06/08/image_11042025_06_09_06_9418.jpg
/home/pi/Desktop/images/11042025/06/09/image_11042025_06_09_25_9354.jpg
/home/pi/Desktop/images/11042025/06/09/image_11042025_06_09_36_10367.jpg
/home/pi/Desktop/images/11042025/06/10/image_11042025_06_10_15_9345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 08:59:03.615520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/06/08/image_11042025_06_08_46_10507.jpg', '/home/pi/Desktop/images/11042025/06/08/image_11042025_06_08_56_10461.jpg', '/home/pi/Desktop/images/11042025/06/08/image_11042025_06_09_06_9418.jpg', '/home/pi/Desktop/images/11042025/06/09/image_11042025_06_09_25_9354.jpg', '/home/pi/Desktop/images/11042025/06/09/image_11042025_06_09_36_10367.jpg', '/home/pi/Desktop/images/11042025/06/10/image_11042025_06_10_15_9345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/06/08/image_11042025_06_08_46_10507.jpg
/home/pi/Desktop/images/11042025/06/08/image_11042025_06_08_56_10461.jpg
/home/pi/Desktop/images/11042025/06/08/image_11042025_06_09_06_9418.jpg
/home/pi/Desktop/images/11042025/06/09/image_11042025_06_09_25_9354.jpg
/home/pi/Desktop/images/11042025/06/09/image_11042025_06_09_36_10367.jpg
/home/pi/Desktop/images/11042025/06/10/image_11042025_06_10_15_9345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351510411","1351510476","1351510506","1351510565","1351510544","1351510435"],"photo_ids_order":["1351510411","1351510435","1351510476","1351510506","1351510544","1351510565"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/33d21c612c92d990a0b59ba208a295a4.jpg","text":"TemporaryFile(/tmp/multipartBody57418023375213366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744354804402,"filename":"image_11042025_06_08_46_10507.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1e459a777b724afb1256e2478e326ac5.jpg","text":"TemporaryFile(/tmp/multipartBody8596154229888670640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744354804402,"filename":"image_11042025_06_09_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/11/8267514b299154d6cd38cc31d9686622.jpg","text":"TemporaryFile(/tmp/multipartBody5448995660102431082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744354804402,"filename":"image_11042025_06_09_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/11/ec87b640625eb70f9322178f09e731a9.jpg","text":"TemporaryFile(/tmp/multipartBody1571229740228744649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744354804402,"filename":"image_11042025_06_10_15_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6e2a9075224978e05d688ad60a860c5a.jpg","text":"TemporaryFile(/tmp/multipartBody2745447589131157141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744354804402,"filename":"image_11042025_06_09_36_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a1db95475228cec8b2975802f6588a1d.jpg","text":"TemporaryFile(/tmp/multipartBody1742447348182919730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744354804402,"filename":"image_11042025_06_08_56_10461.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351510476","file1":"1351510435","file0":"1351510411","file4":"1351510544","file5":"1351510565","file3":"1351510506"},"map_files_photo_id_array":[{"photo_id":"1351510565","filename":"file5"},{"photo_id":"1351510476","filename":"file2"},{"photo_id":"1351510544","filename":"file4"},{"photo_id":"1351510435","filename":"file1"},{"photo_id":"1351510411","filename":"file0"},{"photo_id":"1351510506","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351510411":["hashtag1","hashtag2"]},{"1351510476":["hashtag1","hashtag2"]},{"1351510506":["hashtag1","hashtag2"]},{"1351510565":["hashtag1","hashtag2"]},{"1351510544":["hashtag1","hashtag2"]},{"1351510435":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351510411, 1351510476, 1351510506, 1351510565, 1351510544, 1351510435)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.193158864974976 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 08:59:52.450854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/06/10/image_11042025_06_10_26_10455.jpg', '/home/pi/Desktop/images/11042025/06/10/image_11042025_06_10_46_9348.jpg', '/home/pi/Desktop/images/11042025/06/10/image_11042025_06_10_56_10458.jpg', '/home/pi/Desktop/images/11042025/06/10/image_11042025_06_11_05_9332.jpg', '/home/pi/Desktop/images/11042025/06/11/image_11042025_06_11_16_10414.jpg', '/home/pi/Desktop/images/11042025/06/11/image_11042025_06_11_26_10405.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/06/10/image_11042025_06_10_26_10455.jpg
/home/pi/Desktop/images/11042025/06/10/image_11042025_06_10_46_9348.jpg
/home/pi/Desktop/images/11042025/06/10/image_11042025_06_10_56_10458.jpg
/home/pi/Desktop/images/11042025/06/10/image_11042025_06_11_05_9332.jpg
/home/pi/Desktop/images/11042025/06/11/image_11042025_06_11_16_10414.jpg
/home/pi/Desktop/images/11042025/06/11/image_11042025_06_11_26_10405.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351510756","1351510822","1351510740","1351510862","1351510727","1351510798"],"photo_ids_order":["1351510727","1351510740","1351510756","1351510798","1351510822","1351510862"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8c195d55d4e85b24bcbb7f92ba95f66e.jpg","text":"TemporaryFile(/tmp/multipartBody4346446408187762857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744354853001,"filename":"image_11042025_06_10_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/11/88c6a1d0e345a6c6b269dd63d81e0f85.jpg","text":"TemporaryFile(/tmp/multipartBody6400009446206231329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744354853001,"filename":"image_11042025_06_11_16_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e520272236e27a0901d1bfc7c1b5fb93.jpg","text":"TemporaryFile(/tmp/multipartBody8069925275914487659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744354853001,"filename":"image_11042025_06_10_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/11/63777c0e1c3d89ed006ed19decf64248.jpg","text":"TemporaryFile(/tmp/multipartBody7682771841755473232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744354853001,"filename":"image_11042025_06_11_26_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f391be8f1c2b45f1d6a9003c36227ba3.jpg","text":"TemporaryFile(/tmp/multipartBody5476946476441556046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744354853001,"filename":"image_11042025_06_10_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/11/78daf189fab56d5f6ca21b0cfff021f7.jpg","text":"TemporaryFile(/tmp/multipartBody5514374906528997771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744354853001,"filename":"image_11042025_06_11_05_9332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351510756","file1":"1351510740","file0":"1351510727","file4":"1351510822","file5":"1351510862","file3":"1351510798"},"map_files_photo_id_array":[{"photo_id":"1351510862","filename":"file5"},{"photo_id":"1351510756","filename":"file2"},{"photo_id":"1351510822","filename":"file4"},{"photo_id":"1351510740","filename":"file1"},{"photo_id":"1351510727","filename":"file0"},{"photo_id":"1351510798","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351510756":["hashtag1","hashtag2"]},{"1351510822":["hashtag1","hashtag2"]},{"1351510740":["hashtag1","hashtag2"]},{"1351510862":["hashtag1","hashtag2"]},{"1351510727":["hashtag1","hashtag2"]},{"1351510798":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351510756, 1351510822, 1351510740, 1351510862, 1351510727, 1351510798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.02401256561279 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 09:00:42.648927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/06/11/image_11042025_06_11_36_9365.jpg', '/home/pi/Desktop/images/11042025/06/11/image_11042025_06_11_46_10425.jpg', '/home/pi/Desktop/images/11042025/06/11/image_11042025_06_11_55_9364.jpg', '/home/pi/Desktop/images/11042025/06/11/image_11042025_06_12_06_10390.jpg', '/home/pi/Desktop/images/11042025/06/12/image_11042025_06_12_16_10362.jpg', '/home/pi/Desktop/images/11042025/06/12/image_11042025_06_12_25_9426.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/06/11/image_11042025_06_11_36_9365.jpg
/home/pi/Desktop/images/11042025/06/11/image_11042025_06_11_46_10425.jpg
/home/pi/Desktop/images/11042025/06/11/image_11042025_06_11_55_9364.jpg
/home/pi/Desktop/images/11042025/06/11/image_11042025_06_12_06_10390.jpg
/home/pi/Desktop/images/11042025/06/12/image_11042025_06_12_16_10362.jpg
/home/pi/Desktop/images/11042025/06/12/image_11042025_06_12_25_9426.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351511088","1351511052","1351511010","1351511141","1351511032","1351511113"],"photo_ids_order":["1351511010","1351511032","1351511052","1351511088","1351511113","1351511141"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/648eba843d5d4dcd1c7e27e6dedc07a8.jpg","text":"TemporaryFile(/tmp/multipartBody7563426611570387822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744354903193,"filename":"image_11042025_06_12_06_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/88d92e8fb1f9f12b5a3bad8cd6522786.jpg","text":"TemporaryFile(/tmp/multipartBody8545726440675370745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744354903193,"filename":"image_11042025_06_11_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/11/d9e4cc685a898698ef04897d934bf5af.jpg","text":"TemporaryFile(/tmp/multipartBody4274831486452835677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744354903193,"filename":"image_11042025_06_11_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/11/22f99a1493e5eb0114d909066d0961f8.jpg","text":"TemporaryFile(/tmp/multipartBody3747874023484397835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744354903193,"filename":"image_11042025_06_12_25_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/60064ed431e503cb8be454a54a709a21.jpg","text":"TemporaryFile(/tmp/multipartBody5753121106565771996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744354903193,"filename":"image_11042025_06_11_46_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d964f859c8b06129146b2db473a03ae9.jpg","text":"TemporaryFile(/tmp/multipartBody6311368124502027872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744354903193,"filename":"image_11042025_06_12_16_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351511052","file1":"1351511032","file0":"1351511010","file4":"1351511113","file5":"1351511141","file3":"1351511088"},"map_files_photo_id_array":[{"photo_id":"1351511141","filename":"file5"},{"photo_id":"1351511052","filename":"file2"},{"photo_id":"1351511113","filename":"file4"},{"photo_id":"1351511032","filename":"file1"},{"photo_id":"1351511010","filename":"file0"},{"photo_id":"1351511088","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351511088":["hashtag1","hashtag2"]},{"1351511052":["hashtag1","hashtag2"]},{"1351511010":["hashtag1","hashtag2"]},{"1351511141":["hashtag1","hashtag2"]},{"1351511032":["hashtag1","hashtag2"]},{"1351511113":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351511088, 1351511052, 1351511010, 1351511141, 1351511032, 1351511113)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.93954563140869 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 09:01:32.859205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/06/12/image_11042025_06_12_36_10374.jpg', '/home/pi/Desktop/images/11042025/06/12/image_11042025_06_12_46_10369.jpg', '/home/pi/Desktop/images/11042025/06/12/image_11042025_06_12_56_9498.jpg', '/home/pi/Desktop/images/11042025/06/12/image_11042025_06_13_06_10345.jpg', '/home/pi/Desktop/images/11042025/06/13/image_11042025_06_13_15_9344.jpg', '/home/pi/Desktop/images/11042025/06/13/image_11042025_06_13_26_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/06/12/image_11042025_06_12_36_10374.jpg
/home/pi/Desktop/images/11042025/06/12/image_11042025_06_12_46_10369.jpg
/home/pi/Desktop/images/11042025/06/12/image_11042025_06_12_56_9498.jpg
/home/pi/Desktop/images/11042025/06/12/image_11042025_06_13_06_10345.jpg
/home/pi/Desktop/images/11042025/06/13/image_11042025_06_13_15_9344.jpg
/home/pi/Desktop/images/11042025/06/13/image_11042025_06_13_26_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":["1351511364","1351511453","1351511405","1351511497","1351511551","1351511602"],"photo_ids_order":["1351511364","1351511405","1351511453","1351511497","1351511551","1351511602"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1f2a78dc1b6ff0cd4be927bb691905f7.jpg","text":"TemporaryFile(/tmp/multipartBody1851805566541152783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744354953379,"filename":"image_11042025_06_12_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/11/77f1c73d919bafddf8701d3e0ed03463.jpg","text":"TemporaryFile(/tmp/multipartBody9186753576488649589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744354953379,"filename":"image_11042025_06_12_56_9498.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/cb31ef503be9c56d4fd12051e423bfb4.jpg","text":"TemporaryFile(/tmp/multipartBody7004368579677648586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744354953379,"filename":"image_11042025_06_12_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/11/33a5fdb0c68f06fbf85bbf5f28ff36ba.jpg","text":"TemporaryFile(/tmp/multipartBody8113629550654847092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744354953379,"filename":"image_11042025_06_13_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/11/e4bdbb94a0ea48d9db9fb8a2e2dfbcb3.jpg","text":"TemporaryFile(/tmp/multipartBody342925512048493225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744354953379,"filename":"image_11042025_06_13_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/11/67eef1b04ae4a2013b0e8b0204314c9a.jpg","text":"TemporaryFile(/tmp/multipartBody3017787848393707442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744354953379,"filename":"image_11042025_06_13_26_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351511453","file1":"1351511405","file0":"1351511364","file4":"1351511551","file5":"1351511602","file3":"1351511497"},"map_files_photo_id_array":[{"photo_id":"1351511602","filename":"file5"},{"photo_id":"1351511453","filename":"file2"},{"photo_id":"1351511551","filename":"file4"},{"photo_id":"1351511405","filename":"file1"},{"photo_id":"1351511364","filename":"file0"},{"photo_id":"1351511497","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351511364":["hashtag1","hashtag2"]},{"1351511453":["hashtag1","hashtag2"]},{"1351511405":["hashtag1","hashtag2"]},{"1351511497":["hashtag1","hashtag2"]},{"1351511551":["hashtag1","hashtag2"]},{"1351511602":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351511364, 1351511453, 1351511405, 1351511497, 1351511551, 1351511602)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.963430643081665 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 09:02:33.085914
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/06/13/image_11042025_06_13_36_10363.jpg', '/home/pi/Desktop/images/11042025/06/13/image_11042025_06_13_46_9461.jpg', '/home/pi/Desktop/images/11042025/06/13/image_11042025_06_13_56_10471.jpg', '/home/pi/Desktop/images/11042025/06/13/image_11042025_06_14_05_9323.jpg', '/home/pi/Desktop/images/11042025/06/14/image_11042025_06_14_16_10381.jpg', '/home/pi/Desktop/images/11042025/06/14/image_11042025_06_14_26_10430.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/06/13/image_11042025_06_13_36_10363.jpg
/home/pi/Desktop/images/11042025/06/13/image_11042025_06_13_46_9461.jpg
/home/pi/Desktop/images/11042025/06/13/image_11042025_06_13_56_10471.jpg
/home/pi/Desktop/images/11042025/06/13/image_11042025_06_14_05_9323.jpg
/home/pi/Desktop/images/11042025/06/14/image_11042025_06_14_16_10381.jpg
/home/pi/Desktop/images/11042025/06/14/image_11042025_06_14_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":["1351512380","1351512244","1351512115","1351512310","1351512075","1351512183"],"photo_ids_order":["1351512075","1351512115","1351512183","1351512244","1351512310","1351512380"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e0cd633175b1dc552f85969187cb1a2b.jpg","text":"TemporaryFile(/tmp/multipartBody4669757832958687115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355013629,"filename":"image_11042025_06_14_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/11/49ce8323cab36b714026eb3b8b59daa4.jpg","text":"TemporaryFile(/tmp/multipartBody619018657817286501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355013629,"filename":"image_11042025_06_14_05_9323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3ed6d7af40ec6f5535b4203befec4fe1.jpg","text":"TemporaryFile(/tmp/multipartBody7434042923779371504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355013629,"filename":"image_11042025_06_13_46_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/11/9b06c8a7cf4bcc7a633d29f889fe4966.jpg","text":"TemporaryFile(/tmp/multipartBody5110530658883904850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355013629,"filename":"image_11042025_06_14_16_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7964b7f766e1f5e5c40652aee4facf77.jpg","text":"TemporaryFile(/tmp/multipartBody6818440614294599369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355013629,"filename":"image_11042025_06_13_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/11/8607d3b34faa70643fa944e6fd43f910.jpg","text":"TemporaryFile(/tmp/multipartBody1669641227844585600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355013629,"filename":"image_11042025_06_13_56_10471.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351512183","file1":"1351512115","file0":"1351512075","file4":"1351512310","file5":"1351512380","file3":"1351512244"},"map_files_photo_id_array":[{"photo_id":"1351512380","filename":"file5"},{"photo_id":"1351512183","filename":"file2"},{"photo_id":"1351512310","filename":"file4"},{"photo_id":"1351512115","filename":"file1"},{"photo_id":"1351512075","filename":"file0"},{"photo_id":"1351512244","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351512380":["hashtag1","hashtag2"]},{"1351512244":["hashtag1","hashtag2"]},{"1351512115":["hashtag1","hashtag2"]},{"1351512310":["hashtag1","hashtag2"]},{"1351512075":["hashtag1","hashtag2"]},{"1351512183":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351512380, 1351512244, 1351512115, 1351512310, 1351512075, 1351512183)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.796242475509644 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 09:03:32.247219
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/06/14/image_11042025_06_14_36_9353.jpg', '/home/pi/Desktop/images/11042025/06/15/image_11042025_06_15_46_10367.jpg', '/home/pi/Desktop/images/11042025/06/15/image_11042025_06_15_56_9351.jpg', '/home/pi/Desktop/images/11042025/06/15/image_11042025_06_16_06_10387.jpg', '/home/pi/Desktop/images/11042025/06/16/image_11042025_06_16_15_9354.jpg', '/home/pi/Desktop/images/11042025/06/16/image_11042025_06_16_26_10408.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/06/14/image_11042025_06_14_36_9353.jpg
/home/pi/Desktop/images/11042025/06/15/image_11042025_06_15_46_10367.jpg
/home/pi/Desktop/images/11042025/06/15/image_11042025_06_15_56_9351.jpg
/home/pi/Desktop/images/11042025/06/15/image_11042025_06_16_06_10387.jpg
/home/pi/Desktop/images/11042025/06/16/image_11042025_06_16_15_9354.jpg
/home/pi/Desktop/images/11042025/06/16/image_11042025_06_16_26_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":["1351513145","1351513115","1351512749","1351513252","1351512964","1351512870"],"photo_ids_order":["1351512749","1351512870","1351512964","1351513115","1351513145","1351513252"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1f062bea91fc46fa4f4b5e53531684b1.jpg","text":"TemporaryFile(/tmp/multipartBody5469868239948228017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355072756,"filename":"image_11042025_06_16_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/11/40f36433ab8662be1c5fdc5d56855ce2.jpg","text":"TemporaryFile(/tmp/multipartBody681282540016357992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355072756,"filename":"image_11042025_06_16_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/11/2cd25235f3f7bbad90ab917a069b16cf.jpg","text":"TemporaryFile(/tmp/multipartBody6694200946039793893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355072756,"filename":"image_11042025_06_14_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/11/2a49e7b47ae7a3cf966486f42c708762.jpg","text":"TemporaryFile(/tmp/multipartBody2153180874351401735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355072756,"filename":"image_11042025_06_16_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/11/8b5ce4646b38a3af76827168e63bf660.jpg","text":"TemporaryFile(/tmp/multipartBody4497536761209281838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355072756,"filename":"image_11042025_06_15_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/11/55bd9fa2ced05ac236014539fa2a7ab7.jpg","text":"TemporaryFile(/tmp/multipartBody1259967373765171393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355072756,"filename":"image_11042025_06_15_46_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351512964","file1":"1351512870","file0":"1351512749","file4":"1351513145","file5":"1351513252","file3":"1351513115"},"map_files_photo_id_array":[{"photo_id":"1351513252","filename":"file5"},{"photo_id":"1351512964","filename":"file2"},{"photo_id":"1351513145","filename":"file4"},{"photo_id":"1351512870","filename":"file1"},{"photo_id":"1351512749","filename":"file0"},{"photo_id":"1351513115","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351513145":["hashtag1","hashtag2"]},{"1351513115":["hashtag1","hashtag2"]},{"1351512749":["hashtag1","hashtag2"]},{"1351513252":["hashtag1","hashtag2"]},{"1351512964":["hashtag1","hashtag2"]},{"1351512870":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351513145, 1351513115, 1351512749, 1351513252, 1351512964, 1351512870)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.356091260910034 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 09:04:32.373456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/06/16/image_11042025_06_16_36_10372.jpg', '/home/pi/Desktop/images/11042025/06/16/image_11042025_06_16_45_9350.jpg', '/home/pi/Desktop/images/11042025/06/16/image_11042025_06_16_56_10490.jpg', '/home/pi/Desktop/images/11042025/06/17/image_11042025_06_17_16_10440.jpg', '/home/pi/Desktop/images/11042025/06/17/image_11042025_06_17_26_10381.jpg', '/home/pi/Desktop/images/11042025/06/17/image_11042025_06_17_46_10482.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/06/16/image_11042025_06_16_36_10372.jpg
/home/pi/Desktop/images/11042025/06/16/image_11042025_06_16_45_9350.jpg
/home/pi/Desktop/images/11042025/06/16/image_11042025_06_16_56_10490.jpg
/home/pi/Desktop/images/11042025/06/17/image_11042025_06_17_16_10440.jpg
/home/pi/Desktop/images/11042025/06/17/image_11042025_06_17_26_10381.jpg
/home/pi/Desktop/images/11042025/06/17/image_11042025_06_17_46_10482.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351513990","1351513724","1351514062","1351513666","1351513522","1351513923"],"photo_ids_order":["1351513522","1351513666","1351513724","1351513923","1351513990","1351514062"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/cb273d227b5123b32b1c251eb9c7521d.jpg","text":"TemporaryFile(/tmp/multipartBody1444109553644952318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355132913,"filename":"image_11042025_06_17_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/11/55036e12dcfa62d3a5edb2fbb806485d.jpg","text":"TemporaryFile(/tmp/multipartBody1634330484232712433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355132913,"filename":"image_11042025_06_16_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/11/a4807efb9fd9d258e570f0cbea96f061.jpg","text":"TemporaryFile(/tmp/multipartBody2494271408294815334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355132913,"filename":"image_11042025_06_17_46_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/11/e3eb5b12fd540efadcde408839ade571.jpg","text":"TemporaryFile(/tmp/multipartBody1067426240951064135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355132913,"filename":"image_11042025_06_16_45_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/170d9f669bf572e6ffc6f81851de75d9.jpg","text":"TemporaryFile(/tmp/multipartBody7954002254144612998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355132913,"filename":"image_11042025_06_16_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/11/951b0d9381d271e6bfc9a86b872fb362.jpg","text":"TemporaryFile(/tmp/multipartBody6865594433915143413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355132913,"filename":"image_11042025_06_17_16_10440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351513724","file1":"1351513666","file0":"1351513522","file4":"1351513990","file5":"1351514062","file3":"1351513923"},"map_files_photo_id_array":[{"photo_id":"1351514062","filename":"file5"},{"photo_id":"1351513724","filename":"file2"},{"photo_id":"1351513990","filename":"file4"},{"photo_id":"1351513666","filename":"file1"},{"photo_id":"1351513522","filename":"file0"},{"photo_id":"1351513923","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351513990":["hashtag1","hashtag2"]},{"1351513724":["hashtag1","hashtag2"]},{"1351514062":["hashtag1","hashtag2"]},{"1351513666":["hashtag1","hashtag2"]},{"1351513522":["hashtag1","hashtag2"]},{"1351513923":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351513990, 1351513724, 1351514062, 1351513666, 1351513522, 1351513923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.226168394088745 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 09:05:32.637884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/06/17/image_11042025_06_17_55_9365.jpg', '/home/pi/Desktop/images/11042025/06/18/image_11042025_06_18_16_10355.jpg', '/home/pi/Desktop/images/11042025/06/18/image_11042025_06_18_26_9398.jpg', '/home/pi/Desktop/images/11042025/06/18/image_11042025_06_18_45_9369.jpg', '/home/pi/Desktop/images/11042025/06/19/image_11042025_06_19_15_9339.jpg', '/home/pi/Desktop/images/11042025/06/19/image_11042025_06_19_26_10400.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/06/17/image_11042025_06_17_55_9365.jpg
/home/pi/Desktop/images/11042025/06/18/image_11042025_06_18_16_10355.jpg
/home/pi/Desktop/images/11042025/06/18/image_11042025_06_18_26_9398.jpg
/home/pi/Desktop/images/11042025/06/18/image_11042025_06_18_45_9369.jpg
/home/pi/Desktop/images/11042025/06/19/image_11042025_06_19_15_9339.jpg
/home/pi/Desktop/images/11042025/06/19/image_11042025_06_19_26_10400.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351515079","1351514749","1351514863","1351514523","1351514625","1351514957"],"photo_ids_order":["1351514523","1351514625","1351514749","1351514863","1351514957","1351515079"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/992ac0c41f78360e86267711cafe09cb.jpg","text":"TemporaryFile(/tmp/multipartBody1697052747427600469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355193155,"filename":"image_11042025_06_19_26_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a38f876bd3c46443e3fd490576c53296.jpg","text":"TemporaryFile(/tmp/multipartBody8526299893575111293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355193155,"filename":"image_11042025_06_18_26_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/bd9d84c92dbc6fdb00210addc9aabcee.jpg","text":"TemporaryFile(/tmp/multipartBody5639518901055338570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355193155,"filename":"image_11042025_06_18_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/11/59960f2d43afc3a81353b1e14bd05596.jpg","text":"TemporaryFile(/tmp/multipartBody1294712813159092356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355193155,"filename":"image_11042025_06_17_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/11/f0e7289de98610bd61c6e4990b0339ef.jpg","text":"TemporaryFile(/tmp/multipartBody3203494261853718094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355193155,"filename":"image_11042025_06_18_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/11/9dbe2eca80c721b7791437f64bdd7776.jpg","text":"TemporaryFile(/tmp/multipartBody5777619895832446474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355193155,"filename":"image_11042025_06_19_15_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351514749","file1":"1351514625","file0":"1351514523","file4":"1351514957","file5":"1351515079","file3":"1351514863"},"map_files_photo_id_array":[{"photo_id":"1351515079","filename":"file5"},{"photo_id":"1351514749","filename":"file2"},{"photo_id":"1351514957","filename":"file4"},{"photo_id":"1351514625","filename":"file1"},{"photo_id":"1351514523","filename":"file0"},{"photo_id":"1351514863","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351515079":["hashtag1","hashtag2"]},{"1351514749":["hashtag1","hashtag2"]},{"1351514863":["hashtag1","hashtag2"]},{"1351514523":["hashtag1","hashtag2"]},{"1351514625":["hashtag1","hashtag2"]},{"1351514957":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351515079, 1351514749, 1351514863, 1351514523, 1351514625, 1351514957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.416364669799805 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 09:06:32.834823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/06/19/image_11042025_06_19_46_9352.jpg', '/home/pi/Desktop/images/11042025/06/19/image_11042025_06_19_56_10448.jpg', '/home/pi/Desktop/images/11042025/06/19/image_11042025_06_20_05_9354.jpg', '/home/pi/Desktop/images/11042025/06/20/image_11042025_06_20_26_10369.jpg', '/home/pi/Desktop/images/11042025/06/20/image_11042025_06_20_35_9356.jpg', '/home/pi/Desktop/images/11042025/06/20/image_11042025_06_20_46_10439.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/06/19/image_11042025_06_19_46_9352.jpg
/home/pi/Desktop/images/11042025/06/19/image_11042025_06_19_56_10448.jpg
/home/pi/Desktop/images/11042025/06/19/image_11042025_06_20_05_9354.jpg
/home/pi/Desktop/images/11042025/06/20/image_11042025_06_20_26_10369.jpg
/home/pi/Desktop/images/11042025/06/20/image_11042025_06_20_35_9356.jpg
/home/pi/Desktop/images/11042025/06/20/image_11042025_06_20_46_10439.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351515792","1351515400","1351515867","1351515698","1351515482","1351515566"],"photo_ids_order":["1351515400","1351515482","1351515566","1351515698","1351515792","1351515867"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/02ee870679f94fce8095885c14203b41.jpg","text":"TemporaryFile(/tmp/multipartBody4930931224378628506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355253361,"filename":"image_11042025_06_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/11/f42741a0bfe267316c2e7373aba8e8e5.jpg","text":"TemporaryFile(/tmp/multipartBody7941650263073761247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355253361,"filename":"image_11042025_06_19_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/11/98d2d32d3141fb2a81cc13b84c0c36a6.jpg","text":"TemporaryFile(/tmp/multipartBody8532296397303077369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355253361,"filename":"image_11042025_06_20_46_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/cad46d60e7077f363856397e788c5987.jpg","text":"TemporaryFile(/tmp/multipartBody7060206096784296978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355253361,"filename":"image_11042025_06_20_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/11/2f5c2bda240a3d7994cc84ae0cb9ae73.jpg","text":"TemporaryFile(/tmp/multipartBody7829025529985083678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355253361,"filename":"image_11042025_06_19_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/11/59b1a5c83e40d357131182685c70330b.jpg","text":"TemporaryFile(/tmp/multipartBody5093964572043033771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355253361,"filename":"image_11042025_06_20_05_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351515566","file1":"1351515482","file0":"1351515400","file4":"1351515792","file5":"1351515867","file3":"1351515698"},"map_files_photo_id_array":[{"photo_id":"1351515867","filename":"file5"},{"photo_id":"1351515566","filename":"file2"},{"photo_id":"1351515792","filename":"file4"},{"photo_id":"1351515482","filename":"file1"},{"photo_id":"1351515400","filename":"file0"},{"photo_id":"1351515698","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351515792":["hashtag1","hashtag2"]},{"1351515400":["hashtag1","hashtag2"]},{"1351515867":["hashtag1","hashtag2"]},{"1351515698":["hashtag1","hashtag2"]},{"1351515482":["hashtag1","hashtag2"]},{"1351515566":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351515792, 1351515400, 1351515867, 1351515698, 1351515482, 1351515566)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.43248772621155 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 09:07:32.229796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/06/20/image_11042025_06_20_56_10368.jpg', '/home/pi/Desktop/images/11042025/06/21/image_11042025_06_21_16_10341.jpg', '/home/pi/Desktop/images/11042025/06/21/image_11042025_06_21_36_10444.jpg', '/home/pi/Desktop/images/11042025/06/21/image_11042025_06_21_46_10365.jpg', '/home/pi/Desktop/images/11042025/06/21/image_11042025_06_21_56_9350.jpg', '/home/pi/Desktop/images/11042025/06/22/image_11042025_06_22_36_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/06/20/image_11042025_06_20_56_10368.jpg
/home/pi/Desktop/images/11042025/06/21/image_11042025_06_21_16_10341.jpg
/home/pi/Desktop/images/11042025/06/21/image_11042025_06_21_36_10444.jpg
/home/pi/Desktop/images/11042025/06/21/image_11042025_06_21_46_10365.jpg
/home/pi/Desktop/images/11042025/06/21/image_11042025_06_21_56_9350.jpg
/home/pi/Desktop/images/11042025/06/22/image_11042025_06_22_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":["1351516201","1351516152","1351516397","1351516358","1351516319","1351516276"],"photo_ids_order":["1351516152","1351516201","1351516276","1351516319","1351516358","1351516397"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ab51c3dca69265a1f03f33c05fd4403d.jpg","text":"TemporaryFile(/tmp/multipartBody2285035971379279722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355312744,"filename":"image_11042025_06_21_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/11/fb813db691fe0bad43b6560482c51ea6.jpg","text":"TemporaryFile(/tmp/multipartBody8398885300982535959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355312744,"filename":"image_11042025_06_20_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/11/7529471f2ad1f8de4e337326f0cca79b.jpg","text":"TemporaryFile(/tmp/multipartBody5100740687995503463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355312744,"filename":"image_11042025_06_22_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/11/b23b4f6e311658d66d4a0f904b5025ae.jpg","text":"TemporaryFile(/tmp/multipartBody7473433190951018045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355312744,"filename":"image_11042025_06_21_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/11/9544123d0ea21aa29eb286fc90974648.jpg","text":"TemporaryFile(/tmp/multipartBody4387255300761108371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355312744,"filename":"image_11042025_06_21_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/11/804694aecb1914d030960add8b5202a0.jpg","text":"TemporaryFile(/tmp/multipartBody7153762208476196536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355312744,"filename":"image_11042025_06_21_36_10444.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351516276","file1":"1351516201","file0":"1351516152","file4":"1351516358","file5":"1351516397","file3":"1351516319"},"map_files_photo_id_array":[{"photo_id":"1351516397","filename":"file5"},{"photo_id":"1351516276","filename":"file2"},{"photo_id":"1351516358","filename":"file4"},{"photo_id":"1351516201","filename":"file1"},{"photo_id":"1351516152","filename":"file0"},{"photo_id":"1351516319","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351516201":["hashtag1","hashtag2"]},{"1351516152":["hashtag1","hashtag2"]},{"1351516397":["hashtag1","hashtag2"]},{"1351516358":["hashtag1","hashtag2"]},{"1351516319":["hashtag1","hashtag2"]},{"1351516276":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351516201, 1351516152, 1351516397, 1351516358, 1351516319, 1351516276)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.257986307144165 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 09:08:32.450718
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/06/22/image_11042025_06_22_45_9349.jpg', '/home/pi/Desktop/images/11042025/06/22/image_11042025_06_22_56_10489.jpg', '/home/pi/Desktop/images/11042025/06/22/image_11042025_06_23_05_9344.jpg', '/home/pi/Desktop/images/11042025/06/23/image_11042025_06_23_16_10468.jpg', '/home/pi/Desktop/images/11042025/06/23/image_11042025_06_23_35_9353.jpg', '/home/pi/Desktop/images/11042025/06/23/image_11042025_06_23_46_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/06/22/image_11042025_06_22_45_9349.jpg
/home/pi/Desktop/images/11042025/06/22/image_11042025_06_22_56_10489.jpg
/home/pi/Desktop/images/11042025/06/22/image_11042025_06_23_05_9344.jpg
/home/pi/Desktop/images/11042025/06/23/image_11042025_06_23_16_10468.jpg
/home/pi/Desktop/images/11042025/06/23/image_11042025_06_23_35_9353.jpg
/home/pi/Desktop/images/11042025/06/23/image_11042025_06_23_46_10368.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":["1351516878","1351516778","1351517120","1351516916","1351516963","1351516837"],"photo_ids_order":["1351516778","1351516837","1351516878","1351516916","1351516963","1351517120"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/dc318601e87cb9080de6085ca1b821c3.jpg","text":"TemporaryFile(/tmp/multipartBody2936426484599064824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355373061,"filename":"image_11042025_06_23_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/11/2952dd167506800b5d47fb00ab542033.jpg","text":"TemporaryFile(/tmp/multipartBody1579237093268088712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355373061,"filename":"image_11042025_06_22_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/11/ab325c7ffaa90bbe04cd5822f8d890b0.jpg","text":"TemporaryFile(/tmp/multipartBody1240107904290832904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355373061,"filename":"image_11042025_06_23_46_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8d6dc8dfbbe3b99e91cb1acb0038730c.jpg","text":"TemporaryFile(/tmp/multipartBody3471575583471351692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355373061,"filename":"image_11042025_06_23_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/11/6d3023570e38dc153d3b233a6755e96e.jpg","text":"TemporaryFile(/tmp/multipartBody93315328385500235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355373061,"filename":"image_11042025_06_23_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/11/f59db93d68056b14e4757d3c05536d69.jpg","text":"TemporaryFile(/tmp/multipartBody1753371417285049039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355373061,"filename":"image_11042025_06_22_56_10489.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351516878","file1":"1351516837","file0":"1351516778","file4":"1351516963","file5":"1351517120","file3":"1351516916"},"map_files_photo_id_array":[{"photo_id":"1351517120","filename":"file5"},{"photo_id":"1351516878","filename":"file2"},{"photo_id":"1351516963","filename":"file4"},{"photo_id":"1351516837","filename":"file1"},{"photo_id":"1351516778","filename":"file0"},{"photo_id":"1351516916","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351516878":["hashtag1","hashtag2"]},{"1351516778":["hashtag1","hashtag2"]},{"1351517120":["hashtag1","hashtag2"]},{"1351516916":["hashtag1","hashtag2"]},{"1351516963":["hashtag1","hashtag2"]},{"1351516837":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351516878, 1351516778, 1351517120, 1351516916, 1351516963, 1351516837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.57908511161804 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 09:09:42.554087
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/06/23/image_11042025_06_23_56_10365.jpg', '/home/pi/Desktop/images/11042025/06/23/image_11042025_06_24_06_9346.jpg', '/home/pi/Desktop/images/11042025/06/24/image_11042025_06_24_16_10441.jpg', '/home/pi/Desktop/images/11042025/06/24/image_11042025_06_25_06_10451.jpg', '/home/pi/Desktop/images/11042025/06/25/image_11042025_06_25_15_9364.jpg', '/home/pi/Desktop/images/11042025/06/25/image_11042025_06_25_26_10466.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/06/23/image_11042025_06_23_56_10365.jpg
/home/pi/Desktop/images/11042025/06/23/image_11042025_06_24_06_9346.jpg
/home/pi/Desktop/images/11042025/06/24/image_11042025_06_24_16_10441.jpg
/home/pi/Desktop/images/11042025/06/24/image_11042025_06_25_06_10451.jpg
/home/pi/Desktop/images/11042025/06/25/image_11042025_06_25_15_9364.jpg
/home/pi/Desktop/images/11042025/06/25/image_11042025_06_25_26_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":["1351517361","1351517562","1351517427","1351517477","1351517642","1351517290"],"photo_ids_order":["1351517290","1351517361","1351517427","1351517477","1351517562","1351517642"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/178e12149873124d85a7a724138e426a.jpg","text":"TemporaryFile(/tmp/multipartBody799871303456112304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355443077,"filename":"image_11042025_06_24_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/11/bd440527342029c4696e7d5d65226b5f.jpg","text":"TemporaryFile(/tmp/multipartBody835824912359834740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355443077,"filename":"image_11042025_06_25_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/11/3c9546b198a0df07f3d5ab31eedcf89f.jpg","text":"TemporaryFile(/tmp/multipartBody1765543409787304488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355443077,"filename":"image_11042025_06_24_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/11/c89be5687b2e81987f167298cd6fbb57.jpg","text":"TemporaryFile(/tmp/multipartBody197097307146732215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355443077,"filename":"image_11042025_06_25_06_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/db97c2a48836831bd31f3aef9ac704ba.jpg","text":"TemporaryFile(/tmp/multipartBody8376242253345693367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355443077,"filename":"image_11042025_06_25_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/11/6b473cf2bb432b2027d57c9aa94723f3.jpg","text":"TemporaryFile(/tmp/multipartBody6593250564877905548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355443077,"filename":"image_11042025_06_23_56_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351517427","file1":"1351517361","file0":"1351517290","file4":"1351517562","file5":"1351517642","file3":"1351517477"},"map_files_photo_id_array":[{"photo_id":"1351517642","filename":"file5"},{"photo_id":"1351517427","filename":"file2"},{"photo_id":"1351517562","filename":"file4"},{"photo_id":"1351517361","filename":"file1"},{"photo_id":"1351517290","filename":"file0"},{"photo_id":"1351517477","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351517361":["hashtag1","hashtag2"]},{"1351517562":["hashtag1","hashtag2"]},{"1351517427":["hashtag1","hashtag2"]},{"1351517477":["hashtag1","hashtag2"]},{"1351517642":["hashtag1","hashtag2"]},{"1351517290":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351517361, 1351517562, 1351517427, 1351517477, 1351517642, 1351517290)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.425798654556274 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 09:10:32.727374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/06/25/image_11042025_06_25_36_10361.jpg', '/home/pi/Desktop/images/11042025/06/25/image_11042025_06_25_46_9348.jpg', '/home/pi/Desktop/images/11042025/06/25/image_11042025_06_25_56_10376.jpg', '/home/pi/Desktop/images/11042025/06/25/image_11042025_06_26_06_10372.jpg', '/home/pi/Desktop/images/11042025/06/26/image_11042025_06_26_16_9353.jpg', '/home/pi/Desktop/images/11042025/06/26/image_11042025_06_26_26_10434.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/06/25/image_11042025_06_25_36_10361.jpg
/home/pi/Desktop/images/11042025/06/25/image_11042025_06_25_46_9348.jpg
/home/pi/Desktop/images/11042025/06/25/image_11042025_06_25_56_10376.jpg
/home/pi/Desktop/images/11042025/06/25/image_11042025_06_26_06_10372.jpg
/home/pi/Desktop/images/11042025/06/26/image_11042025_06_26_16_9353.jpg
/home/pi/Desktop/images/11042025/06/26/image_11042025_06_26_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":["1351517865","1351517931","1351517894","1351518052","1351518124","1351517988"],"photo_ids_order":["1351517865","1351517894","1351517931","1351517988","1351518052","1351518124"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/02635b16508f0cf6f79bca0f87c2aa7a.jpg","text":"TemporaryFile(/tmp/multipartBody5237843317331087975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355493271,"filename":"image_11042025_06_25_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/11/7dca79a2bece07c2d0707abad9a776c0.jpg","text":"TemporaryFile(/tmp/multipartBody2570367773540408531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355493271,"filename":"image_11042025_06_25_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/11/0383b58228e378bc687b2492c31b963a.jpg","text":"TemporaryFile(/tmp/multipartBody4691943575258673739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355493271,"filename":"image_11042025_06_25_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/11/b1514e81b58fe3246ff6d416db7e3027.jpg","text":"TemporaryFile(/tmp/multipartBody5161124938552931291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355493271,"filename":"image_11042025_06_26_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/11/05ef55deb1641fe907c57ae8268f0ab6.jpg","text":"TemporaryFile(/tmp/multipartBody8564874040966918766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355493271,"filename":"image_11042025_06_26_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/11/ca82945c0c62da5427aea11ff408aa0c.jpg","text":"TemporaryFile(/tmp/multipartBody4836215788505195597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355493271,"filename":"image_11042025_06_26_06_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351517931","file1":"1351517894","file0":"1351517865","file4":"1351518052","file5":"1351518124","file3":"1351517988"},"map_files_photo_id_array":[{"photo_id":"1351518124","filename":"file5"},{"photo_id":"1351517931","filename":"file2"},{"photo_id":"1351518052","filename":"file4"},{"photo_id":"1351517894","filename":"file1"},{"photo_id":"1351517865","filename":"file0"},{"photo_id":"1351517988","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351517865":["hashtag1","hashtag2"]},{"1351517931":["hashtag1","hashtag2"]},{"1351517894":["hashtag1","hashtag2"]},{"1351518052":["hashtag1","hashtag2"]},{"1351518124":["hashtag1","hashtag2"]},{"1351517988":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351517865, 1351517931, 1351517894, 1351518052, 1351518124, 1351517988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.15951657295227 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 09:11:33.035534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/06/26/image_11042025_06_26_46_10370.jpg', '/home/pi/Desktop/images/11042025/06/26/image_11042025_06_26_56_10369.jpg', '/home/pi/Desktop/images/11042025/06/26/image_11042025_06_27_06_9354.jpg', '/home/pi/Desktop/images/11042025/06/27/image_11042025_06_27_26_10373.jpg', '/home/pi/Desktop/images/11042025/06/27/image_11042025_06_27_36_9345.jpg', '/home/pi/Desktop/images/11042025/06/27/image_11042025_06_27_46_10407.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/06/26/image_11042025_06_26_46_10370.jpg
/home/pi/Desktop/images/11042025/06/26/image_11042025_06_26_56_10369.jpg
/home/pi/Desktop/images/11042025/06/26/image_11042025_06_27_06_9354.jpg
/home/pi/Desktop/images/11042025/06/27/image_11042025_06_27_26_10373.jpg
/home/pi/Desktop/images/11042025/06/27/image_11042025_06_27_36_9345.jpg
/home/pi/Desktop/images/11042025/06/27/image_11042025_06_27_46_10407.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351518581","1351518497","1351518470","1351518545","1351518728","1351518640"],"photo_ids_order":["1351518470","1351518497","1351518545","1351518581","1351518640","1351518728"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/47c03575d2b0e504eed08a9106e9ef55.jpg","text":"TemporaryFile(/tmp/multipartBody7020168889429200016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355553562,"filename":"image_11042025_06_27_26_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8af4acc7a0a959e0d1be24ada6174e46.jpg","text":"TemporaryFile(/tmp/multipartBody1405359416251909980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355553562,"filename":"image_11042025_06_26_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/11/351c0b85234641bb99a33c4e842703a7.jpg","text":"TemporaryFile(/tmp/multipartBody6141672433546380955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355553562,"filename":"image_11042025_06_26_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/11/2e66e7bd06395a8ad3fc4803b0ebb088.jpg","text":"TemporaryFile(/tmp/multipartBody91534960435342888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355553562,"filename":"image_11042025_06_27_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/11/d7f3265d0bf83612b51a3d5376926869.jpg","text":"TemporaryFile(/tmp/multipartBody3749277839754787562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355553562,"filename":"image_11042025_06_27_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/11/210022089bae5abc4a0d160aa35bedad.jpg","text":"TemporaryFile(/tmp/multipartBody7548749500944833644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355553562,"filename":"image_11042025_06_27_36_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351518545","file1":"1351518497","file0":"1351518470","file4":"1351518640","file5":"1351518728","file3":"1351518581"},"map_files_photo_id_array":[{"photo_id":"1351518728","filename":"file5"},{"photo_id":"1351518545","filename":"file2"},{"photo_id":"1351518640","filename":"file4"},{"photo_id":"1351518497","filename":"file1"},{"photo_id":"1351518470","filename":"file0"},{"photo_id":"1351518581","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351518581":["hashtag1","hashtag2"]},{"1351518497":["hashtag1","hashtag2"]},{"1351518470":["hashtag1","hashtag2"]},{"1351518545":["hashtag1","hashtag2"]},{"1351518728":["hashtag1","hashtag2"]},{"1351518640":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351518581, 1351518497, 1351518470, 1351518545, 1351518728, 1351518640)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.13155436515808 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 09:12:32.154578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/06/27/image_11042025_06_27_55_9395.jpg', '/home/pi/Desktop/images/11042025/06/27/image_11042025_06_28_06_10365.jpg', '/home/pi/Desktop/images/11042025/06/28/image_11042025_06_28_16_10359.jpg', '/home/pi/Desktop/images/11042025/06/28/image_11042025_06_28_25_9354.jpg', '/home/pi/Desktop/images/11042025/06/28/image_11042025_06_28_36_10475.jpg', '/home/pi/Desktop/images/11042025/06/29/image_11042025_06_29_15_9355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/06/27/image_11042025_06_27_55_9395.jpg
/home/pi/Desktop/images/11042025/06/27/image_11042025_06_28_06_10365.jpg
/home/pi/Desktop/images/11042025/06/28/image_11042025_06_28_16_10359.jpg
/home/pi/Desktop/images/11042025/06/28/image_11042025_06_28_25_9354.jpg
/home/pi/Desktop/images/11042025/06/28/image_11042025_06_28_36_10475.jpg
/home/pi/Desktop/images/11042025/06/29/image_11042025_06_29_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":["1351519099","1351519288","1351519182","1351519236","1351519143","1351519044"],"photo_ids_order":["1351519044","1351519099","1351519143","1351519182","1351519236","1351519288"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/fcba1dc11f39c025e4e3c9f615eb7c28.jpg","text":"TemporaryFile(/tmp/multipartBody3738091163395411391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355612671,"filename":"image_11042025_06_28_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/11/f9cb34cacd569d1c80489de29fd55dc0.jpg","text":"TemporaryFile(/tmp/multipartBody4848667921055875872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355612671,"filename":"image_11042025_06_29_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/11/a86c0f8e91b33d2a45b4a8eee30be36b.jpg","text":"TemporaryFile(/tmp/multipartBody402365832470389715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355612671,"filename":"image_11042025_06_28_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/11/57c1324b208aaf55c4194b0a5de62da4.jpg","text":"TemporaryFile(/tmp/multipartBody3315444083700487368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355612671,"filename":"image_11042025_06_28_36_10475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/bfc68cf790af3e435af3482af9b10d2b.jpg","text":"TemporaryFile(/tmp/multipartBody504068646080047948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355612671,"filename":"image_11042025_06_28_16_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/43d5ee9134b445ee0329ef116334a75c.jpg","text":"TemporaryFile(/tmp/multipartBody577442459033251238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355612671,"filename":"image_11042025_06_27_55_9395.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351519143","file1":"1351519099","file0":"1351519044","file4":"1351519236","file5":"1351519288","file3":"1351519182"},"map_files_photo_id_array":[{"photo_id":"1351519288","filename":"file5"},{"photo_id":"1351519143","filename":"file2"},{"photo_id":"1351519236","filename":"file4"},{"photo_id":"1351519099","filename":"file1"},{"photo_id":"1351519044","filename":"file0"},{"photo_id":"1351519182","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351519099":["hashtag1","hashtag2"]},{"1351519288":["hashtag1","hashtag2"]},{"1351519182":["hashtag1","hashtag2"]},{"1351519236":["hashtag1","hashtag2"]},{"1351519143":["hashtag1","hashtag2"]},{"1351519044":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351519099, 1351519288, 1351519182, 1351519236, 1351519143, 1351519044)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.30008912086487 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 09:13:32.413299
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/06/29/image_11042025_06_29_26_10378.jpg', '/home/pi/Desktop/images/11042025/06/31/image_11042025_06_31_16_10377.jpg', '/home/pi/Desktop/images/11042025/06/31/image_11042025_06_31_26_9374.jpg', '/home/pi/Desktop/images/11042025/06/31/image_11042025_06_31_45_9365.jpg', '/home/pi/Desktop/images/11042025/06/31/image_11042025_06_31_56_10453.jpg', '/home/pi/Desktop/images/11042025/06/31/image_11042025_06_32_06_10412.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/06/29/image_11042025_06_29_26_10378.jpg
/home/pi/Desktop/images/11042025/06/31/image_11042025_06_31_16_10377.jpg
/home/pi/Desktop/images/11042025/06/31/image_11042025_06_31_26_9374.jpg
/home/pi/Desktop/images/11042025/06/31/image_11042025_06_31_45_9365.jpg
/home/pi/Desktop/images/11042025/06/31/image_11042025_06_31_56_10453.jpg
/home/pi/Desktop/images/11042025/06/31/image_11042025_06_32_06_10412.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351519745","1351519637","1351519776","1351519683","1351519716","1351519658"],"photo_ids_order":["1351519637","1351519658","1351519683","1351519716","1351519745","1351519776"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/17c0732a527ed8ece1681ea2320188c6.jpg","text":"TemporaryFile(/tmp/multipartBody5139061292140375418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355672944,"filename":"image_11042025_06_31_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/11/8a0f85fbe1357effb4855bc0294e92ef.jpg","text":"TemporaryFile(/tmp/multipartBody7166066500667365500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355672944,"filename":"image_11042025_06_29_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/11/ee265aedd771730b9c3aa69cebef2906.jpg","text":"TemporaryFile(/tmp/multipartBody2864101623936127383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355672944,"filename":"image_11042025_06_32_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/11/159ff80b37e1efa1507dc469f91c5ba0.jpg","text":"TemporaryFile(/tmp/multipartBody421897352925969617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355672944,"filename":"image_11042025_06_31_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/11/dbbbb09468426c561ce7d28e59725ba6.jpg","text":"TemporaryFile(/tmp/multipartBody3303912051146576975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355672944,"filename":"image_11042025_06_31_45_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/bb945cadf37a42be357752c496e5cb5c.jpg","text":"TemporaryFile(/tmp/multipartBody5654565287716010962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355672944,"filename":"image_11042025_06_31_16_10377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351519683","file1":"1351519658","file0":"1351519637","file4":"1351519745","file5":"1351519776","file3":"1351519716"},"map_files_photo_id_array":[{"photo_id":"1351519776","filename":"file5"},{"photo_id":"1351519683","filename":"file2"},{"photo_id":"1351519745","filename":"file4"},{"photo_id":"1351519658","filename":"file1"},{"photo_id":"1351519637","filename":"file0"},{"photo_id":"1351519716","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351519745":["hashtag1","hashtag2"]},{"1351519637":["hashtag1","hashtag2"]},{"1351519776":["hashtag1","hashtag2"]},{"1351519683":["hashtag1","hashtag2"]},{"1351519716":["hashtag1","hashtag2"]},{"1351519658":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351519745, 1351519637, 1351519776, 1351519683, 1351519716, 1351519658)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.688299894332886 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 09:14:33.975009
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/06/32/image_11042025_06_32_16_9336.jpg', '/home/pi/Desktop/images/11042025/06/32/image_11042025_06_32_26_10366.jpg', '/home/pi/Desktop/images/11042025/06/32/image_11042025_06_32_36_10351.jpg', '/home/pi/Desktop/images/11042025/06/32/image_11042025_06_32_46_9360.jpg', '/home/pi/Desktop/images/11042025/06/32/image_11042025_06_32_56_10439.jpg', '/home/pi/Desktop/images/11042025/06/32/image_11042025_06_33_05_9343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/06/32/image_11042025_06_32_16_9336.jpg
/home/pi/Desktop/images/11042025/06/32/image_11042025_06_32_26_10366.jpg
/home/pi/Desktop/images/11042025/06/32/image_11042025_06_32_36_10351.jpg
/home/pi/Desktop/images/11042025/06/32/image_11042025_06_32_46_9360.jpg
/home/pi/Desktop/images/11042025/06/32/image_11042025_06_32_56_10439.jpg
/home/pi/Desktop/images/11042025/06/32/image_11042025_06_33_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":["1351520426","1351520317","1351520239","1351520565","1351520673","1351520547"],"photo_ids_order":["1351520239","1351520317","1351520426","1351520547","1351520565","1351520673"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a104f6670460cd501f30b65b1c6d3476.jpg","text":"TemporaryFile(/tmp/multipartBody3626260841252415177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355737418,"filename":"image_11042025_06_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/11/82e9e109f1fa2b3bbfe3541ea220ed90.jpg","text":"TemporaryFile(/tmp/multipartBody3057944800463839671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355737418,"filename":"image_11042025_06_32_26_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4f512e050148a12cf161925209f0dff3.jpg","text":"TemporaryFile(/tmp/multipartBody7357173867312936818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355737418,"filename":"image_11042025_06_32_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/11/bce2e75d77d0397ce0f79574b0357661.jpg","text":"TemporaryFile(/tmp/multipartBody3888182248237481755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355737418,"filename":"image_11042025_06_32_56_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b488fa6eb1911885ea5cb5c48ea4ce9e.jpg","text":"TemporaryFile(/tmp/multipartBody2862946795979709777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355737418,"filename":"image_11042025_06_33_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/11/f628e5c7d59340617a16e0c493a56c2f.jpg","text":"TemporaryFile(/tmp/multipartBody802964967737105174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355737418,"filename":"image_11042025_06_32_46_9360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351520426","file1":"1351520317","file0":"1351520239","file4":"1351520565","file5":"1351520673","file3":"1351520547"},"map_files_photo_id_array":[{"photo_id":"1351520673","filename":"file5"},{"photo_id":"1351520426","filename":"file2"},{"photo_id":"1351520565","filename":"file4"},{"photo_id":"1351520317","filename":"file1"},{"photo_id":"1351520239","filename":"file0"},{"photo_id":"1351520547","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351520426":["hashtag1","hashtag2"]},{"1351520317":["hashtag1","hashtag2"]},{"1351520239":["hashtag1","hashtag2"]},{"1351520565":["hashtag1","hashtag2"]},{"1351520673":["hashtag1","hashtag2"]},{"1351520547":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351520426, 1351520317, 1351520239, 1351520565, 1351520673, 1351520547)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.623451948165894 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 09:15:32.875386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/06/33/image_11042025_06_33_16_10354.jpg', '/home/pi/Desktop/images/11042025/06/33/image_11042025_06_33_26_10378.jpg', '/home/pi/Desktop/images/11042025/06/33/image_11042025_06_33_35_9362.jpg', '/home/pi/Desktop/images/11042025/06/33/image_11042025_06_33_46_10477.jpg', '/home/pi/Desktop/images/11042025/06/33/image_11042025_06_33_55_9346.jpg', '/home/pi/Desktop/images/11042025/06/33/image_11042025_06_34_06_10426.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/06/33/image_11042025_06_33_16_10354.jpg
/home/pi/Desktop/images/11042025/06/33/image_11042025_06_33_26_10378.jpg
/home/pi/Desktop/images/11042025/06/33/image_11042025_06_33_35_9362.jpg
/home/pi/Desktop/images/11042025/06/33/image_11042025_06_33_46_10477.jpg
/home/pi/Desktop/images/11042025/06/33/image_11042025_06_33_55_9346.jpg
/home/pi/Desktop/images/11042025/06/33/image_11042025_06_34_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":["1351522090","1351521935","1351521419","1351522269","1351521579","1351521735"],"photo_ids_order":["1351521419","1351521579","1351521735","1351521935","1351522090","1351522269"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e96fcd191f44f9a632949c887ee03f51.jpg","text":"TemporaryFile(/tmp/multipartBody44519914335899497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355793403,"filename":"image_11042025_06_33_55_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f04214e249bb988e29e1ff0e5b524c02.jpg","text":"TemporaryFile(/tmp/multipartBody2592550115981721625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355793403,"filename":"image_11042025_06_33_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/11/0745ed0d63292a931eb9ba5de39bbd06.jpg","text":"TemporaryFile(/tmp/multipartBody2755215711260066780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355793403,"filename":"image_11042025_06_33_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/11/aafa7f926df2ecd134e10f2a5f2679c3.jpg","text":"TemporaryFile(/tmp/multipartBody3834927293803066767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355793403,"filename":"image_11042025_06_34_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/11/6e7ae7ccc1a4877ea00ea2ab8558edf8.jpg","text":"TemporaryFile(/tmp/multipartBody8050999764594231315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355793403,"filename":"image_11042025_06_33_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/11/10d4af35948a882b3adb1c70b00b2bde.jpg","text":"TemporaryFile(/tmp/multipartBody6181389920146982549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355793403,"filename":"image_11042025_06_33_35_9362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351521735","file1":"1351521579","file0":"1351521419","file4":"1351522090","file5":"1351522269","file3":"1351521935"},"map_files_photo_id_array":[{"photo_id":"1351522269","filename":"file5"},{"photo_id":"1351521735","filename":"file2"},{"photo_id":"1351522090","filename":"file4"},{"photo_id":"1351521579","filename":"file1"},{"photo_id":"1351521419","filename":"file0"},{"photo_id":"1351521935","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351522090":["hashtag1","hashtag2"]},{"1351521935":["hashtag1","hashtag2"]},{"1351521419":["hashtag1","hashtag2"]},{"1351522269":["hashtag1","hashtag2"]},{"1351521579":["hashtag1","hashtag2"]},{"1351521735":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351522090, 1351521935, 1351521419, 1351522269, 1351521579, 1351521735)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.858057260513306 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 09:16:33.149939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/06/34/image_11042025_06_34_25_9414.jpg', '/home/pi/Desktop/images/11042025/06/34/image_11042025_06_34_36_10367.jpg', '/home/pi/Desktop/images/11042025/06/34/image_11042025_06_34_46_10349.jpg', '/home/pi/Desktop/images/11042025/06/34/image_11042025_06_34_56_9384.jpg', '/home/pi/Desktop/images/11042025/06/34/image_11042025_06_35_06_10409.jpg', '/home/pi/Desktop/images/11042025/06/35/image_11042025_06_35_15_9340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/06/34/image_11042025_06_34_25_9414.jpg
/home/pi/Desktop/images/11042025/06/34/image_11042025_06_34_36_10367.jpg
/home/pi/Desktop/images/11042025/06/34/image_11042025_06_34_46_10349.jpg
/home/pi/Desktop/images/11042025/06/34/image_11042025_06_34_56_9384.jpg
/home/pi/Desktop/images/11042025/06/34/image_11042025_06_35_06_10409.jpg
/home/pi/Desktop/images/11042025/06/35/image_11042025_06_35_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":["1351523070","1351523139","1351522905","1351522985","1351523275","1351523164"],"photo_ids_order":["1351522905","1351522985","1351523070","1351523139","1351523164","1351523275"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/99f24a6d0863167d5722f3471c1d39b3.jpg","text":"TemporaryFile(/tmp/multipartBody7286250454854207567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355853647,"filename":"image_11042025_06_34_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/11/c1d6a737e98937fba190183cc5b1d839.jpg","text":"TemporaryFile(/tmp/multipartBody7977987906579209568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355853647,"filename":"image_11042025_06_34_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/11/0e73fd11889daf1833051065ed93fc95.jpg","text":"TemporaryFile(/tmp/multipartBody5472836708445513232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355853647,"filename":"image_11042025_06_34_25_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4e3074e8cc8ed8b6e2852c12d34b128e.jpg","text":"TemporaryFile(/tmp/multipartBody2016552374136458813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355853647,"filename":"image_11042025_06_34_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/11/7f7858f975eb5f8d8253905ec9b2a6b1.jpg","text":"TemporaryFile(/tmp/multipartBody5232908578428007434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355853647,"filename":"image_11042025_06_35_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/11/d946772f6b4fe5b420f9cdb9f58d21e4.jpg","text":"TemporaryFile(/tmp/multipartBody7711064335313781073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355853647,"filename":"image_11042025_06_35_06_10409.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351523070","file1":"1351522985","file0":"1351522905","file4":"1351523164","file5":"1351523275","file3":"1351523139"},"map_files_photo_id_array":[{"photo_id":"1351523275","filename":"file5"},{"photo_id":"1351523070","filename":"file2"},{"photo_id":"1351523164","filename":"file4"},{"photo_id":"1351522985","filename":"file1"},{"photo_id":"1351522905","filename":"file0"},{"photo_id":"1351523139","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351523070":["hashtag1","hashtag2"]},{"1351523139":["hashtag1","hashtag2"]},{"1351522905":["hashtag1","hashtag2"]},{"1351522985":["hashtag1","hashtag2"]},{"1351523275":["hashtag1","hashtag2"]},{"1351523164":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351523070, 1351523139, 1351522905, 1351522985, 1351523275, 1351523164)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.824933767318726 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 09:17:32.410394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/06/35/image_11042025_06_35_26_10438.jpg', '/home/pi/Desktop/images/11042025/06/35/image_11042025_06_35_36_10355.jpg', '/home/pi/Desktop/images/11042025/06/35/image_11042025_06_35_46_9412.jpg', '/home/pi/Desktop/images/11042025/06/35/image_11042025_06_35_56_10420.jpg', '/home/pi/Desktop/images/11042025/06/36/image_11042025_06_36_16_10399.jpg', '/home/pi/Desktop/images/11042025/06/36/image_11042025_06_36_26_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/06/35/image_11042025_06_35_26_10438.jpg
/home/pi/Desktop/images/11042025/06/35/image_11042025_06_35_36_10355.jpg
/home/pi/Desktop/images/11042025/06/35/image_11042025_06_35_46_9412.jpg
/home/pi/Desktop/images/11042025/06/35/image_11042025_06_35_56_10420.jpg
/home/pi/Desktop/images/11042025/06/36/image_11042025_06_36_16_10399.jpg
/home/pi/Desktop/images/11042025/06/36/image_11042025_06_36_26_10372.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.582165002822876 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 09:17:42.432319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/06/35/image_11042025_06_35_26_10438.jpg', '/home/pi/Desktop/images/11042025/06/35/image_11042025_06_35_36_10355.jpg', '/home/pi/Desktop/images/11042025/06/35/image_11042025_06_35_46_9412.jpg', '/home/pi/Desktop/images/11042025/06/35/image_11042025_06_35_56_10420.jpg', '/home/pi/Desktop/images/11042025/06/36/image_11042025_06_36_16_10399.jpg', '/home/pi/Desktop/images/11042025/06/36/image_11042025_06_36_26_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/06/35/image_11042025_06_35_26_10438.jpg
/home/pi/Desktop/images/11042025/06/35/image_11042025_06_35_36_10355.jpg
/home/pi/Desktop/images/11042025/06/35/image_11042025_06_35_46_9412.jpg
/home/pi/Desktop/images/11042025/06/35/image_11042025_06_35_56_10420.jpg
/home/pi/Desktop/images/11042025/06/36/image_11042025_06_36_16_10399.jpg
/home/pi/Desktop/images/11042025/06/36/image_11042025_06_36_26_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":["1351524037","1351524252","1351524168","1351523803","1351523741","1351523942"],"photo_ids_order":["1351523741","1351523803","1351523942","1351524037","1351524168","1351524252"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/dd7dd2e7fea1c1a91d4bd8995af932d0.jpg","text":"TemporaryFile(/tmp/multipartBody2251989356137609240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355922905,"filename":"image_11042025_06_35_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/11/80447bef16e9782588982aed4e9fa598.jpg","text":"TemporaryFile(/tmp/multipartBody8959166983191000727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355922905,"filename":"image_11042025_06_36_26_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f6237e42c91d4d89d356e637321fcc7b.jpg","text":"TemporaryFile(/tmp/multipartBody2025084864792165210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355922905,"filename":"image_11042025_06_36_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/11/e963cce999f615c37743d9a36c1175e1.jpg","text":"TemporaryFile(/tmp/multipartBody5259593968633111296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355922905,"filename":"image_11042025_06_35_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/11/9b9fb5376a2bf14ed90432944e66d7c9.jpg","text":"TemporaryFile(/tmp/multipartBody2879387141731948648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355922905,"filename":"image_11042025_06_35_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/11/897ec2f54db592173aec3db75a3f5fd1.jpg","text":"TemporaryFile(/tmp/multipartBody512427091379851865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355922905,"filename":"image_11042025_06_35_46_9412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351523942","file1":"1351523803","file0":"1351523741","file4":"1351524168","file5":"1351524252","file3":"1351524037"},"map_files_photo_id_array":[{"photo_id":"1351524252","filename":"file5"},{"photo_id":"1351523942","filename":"file2"},{"photo_id":"1351524168","filename":"file4"},{"photo_id":"1351523803","filename":"file1"},{"photo_id":"1351523741","filename":"file0"},{"photo_id":"1351524037","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351524037":["hashtag1","hashtag2"]},{"1351524252":["hashtag1","hashtag2"]},{"1351524168":["hashtag1","hashtag2"]},{"1351523803":["hashtag1","hashtag2"]},{"1351523741":["hashtag1","hashtag2"]},{"1351523942":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351524037, 1351524252, 1351524168, 1351523803, 1351523741, 1351523942)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.80169892311096 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 09:18:32.725554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/06/36/image_11042025_06_36_55_9358.jpg', '/home/pi/Desktop/images/11042025/06/36/image_11042025_06_37_06_10434.jpg', '/home/pi/Desktop/images/11042025/06/37/image_11042025_06_37_16_10379.jpg', '/home/pi/Desktop/images/11042025/06/37/image_11042025_06_37_25_9370.jpg', '/home/pi/Desktop/images/11042025/06/37/image_11042025_06_37_36_10368.jpg', '/home/pi/Desktop/images/11042025/06/37/image_11042025_06_37_46_10409.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/06/36/image_11042025_06_36_55_9358.jpg
/home/pi/Desktop/images/11042025/06/36/image_11042025_06_37_06_10434.jpg
/home/pi/Desktop/images/11042025/06/37/image_11042025_06_37_16_10379.jpg
/home/pi/Desktop/images/11042025/06/37/image_11042025_06_37_25_9370.jpg
/home/pi/Desktop/images/11042025/06/37/image_11042025_06_37_36_10368.jpg
/home/pi/Desktop/images/11042025/06/37/image_11042025_06_37_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":["1351524647","1351524455","1351524431","1351524500","1351524568","1351524616"],"photo_ids_order":["1351524431","1351524455","1351524500","1351524568","1351524616","1351524647"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f8346322075c89f2dcc47a37ad1a33c5.jpg","text":"TemporaryFile(/tmp/multipartBody5907668392292748496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355973195,"filename":"image_11042025_06_37_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/11/04d2c1dff2d3f33de9fa0ee7e166287d.jpg","text":"TemporaryFile(/tmp/multipartBody5816483533003641344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355973195,"filename":"image_11042025_06_37_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/11/ca9729c62fe752b8a1f2205a1b84a242.jpg","text":"TemporaryFile(/tmp/multipartBody3400356687859152044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355973195,"filename":"image_11042025_06_36_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/11/df3690f3ca0aa7b32403de6fca3db3d9.jpg","text":"TemporaryFile(/tmp/multipartBody6989950566767244907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355973195,"filename":"image_11042025_06_37_16_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/750666faa31df049d2109a6f37c94ffb.jpg","text":"TemporaryFile(/tmp/multipartBody2695181771159298265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355973195,"filename":"image_11042025_06_37_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/11/b23532cb0ec0962444c0c2c4bf42789e.jpg","text":"TemporaryFile(/tmp/multipartBody5037744581892336939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744355973195,"filename":"image_11042025_06_37_36_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351524500","file1":"1351524455","file0":"1351524431","file4":"1351524616","file5":"1351524647","file3":"1351524568"},"map_files_photo_id_array":[{"photo_id":"1351524647","filename":"file5"},{"photo_id":"1351524500","filename":"file2"},{"photo_id":"1351524616","filename":"file4"},{"photo_id":"1351524455","filename":"file1"},{"photo_id":"1351524431","filename":"file0"},{"photo_id":"1351524568","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351524647":["hashtag1","hashtag2"]},{"1351524455":["hashtag1","hashtag2"]},{"1351524431":["hashtag1","hashtag2"]},{"1351524500":["hashtag1","hashtag2"]},{"1351524568":["hashtag1","hashtag2"]},{"1351524616":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351524647, 1351524455, 1351524431, 1351524500, 1351524568, 1351524616)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.53052854537964 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 09:19:33.055160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/06/37/image_11042025_06_37_56_9427.jpg', '/home/pi/Desktop/images/11042025/06/37/image_11042025_06_38_06_10380.jpg', '/home/pi/Desktop/images/11042025/06/38/image_11042025_06_38_26_10436.jpg', '/home/pi/Desktop/images/11042025/06/38/image_11042025_06_38_46_9362.jpg', '/home/pi/Desktop/images/11042025/06/38/image_11042025_06_38_56_10449.jpg', '/home/pi/Desktop/images/11042025/06/38/image_11042025_06_39_05_9371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/06/37/image_11042025_06_37_56_9427.jpg
/home/pi/Desktop/images/11042025/06/37/image_11042025_06_38_06_10380.jpg
/home/pi/Desktop/images/11042025/06/38/image_11042025_06_38_26_10436.jpg
/home/pi/Desktop/images/11042025/06/38/image_11042025_06_38_46_9362.jpg
/home/pi/Desktop/images/11042025/06/38/image_11042025_06_38_56_10449.jpg
/home/pi/Desktop/images/11042025/06/38/image_11042025_06_39_05_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":["1351524990","1351524888","1351525058","1351525279","1351525194","1351524844"],"photo_ids_order":["1351524844","1351524888","1351524990","1351525058","1351525194","1351525279"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/df7f5dfcbbe8fac64ee59dc71a7e1fc8.jpg","text":"TemporaryFile(/tmp/multipartBody8507887767488317282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356033520,"filename":"image_11042025_06_38_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/11/d36e3abcbe299e5746a0e58c19f51242.jpg","text":"TemporaryFile(/tmp/multipartBody7380733475523128921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356033520,"filename":"image_11042025_06_38_06_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/78ceb360b3d8775c03e0e129e90cac98.jpg","text":"TemporaryFile(/tmp/multipartBody6011255443120992142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356033520,"filename":"image_11042025_06_38_46_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c4cb8f13cd06d56b55862a2ef23cb67c.jpg","text":"TemporaryFile(/tmp/multipartBody2617072123230846101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356033520,"filename":"image_11042025_06_39_05_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4b4fbe59eb340a5cb35c93a45fa7f532.jpg","text":"TemporaryFile(/tmp/multipartBody4873049851617103707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356033520,"filename":"image_11042025_06_38_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/11/bfdb7bcedad9cdc8fa61ec18db971404.jpg","text":"TemporaryFile(/tmp/multipartBody8960015708748457770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356033520,"filename":"image_11042025_06_37_56_9427.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351524990","file1":"1351524888","file0":"1351524844","file4":"1351525194","file5":"1351525279","file3":"1351525058"},"map_files_photo_id_array":[{"photo_id":"1351525279","filename":"file5"},{"photo_id":"1351524990","filename":"file2"},{"photo_id":"1351525194","filename":"file4"},{"photo_id":"1351524888","filename":"file1"},{"photo_id":"1351524844","filename":"file0"},{"photo_id":"1351525058","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351524990":["hashtag1","hashtag2"]},{"1351524888":["hashtag1","hashtag2"]},{"1351525058":["hashtag1","hashtag2"]},{"1351525279":["hashtag1","hashtag2"]},{"1351525194":["hashtag1","hashtag2"]},{"1351524844":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351524990, 1351524888, 1351525058, 1351525279, 1351525194, 1351524844)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.629236698150635 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 09:20:33.078449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/06/39/image_11042025_06_39_16_10429.jpg', '/home/pi/Desktop/images/11042025/06/39/image_11042025_06_39_26_10407.jpg', '/home/pi/Desktop/images/11042025/06/39/image_11042025_06_39_36_9362.jpg', '/home/pi/Desktop/images/11042025/06/39/image_11042025_06_39_55_9357.jpg', '/home/pi/Desktop/images/11042025/06/39/image_11042025_06_40_06_10379.jpg', '/home/pi/Desktop/images/11042025/06/40/image_11042025_06_40_16_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/06/39/image_11042025_06_39_16_10429.jpg
/home/pi/Desktop/images/11042025/06/39/image_11042025_06_39_26_10407.jpg
/home/pi/Desktop/images/11042025/06/39/image_11042025_06_39_36_9362.jpg
/home/pi/Desktop/images/11042025/06/39/image_11042025_06_39_55_9357.jpg
/home/pi/Desktop/images/11042025/06/39/image_11042025_06_40_06_10379.jpg
/home/pi/Desktop/images/11042025/06/40/image_11042025_06_40_16_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":["1351525886","1351525787","1351525799","1351525840","1351525783","1351525729"],"photo_ids_order":["1351525729","1351525783","1351525787","1351525799","1351525840","1351525886"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/45c64d5b2152502fa7356af2b9dfbccc.jpg","text":"TemporaryFile(/tmp/multipartBody8495176207007814116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356093534,"filename":"image_11042025_06_40_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/11/c3253106aca2ff9feda65f6104823b7d.jpg","text":"TemporaryFile(/tmp/multipartBody5312564746727646675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356093534,"filename":"image_11042025_06_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/11/bd8e91f9455728c7a1b4ce0c3afd886d.jpg","text":"TemporaryFile(/tmp/multipartBody6600110089163128461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356093534,"filename":"image_11042025_06_39_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/11/81b58acbcae1577198b933c594f1fee5.jpg","text":"TemporaryFile(/tmp/multipartBody7473034364918488122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356093534,"filename":"image_11042025_06_40_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/11/757e4760b54e625b44f493e6065c305c.jpg","text":"TemporaryFile(/tmp/multipartBody2908831343828649840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356093534,"filename":"image_11042025_06_39_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/11/b66c479d384e37ea4e5a5390f4e570de.jpg","text":"TemporaryFile(/tmp/multipartBody439988513397236875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356093534,"filename":"image_11042025_06_39_16_10429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351525787","file1":"1351525783","file0":"1351525729","file4":"1351525840","file5":"1351525886","file3":"1351525799"},"map_files_photo_id_array":[{"photo_id":"1351525886","filename":"file5"},{"photo_id":"1351525787","filename":"file2"},{"photo_id":"1351525840","filename":"file4"},{"photo_id":"1351525783","filename":"file1"},{"photo_id":"1351525729","filename":"file0"},{"photo_id":"1351525799","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351525886":["hashtag1","hashtag2"]},{"1351525787":["hashtag1","hashtag2"]},{"1351525799":["hashtag1","hashtag2"]},{"1351525840":["hashtag1","hashtag2"]},{"1351525783":["hashtag1","hashtag2"]},{"1351525729":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351525886, 1351525787, 1351525799, 1351525840, 1351525783, 1351525729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.27660512924194 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 09:21:32.292453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/06/40/image_11042025_06_40_26_9405.jpg', '/home/pi/Desktop/images/11042025/06/40/image_11042025_06_40_36_10430.jpg', '/home/pi/Desktop/images/11042025/06/40/image_11042025_06_40_45_9365.jpg', '/home/pi/Desktop/images/11042025/06/40/image_11042025_06_41_06_10351.jpg', '/home/pi/Desktop/images/11042025/06/41/image_11042025_06_41_35_9412.jpg', '/home/pi/Desktop/images/11042025/06/41/image_11042025_06_41_46_10501.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/06/40/image_11042025_06_40_26_9405.jpg
/home/pi/Desktop/images/11042025/06/40/image_11042025_06_40_36_10430.jpg
/home/pi/Desktop/images/11042025/06/40/image_11042025_06_40_45_9365.jpg
/home/pi/Desktop/images/11042025/06/40/image_11042025_06_41_06_10351.jpg
/home/pi/Desktop/images/11042025/06/41/image_11042025_06_41_35_9412.jpg
/home/pi/Desktop/images/11042025/06/41/image_11042025_06_41_46_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":["1351526660","1351526612","1351526575","1351526530","1351526493","1351526448"],"photo_ids_order":["1351526448","1351526493","1351526530","1351526575","1351526612","1351526660"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0a97d1bade7775451db3baaeb5e71a68.jpg","text":"TemporaryFile(/tmp/multipartBody8599181193740214957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356152845,"filename":"image_11042025_06_41_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/11/9aba2bf8c0051390061c0085fcb33e38.jpg","text":"TemporaryFile(/tmp/multipartBody172461011637734091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356152845,"filename":"image_11042025_06_41_35_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/dc7ea6102692f88c8412209532711887.jpg","text":"TemporaryFile(/tmp/multipartBody3395711023715114586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356152845,"filename":"image_11042025_06_41_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/11/693d1b9fc9a5fec084edbbc6638a76cf.jpg","text":"TemporaryFile(/tmp/multipartBody6776555643720456311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356152845,"filename":"image_11042025_06_40_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/11/64c7721523a4be4e533a49d643e5e24a.jpg","text":"TemporaryFile(/tmp/multipartBody3447473154803639136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356152845,"filename":"image_11042025_06_40_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/11/705bc964e314a8bc879dfa65d0185b30.jpg","text":"TemporaryFile(/tmp/multipartBody7960847959186841491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356152845,"filename":"image_11042025_06_40_26_9405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351526530","file1":"1351526493","file0":"1351526448","file4":"1351526612","file5":"1351526660","file3":"1351526575"},"map_files_photo_id_array":[{"photo_id":"1351526660","filename":"file5"},{"photo_id":"1351526530","filename":"file2"},{"photo_id":"1351526612","filename":"file4"},{"photo_id":"1351526493","filename":"file1"},{"photo_id":"1351526448","filename":"file0"},{"photo_id":"1351526575","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351526660":["hashtag1","hashtag2"]},{"1351526612":["hashtag1","hashtag2"]},{"1351526575":["hashtag1","hashtag2"]},{"1351526530":["hashtag1","hashtag2"]},{"1351526493":["hashtag1","hashtag2"]},{"1351526448":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351526660, 1351526612, 1351526575, 1351526530, 1351526493, 1351526448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.21636724472046 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 09:22:32.564351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/06/41/image_11042025_06_41_56_10383.jpg', '/home/pi/Desktop/images/11042025/06/41/image_11042025_06_42_06_9373.jpg', '/home/pi/Desktop/images/11042025/06/42/image_11042025_06_42_16_10379.jpg', '/home/pi/Desktop/images/11042025/06/42/image_11042025_06_42_25_9436.jpg', '/home/pi/Desktop/images/11042025/06/42/image_11042025_06_42_36_10474.jpg', '/home/pi/Desktop/images/11042025/06/42/image_11042025_06_42_46_9630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/06/41/image_11042025_06_41_56_10383.jpg
/home/pi/Desktop/images/11042025/06/41/image_11042025_06_42_06_9373.jpg
/home/pi/Desktop/images/11042025/06/42/image_11042025_06_42_16_10379.jpg
/home/pi/Desktop/images/11042025/06/42/image_11042025_06_42_25_9436.jpg
/home/pi/Desktop/images/11042025/06/42/image_11042025_06_42_36_10474.jpg
/home/pi/Desktop/images/11042025/06/42/image_11042025_06_42_46_9630.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.3987298011779785 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 09:22:42.499854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/06/41/image_11042025_06_41_56_10383.jpg', '/home/pi/Desktop/images/11042025/06/41/image_11042025_06_42_06_9373.jpg', '/home/pi/Desktop/images/11042025/06/42/image_11042025_06_42_16_10379.jpg', '/home/pi/Desktop/images/11042025/06/42/image_11042025_06_42_25_9436.jpg', '/home/pi/Desktop/images/11042025/06/42/image_11042025_06_42_36_10474.jpg', '/home/pi/Desktop/images/11042025/06/42/image_11042025_06_42_46_9630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/06/41/image_11042025_06_41_56_10383.jpg
/home/pi/Desktop/images/11042025/06/41/image_11042025_06_42_06_9373.jpg
/home/pi/Desktop/images/11042025/06/42/image_11042025_06_42_16_10379.jpg
/home/pi/Desktop/images/11042025/06/42/image_11042025_06_42_25_9436.jpg
/home/pi/Desktop/images/11042025/06/42/image_11042025_06_42_36_10474.jpg
/home/pi/Desktop/images/11042025/06/42/image_11042025_06_42_46_9630.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351527895","1351527268","1351527553","1351527387","1351527711","1351527807"],"photo_ids_order":["1351527268","1351527387","1351527553","1351527711","1351527807","1351527895"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/151d9e391b24fd61c7e8b34ce2bdb7a4.jpg","text":"TemporaryFile(/tmp/multipartBody108584810955959662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356223047,"filename":"image_11042025_06_42_46_9630.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b34cb2b4c570bb66b43035a3038d7822.jpg","text":"TemporaryFile(/tmp/multipartBody1642897410641457485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356223047,"filename":"image_11042025_06_41_56_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c488ec283e6cef013f125b9d9477577a.jpg","text":"TemporaryFile(/tmp/multipartBody3341667774691821600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356223047,"filename":"image_11042025_06_42_16_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/63662d2ff48e82aa0dbf72f2c01e5a9c.jpg","text":"TemporaryFile(/tmp/multipartBody8319255656986942048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356223047,"filename":"image_11042025_06_42_06_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4f44cb54b3e91ae5639a27f9afee7367.jpg","text":"TemporaryFile(/tmp/multipartBody6861006435473818852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356223047,"filename":"image_11042025_06_42_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/11/16e872842becc7f02af277ebc0f0eacc.jpg","text":"TemporaryFile(/tmp/multipartBody2232307156413135846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356223047,"filename":"image_11042025_06_42_36_10474.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351527553","file1":"1351527387","file0":"1351527268","file4":"1351527807","file5":"1351527895","file3":"1351527711"},"map_files_photo_id_array":[{"photo_id":"1351527895","filename":"file5"},{"photo_id":"1351527553","filename":"file2"},{"photo_id":"1351527807","filename":"file4"},{"photo_id":"1351527387","filename":"file1"},{"photo_id":"1351527268","filename":"file0"},{"photo_id":"1351527711","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351527895":["hashtag1","hashtag2"]},{"1351527268":["hashtag1","hashtag2"]},{"1351527553":["hashtag1","hashtag2"]},{"1351527387":["hashtag1","hashtag2"]},{"1351527711":["hashtag1","hashtag2"]},{"1351527807":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351527895, 1351527268, 1351527553, 1351527387, 1351527711, 1351527807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.96431875228882 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 09:23:32.724420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/06/42/image_11042025_06_42_56_10388.jpg', '/home/pi/Desktop/images/11042025/06/42/image_11042025_06_43_05_9348.jpg', '/home/pi/Desktop/images/11042025/06/43/image_11042025_06_43_16_10448.jpg', '/home/pi/Desktop/images/11042025/06/43/image_11042025_06_43_26_10354.jpg', '/home/pi/Desktop/images/11042025/06/43/image_11042025_06_43_35_9349.jpg', '/home/pi/Desktop/images/11042025/06/43/image_11042025_06_43_56_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/06/42/image_11042025_06_42_56_10388.jpg
/home/pi/Desktop/images/11042025/06/42/image_11042025_06_43_05_9348.jpg
/home/pi/Desktop/images/11042025/06/43/image_11042025_06_43_16_10448.jpg
/home/pi/Desktop/images/11042025/06/43/image_11042025_06_43_26_10354.jpg
/home/pi/Desktop/images/11042025/06/43/image_11042025_06_43_35_9349.jpg
/home/pi/Desktop/images/11042025/06/43/image_11042025_06_43_56_10362.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3900468349456787 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 09:23:42.784961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/06/42/image_11042025_06_42_56_10388.jpg', '/home/pi/Desktop/images/11042025/06/42/image_11042025_06_43_05_9348.jpg', '/home/pi/Desktop/images/11042025/06/43/image_11042025_06_43_16_10448.jpg', '/home/pi/Desktop/images/11042025/06/43/image_11042025_06_43_26_10354.jpg', '/home/pi/Desktop/images/11042025/06/43/image_11042025_06_43_35_9349.jpg', '/home/pi/Desktop/images/11042025/06/43/image_11042025_06_43_56_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/06/42/image_11042025_06_42_56_10388.jpg
/home/pi/Desktop/images/11042025/06/42/image_11042025_06_43_05_9348.jpg
/home/pi/Desktop/images/11042025/06/43/image_11042025_06_43_16_10448.jpg
/home/pi/Desktop/images/11042025/06/43/image_11042025_06_43_26_10354.jpg
/home/pi/Desktop/images/11042025/06/43/image_11042025_06_43_35_9349.jpg
/home/pi/Desktop/images/11042025/06/43/image_11042025_06_43_56_10362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351528411","1351528590","1351528602","1351528518","1351528550","1351528475"],"photo_ids_order":["1351528411","1351528475","1351528518","1351528550","1351528590","1351528602"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/fe148d0b910234d3d46d02e065800450.jpg","text":"TemporaryFile(/tmp/multipartBody1935187119993695634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356283251,"filename":"image_11042025_06_42_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/11/e8db2dc8c3f8b1ff6ea45df901bae21c.jpg","text":"TemporaryFile(/tmp/multipartBody5601755012282726591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356283251,"filename":"image_11042025_06_43_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/11/e4362c8ac5eed0fccd267b0c208144e9.jpg","text":"TemporaryFile(/tmp/multipartBody5698096235006824531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356283251,"filename":"image_11042025_06_43_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/11/65d6fa5228bec9c17cecc43e2a45308d.jpg","text":"TemporaryFile(/tmp/multipartBody893933635639986261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356283251,"filename":"image_11042025_06_43_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/11/4ed02610e2c8019975e7453cbea270af.jpg","text":"TemporaryFile(/tmp/multipartBody6914810158851897995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356283251,"filename":"image_11042025_06_43_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/11/e7c3e8e02f1672ef7970f7994a09c75d.jpg","text":"TemporaryFile(/tmp/multipartBody5376654281342645532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356283251,"filename":"image_11042025_06_43_05_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351528518","file1":"1351528475","file0":"1351528411","file4":"1351528590","file5":"1351528602","file3":"1351528550"},"map_files_photo_id_array":[{"photo_id":"1351528602","filename":"file5"},{"photo_id":"1351528518","filename":"file2"},{"photo_id":"1351528590","filename":"file4"},{"photo_id":"1351528475","filename":"file1"},{"photo_id":"1351528411","filename":"file0"},{"photo_id":"1351528550","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351528411":["hashtag1","hashtag2"]},{"1351528590":["hashtag1","hashtag2"]},{"1351528602":["hashtag1","hashtag2"]},{"1351528518":["hashtag1","hashtag2"]},{"1351528550":["hashtag1","hashtag2"]},{"1351528475":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351528411, 1351528590, 1351528602, 1351528518, 1351528550, 1351528475)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.62039566040039 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 09:24:32.867304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/06/43/image_11042025_06_44_06_9368.jpg', '/home/pi/Desktop/images/11042025/06/44/image_11042025_06_44_16_10345.jpg', '/home/pi/Desktop/images/11042025/06/44/image_11042025_06_44_26_10391.jpg', '/home/pi/Desktop/images/11042025/06/44/image_11042025_06_44_36_9422.jpg', '/home/pi/Desktop/images/11042025/06/44/image_11042025_06_44_46_10381.jpg', '/home/pi/Desktop/images/11042025/06/44/image_11042025_06_44_55_9370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/06/43/image_11042025_06_44_06_9368.jpg
/home/pi/Desktop/images/11042025/06/44/image_11042025_06_44_16_10345.jpg
/home/pi/Desktop/images/11042025/06/44/image_11042025_06_44_26_10391.jpg
/home/pi/Desktop/images/11042025/06/44/image_11042025_06_44_36_9422.jpg
/home/pi/Desktop/images/11042025/06/44/image_11042025_06_44_46_10381.jpg
/home/pi/Desktop/images/11042025/06/44/image_11042025_06_44_55_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":["1351529401","1351529169","1351529310","1351529507","1351529590","1351528996"],"photo_ids_order":["1351528996","1351529169","1351529310","1351529401","1351529507","1351529590"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0abae95ef2dbd0f9940e14d62cc11d4c.jpg","text":"TemporaryFile(/tmp/multipartBody6523665063210256836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356333349,"filename":"image_11042025_06_44_36_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/213dc5414d25915b9e4a1b5745d75c3a.jpg","text":"TemporaryFile(/tmp/multipartBody660984553066091599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356333349,"filename":"image_11042025_06_44_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/11/f860df20f48a1ab8ab6f5974e4daa6bf.jpg","text":"TemporaryFile(/tmp/multipartBody8493843819742874226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356333349,"filename":"image_11042025_06_44_26_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/223d9efd6fc332c387f46bfa41c29666.jpg","text":"TemporaryFile(/tmp/multipartBody1315065284851167265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356333349,"filename":"image_11042025_06_44_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/11/0def0753cccb6879845f6e3503c32243.jpg","text":"TemporaryFile(/tmp/multipartBody6470525986299720938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356333349,"filename":"image_11042025_06_44_55_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2f69c77feec0125e92e4693f369c0520.jpg","text":"TemporaryFile(/tmp/multipartBody4458483855843988133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356333349,"filename":"image_11042025_06_44_06_9368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351529310","file1":"1351529169","file0":"1351528996","file4":"1351529507","file5":"1351529590","file3":"1351529401"},"map_files_photo_id_array":[{"photo_id":"1351529590","filename":"file5"},{"photo_id":"1351529310","filename":"file2"},{"photo_id":"1351529507","filename":"file4"},{"photo_id":"1351529169","filename":"file1"},{"photo_id":"1351528996","filename":"file0"},{"photo_id":"1351529401","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351529401":["hashtag1","hashtag2"]},{"1351529169":["hashtag1","hashtag2"]},{"1351529310":["hashtag1","hashtag2"]},{"1351529507":["hashtag1","hashtag2"]},{"1351529590":["hashtag1","hashtag2"]},{"1351528996":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351529401, 1351529169, 1351529310, 1351529507, 1351529590, 1351528996)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.87330985069275 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 09:25:33.183626
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/06/44/image_11042025_06_45_06_10453.jpg', '/home/pi/Desktop/images/11042025/06/45/image_11042025_06_45_16_10352.jpg', '/home/pi/Desktop/images/11042025/06/45/image_11042025_06_45_26_9358.jpg', '/home/pi/Desktop/images/11042025/06/45/image_11042025_06_45_36_10357.jpg', '/home/pi/Desktop/images/11042025/06/45/image_11042025_06_45_45_9456.jpg', '/home/pi/Desktop/images/11042025/06/45/image_11042025_06_45_56_10063.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/06/44/image_11042025_06_45_06_10453.jpg
/home/pi/Desktop/images/11042025/06/45/image_11042025_06_45_16_10352.jpg
/home/pi/Desktop/images/11042025/06/45/image_11042025_06_45_26_9358.jpg
/home/pi/Desktop/images/11042025/06/45/image_11042025_06_45_36_10357.jpg
/home/pi/Desktop/images/11042025/06/45/image_11042025_06_45_45_9456.jpg
/home/pi/Desktop/images/11042025/06/45/image_11042025_06_45_56_10063.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351530376","1351530096","1351530045","1351530152","1351530233","1351530014"],"photo_ids_order":["1351530014","1351530045","1351530096","1351530152","1351530233","1351530376"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c78db21ca92a32021cde8b08b9e6fd59.jpg","text":"TemporaryFile(/tmp/multipartBody3970730679898656871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356393665,"filename":"image_11042025_06_45_56_10063.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/bb7ade7492c0bf9ce7f9065259655f67.jpg","text":"TemporaryFile(/tmp/multipartBody7621411628054622333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356393665,"filename":"image_11042025_06_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/11/a254db96a40663db35259681a9d5e4ac.jpg","text":"TemporaryFile(/tmp/multipartBody4989072464223743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356393665,"filename":"image_11042025_06_45_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/11/3a0f07ec2c0765f8f3401aeb30c4c479.jpg","text":"TemporaryFile(/tmp/multipartBody8488485813623489044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356393665,"filename":"image_11042025_06_45_36_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0d0525f384dc6b3114ae686e9cbd2e95.jpg","text":"TemporaryFile(/tmp/multipartBody6337513510801685045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356393665,"filename":"image_11042025_06_45_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/11/cdb9c54646c16013e9bd9c0240247ec6.jpg","text":"TemporaryFile(/tmp/multipartBody5594017648632055426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356393665,"filename":"image_11042025_06_45_06_10453.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351530096","file1":"1351530045","file0":"1351530014","file4":"1351530233","file5":"1351530376","file3":"1351530152"},"map_files_photo_id_array":[{"photo_id":"1351530376","filename":"file5"},{"photo_id":"1351530096","filename":"file2"},{"photo_id":"1351530233","filename":"file4"},{"photo_id":"1351530045","filename":"file1"},{"photo_id":"1351530014","filename":"file0"},{"photo_id":"1351530152","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351530376":["hashtag1","hashtag2"]},{"1351530096":["hashtag1","hashtag2"]},{"1351530045":["hashtag1","hashtag2"]},{"1351530152":["hashtag1","hashtag2"]},{"1351530233":["hashtag1","hashtag2"]},{"1351530014":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351530376, 1351530096, 1351530045, 1351530152, 1351530233, 1351530014)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.141305685043335 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 09:26:32.523508
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/06/45/image_11042025_06_46_06_10430.jpg', '/home/pi/Desktop/images/11042025/06/46/image_11042025_06_46_16_10352.jpg', '/home/pi/Desktop/images/11042025/06/46/image_11042025_06_46_26_9406.jpg', '/home/pi/Desktop/images/11042025/06/46/image_11042025_06_46_36_10365.jpg', '/home/pi/Desktop/images/11042025/06/46/image_11042025_06_46_45_9361.jpg', '/home/pi/Desktop/images/11042025/06/46/image_11042025_06_46_56_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/06/45/image_11042025_06_46_06_10430.jpg
/home/pi/Desktop/images/11042025/06/46/image_11042025_06_46_16_10352.jpg
/home/pi/Desktop/images/11042025/06/46/image_11042025_06_46_26_9406.jpg
/home/pi/Desktop/images/11042025/06/46/image_11042025_06_46_36_10365.jpg
/home/pi/Desktop/images/11042025/06/46/image_11042025_06_46_45_9361.jpg
/home/pi/Desktop/images/11042025/06/46/image_11042025_06_46_56_10375.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351531117","1351530756","1351530939","1351530846","1351531198","1351531048"],"photo_ids_order":["1351530756","1351530846","1351530939","1351531048","1351531117","1351531198"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d56102e9216dfe5d6612fe1b55bb3f24.jpg","text":"TemporaryFile(/tmp/multipartBody8888619369466863139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356452988,"filename":"image_11042025_06_46_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/11/979e32b706a6ac2d155b6064267584b2.jpg","text":"TemporaryFile(/tmp/multipartBody4478735718675372794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356452988,"filename":"image_11042025_06_46_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/11/5bf5f613df0991eba9227105b772c7c6.jpg","text":"TemporaryFile(/tmp/multipartBody3323446967751581173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356452988,"filename":"image_11042025_06_46_26_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8087a71f973f394e1d75abcab4479c56.jpg","text":"TemporaryFile(/tmp/multipartBody2789524078149115123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356452988,"filename":"image_11042025_06_46_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/11/77e38c26176b2e8a38f696d85914bab5.jpg","text":"TemporaryFile(/tmp/multipartBody4026158826430714557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356452988,"filename":"image_11042025_06_46_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/11/b22b4b82adad85fd9da1d3426f27d9d3.jpg","text":"TemporaryFile(/tmp/multipartBody8029718972657939559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356452988,"filename":"image_11042025_06_46_36_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351530939","file1":"1351530846","file0":"1351530756","file4":"1351531117","file5":"1351531198","file3":"1351531048"},"map_files_photo_id_array":[{"photo_id":"1351531198","filename":"file5"},{"photo_id":"1351530939","filename":"file2"},{"photo_id":"1351531117","filename":"file4"},{"photo_id":"1351530846","filename":"file1"},{"photo_id":"1351530756","filename":"file0"},{"photo_id":"1351531048","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351531117":["hashtag1","hashtag2"]},{"1351530756":["hashtag1","hashtag2"]},{"1351530939":["hashtag1","hashtag2"]},{"1351530846":["hashtag1","hashtag2"]},{"1351531198":["hashtag1","hashtag2"]},{"1351531048":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351531117, 1351530756, 1351530939, 1351530846, 1351531198, 1351531048)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.27247738838196 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 09:27:32.735581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/06/46/image_11042025_06_47_06_10423.jpg', '/home/pi/Desktop/images/11042025/06/47/image_11042025_06_47_26_10460.jpg', '/home/pi/Desktop/images/11042025/06/47/image_11042025_06_47_35_9391.jpg', '/home/pi/Desktop/images/11042025/06/47/image_11042025_06_47_56_10368.jpg', '/home/pi/Desktop/images/11042025/06/48/image_11042025_06_48_56_9363.jpg', '/home/pi/Desktop/images/11042025/06/48/image_11042025_06_49_06_10343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/06/46/image_11042025_06_47_06_10423.jpg
/home/pi/Desktop/images/11042025/06/47/image_11042025_06_47_26_10460.jpg
/home/pi/Desktop/images/11042025/06/47/image_11042025_06_47_35_9391.jpg
/home/pi/Desktop/images/11042025/06/47/image_11042025_06_47_56_10368.jpg
/home/pi/Desktop/images/11042025/06/48/image_11042025_06_48_56_9363.jpg
/home/pi/Desktop/images/11042025/06/48/image_11042025_06_49_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":["1351531819","1351531935","1351531880","1351531713","1351531979","1351531672"],"photo_ids_order":["1351531672","1351531713","1351531819","1351531880","1351531935","1351531979"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2764c51363a86d3ebc5038495267c3e1.jpg","text":"TemporaryFile(/tmp/multipartBody5794622275529396021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356513198,"filename":"image_11042025_06_47_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/11/45b94983c56bdeee2af60825b78828a1.jpg","text":"TemporaryFile(/tmp/multipartBody7974587030938419077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356513198,"filename":"image_11042025_06_48_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/11/198ec8df1042802f0856d550cc4d0a58.jpg","text":"TemporaryFile(/tmp/multipartBody2937875805485314394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356513198,"filename":"image_11042025_06_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/11/7b85af3cf55d8bcc6e5c9df254c94863.jpg","text":"TemporaryFile(/tmp/multipartBody8350321790019551091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356513198,"filename":"image_11042025_06_47_26_10460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/55f07495d2203310903d33887e668973.jpg","text":"TemporaryFile(/tmp/multipartBody5607547275701572422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356513198,"filename":"image_11042025_06_49_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/11/30ddd611579ebf5c66a2a03ac1852dad.jpg","text":"TemporaryFile(/tmp/multipartBody437656104548038282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356513198,"filename":"image_11042025_06_47_06_10423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351531819","file1":"1351531713","file0":"1351531672","file4":"1351531935","file5":"1351531979","file3":"1351531880"},"map_files_photo_id_array":[{"photo_id":"1351531979","filename":"file5"},{"photo_id":"1351531819","filename":"file2"},{"photo_id":"1351531935","filename":"file4"},{"photo_id":"1351531713","filename":"file1"},{"photo_id":"1351531672","filename":"file0"},{"photo_id":"1351531880","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351531819":["hashtag1","hashtag2"]},{"1351531935":["hashtag1","hashtag2"]},{"1351531880":["hashtag1","hashtag2"]},{"1351531713":["hashtag1","hashtag2"]},{"1351531979":["hashtag1","hashtag2"]},{"1351531672":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351531819, 1351531935, 1351531880, 1351531713, 1351531979, 1351531672)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.65167212486267 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 09:28:32.967310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/06/49/image_11042025_06_49_15_9356.jpg', '/home/pi/Desktop/images/11042025/06/49/image_11042025_06_49_36_10395.jpg', '/home/pi/Desktop/images/11042025/06/50/image_11042025_06_50_16_9349.jpg', '/home/pi/Desktop/images/11042025/06/50/image_11042025_06_50_26_10402.jpg', '/home/pi/Desktop/images/11042025/06/50/image_11042025_06_50_35_9393.jpg', '/home/pi/Desktop/images/11042025/06/50/image_11042025_06_50_46_10457.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/06/49/image_11042025_06_49_15_9356.jpg
/home/pi/Desktop/images/11042025/06/49/image_11042025_06_49_36_10395.jpg
/home/pi/Desktop/images/11042025/06/50/image_11042025_06_50_16_9349.jpg
/home/pi/Desktop/images/11042025/06/50/image_11042025_06_50_26_10402.jpg
/home/pi/Desktop/images/11042025/06/50/image_11042025_06_50_35_9393.jpg
/home/pi/Desktop/images/11042025/06/50/image_11042025_06_50_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":["1351532515","1351532601","1351532666","1351532567","1351532782","1351532737"],"photo_ids_order":["1351532515","1351532567","1351532601","1351532666","1351532737","1351532782"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ce6e2863c854ae89c585ec3adf3668bd.jpg","text":"TemporaryFile(/tmp/multipartBody8485770876815868680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356573437,"filename":"image_11042025_06_49_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/11/a71d50687cc0bc9aadb5d1934756a829.jpg","text":"TemporaryFile(/tmp/multipartBody6061902312051902137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356573437,"filename":"image_11042025_06_50_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/11/030a449994f4e2410c70ffb487b8362f.jpg","text":"TemporaryFile(/tmp/multipartBody2981797379679969373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356573437,"filename":"image_11042025_06_50_26_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/36f322c596f6179e7ebe589a7bc9c683.jpg","text":"TemporaryFile(/tmp/multipartBody7438024663267174094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356573437,"filename":"image_11042025_06_49_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/11/92ad438b3854f52d20b727c380947968.jpg","text":"TemporaryFile(/tmp/multipartBody7657520720538797143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356573437,"filename":"image_11042025_06_50_46_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/11/42cd65226962b9cf5e049927ea2fac3c.jpg","text":"TemporaryFile(/tmp/multipartBody4982728615121388416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356573437,"filename":"image_11042025_06_50_35_9393.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351532601","file1":"1351532567","file0":"1351532515","file4":"1351532737","file5":"1351532782","file3":"1351532666"},"map_files_photo_id_array":[{"photo_id":"1351532782","filename":"file5"},{"photo_id":"1351532601","filename":"file2"},{"photo_id":"1351532737","filename":"file4"},{"photo_id":"1351532567","filename":"file1"},{"photo_id":"1351532515","filename":"file0"},{"photo_id":"1351532666","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351532515":["hashtag1","hashtag2"]},{"1351532601":["hashtag1","hashtag2"]},{"1351532666":["hashtag1","hashtag2"]},{"1351532567":["hashtag1","hashtag2"]},{"1351532782":["hashtag1","hashtag2"]},{"1351532737":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351532515, 1351532601, 1351532666, 1351532567, 1351532782, 1351532737)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.38365435600281 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 09:29:32.262856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/06/50/image_11042025_06_50_56_10386.jpg', '/home/pi/Desktop/images/11042025/06/51/image_11042025_06_51_16_10416.jpg', '/home/pi/Desktop/images/11042025/06/51/image_11042025_06_51_45_9468.jpg', '/home/pi/Desktop/images/11042025/06/51/image_11042025_06_51_56_10470.jpg', '/home/pi/Desktop/images/11042025/06/51/image_11042025_06_52_06_10378.jpg', '/home/pi/Desktop/images/11042025/06/52/image_11042025_06_52_16_9336.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/06/50/image_11042025_06_50_56_10386.jpg
/home/pi/Desktop/images/11042025/06/51/image_11042025_06_51_16_10416.jpg
/home/pi/Desktop/images/11042025/06/51/image_11042025_06_51_45_9468.jpg
/home/pi/Desktop/images/11042025/06/51/image_11042025_06_51_56_10470.jpg
/home/pi/Desktop/images/11042025/06/51/image_11042025_06_52_06_10378.jpg
/home/pi/Desktop/images/11042025/06/52/image_11042025_06_52_16_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":["1351533386","1351533188","1351533476","1351533344","1351533247","1351533130"],"photo_ids_order":["1351533130","1351533188","1351533247","1351533344","1351533386","1351533476"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/92a1f202abdf3c4962e1f9a2ba186586.jpg","text":"TemporaryFile(/tmp/multipartBody1672444457241071069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356632726,"filename":"image_11042025_06_52_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/11/f86c0dd235877ea19497c3820b2128aa.jpg","text":"TemporaryFile(/tmp/multipartBody3251458674366879620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356632726,"filename":"image_11042025_06_51_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/11/6f3fcdee70f62147e13c012048e3850d.jpg","text":"TemporaryFile(/tmp/multipartBody7854899981239777331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356632726,"filename":"image_11042025_06_52_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/11/27c7edf5144aa21869d003e762c29c96.jpg","text":"TemporaryFile(/tmp/multipartBody7636230540374205493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356632726,"filename":"image_11042025_06_51_56_10470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7752595d500cb7536093a6722a1dc9f0.jpg","text":"TemporaryFile(/tmp/multipartBody4076336859033841470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356632726,"filename":"image_11042025_06_51_45_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/11/a119e2cf2726cf254f4cf03c6aa89782.jpg","text":"TemporaryFile(/tmp/multipartBody952291792925968465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356632726,"filename":"image_11042025_06_50_56_10386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351533247","file1":"1351533188","file0":"1351533130","file4":"1351533386","file5":"1351533476","file3":"1351533344"},"map_files_photo_id_array":[{"photo_id":"1351533476","filename":"file5"},{"photo_id":"1351533247","filename":"file2"},{"photo_id":"1351533386","filename":"file4"},{"photo_id":"1351533188","filename":"file1"},{"photo_id":"1351533130","filename":"file0"},{"photo_id":"1351533344","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351533386":["hashtag1","hashtag2"]},{"1351533188":["hashtag1","hashtag2"]},{"1351533476":["hashtag1","hashtag2"]},{"1351533344":["hashtag1","hashtag2"]},{"1351533247":["hashtag1","hashtag2"]},{"1351533130":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351533386, 1351533188, 1351533476, 1351533344, 1351533247, 1351533130)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.09782934188843 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 09:30:32.290624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/06/52/image_11042025_06_52_26_10485.jpg', '/home/pi/Desktop/images/11042025/06/52/image_11042025_06_52_35_9354.jpg', '/home/pi/Desktop/images/11042025/06/52/image_11042025_06_52_46_10419.jpg', '/home/pi/Desktop/images/11042025/06/52/image_11042025_06_52_56_10353.jpg', '/home/pi/Desktop/images/11042025/06/53/image_11042025_06_53_16_10367.jpg', '/home/pi/Desktop/images/11042025/06/53/image_11042025_06_53_26_10380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/06/52/image_11042025_06_52_26_10485.jpg
/home/pi/Desktop/images/11042025/06/52/image_11042025_06_52_35_9354.jpg
/home/pi/Desktop/images/11042025/06/52/image_11042025_06_52_46_10419.jpg
/home/pi/Desktop/images/11042025/06/52/image_11042025_06_52_56_10353.jpg
/home/pi/Desktop/images/11042025/06/53/image_11042025_06_53_16_10367.jpg
/home/pi/Desktop/images/11042025/06/53/image_11042025_06_53_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":["1351534196","1351534064","1351534139","1351534165","1351534021","1351534108"],"photo_ids_order":["1351534021","1351534064","1351534108","1351534139","1351534165","1351534196"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ae59c66fe3880c6084a65ca734f65a1d.jpg","text":"TemporaryFile(/tmp/multipartBody3995583887977532931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356692771,"filename":"image_11042025_06_53_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/11/f4c843c208f7893642e9ab695c1ecd90.jpg","text":"TemporaryFile(/tmp/multipartBody8994541720044446864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356692771,"filename":"image_11042025_06_52_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/11/3621d5fb965f5ad60d667cfcbde77bef.jpg","text":"TemporaryFile(/tmp/multipartBody8840262088338245603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356692771,"filename":"image_11042025_06_52_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/11/bafdb1669a995ffe229f185543d51877.jpg","text":"TemporaryFile(/tmp/multipartBody4164019418804596547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356692771,"filename":"image_11042025_06_53_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/11/e806e5f0369be7a5d198a83e44bd6515.jpg","text":"TemporaryFile(/tmp/multipartBody8678349470648450844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356692771,"filename":"image_11042025_06_52_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/11/81894758735056b06218371e321081ed.jpg","text":"TemporaryFile(/tmp/multipartBody8689718595599004021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356692771,"filename":"image_11042025_06_52_46_10419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351534108","file1":"1351534064","file0":"1351534021","file4":"1351534165","file5":"1351534196","file3":"1351534139"},"map_files_photo_id_array":[{"photo_id":"1351534196","filename":"file5"},{"photo_id":"1351534108","filename":"file2"},{"photo_id":"1351534165","filename":"file4"},{"photo_id":"1351534064","filename":"file1"},{"photo_id":"1351534021","filename":"file0"},{"photo_id":"1351534139","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351534196":["hashtag1","hashtag2"]},{"1351534064":["hashtag1","hashtag2"]},{"1351534139":["hashtag1","hashtag2"]},{"1351534165":["hashtag1","hashtag2"]},{"1351534021":["hashtag1","hashtag2"]},{"1351534108":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351534196, 1351534064, 1351534139, 1351534165, 1351534021, 1351534108)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.34856367111206 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 09:31:32.449401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/06/53/image_11042025_06_53_36_9405.jpg', '/home/pi/Desktop/images/11042025/06/53/image_11042025_06_53_46_10364.jpg', '/home/pi/Desktop/images/11042025/06/53/image_11042025_06_54_06_10436.jpg', '/home/pi/Desktop/images/11042025/06/54/image_11042025_06_54_16_10356.jpg', '/home/pi/Desktop/images/11042025/06/54/image_11042025_06_54_26_9358.jpg', '/home/pi/Desktop/images/11042025/06/54/image_11042025_06_54_36_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/06/53/image_11042025_06_53_36_9405.jpg
/home/pi/Desktop/images/11042025/06/53/image_11042025_06_53_46_10364.jpg
/home/pi/Desktop/images/11042025/06/53/image_11042025_06_54_06_10436.jpg
/home/pi/Desktop/images/11042025/06/54/image_11042025_06_54_16_10356.jpg
/home/pi/Desktop/images/11042025/06/54/image_11042025_06_54_26_9358.jpg
/home/pi/Desktop/images/11042025/06/54/image_11042025_06_54_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":["1351534577","1351534508","1351534666","1351534459","1351534617","1351534530"],"photo_ids_order":["1351534459","1351534508","1351534530","1351534577","1351534617","1351534666"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3e94609cd658d8e245a577a2c39a1b53.jpg","text":"TemporaryFile(/tmp/multipartBody8948521430452241208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356752910,"filename":"image_11042025_06_54_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/11/f85d0cf1c8caa88e0b16f5b16686d950.jpg","text":"TemporaryFile(/tmp/multipartBody5037731260343479809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356752910,"filename":"image_11042025_06_53_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/11/c5bb4a9bb79bb5e69c31cac4b140ab3b.jpg","text":"TemporaryFile(/tmp/multipartBody7425832184865401939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356752910,"filename":"image_11042025_06_54_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/11/e12cd907fdc8bde9f829f51c854097e0.jpg","text":"TemporaryFile(/tmp/multipartBody6767178920871196747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356752910,"filename":"image_11042025_06_53_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/11/ed7ece8edae50060430b3505bf23fd11.jpg","text":"TemporaryFile(/tmp/multipartBody8873385234488480390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356752910,"filename":"image_11042025_06_54_26_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c6cac210691b3c5474fa3251d0f491ae.jpg","text":"TemporaryFile(/tmp/multipartBody39633751077415266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356752910,"filename":"image_11042025_06_54_06_10436.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351534530","file1":"1351534508","file0":"1351534459","file4":"1351534617","file5":"1351534666","file3":"1351534577"},"map_files_photo_id_array":[{"photo_id":"1351534666","filename":"file5"},{"photo_id":"1351534530","filename":"file2"},{"photo_id":"1351534617","filename":"file4"},{"photo_id":"1351534508","filename":"file1"},{"photo_id":"1351534459","filename":"file0"},{"photo_id":"1351534577","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351534577":["hashtag1","hashtag2"]},{"1351534508":["hashtag1","hashtag2"]},{"1351534666":["hashtag1","hashtag2"]},{"1351534459":["hashtag1","hashtag2"]},{"1351534617":["hashtag1","hashtag2"]},{"1351534530":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351534577, 1351534508, 1351534666, 1351534459, 1351534617, 1351534530)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.921067714691162 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 09:32:32.838283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/06/54/image_11042025_06_54_45_9396.jpg', '/home/pi/Desktop/images/11042025/06/54/image_11042025_06_54_56_10449.jpg', '/home/pi/Desktop/images/11042025/06/54/image_11042025_06_55_06_10348.jpg', '/home/pi/Desktop/images/11042025/06/55/image_11042025_06_55_15_9345.jpg', '/home/pi/Desktop/images/11042025/06/55/image_11042025_06_55_26_10470.jpg', '/home/pi/Desktop/images/11042025/06/55/image_11042025_06_55_35_9385.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/06/54/image_11042025_06_54_45_9396.jpg
/home/pi/Desktop/images/11042025/06/54/image_11042025_06_54_56_10449.jpg
/home/pi/Desktop/images/11042025/06/54/image_11042025_06_55_06_10348.jpg
/home/pi/Desktop/images/11042025/06/55/image_11042025_06_55_15_9345.jpg
/home/pi/Desktop/images/11042025/06/55/image_11042025_06_55_26_10470.jpg
/home/pi/Desktop/images/11042025/06/55/image_11042025_06_55_35_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":["1351535042","1351535111","1351535173","1351535014","1351535064","1351535258"],"photo_ids_order":["1351535014","1351535042","1351535064","1351535111","1351535173","1351535258"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/43a2394c3daae940125d16ff8572979c.jpg","text":"TemporaryFile(/tmp/multipartBody4937563782212218020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356813311,"filename":"image_11042025_06_54_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/11/f503743a7dd719eb5e3ef03f21238923.jpg","text":"TemporaryFile(/tmp/multipartBody5234455744528301798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356813311,"filename":"image_11042025_06_55_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/11/d93923db1e573eadb12cd23d2f7ee9f1.jpg","text":"TemporaryFile(/tmp/multipartBody5257414003085042172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356813311,"filename":"image_11042025_06_55_26_10470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/47dee5b98b9ef99e9fd1ec76aeded16c.jpg","text":"TemporaryFile(/tmp/multipartBody4403122997030584955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356813311,"filename":"image_11042025_06_54_45_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/90b3b65cb27f2c3fe07ef330faa97668.jpg","text":"TemporaryFile(/tmp/multipartBody3752740508868466756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356813311,"filename":"image_11042025_06_55_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/11/ab54f056ac8d7d5646052f0ef8b5d4ae.jpg","text":"TemporaryFile(/tmp/multipartBody2376793565323482075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356813311,"filename":"image_11042025_06_55_35_9385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351535064","file1":"1351535042","file0":"1351535014","file4":"1351535173","file5":"1351535258","file3":"1351535111"},"map_files_photo_id_array":[{"photo_id":"1351535258","filename":"file5"},{"photo_id":"1351535064","filename":"file2"},{"photo_id":"1351535173","filename":"file4"},{"photo_id":"1351535042","filename":"file1"},{"photo_id":"1351535014","filename":"file0"},{"photo_id":"1351535111","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351535042":["hashtag1","hashtag2"]},{"1351535111":["hashtag1","hashtag2"]},{"1351535173":["hashtag1","hashtag2"]},{"1351535014":["hashtag1","hashtag2"]},{"1351535064":["hashtag1","hashtag2"]},{"1351535258":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351535042, 1351535111, 1351535173, 1351535014, 1351535064, 1351535258)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.67786693572998 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 09:33:32.953820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/06/55/image_11042025_06_55_46_10439.jpg', '/home/pi/Desktop/images/11042025/06/55/image_11042025_06_55_56_10373.jpg', '/home/pi/Desktop/images/11042025/06/55/image_11042025_06_56_05_9337.jpg', '/home/pi/Desktop/images/11042025/06/56/image_11042025_06_56_16_10410.jpg', '/home/pi/Desktop/images/11042025/06/56/image_11042025_06_56_26_10365.jpg', '/home/pi/Desktop/images/11042025/06/56/image_11042025_06_56_36_9340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/06/55/image_11042025_06_55_46_10439.jpg
/home/pi/Desktop/images/11042025/06/55/image_11042025_06_55_56_10373.jpg
/home/pi/Desktop/images/11042025/06/55/image_11042025_06_56_05_9337.jpg
/home/pi/Desktop/images/11042025/06/56/image_11042025_06_56_16_10410.jpg
/home/pi/Desktop/images/11042025/06/56/image_11042025_06_56_26_10365.jpg
/home/pi/Desktop/images/11042025/06/56/image_11042025_06_56_36_9340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351535717","1351535644","1351535803","1351535766","1351535891","1351535672"],"photo_ids_order":["1351535644","1351535672","1351535717","1351535766","1351535803","1351535891"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/53c2b025dd0c284e981d02fa8512e48b.jpg","text":"TemporaryFile(/tmp/multipartBody8647782060821463363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356873439,"filename":"image_11042025_06_56_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/11/176d7b1df642088ab7e4215aae953f3b.jpg","text":"TemporaryFile(/tmp/multipartBody1239097613141965136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356873439,"filename":"image_11042025_06_55_46_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d83751789cdcb95102e2de9e8fedda39.jpg","text":"TemporaryFile(/tmp/multipartBody5871144943555532366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356873439,"filename":"image_11042025_06_56_26_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/04a2b83b29450c1d76f97838a2cb250f.jpg","text":"TemporaryFile(/tmp/multipartBody5134729710399371890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356873439,"filename":"image_11042025_06_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/11/f7e9386c571b16fd71abc21519b1a357.jpg","text":"TemporaryFile(/tmp/multipartBody4117554898962170660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356873439,"filename":"image_11042025_06_56_36_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c10a96504985b97dfe818de45c62e756.jpg","text":"TemporaryFile(/tmp/multipartBody1687317874829200407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356873439,"filename":"image_11042025_06_55_56_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351535717","file1":"1351535672","file0":"1351535644","file4":"1351535803","file5":"1351535891","file3":"1351535766"},"map_files_photo_id_array":[{"photo_id":"1351535891","filename":"file5"},{"photo_id":"1351535717","filename":"file2"},{"photo_id":"1351535803","filename":"file4"},{"photo_id":"1351535672","filename":"file1"},{"photo_id":"1351535644","filename":"file0"},{"photo_id":"1351535766","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351535717":["hashtag1","hashtag2"]},{"1351535644":["hashtag1","hashtag2"]},{"1351535803":["hashtag1","hashtag2"]},{"1351535766":["hashtag1","hashtag2"]},{"1351535891":["hashtag1","hashtag2"]},{"1351535672":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351535717, 1351535644, 1351535803, 1351535766, 1351535891, 1351535672)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.87983274459839 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 09:34:33.103089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/06/56/image_11042025_06_56_46_10405.jpg', '/home/pi/Desktop/images/11042025/06/56/image_11042025_06_56_55_9363.jpg', '/home/pi/Desktop/images/11042025/06/56/image_11042025_06_57_06_10399.jpg', '/home/pi/Desktop/images/11042025/06/57/image_11042025_06_57_16_10360.jpg', '/home/pi/Desktop/images/11042025/06/57/image_11042025_06_57_25_9361.jpg', '/home/pi/Desktop/images/11042025/06/57/image_11042025_06_57_36_10451.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/06/56/image_11042025_06_56_46_10405.jpg
/home/pi/Desktop/images/11042025/06/56/image_11042025_06_56_55_9363.jpg
/home/pi/Desktop/images/11042025/06/56/image_11042025_06_57_06_10399.jpg
/home/pi/Desktop/images/11042025/06/57/image_11042025_06_57_16_10360.jpg
/home/pi/Desktop/images/11042025/06/57/image_11042025_06_57_25_9361.jpg
/home/pi/Desktop/images/11042025/06/57/image_11042025_06_57_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":["1351536439","1351536181","1351536537","1351536306","1351536600","1351536368"],"photo_ids_order":["1351536181","1351536306","1351536368","1351536439","1351536537","1351536600"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/24c7377c2d9dc73553177f16a32314cb.jpg","text":"TemporaryFile(/tmp/multipartBody4259393994446147680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356933574,"filename":"image_11042025_06_57_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/11/d875b5d68fe2a6cd8c3e3a069bd2057c.jpg","text":"TemporaryFile(/tmp/multipartBody5758460861923581291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356933574,"filename":"image_11042025_06_56_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/11/ccdaa20fc74cb3d35f62141a09ddb842.jpg","text":"TemporaryFile(/tmp/multipartBody8848456388163787484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356933574,"filename":"image_11042025_06_57_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/11/5c92089dc46efa7a595ac2625108fe17.jpg","text":"TemporaryFile(/tmp/multipartBody8411671460243804126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356933574,"filename":"image_11042025_06_56_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/11/0b725810362f3fd6c473d620a1c1e43d.jpg","text":"TemporaryFile(/tmp/multipartBody9030740084920912825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356933574,"filename":"image_11042025_06_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/11/4df346875663b9e4a1be6fe9242bd47d.jpg","text":"TemporaryFile(/tmp/multipartBody2615840494362988259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356933574,"filename":"image_11042025_06_57_06_10399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351536368","file1":"1351536306","file0":"1351536181","file4":"1351536537","file5":"1351536600","file3":"1351536439"},"map_files_photo_id_array":[{"photo_id":"1351536600","filename":"file5"},{"photo_id":"1351536368","filename":"file2"},{"photo_id":"1351536537","filename":"file4"},{"photo_id":"1351536306","filename":"file1"},{"photo_id":"1351536181","filename":"file0"},{"photo_id":"1351536439","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351536439":["hashtag1","hashtag2"]},{"1351536181":["hashtag1","hashtag2"]},{"1351536537":["hashtag1","hashtag2"]},{"1351536306":["hashtag1","hashtag2"]},{"1351536600":["hashtag1","hashtag2"]},{"1351536368":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351536439, 1351536181, 1351536537, 1351536306, 1351536600, 1351536368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.698177099227905 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 09:35:32.259353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/06/57/image_11042025_06_57_45_9383.jpg', '/home/pi/Desktop/images/11042025/06/57/image_11042025_06_57_56_10467.jpg', '/home/pi/Desktop/images/11042025/06/57/image_11042025_06_58_06_10363.jpg', '/home/pi/Desktop/images/11042025/06/58/image_11042025_06_58_15_9361.jpg', '/home/pi/Desktop/images/11042025/06/58/image_11042025_06_58_26_10452.jpg', '/home/pi/Desktop/images/11042025/06/58/image_11042025_06_58_35_9360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/06/57/image_11042025_06_57_45_9383.jpg
/home/pi/Desktop/images/11042025/06/57/image_11042025_06_57_56_10467.jpg
/home/pi/Desktop/images/11042025/06/57/image_11042025_06_58_06_10363.jpg
/home/pi/Desktop/images/11042025/06/58/image_11042025_06_58_15_9361.jpg
/home/pi/Desktop/images/11042025/06/58/image_11042025_06_58_26_10452.jpg
/home/pi/Desktop/images/11042025/06/58/image_11042025_06_58_35_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":["1351537021","1351536993","1351536928","1351537085","1351536954","1351537049"],"photo_ids_order":["1351536928","1351536954","1351536993","1351537021","1351537049","1351537085"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5717d7d77316bd399929bfb243e61b47.jpg","text":"TemporaryFile(/tmp/multipartBody4778210902632398379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356992747,"filename":"image_11042025_06_58_15_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c2e98d29197327cc557d46583f57d5e9.jpg","text":"TemporaryFile(/tmp/multipartBody5238545157811415232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356992747,"filename":"image_11042025_06_58_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/11/277ccb149f25b47164d72f2c94c8a1f6.jpg","text":"TemporaryFile(/tmp/multipartBody3206578731206532551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356992747,"filename":"image_11042025_06_57_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/11/b8b26614387d85631df33dc2df4c2296.jpg","text":"TemporaryFile(/tmp/multipartBody8963903086914998308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356992747,"filename":"image_11042025_06_58_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/11/bb7e8bab7922843ad2ada6ccb77d43c7.jpg","text":"TemporaryFile(/tmp/multipartBody3749751278489749635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356992747,"filename":"image_11042025_06_57_56_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/11/a49e46c3c868823c00c5361ecb264fb9.jpg","text":"TemporaryFile(/tmp/multipartBody3443087776574073144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744356992747,"filename":"image_11042025_06_58_26_10452.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351536993","file1":"1351536954","file0":"1351536928","file4":"1351537049","file5":"1351537085","file3":"1351537021"},"map_files_photo_id_array":[{"photo_id":"1351537085","filename":"file5"},{"photo_id":"1351536993","filename":"file2"},{"photo_id":"1351537049","filename":"file4"},{"photo_id":"1351536954","filename":"file1"},{"photo_id":"1351536928","filename":"file0"},{"photo_id":"1351537021","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351537021":["hashtag1","hashtag2"]},{"1351536993":["hashtag1","hashtag2"]},{"1351536928":["hashtag1","hashtag2"]},{"1351537085":["hashtag1","hashtag2"]},{"1351536954":["hashtag1","hashtag2"]},{"1351537049":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351537021, 1351536993, 1351536928, 1351537085, 1351536954, 1351537049)","result":[],"list_datou_current":[]}'
Result OK !
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1351536993 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/11042025/06/57/image_11042025_06_58_06_10363.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 53.23551082611084 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 09:36:32.588787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/06/58/image_11042025_06_58_46_10455.jpg', '/home/pi/Desktop/images/11042025/06/58/image_11042025_06_58_56_10474.jpg', '/home/pi/Desktop/images/11042025/06/58/image_11042025_06_59_06_9350.jpg', '/home/pi/Desktop/images/11042025/06/59/image_11042025_06_59_16_10356.jpg', '/home/pi/Desktop/images/11042025/06/59/image_11042025_06_59_25_9376.jpg', '/home/pi/Desktop/images/11042025/06/59/image_11042025_06_59_36_10425.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/06/58/image_11042025_06_58_46_10455.jpg
/home/pi/Desktop/images/11042025/06/58/image_11042025_06_58_56_10474.jpg
/home/pi/Desktop/images/11042025/06/58/image_11042025_06_59_06_9350.jpg
/home/pi/Desktop/images/11042025/06/59/image_11042025_06_59_16_10356.jpg
/home/pi/Desktop/images/11042025/06/59/image_11042025_06_59_25_9376.jpg
/home/pi/Desktop/images/11042025/06/59/image_11042025_06_59_36_10425.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351537998","1351537936","1351537853","1351537784","1351537541","1351537654"],"photo_ids_order":["1351537541","1351537654","1351537784","1351537853","1351537936","1351537998"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/656401c811f7b72153010e9e727dc5aa.jpg","text":"TemporaryFile(/tmp/multipartBody5073719496895411873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357053052,"filename":"image_11042025_06_59_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/11/a7468ec286bd4446c97183ca359ceb25.jpg","text":"TemporaryFile(/tmp/multipartBody1352489533822061084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357053052,"filename":"image_11042025_06_59_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/11/3616ef26211d3fcb8575c6ee7735bf9c.jpg","text":"TemporaryFile(/tmp/multipartBody1169369556984863618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357053052,"filename":"image_11042025_06_59_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/11/b1650b0708b3d3522ed6154d3830d6e7.jpg","text":"TemporaryFile(/tmp/multipartBody6848938636379117001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357053052,"filename":"image_11042025_06_59_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/11/07876bc98d99c4cce84b21b7454a3bac.jpg","text":"TemporaryFile(/tmp/multipartBody3288943068847979510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357053052,"filename":"image_11042025_06_58_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/11/af0539a2dd1edfc09f6f4b1076d33cb9.jpg","text":"TemporaryFile(/tmp/multipartBody4250772194694628585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357053052,"filename":"image_11042025_06_58_56_10474.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351537784","file1":"1351537654","file0":"1351537541","file4":"1351537936","file5":"1351537998","file3":"1351537853"},"map_files_photo_id_array":[{"photo_id":"1351537998","filename":"file5"},{"photo_id":"1351537784","filename":"file2"},{"photo_id":"1351537936","filename":"file4"},{"photo_id":"1351537654","filename":"file1"},{"photo_id":"1351537541","filename":"file0"},{"photo_id":"1351537853","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351537998":["hashtag1","hashtag2"]},{"1351537936":["hashtag1","hashtag2"]},{"1351537853":["hashtag1","hashtag2"]},{"1351537784":["hashtag1","hashtag2"]},{"1351537541":["hashtag1","hashtag2"]},{"1351537654":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351537998, 1351537936, 1351537853, 1351537784, 1351537541, 1351537654)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.91244459152222 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 09:37:32.934568
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/06/59/image_11042025_06_59_46_10413.jpg', '/home/pi/Desktop/images/11042025/06/59/image_11042025_06_59_56_9359.jpg', '/home/pi/Desktop/images/11042025/07/01/image_11042025_07_01_14_10078.jpg', '/home/pi/Desktop/images/11042025/07/01/image_11042025_07_01_35_10465.jpg', '/home/pi/Desktop/images/11042025/07/01/image_11042025_07_01_44_9349.jpg', '/home/pi/Desktop/images/11042025/07/01/image_11042025_07_01_55_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/06/59/image_11042025_06_59_46_10413.jpg
/home/pi/Desktop/images/11042025/06/59/image_11042025_06_59_56_9359.jpg
/home/pi/Desktop/images/11042025/07/01/image_11042025_07_01_14_10078.jpg
/home/pi/Desktop/images/11042025/07/01/image_11042025_07_01_35_10465.jpg
/home/pi/Desktop/images/11042025/07/01/image_11042025_07_01_44_9349.jpg
/home/pi/Desktop/images/11042025/07/01/image_11042025_07_01_55_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351538511","1351538409","1351538474","1351538630","1351538530","1351538580"],"photo_ids_order":["1351538409","1351538474","1351538511","1351538530","1351538580","1351538630"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0f9feecc8bdb88f44cb8f63d3ff04e04.jpg","text":"TemporaryFile(/tmp/multipartBody3824681151232136728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357113524,"filename":"image_11042025_07_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/11/900ab00f8745c27348670706fa634bc9.jpg","text":"TemporaryFile(/tmp/multipartBody511202177178088273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357113524,"filename":"image_11042025_06_59_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/11/2420f8ce41329f39c2eebff3933b3dfe.jpg","text":"TemporaryFile(/tmp/multipartBody1608236596639718408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357113524,"filename":"image_11042025_06_59_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/11/da532e22788e6188113b76aae6a49f73.jpg","text":"TemporaryFile(/tmp/multipartBody5887817449918398609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357113524,"filename":"image_11042025_07_01_55_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f6cad1c5188dd988a4e45d178b0160d6.jpg","text":"TemporaryFile(/tmp/multipartBody6278556818563491784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357113524,"filename":"image_11042025_07_01_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/11/ba149808d211f9c056ba74876a36e0a1.jpg","text":"TemporaryFile(/tmp/multipartBody7489147039585311700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357113524,"filename":"image_11042025_07_01_44_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351538511","file1":"1351538474","file0":"1351538409","file4":"1351538580","file5":"1351538630","file3":"1351538530"},"map_files_photo_id_array":[{"photo_id":"1351538630","filename":"file5"},{"photo_id":"1351538511","filename":"file2"},{"photo_id":"1351538580","filename":"file4"},{"photo_id":"1351538474","filename":"file1"},{"photo_id":"1351538409","filename":"file0"},{"photo_id":"1351538530","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351538511":["hashtag1","hashtag2"]},{"1351538409":["hashtag1","hashtag2"]},{"1351538474":["hashtag1","hashtag2"]},{"1351538630":["hashtag1","hashtag2"]},{"1351538530":["hashtag1","hashtag2"]},{"1351538580":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351538511, 1351538409, 1351538474, 1351538630, 1351538530, 1351538580)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.598734617233276 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 09:38:32.127677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/07/01/image_11042025_07_02_04_9456.jpg', '/home/pi/Desktop/images/11042025/07/02/image_11042025_07_02_14_10349.jpg', '/home/pi/Desktop/images/11042025/07/02/image_11042025_07_02_25_10387.jpg', '/home/pi/Desktop/images/11042025/07/02/image_11042025_07_02_34_9334.jpg', '/home/pi/Desktop/images/11042025/07/02/image_11042025_07_02_45_10368.jpg', '/home/pi/Desktop/images/11042025/07/02/image_11042025_07_02_55_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/07/01/image_11042025_07_02_04_9456.jpg
/home/pi/Desktop/images/11042025/07/02/image_11042025_07_02_14_10349.jpg
/home/pi/Desktop/images/11042025/07/02/image_11042025_07_02_25_10387.jpg
/home/pi/Desktop/images/11042025/07/02/image_11042025_07_02_34_9334.jpg
/home/pi/Desktop/images/11042025/07/02/image_11042025_07_02_45_10368.jpg
/home/pi/Desktop/images/11042025/07/02/image_11042025_07_02_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":["1351539311","1351539212","1351539193","1351539280","1351539130","1351539258"],"photo_ids_order":["1351539130","1351539193","1351539212","1351539258","1351539280","1351539311"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/28c500f5b0a697073bc9d487f1378c4d.jpg","text":"TemporaryFile(/tmp/multipartBody5041969086751045343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357172591,"filename":"image_11042025_07_02_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/11/93a4114308948ebf593a5d6cae55f27e.jpg","text":"TemporaryFile(/tmp/multipartBody1942226474269356988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357172591,"filename":"image_11042025_07_02_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/11/16f7de24e151ca9c005e324923c886c9.jpg","text":"TemporaryFile(/tmp/multipartBody8789832403366289701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357172591,"filename":"image_11042025_07_02_14_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ebe54e76fb879965b72748a844af89e7.jpg","text":"TemporaryFile(/tmp/multipartBody7503944082574453937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357172591,"filename":"image_11042025_07_02_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/11/45023e6e781486df44d0c8cc5304eec6.jpg","text":"TemporaryFile(/tmp/multipartBody355098650112507307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357172591,"filename":"image_11042025_07_02_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/11/b3a3797166fc5459227f83f70e18179c.jpg","text":"TemporaryFile(/tmp/multipartBody5663927384445734763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357172591,"filename":"image_11042025_07_02_34_9334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351539212","file1":"1351539193","file0":"1351539130","file4":"1351539280","file5":"1351539311","file3":"1351539258"},"map_files_photo_id_array":[{"photo_id":"1351539311","filename":"file5"},{"photo_id":"1351539212","filename":"file2"},{"photo_id":"1351539280","filename":"file4"},{"photo_id":"1351539193","filename":"file1"},{"photo_id":"1351539130","filename":"file0"},{"photo_id":"1351539258","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351539311":["hashtag1","hashtag2"]},{"1351539212":["hashtag1","hashtag2"]},{"1351539193":["hashtag1","hashtag2"]},{"1351539280":["hashtag1","hashtag2"]},{"1351539130":["hashtag1","hashtag2"]},{"1351539258":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351539311, 1351539212, 1351539193, 1351539280, 1351539130, 1351539258)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.44363069534302 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 09:39:32.600342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/07/02/image_11042025_07_03_04_9339.jpg', '/home/pi/Desktop/images/11042025/07/03/image_11042025_07_03_15_10354.jpg', '/home/pi/Desktop/images/11042025/07/03/image_11042025_07_03_25_10350.jpg', '/home/pi/Desktop/images/11042025/07/03/image_11042025_07_03_34_9362.jpg', '/home/pi/Desktop/images/11042025/07/03/image_11042025_07_03_45_10410.jpg', '/home/pi/Desktop/images/11042025/07/03/image_11042025_07_03_54_9403.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/07/02/image_11042025_07_03_04_9339.jpg
/home/pi/Desktop/images/11042025/07/03/image_11042025_07_03_15_10354.jpg
/home/pi/Desktop/images/11042025/07/03/image_11042025_07_03_25_10350.jpg
/home/pi/Desktop/images/11042025/07/03/image_11042025_07_03_34_9362.jpg
/home/pi/Desktop/images/11042025/07/03/image_11042025_07_03_45_10410.jpg
/home/pi/Desktop/images/11042025/07/03/image_11042025_07_03_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":["1351539644","1351539629","1351539638","1351539605","1351539619","1351539511"],"photo_ids_order":["1351539511","1351539605","1351539619","1351539629","1351539638","1351539644"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1c167f8db8f167db56beffe5f4fa0e34.jpg","text":"TemporaryFile(/tmp/multipartBody5930994524633007000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357233067,"filename":"image_11042025_07_03_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/11/dead05a12d8aef16887659f0dd635c45.jpg","text":"TemporaryFile(/tmp/multipartBody415058295980768687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357233067,"filename":"image_11042025_07_03_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/11/70e4557fc3ed2c126ce637d53f93cf4d.jpg","text":"TemporaryFile(/tmp/multipartBody7126731861534383115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357233067,"filename":"image_11042025_07_03_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/11/1191fc21dce74315695f2058e1c9a29d.jpg","text":"TemporaryFile(/tmp/multipartBody5459507460998965078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357233067,"filename":"image_11042025_07_03_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/11/f8db4ccf4587dc644734c1a174c4efed.jpg","text":"TemporaryFile(/tmp/multipartBody4801510160056619764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357233067,"filename":"image_11042025_07_03_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/11/89c724b3e1ea0f4f38e63e9c7eabdb2c.jpg","text":"TemporaryFile(/tmp/multipartBody4723177499852910884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357233067,"filename":"image_11042025_07_03_04_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351539619","file1":"1351539605","file0":"1351539511","file4":"1351539638","file5":"1351539644","file3":"1351539629"},"map_files_photo_id_array":[{"photo_id":"1351539644","filename":"file5"},{"photo_id":"1351539619","filename":"file2"},{"photo_id":"1351539638","filename":"file4"},{"photo_id":"1351539605","filename":"file1"},{"photo_id":"1351539511","filename":"file0"},{"photo_id":"1351539629","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351539644":["hashtag1","hashtag2"]},{"1351539629":["hashtag1","hashtag2"]},{"1351539638":["hashtag1","hashtag2"]},{"1351539605":["hashtag1","hashtag2"]},{"1351539619":["hashtag1","hashtag2"]},{"1351539511":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351539644, 1351539629, 1351539638, 1351539605, 1351539619, 1351539511)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.68471312522888 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 09:40:32.765356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/07/03/image_11042025_07_04_04_10376.jpg', '/home/pi/Desktop/images/11042025/07/04/image_11042025_07_04_15_10429.jpg', '/home/pi/Desktop/images/11042025/07/04/image_11042025_07_04_24_9356.jpg', '/home/pi/Desktop/images/11042025/07/04/image_11042025_07_04_35_10366.jpg', '/home/pi/Desktop/images/11042025/07/04/image_11042025_07_04_44_9394.jpg', '/home/pi/Desktop/images/11042025/07/04/image_11042025_07_04_54_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/07/03/image_11042025_07_04_04_10376.jpg
/home/pi/Desktop/images/11042025/07/04/image_11042025_07_04_15_10429.jpg
/home/pi/Desktop/images/11042025/07/04/image_11042025_07_04_24_9356.jpg
/home/pi/Desktop/images/11042025/07/04/image_11042025_07_04_35_10366.jpg
/home/pi/Desktop/images/11042025/07/04/image_11042025_07_04_44_9394.jpg
/home/pi/Desktop/images/11042025/07/04/image_11042025_07_04_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":["1351539804","1351539731","1351539763","1351539709","1351539666","1351539660"],"photo_ids_order":["1351539660","1351539666","1351539709","1351539731","1351539763","1351539804"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/934bcbdef83450f637ccf0bd9f95e660.jpg","text":"TemporaryFile(/tmp/multipartBody3687410461794511789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357293231,"filename":"image_11042025_07_04_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/11/c23ef14262faa0baffa9b77febe68c75.jpg","text":"TemporaryFile(/tmp/multipartBody8189288353290786128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357293231,"filename":"image_11042025_07_04_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/11/830536250a85810275f7e1bf9315ff7a.jpg","text":"TemporaryFile(/tmp/multipartBody5133936900280884258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357293231,"filename":"image_11042025_07_04_44_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e4040268a2111c0a829c8dd98646aa78.jpg","text":"TemporaryFile(/tmp/multipartBody2781712201471516982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357293231,"filename":"image_11042025_07_04_24_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4616dd5a6d3d188c6fd6e6d783b74d2c.jpg","text":"TemporaryFile(/tmp/multipartBody8299369073610026713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357293231,"filename":"image_11042025_07_04_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/11/b7aa2e2e5d01b5c41d43a84d5bceb334.jpg","text":"TemporaryFile(/tmp/multipartBody5334349151545158306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357293231,"filename":"image_11042025_07_04_04_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351539709","file1":"1351539666","file0":"1351539660","file4":"1351539763","file5":"1351539804","file3":"1351539731"},"map_files_photo_id_array":[{"photo_id":"1351539804","filename":"file5"},{"photo_id":"1351539709","filename":"file2"},{"photo_id":"1351539763","filename":"file4"},{"photo_id":"1351539666","filename":"file1"},{"photo_id":"1351539660","filename":"file0"},{"photo_id":"1351539731","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351539804":["hashtag1","hashtag2"]},{"1351539731":["hashtag1","hashtag2"]},{"1351539763":["hashtag1","hashtag2"]},{"1351539709":["hashtag1","hashtag2"]},{"1351539666":["hashtag1","hashtag2"]},{"1351539660":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351539804, 1351539731, 1351539763, 1351539709, 1351539666, 1351539660)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.037050008773804 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 09:41:32.916992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/07/04/image_11042025_07_05_05_10423.jpg', '/home/pi/Desktop/images/11042025/07/05/image_11042025_07_05_14_9421.jpg', '/home/pi/Desktop/images/11042025/07/05/image_11042025_07_05_25_10354.jpg', '/home/pi/Desktop/images/11042025/07/05/image_11042025_07_05_34_9401.jpg', '/home/pi/Desktop/images/11042025/07/05/image_11042025_07_05_44_10396.jpg', '/home/pi/Desktop/images/11042025/07/05/image_11042025_07_05_55_10435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/07/04/image_11042025_07_05_05_10423.jpg
/home/pi/Desktop/images/11042025/07/05/image_11042025_07_05_14_9421.jpg
/home/pi/Desktop/images/11042025/07/05/image_11042025_07_05_25_10354.jpg
/home/pi/Desktop/images/11042025/07/05/image_11042025_07_05_34_9401.jpg
/home/pi/Desktop/images/11042025/07/05/image_11042025_07_05_44_10396.jpg
/home/pi/Desktop/images/11042025/07/05/image_11042025_07_05_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":["1351540086","1351540146","1351540119","1351540017","1351540055","1351539987"],"photo_ids_order":["1351539987","1351540017","1351540055","1351540086","1351540119","1351540146"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e93c418ace827a8d2301d32a1359144a.jpg","text":"TemporaryFile(/tmp/multipartBody3216094930877333525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357353384,"filename":"image_11042025_07_05_34_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/fafb45981fc4e3a2399e3c24e8fc97c8.jpg","text":"TemporaryFile(/tmp/multipartBody6942136041894800110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357353384,"filename":"image_11042025_07_05_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/11/3a1c8f7d14e4cba8d0de9c007cf3edbd.jpg","text":"TemporaryFile(/tmp/multipartBody842354683088188701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357353384,"filename":"image_11042025_07_05_44_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/11/a0aca9172298679c54f4ae648c028b20.jpg","text":"TemporaryFile(/tmp/multipartBody2065381522250839902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357353384,"filename":"image_11042025_07_05_14_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2393e1cac84d8b6c97aaffb503e013f9.jpg","text":"TemporaryFile(/tmp/multipartBody3727915697798684646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357353384,"filename":"image_11042025_07_05_25_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/fc32c67436b8dcd6d26c37c72a928b7a.jpg","text":"TemporaryFile(/tmp/multipartBody1558379410116564171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357353384,"filename":"image_11042025_07_05_05_10423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351540055","file1":"1351540017","file0":"1351539987","file4":"1351540119","file5":"1351540146","file3":"1351540086"},"map_files_photo_id_array":[{"photo_id":"1351540146","filename":"file5"},{"photo_id":"1351540055","filename":"file2"},{"photo_id":"1351540119","filename":"file4"},{"photo_id":"1351540017","filename":"file1"},{"photo_id":"1351539987","filename":"file0"},{"photo_id":"1351540086","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351540086":["hashtag1","hashtag2"]},{"1351540146":["hashtag1","hashtag2"]},{"1351540119":["hashtag1","hashtag2"]},{"1351540017":["hashtag1","hashtag2"]},{"1351540055":["hashtag1","hashtag2"]},{"1351539987":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351540086, 1351540146, 1351540119, 1351540017, 1351540055, 1351539987)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.309975147247314 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 09:42:33.090368
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/07/05/image_11042025_07_06_04_9358.jpg', '/home/pi/Desktop/images/11042025/07/06/image_11042025_07_06_15_10366.jpg', '/home/pi/Desktop/images/11042025/07/06/image_11042025_07_06_24_9448.jpg', '/home/pi/Desktop/images/11042025/07/06/image_11042025_07_06_34_10370.jpg', '/home/pi/Desktop/images/11042025/07/06/image_11042025_07_06_45_10507.jpg', '/home/pi/Desktop/images/11042025/07/06/image_11042025_07_06_54_9406.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/07/05/image_11042025_07_06_04_9358.jpg
/home/pi/Desktop/images/11042025/07/06/image_11042025_07_06_15_10366.jpg
/home/pi/Desktop/images/11042025/07/06/image_11042025_07_06_24_9448.jpg
/home/pi/Desktop/images/11042025/07/06/image_11042025_07_06_34_10370.jpg
/home/pi/Desktop/images/11042025/07/06/image_11042025_07_06_45_10507.jpg
/home/pi/Desktop/images/11042025/07/06/image_11042025_07_06_54_9406.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351540353","1351540449","1351540362","1351540390","1351540366","1351540411"],"photo_ids_order":["1351540353","1351540362","1351540366","1351540390","1351540411","1351540449"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3aa8181bb188e4500b8bd77c8d71e9c6.jpg","text":"TemporaryFile(/tmp/multipartBody7542994233214287994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357413551,"filename":"image_11042025_07_06_04_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2d8e7e0d7c4112a1a44af9b6227bc60c.jpg","text":"TemporaryFile(/tmp/multipartBody2881222366322554412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357413551,"filename":"image_11042025_07_06_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/11/f2e0d8e3251e72832d93cfdeb60f774f.jpg","text":"TemporaryFile(/tmp/multipartBody8071928270313549104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357413551,"filename":"image_11042025_07_06_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/11/3dbbc06bfdef8d38384cd79b05ccbbb3.jpg","text":"TemporaryFile(/tmp/multipartBody4684409641610154119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357413551,"filename":"image_11042025_07_06_34_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/fb9afea07ac64d2ce12dff5f3e833463.jpg","text":"TemporaryFile(/tmp/multipartBody8079029618920407244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357413551,"filename":"image_11042025_07_06_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/11/a46807ac9faf5f3fb8266fb85b195f8a.jpg","text":"TemporaryFile(/tmp/multipartBody343626083901542853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357413551,"filename":"image_11042025_07_06_45_10507.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351540366","file1":"1351540362","file0":"1351540353","file4":"1351540411","file5":"1351540449","file3":"1351540390"},"map_files_photo_id_array":[{"photo_id":"1351540449","filename":"file5"},{"photo_id":"1351540366","filename":"file2"},{"photo_id":"1351540411","filename":"file4"},{"photo_id":"1351540362","filename":"file1"},{"photo_id":"1351540353","filename":"file0"},{"photo_id":"1351540390","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351540353":["hashtag1","hashtag2"]},{"1351540449":["hashtag1","hashtag2"]},{"1351540362":["hashtag1","hashtag2"]},{"1351540390":["hashtag1","hashtag2"]},{"1351540366":["hashtag1","hashtag2"]},{"1351540411":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351540353, 1351540449, 1351540362, 1351540390, 1351540366, 1351540411)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.161104917526245 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 09:43:32.385006
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/07/06/image_11042025_07_07_05_10352.jpg', '/home/pi/Desktop/images/11042025/07/07/image_11042025_07_07_14_9377.jpg', '/home/pi/Desktop/images/11042025/07/07/image_11042025_07_07_24_10379.jpg', '/home/pi/Desktop/images/11042025/07/07/image_11042025_07_07_35_10397.jpg', '/home/pi/Desktop/images/11042025/07/07/image_11042025_07_07_44_9363.jpg', '/home/pi/Desktop/images/11042025/07/07/image_11042025_07_07_55_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/07/06/image_11042025_07_07_05_10352.jpg
/home/pi/Desktop/images/11042025/07/07/image_11042025_07_07_14_9377.jpg
/home/pi/Desktop/images/11042025/07/07/image_11042025_07_07_24_10379.jpg
/home/pi/Desktop/images/11042025/07/07/image_11042025_07_07_35_10397.jpg
/home/pi/Desktop/images/11042025/07/07/image_11042025_07_07_44_9363.jpg
/home/pi/Desktop/images/11042025/07/07/image_11042025_07_07_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":["1351540686","1351540632","1351540676","1351540664","1351540658","1351540654"],"photo_ids_order":["1351540632","1351540654","1351540658","1351540664","1351540676","1351540686"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ff5c4b16480f482bb09ecc7a5462cd2e.jpg","text":"TemporaryFile(/tmp/multipartBody5380163582118094041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357472848,"filename":"image_11042025_07_07_55_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b2f5564be5b1ec84644e12893fe5b81e.jpg","text":"TemporaryFile(/tmp/multipartBody6635192371632149163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357472848,"filename":"image_11042025_07_07_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/11/63f9dcfeef582f46b6a89f41452705d5.jpg","text":"TemporaryFile(/tmp/multipartBody5033329191495440417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357472848,"filename":"image_11042025_07_07_44_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9da2e62e2187458d8b81f99296206c07.jpg","text":"TemporaryFile(/tmp/multipartBody1898867279190189690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357472848,"filename":"image_11042025_07_07_35_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/73d97a1a0b2887e77ffc4c1af7267b86.jpg","text":"TemporaryFile(/tmp/multipartBody8544170289315207193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357472848,"filename":"image_11042025_07_07_24_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e704edc725027bcf1bea6fa88dbe5400.jpg","text":"TemporaryFile(/tmp/multipartBody3203966523810317839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357472848,"filename":"image_11042025_07_07_14_9377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351540658","file1":"1351540654","file0":"1351540632","file4":"1351540676","file5":"1351540686","file3":"1351540664"},"map_files_photo_id_array":[{"photo_id":"1351540686","filename":"file5"},{"photo_id":"1351540658","filename":"file2"},{"photo_id":"1351540676","filename":"file4"},{"photo_id":"1351540654","filename":"file1"},{"photo_id":"1351540632","filename":"file0"},{"photo_id":"1351540664","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351540686":["hashtag1","hashtag2"]},{"1351540632":["hashtag1","hashtag2"]},{"1351540676":["hashtag1","hashtag2"]},{"1351540664":["hashtag1","hashtag2"]},{"1351540658":["hashtag1","hashtag2"]},{"1351540654":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351540686, 1351540632, 1351540676, 1351540664, 1351540658, 1351540654)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.27884840965271 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 09:44:32.679426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/07/07/image_11042025_07_08_05_10382.jpg', '/home/pi/Desktop/images/11042025/07/08/image_11042025_07_08_14_9354.jpg', '/home/pi/Desktop/images/11042025/07/08/image_11042025_07_08_25_10383.jpg', '/home/pi/Desktop/images/11042025/07/08/image_11042025_07_08_34_9453.jpg', '/home/pi/Desktop/images/11042025/07/08/image_11042025_07_08_44_10376.jpg', '/home/pi/Desktop/images/11042025/07/08/image_11042025_07_08_55_10450.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/07/07/image_11042025_07_08_05_10382.jpg
/home/pi/Desktop/images/11042025/07/08/image_11042025_07_08_14_9354.jpg
/home/pi/Desktop/images/11042025/07/08/image_11042025_07_08_25_10383.jpg
/home/pi/Desktop/images/11042025/07/08/image_11042025_07_08_34_9453.jpg
/home/pi/Desktop/images/11042025/07/08/image_11042025_07_08_44_10376.jpg
/home/pi/Desktop/images/11042025/07/08/image_11042025_07_08_55_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":["1351540713","1351540821","1351540737","1351540760","1351540784","1351540745"],"photo_ids_order":["1351540713","1351540737","1351540745","1351540760","1351540784","1351540821"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/907a031a7da4dd8d2fc24b8cb5dd0e81.jpg","text":"TemporaryFile(/tmp/multipartBody2298968901017072593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357533145,"filename":"image_11042025_07_08_05_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/009f547e813ccdad0a12b7f7fe94c62a.jpg","text":"TemporaryFile(/tmp/multipartBody8970145544499289720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357533145,"filename":"image_11042025_07_08_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/11/df3d7c9b4c4769e21c533d7a42f22349.jpg","text":"TemporaryFile(/tmp/multipartBody8968789440284723081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357533145,"filename":"image_11042025_07_08_14_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a02dd8c9411e9606dc79336b6cab6ec3.jpg","text":"TemporaryFile(/tmp/multipartBody508833546688065380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357533145,"filename":"image_11042025_07_08_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/11/85247ae5a96ced523612599553d6ba89.jpg","text":"TemporaryFile(/tmp/multipartBody9036059779254524337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357533145,"filename":"image_11042025_07_08_44_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b51e7e1b5f53dfff4efd9e6553c21b26.jpg","text":"TemporaryFile(/tmp/multipartBody5582106856141918879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357533145,"filename":"image_11042025_07_08_25_10383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351540745","file1":"1351540737","file0":"1351540713","file4":"1351540784","file5":"1351540821","file3":"1351540760"},"map_files_photo_id_array":[{"photo_id":"1351540821","filename":"file5"},{"photo_id":"1351540745","filename":"file2"},{"photo_id":"1351540784","filename":"file4"},{"photo_id":"1351540737","filename":"file1"},{"photo_id":"1351540713","filename":"file0"},{"photo_id":"1351540760","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351540713":["hashtag1","hashtag2"]},{"1351540821":["hashtag1","hashtag2"]},{"1351540737":["hashtag1","hashtag2"]},{"1351540760":["hashtag1","hashtag2"]},{"1351540784":["hashtag1","hashtag2"]},{"1351540745":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351540713, 1351540821, 1351540737, 1351540760, 1351540784, 1351540745)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.991509199142456 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 09:45:32.829317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/07/08/image_11042025_07_09_04_9351.jpg', '/home/pi/Desktop/images/11042025/07/09/image_11042025_07_09_15_10438.jpg', '/home/pi/Desktop/images/11042025/07/09/image_11042025_07_09_24_9365.jpg', '/home/pi/Desktop/images/11042025/07/09/image_11042025_07_09_34_10391.jpg', '/home/pi/Desktop/images/11042025/07/09/image_11042025_07_09_45_10461.jpg', '/home/pi/Desktop/images/11042025/07/09/image_11042025_07_09_54_9353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/07/08/image_11042025_07_09_04_9351.jpg
/home/pi/Desktop/images/11042025/07/09/image_11042025_07_09_15_10438.jpg
/home/pi/Desktop/images/11042025/07/09/image_11042025_07_09_24_9365.jpg
/home/pi/Desktop/images/11042025/07/09/image_11042025_07_09_34_10391.jpg
/home/pi/Desktop/images/11042025/07/09/image_11042025_07_09_45_10461.jpg
/home/pi/Desktop/images/11042025/07/09/image_11042025_07_09_54_9353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351541124","1351541109","1351541095","1351541068","1351541017","1351541121"],"photo_ids_order":["1351541017","1351541068","1351541095","1351541109","1351541121","1351541124"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/354d1c70617c099f1610c7f2e5e0986c.jpg","text":"TemporaryFile(/tmp/multipartBody690878347297916802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357593293,"filename":"image_11042025_07_09_54_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2d2fa1a0b3049fa06d6ba23870b520b5.jpg","text":"TemporaryFile(/tmp/multipartBody7671815278560149441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357593293,"filename":"image_11042025_07_09_34_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a217dfa69bfeeab79b5e813875590d99.jpg","text":"TemporaryFile(/tmp/multipartBody6028301264218714628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357593293,"filename":"image_11042025_07_09_24_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/469ee84ae47cb1ec8530f3d8e7e20c41.jpg","text":"TemporaryFile(/tmp/multipartBody1873103846693046851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357593293,"filename":"image_11042025_07_09_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/11/e59c2e70f1620201f8dd467b8521c501.jpg","text":"TemporaryFile(/tmp/multipartBody7700195999767347129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357593293,"filename":"image_11042025_07_09_04_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8eab2b38bc6f010a033acb146f891766.jpg","text":"TemporaryFile(/tmp/multipartBody7042684811147047591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357593293,"filename":"image_11042025_07_09_45_10461.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351541095","file1":"1351541068","file0":"1351541017","file4":"1351541121","file5":"1351541124","file3":"1351541109"},"map_files_photo_id_array":[{"photo_id":"1351541124","filename":"file5"},{"photo_id":"1351541095","filename":"file2"},{"photo_id":"1351541121","filename":"file4"},{"photo_id":"1351541068","filename":"file1"},{"photo_id":"1351541017","filename":"file0"},{"photo_id":"1351541109","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351541124":["hashtag1","hashtag2"]},{"1351541109":["hashtag1","hashtag2"]},{"1351541095":["hashtag1","hashtag2"]},{"1351541068":["hashtag1","hashtag2"]},{"1351541017":["hashtag1","hashtag2"]},{"1351541121":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351541124, 1351541109, 1351541095, 1351541068, 1351541017, 1351541121)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.33972120285034 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 09:46:33.086100
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/07/09/image_11042025_07_10_05_10415.jpg', '/home/pi/Desktop/images/11042025/07/10/image_11042025_07_10_14_9398.jpg', '/home/pi/Desktop/images/11042025/07/10/image_11042025_07_10_24_10377.jpg', '/home/pi/Desktop/images/11042025/07/10/image_11042025_07_10_35_10375.jpg', '/home/pi/Desktop/images/11042025/07/10/image_11042025_07_10_44_9378.jpg', '/home/pi/Desktop/images/11042025/07/10/image_11042025_07_10_55_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/07/09/image_11042025_07_10_05_10415.jpg
/home/pi/Desktop/images/11042025/07/10/image_11042025_07_10_14_9398.jpg
/home/pi/Desktop/images/11042025/07/10/image_11042025_07_10_24_10377.jpg
/home/pi/Desktop/images/11042025/07/10/image_11042025_07_10_35_10375.jpg
/home/pi/Desktop/images/11042025/07/10/image_11042025_07_10_44_9378.jpg
/home/pi/Desktop/images/11042025/07/10/image_11042025_07_10_55_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351541307","1351541299","1351541464","1351541440","1351541397","1351541271"],"photo_ids_order":["1351541271","1351541299","1351541307","1351541397","1351541440","1351541464"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/45a64d5227294c0983e494b97a9d559d.jpg","text":"TemporaryFile(/tmp/multipartBody8926035359952590953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357653541,"filename":"image_11042025_07_10_24_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/508d31fa0d719a08d684bf1083484205.jpg","text":"TemporaryFile(/tmp/multipartBody2513035216799435905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357653541,"filename":"image_11042025_07_10_14_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a78f628f2f0335267e156cff545cf2c3.jpg","text":"TemporaryFile(/tmp/multipartBody8206074934657636819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357653541,"filename":"image_11042025_07_10_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/11/ce286a3a3c052a195a46e468125d0f59.jpg","text":"TemporaryFile(/tmp/multipartBody325510808259762105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357653541,"filename":"image_11042025_07_10_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/11/a40258ea7b0ec70c7bb4d8512423e419.jpg","text":"TemporaryFile(/tmp/multipartBody8254781326802929170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357653541,"filename":"image_11042025_07_10_35_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/720b624b4c67ef8fbca37fba2c56e638.jpg","text":"TemporaryFile(/tmp/multipartBody6466034407457172924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357653541,"filename":"image_11042025_07_10_05_10415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351541307","file1":"1351541299","file0":"1351541271","file4":"1351541440","file5":"1351541464","file3":"1351541397"},"map_files_photo_id_array":[{"photo_id":"1351541464","filename":"file5"},{"photo_id":"1351541307","filename":"file2"},{"photo_id":"1351541440","filename":"file4"},{"photo_id":"1351541299","filename":"file1"},{"photo_id":"1351541271","filename":"file0"},{"photo_id":"1351541397","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351541307":["hashtag1","hashtag2"]},{"1351541299":["hashtag1","hashtag2"]},{"1351541464":["hashtag1","hashtag2"]},{"1351541440":["hashtag1","hashtag2"]},{"1351541397":["hashtag1","hashtag2"]},{"1351541271":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351541307, 1351541299, 1351541464, 1351541440, 1351541397, 1351541271)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.64632558822632 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 09:47:32.287705
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/07/10/image_11042025_07_11_04_9436.jpg', '/home/pi/Desktop/images/11042025/07/11/image_11042025_07_11_14_10353.jpg', '/home/pi/Desktop/images/11042025/07/11/image_11042025_07_11_25_10411.jpg', '/home/pi/Desktop/images/11042025/07/11/image_11042025_07_11_34_9350.jpg', '/home/pi/Desktop/images/11042025/07/11/image_11042025_07_11_45_10366.jpg', '/home/pi/Desktop/images/11042025/07/11/image_11042025_07_11_55_10463.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/07/10/image_11042025_07_11_04_9436.jpg
/home/pi/Desktop/images/11042025/07/11/image_11042025_07_11_14_10353.jpg
/home/pi/Desktop/images/11042025/07/11/image_11042025_07_11_25_10411.jpg
/home/pi/Desktop/images/11042025/07/11/image_11042025_07_11_34_9350.jpg
/home/pi/Desktop/images/11042025/07/11/image_11042025_07_11_45_10366.jpg
/home/pi/Desktop/images/11042025/07/11/image_11042025_07_11_55_10463.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351541912","1351541843","1351541717","1351541668","1351541883","1351541751"],"photo_ids_order":["1351541668","1351541717","1351541751","1351541843","1351541883","1351541912"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c50e31eca4d4e01d94d78043ef2d2355.jpg","text":"TemporaryFile(/tmp/multipartBody6207515700619682804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357712755,"filename":"image_11042025_07_11_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/11/44e8c00519af7438fef4039efd95db47.jpg","text":"TemporaryFile(/tmp/multipartBody5970854448059997441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357712755,"filename":"image_11042025_07_11_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/11/54dc9706ccef737e114cae8f0bffbc7f.jpg","text":"TemporaryFile(/tmp/multipartBody2275131601139913781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357712755,"filename":"image_11042025_07_11_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/11/144b015d97bc6c56b93f5d26b7436a63.jpg","text":"TemporaryFile(/tmp/multipartBody8357544653591498686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357712755,"filename":"image_11042025_07_11_04_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/11/aaf34ac5a26fc62eb6b90ae71a83c962.jpg","text":"TemporaryFile(/tmp/multipartBody6526357537871672594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357712755,"filename":"image_11042025_07_11_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/11/b49f3e3d5110ff2337bfd4ca140ec83a.jpg","text":"TemporaryFile(/tmp/multipartBody5874108591045785718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357712755,"filename":"image_11042025_07_11_25_10411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351541751","file1":"1351541717","file0":"1351541668","file4":"1351541883","file5":"1351541912","file3":"1351541843"},"map_files_photo_id_array":[{"photo_id":"1351541912","filename":"file5"},{"photo_id":"1351541751","filename":"file2"},{"photo_id":"1351541883","filename":"file4"},{"photo_id":"1351541717","filename":"file1"},{"photo_id":"1351541668","filename":"file0"},{"photo_id":"1351541843","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351541912":["hashtag1","hashtag2"]},{"1351541843":["hashtag1","hashtag2"]},{"1351541717":["hashtag1","hashtag2"]},{"1351541668":["hashtag1","hashtag2"]},{"1351541883":["hashtag1","hashtag2"]},{"1351541751":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351541912, 1351541843, 1351541717, 1351541668, 1351541883, 1351541751)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.59012770652771 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 09:48:32.450562
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/07/11/image_11042025_07_12_04_9339.jpg', '/home/pi/Desktop/images/11042025/07/12/image_11042025_07_12_15_10430.jpg', '/home/pi/Desktop/images/11042025/07/12/image_11042025_07_12_24_9405.jpg', '/home/pi/Desktop/images/11042025/07/12/image_11042025_07_12_35_10372.jpg', '/home/pi/Desktop/images/11042025/07/12/image_11042025_07_12_45_10364.jpg', '/home/pi/Desktop/images/11042025/07/12/image_11042025_07_12_54_9345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/07/11/image_11042025_07_12_04_9339.jpg
/home/pi/Desktop/images/11042025/07/12/image_11042025_07_12_15_10430.jpg
/home/pi/Desktop/images/11042025/07/12/image_11042025_07_12_24_9405.jpg
/home/pi/Desktop/images/11042025/07/12/image_11042025_07_12_35_10372.jpg
/home/pi/Desktop/images/11042025/07/12/image_11042025_07_12_45_10364.jpg
/home/pi/Desktop/images/11042025/07/12/image_11042025_07_12_54_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":["1351542353","1351542661","1351542433","1351542567","1351542624","1351542497"],"photo_ids_order":["1351542353","1351542433","1351542497","1351542567","1351542624","1351542661"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ad6dd8cdcbc1b973dc93d42cfdb13de7.jpg","text":"TemporaryFile(/tmp/multipartBody3130433997280098980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357772915,"filename":"image_11042025_07_12_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/11/c6ee8ae9f022b78f0b045172d42e135e.jpg","text":"TemporaryFile(/tmp/multipartBody815738942887192658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357772915,"filename":"image_11042025_07_12_54_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b430e8cf1160c8899d5d9b56014e65c0.jpg","text":"TemporaryFile(/tmp/multipartBody7312128906668808564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357772915,"filename":"image_11042025_07_12_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/11/91e2d9624b930592650881a6b351bb33.jpg","text":"TemporaryFile(/tmp/multipartBody6189246811581390744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357772915,"filename":"image_11042025_07_12_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/11/6097821bc3900cfff6730764c57bbd02.jpg","text":"TemporaryFile(/tmp/multipartBody2414291358191924822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357772915,"filename":"image_11042025_07_12_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/11/adec02687d1bffa653935376d29312ed.jpg","text":"TemporaryFile(/tmp/multipartBody5795278927750690608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357772915,"filename":"image_11042025_07_12_24_9405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351542497","file1":"1351542433","file0":"1351542353","file4":"1351542624","file5":"1351542661","file3":"1351542567"},"map_files_photo_id_array":[{"photo_id":"1351542661","filename":"file5"},{"photo_id":"1351542497","filename":"file2"},{"photo_id":"1351542624","filename":"file4"},{"photo_id":"1351542433","filename":"file1"},{"photo_id":"1351542353","filename":"file0"},{"photo_id":"1351542567","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351542353":["hashtag1","hashtag2"]},{"1351542661":["hashtag1","hashtag2"]},{"1351542433":["hashtag1","hashtag2"]},{"1351542567":["hashtag1","hashtag2"]},{"1351542624":["hashtag1","hashtag2"]},{"1351542497":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351542353, 1351542661, 1351542433, 1351542567, 1351542624, 1351542497)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.107269525527954 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 09:49:32.686750
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/07/12/image_11042025_07_13_05_10497.jpg', '/home/pi/Desktop/images/11042025/07/13/image_11042025_07_13_14_9342.jpg', '/home/pi/Desktop/images/11042025/07/13/image_11042025_07_13_24_10360.jpg', '/home/pi/Desktop/images/11042025/07/13/image_11042025_07_13_35_10371.jpg', '/home/pi/Desktop/images/11042025/07/13/image_11042025_07_13_44_9392.jpg', '/home/pi/Desktop/images/11042025/07/13/image_11042025_07_13_55_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/07/12/image_11042025_07_13_05_10497.jpg
/home/pi/Desktop/images/11042025/07/13/image_11042025_07_13_14_9342.jpg
/home/pi/Desktop/images/11042025/07/13/image_11042025_07_13_24_10360.jpg
/home/pi/Desktop/images/11042025/07/13/image_11042025_07_13_35_10371.jpg
/home/pi/Desktop/images/11042025/07/13/image_11042025_07_13_44_9392.jpg
/home/pi/Desktop/images/11042025/07/13/image_11042025_07_13_55_10372.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351543010","1351542962","1351542863","1351542806","1351542908","1351543075"],"photo_ids_order":["1351542806","1351542863","1351542908","1351542962","1351543010","1351543075"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e35a2d447fecff43507ca8a0434868df.jpg","text":"TemporaryFile(/tmp/multipartBody5850541306002894991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357833146,"filename":"image_11042025_07_13_44_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/11/8efea5ac9b47e87054cdbc352db21dcb.jpg","text":"TemporaryFile(/tmp/multipartBody6723166228639179080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357833146,"filename":"image_11042025_07_13_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/11/bab3f7be7e5cf0a81bfb6335586561a1.jpg","text":"TemporaryFile(/tmp/multipartBody1972971617672638068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357833146,"filename":"image_11042025_07_13_14_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7ad835102514439b7a8b9b7090496319.jpg","text":"TemporaryFile(/tmp/multipartBody4220457436825208174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357833146,"filename":"image_11042025_07_13_05_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/11/ccb76ddb5a4b340132225990554c3bef.jpg","text":"TemporaryFile(/tmp/multipartBody6126193768859966816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357833146,"filename":"image_11042025_07_13_24_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/caacc4e740b39e254b127125cab5f2ce.jpg","text":"TemporaryFile(/tmp/multipartBody793599752341718862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357833146,"filename":"image_11042025_07_13_55_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351542908","file1":"1351542863","file0":"1351542806","file4":"1351543010","file5":"1351543075","file3":"1351542962"},"map_files_photo_id_array":[{"photo_id":"1351543075","filename":"file5"},{"photo_id":"1351542908","filename":"file2"},{"photo_id":"1351543010","filename":"file4"},{"photo_id":"1351542863","filename":"file1"},{"photo_id":"1351542806","filename":"file0"},{"photo_id":"1351542962","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351543010":["hashtag1","hashtag2"]},{"1351542962":["hashtag1","hashtag2"]},{"1351542863":["hashtag1","hashtag2"]},{"1351542806":["hashtag1","hashtag2"]},{"1351542908":["hashtag1","hashtag2"]},{"1351543075":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351543010, 1351542962, 1351542863, 1351542806, 1351542908, 1351543075)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.31605863571167 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 09:50:33.033783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/07/13/image_11042025_07_14_05_10354.jpg', '/home/pi/Desktop/images/11042025/07/14/image_11042025_07_14_14_9343.jpg', '/home/pi/Desktop/images/11042025/07/14/image_11042025_07_14_25_10456.jpg', '/home/pi/Desktop/images/11042025/07/14/image_11042025_07_14_34_9353.jpg', '/home/pi/Desktop/images/11042025/07/14/image_11042025_07_14_45_10434.jpg', '/home/pi/Desktop/images/11042025/07/14/image_11042025_07_14_55_10424.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/07/13/image_11042025_07_14_05_10354.jpg
/home/pi/Desktop/images/11042025/07/14/image_11042025_07_14_14_9343.jpg
/home/pi/Desktop/images/11042025/07/14/image_11042025_07_14_25_10456.jpg
/home/pi/Desktop/images/11042025/07/14/image_11042025_07_14_34_9353.jpg
/home/pi/Desktop/images/11042025/07/14/image_11042025_07_14_45_10434.jpg
/home/pi/Desktop/images/11042025/07/14/image_11042025_07_14_55_10424.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351543607","1351543584","1351543464","1351543407","1351543382","1351543526"],"photo_ids_order":["1351543382","1351543407","1351543464","1351543526","1351543584","1351543607"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/71f5c54a411b5b06676f306f1e55ac93.jpg","text":"TemporaryFile(/tmp/multipartBody7080303848342700725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357893487,"filename":"image_11042025_07_14_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/11/977c380408e464e8b3760ef55f8b590e.jpg","text":"TemporaryFile(/tmp/multipartBody663312751809608796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357893487,"filename":"image_11042025_07_14_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/11/4bc101ee00af3e6ae6569a648f997c47.jpg","text":"TemporaryFile(/tmp/multipartBody6345395452054051851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357893487,"filename":"image_11042025_07_14_25_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/11/7594b947e057760ac9def6fe55c7f61e.jpg","text":"TemporaryFile(/tmp/multipartBody9096825911222554437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357893487,"filename":"image_11042025_07_14_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/11/354014f041518a4be2792236d5d142e9.jpg","text":"TemporaryFile(/tmp/multipartBody6304357977197509051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357893487,"filename":"image_11042025_07_14_05_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e4b47e5e2c24158cf5bf352c7d43ef9a.jpg","text":"TemporaryFile(/tmp/multipartBody9196465429113122335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357893487,"filename":"image_11042025_07_14_34_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351543464","file1":"1351543407","file0":"1351543382","file4":"1351543584","file5":"1351543607","file3":"1351543526"},"map_files_photo_id_array":[{"photo_id":"1351543607","filename":"file5"},{"photo_id":"1351543464","filename":"file2"},{"photo_id":"1351543584","filename":"file4"},{"photo_id":"1351543407","filename":"file1"},{"photo_id":"1351543382","filename":"file0"},{"photo_id":"1351543526","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351543607":["hashtag1","hashtag2"]},{"1351543584":["hashtag1","hashtag2"]},{"1351543464":["hashtag1","hashtag2"]},{"1351543407":["hashtag1","hashtag2"]},{"1351543382":["hashtag1","hashtag2"]},{"1351543526":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351543607, 1351543584, 1351543464, 1351543407, 1351543382, 1351543526)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.38042616844177 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 09:51:32.321601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/07/14/image_11042025_07_15_04_9372.jpg', '/home/pi/Desktop/images/11042025/07/15/image_11042025_07_15_15_10405.jpg', '/home/pi/Desktop/images/11042025/07/15/image_11042025_07_15_24_9359.jpg', '/home/pi/Desktop/images/11042025/07/15/image_11042025_07_15_34_10364.jpg', '/home/pi/Desktop/images/11042025/07/15/image_11042025_07_15_45_10454.jpg', '/home/pi/Desktop/images/11042025/07/15/image_11042025_07_15_54_9353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/07/14/image_11042025_07_15_04_9372.jpg
/home/pi/Desktop/images/11042025/07/15/image_11042025_07_15_15_10405.jpg
/home/pi/Desktop/images/11042025/07/15/image_11042025_07_15_24_9359.jpg
/home/pi/Desktop/images/11042025/07/15/image_11042025_07_15_34_10364.jpg
/home/pi/Desktop/images/11042025/07/15/image_11042025_07_15_45_10454.jpg
/home/pi/Desktop/images/11042025/07/15/image_11042025_07_15_54_9353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351543813","1351543807","1351543779","1351543743","1351543767","1351543799"],"photo_ids_order":["1351543743","1351543767","1351543779","1351543799","1351543807","1351543813"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/aec26d280f156061123f4046694cdcd7.jpg","text":"TemporaryFile(/tmp/multipartBody2827735678730386302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357952776,"filename":"image_11042025_07_15_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/11/477680b44049fb20957ab5f36bb8d016.jpg","text":"TemporaryFile(/tmp/multipartBody6131397283652041393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357952776,"filename":"image_11042025_07_15_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/11/aa65f8ef11bbd159d81dd12f8c66f32a.jpg","text":"TemporaryFile(/tmp/multipartBody7763883383299938568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357952776,"filename":"image_11042025_07_15_24_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/708bdef2995b3182d43b6a404bbac00f.jpg","text":"TemporaryFile(/tmp/multipartBody1868668438628567972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357952776,"filename":"image_11042025_07_15_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/11/a132f8d7f98efe223db8f66341b97fe8.jpg","text":"TemporaryFile(/tmp/multipartBody333006480187056619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357952776,"filename":"image_11042025_07_15_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/11/1364f1f95004f9fd3d5f0685bb11fa9f.jpg","text":"TemporaryFile(/tmp/multipartBody3345242777169245629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744357952776,"filename":"image_11042025_07_15_34_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351543779","file1":"1351543767","file0":"1351543743","file4":"1351543807","file5":"1351543813","file3":"1351543799"},"map_files_photo_id_array":[{"photo_id":"1351543813","filename":"file5"},{"photo_id":"1351543779","filename":"file2"},{"photo_id":"1351543807","filename":"file4"},{"photo_id":"1351543767","filename":"file1"},{"photo_id":"1351543743","filename":"file0"},{"photo_id":"1351543799","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351543813":["hashtag1","hashtag2"]},{"1351543807":["hashtag1","hashtag2"]},{"1351543779":["hashtag1","hashtag2"]},{"1351543743":["hashtag1","hashtag2"]},{"1351543767":["hashtag1","hashtag2"]},{"1351543799":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351543813, 1351543807, 1351543779, 1351543743, 1351543767, 1351543799)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.24231839179993 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 09:52:32.520601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/07/15/image_11042025_07_16_05_10370.jpg', '/home/pi/Desktop/images/11042025/07/16/image_11042025_07_16_14_9390.jpg', '/home/pi/Desktop/images/11042025/07/16/image_11042025_07_16_24_10365.jpg', '/home/pi/Desktop/images/11042025/07/16/image_11042025_07_16_35_10471.jpg', '/home/pi/Desktop/images/11042025/07/16/image_11042025_07_16_44_9363.jpg', '/home/pi/Desktop/images/11042025/07/16/image_11042025_07_16_55_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/07/15/image_11042025_07_16_05_10370.jpg
/home/pi/Desktop/images/11042025/07/16/image_11042025_07_16_14_9390.jpg
/home/pi/Desktop/images/11042025/07/16/image_11042025_07_16_24_10365.jpg
/home/pi/Desktop/images/11042025/07/16/image_11042025_07_16_35_10471.jpg
/home/pi/Desktop/images/11042025/07/16/image_11042025_07_16_44_9363.jpg
/home/pi/Desktop/images/11042025/07/16/image_11042025_07_16_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":["1351544277","1351544070","1351544187","1351544096","1351544243","1351544138"],"photo_ids_order":["1351544070","1351544096","1351544138","1351544187","1351544243","1351544277"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0de0f68c3922eeba3a81ab547c2ca977.jpg","text":"TemporaryFile(/tmp/multipartBody4996260097124765133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358012979,"filename":"image_11042025_07_16_55_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3a85eb9e2058937b35e208fdd5f8ba3e.jpg","text":"TemporaryFile(/tmp/multipartBody1098836085605083806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358012979,"filename":"image_11042025_07_16_05_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/cc4c47e62b06967374d9d8a05acc0482.jpg","text":"TemporaryFile(/tmp/multipartBody4288369721360657269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358012979,"filename":"image_11042025_07_16_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/11/1a1d91f17417f0124101365ffc375ee2.jpg","text":"TemporaryFile(/tmp/multipartBody1103036546982868666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358012979,"filename":"image_11042025_07_16_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/11/aae76c962d88ee209a87aad687ea7b41.jpg","text":"TemporaryFile(/tmp/multipartBody4659802220929492449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358012979,"filename":"image_11042025_07_16_44_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/18dacc3888ea3a389a2eab914ec77481.jpg","text":"TemporaryFile(/tmp/multipartBody8140947878318114211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358012979,"filename":"image_11042025_07_16_24_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351544138","file1":"1351544096","file0":"1351544070","file4":"1351544243","file5":"1351544277","file3":"1351544187"},"map_files_photo_id_array":[{"photo_id":"1351544277","filename":"file5"},{"photo_id":"1351544138","filename":"file2"},{"photo_id":"1351544243","filename":"file4"},{"photo_id":"1351544096","filename":"file1"},{"photo_id":"1351544070","filename":"file0"},{"photo_id":"1351544187","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351544277":["hashtag1","hashtag2"]},{"1351544070":["hashtag1","hashtag2"]},{"1351544187":["hashtag1","hashtag2"]},{"1351544096":["hashtag1","hashtag2"]},{"1351544243":["hashtag1","hashtag2"]},{"1351544138":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351544277, 1351544070, 1351544187, 1351544096, 1351544243, 1351544138)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.79757213592529 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 09:53:32.786517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/07/16/image_11042025_07_17_05_10366.jpg', '/home/pi/Desktop/images/11042025/07/17/image_11042025_07_17_14_9346.jpg', '/home/pi/Desktop/images/11042025/07/17/image_11042025_07_17_25_10367.jpg', '/home/pi/Desktop/images/11042025/07/17/image_11042025_07_17_34_9396.jpg', '/home/pi/Desktop/images/11042025/07/17/image_11042025_07_17_44_10409.jpg', '/home/pi/Desktop/images/11042025/07/17/image_11042025_07_17_55_10465.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/07/16/image_11042025_07_17_05_10366.jpg
/home/pi/Desktop/images/11042025/07/17/image_11042025_07_17_14_9346.jpg
/home/pi/Desktop/images/11042025/07/17/image_11042025_07_17_25_10367.jpg
/home/pi/Desktop/images/11042025/07/17/image_11042025_07_17_34_9396.jpg
/home/pi/Desktop/images/11042025/07/17/image_11042025_07_17_44_10409.jpg
/home/pi/Desktop/images/11042025/07/17/image_11042025_07_17_55_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":["1351544611","1351544963","1351544759","1351545017","1351544807","1351544711"],"photo_ids_order":["1351544611","1351544711","1351544759","1351544807","1351544963","1351545017"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5bf728602f6dfa9cb386aced29f496ac.jpg","text":"TemporaryFile(/tmp/multipartBody8614129312142905598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358073240,"filename":"image_11042025_07_17_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/11/030f673f3d9cbb7eb9a3c41979a1f33e.jpg","text":"TemporaryFile(/tmp/multipartBody6331568482153840470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358073240,"filename":"image_11042025_07_17_44_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/11/d7649462d275486d3fdbde27f7a9368b.jpg","text":"TemporaryFile(/tmp/multipartBody2297479917315742973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358073240,"filename":"image_11042025_07_17_25_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4f702cb9ad46962b2ea674a53ba40c99.jpg","text":"TemporaryFile(/tmp/multipartBody7218110840513852466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358073240,"filename":"image_11042025_07_17_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/11/a49e0f2cdaaf0c9ed7f5eeac7634e1f3.jpg","text":"TemporaryFile(/tmp/multipartBody1589924292633338699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358073240,"filename":"image_11042025_07_17_34_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e33059fcdc984da8ee4ab91863de2f93.jpg","text":"TemporaryFile(/tmp/multipartBody6125593371768265559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358073240,"filename":"image_11042025_07_17_14_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351544759","file1":"1351544711","file0":"1351544611","file4":"1351544963","file5":"1351545017","file3":"1351544807"},"map_files_photo_id_array":[{"photo_id":"1351545017","filename":"file5"},{"photo_id":"1351544759","filename":"file2"},{"photo_id":"1351544963","filename":"file4"},{"photo_id":"1351544711","filename":"file1"},{"photo_id":"1351544611","filename":"file0"},{"photo_id":"1351544807","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351544611":["hashtag1","hashtag2"]},{"1351544963":["hashtag1","hashtag2"]},{"1351544759":["hashtag1","hashtag2"]},{"1351545017":["hashtag1","hashtag2"]},{"1351544807":["hashtag1","hashtag2"]},{"1351544711":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351544611, 1351544963, 1351544759, 1351545017, 1351544807, 1351544711)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.86166071891785 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 09:54:32.998144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/07/17/image_11042025_07_18_04_9370.jpg', '/home/pi/Desktop/images/11042025/07/18/image_11042025_07_18_15_10365.jpg', '/home/pi/Desktop/images/11042025/07/18/image_11042025_07_18_24_9362.jpg', '/home/pi/Desktop/images/11042025/07/18/image_11042025_07_18_34_10357.jpg', '/home/pi/Desktop/images/11042025/07/18/image_11042025_07_18_45_10439.jpg', '/home/pi/Desktop/images/11042025/07/18/image_11042025_07_18_54_9374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/07/17/image_11042025_07_18_04_9370.jpg
/home/pi/Desktop/images/11042025/07/18/image_11042025_07_18_15_10365.jpg
/home/pi/Desktop/images/11042025/07/18/image_11042025_07_18_24_9362.jpg
/home/pi/Desktop/images/11042025/07/18/image_11042025_07_18_34_10357.jpg
/home/pi/Desktop/images/11042025/07/18/image_11042025_07_18_45_10439.jpg
/home/pi/Desktop/images/11042025/07/18/image_11042025_07_18_54_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":["1351545291","1351545531","1351545125","1351545382","1351545439","1351545229"],"photo_ids_order":["1351545125","1351545229","1351545291","1351545382","1351545439","1351545531"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f3d5e1947929452b76adaf6fa5ecc0b3.jpg","text":"TemporaryFile(/tmp/multipartBody6196074848520134007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358133459,"filename":"image_11042025_07_18_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/11/5330dca8250a512aa0cc64c1e0bc3f51.jpg","text":"TemporaryFile(/tmp/multipartBody2795076846478082191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358133459,"filename":"image_11042025_07_18_54_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f51b51d483035125237348749b99ba18.jpg","text":"TemporaryFile(/tmp/multipartBody8761345225049651777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358133459,"filename":"image_11042025_07_18_04_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/40388825bbc4d4f9a30a3111d041dcfe.jpg","text":"TemporaryFile(/tmp/multipartBody6300305668006983349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358133459,"filename":"image_11042025_07_18_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/11/2b1b6b9d8756541c662c4b1bd852f049.jpg","text":"TemporaryFile(/tmp/multipartBody3413342981843336461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358133459,"filename":"image_11042025_07_18_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/11/ff28d5be15256081af5817df4c233613.jpg","text":"TemporaryFile(/tmp/multipartBody4186069863652075134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358133459,"filename":"image_11042025_07_18_15_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351545291","file1":"1351545229","file0":"1351545125","file4":"1351545439","file5":"1351545531","file3":"1351545382"},"map_files_photo_id_array":[{"photo_id":"1351545531","filename":"file5"},{"photo_id":"1351545291","filename":"file2"},{"photo_id":"1351545439","filename":"file4"},{"photo_id":"1351545229","filename":"file1"},{"photo_id":"1351545125","filename":"file0"},{"photo_id":"1351545382","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351545291":["hashtag1","hashtag2"]},{"1351545531":["hashtag1","hashtag2"]},{"1351545125":["hashtag1","hashtag2"]},{"1351545382":["hashtag1","hashtag2"]},{"1351545439":["hashtag1","hashtag2"]},{"1351545229":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351545291, 1351545531, 1351545125, 1351545382, 1351545439, 1351545229)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.123501777648926 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 09:55:32.323492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/07/18/image_11042025_07_19_05_10381.jpg', '/home/pi/Desktop/images/11042025/07/19/image_11042025_07_19_14_9441.jpg', '/home/pi/Desktop/images/11042025/07/19/image_11042025_07_19_24_10357.jpg', '/home/pi/Desktop/images/11042025/07/19/image_11042025_07_19_35_10500.jpg', '/home/pi/Desktop/images/11042025/07/19/image_11042025_07_19_44_9366.jpg', '/home/pi/Desktop/images/11042025/07/19/image_11042025_07_19_55_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/07/18/image_11042025_07_19_05_10381.jpg
/home/pi/Desktop/images/11042025/07/19/image_11042025_07_19_14_9441.jpg
/home/pi/Desktop/images/11042025/07/19/image_11042025_07_19_24_10357.jpg
/home/pi/Desktop/images/11042025/07/19/image_11042025_07_19_35_10500.jpg
/home/pi/Desktop/images/11042025/07/19/image_11042025_07_19_44_9366.jpg
/home/pi/Desktop/images/11042025/07/19/image_11042025_07_19_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":["1351545888","1351546172","1351545822","1351546142","1351545962","1351546081"],"photo_ids_order":["1351545822","1351545888","1351545962","1351546081","1351546142","1351546172"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6c9a6db357cac401efafece60e765fbd.jpg","text":"TemporaryFile(/tmp/multipartBody895562687926513083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358192783,"filename":"image_11042025_07_19_14_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c9817daf35731fd8d2bfa9c232cfaa88.jpg","text":"TemporaryFile(/tmp/multipartBody3663728101710234396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358192783,"filename":"image_11042025_07_19_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/11/5a5c0fed243c51e2c81efc4576aef2da.jpg","text":"TemporaryFile(/tmp/multipartBody2412185000379081614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358192783,"filename":"image_11042025_07_19_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/11/b5326d2fb763eadc3a4f6249967188c8.jpg","text":"TemporaryFile(/tmp/multipartBody3534140372551177199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358192783,"filename":"image_11042025_07_19_44_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a3fddf796707fc2a4d9ded471c057221.jpg","text":"TemporaryFile(/tmp/multipartBody8504895551434621121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358192783,"filename":"image_11042025_07_19_24_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9267b189bf502cf665562ca09ecd770d.jpg","text":"TemporaryFile(/tmp/multipartBody3379854601229889557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358192783,"filename":"image_11042025_07_19_35_10500.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351545962","file1":"1351545888","file0":"1351545822","file4":"1351546142","file5":"1351546172","file3":"1351546081"},"map_files_photo_id_array":[{"photo_id":"1351546172","filename":"file5"},{"photo_id":"1351545962","filename":"file2"},{"photo_id":"1351546142","filename":"file4"},{"photo_id":"1351545888","filename":"file1"},{"photo_id":"1351545822","filename":"file0"},{"photo_id":"1351546081","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351545888":["hashtag1","hashtag2"]},{"1351546172":["hashtag1","hashtag2"]},{"1351545822":["hashtag1","hashtag2"]},{"1351546142":["hashtag1","hashtag2"]},{"1351545962":["hashtag1","hashtag2"]},{"1351546081":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351545888, 1351546172, 1351545822, 1351546142, 1351545962, 1351546081)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.48861074447632 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 09:56:32.509344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/07/19/image_11042025_07_20_04_9444.jpg', '/home/pi/Desktop/images/11042025/07/20/image_11042025_07_20_14_10374.jpg', '/home/pi/Desktop/images/11042025/07/20/image_11042025_07_20_25_10476.jpg', '/home/pi/Desktop/images/11042025/07/20/image_11042025_07_20_34_9346.jpg', '/home/pi/Desktop/images/11042025/07/20/image_11042025_07_20_45_10368.jpg', '/home/pi/Desktop/images/11042025/07/20/image_11042025_07_20_54_9371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/07/19/image_11042025_07_20_04_9444.jpg
/home/pi/Desktop/images/11042025/07/20/image_11042025_07_20_14_10374.jpg
/home/pi/Desktop/images/11042025/07/20/image_11042025_07_20_25_10476.jpg
/home/pi/Desktop/images/11042025/07/20/image_11042025_07_20_34_9346.jpg
/home/pi/Desktop/images/11042025/07/20/image_11042025_07_20_45_10368.jpg
/home/pi/Desktop/images/11042025/07/20/image_11042025_07_20_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":["1351546779","1351546812","1351546649","1351546720","1351546609","1351546689"],"photo_ids_order":["1351546609","1351546649","1351546689","1351546720","1351546779","1351546812"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9b027bf400389fc0e73975d23a27bca6.jpg","text":"TemporaryFile(/tmp/multipartBody19149605465615941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358252961,"filename":"image_11042025_07_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/11/7c6d3c1bdcc15d7c7835e10f9bc12a64.jpg","text":"TemporaryFile(/tmp/multipartBody2743331368804763977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358252961,"filename":"image_11042025_07_20_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/11/ad54a581e67b72ac34688f034e3373a2.jpg","text":"TemporaryFile(/tmp/multipartBody8685976393225274438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358252961,"filename":"image_11042025_07_20_14_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1ba4161089873af5d8d64f29ec85f7ec.jpg","text":"TemporaryFile(/tmp/multipartBody6460173512306794590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358252961,"filename":"image_11042025_07_20_34_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/effc79841e7fc1936027cde564531580.jpg","text":"TemporaryFile(/tmp/multipartBody1661634635734720482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358252961,"filename":"image_11042025_07_20_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/11/ece4a5cb114e9da9ab2bebe6f91ddd51.jpg","text":"TemporaryFile(/tmp/multipartBody721786044924287104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358252961,"filename":"image_11042025_07_20_25_10476.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351546689","file1":"1351546649","file0":"1351546609","file4":"1351546779","file5":"1351546812","file3":"1351546720"},"map_files_photo_id_array":[{"photo_id":"1351546812","filename":"file5"},{"photo_id":"1351546689","filename":"file2"},{"photo_id":"1351546779","filename":"file4"},{"photo_id":"1351546649","filename":"file1"},{"photo_id":"1351546609","filename":"file0"},{"photo_id":"1351546720","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351546779":["hashtag1","hashtag2"]},{"1351546812":["hashtag1","hashtag2"]},{"1351546649":["hashtag1","hashtag2"]},{"1351546720":["hashtag1","hashtag2"]},{"1351546609":["hashtag1","hashtag2"]},{"1351546689":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351546779, 1351546812, 1351546649, 1351546720, 1351546609, 1351546689)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.62115406990051 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 09:57:32.697106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/07/20/image_11042025_07_21_04_10378.jpg', '/home/pi/Desktop/images/11042025/07/21/image_11042025_07_21_15_10438.jpg', '/home/pi/Desktop/images/11042025/07/21/image_11042025_07_21_24_9368.jpg', '/home/pi/Desktop/images/11042025/07/21/image_11042025_07_21_35_10366.jpg', '/home/pi/Desktop/images/11042025/07/21/image_11042025_07_21_44_9467.jpg', '/home/pi/Desktop/images/11042025/07/21/image_11042025_07_21_54_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/07/20/image_11042025_07_21_04_10378.jpg
/home/pi/Desktop/images/11042025/07/21/image_11042025_07_21_15_10438.jpg
/home/pi/Desktop/images/11042025/07/21/image_11042025_07_21_24_9368.jpg
/home/pi/Desktop/images/11042025/07/21/image_11042025_07_21_35_10366.jpg
/home/pi/Desktop/images/11042025/07/21/image_11042025_07_21_44_9467.jpg
/home/pi/Desktop/images/11042025/07/21/image_11042025_07_21_54_10354.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-11 09:59:03.473610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/07/20/image_11042025_07_21_04_10378.jpg', '/home/pi/Desktop/images/11042025/07/21/image_11042025_07_21_15_10438.jpg', '/home/pi/Desktop/images/11042025/07/21/image_11042025_07_21_24_9368.jpg', '/home/pi/Desktop/images/11042025/07/21/image_11042025_07_21_35_10366.jpg', '/home/pi/Desktop/images/11042025/07/21/image_11042025_07_21_44_9467.jpg', '/home/pi/Desktop/images/11042025/07/21/image_11042025_07_21_54_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/07/20/image_11042025_07_21_04_10378.jpg
/home/pi/Desktop/images/11042025/07/21/image_11042025_07_21_15_10438.jpg
/home/pi/Desktop/images/11042025/07/21/image_11042025_07_21_24_9368.jpg
/home/pi/Desktop/images/11042025/07/21/image_11042025_07_21_35_10366.jpg
/home/pi/Desktop/images/11042025/07/21/image_11042025_07_21_44_9467.jpg
/home/pi/Desktop/images/11042025/07/21/image_11042025_07_21_54_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":["1351547826","1351547897","1351547986","1351548136","1351548078","1351548030"],"photo_ids_order":["1351547826","1351547897","1351547986","1351548030","1351548078","1351548136"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/dc014df80a05c875c5e6f60b2ccfee47.jpg","text":"TemporaryFile(/tmp/multipartBody2922280343636583458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358404121,"filename":"image_11042025_07_21_04_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2c65dc53a6a7c80be1b203179756a698.jpg","text":"TemporaryFile(/tmp/multipartBody1501766889659566930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358404121,"filename":"image_11042025_07_21_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/11/250430bc91d0404d91cf895fd3a5ba30.jpg","text":"TemporaryFile(/tmp/multipartBody6136610773441297420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358404121,"filename":"image_11042025_07_21_24_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/cb4e8a6b860e97c8420519009e1b4311.jpg","text":"TemporaryFile(/tmp/multipartBody3163582114120763488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358404121,"filename":"image_11042025_07_21_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/11/5e74dcf524ae9e01aad04736ed5ec0f2.jpg","text":"TemporaryFile(/tmp/multipartBody2244794069323900898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358404121,"filename":"image_11042025_07_21_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/11/4f20d1fd24aaa98e23ab019b29398314.jpg","text":"TemporaryFile(/tmp/multipartBody4393220501676568827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358404121,"filename":"image_11042025_07_21_35_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351547986","file1":"1351547897","file0":"1351547826","file4":"1351548078","file5":"1351548136","file3":"1351548030"},"map_files_photo_id_array":[{"photo_id":"1351548136","filename":"file5"},{"photo_id":"1351547986","filename":"file2"},{"photo_id":"1351548078","filename":"file4"},{"photo_id":"1351547897","filename":"file1"},{"photo_id":"1351547826","filename":"file0"},{"photo_id":"1351548030","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351547826":["hashtag1","hashtag2"]},{"1351547897":["hashtag1","hashtag2"]},{"1351547986":["hashtag1","hashtag2"]},{"1351548136":["hashtag1","hashtag2"]},{"1351548078":["hashtag1","hashtag2"]},{"1351548030":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351547826, 1351547897, 1351547986, 1351548136, 1351548078, 1351548030)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.53000569343567 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 09:59:52.150923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/07/21/image_11042025_07_22_05_10461.jpg', '/home/pi/Desktop/images/11042025/07/22/image_11042025_07_22_14_9345.jpg', '/home/pi/Desktop/images/11042025/07/22/image_11042025_07_22_25_10379.jpg', '/home/pi/Desktop/images/11042025/07/22/image_11042025_07_22_35_10369.jpg', '/home/pi/Desktop/images/11042025/07/22/image_11042025_07_22_44_9358.jpg', '/home/pi/Desktop/images/11042025/07/22/image_11042025_07_22_55_10344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/07/21/image_11042025_07_22_05_10461.jpg
/home/pi/Desktop/images/11042025/07/22/image_11042025_07_22_14_9345.jpg
/home/pi/Desktop/images/11042025/07/22/image_11042025_07_22_25_10379.jpg
/home/pi/Desktop/images/11042025/07/22/image_11042025_07_22_35_10369.jpg
/home/pi/Desktop/images/11042025/07/22/image_11042025_07_22_44_9358.jpg
/home/pi/Desktop/images/11042025/07/22/image_11042025_07_22_55_10344.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351548376","1351548463","1351548628","1351548700","1351548674","1351548563"],"photo_ids_order":["1351548376","1351548463","1351548563","1351548628","1351548674","1351548700"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3e9dd85ece5a4ab2e43f075ce4fc12a3.jpg","text":"TemporaryFile(/tmp/multipartBody6825390599845496464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358452634,"filename":"image_11042025_07_22_05_10461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/be31aa545e97db8cfc58be9f8ad2cdda.jpg","text":"TemporaryFile(/tmp/multipartBody6216573158607392319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358452634,"filename":"image_11042025_07_22_14_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ea33a66a6ed883b1a0606598e6a33e14.jpg","text":"TemporaryFile(/tmp/multipartBody2778253741634669081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358452634,"filename":"image_11042025_07_22_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/11/1648ea86b201a0aeba2f4a66d1137176.jpg","text":"TemporaryFile(/tmp/multipartBody1793599439485690973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358452634,"filename":"image_11042025_07_22_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/11/33931a6665ff8e07d7005802dd7b91d5.jpg","text":"TemporaryFile(/tmp/multipartBody2714960093497002777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358452634,"filename":"image_11042025_07_22_44_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ece8725fe6c0c6cef13318b54c59afe6.jpg","text":"TemporaryFile(/tmp/multipartBody4134135194336041495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358452634,"filename":"image_11042025_07_22_25_10379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351548563","file1":"1351548463","file0":"1351548376","file4":"1351548674","file5":"1351548700","file3":"1351548628"},"map_files_photo_id_array":[{"photo_id":"1351548700","filename":"file5"},{"photo_id":"1351548563","filename":"file2"},{"photo_id":"1351548674","filename":"file4"},{"photo_id":"1351548463","filename":"file1"},{"photo_id":"1351548376","filename":"file0"},{"photo_id":"1351548628","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351548376":["hashtag1","hashtag2"]},{"1351548463":["hashtag1","hashtag2"]},{"1351548628":["hashtag1","hashtag2"]},{"1351548700":["hashtag1","hashtag2"]},{"1351548674":["hashtag1","hashtag2"]},{"1351548563":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351548376, 1351548463, 1351548628, 1351548700, 1351548674, 1351548563)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.70144009590149 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 10:00:32.339089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/07/22/image_11042025_07_23_04_9383.jpg', '/home/pi/Desktop/images/11042025/07/23/image_11042025_07_23_14_10341.jpg', '/home/pi/Desktop/images/11042025/07/23/image_11042025_07_23_24_9915.jpg', '/home/pi/Desktop/images/11042025/07/23/image_11042025_07_23_34_9787.jpg', '/home/pi/Desktop/images/11042025/07/23/image_11042025_07_23_55_10421.jpg', '/home/pi/Desktop/images/11042025/07/23/image_11042025_07_24_04_9378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/07/22/image_11042025_07_23_04_9383.jpg
/home/pi/Desktop/images/11042025/07/23/image_11042025_07_23_14_10341.jpg
/home/pi/Desktop/images/11042025/07/23/image_11042025_07_23_24_9915.jpg
/home/pi/Desktop/images/11042025/07/23/image_11042025_07_23_34_9787.jpg
/home/pi/Desktop/images/11042025/07/23/image_11042025_07_23_55_10421.jpg
/home/pi/Desktop/images/11042025/07/23/image_11042025_07_24_04_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":["1351548851","1351548824","1351548774","1351548876","1351548801","1351548881"],"photo_ids_order":["1351548774","1351548801","1351548824","1351548851","1351548876","1351548881"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a7f0ec96f59cd060ed7c973b82900302.jpg","text":"TemporaryFile(/tmp/multipartBody6149371398060306898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358492866,"filename":"image_11042025_07_23_34_9787.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5a8a12f27192e4fa7a61073d6b20c804.jpg","text":"TemporaryFile(/tmp/multipartBody3568840722454481539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358492866,"filename":"image_11042025_07_23_24_9915.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d92ec8cd405bfb1050eb642a607f26be.jpg","text":"TemporaryFile(/tmp/multipartBody7615612485990092535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358492866,"filename":"image_11042025_07_23_04_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/44b88b3a50b0b2da85814d4253540eba.jpg","text":"TemporaryFile(/tmp/multipartBody8752418813666066109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358492866,"filename":"image_11042025_07_23_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/11/b3580e0bb3b178af2ba08a40478b055d.jpg","text":"TemporaryFile(/tmp/multipartBody740206897418792434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358492866,"filename":"image_11042025_07_23_14_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b3b96005d4edf38db84ba812b15efbb3.jpg","text":"TemporaryFile(/tmp/multipartBody4119878363842052938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358492866,"filename":"image_11042025_07_24_04_9378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351548824","file1":"1351548801","file0":"1351548774","file4":"1351548876","file5":"1351548881","file3":"1351548851"},"map_files_photo_id_array":[{"photo_id":"1351548881","filename":"file5"},{"photo_id":"1351548824","filename":"file2"},{"photo_id":"1351548876","filename":"file4"},{"photo_id":"1351548801","filename":"file1"},{"photo_id":"1351548774","filename":"file0"},{"photo_id":"1351548851","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351548851":["hashtag1","hashtag2"]},{"1351548824":["hashtag1","hashtag2"]},{"1351548774":["hashtag1","hashtag2"]},{"1351548876":["hashtag1","hashtag2"]},{"1351548801":["hashtag1","hashtag2"]},{"1351548881":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351548851, 1351548824, 1351548774, 1351548876, 1351548801, 1351548881)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.241530656814575 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 10:01:32.488597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/07/24/image_11042025_07_24_15_10409.jpg', '/home/pi/Desktop/images/11042025/07/24/image_11042025_07_24_24_9450.jpg', '/home/pi/Desktop/images/11042025/07/24/image_11042025_07_24_34_10374.jpg', '/home/pi/Desktop/images/11042025/07/24/image_11042025_07_24_45_10428.jpg', '/home/pi/Desktop/images/11042025/07/24/image_11042025_07_24_54_9366.jpg', '/home/pi/Desktop/images/11042025/07/24/image_11042025_07_25_05_10409.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/07/24/image_11042025_07_24_15_10409.jpg
/home/pi/Desktop/images/11042025/07/24/image_11042025_07_24_24_9450.jpg
/home/pi/Desktop/images/11042025/07/24/image_11042025_07_24_34_10374.jpg
/home/pi/Desktop/images/11042025/07/24/image_11042025_07_24_45_10428.jpg
/home/pi/Desktop/images/11042025/07/24/image_11042025_07_24_54_9366.jpg
/home/pi/Desktop/images/11042025/07/24/image_11042025_07_25_05_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":["1351549477","1351549516","1351549560","1351549442","1351549379","1351549544"],"photo_ids_order":["1351549379","1351549442","1351549477","1351549516","1351549544","1351549560"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d6f4271cc213fa9778b6f392a9bc7582.jpg","text":"TemporaryFile(/tmp/multipartBody5289996553027804435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358552961,"filename":"image_11042025_07_24_34_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/27ae09ad69df4189a13dfa1572b58263.jpg","text":"TemporaryFile(/tmp/multipartBody2645795171882054508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358552961,"filename":"image_11042025_07_24_45_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9d4722bbab81275b703adac332d018bf.jpg","text":"TemporaryFile(/tmp/multipartBody6230560081276460323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358552961,"filename":"image_11042025_07_25_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/11/5b5cdbb52e3a7e80acd791bc103d3802.jpg","text":"TemporaryFile(/tmp/multipartBody5660285980525245997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358552961,"filename":"image_11042025_07_24_24_9450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7ecf9d3e7665153fbf27bdce62a1a4e0.jpg","text":"TemporaryFile(/tmp/multipartBody1318033721030208736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358552961,"filename":"image_11042025_07_24_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/11/34203db0b598f4aeb984ebf818cdcea0.jpg","text":"TemporaryFile(/tmp/multipartBody1089662555690989056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358552961,"filename":"image_11042025_07_24_54_9366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351549477","file1":"1351549442","file0":"1351549379","file4":"1351549544","file5":"1351549560","file3":"1351549516"},"map_files_photo_id_array":[{"photo_id":"1351549560","filename":"file5"},{"photo_id":"1351549477","filename":"file2"},{"photo_id":"1351549544","filename":"file4"},{"photo_id":"1351549442","filename":"file1"},{"photo_id":"1351549379","filename":"file0"},{"photo_id":"1351549516","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351549477":["hashtag1","hashtag2"]},{"1351549516":["hashtag1","hashtag2"]},{"1351549560":["hashtag1","hashtag2"]},{"1351549442":["hashtag1","hashtag2"]},{"1351549379":["hashtag1","hashtag2"]},{"1351549544":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351549477, 1351549516, 1351549560, 1351549442, 1351549379, 1351549544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.13402485847473 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 10:02:32.719728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/07/25/image_11042025_07_25_14_9394.jpg', '/home/pi/Desktop/images/11042025/07/25/image_11042025_07_25_24_10411.jpg', '/home/pi/Desktop/images/11042025/07/25/image_11042025_07_25_35_10418.jpg', '/home/pi/Desktop/images/11042025/07/25/image_11042025_07_25_44_9362.jpg', '/home/pi/Desktop/images/11042025/07/25/image_11042025_07_25_55_10370.jpg', '/home/pi/Desktop/images/11042025/07/25/image_11042025_07_26_04_9453.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/07/25/image_11042025_07_25_14_9394.jpg
/home/pi/Desktop/images/11042025/07/25/image_11042025_07_25_24_10411.jpg
/home/pi/Desktop/images/11042025/07/25/image_11042025_07_25_35_10418.jpg
/home/pi/Desktop/images/11042025/07/25/image_11042025_07_25_44_9362.jpg
/home/pi/Desktop/images/11042025/07/25/image_11042025_07_25_55_10370.jpg
/home/pi/Desktop/images/11042025/07/25/image_11042025_07_26_04_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":["1351550054","1351549870","1351550158","1351550107","1351550085","1351549991"],"photo_ids_order":["1351549870","1351549991","1351550054","1351550085","1351550107","1351550158"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4631c18bac5f6212a9c667bcdb959af5.jpg","text":"TemporaryFile(/tmp/multipartBody8364998565500349686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358613188,"filename":"image_11042025_07_25_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/11/cb0742f63841d34ad92c7e90ff5589c6.jpg","text":"TemporaryFile(/tmp/multipartBody1904368000733677968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358613188,"filename":"image_11042025_07_25_14_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7935d1745098dd2e32544eebed4d2667.jpg","text":"TemporaryFile(/tmp/multipartBody7590848416381882207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358613188,"filename":"image_11042025_07_26_04_9453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d51961493d6f2fd53ad03f1b236127f0.jpg","text":"TemporaryFile(/tmp/multipartBody1503757599018944653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358613188,"filename":"image_11042025_07_25_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/11/31b17a39399c60d28c3b831d66ea5c67.jpg","text":"TemporaryFile(/tmp/multipartBody5197221509024085396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358613188,"filename":"image_11042025_07_25_44_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a1d6e41d3b472036c4cbb05db94683c3.jpg","text":"TemporaryFile(/tmp/multipartBody8704359887665600367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358613188,"filename":"image_11042025_07_25_24_10411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351550054","file1":"1351549991","file0":"1351549870","file4":"1351550107","file5":"1351550158","file3":"1351550085"},"map_files_photo_id_array":[{"photo_id":"1351550158","filename":"file5"},{"photo_id":"1351550054","filename":"file2"},{"photo_id":"1351550107","filename":"file4"},{"photo_id":"1351549991","filename":"file1"},{"photo_id":"1351549870","filename":"file0"},{"photo_id":"1351550085","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351550054":["hashtag1","hashtag2"]},{"1351549870":["hashtag1","hashtag2"]},{"1351550158":["hashtag1","hashtag2"]},{"1351550107":["hashtag1","hashtag2"]},{"1351550085":["hashtag1","hashtag2"]},{"1351549991":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351550054, 1351549870, 1351550158, 1351550107, 1351550085, 1351549991)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.450058937072754 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 10:03:32.934073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/07/26/image_11042025_07_26_14_10355.jpg', '/home/pi/Desktop/images/11042025/07/26/image_11042025_07_26_25_10438.jpg', '/home/pi/Desktop/images/11042025/07/26/image_11042025_07_26_34_9366.jpg', '/home/pi/Desktop/images/11042025/07/26/image_11042025_07_26_45_10365.jpg', '/home/pi/Desktop/images/11042025/07/26/image_11042025_07_26_55_10375.jpg', '/home/pi/Desktop/images/11042025/07/26/image_11042025_07_27_04_9349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/07/26/image_11042025_07_26_14_10355.jpg
/home/pi/Desktop/images/11042025/07/26/image_11042025_07_26_25_10438.jpg
/home/pi/Desktop/images/11042025/07/26/image_11042025_07_26_34_9366.jpg
/home/pi/Desktop/images/11042025/07/26/image_11042025_07_26_45_10365.jpg
/home/pi/Desktop/images/11042025/07/26/image_11042025_07_26_55_10375.jpg
/home/pi/Desktop/images/11042025/07/26/image_11042025_07_27_04_9349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351550680","1351550611","1351550548","1351550716","1351550478","1351550765"],"photo_ids_order":["1351550478","1351550548","1351550611","1351550680","1351550716","1351550765"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/75704ddc8c0f969ffcfe7b7dfe2460be.jpg","text":"TemporaryFile(/tmp/multipartBody2430377361338294673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358673396,"filename":"image_11042025_07_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/11/c9c0f94d11c7c97725282f50a4c93c67.jpg","text":"TemporaryFile(/tmp/multipartBody7841330241710359508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358673396,"filename":"image_11042025_07_26_34_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1a394d177f070a49f9900fd078e40aa9.jpg","text":"TemporaryFile(/tmp/multipartBody4243958296111825219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358673396,"filename":"image_11042025_07_26_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/11/acbdeb138e4616030ddfa4351e142376.jpg","text":"TemporaryFile(/tmp/multipartBody5831509859201377441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358673396,"filename":"image_11042025_07_26_55_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b1c7b1e84fa765411d01df82a145acf8.jpg","text":"TemporaryFile(/tmp/multipartBody8605638042539343169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358673396,"filename":"image_11042025_07_26_14_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ce7438e9516cca63d03118a6fca3ec1d.jpg","text":"TemporaryFile(/tmp/multipartBody8661354168090976430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358673396,"filename":"image_11042025_07_27_04_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351550611","file1":"1351550548","file0":"1351550478","file4":"1351550716","file5":"1351550765","file3":"1351550680"},"map_files_photo_id_array":[{"photo_id":"1351550765","filename":"file5"},{"photo_id":"1351550611","filename":"file2"},{"photo_id":"1351550716","filename":"file4"},{"photo_id":"1351550548","filename":"file1"},{"photo_id":"1351550478","filename":"file0"},{"photo_id":"1351550680","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351550680":["hashtag1","hashtag2"]},{"1351550611":["hashtag1","hashtag2"]},{"1351550548":["hashtag1","hashtag2"]},{"1351550716":["hashtag1","hashtag2"]},{"1351550478":["hashtag1","hashtag2"]},{"1351550765":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351550680, 1351550611, 1351550548, 1351550716, 1351550478, 1351550765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.88861799240112 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 10:04:32.195064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/07/27/image_11042025_07_27_15_10477.jpg', '/home/pi/Desktop/images/11042025/07/27/image_11042025_07_27_24_9438.jpg', '/home/pi/Desktop/images/11042025/07/27/image_11042025_07_27_35_10408.jpg', '/home/pi/Desktop/images/11042025/07/27/image_11042025_07_27_44_9397.jpg', '/home/pi/Desktop/images/11042025/07/27/image_11042025_07_27_54_10347.jpg', '/home/pi/Desktop/images/11042025/07/27/image_11042025_07_28_05_10386.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/07/27/image_11042025_07_27_15_10477.jpg
/home/pi/Desktop/images/11042025/07/27/image_11042025_07_27_24_9438.jpg
/home/pi/Desktop/images/11042025/07/27/image_11042025_07_27_35_10408.jpg
/home/pi/Desktop/images/11042025/07/27/image_11042025_07_27_44_9397.jpg
/home/pi/Desktop/images/11042025/07/27/image_11042025_07_27_54_10347.jpg
/home/pi/Desktop/images/11042025/07/27/image_11042025_07_28_05_10386.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351551148","1351551406","1351551337","1351551273","1351551360","1351551120"],"photo_ids_order":["1351551120","1351551148","1351551273","1351551337","1351551360","1351551406"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b2f5dafc25d02e86dd2c140d913da054.jpg","text":"TemporaryFile(/tmp/multipartBody2998944159310560577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358732644,"filename":"image_11042025_07_27_24_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d35ff3232b0eafaa4392eb2b157a6c2f.jpg","text":"TemporaryFile(/tmp/multipartBody8043381415952224573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358732644,"filename":"image_11042025_07_28_05_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5384c42b3f25bcab5fa8c226dfa231d6.jpg","text":"TemporaryFile(/tmp/multipartBody8910579631586288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358732644,"filename":"image_11042025_07_27_44_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/58faf10f11c0c68feebdf313492d7e99.jpg","text":"TemporaryFile(/tmp/multipartBody9124677245759670512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358732644,"filename":"image_11042025_07_27_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/11/6e57ac59aeebd9370fb1eb6aae6a8815.jpg","text":"TemporaryFile(/tmp/multipartBody5942310322027605674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358732644,"filename":"image_11042025_07_27_54_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4bc945682de64144f5cd959d8e9fcc61.jpg","text":"TemporaryFile(/tmp/multipartBody1768838480252094182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358732644,"filename":"image_11042025_07_27_15_10477.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351551273","file1":"1351551148","file0":"1351551120","file4":"1351551360","file5":"1351551406","file3":"1351551337"},"map_files_photo_id_array":[{"photo_id":"1351551406","filename":"file5"},{"photo_id":"1351551273","filename":"file2"},{"photo_id":"1351551360","filename":"file4"},{"photo_id":"1351551148","filename":"file1"},{"photo_id":"1351551120","filename":"file0"},{"photo_id":"1351551337","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351551148":["hashtag1","hashtag2"]},{"1351551406":["hashtag1","hashtag2"]},{"1351551337":["hashtag1","hashtag2"]},{"1351551273":["hashtag1","hashtag2"]},{"1351551360":["hashtag1","hashtag2"]},{"1351551120":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351551148, 1351551406, 1351551337, 1351551273, 1351551360, 1351551120)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.612712144851685 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 10:05:32.449763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/07/28/image_11042025_07_28_14_9348.jpg', '/home/pi/Desktop/images/11042025/07/28/image_11042025_07_28_24_10374.jpg', '/home/pi/Desktop/images/11042025/07/28/image_11042025_07_28_35_10360.jpg', '/home/pi/Desktop/images/11042025/07/28/image_11042025_07_28_44_9392.jpg', '/home/pi/Desktop/images/11042025/07/28/image_11042025_07_28_55_10477.jpg', '/home/pi/Desktop/images/11042025/07/28/image_11042025_07_29_04_9352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/07/28/image_11042025_07_28_14_9348.jpg
/home/pi/Desktop/images/11042025/07/28/image_11042025_07_28_24_10374.jpg
/home/pi/Desktop/images/11042025/07/28/image_11042025_07_28_35_10360.jpg
/home/pi/Desktop/images/11042025/07/28/image_11042025_07_28_44_9392.jpg
/home/pi/Desktop/images/11042025/07/28/image_11042025_07_28_55_10477.jpg
/home/pi/Desktop/images/11042025/07/28/image_11042025_07_29_04_9352.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":["1351551748","1351551801","1351551575","1351551683","1351551878","1351551713"],"photo_ids_order":["1351551575","1351551683","1351551713","1351551748","1351551801","1351551878"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6513578764b42d4ad0804b025d223e4a.jpg","text":"TemporaryFile(/tmp/multipartBody9164866294182598494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358792998,"filename":"image_11042025_07_28_44_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/11/3ca5b2ffd073d98eff0a77bfccb51bd7.jpg","text":"TemporaryFile(/tmp/multipartBody3529062152851178212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358792998,"filename":"image_11042025_07_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/11/7c18bb803fcec6dde774f0c3bd9d7c1e.jpg","text":"TemporaryFile(/tmp/multipartBody4370592893470540446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358792998,"filename":"image_11042025_07_28_14_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/09c8307fd2c2eeb2ed84a0b1f8621431.jpg","text":"TemporaryFile(/tmp/multipartBody7563931942516873927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358792998,"filename":"image_11042025_07_28_24_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/fd5ab3137c05b63cebf9a2626b05e02f.jpg","text":"TemporaryFile(/tmp/multipartBody8740340847629822249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358792998,"filename":"image_11042025_07_29_04_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/98d9d67a76ce86333b689165a4f7b746.jpg","text":"TemporaryFile(/tmp/multipartBody7618756618466669384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358792998,"filename":"image_11042025_07_28_35_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351551713","file1":"1351551683","file0":"1351551575","file4":"1351551801","file5":"1351551878","file3":"1351551748"},"map_files_photo_id_array":[{"photo_id":"1351551878","filename":"file5"},{"photo_id":"1351551713","filename":"file2"},{"photo_id":"1351551801","filename":"file4"},{"photo_id":"1351551683","filename":"file1"},{"photo_id":"1351551575","filename":"file0"},{"photo_id":"1351551748","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351551748":["hashtag1","hashtag2"]},{"1351551801":["hashtag1","hashtag2"]},{"1351551575":["hashtag1","hashtag2"]},{"1351551683":["hashtag1","hashtag2"]},{"1351551878":["hashtag1","hashtag2"]},{"1351551713":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351551748, 1351551801, 1351551575, 1351551683, 1351551878, 1351551713)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.93211841583252 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 10:06:42.699661
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/07/29/image_11042025_07_29_14_10353.jpg', '/home/pi/Desktop/images/11042025/07/29/image_11042025_07_29_25_10448.jpg', '/home/pi/Desktop/images/11042025/07/29/image_11042025_07_29_34_9330.jpg', '/home/pi/Desktop/images/11042025/07/29/image_11042025_07_29_45_10357.jpg', '/home/pi/Desktop/images/11042025/07/29/image_11042025_07_29_54_9434.jpg', '/home/pi/Desktop/images/11042025/07/29/image_11042025_07_30_04_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/07/29/image_11042025_07_29_14_10353.jpg
/home/pi/Desktop/images/11042025/07/29/image_11042025_07_29_25_10448.jpg
/home/pi/Desktop/images/11042025/07/29/image_11042025_07_29_34_9330.jpg
/home/pi/Desktop/images/11042025/07/29/image_11042025_07_29_45_10357.jpg
/home/pi/Desktop/images/11042025/07/29/image_11042025_07_29_54_9434.jpg
/home/pi/Desktop/images/11042025/07/29/image_11042025_07_30_04_10362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351552296","1351552197","1351552098","1351552227","1351552268","1351552034"],"photo_ids_order":["1351552034","1351552098","1351552197","1351552227","1351552268","1351552296"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b6a4f08d4884ead88107e6736682bbaa.jpg","text":"TemporaryFile(/tmp/multipartBody7861798132935711818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358863224,"filename":"image_11042025_07_30_04_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7ca029629ab43110c9b0f42fe3183541.jpg","text":"TemporaryFile(/tmp/multipartBody5873565475935086612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358863224,"filename":"image_11042025_07_29_34_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/dc8f5ebf142339df0dd25c9662d469a3.jpg","text":"TemporaryFile(/tmp/multipartBody3296458566655256994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358863224,"filename":"image_11042025_07_29_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/11/50a36babc6f873784f851f0bf14d928b.jpg","text":"TemporaryFile(/tmp/multipartBody775049336994348422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358863224,"filename":"image_11042025_07_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/11/336594d535e5fc825521b0ffe3cd93ce.jpg","text":"TemporaryFile(/tmp/multipartBody4525906636699588380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358863224,"filename":"image_11042025_07_29_54_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/11/f875b11dd110c22450b675fd438a2e4d.jpg","text":"TemporaryFile(/tmp/multipartBody6247006418737176470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358863224,"filename":"image_11042025_07_29_14_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351552197","file1":"1351552098","file0":"1351552034","file4":"1351552268","file5":"1351552296","file3":"1351552227"},"map_files_photo_id_array":[{"photo_id":"1351552296","filename":"file5"},{"photo_id":"1351552197","filename":"file2"},{"photo_id":"1351552268","filename":"file4"},{"photo_id":"1351552098","filename":"file1"},{"photo_id":"1351552034","filename":"file0"},{"photo_id":"1351552227","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351552296":["hashtag1","hashtag2"]},{"1351552197":["hashtag1","hashtag2"]},{"1351552098":["hashtag1","hashtag2"]},{"1351552227":["hashtag1","hashtag2"]},{"1351552268":["hashtag1","hashtag2"]},{"1351552034":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351552296, 1351552197, 1351552098, 1351552227, 1351552268, 1351552034)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.62839341163635 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 10:07:32.957229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/07/30/image_11042025_07_30_15_10464.jpg', '/home/pi/Desktop/images/11042025/07/30/image_11042025_07_30_24_9372.jpg', '/home/pi/Desktop/images/11042025/07/30/image_11042025_07_30_35_10364.jpg', '/home/pi/Desktop/images/11042025/07/30/image_11042025_07_30_44_9440.jpg', '/home/pi/Desktop/images/11042025/07/30/image_11042025_07_30_54_10442.jpg', '/home/pi/Desktop/images/11042025/07/30/image_11042025_07_31_05_10382.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/07/30/image_11042025_07_30_15_10464.jpg
/home/pi/Desktop/images/11042025/07/30/image_11042025_07_30_24_9372.jpg
/home/pi/Desktop/images/11042025/07/30/image_11042025_07_30_35_10364.jpg
/home/pi/Desktop/images/11042025/07/30/image_11042025_07_30_44_9440.jpg
/home/pi/Desktop/images/11042025/07/30/image_11042025_07_30_54_10442.jpg
/home/pi/Desktop/images/11042025/07/30/image_11042025_07_31_05_10382.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351552636","1351552557","1351552697","1351552763","1351552745","1351552765"],"photo_ids_order":["1351552557","1351552636","1351552697","1351552745","1351552763","1351552765"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/02e053b6bfd8dfb8cbecce05db81fffb.jpg","text":"TemporaryFile(/tmp/multipartBody2877606894094286211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358913438,"filename":"image_11042025_07_30_24_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/941981748cc03756bd4dc75c1656b596.jpg","text":"TemporaryFile(/tmp/multipartBody5402801828219413191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358913438,"filename":"image_11042025_07_30_15_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/bcd8c53f485188251f60b58f423d6e1c.jpg","text":"TemporaryFile(/tmp/multipartBody7744160549495574411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358913438,"filename":"image_11042025_07_30_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/11/f666f47fd673fb3fd09e2754b566058f.jpg","text":"TemporaryFile(/tmp/multipartBody3699600906911403648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358913438,"filename":"image_11042025_07_30_54_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/11/eb0ad0bbce13e390ef0b921ecfb00087.jpg","text":"TemporaryFile(/tmp/multipartBody9181052991118921563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358913438,"filename":"image_11042025_07_30_44_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3d43d3cbbe05992e028a02ba1913e9b1.jpg","text":"TemporaryFile(/tmp/multipartBody1807422628104299645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358913438,"filename":"image_11042025_07_31_05_10382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351552697","file1":"1351552636","file0":"1351552557","file4":"1351552763","file5":"1351552765","file3":"1351552745"},"map_files_photo_id_array":[{"photo_id":"1351552765","filename":"file5"},{"photo_id":"1351552697","filename":"file2"},{"photo_id":"1351552763","filename":"file4"},{"photo_id":"1351552636","filename":"file1"},{"photo_id":"1351552557","filename":"file0"},{"photo_id":"1351552745","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351552636":["hashtag1","hashtag2"]},{"1351552557":["hashtag1","hashtag2"]},{"1351552697":["hashtag1","hashtag2"]},{"1351552763":["hashtag1","hashtag2"]},{"1351552745":["hashtag1","hashtag2"]},{"1351552765":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351552636, 1351552557, 1351552697, 1351552763, 1351552745, 1351552765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.105918645858765 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 10:08:33.164019
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/07/31/image_11042025_07_31_14_9365.jpg', '/home/pi/Desktop/images/11042025/07/31/image_11042025_07_31_25_10378.jpg', '/home/pi/Desktop/images/11042025/07/31/image_11042025_07_31_34_9450.jpg', '/home/pi/Desktop/images/11042025/07/31/image_11042025_07_31_44_10360.jpg', '/home/pi/Desktop/images/11042025/07/31/image_11042025_07_31_55_10466.jpg', '/home/pi/Desktop/images/11042025/07/31/image_11042025_07_32_04_9341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/07/31/image_11042025_07_31_14_9365.jpg
/home/pi/Desktop/images/11042025/07/31/image_11042025_07_31_25_10378.jpg
/home/pi/Desktop/images/11042025/07/31/image_11042025_07_31_34_9450.jpg
/home/pi/Desktop/images/11042025/07/31/image_11042025_07_31_44_10360.jpg
/home/pi/Desktop/images/11042025/07/31/image_11042025_07_31_55_10466.jpg
/home/pi/Desktop/images/11042025/07/31/image_11042025_07_32_04_9341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351553326","1351553181","1351553409","1351553096","1351553164","1351553203"],"photo_ids_order":["1351553096","1351553164","1351553181","1351553203","1351553326","1351553409"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/63ef30b5d5f842e24f562e64adc0599c.jpg","text":"TemporaryFile(/tmp/multipartBody971678364653256201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358973613,"filename":"image_11042025_07_31_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/11/c8ad38a9a9ee8046f1577039ddbfbe67.jpg","text":"TemporaryFile(/tmp/multipartBody1578172124273213822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358973613,"filename":"image_11042025_07_31_34_9450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/debf5a6b9e6ae4be26cf13debd35f750.jpg","text":"TemporaryFile(/tmp/multipartBody8498004585597653169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358973613,"filename":"image_11042025_07_32_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/11/5ec356cc8a5bb77c2787436575a1f3bb.jpg","text":"TemporaryFile(/tmp/multipartBody291099060088157629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358973613,"filename":"image_11042025_07_31_14_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9b61d148f63665af821b92e5e426de74.jpg","text":"TemporaryFile(/tmp/multipartBody8143959024048260988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358973613,"filename":"image_11042025_07_31_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/11/5fe7b6ab999e22587e9dcf902217a6a0.jpg","text":"TemporaryFile(/tmp/multipartBody6639099159222111599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744358973613,"filename":"image_11042025_07_31_44_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351553181","file1":"1351553164","file0":"1351553096","file4":"1351553326","file5":"1351553409","file3":"1351553203"},"map_files_photo_id_array":[{"photo_id":"1351553409","filename":"file5"},{"photo_id":"1351553181","filename":"file2"},{"photo_id":"1351553326","filename":"file4"},{"photo_id":"1351553164","filename":"file1"},{"photo_id":"1351553096","filename":"file0"},{"photo_id":"1351553203","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351553326":["hashtag1","hashtag2"]},{"1351553181":["hashtag1","hashtag2"]},{"1351553409":["hashtag1","hashtag2"]},{"1351553096":["hashtag1","hashtag2"]},{"1351553164":["hashtag1","hashtag2"]},{"1351553203":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351553326, 1351553181, 1351553409, 1351553096, 1351553164, 1351553203)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.566097021102905 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 10:09:32.395782
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/07/32/image_11042025_07_32_15_10359.jpg', '/home/pi/Desktop/images/11042025/07/32/image_11042025_07_32_25_10361.jpg', '/home/pi/Desktop/images/11042025/07/32/image_11042025_07_32_34_9363.jpg', '/home/pi/Desktop/images/11042025/07/32/image_11042025_07_32_45_10462.jpg', '/home/pi/Desktop/images/11042025/07/32/image_11042025_07_32_54_9421.jpg', '/home/pi/Desktop/images/11042025/07/32/image_11042025_07_33_05_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/07/32/image_11042025_07_32_15_10359.jpg
/home/pi/Desktop/images/11042025/07/32/image_11042025_07_32_25_10361.jpg
/home/pi/Desktop/images/11042025/07/32/image_11042025_07_32_34_9363.jpg
/home/pi/Desktop/images/11042025/07/32/image_11042025_07_32_45_10462.jpg
/home/pi/Desktop/images/11042025/07/32/image_11042025_07_32_54_9421.jpg
/home/pi/Desktop/images/11042025/07/32/image_11042025_07_33_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":["1351554153","1351554275","1351553969","1351553864","1351553776","1351554057"],"photo_ids_order":["1351553776","1351553864","1351553969","1351554057","1351554153","1351554275"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6cf50140b37d26d93e25428e39722991.jpg","text":"TemporaryFile(/tmp/multipartBody2556397612344226720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744359032957,"filename":"image_11042025_07_32_54_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/dfc9d60bbf666813c5d2dd01460c47a7.jpg","text":"TemporaryFile(/tmp/multipartBody4580520189087302241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744359032957,"filename":"image_11042025_07_33_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/11/75025ebe2a5e61b0d43ffbe64f89eef6.jpg","text":"TemporaryFile(/tmp/multipartBody6467729532762311405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744359032957,"filename":"image_11042025_07_32_34_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/11/2de2715b0455e1bce76346fe016a7952.jpg","text":"TemporaryFile(/tmp/multipartBody305155984893711694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744359032957,"filename":"image_11042025_07_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/11/2142fc521163fa3bc20cdef066b5502e.jpg","text":"TemporaryFile(/tmp/multipartBody2851709537203759503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744359032957,"filename":"image_11042025_07_32_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/11/539fd684864c8bc53ca2e05037150816.jpg","text":"TemporaryFile(/tmp/multipartBody3876796881217086679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744359032957,"filename":"image_11042025_07_32_45_10462.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351553969","file1":"1351553864","file0":"1351553776","file4":"1351554153","file5":"1351554275","file3":"1351554057"},"map_files_photo_id_array":[{"photo_id":"1351554275","filename":"file5"},{"photo_id":"1351553969","filename":"file2"},{"photo_id":"1351554153","filename":"file4"},{"photo_id":"1351553864","filename":"file1"},{"photo_id":"1351553776","filename":"file0"},{"photo_id":"1351554057","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351554153":["hashtag1","hashtag2"]},{"1351554275":["hashtag1","hashtag2"]},{"1351553969":["hashtag1","hashtag2"]},{"1351553864":["hashtag1","hashtag2"]},{"1351553776":["hashtag1","hashtag2"]},{"1351554057":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351554153, 1351554275, 1351553969, 1351553864, 1351553776, 1351554057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.559805393218994 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 10:10:32.579554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/07/33/image_11042025_07_33_14_9458.jpg', '/home/pi/Desktop/images/11042025/07/33/image_11042025_07_33_24_10380.jpg', '/home/pi/Desktop/images/11042025/07/33/image_11042025_07_33_35_10520.jpg', '/home/pi/Desktop/images/11042025/07/33/image_11042025_07_33_44_9357.jpg', '/home/pi/Desktop/images/11042025/07/33/image_11042025_07_33_55_10485.jpg', '/home/pi/Desktop/images/11042025/07/33/image_11042025_07_34_04_9344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/07/33/image_11042025_07_33_14_9458.jpg
/home/pi/Desktop/images/11042025/07/33/image_11042025_07_33_24_10380.jpg
/home/pi/Desktop/images/11042025/07/33/image_11042025_07_33_35_10520.jpg
/home/pi/Desktop/images/11042025/07/33/image_11042025_07_33_44_9357.jpg
/home/pi/Desktop/images/11042025/07/33/image_11042025_07_33_55_10485.jpg
/home/pi/Desktop/images/11042025/07/33/image_11042025_07_34_04_9344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351555029","1351554986","1351554881","1351554938","1351554716","1351554847"],"photo_ids_order":["1351554716","1351554847","1351554881","1351554938","1351554986","1351555029"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c7559811a4cea0111e642050695ec272.jpg","text":"TemporaryFile(/tmp/multipartBody5649968130839570638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744359093031,"filename":"image_11042025_07_34_04_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/696ba051a3a6184b006203f8754b28dc.jpg","text":"TemporaryFile(/tmp/multipartBody65285024482026945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744359093031,"filename":"image_11042025_07_33_55_10485.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/20b9fbebbd0b70312ce69e59b83be4db.jpg","text":"TemporaryFile(/tmp/multipartBody6942991549443014863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744359093031,"filename":"image_11042025_07_33_35_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/11/ad36e1c49bbb636264abeb280447ad28.jpg","text":"TemporaryFile(/tmp/multipartBody116529334452269745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744359093031,"filename":"image_11042025_07_33_44_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8fbae05a64fdd613196bcfc4eaa43e77.jpg","text":"TemporaryFile(/tmp/multipartBody4734753315727274771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744359093031,"filename":"image_11042025_07_33_14_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/11/1473f33ee422a4aba212021ca68915eb.jpg","text":"TemporaryFile(/tmp/multipartBody3024995813344704930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744359093031,"filename":"image_11042025_07_33_24_10380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351554881","file1":"1351554847","file0":"1351554716","file4":"1351554986","file5":"1351555029","file3":"1351554938"},"map_files_photo_id_array":[{"photo_id":"1351555029","filename":"file5"},{"photo_id":"1351554881","filename":"file2"},{"photo_id":"1351554986","filename":"file4"},{"photo_id":"1351554847","filename":"file1"},{"photo_id":"1351554716","filename":"file0"},{"photo_id":"1351554938","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351555029":["hashtag1","hashtag2"]},{"1351554986":["hashtag1","hashtag2"]},{"1351554881":["hashtag1","hashtag2"]},{"1351554938":["hashtag1","hashtag2"]},{"1351554716":["hashtag1","hashtag2"]},{"1351554847":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351555029, 1351554986, 1351554881, 1351554938, 1351554716, 1351554847)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 76.14932608604431 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 10:11:52.796572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/07/34/image_11042025_07_34_14_10352.jpg', '/home/pi/Desktop/images/11042025/07/34/image_11042025_07_34_25_10354.jpg', '/home/pi/Desktop/images/11042025/07/34/image_11042025_07_34_34_9357.jpg', '/home/pi/Desktop/images/11042025/07/34/image_11042025_07_34_44_10355.jpg', '/home/pi/Desktop/images/11042025/07/34/image_11042025_07_34_55_10427.jpg', '/home/pi/Desktop/images/11042025/07/34/image_11042025_07_35_04_9358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/07/34/image_11042025_07_34_14_10352.jpg
/home/pi/Desktop/images/11042025/07/34/image_11042025_07_34_25_10354.jpg
/home/pi/Desktop/images/11042025/07/34/image_11042025_07_34_34_9357.jpg
/home/pi/Desktop/images/11042025/07/34/image_11042025_07_34_44_10355.jpg
/home/pi/Desktop/images/11042025/07/34/image_11042025_07_34_55_10427.jpg
/home/pi/Desktop/images/11042025/07/34/image_11042025_07_35_04_9358.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351555379","1351555406","1351555459","1351555588","1351555648","1351555542"],"photo_ids_order":["1351555379","1351555406","1351555459","1351555542","1351555588","1351555648"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/767a6c53f8b3356c70daf2fc09199baa.jpg","text":"TemporaryFile(/tmp/multipartBody1023944592101076162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744359173251,"filename":"image_11042025_07_34_14_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ff7eaad9eb03df955530f4a566ba4a57.jpg","text":"TemporaryFile(/tmp/multipartBody3480075231707103587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744359173251,"filename":"image_11042025_07_34_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/11/a7c485cc245c0a4396a82ba8bbb5c581.jpg","text":"TemporaryFile(/tmp/multipartBody3272078093594828020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744359173251,"filename":"image_11042025_07_34_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/11/d923ef0b5136d26392d0d2617b91bc66.jpg","text":"TemporaryFile(/tmp/multipartBody3872936956127212675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744359173251,"filename":"image_11042025_07_34_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/11/6f4fc8172e31b9b431df0b2b46636cd8.jpg","text":"TemporaryFile(/tmp/multipartBody4069249378873009832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744359173251,"filename":"image_11042025_07_35_04_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/794fd984e75a9d7b8e62e967531e2110.jpg","text":"TemporaryFile(/tmp/multipartBody2552799467400660934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744359173251,"filename":"image_11042025_07_34_44_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351555459","file1":"1351555406","file0":"1351555379","file4":"1351555588","file5":"1351555648","file3":"1351555542"},"map_files_photo_id_array":[{"photo_id":"1351555648","filename":"file5"},{"photo_id":"1351555459","filename":"file2"},{"photo_id":"1351555588","filename":"file4"},{"photo_id":"1351555406","filename":"file1"},{"photo_id":"1351555379","filename":"file0"},{"photo_id":"1351555542","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351555379":["hashtag1","hashtag2"]},{"1351555406":["hashtag1","hashtag2"]},{"1351555459":["hashtag1","hashtag2"]},{"1351555588":["hashtag1","hashtag2"]},{"1351555648":["hashtag1","hashtag2"]},{"1351555542":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351555379, 1351555406, 1351555459, 1351555588, 1351555648, 1351555542)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.384459257125854 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 10:12:33.618313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/07/35/image_11042025_07_35_15_10436.jpg', '/home/pi/Desktop/images/11042025/07/35/image_11042025_07_35_24_9350.jpg', '/home/pi/Desktop/images/11042025/07/35/image_11042025_07_35_34_10389.jpg', '/home/pi/Desktop/images/11042025/07/35/image_11042025_07_35_45_10470.jpg', '/home/pi/Desktop/images/11042025/07/35/image_11042025_07_35_54_9370.jpg', '/home/pi/Desktop/images/11042025/07/35/image_11042025_07_36_05_10514.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/07/35/image_11042025_07_35_15_10436.jpg
/home/pi/Desktop/images/11042025/07/35/image_11042025_07_35_24_9350.jpg
/home/pi/Desktop/images/11042025/07/35/image_11042025_07_35_34_10389.jpg
/home/pi/Desktop/images/11042025/07/35/image_11042025_07_35_45_10470.jpg
/home/pi/Desktop/images/11042025/07/35/image_11042025_07_35_54_9370.jpg
/home/pi/Desktop/images/11042025/07/35/image_11042025_07_36_05_10514.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351555958","1351555868","1351555913","1351556146","1351556248","1351555821"],"photo_ids_order":["1351555821","1351555868","1351555913","1351555958","1351556146","1351556248"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c8610bbbbdef83265a63b686de2ee098.jpg","text":"TemporaryFile(/tmp/multipartBody7890778247357037418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744359214088,"filename":"image_11042025_07_35_45_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/11/28471ac6628ca28467c19274d419cfa0.jpg","text":"TemporaryFile(/tmp/multipartBody6502330697387551844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744359214088,"filename":"image_11042025_07_35_24_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/29dc552b6964220b5d013c5e1d20898a.jpg","text":"TemporaryFile(/tmp/multipartBody8132483417660471207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744359214088,"filename":"image_11042025_07_35_34_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f836ed5f31e49a055d44b7e4af845022.jpg","text":"TemporaryFile(/tmp/multipartBody449274298698745726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744359214088,"filename":"image_11042025_07_35_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/11/e58049c53e12f1b396d9de2cf51e4088.jpg","text":"TemporaryFile(/tmp/multipartBody8903126274109514767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744359214088,"filename":"image_11042025_07_36_05_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/11/01ba180158d302baea7030c5126438fe.jpg","text":"TemporaryFile(/tmp/multipartBody5413738458060991289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744359214088,"filename":"image_11042025_07_35_15_10436.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351555913","file1":"1351555868","file0":"1351555821","file4":"1351556146","file5":"1351556248","file3":"1351555958"},"map_files_photo_id_array":[{"photo_id":"1351556248","filename":"file5"},{"photo_id":"1351555913","filename":"file2"},{"photo_id":"1351556146","filename":"file4"},{"photo_id":"1351555868","filename":"file1"},{"photo_id":"1351555821","filename":"file0"},{"photo_id":"1351555958","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351555958":["hashtag1","hashtag2"]},{"1351555868":["hashtag1","hashtag2"]},{"1351555913":["hashtag1","hashtag2"]},{"1351556146":["hashtag1","hashtag2"]},{"1351556248":["hashtag1","hashtag2"]},{"1351555821":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351555958, 1351555868, 1351555913, 1351556146, 1351556248, 1351555821)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 184.79559803009033 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 10:15:42.308885
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/07/36/image_11042025_07_36_14_9364.jpg', '/home/pi/Desktop/images/11042025/07/36/image_11042025_07_36_25_10360.jpg', '/home/pi/Desktop/images/11042025/07/36/image_11042025_07_36_35_10371.jpg', '/home/pi/Desktop/images/11042025/07/36/image_11042025_07_36_44_9356.jpg', '/home/pi/Desktop/images/11042025/07/36/image_11042025_07_36_55_10359.jpg', '/home/pi/Desktop/images/11042025/07/36/image_11042025_07_37_04_9404.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/07/36/image_11042025_07_36_14_9364.jpg
/home/pi/Desktop/images/11042025/07/36/image_11042025_07_36_25_10360.jpg
/home/pi/Desktop/images/11042025/07/36/image_11042025_07_36_35_10371.jpg
/home/pi/Desktop/images/11042025/07/36/image_11042025_07_36_44_9356.jpg
/home/pi/Desktop/images/11042025/07/36/image_11042025_07_36_55_10359.jpg
/home/pi/Desktop/images/11042025/07/36/image_11042025_07_37_04_9404.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351558456","1351558417","1351558365","1351558266","1351558524","1351558203"],"photo_ids_order":["1351558203","1351558266","1351558365","1351558417","1351558456","1351558524"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4b3cc614094f5fee4266c8b0f45714d3.jpg","text":"TemporaryFile(/tmp/multipartBody923781976004761443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744359402775,"filename":"image_11042025_07_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/11/24bc0553f3a48687df4c37aaa37d112a.jpg","text":"TemporaryFile(/tmp/multipartBody2023067767243651310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744359402775,"filename":"image_11042025_07_36_44_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c73ea7cbd972827f067a77b9371236b5.jpg","text":"TemporaryFile(/tmp/multipartBody4602482533908310577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744359402775,"filename":"image_11042025_07_36_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/11/a26655433e20ea96d4cb963ae628b275.jpg","text":"TemporaryFile(/tmp/multipartBody1379300962927977125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744359402775,"filename":"image_11042025_07_36_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/11/77a6afd1caffbfbfc66efb76b939362f.jpg","text":"TemporaryFile(/tmp/multipartBody8042593631921150888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744359402775,"filename":"image_11042025_07_37_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/11/85ce3a1d8f23634eddebada53528eaa9.jpg","text":"TemporaryFile(/tmp/multipartBody496982037458753557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744359402775,"filename":"image_11042025_07_36_14_9364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351558365","file1":"1351558266","file0":"1351558203","file4":"1351558456","file5":"1351558524","file3":"1351558417"},"map_files_photo_id_array":[{"photo_id":"1351558524","filename":"file5"},{"photo_id":"1351558365","filename":"file2"},{"photo_id":"1351558456","filename":"file4"},{"photo_id":"1351558266","filename":"file1"},{"photo_id":"1351558203","filename":"file0"},{"photo_id":"1351558417","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351558456":["hashtag1","hashtag2"]},{"1351558417":["hashtag1","hashtag2"]},{"1351558365":["hashtag1","hashtag2"]},{"1351558266":["hashtag1","hashtag2"]},{"1351558524":["hashtag1","hashtag2"]},{"1351558203":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351558456, 1351558417, 1351558365, 1351558266, 1351558524, 1351558203)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.07124209403992 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 10:16:32.594924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/07/37/image_11042025_07_37_25_10451.jpg', '/home/pi/Desktop/images/11042025/07/37/image_11042025_07_37_34_9453.jpg', '/home/pi/Desktop/images/11042025/07/37/image_11042025_07_37_45_10499.jpg', '/home/pi/Desktop/images/11042025/07/37/image_11042025_07_37_54_9351.jpg', '/home/pi/Desktop/images/11042025/07/38/image_11042025_07_38_24_9347.jpg', '/home/pi/Desktop/images/11042025/07/38/image_11042025_07_38_35_10396.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/07/37/image_11042025_07_37_25_10451.jpg
/home/pi/Desktop/images/11042025/07/37/image_11042025_07_37_34_9453.jpg
/home/pi/Desktop/images/11042025/07/37/image_11042025_07_37_45_10499.jpg
/home/pi/Desktop/images/11042025/07/37/image_11042025_07_37_54_9351.jpg
/home/pi/Desktop/images/11042025/07/38/image_11042025_07_38_24_9347.jpg
/home/pi/Desktop/images/11042025/07/38/image_11042025_07_38_35_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":["1351558806","1351558781","1351558919","1351558640","1351558873","1351558675"],"photo_ids_order":["1351558640","1351558675","1351558781","1351558806","1351558873","1351558919"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5c76e3de2af5a87534db809aeee7022d.jpg","text":"TemporaryFile(/tmp/multipartBody5995135369115555180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744359453052,"filename":"image_11042025_07_37_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/11/a338d7b8dcbfd2b731bca31ec311ce90.jpg","text":"TemporaryFile(/tmp/multipartBody1297365526966335498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744359453052,"filename":"image_11042025_07_37_45_10499.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b5968ba604867876e68fc2da82bc9114.jpg","text":"TemporaryFile(/tmp/multipartBody7664513076222046725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744359453052,"filename":"image_11042025_07_38_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/11/8c451d6b65646bfff753ecbccae13eba.jpg","text":"TemporaryFile(/tmp/multipartBody2364340800924206501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744359453052,"filename":"image_11042025_07_37_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/11/f9c0ea2cab4c046ec1e29fe01b672346.jpg","text":"TemporaryFile(/tmp/multipartBody4600535607266426191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744359453052,"filename":"image_11042025_07_38_24_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/abbced4b4be3874dba98b04cae5b66e3.jpg","text":"TemporaryFile(/tmp/multipartBody7768138370495054691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744359453052,"filename":"image_11042025_07_37_34_9453.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351558781","file1":"1351558675","file0":"1351558640","file4":"1351558873","file5":"1351558919","file3":"1351558806"},"map_files_photo_id_array":[{"photo_id":"1351558919","filename":"file5"},{"photo_id":"1351558781","filename":"file2"},{"photo_id":"1351558873","filename":"file4"},{"photo_id":"1351558675","filename":"file1"},{"photo_id":"1351558640","filename":"file0"},{"photo_id":"1351558806","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351558806":["hashtag1","hashtag2"]},{"1351558781":["hashtag1","hashtag2"]},{"1351558919":["hashtag1","hashtag2"]},{"1351558640":["hashtag1","hashtag2"]},{"1351558873":["hashtag1","hashtag2"]},{"1351558675":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351558806, 1351558781, 1351558919, 1351558640, 1351558873, 1351558675)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.5927357673645 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 10:17:32.797969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/07/38/image_11042025_07_38_44_9444.jpg', '/home/pi/Desktop/images/11042025/07/38/image_11042025_07_38_54_10364.jpg', '/home/pi/Desktop/images/11042025/07/38/image_11042025_07_39_05_10371.jpg', '/home/pi/Desktop/images/11042025/07/39/image_11042025_07_39_25_10384.jpg', '/home/pi/Desktop/images/11042025/07/39/image_11042025_07_39_35_10425.jpg', '/home/pi/Desktop/images/11042025/07/39/image_11042025_07_39_44_9358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/07/38/image_11042025_07_38_44_9444.jpg
/home/pi/Desktop/images/11042025/07/38/image_11042025_07_38_54_10364.jpg
/home/pi/Desktop/images/11042025/07/38/image_11042025_07_39_05_10371.jpg
/home/pi/Desktop/images/11042025/07/39/image_11042025_07_39_25_10384.jpg
/home/pi/Desktop/images/11042025/07/39/image_11042025_07_39_35_10425.jpg
/home/pi/Desktop/images/11042025/07/39/image_11042025_07_39_44_9358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351559787","1351559460","1351559718","1351559393","1351559639","1351559560"],"photo_ids_order":["1351559393","1351559460","1351559560","1351559639","1351559718","1351559787"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1e717ee3255e499a253b2e64223b78f8.jpg","text":"TemporaryFile(/tmp/multipartBody1195978818334722153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744359513260,"filename":"image_11042025_07_39_44_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2bd3e102c5747be23f7c6adcdb7d4bc3.jpg","text":"TemporaryFile(/tmp/multipartBody1409568149899220007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744359513260,"filename":"image_11042025_07_38_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/11/39b29950c060271489508e4a3a81f9ce.jpg","text":"TemporaryFile(/tmp/multipartBody1803065165657388499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744359513260,"filename":"image_11042025_07_39_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/11/eb7b1e9ce7d440226ac37d56ac48d1dd.jpg","text":"TemporaryFile(/tmp/multipartBody4810480931587851547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744359513260,"filename":"image_11042025_07_38_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/11/63258883d72edb1104ca4ef28a851c7e.jpg","text":"TemporaryFile(/tmp/multipartBody5559126555340450767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744359513260,"filename":"image_11042025_07_39_25_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/978af93e7c32da28bac4c4d83a8182ee.jpg","text":"TemporaryFile(/tmp/multipartBody7782024694009023580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744359513260,"filename":"image_11042025_07_39_05_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351559560","file1":"1351559460","file0":"1351559393","file4":"1351559718","file5":"1351559787","file3":"1351559639"},"map_files_photo_id_array":[{"photo_id":"1351559787","filename":"file5"},{"photo_id":"1351559560","filename":"file2"},{"photo_id":"1351559718","filename":"file4"},{"photo_id":"1351559460","filename":"file1"},{"photo_id":"1351559393","filename":"file0"},{"photo_id":"1351559639","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351559787":["hashtag1","hashtag2"]},{"1351559460":["hashtag1","hashtag2"]},{"1351559718":["hashtag1","hashtag2"]},{"1351559393":["hashtag1","hashtag2"]},{"1351559639":["hashtag1","hashtag2"]},{"1351559560":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351559787, 1351559460, 1351559718, 1351559393, 1351559639, 1351559560)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.701990842819214 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 10:18:33.069637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/07/39/image_11042025_07_39_55_10418.jpg', '/home/pi/Desktop/images/11042025/07/39/image_11042025_07_40_04_9358.jpg', '/home/pi/Desktop/images/11042025/07/40/image_11042025_07_40_14_10363.jpg', '/home/pi/Desktop/images/11042025/07/40/image_11042025_07_40_25_10361.jpg', '/home/pi/Desktop/images/11042025/07/40/image_11042025_07_40_34_9361.jpg', '/home/pi/Desktop/images/11042025/07/40/image_11042025_07_40_45_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/07/39/image_11042025_07_39_55_10418.jpg
/home/pi/Desktop/images/11042025/07/39/image_11042025_07_40_04_9358.jpg
/home/pi/Desktop/images/11042025/07/40/image_11042025_07_40_14_10363.jpg
/home/pi/Desktop/images/11042025/07/40/image_11042025_07_40_25_10361.jpg
/home/pi/Desktop/images/11042025/07/40/image_11042025_07_40_34_9361.jpg
/home/pi/Desktop/images/11042025/07/40/image_11042025_07_40_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":["1351560820","1351560658","1351560582","1351560764","1351560374","1351560496"],"photo_ids_order":["1351560374","1351560496","1351560582","1351560658","1351560764","1351560820"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4763edae5f596a6ea5e2525d253dabdb.jpg","text":"TemporaryFile(/tmp/multipartBody269803614414180419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744359573554,"filename":"image_11042025_07_40_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/11/8953a464e2a132137745341f1e1e4aa5.jpg","text":"TemporaryFile(/tmp/multipartBody4941902909811787543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744359573554,"filename":"image_11042025_07_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/11/76e789d0b46822caef0c3e0291ab3fb7.jpg","text":"TemporaryFile(/tmp/multipartBody7395989331355839947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744359573554,"filename":"image_11042025_07_40_14_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8acdc490fd33cbbc6cc023fafb6b6a7c.jpg","text":"TemporaryFile(/tmp/multipartBody7516737536288973294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744359573554,"filename":"image_11042025_07_40_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/11/d2e67672c96bced7c978a78921dd2e8d.jpg","text":"TemporaryFile(/tmp/multipartBody4431477032481430579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744359573554,"filename":"image_11042025_07_39_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/11/c5b6c18b78624657978d22517d56b5cc.jpg","text":"TemporaryFile(/tmp/multipartBody1724365077629014564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744359573554,"filename":"image_11042025_07_40_04_9358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351560582","file1":"1351560496","file0":"1351560374","file4":"1351560764","file5":"1351560820","file3":"1351560658"},"map_files_photo_id_array":[{"photo_id":"1351560820","filename":"file5"},{"photo_id":"1351560582","filename":"file2"},{"photo_id":"1351560764","filename":"file4"},{"photo_id":"1351560496","filename":"file1"},{"photo_id":"1351560374","filename":"file0"},{"photo_id":"1351560658","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351560820":["hashtag1","hashtag2"]},{"1351560658":["hashtag1","hashtag2"]},{"1351560582":["hashtag1","hashtag2"]},{"1351560764":["hashtag1","hashtag2"]},{"1351560374":["hashtag1","hashtag2"]},{"1351560496":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351560820, 1351560658, 1351560582, 1351560764, 1351560374, 1351560496)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.6260781288147 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 10:19:32.317748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/07/40/image_11042025_07_40_55_10436.jpg', '/home/pi/Desktop/images/11042025/07/40/image_11042025_07_41_04_9352.jpg', '/home/pi/Desktop/images/11042025/07/41/image_11042025_07_41_24_9496.jpg', '/home/pi/Desktop/images/11042025/07/41/image_11042025_07_41_35_10368.jpg', '/home/pi/Desktop/images/11042025/07/41/image_11042025_07_41_44_9396.jpg', '/home/pi/Desktop/images/11042025/07/41/image_11042025_07_41_54_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/07/40/image_11042025_07_40_55_10436.jpg
/home/pi/Desktop/images/11042025/07/40/image_11042025_07_41_04_9352.jpg
/home/pi/Desktop/images/11042025/07/41/image_11042025_07_41_24_9496.jpg
/home/pi/Desktop/images/11042025/07/41/image_11042025_07_41_35_10368.jpg
/home/pi/Desktop/images/11042025/07/41/image_11042025_07_41_44_9396.jpg
/home/pi/Desktop/images/11042025/07/41/image_11042025_07_41_54_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":["1351561569","1351561895","1351561691","1351561762","1351561459","1351561831"],"photo_ids_order":["1351561459","1351561569","1351561691","1351561762","1351561831","1351561895"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8fe6480ed71e4688be95482d87eb46a0.jpg","text":"TemporaryFile(/tmp/multipartBody5510802710102114545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744359632806,"filename":"image_11042025_07_41_04_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4d79cb3ecd061b2b5e4609b82a06ca84.jpg","text":"TemporaryFile(/tmp/multipartBody1540130595035837468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744359632806,"filename":"image_11042025_07_41_54_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3312a03814725d5eeee04674ad54dcda.jpg","text":"TemporaryFile(/tmp/multipartBody8737639314651526941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744359632806,"filename":"image_11042025_07_41_24_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/11/15c873d874eccb01eeb79ce2b83093fb.jpg","text":"TemporaryFile(/tmp/multipartBody5786443434872812758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744359632806,"filename":"image_11042025_07_41_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/11/40e1839f5e661a33686d95248e44d994.jpg","text":"TemporaryFile(/tmp/multipartBody7570841591395993184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744359632806,"filename":"image_11042025_07_40_55_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/57a7b66080559294a435d3cce805063d.jpg","text":"TemporaryFile(/tmp/multipartBody7258676734566006502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744359632806,"filename":"image_11042025_07_41_44_9396.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351561691","file1":"1351561569","file0":"1351561459","file4":"1351561831","file5":"1351561895","file3":"1351561762"},"map_files_photo_id_array":[{"photo_id":"1351561895","filename":"file5"},{"photo_id":"1351561691","filename":"file2"},{"photo_id":"1351561831","filename":"file4"},{"photo_id":"1351561569","filename":"file1"},{"photo_id":"1351561459","filename":"file0"},{"photo_id":"1351561762","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351561569":["hashtag1","hashtag2"]},{"1351561895":["hashtag1","hashtag2"]},{"1351561691":["hashtag1","hashtag2"]},{"1351561762":["hashtag1","hashtag2"]},{"1351561459":["hashtag1","hashtag2"]},{"1351561831":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351561569, 1351561895, 1351561691, 1351561762, 1351561459, 1351561831)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.8173131942749 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 10:20:32.467186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/07/41/image_11042025_07_42_04_9684.jpg', '/home/pi/Desktop/images/11042025/07/42/image_11042025_07_42_14_10354.jpg', '/home/pi/Desktop/images/11042025/07/42/image_11042025_07_42_24_9647.jpg', '/home/pi/Desktop/images/11042025/07/42/image_11042025_07_42_34_10357.jpg', '/home/pi/Desktop/images/11042025/07/42/image_11042025_07_42_45_10363.jpg', '/home/pi/Desktop/images/11042025/07/42/image_11042025_07_42_54_9374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/07/41/image_11042025_07_42_04_9684.jpg
/home/pi/Desktop/images/11042025/07/42/image_11042025_07_42_14_10354.jpg
/home/pi/Desktop/images/11042025/07/42/image_11042025_07_42_24_9647.jpg
/home/pi/Desktop/images/11042025/07/42/image_11042025_07_42_34_10357.jpg
/home/pi/Desktop/images/11042025/07/42/image_11042025_07_42_45_10363.jpg
/home/pi/Desktop/images/11042025/07/42/image_11042025_07_42_54_9374.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.38809943199157715 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 10:20:42.578276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/07/41/image_11042025_07_42_04_9684.jpg', '/home/pi/Desktop/images/11042025/07/42/image_11042025_07_42_14_10354.jpg', '/home/pi/Desktop/images/11042025/07/42/image_11042025_07_42_24_9647.jpg', '/home/pi/Desktop/images/11042025/07/42/image_11042025_07_42_34_10357.jpg', '/home/pi/Desktop/images/11042025/07/42/image_11042025_07_42_45_10363.jpg', '/home/pi/Desktop/images/11042025/07/42/image_11042025_07_42_54_9374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/07/41/image_11042025_07_42_04_9684.jpg
/home/pi/Desktop/images/11042025/07/42/image_11042025_07_42_14_10354.jpg
/home/pi/Desktop/images/11042025/07/42/image_11042025_07_42_24_9647.jpg
/home/pi/Desktop/images/11042025/07/42/image_11042025_07_42_34_10357.jpg
/home/pi/Desktop/images/11042025/07/42/image_11042025_07_42_45_10363.jpg
/home/pi/Desktop/images/11042025/07/42/image_11042025_07_42_54_9374.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":["1351562867","1351562753","1351562677","1351562626","1351562838","1351562739"],"photo_ids_order":["1351562626","1351562677","1351562739","1351562753","1351562838","1351562867"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2e8f0dfee033601485c46075857f279b.jpg","text":"TemporaryFile(/tmp/multipartBody3422538908153852272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744359703038,"filename":"image_11042025_07_42_54_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0b3db2c64b1e14af606a8d068d6c4bfc.jpg","text":"TemporaryFile(/tmp/multipartBody2177468772856789648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744359703038,"filename":"image_11042025_07_42_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/11/2edbbe07adbd79c8d35e1e13193e5141.jpg","text":"TemporaryFile(/tmp/multipartBody5058653999760745866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744359703038,"filename":"image_11042025_07_42_14_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f10e3b928e14b441c6bd1b5db70f9f43.jpg","text":"TemporaryFile(/tmp/multipartBody8573949793096529113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744359703038,"filename":"image_11042025_07_42_04_9684.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3a6e8dfb1c08399035aa9af25b97bbea.jpg","text":"TemporaryFile(/tmp/multipartBody1463007668525497481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744359703038,"filename":"image_11042025_07_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/11/99c4b67ce5b5290c1cc8c661a4fcba24.jpg","text":"TemporaryFile(/tmp/multipartBody5375833439247111921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744359703038,"filename":"image_11042025_07_42_24_9647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351562739","file1":"1351562677","file0":"1351562626","file4":"1351562838","file5":"1351562867","file3":"1351562753"},"map_files_photo_id_array":[{"photo_id":"1351562867","filename":"file5"},{"photo_id":"1351562739","filename":"file2"},{"photo_id":"1351562838","filename":"file4"},{"photo_id":"1351562677","filename":"file1"},{"photo_id":"1351562626","filename":"file0"},{"photo_id":"1351562753","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351562867":["hashtag1","hashtag2"]},{"1351562753":["hashtag1","hashtag2"]},{"1351562677":["hashtag1","hashtag2"]},{"1351562626":["hashtag1","hashtag2"]},{"1351562838":["hashtag1","hashtag2"]},{"1351562739":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351562867, 1351562753, 1351562677, 1351562626, 1351562838, 1351562739)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.491751194000244 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 10:21:52.888226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/07/42/image_11042025_07_43_05_10360.jpg', '/home/pi/Desktop/images/11042025/07/43/image_11042025_07_43_14_9477.jpg', '/home/pi/Desktop/images/11042025/07/43/image_11042025_07_43_24_10367.jpg', '/home/pi/Desktop/images/11042025/07/43/image_11042025_07_43_35_10444.jpg', '/home/pi/Desktop/images/11042025/07/43/image_11042025_07_43_44_9376.jpg', '/home/pi/Desktop/images/11042025/07/43/image_11042025_07_43_55_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/07/42/image_11042025_07_43_05_10360.jpg
/home/pi/Desktop/images/11042025/07/43/image_11042025_07_43_14_9477.jpg
/home/pi/Desktop/images/11042025/07/43/image_11042025_07_43_24_10367.jpg
/home/pi/Desktop/images/11042025/07/43/image_11042025_07_43_35_10444.jpg
/home/pi/Desktop/images/11042025/07/43/image_11042025_07_43_44_9376.jpg
/home/pi/Desktop/images/11042025/07/43/image_11042025_07_43_55_10364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351563317","1351563388","1351563238","1351563145","1351563281","1351563197"],"photo_ids_order":["1351563145","1351563197","1351563238","1351563281","1351563317","1351563388"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1e19f165e79054097d5721b2a719bca1.jpg","text":"TemporaryFile(/tmp/multipartBody3083255806017869289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744359773351,"filename":"image_11042025_07_43_44_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/aee9aeb82704138a303c940b10eaf7d7.jpg","text":"TemporaryFile(/tmp/multipartBody7585158421805935892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744359773351,"filename":"image_11042025_07_43_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/11/c48fe4c9703bfbc6ebf23090905b2d43.jpg","text":"TemporaryFile(/tmp/multipartBody4530999291850484143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744359773351,"filename":"image_11042025_07_43_24_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/86277283db1f89649d11d74172c7460b.jpg","text":"TemporaryFile(/tmp/multipartBody8481961268217321192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744359773351,"filename":"image_11042025_07_43_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/11/30813c2aa0cb22767bd56533bd9c0b60.jpg","text":"TemporaryFile(/tmp/multipartBody3647847929454688164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744359773351,"filename":"image_11042025_07_43_35_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a24a643dd5ec8ff770a2a1d38fe7e13e.jpg","text":"TemporaryFile(/tmp/multipartBody6621810724630657348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744359773351,"filename":"image_11042025_07_43_14_9477.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351563238","file1":"1351563197","file0":"1351563145","file4":"1351563317","file5":"1351563388","file3":"1351563281"},"map_files_photo_id_array":[{"photo_id":"1351563388","filename":"file5"},{"photo_id":"1351563238","filename":"file2"},{"photo_id":"1351563317","filename":"file4"},{"photo_id":"1351563197","filename":"file1"},{"photo_id":"1351563145","filename":"file0"},{"photo_id":"1351563281","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351563317":["hashtag1","hashtag2"]},{"1351563388":["hashtag1","hashtag2"]},{"1351563238":["hashtag1","hashtag2"]},{"1351563145":["hashtag1","hashtag2"]},{"1351563281":["hashtag1","hashtag2"]},{"1351563197":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351563317, 1351563388, 1351563238, 1351563145, 1351563281, 1351563197)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.492703914642334 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 10:22:43.071051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/07/43/image_11042025_07_44_04_9436.jpg', '/home/pi/Desktop/images/11042025/07/44/image_11042025_07_44_14_10453.jpg', '/home/pi/Desktop/images/11042025/07/44/image_11042025_07_44_25_10362.jpg', '/home/pi/Desktop/images/11042025/07/44/image_11042025_07_44_34_9351.jpg', '/home/pi/Desktop/images/11042025/07/44/image_11042025_07_44_45_10452.jpg', '/home/pi/Desktop/images/11042025/07/44/image_11042025_07_44_54_9366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/07/43/image_11042025_07_44_04_9436.jpg
/home/pi/Desktop/images/11042025/07/44/image_11042025_07_44_14_10453.jpg
/home/pi/Desktop/images/11042025/07/44/image_11042025_07_44_25_10362.jpg
/home/pi/Desktop/images/11042025/07/44/image_11042025_07_44_34_9351.jpg
/home/pi/Desktop/images/11042025/07/44/image_11042025_07_44_45_10452.jpg
/home/pi/Desktop/images/11042025/07/44/image_11042025_07_44_54_9366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351563700","1351563951","1351563585","1351563995","1351563834","1351564025"],"photo_ids_order":["1351563585","1351563700","1351563834","1351563951","1351563995","1351564025"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/efc54b7325c5a69bc526cae36435f632.jpg","text":"TemporaryFile(/tmp/multipartBody1166948880043436770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744359823542,"filename":"image_11042025_07_44_14_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/11/fe463fc0ac987ebc70a9a9dba8bb8000.jpg","text":"TemporaryFile(/tmp/multipartBody2346663640925858297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744359823542,"filename":"image_11042025_07_44_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/11/0bf84d179ad7babc20f87ac1d068b626.jpg","text":"TemporaryFile(/tmp/multipartBody1516014708107947926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744359823542,"filename":"image_11042025_07_44_04_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/11/1ed977241a7a5ed8220a553e954ac7c4.jpg","text":"TemporaryFile(/tmp/multipartBody3130125284238935713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744359823542,"filename":"image_11042025_07_44_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/11/f1fb193aac5e679dcf2a36012459f26d.jpg","text":"TemporaryFile(/tmp/multipartBody3588518674444484000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744359823542,"filename":"image_11042025_07_44_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/11/196172de7d76dff059957a5c6a6be934.jpg","text":"TemporaryFile(/tmp/multipartBody200177884686500878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744359823542,"filename":"image_11042025_07_44_54_9366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351563834","file1":"1351563700","file0":"1351563585","file4":"1351563995","file5":"1351564025","file3":"1351563951"},"map_files_photo_id_array":[{"photo_id":"1351564025","filename":"file5"},{"photo_id":"1351563834","filename":"file2"},{"photo_id":"1351563995","filename":"file4"},{"photo_id":"1351563700","filename":"file1"},{"photo_id":"1351563585","filename":"file0"},{"photo_id":"1351563951","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351563700":["hashtag1","hashtag2"]},{"1351563951":["hashtag1","hashtag2"]},{"1351563585":["hashtag1","hashtag2"]},{"1351563995":["hashtag1","hashtag2"]},{"1351563834":["hashtag1","hashtag2"]},{"1351564025":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351563700, 1351563951, 1351563585, 1351563995, 1351563834, 1351564025)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 71.14189529418945 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 10:24:03.776708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/07/44/image_11042025_07_45_04_10365.jpg', '/home/pi/Desktop/images/11042025/07/45/image_11042025_07_45_15_10436.jpg', '/home/pi/Desktop/images/11042025/07/45/image_11042025_07_45_24_9352.jpg', '/home/pi/Desktop/images/11042025/07/45/image_11042025_07_45_35_10362.jpg', '/home/pi/Desktop/images/11042025/07/45/image_11042025_07_45_45_10434.jpg', '/home/pi/Desktop/images/11042025/07/45/image_11042025_07_45_54_9346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/07/44/image_11042025_07_45_04_10365.jpg
/home/pi/Desktop/images/11042025/07/45/image_11042025_07_45_15_10436.jpg
/home/pi/Desktop/images/11042025/07/45/image_11042025_07_45_24_9352.jpg
/home/pi/Desktop/images/11042025/07/45/image_11042025_07_45_35_10362.jpg
/home/pi/Desktop/images/11042025/07/45/image_11042025_07_45_45_10434.jpg
/home/pi/Desktop/images/11042025/07/45/image_11042025_07_45_54_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":["1351564234","1351564257","1351564326","1351564269","1351564212","1351564289"],"photo_ids_order":["1351564212","1351564234","1351564257","1351564269","1351564289","1351564326"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ee125322565d8b4704943f7afe2d2a57.jpg","text":"TemporaryFile(/tmp/multipartBody6074701385267142327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744359906326,"filename":"image_11042025_07_45_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/11/87cc2fb290dc710d3dbaf06dfb3a6829.jpg","text":"TemporaryFile(/tmp/multipartBody1754980898438732631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744359906326,"filename":"image_11042025_07_45_24_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a4065a8a09003908b6f64a736c2158b5.jpg","text":"TemporaryFile(/tmp/multipartBody4738339313221028849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744359906326,"filename":"image_11042025_07_45_54_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ed9ab24d60bd58a2a6fb428bffa27560.jpg","text":"TemporaryFile(/tmp/multipartBody1611200657997875060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744359906326,"filename":"image_11042025_07_45_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/11/b040a5c4105c816d0983aa5fd0874350.jpg","text":"TemporaryFile(/tmp/multipartBody6646031721070669855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744359906326,"filename":"image_11042025_07_45_04_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4986f721a348648b178ad4e77f3a4cae.jpg","text":"TemporaryFile(/tmp/multipartBody8843086131044712281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744359906326,"filename":"image_11042025_07_45_45_10434.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351564257","file1":"1351564234","file0":"1351564212","file4":"1351564289","file5":"1351564326","file3":"1351564269"},"map_files_photo_id_array":[{"photo_id":"1351564326","filename":"file5"},{"photo_id":"1351564257","filename":"file2"},{"photo_id":"1351564289","filename":"file4"},{"photo_id":"1351564234","filename":"file1"},{"photo_id":"1351564212","filename":"file0"},{"photo_id":"1351564269","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351564234":["hashtag1","hashtag2"]},{"1351564257":["hashtag1","hashtag2"]},{"1351564326":["hashtag1","hashtag2"]},{"1351564269":["hashtag1","hashtag2"]},{"1351564212":["hashtag1","hashtag2"]},{"1351564289":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351564234, 1351564257, 1351564326, 1351564269, 1351564212, 1351564289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.65509843826294 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 10:24:53.137382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/07/45/image_11042025_07_46_05_10445.jpg', '/home/pi/Desktop/images/11042025/07/46/image_11042025_07_46_14_9340.jpg', '/home/pi/Desktop/images/11042025/07/46/image_11042025_07_46_24_10374.jpg', '/home/pi/Desktop/images/11042025/07/46/image_11042025_07_46_35_10430.jpg', '/home/pi/Desktop/images/11042025/07/46/image_11042025_07_46_44_9363.jpg', '/home/pi/Desktop/images/11042025/07/46/image_11042025_07_46_55_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/07/45/image_11042025_07_46_05_10445.jpg
/home/pi/Desktop/images/11042025/07/46/image_11042025_07_46_14_9340.jpg
/home/pi/Desktop/images/11042025/07/46/image_11042025_07_46_24_10374.jpg
/home/pi/Desktop/images/11042025/07/46/image_11042025_07_46_35_10430.jpg
/home/pi/Desktop/images/11042025/07/46/image_11042025_07_46_44_9363.jpg
/home/pi/Desktop/images/11042025/07/46/image_11042025_07_46_55_10360.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351564526","1351564459","1351564567","1351564488","1351564395","1351564425"],"photo_ids_order":["1351564395","1351564425","1351564459","1351564488","1351564526","1351564567"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3cfa8be6286dcce116c3fb2566fff05c.jpg","text":"TemporaryFile(/tmp/multipartBody1124402313474985032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744359953616,"filename":"image_11042025_07_46_44_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/aa4489a96ac074eb82d68f3aa6274842.jpg","text":"TemporaryFile(/tmp/multipartBody1039417597173500585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744359953616,"filename":"image_11042025_07_46_24_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/fe123f04f58ddc68a281bc2d8372f2a1.jpg","text":"TemporaryFile(/tmp/multipartBody7089990207572562666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744359953616,"filename":"image_11042025_07_46_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/11/6a794dca01e47f252e869aaf7ac3bfd1.jpg","text":"TemporaryFile(/tmp/multipartBody4176376542544085601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744359953616,"filename":"image_11042025_07_46_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/11/dba3db36bd4a6acd5ee97e44b31c79ed.jpg","text":"TemporaryFile(/tmp/multipartBody2582753057459991397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744359953616,"filename":"image_11042025_07_46_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/11/3c0b6a038ce3f444e54895ce14d21803.jpg","text":"TemporaryFile(/tmp/multipartBody9139849725863860871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744359953616,"filename":"image_11042025_07_46_14_9340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351564459","file1":"1351564425","file0":"1351564395","file4":"1351564526","file5":"1351564567","file3":"1351564488"},"map_files_photo_id_array":[{"photo_id":"1351564567","filename":"file5"},{"photo_id":"1351564459","filename":"file2"},{"photo_id":"1351564526","filename":"file4"},{"photo_id":"1351564425","filename":"file1"},{"photo_id":"1351564395","filename":"file0"},{"photo_id":"1351564488","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351564526":["hashtag1","hashtag2"]},{"1351564459":["hashtag1","hashtag2"]},{"1351564567":["hashtag1","hashtag2"]},{"1351564488":["hashtag1","hashtag2"]},{"1351564395":["hashtag1","hashtag2"]},{"1351564425":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351564526, 1351564459, 1351564567, 1351564488, 1351564395, 1351564425)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.214757680892944 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 10:25:32.471952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/07/46/image_11042025_07_47_04_9371.jpg', '/home/pi/Desktop/images/11042025/07/47/image_11042025_07_47_14_10348.jpg', '/home/pi/Desktop/images/11042025/07/47/image_11042025_07_47_25_10423.jpg', '/home/pi/Desktop/images/11042025/07/47/image_11042025_07_47_34_9386.jpg', '/home/pi/Desktop/images/11042025/07/47/image_11042025_07_47_45_10372.jpg', '/home/pi/Desktop/images/11042025/07/47/image_11042025_07_47_55_10431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/07/46/image_11042025_07_47_04_9371.jpg
/home/pi/Desktop/images/11042025/07/47/image_11042025_07_47_14_10348.jpg
/home/pi/Desktop/images/11042025/07/47/image_11042025_07_47_25_10423.jpg
/home/pi/Desktop/images/11042025/07/47/image_11042025_07_47_34_9386.jpg
/home/pi/Desktop/images/11042025/07/47/image_11042025_07_47_45_10372.jpg
/home/pi/Desktop/images/11042025/07/47/image_11042025_07_47_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":["1351564643","1351564720","1351564818","1351564874","1351564685","1351564766"],"photo_ids_order":["1351564643","1351564685","1351564720","1351564766","1351564818","1351564874"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/36c987e120dc256072ae461b9e139cec.jpg","text":"TemporaryFile(/tmp/multipartBody2999235654667443373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744359992950,"filename":"image_11042025_07_47_04_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3ac116c7b35f858d513714ec190c198a.jpg","text":"TemporaryFile(/tmp/multipartBody1799109157996000764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744359992950,"filename":"image_11042025_07_47_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/11/b50379a9f3e8044506d80080e827c21f.jpg","text":"TemporaryFile(/tmp/multipartBody3060240552762118674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744359992950,"filename":"image_11042025_07_47_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/11/54d32e4b723c2caff9b882830b2ee6d1.jpg","text":"TemporaryFile(/tmp/multipartBody5202494440673856918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744359992950,"filename":"image_11042025_07_47_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/11/9e122675ac54d20e67398b5f18ef6e96.jpg","text":"TemporaryFile(/tmp/multipartBody6811863608164751213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744359992950,"filename":"image_11042025_07_47_14_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/31ad9899afc8bcbf09abc81ade65a977.jpg","text":"TemporaryFile(/tmp/multipartBody1174729896263581644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744359992950,"filename":"image_11042025_07_47_34_9386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351564720","file1":"1351564685","file0":"1351564643","file4":"1351564818","file5":"1351564874","file3":"1351564766"},"map_files_photo_id_array":[{"photo_id":"1351564874","filename":"file5"},{"photo_id":"1351564720","filename":"file2"},{"photo_id":"1351564818","filename":"file4"},{"photo_id":"1351564685","filename":"file1"},{"photo_id":"1351564643","filename":"file0"},{"photo_id":"1351564766","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351564643":["hashtag1","hashtag2"]},{"1351564720":["hashtag1","hashtag2"]},{"1351564818":["hashtag1","hashtag2"]},{"1351564874":["hashtag1","hashtag2"]},{"1351564685":["hashtag1","hashtag2"]},{"1351564766":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351564643, 1351564720, 1351564818, 1351564874, 1351564685, 1351564766)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.658981800079346 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 10:26:32.651803
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/07/48/image_11042025_07_48_24_9345.jpg', '/home/pi/Desktop/images/11042025/07/48/image_11042025_07_48_45_10374.jpg', '/home/pi/Desktop/images/11042025/07/48/image_11042025_07_48_54_9346.jpg', '/home/pi/Desktop/images/11042025/07/49/image_11042025_07_49_14_9424.jpg', '/home/pi/Desktop/images/11042025/07/49/image_11042025_07_49_24_10387.jpg', '/home/pi/Desktop/images/11042025/07/49/image_11042025_07_49_35_10380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/07/48/image_11042025_07_48_24_9345.jpg
/home/pi/Desktop/images/11042025/07/48/image_11042025_07_48_45_10374.jpg
/home/pi/Desktop/images/11042025/07/48/image_11042025_07_48_54_9346.jpg
/home/pi/Desktop/images/11042025/07/49/image_11042025_07_49_14_9424.jpg
/home/pi/Desktop/images/11042025/07/49/image_11042025_07_49_24_10387.jpg
/home/pi/Desktop/images/11042025/07/49/image_11042025_07_49_35_10380.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":["1351565311","1351565233","1351565335","1351565202","1351565375","1351565281"],"photo_ids_order":["1351565202","1351565233","1351565281","1351565311","1351565335","1351565375"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/dbdad7709064fc58f4d09b7308d13e2a.jpg","text":"TemporaryFile(/tmp/multipartBody6309507539697140622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744360053124,"filename":"image_11042025_07_49_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/11/029ab5299c05470264223f42a699aa74.jpg","text":"TemporaryFile(/tmp/multipartBody3911495923047811310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744360053124,"filename":"image_11042025_07_48_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/11/33353b89dbb9b23658612bbd52e4dd72.jpg","text":"TemporaryFile(/tmp/multipartBody459437627164589289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744360053124,"filename":"image_11042025_07_49_24_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5d869900e31284c19da58bc31c672e15.jpg","text":"TemporaryFile(/tmp/multipartBody3446171870307869364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744360053124,"filename":"image_11042025_07_48_24_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/926cfc81efc031add3faccc453b3e22c.jpg","text":"TemporaryFile(/tmp/multipartBody7704038361772555634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744360053124,"filename":"image_11042025_07_49_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/11/37f968a4e26412f90374289ab253b044.jpg","text":"TemporaryFile(/tmp/multipartBody4405162264370014251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744360053124,"filename":"image_11042025_07_48_54_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351565281","file1":"1351565233","file0":"1351565202","file4":"1351565335","file5":"1351565375","file3":"1351565311"},"map_files_photo_id_array":[{"photo_id":"1351565375","filename":"file5"},{"photo_id":"1351565281","filename":"file2"},{"photo_id":"1351565335","filename":"file4"},{"photo_id":"1351565233","filename":"file1"},{"photo_id":"1351565202","filename":"file0"},{"photo_id":"1351565311","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351565311":["hashtag1","hashtag2"]},{"1351565233":["hashtag1","hashtag2"]},{"1351565335":["hashtag1","hashtag2"]},{"1351565202":["hashtag1","hashtag2"]},{"1351565375":["hashtag1","hashtag2"]},{"1351565281":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351565311, 1351565233, 1351565335, 1351565202, 1351565375, 1351565281)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 68.33005952835083 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 10:27:42.806175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/07/49/image_11042025_07_49_44_9373.jpg', '/home/pi/Desktop/images/11042025/07/49/image_11042025_07_49_55_10362.jpg', '/home/pi/Desktop/images/11042025/07/49/image_11042025_07_50_05_10433.jpg', '/home/pi/Desktop/images/11042025/07/50/image_11042025_07_50_14_9360.jpg', '/home/pi/Desktop/images/11042025/07/50/image_11042025_07_50_25_10421.jpg', '/home/pi/Desktop/images/11042025/07/50/image_11042025_07_50_34_9428.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/07/49/image_11042025_07_49_44_9373.jpg
/home/pi/Desktop/images/11042025/07/49/image_11042025_07_49_55_10362.jpg
/home/pi/Desktop/images/11042025/07/49/image_11042025_07_50_05_10433.jpg
/home/pi/Desktop/images/11042025/07/50/image_11042025_07_50_14_9360.jpg
/home/pi/Desktop/images/11042025/07/50/image_11042025_07_50_25_10421.jpg
/home/pi/Desktop/images/11042025/07/50/image_11042025_07_50_34_9428.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351566625","1351566246","1351566158","1351566605","1351566011","1351566352"],"photo_ids_order":["1351566011","1351566158","1351566246","1351566352","1351566605","1351566625"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/964d06ccf2cb27b79f88bc8b974c63a3.jpg","text":"TemporaryFile(/tmp/multipartBody3921430622343688833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744360123264,"filename":"image_11042025_07_50_34_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/cf8214b4deb9c03469fe564a0f01da0e.jpg","text":"TemporaryFile(/tmp/multipartBody1954121953356582791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744360123264,"filename":"image_11042025_07_50_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/11/f6fbcf619392a9c68abca3debedad53b.jpg","text":"TemporaryFile(/tmp/multipartBody8706289836747639780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744360123264,"filename":"image_11042025_07_49_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/11/02544e14e1f6b03d7065bac38cfa55f5.jpg","text":"TemporaryFile(/tmp/multipartBody7426135444879860900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744360123264,"filename":"image_11042025_07_50_25_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/92407ff2c87a2b0a4afc41af9811875b.jpg","text":"TemporaryFile(/tmp/multipartBody9153831545423261303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744360123264,"filename":"image_11042025_07_49_44_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c21cb0c05e1d0a57e3bf5cf53672a2eb.jpg","text":"TemporaryFile(/tmp/multipartBody6694533287370725553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744360123264,"filename":"image_11042025_07_50_14_9360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351566246","file1":"1351566158","file0":"1351566011","file4":"1351566605","file5":"1351566625","file3":"1351566352"},"map_files_photo_id_array":[{"photo_id":"1351566625","filename":"file5"},{"photo_id":"1351566246","filename":"file2"},{"photo_id":"1351566605","filename":"file4"},{"photo_id":"1351566158","filename":"file1"},{"photo_id":"1351566011","filename":"file0"},{"photo_id":"1351566352","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351566625":["hashtag1","hashtag2"]},{"1351566246":["hashtag1","hashtag2"]},{"1351566158":["hashtag1","hashtag2"]},{"1351566605":["hashtag1","hashtag2"]},{"1351566011":["hashtag1","hashtag2"]},{"1351566352":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351566625, 1351566246, 1351566158, 1351566605, 1351566011, 1351566352)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.201221227645874 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 10:28:42.910464
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/07/50/image_11042025_07_50_45_10386.jpg', '/home/pi/Desktop/images/11042025/07/50/image_11042025_07_50_55_10379.jpg', '/home/pi/Desktop/images/11042025/07/50/image_11042025_07_51_04_9345.jpg', '/home/pi/Desktop/images/11042025/07/51/image_11042025_07_51_15_10339.jpg', '/home/pi/Desktop/images/11042025/07/51/image_11042025_07_51_24_9393.jpg', '/home/pi/Desktop/images/11042025/07/51/image_11042025_07_51_34_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/07/50/image_11042025_07_50_45_10386.jpg
/home/pi/Desktop/images/11042025/07/50/image_11042025_07_50_55_10379.jpg
/home/pi/Desktop/images/11042025/07/50/image_11042025_07_51_04_9345.jpg
/home/pi/Desktop/images/11042025/07/51/image_11042025_07_51_15_10339.jpg
/home/pi/Desktop/images/11042025/07/51/image_11042025_07_51_24_9393.jpg
/home/pi/Desktop/images/11042025/07/51/image_11042025_07_51_34_10367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351567479","1351567650","1351567589","1351567226","1351567360","1351567747"],"photo_ids_order":["1351567226","1351567360","1351567479","1351567589","1351567650","1351567747"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/cba29c5f043910d5be012883d4d6bbb7.jpg","text":"TemporaryFile(/tmp/multipartBody3601158486366710748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744360183372,"filename":"image_11042025_07_51_04_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ded344206cf5dc33b198152e82578b5c.jpg","text":"TemporaryFile(/tmp/multipartBody1314199995347094918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744360183372,"filename":"image_11042025_07_51_24_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f81c1dbba63c21ddc9dcf33d7e2994ee.jpg","text":"TemporaryFile(/tmp/multipartBody3425111991749180871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744360183372,"filename":"image_11042025_07_51_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/11/b3ab23fc9a21c986fa5d89b9f74a55fb.jpg","text":"TemporaryFile(/tmp/multipartBody355260945016861161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744360183372,"filename":"image_11042025_07_50_45_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/57c6c1386a5d411c8705cd1b0a058091.jpg","text":"TemporaryFile(/tmp/multipartBody3424300599339260944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744360183372,"filename":"image_11042025_07_50_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/11/1a702afc2b3b3c272df5c27f5fdcdc57.jpg","text":"TemporaryFile(/tmp/multipartBody8548585163483901079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744360183372,"filename":"image_11042025_07_51_34_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351567479","file1":"1351567360","file0":"1351567226","file4":"1351567650","file5":"1351567747","file3":"1351567589"},"map_files_photo_id_array":[{"photo_id":"1351567747","filename":"file5"},{"photo_id":"1351567479","filename":"file2"},{"photo_id":"1351567650","filename":"file4"},{"photo_id":"1351567360","filename":"file1"},{"photo_id":"1351567226","filename":"file0"},{"photo_id":"1351567589","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351567479":["hashtag1","hashtag2"]},{"1351567650":["hashtag1","hashtag2"]},{"1351567589":["hashtag1","hashtag2"]},{"1351567226":["hashtag1","hashtag2"]},{"1351567360":["hashtag1","hashtag2"]},{"1351567747":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351567479, 1351567650, 1351567589, 1351567226, 1351567360, 1351567747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.39818215370178 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 10:29:43.232505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/07/51/image_11042025_07_51_45_10430.jpg', '/home/pi/Desktop/images/11042025/07/51/image_11042025_07_51_54_9356.jpg', '/home/pi/Desktop/images/11042025/07/51/image_11042025_07_52_05_10373.jpg', '/home/pi/Desktop/images/11042025/07/52/image_11042025_07_52_14_9428.jpg', '/home/pi/Desktop/images/11042025/07/52/image_11042025_07_52_24_10371.jpg', '/home/pi/Desktop/images/11042025/07/52/image_11042025_07_52_35_10476.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/07/51/image_11042025_07_51_45_10430.jpg
/home/pi/Desktop/images/11042025/07/51/image_11042025_07_51_54_9356.jpg
/home/pi/Desktop/images/11042025/07/51/image_11042025_07_52_05_10373.jpg
/home/pi/Desktop/images/11042025/07/52/image_11042025_07_52_14_9428.jpg
/home/pi/Desktop/images/11042025/07/52/image_11042025_07_52_24_10371.jpg
/home/pi/Desktop/images/11042025/07/52/image_11042025_07_52_35_10476.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351567979","1351568342","1351568008","1351568116","1351568196","1351568238"],"photo_ids_order":["1351567979","1351568008","1351568116","1351568196","1351568238","1351568342"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/522f411fdc9d7bb180e82135b953e452.jpg","text":"TemporaryFile(/tmp/multipartBody5758922140455670426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744360243695,"filename":"image_11042025_07_51_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/11/1cf62cbca5b9475db8c153ed791d8d74.jpg","text":"TemporaryFile(/tmp/multipartBody5373216683664144498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744360243695,"filename":"image_11042025_07_52_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/11/a87909416291f322bdd6cedee8c6e2ad.jpg","text":"TemporaryFile(/tmp/multipartBody665353710522016981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744360243695,"filename":"image_11042025_07_51_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/11/cc131da12dd033dfbf49dd7c9db25dd0.jpg","text":"TemporaryFile(/tmp/multipartBody6522474577146849545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744360243695,"filename":"image_11042025_07_52_05_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/82960e67914520d3c203e9e98a0971cb.jpg","text":"TemporaryFile(/tmp/multipartBody683335292439091245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744360243695,"filename":"image_11042025_07_52_14_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1549c1aac1f7fa5d81b2bd14bcb9d299.jpg","text":"TemporaryFile(/tmp/multipartBody4272480733141395950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744360243695,"filename":"image_11042025_07_52_24_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351568116","file1":"1351568008","file0":"1351567979","file4":"1351568238","file5":"1351568342","file3":"1351568196"},"map_files_photo_id_array":[{"photo_id":"1351568342","filename":"file5"},{"photo_id":"1351568116","filename":"file2"},{"photo_id":"1351568238","filename":"file4"},{"photo_id":"1351568008","filename":"file1"},{"photo_id":"1351567979","filename":"file0"},{"photo_id":"1351568196","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351567979":["hashtag1","hashtag2"]},{"1351568342":["hashtag1","hashtag2"]},{"1351568008":["hashtag1","hashtag2"]},{"1351568116":["hashtag1","hashtag2"]},{"1351568196":["hashtag1","hashtag2"]},{"1351568238":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351567979, 1351568342, 1351568008, 1351568116, 1351568196, 1351568238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.593761682510376 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 10:30:32.258960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/07/52/image_11042025_07_52_44_9348.jpg', '/home/pi/Desktop/images/11042025/07/52/image_11042025_07_52_55_10404.jpg', '/home/pi/Desktop/images/11042025/07/52/image_11042025_07_53_04_9452.jpg', '/home/pi/Desktop/images/11042025/07/53/image_11042025_07_53_14_10350.jpg', '/home/pi/Desktop/images/11042025/07/53/image_11042025_07_53_25_10477.jpg', '/home/pi/Desktop/images/11042025/07/53/image_11042025_07_53_34_9357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/07/52/image_11042025_07_52_44_9348.jpg
/home/pi/Desktop/images/11042025/07/52/image_11042025_07_52_55_10404.jpg
/home/pi/Desktop/images/11042025/07/52/image_11042025_07_53_04_9452.jpg
/home/pi/Desktop/images/11042025/07/53/image_11042025_07_53_14_10350.jpg
/home/pi/Desktop/images/11042025/07/53/image_11042025_07_53_25_10477.jpg
/home/pi/Desktop/images/11042025/07/53/image_11042025_07_53_34_9357.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
after request
<Response [200]>
b'{"photo_ids":["1351568780","1351568837","1351568906","1351568884","1351568953","1351568985"],"photo_ids_order":["1351568780","1351568837","1351568884","1351568906","1351568953","1351568985"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/29c50f00c9acc05e507d7e12b712d96d.jpg","text":"TemporaryFile(/tmp/multipartBody1330036400511896740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744360292729,"filename":"image_11042025_07_52_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/11/53908f617f43f7aeb85af6ca3a8e9477.jpg","text":"TemporaryFile(/tmp/multipartBody5024195292056742497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744360292729,"filename":"image_11042025_07_52_55_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c3f318f7c3a4770a7895e81da7f4923b.jpg","text":"TemporaryFile(/tmp/multipartBody3699140991440004231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744360292729,"filename":"image_11042025_07_53_14_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0ef515534bfb987d313ee289cf712555.jpg","text":"TemporaryFile(/tmp/multipartBody8258766636521942175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744360292729,"filename":"image_11042025_07_53_04_9452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5197cf8d3d0013779936d0d794e5ae3d.jpg","text":"TemporaryFile(/tmp/multipartBody9143560036992069466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744360292729,"filename":"image_11042025_07_53_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/11/5c6bbcc1050515959850189107b34e85.jpg","text":"TemporaryFile(/tmp/multipartBody5063402080718882503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744360292729,"filename":"image_11042025_07_53_34_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351568884","file1":"1351568837","file0":"1351568780","file4":"1351568953","file5":"1351568985","file3":"1351568906"},"map_files_photo_id_array":[{"photo_id":"1351568985","filename":"file5"},{"photo_id":"1351568884","filename":"file2"},{"photo_id":"1351568953","filename":"file4"},{"photo_id":"1351568837","filename":"file1"},{"photo_id":"1351568780","filename":"file0"},{"photo_id":"1351568906","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351568780":["hashtag1","hashtag2"]},{"1351568837":["hashtag1","hashtag2"]},{"1351568906":["hashtag1","hashtag2"]},{"1351568884":["hashtag1","hashtag2"]},{"1351568953":["hashtag1","hashtag2"]},{"1351568985":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351568780, 1351568837, 1351568906, 1351568884, 1351568953, 1351568985)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 138.01951217651367 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 10:32:52.888403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/07/53/image_11042025_07_53_45_10365.jpg', '/home/pi/Desktop/images/11042025/07/53/image_11042025_07_53_54_9442.jpg', '/home/pi/Desktop/images/11042025/07/53/image_11042025_07_54_04_10365.jpg', '/home/pi/Desktop/images/11042025/07/54/image_11042025_07_54_15_10455.jpg', '/home/pi/Desktop/images/11042025/07/54/image_11042025_07_54_44_9442.jpg', '/home/pi/Desktop/images/11042025/07/54/image_11042025_07_54_54_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/07/53/image_11042025_07_53_45_10365.jpg
/home/pi/Desktop/images/11042025/07/53/image_11042025_07_53_54_9442.jpg
/home/pi/Desktop/images/11042025/07/53/image_11042025_07_54_04_10365.jpg
/home/pi/Desktop/images/11042025/07/54/image_11042025_07_54_15_10455.jpg
/home/pi/Desktop/images/11042025/07/54/image_11042025_07_54_44_9442.jpg
/home/pi/Desktop/images/11042025/07/54/image_11042025_07_54_54_10365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351570190","1351570119","1351569754","1351569960","1351570050","1351569566"],"photo_ids_order":["1351569566","1351569754","1351569960","1351570050","1351570119","1351570190"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4b3c946f1e1c18cf8db0c273b6138b83.jpg","text":"TemporaryFile(/tmp/multipartBody634132710171671531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744360433350,"filename":"image_11042025_07_54_54_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/81846b044c0ae2ca0e16b73e91ba3030.jpg","text":"TemporaryFile(/tmp/multipartBody1426020665493346872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744360433350,"filename":"image_11042025_07_54_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/11/a32e2e2d67f9e3fd0f3938329c77b731.jpg","text":"TemporaryFile(/tmp/multipartBody3325930575462242058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744360433350,"filename":"image_11042025_07_53_54_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7bb6fa45cc2314c945d6031fb8229799.jpg","text":"TemporaryFile(/tmp/multipartBody8714948496796286217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744360433350,"filename":"image_11042025_07_54_04_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2b7dc48c624d5f2bb7917ead701a7c07.jpg","text":"TemporaryFile(/tmp/multipartBody4096129647947493926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744360433350,"filename":"image_11042025_07_54_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/11/59557c518b2ac3d514f3a8289370ef5b.jpg","text":"TemporaryFile(/tmp/multipartBody4556503005590203291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744360433350,"filename":"image_11042025_07_53_45_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351569960","file1":"1351569754","file0":"1351569566","file4":"1351570119","file5":"1351570190","file3":"1351570050"},"map_files_photo_id_array":[{"photo_id":"1351570190","filename":"file5"},{"photo_id":"1351569960","filename":"file2"},{"photo_id":"1351570119","filename":"file4"},{"photo_id":"1351569754","filename":"file1"},{"photo_id":"1351569566","filename":"file0"},{"photo_id":"1351570050","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351570190":["hashtag1","hashtag2"]},{"1351570119":["hashtag1","hashtag2"]},{"1351569754":["hashtag1","hashtag2"]},{"1351569960":["hashtag1","hashtag2"]},{"1351570050":["hashtag1","hashtag2"]},{"1351569566":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351570190, 1351570119, 1351569754, 1351569960, 1351570050, 1351569566)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.0987331867218 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 10:33:53.206079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/07/54/image_11042025_07_55_05_10432.jpg', '/home/pi/Desktop/images/11042025/07/55/image_11042025_07_55_14_9354.jpg', '/home/pi/Desktop/images/11042025/07/55/image_11042025_07_55_34_9430.jpg', '/home/pi/Desktop/images/11042025/07/55/image_11042025_07_55_44_10366.jpg', '/home/pi/Desktop/images/11042025/07/55/image_11042025_07_55_55_10421.jpg', '/home/pi/Desktop/images/11042025/07/55/image_11042025_07_56_04_9360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/07/54/image_11042025_07_55_05_10432.jpg
/home/pi/Desktop/images/11042025/07/55/image_11042025_07_55_14_9354.jpg
/home/pi/Desktop/images/11042025/07/55/image_11042025_07_55_34_9430.jpg
/home/pi/Desktop/images/11042025/07/55/image_11042025_07_55_44_10366.jpg
/home/pi/Desktop/images/11042025/07/55/image_11042025_07_55_55_10421.jpg
/home/pi/Desktop/images/11042025/07/55/image_11042025_07_56_04_9360.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351570917","1351570818","1351570688","1351570550","1351570447","1351571016"],"photo_ids_order":["1351570447","1351570550","1351570688","1351570818","1351570917","1351571016"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/20020ad24115324df530cc6e661aadc9.jpg","text":"TemporaryFile(/tmp/multipartBody4548247059651215311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744360493681,"filename":"image_11042025_07_55_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/11/43f7b7a3006148e0deb59bab0d137d2f.jpg","text":"TemporaryFile(/tmp/multipartBody5133250024723387158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744360493681,"filename":"image_11042025_07_55_44_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8899e911607637c9e6a7cd6d081a07e1.jpg","text":"TemporaryFile(/tmp/multipartBody2265634738229867684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744360493681,"filename":"image_11042025_07_55_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/11/df9a569224ab612f508390d7fca6dc77.jpg","text":"TemporaryFile(/tmp/multipartBody5263786388256511851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744360493681,"filename":"image_11042025_07_55_14_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1f2a9aba683dd7f0501cc07073791c32.jpg","text":"TemporaryFile(/tmp/multipartBody5062648864625773022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744360493681,"filename":"image_11042025_07_55_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/11/16a20bed7f9db0a535d87c7613bd4f2f.jpg","text":"TemporaryFile(/tmp/multipartBody2609873167270634673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744360493681,"filename":"image_11042025_07_56_04_9360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351570688","file1":"1351570550","file0":"1351570447","file4":"1351570917","file5":"1351571016","file3":"1351570818"},"map_files_photo_id_array":[{"photo_id":"1351571016","filename":"file5"},{"photo_id":"1351570688","filename":"file2"},{"photo_id":"1351570917","filename":"file4"},{"photo_id":"1351570550","filename":"file1"},{"photo_id":"1351570447","filename":"file0"},{"photo_id":"1351570818","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351570917":["hashtag1","hashtag2"]},{"1351570818":["hashtag1","hashtag2"]},{"1351570688":["hashtag1","hashtag2"]},{"1351570550":["hashtag1","hashtag2"]},{"1351570447":["hashtag1","hashtag2"]},{"1351571016":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351570917, 1351570818, 1351570688, 1351570550, 1351570447, 1351571016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.21241641044617 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 10:34:32.368767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/07/56/image_11042025_07_56_14_10352.jpg', '/home/pi/Desktop/images/11042025/07/56/image_11042025_07_56_25_10350.jpg', '/home/pi/Desktop/images/11042025/07/56/image_11042025_07_56_34_9361.jpg', '/home/pi/Desktop/images/11042025/07/56/image_11042025_07_56_45_10405.jpg', '/home/pi/Desktop/images/11042025/07/56/image_11042025_07_57_04_9458.jpg', '/home/pi/Desktop/images/11042025/07/57/image_11042025_07_57_15_10451.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/07/56/image_11042025_07_56_14_10352.jpg
/home/pi/Desktop/images/11042025/07/56/image_11042025_07_56_25_10350.jpg
/home/pi/Desktop/images/11042025/07/56/image_11042025_07_56_34_9361.jpg
/home/pi/Desktop/images/11042025/07/56/image_11042025_07_56_45_10405.jpg
/home/pi/Desktop/images/11042025/07/56/image_11042025_07_57_04_9458.jpg
/home/pi/Desktop/images/11042025/07/57/image_11042025_07_57_15_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":["1351571327","1351571501","1351571925","1351571808","1351571753","1351571258"],"photo_ids_order":["1351571258","1351571327","1351571501","1351571753","1351571808","1351571925"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b0ea643c3c5d4202b5010c9918f7ec2e.jpg","text":"TemporaryFile(/tmp/multipartBody8686832174196716582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744360532852,"filename":"image_11042025_07_56_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/11/9f8922ecb01caa5e6f55bec17fbd521d.jpg","text":"TemporaryFile(/tmp/multipartBody2139171604412886292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744360532852,"filename":"image_11042025_07_56_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/11/7675d1f6fd441015d8af27b389537268.jpg","text":"TemporaryFile(/tmp/multipartBody5006735794776018322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744360532852,"filename":"image_11042025_07_57_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/11/23b53bc0d5c2609d108ef8181ef165d0.jpg","text":"TemporaryFile(/tmp/multipartBody6442246112554379768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744360532852,"filename":"image_11042025_07_57_04_9458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f5a4a90871af16cf88cceeb59ec53575.jpg","text":"TemporaryFile(/tmp/multipartBody3421175620901420358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744360532852,"filename":"image_11042025_07_56_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/11/c99027d6df1e770b2fea3c8766bc33fb.jpg","text":"TemporaryFile(/tmp/multipartBody301186077820736630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744360532852,"filename":"image_11042025_07_56_14_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351571501","file1":"1351571327","file0":"1351571258","file4":"1351571808","file5":"1351571925","file3":"1351571753"},"map_files_photo_id_array":[{"photo_id":"1351571925","filename":"file5"},{"photo_id":"1351571501","filename":"file2"},{"photo_id":"1351571808","filename":"file4"},{"photo_id":"1351571327","filename":"file1"},{"photo_id":"1351571258","filename":"file0"},{"photo_id":"1351571753","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351571327":["hashtag1","hashtag2"]},{"1351571501":["hashtag1","hashtag2"]},{"1351571925":["hashtag1","hashtag2"]},{"1351571808":["hashtag1","hashtag2"]},{"1351571753":["hashtag1","hashtag2"]},{"1351571258":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351571327, 1351571501, 1351571925, 1351571808, 1351571753, 1351571258)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.46461248397827 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 10:35:32.551013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/07/57/image_11042025_07_57_24_9364.jpg', '/home/pi/Desktop/images/11042025/07/57/image_11042025_07_57_54_10360.jpg', '/home/pi/Desktop/images/11042025/07/57/image_11042025_07_58_05_10441.jpg', '/home/pi/Desktop/images/11042025/07/58/image_11042025_07_58_14_9353.jpg', '/home/pi/Desktop/images/11042025/07/58/image_11042025_07_58_25_10341.jpg', '/home/pi/Desktop/images/11042025/07/58/image_11042025_07_58_35_10377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/07/57/image_11042025_07_57_24_9364.jpg
/home/pi/Desktop/images/11042025/07/57/image_11042025_07_57_54_10360.jpg
/home/pi/Desktop/images/11042025/07/57/image_11042025_07_58_05_10441.jpg
/home/pi/Desktop/images/11042025/07/58/image_11042025_07_58_14_9353.jpg
/home/pi/Desktop/images/11042025/07/58/image_11042025_07_58_25_10341.jpg
/home/pi/Desktop/images/11042025/07/58/image_11042025_07_58_35_10377.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351572370","1351572250","1351572112","1351572270","1351572228","1351572057"],"photo_ids_order":["1351572057","1351572112","1351572228","1351572250","1351572270","1351572370"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/fa9326a8d7d85aa5509982fc88001381.jpg","text":"TemporaryFile(/tmp/multipartBody2100258916488364959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744360593015,"filename":"image_11042025_07_58_35_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7adcb8ab1fa2b0f57f5ef00a26048cb0.jpg","text":"TemporaryFile(/tmp/multipartBody7924926042942387017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744360593015,"filename":"image_11042025_07_58_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/11/645dbdad5323b6f3a816cefdc4a0b77d.jpg","text":"TemporaryFile(/tmp/multipartBody4686413513301767477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744360593015,"filename":"image_11042025_07_57_54_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5a9141c1ff237fef41b7d0f4e359453d.jpg","text":"TemporaryFile(/tmp/multipartBody7163146506351859367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744360593015,"filename":"image_11042025_07_58_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/11/b56343afc1f7287faee26953225c9fce.jpg","text":"TemporaryFile(/tmp/multipartBody2183965601746171004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744360593015,"filename":"image_11042025_07_58_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/11/32c8c26620c0ebdbb6489b92b33824a1.jpg","text":"TemporaryFile(/tmp/multipartBody5022612734410556300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744360593015,"filename":"image_11042025_07_57_24_9364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351572228","file1":"1351572112","file0":"1351572057","file4":"1351572270","file5":"1351572370","file3":"1351572250"},"map_files_photo_id_array":[{"photo_id":"1351572370","filename":"file5"},{"photo_id":"1351572228","filename":"file2"},{"photo_id":"1351572270","filename":"file4"},{"photo_id":"1351572112","filename":"file1"},{"photo_id":"1351572057","filename":"file0"},{"photo_id":"1351572250","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351572370":["hashtag1","hashtag2"]},{"1351572250":["hashtag1","hashtag2"]},{"1351572112":["hashtag1","hashtag2"]},{"1351572270":["hashtag1","hashtag2"]},{"1351572228":["hashtag1","hashtag2"]},{"1351572057":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351572370, 1351572250, 1351572112, 1351572270, 1351572228, 1351572057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.97110342979431 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 10:36:32.819868
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/07/58/image_11042025_07_58_44_9350.jpg', '/home/pi/Desktop/images/11042025/07/58/image_11042025_07_58_55_10501.jpg', '/home/pi/Desktop/images/11042025/07/58/image_11042025_07_59_04_9355.jpg', '/home/pi/Desktop/images/11042025/07/59/image_11042025_07_59_15_10369.jpg', '/home/pi/Desktop/images/11042025/07/59/image_11042025_07_59_34_9438.jpg', '/home/pi/Desktop/images/11042025/07/59/image_11042025_07_59_45_10455.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/07/58/image_11042025_07_58_44_9350.jpg
/home/pi/Desktop/images/11042025/07/58/image_11042025_07_58_55_10501.jpg
/home/pi/Desktop/images/11042025/07/58/image_11042025_07_59_04_9355.jpg
/home/pi/Desktop/images/11042025/07/59/image_11042025_07_59_15_10369.jpg
/home/pi/Desktop/images/11042025/07/59/image_11042025_07_59_34_9438.jpg
/home/pi/Desktop/images/11042025/07/59/image_11042025_07_59_45_10455.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351572688","1351572580","1351572876","1351572540","1351572629","1351572800"],"photo_ids_order":["1351572540","1351572580","1351572629","1351572688","1351572800","1351572876"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1c4a1958571057466b7dd6233bcad19b.jpg","text":"TemporaryFile(/tmp/multipartBody5716338576535303086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744360653294,"filename":"image_11042025_07_59_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/11/7d52f11b78020089aafd9ebc9593e36a.jpg","text":"TemporaryFile(/tmp/multipartBody710960808117338414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744360653294,"filename":"image_11042025_07_58_55_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/11/a1cc950db91c299b6b5c3f6cab7127a5.jpg","text":"TemporaryFile(/tmp/multipartBody4966386937120734540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744360653294,"filename":"image_11042025_07_59_45_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/06cff614a63db19659879c4e28fbc92a.jpg","text":"TemporaryFile(/tmp/multipartBody3115400674333421729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744360653294,"filename":"image_11042025_07_58_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/11/c38a3f9f285148a4f027b75869f32447.jpg","text":"TemporaryFile(/tmp/multipartBody325933105128217691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744360653294,"filename":"image_11042025_07_59_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/11/a31ac9b5e26ca8c041d2b1df9fc1a83d.jpg","text":"TemporaryFile(/tmp/multipartBody4961962274827882030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744360653294,"filename":"image_11042025_07_59_34_9438.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351572629","file1":"1351572580","file0":"1351572540","file4":"1351572800","file5":"1351572876","file3":"1351572688"},"map_files_photo_id_array":[{"photo_id":"1351572876","filename":"file5"},{"photo_id":"1351572629","filename":"file2"},{"photo_id":"1351572800","filename":"file4"},{"photo_id":"1351572580","filename":"file1"},{"photo_id":"1351572540","filename":"file0"},{"photo_id":"1351572688","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351572688":["hashtag1","hashtag2"]},{"1351572580":["hashtag1","hashtag2"]},{"1351572876":["hashtag1","hashtag2"]},{"1351572540":["hashtag1","hashtag2"]},{"1351572629":["hashtag1","hashtag2"]},{"1351572800":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351572688, 1351572580, 1351572876, 1351572540, 1351572629, 1351572800)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.29362225532532 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 10:37:33.075329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/07/59/image_11042025_07_59_54_9378.jpg', '/home/pi/Desktop/images/11042025/08/00/image_11042025_08_00_15_10080.jpg', '/home/pi/Desktop/images/11042025/08/00/image_11042025_08_00_26_10373.jpg', '/home/pi/Desktop/images/11042025/08/00/image_11042025_08_00_36_10380.jpg', '/home/pi/Desktop/images/11042025/08/00/image_11042025_08_00_45_9339.jpg', '/home/pi/Desktop/images/11042025/08/00/image_11042025_08_00_56_10421.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/07/59/image_11042025_07_59_54_9378.jpg
/home/pi/Desktop/images/11042025/08/00/image_11042025_08_00_15_10080.jpg
/home/pi/Desktop/images/11042025/08/00/image_11042025_08_00_26_10373.jpg
/home/pi/Desktop/images/11042025/08/00/image_11042025_08_00_36_10380.jpg
/home/pi/Desktop/images/11042025/08/00/image_11042025_08_00_45_9339.jpg
/home/pi/Desktop/images/11042025/08/00/image_11042025_08_00_56_10421.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351573513","1351573494","1351573455","1351573332","1351573489","1351573399"],"photo_ids_order":["1351573332","1351573399","1351573455","1351573489","1351573494","1351573513"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0750aea8d075d6bf52e6240a3467c999.jpg","text":"TemporaryFile(/tmp/multipartBody6599394281620409879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744360713537,"filename":"image_11042025_08_00_56_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c77953f1c91cec92364008732fac4a71.jpg","text":"TemporaryFile(/tmp/multipartBody1374376086320195251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744360713537,"filename":"image_11042025_08_00_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/11/d99db198a4648d3362706f9d43dece26.jpg","text":"TemporaryFile(/tmp/multipartBody225433781610209987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744360713537,"filename":"image_11042025_08_00_26_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f44d38e79d20c2e4dc4d95962e1afe2b.jpg","text":"TemporaryFile(/tmp/multipartBody508788484663193779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744360713537,"filename":"image_11042025_07_59_54_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/11/48e787e451ba9ddb216c7022e9a5ce9e.jpg","text":"TemporaryFile(/tmp/multipartBody1107308020164921363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744360713537,"filename":"image_11042025_08_00_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/11/ebfe55989d4900553488ecfee5a0775e.jpg","text":"TemporaryFile(/tmp/multipartBody856094862876202601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744360713537,"filename":"image_11042025_08_00_15_10080.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351573455","file1":"1351573399","file0":"1351573332","file4":"1351573494","file5":"1351573513","file3":"1351573489"},"map_files_photo_id_array":[{"photo_id":"1351573513","filename":"file5"},{"photo_id":"1351573455","filename":"file2"},{"photo_id":"1351573494","filename":"file4"},{"photo_id":"1351573399","filename":"file1"},{"photo_id":"1351573332","filename":"file0"},{"photo_id":"1351573489","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351573513":["hashtag1","hashtag2"]},{"1351573494":["hashtag1","hashtag2"]},{"1351573455":["hashtag1","hashtag2"]},{"1351573332":["hashtag1","hashtag2"]},{"1351573489":["hashtag1","hashtag2"]},{"1351573399":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351573513, 1351573494, 1351573455, 1351573332, 1351573489, 1351573399)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.37404131889343 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 10:38:32.419999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/08/00/image_11042025_08_01_06_10342.jpg', '/home/pi/Desktop/images/11042025/08/01/image_11042025_08_01_15_9350.jpg', '/home/pi/Desktop/images/11042025/08/01/image_11042025_08_01_26_10478.jpg', '/home/pi/Desktop/images/11042025/08/01/image_11042025_08_01_35_9403.jpg', '/home/pi/Desktop/images/11042025/08/01/image_11042025_08_01_46_10439.jpg', '/home/pi/Desktop/images/11042025/08/01/image_11042025_08_01_56_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/08/00/image_11042025_08_01_06_10342.jpg
/home/pi/Desktop/images/11042025/08/01/image_11042025_08_01_15_9350.jpg
/home/pi/Desktop/images/11042025/08/01/image_11042025_08_01_26_10478.jpg
/home/pi/Desktop/images/11042025/08/01/image_11042025_08_01_35_9403.jpg
/home/pi/Desktop/images/11042025/08/01/image_11042025_08_01_46_10439.jpg
/home/pi/Desktop/images/11042025/08/01/image_11042025_08_01_56_10357.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3918883800506592 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 10:38:42.261411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/08/00/image_11042025_08_01_06_10342.jpg', '/home/pi/Desktop/images/11042025/08/01/image_11042025_08_01_15_9350.jpg', '/home/pi/Desktop/images/11042025/08/01/image_11042025_08_01_26_10478.jpg', '/home/pi/Desktop/images/11042025/08/01/image_11042025_08_01_35_9403.jpg', '/home/pi/Desktop/images/11042025/08/01/image_11042025_08_01_46_10439.jpg', '/home/pi/Desktop/images/11042025/08/01/image_11042025_08_01_56_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/08/00/image_11042025_08_01_06_10342.jpg
/home/pi/Desktop/images/11042025/08/01/image_11042025_08_01_15_9350.jpg
/home/pi/Desktop/images/11042025/08/01/image_11042025_08_01_26_10478.jpg
/home/pi/Desktop/images/11042025/08/01/image_11042025_08_01_35_9403.jpg
/home/pi/Desktop/images/11042025/08/01/image_11042025_08_01_46_10439.jpg
/home/pi/Desktop/images/11042025/08/01/image_11042025_08_01_56_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351573759","1351573887","1351573866","1351573830","1351573892","1351573852"],"photo_ids_order":["1351573759","1351573830","1351573852","1351573866","1351573887","1351573892"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e94c97287c41dc5fd7a7664c3c1ac2ad.jpg","text":"TemporaryFile(/tmp/multipartBody8720118102674652375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744360782734,"filename":"image_11042025_08_01_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/11/c92ec99bbe9a22c4e395053f4d23fc12.jpg","text":"TemporaryFile(/tmp/multipartBody1190245563757062526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744360782734,"filename":"image_11042025_08_01_46_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7b25c71e7a211ef546cbd21f7c80cd69.jpg","text":"TemporaryFile(/tmp/multipartBody8888731821942703598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744360782734,"filename":"image_11042025_08_01_35_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9961d0d48545e741a691aae7a1d02da0.jpg","text":"TemporaryFile(/tmp/multipartBody3698367363705114105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744360782734,"filename":"image_11042025_08_01_15_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c985d8640e6710abc195d0eae4f5c47f.jpg","text":"TemporaryFile(/tmp/multipartBody688923449061815257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744360782734,"filename":"image_11042025_08_01_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/11/496ed2771fdc60865f6e5f441700842e.jpg","text":"TemporaryFile(/tmp/multipartBody4758545503539867874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744360782734,"filename":"image_11042025_08_01_26_10478.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351573852","file1":"1351573830","file0":"1351573759","file4":"1351573887","file5":"1351573892","file3":"1351573866"},"map_files_photo_id_array":[{"photo_id":"1351573892","filename":"file5"},{"photo_id":"1351573852","filename":"file2"},{"photo_id":"1351573887","filename":"file4"},{"photo_id":"1351573830","filename":"file1"},{"photo_id":"1351573759","filename":"file0"},{"photo_id":"1351573866","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351573759":["hashtag1","hashtag2"]},{"1351573887":["hashtag1","hashtag2"]},{"1351573866":["hashtag1","hashtag2"]},{"1351573830":["hashtag1","hashtag2"]},{"1351573892":["hashtag1","hashtag2"]},{"1351573852":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351573759, 1351573887, 1351573866, 1351573830, 1351573892, 1351573852)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.5135600566864 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 10:39:32.543981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/08/02/image_11042025_08_02_25_9367.jpg', '/home/pi/Desktop/images/11042025/08/02/image_11042025_08_02_36_10421.jpg', '/home/pi/Desktop/images/11042025/08/03/image_11042025_08_03_15_9335.jpg', '/home/pi/Desktop/images/11042025/08/03/image_11042025_08_03_26_10447.jpg', '/home/pi/Desktop/images/11042025/08/03/image_11042025_08_03_36_10382.jpg', '/home/pi/Desktop/images/11042025/08/03/image_11042025_08_03_45_9365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/08/02/image_11042025_08_02_25_9367.jpg
/home/pi/Desktop/images/11042025/08/02/image_11042025_08_02_36_10421.jpg
/home/pi/Desktop/images/11042025/08/03/image_11042025_08_03_15_9335.jpg
/home/pi/Desktop/images/11042025/08/03/image_11042025_08_03_26_10447.jpg
/home/pi/Desktop/images/11042025/08/03/image_11042025_08_03_36_10382.jpg
/home/pi/Desktop/images/11042025/08/03/image_11042025_08_03_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":["1351573998","1351574127","1351574087","1351574048","1351573943","1351574230"],"photo_ids_order":["1351573943","1351573998","1351574048","1351574087","1351574127","1351574230"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7e5ce563f7ace8391cafa5560661ab10.jpg","text":"TemporaryFile(/tmp/multipartBody5370067019195271983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744360833019,"filename":"image_11042025_08_02_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/11/f06d6680ba678f9757a1bcb50444b04e.jpg","text":"TemporaryFile(/tmp/multipartBody1508118676713354721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744360833019,"filename":"image_11042025_08_03_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/11/e04a52ac37f2ba2445ebdc22ecf819ba.jpg","text":"TemporaryFile(/tmp/multipartBody6474245450385386591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744360833019,"filename":"image_11042025_08_03_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/11/9a48e56671716392bfc2fd83ef04f45d.jpg","text":"TemporaryFile(/tmp/multipartBody7171531820675084592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744360833019,"filename":"image_11042025_08_03_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/11/233c7408885ea98a706f762e5c53e172.jpg","text":"TemporaryFile(/tmp/multipartBody3844129217982958084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744360833019,"filename":"image_11042025_08_02_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/11/8a5ffd4cb6d2fc46e7a6575a0c0dc4e6.jpg","text":"TemporaryFile(/tmp/multipartBody5386821262445829722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744360833019,"filename":"image_11042025_08_03_45_9365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351574048","file1":"1351573998","file0":"1351573943","file4":"1351574127","file5":"1351574230","file3":"1351574087"},"map_files_photo_id_array":[{"photo_id":"1351574230","filename":"file5"},{"photo_id":"1351574048","filename":"file2"},{"photo_id":"1351574127","filename":"file4"},{"photo_id":"1351573998","filename":"file1"},{"photo_id":"1351573943","filename":"file0"},{"photo_id":"1351574087","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351573998":["hashtag1","hashtag2"]},{"1351574127":["hashtag1","hashtag2"]},{"1351574087":["hashtag1","hashtag2"]},{"1351574048":["hashtag1","hashtag2"]},{"1351573943":["hashtag1","hashtag2"]},{"1351574230":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351573998, 1351574127, 1351574087, 1351574048, 1351573943, 1351574230)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.233242988586426 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 10:40:32.747423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/08/03/image_11042025_08_03_56_10429.jpg', '/home/pi/Desktop/images/11042025/08/03/image_11042025_08_04_05_9367.jpg', '/home/pi/Desktop/images/11042025/08/04/image_11042025_08_04_16_10333.jpg', '/home/pi/Desktop/images/11042025/08/04/image_11042025_08_04_26_10354.jpg', '/home/pi/Desktop/images/11042025/08/04/image_11042025_08_04_35_9354.jpg', '/home/pi/Desktop/images/11042025/08/04/image_11042025_08_04_46_10490.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/08/03/image_11042025_08_03_56_10429.jpg
/home/pi/Desktop/images/11042025/08/03/image_11042025_08_04_05_9367.jpg
/home/pi/Desktop/images/11042025/08/04/image_11042025_08_04_16_10333.jpg
/home/pi/Desktop/images/11042025/08/04/image_11042025_08_04_26_10354.jpg
/home/pi/Desktop/images/11042025/08/04/image_11042025_08_04_35_9354.jpg
/home/pi/Desktop/images/11042025/08/04/image_11042025_08_04_46_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":["1351574428","1351574361","1351574375","1351574390","1351574384","1351574338"],"photo_ids_order":["1351574338","1351574361","1351574375","1351574384","1351574390","1351574428"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/fc2a3764d0a7833930aab307652325a9.jpg","text":"TemporaryFile(/tmp/multipartBody7967855734067815239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744360893238,"filename":"image_11042025_08_04_46_10490.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/40826b405dc935cc98d0b7747a8d86e2.jpg","text":"TemporaryFile(/tmp/multipartBody4850224272367167305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744360893238,"filename":"image_11042025_08_04_05_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ef82a435695e0526a4bfd0a8e319fc94.jpg","text":"TemporaryFile(/tmp/multipartBody815076639559240541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744360893238,"filename":"image_11042025_08_04_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/11/7615cf23b2734f01a9875b37bc340e2c.jpg","text":"TemporaryFile(/tmp/multipartBody2669910116658617458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744360893238,"filename":"image_11042025_08_04_35_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a364a8b512423fc0134e7eabe7a9ef44.jpg","text":"TemporaryFile(/tmp/multipartBody9141142671657531036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744360893238,"filename":"image_11042025_08_04_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/11/4d83961890da16de1031dff1713e0f6a.jpg","text":"TemporaryFile(/tmp/multipartBody2352244163978108881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744360893238,"filename":"image_11042025_08_03_56_10429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351574375","file1":"1351574361","file0":"1351574338","file4":"1351574390","file5":"1351574428","file3":"1351574384"},"map_files_photo_id_array":[{"photo_id":"1351574428","filename":"file5"},{"photo_id":"1351574375","filename":"file2"},{"photo_id":"1351574390","filename":"file4"},{"photo_id":"1351574361","filename":"file1"},{"photo_id":"1351574338","filename":"file0"},{"photo_id":"1351574384","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351574428":["hashtag1","hashtag2"]},{"1351574361":["hashtag1","hashtag2"]},{"1351574375":["hashtag1","hashtag2"]},{"1351574390":["hashtag1","hashtag2"]},{"1351574384":["hashtag1","hashtag2"]},{"1351574338":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351574428, 1351574361, 1351574375, 1351574390, 1351574384, 1351574338)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.48494601249695 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 10:41:33.136097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/08/04/image_11042025_08_04_55_9472.jpg', '/home/pi/Desktop/images/11042025/08/04/image_11042025_08_05_06_10362.jpg', '/home/pi/Desktop/images/11042025/08/05/image_11042025_08_05_16_10425.jpg', '/home/pi/Desktop/images/11042025/08/05/image_11042025_08_05_25_9375.jpg', '/home/pi/Desktop/images/11042025/08/05/image_11042025_08_05_36_10382.jpg', '/home/pi/Desktop/images/11042025/08/05/image_11042025_08_05_46_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/08/04/image_11042025_08_04_55_9472.jpg
/home/pi/Desktop/images/11042025/08/04/image_11042025_08_05_06_10362.jpg
/home/pi/Desktop/images/11042025/08/05/image_11042025_08_05_16_10425.jpg
/home/pi/Desktop/images/11042025/08/05/image_11042025_08_05_25_9375.jpg
/home/pi/Desktop/images/11042025/08/05/image_11042025_08_05_36_10382.jpg
/home/pi/Desktop/images/11042025/08/05/image_11042025_08_05_46_10361.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":["1351574704","1351574605","1351574661","1351574735","1351574551","1351574575"],"photo_ids_order":["1351574551","1351574575","1351574605","1351574661","1351574704","1351574735"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8849fdec87d89d20700df23e45ca4483.jpg","text":"TemporaryFile(/tmp/multipartBody1666728803763674802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744360953599,"filename":"image_11042025_08_05_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/11/f80245a34c64f7e5d54e8c402a231e74.jpg","text":"TemporaryFile(/tmp/multipartBody4006449723351454526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744360953599,"filename":"image_11042025_08_05_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/11/8f4ff8f97c55dc99ff131e6087518134.jpg","text":"TemporaryFile(/tmp/multipartBody2716075625497698832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744360953599,"filename":"image_11042025_08_05_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/11/1af39cec2fd76da4b4d2e99a96206440.jpg","text":"TemporaryFile(/tmp/multipartBody776634926303092075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744360953599,"filename":"image_11042025_08_05_46_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ec7ad15f193555086eab982cb9fbde69.jpg","text":"TemporaryFile(/tmp/multipartBody3072416704186274021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744360953599,"filename":"image_11042025_08_04_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/11/63f001b1d651c646e5d4b95ab799d107.jpg","text":"TemporaryFile(/tmp/multipartBody6008313671113924084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744360953599,"filename":"image_11042025_08_05_06_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351574605","file1":"1351574575","file0":"1351574551","file4":"1351574704","file5":"1351574735","file3":"1351574661"},"map_files_photo_id_array":[{"photo_id":"1351574735","filename":"file5"},{"photo_id":"1351574605","filename":"file2"},{"photo_id":"1351574704","filename":"file4"},{"photo_id":"1351574575","filename":"file1"},{"photo_id":"1351574551","filename":"file0"},{"photo_id":"1351574661","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351574704":["hashtag1","hashtag2"]},{"1351574605":["hashtag1","hashtag2"]},{"1351574661":["hashtag1","hashtag2"]},{"1351574735":["hashtag1","hashtag2"]},{"1351574551":["hashtag1","hashtag2"]},{"1351574575":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351574704, 1351574605, 1351574661, 1351574735, 1351574551, 1351574575)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.145342111587524 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 10:42:42.214819
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/08/05/image_11042025_08_05_56_9361.jpg', '/home/pi/Desktop/images/11042025/08/05/image_11042025_08_06_06_10364.jpg', '/home/pi/Desktop/images/11042025/08/06/image_11042025_08_06_15_9340.jpg', '/home/pi/Desktop/images/11042025/08/06/image_11042025_08_06_26_10361.jpg', '/home/pi/Desktop/images/11042025/08/06/image_11042025_08_06_36_10352.jpg', '/home/pi/Desktop/images/11042025/08/06/image_11042025_08_06_45_9415.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/08/05/image_11042025_08_05_56_9361.jpg
/home/pi/Desktop/images/11042025/08/05/image_11042025_08_06_06_10364.jpg
/home/pi/Desktop/images/11042025/08/06/image_11042025_08_06_15_9340.jpg
/home/pi/Desktop/images/11042025/08/06/image_11042025_08_06_26_10361.jpg
/home/pi/Desktop/images/11042025/08/06/image_11042025_08_06_36_10352.jpg
/home/pi/Desktop/images/11042025/08/06/image_11042025_08_06_45_9415.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351574973","1351575118","1351575046","1351575211","1351575342","1351575285"],"photo_ids_order":["1351574973","1351575046","1351575118","1351575211","1351575285","1351575342"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a007e9552b723ca546c54029349bdf79.jpg","text":"TemporaryFile(/tmp/multipartBody7079587916114279235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744361022684,"filename":"image_11042025_08_05_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/11/35f7111dac31a0dd7a3948fbc93ee662.jpg","text":"TemporaryFile(/tmp/multipartBody4815380363350427258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744361022684,"filename":"image_11042025_08_06_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/11/b4e60e855b37f29b6827890d9ef28a8f.jpg","text":"TemporaryFile(/tmp/multipartBody5595029132280608770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744361022684,"filename":"image_11042025_08_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/11/63867524539d770ad2c2d12bb76b9028.jpg","text":"TemporaryFile(/tmp/multipartBody6249270561919707423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744361022684,"filename":"image_11042025_08_06_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/11/5d77614deb12e1c8ac79750bfcb0a453.jpg","text":"TemporaryFile(/tmp/multipartBody451372252406404063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744361022684,"filename":"image_11042025_08_06_45_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/fff73d292db6929b53d4d7adac5bc852.jpg","text":"TemporaryFile(/tmp/multipartBody1596627530733045974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744361022684,"filename":"image_11042025_08_06_36_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351575118","file1":"1351575046","file0":"1351574973","file4":"1351575285","file5":"1351575342","file3":"1351575211"},"map_files_photo_id_array":[{"photo_id":"1351575342","filename":"file5"},{"photo_id":"1351575118","filename":"file2"},{"photo_id":"1351575285","filename":"file4"},{"photo_id":"1351575046","filename":"file1"},{"photo_id":"1351574973","filename":"file0"},{"photo_id":"1351575211","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351574973":["hashtag1","hashtag2"]},{"1351575118":["hashtag1","hashtag2"]},{"1351575046":["hashtag1","hashtag2"]},{"1351575211":["hashtag1","hashtag2"]},{"1351575342":["hashtag1","hashtag2"]},{"1351575285":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351574973, 1351575118, 1351575046, 1351575211, 1351575342, 1351575285)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.52125811576843 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 10:43:42.430854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/08/06/image_11042025_08_06_56_10395.jpg', '/home/pi/Desktop/images/11042025/08/06/image_11042025_08_07_06_10378.jpg', '/home/pi/Desktop/images/11042025/08/07/image_11042025_08_07_16_9403.jpg', '/home/pi/Desktop/images/11042025/08/07/image_11042025_08_07_26_10356.jpg', '/home/pi/Desktop/images/11042025/08/07/image_11042025_08_07_46_10460.jpg', '/home/pi/Desktop/images/11042025/08/07/image_11042025_08_07_56_10376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/08/06/image_11042025_08_06_56_10395.jpg
/home/pi/Desktop/images/11042025/08/06/image_11042025_08_07_06_10378.jpg
/home/pi/Desktop/images/11042025/08/07/image_11042025_08_07_16_9403.jpg
/home/pi/Desktop/images/11042025/08/07/image_11042025_08_07_26_10356.jpg
/home/pi/Desktop/images/11042025/08/07/image_11042025_08_07_46_10460.jpg
/home/pi/Desktop/images/11042025/08/07/image_11042025_08_07_56_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":["1351575933","1351575708","1351575773","1351575993","1351575852","1351575681"],"photo_ids_order":["1351575681","1351575708","1351575773","1351575852","1351575933","1351575993"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/81a078109a9ec88d5cdda3611d7674b7.jpg","text":"TemporaryFile(/tmp/multipartBody8153796976637630514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744361082932,"filename":"image_11042025_08_07_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/11/7ca6e5e94ca7d3ddd60b6df440feac51.jpg","text":"TemporaryFile(/tmp/multipartBody7518195945221534887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744361082932,"filename":"image_11042025_08_07_06_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/88c036afe7f2124adc6e507c9674f2d8.jpg","text":"TemporaryFile(/tmp/multipartBody5015110672451548336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744361082932,"filename":"image_11042025_08_07_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/11/ddf4fc9b25f0dc2b09bd20e69252ff75.jpg","text":"TemporaryFile(/tmp/multipartBody45428467633978729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744361082932,"filename":"image_11042025_08_07_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/11/f0ae58af60ea56cdf77a2ded2dd5ea65.jpg","text":"TemporaryFile(/tmp/multipartBody1544447517650356706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744361082932,"filename":"image_11042025_08_07_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/11/36f5e7a85eb76bf1c3c909bac35cf28b.jpg","text":"TemporaryFile(/tmp/multipartBody8863802464413703178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744361082932,"filename":"image_11042025_08_06_56_10395.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351575773","file1":"1351575708","file0":"1351575681","file4":"1351575933","file5":"1351575993","file3":"1351575852"},"map_files_photo_id_array":[{"photo_id":"1351575993","filename":"file5"},{"photo_id":"1351575773","filename":"file2"},{"photo_id":"1351575933","filename":"file4"},{"photo_id":"1351575708","filename":"file1"},{"photo_id":"1351575681","filename":"file0"},{"photo_id":"1351575852","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351575933":["hashtag1","hashtag2"]},{"1351575708":["hashtag1","hashtag2"]},{"1351575773":["hashtag1","hashtag2"]},{"1351575993":["hashtag1","hashtag2"]},{"1351575852":["hashtag1","hashtag2"]},{"1351575681":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351575933, 1351575708, 1351575773, 1351575993, 1351575852, 1351575681)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.30198311805725 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 10:44:32.671401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/08/07/image_11042025_08_08_06_9384.jpg', '/home/pi/Desktop/images/11042025/08/08/image_11042025_08_08_16_10436.jpg', '/home/pi/Desktop/images/11042025/08/08/image_11042025_08_08_25_9354.jpg', '/home/pi/Desktop/images/11042025/08/08/image_11042025_08_08_36_10403.jpg', '/home/pi/Desktop/images/11042025/08/08/image_11042025_08_08_46_10343.jpg', '/home/pi/Desktop/images/11042025/08/08/image_11042025_08_09_06_10430.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/08/07/image_11042025_08_08_06_9384.jpg
/home/pi/Desktop/images/11042025/08/08/image_11042025_08_08_16_10436.jpg
/home/pi/Desktop/images/11042025/08/08/image_11042025_08_08_25_9354.jpg
/home/pi/Desktop/images/11042025/08/08/image_11042025_08_08_36_10403.jpg
/home/pi/Desktop/images/11042025/08/08/image_11042025_08_08_46_10343.jpg
/home/pi/Desktop/images/11042025/08/08/image_11042025_08_09_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":["1351576329","1351576379","1351576271","1351576243","1351576182","1351576362"],"photo_ids_order":["1351576182","1351576243","1351576271","1351576329","1351576362","1351576379"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3d3a79309fb2838d5a3af1b411f344d8.jpg","text":"TemporaryFile(/tmp/multipartBody3030927002388235007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744361133148,"filename":"image_11042025_08_08_36_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/cae50007358cd126df4fa4e62925dad2.jpg","text":"TemporaryFile(/tmp/multipartBody786888542954563477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744361133148,"filename":"image_11042025_08_09_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/11/7c623dc13bcc679cc704c595b9056f6f.jpg","text":"TemporaryFile(/tmp/multipartBody744366580015619907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744361133148,"filename":"image_11042025_08_08_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/11/33066618ad1797aca8e1fdb1cf9757d8.jpg","text":"TemporaryFile(/tmp/multipartBody3682366501264294380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744361133148,"filename":"image_11042025_08_08_16_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/34de53ef7fa38ec30d23c268e2503f59.jpg","text":"TemporaryFile(/tmp/multipartBody6106424358499623336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744361133148,"filename":"image_11042025_08_08_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/11/6b6cbd31e1f6cfcde7f073f5d8796aa9.jpg","text":"TemporaryFile(/tmp/multipartBody778746361517166494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744361133148,"filename":"image_11042025_08_08_46_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351576271","file1":"1351576243","file0":"1351576182","file4":"1351576362","file5":"1351576379","file3":"1351576329"},"map_files_photo_id_array":[{"photo_id":"1351576379","filename":"file5"},{"photo_id":"1351576271","filename":"file2"},{"photo_id":"1351576362","filename":"file4"},{"photo_id":"1351576243","filename":"file1"},{"photo_id":"1351576182","filename":"file0"},{"photo_id":"1351576329","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351576329":["hashtag1","hashtag2"]},{"1351576379":["hashtag1","hashtag2"]},{"1351576271":["hashtag1","hashtag2"]},{"1351576243":["hashtag1","hashtag2"]},{"1351576182":["hashtag1","hashtag2"]},{"1351576362":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351576329, 1351576379, 1351576271, 1351576243, 1351576182, 1351576362)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.23570513725281 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 10:45:32.858904
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/08/09/image_11042025_08_09_15_9341.jpg', '/home/pi/Desktop/images/11042025/08/09/image_11042025_08_09_36_10411.jpg', '/home/pi/Desktop/images/11042025/08/09/image_11042025_08_09_45_9412.jpg', '/home/pi/Desktop/images/11042025/08/09/image_11042025_08_09_56_10453.jpg', '/home/pi/Desktop/images/11042025/08/09/image_11042025_08_10_05_9349.jpg', '/home/pi/Desktop/images/11042025/08/10/image_11042025_08_10_26_10438.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/08/09/image_11042025_08_09_15_9341.jpg
/home/pi/Desktop/images/11042025/08/09/image_11042025_08_09_36_10411.jpg
/home/pi/Desktop/images/11042025/08/09/image_11042025_08_09_45_9412.jpg
/home/pi/Desktop/images/11042025/08/09/image_11042025_08_09_56_10453.jpg
/home/pi/Desktop/images/11042025/08/09/image_11042025_08_10_05_9349.jpg
/home/pi/Desktop/images/11042025/08/10/image_11042025_08_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":["1351576685","1351576850","1351576646","1351576771","1351576948","1351576815"],"photo_ids_order":["1351576646","1351576685","1351576771","1351576815","1351576850","1351576948"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/680474fc0f59e503d65d7937ca15cf1c.jpg","text":"TemporaryFile(/tmp/multipartBody2534840968329569753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744361193329,"filename":"image_11042025_08_09_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/11/c8eb1a074285cc0c31178143875b2632.jpg","text":"TemporaryFile(/tmp/multipartBody7099149347688625756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744361193329,"filename":"image_11042025_08_10_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/11/95aadff67becb0a39273f22a36298d8a.jpg","text":"TemporaryFile(/tmp/multipartBody3252845897242310707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744361193329,"filename":"image_11042025_08_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/11/593fb99ccd7a70c531f5b409f9a867ec.jpg","text":"TemporaryFile(/tmp/multipartBody1187089716808324544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744361193329,"filename":"image_11042025_08_09_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/11/94713a189e1f1a91083810258c463d01.jpg","text":"TemporaryFile(/tmp/multipartBody8459116300944289707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744361193329,"filename":"image_11042025_08_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/11/9d67edb6301e0590db0d6e2fca11d8c7.jpg","text":"TemporaryFile(/tmp/multipartBody8349169231139788215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744361193329,"filename":"image_11042025_08_09_56_10453.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351576771","file1":"1351576685","file0":"1351576646","file4":"1351576850","file5":"1351576948","file3":"1351576815"},"map_files_photo_id_array":[{"photo_id":"1351576948","filename":"file5"},{"photo_id":"1351576771","filename":"file2"},{"photo_id":"1351576850","filename":"file4"},{"photo_id":"1351576685","filename":"file1"},{"photo_id":"1351576646","filename":"file0"},{"photo_id":"1351576815","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351576685":["hashtag1","hashtag2"]},{"1351576850":["hashtag1","hashtag2"]},{"1351576646":["hashtag1","hashtag2"]},{"1351576771":["hashtag1","hashtag2"]},{"1351576948":["hashtag1","hashtag2"]},{"1351576815":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351576685, 1351576850, 1351576646, 1351576771, 1351576948, 1351576815)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.09495496749878 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 10:46:33.092364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/08/10/image_11042025_08_10_35_9416.jpg', '/home/pi/Desktop/images/11042025/08/10/image_11042025_08_10_46_10428.jpg', '/home/pi/Desktop/images/11042025/08/10/image_11042025_08_10_55_9410.jpg', '/home/pi/Desktop/images/11042025/08/10/image_11042025_08_11_06_10355.jpg', '/home/pi/Desktop/images/11042025/08/11/image_11042025_08_11_16_10418.jpg', '/home/pi/Desktop/images/11042025/08/11/image_11042025_08_11_25_9359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/08/10/image_11042025_08_10_35_9416.jpg
/home/pi/Desktop/images/11042025/08/10/image_11042025_08_10_46_10428.jpg
/home/pi/Desktop/images/11042025/08/10/image_11042025_08_10_55_9410.jpg
/home/pi/Desktop/images/11042025/08/10/image_11042025_08_11_06_10355.jpg
/home/pi/Desktop/images/11042025/08/11/image_11042025_08_11_16_10418.jpg
/home/pi/Desktop/images/11042025/08/11/image_11042025_08_11_25_9359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351577531","1351577504","1351577626","1351577455","1351577701","1351577576"],"photo_ids_order":["1351577455","1351577504","1351577531","1351577576","1351577626","1351577701"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b34c7adf50832acf5993ba329d184c2d.jpg","text":"TemporaryFile(/tmp/multipartBody7493590848643728015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744361253575,"filename":"image_11042025_08_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/11/07c8258e73a2c26489b4bd7c842021f1.jpg","text":"TemporaryFile(/tmp/multipartBody4107278799762035438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744361253575,"filename":"image_11042025_08_10_46_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/da83cc3d30dd4b34d3147c1445ac1777.jpg","text":"TemporaryFile(/tmp/multipartBody6411335435111325203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744361253575,"filename":"image_11042025_08_11_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/11/e2dc36f51ed4bcbf90637d96b6d18229.jpg","text":"TemporaryFile(/tmp/multipartBody7227991952700374416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744361253575,"filename":"image_11042025_08_10_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/11/9230fb0553c5571e0c50085815fa2d9c.jpg","text":"TemporaryFile(/tmp/multipartBody7386921569684852500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744361253575,"filename":"image_11042025_08_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/11/b8ff2821e05fc6939fc6f60e6746db51.jpg","text":"TemporaryFile(/tmp/multipartBody695275272643227022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744361253575,"filename":"image_11042025_08_11_06_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351577531","file1":"1351577504","file0":"1351577455","file4":"1351577626","file5":"1351577701","file3":"1351577576"},"map_files_photo_id_array":[{"photo_id":"1351577701","filename":"file5"},{"photo_id":"1351577531","filename":"file2"},{"photo_id":"1351577626","filename":"file4"},{"photo_id":"1351577504","filename":"file1"},{"photo_id":"1351577455","filename":"file0"},{"photo_id":"1351577576","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351577531":["hashtag1","hashtag2"]},{"1351577504":["hashtag1","hashtag2"]},{"1351577626":["hashtag1","hashtag2"]},{"1351577455":["hashtag1","hashtag2"]},{"1351577701":["hashtag1","hashtag2"]},{"1351577576":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351577531, 1351577504, 1351577626, 1351577455, 1351577701, 1351577576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.48900079727173 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 10:47:32.526781
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/08/11/image_11042025_08_11_36_10407.jpg', '/home/pi/Desktop/images/11042025/08/11/image_11042025_08_11_46_10368.jpg', '/home/pi/Desktop/images/11042025/08/11/image_11042025_08_11_56_9340.jpg', '/home/pi/Desktop/images/11042025/08/11/image_11042025_08_12_06_10420.jpg', '/home/pi/Desktop/images/11042025/08/12/image_11042025_08_12_15_9356.jpg', '/home/pi/Desktop/images/11042025/08/12/image_11042025_08_12_26_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/08/11/image_11042025_08_11_36_10407.jpg
/home/pi/Desktop/images/11042025/08/11/image_11042025_08_11_46_10368.jpg
/home/pi/Desktop/images/11042025/08/11/image_11042025_08_11_56_9340.jpg
/home/pi/Desktop/images/11042025/08/11/image_11042025_08_12_06_10420.jpg
/home/pi/Desktop/images/11042025/08/12/image_11042025_08_12_15_9356.jpg
/home/pi/Desktop/images/11042025/08/12/image_11042025_08_12_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":["1351577960","1351577842","1351577883","1351577868","1351577913","1351577888"],"photo_ids_order":["1351577842","1351577868","1351577883","1351577888","1351577913","1351577960"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7c083676b55d74a0cb6ae442a6fb6fd2.jpg","text":"TemporaryFile(/tmp/multipartBody5710441118665406960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744361313011,"filename":"image_11042025_08_12_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/11/aef8617189e3e8cc14836c5cb36902f8.jpg","text":"TemporaryFile(/tmp/multipartBody7331574683762818470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744361313011,"filename":"image_11042025_08_11_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/11/f508c23e188ff70f2aa484a3b9999a89.jpg","text":"TemporaryFile(/tmp/multipartBody710390772759456530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744361313011,"filename":"image_11042025_08_11_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/11/0fb93aad5e70ded9a247c58bab06d890.jpg","text":"TemporaryFile(/tmp/multipartBody4436238583562431398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744361313011,"filename":"image_11042025_08_11_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/11/306b2e6b85914cb57b1e134e5b2ca2d7.jpg","text":"TemporaryFile(/tmp/multipartBody1504036851032786292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744361313011,"filename":"image_11042025_08_12_15_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9442d2bf4b0475d5030dfaca1114d674.jpg","text":"TemporaryFile(/tmp/multipartBody6243793853491007505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744361313011,"filename":"image_11042025_08_12_06_10420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351577883","file1":"1351577868","file0":"1351577842","file4":"1351577913","file5":"1351577960","file3":"1351577888"},"map_files_photo_id_array":[{"photo_id":"1351577960","filename":"file5"},{"photo_id":"1351577883","filename":"file2"},{"photo_id":"1351577913","filename":"file4"},{"photo_id":"1351577868","filename":"file1"},{"photo_id":"1351577842","filename":"file0"},{"photo_id":"1351577888","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351577960":["hashtag1","hashtag2"]},{"1351577842":["hashtag1","hashtag2"]},{"1351577883":["hashtag1","hashtag2"]},{"1351577868":["hashtag1","hashtag2"]},{"1351577913":["hashtag1","hashtag2"]},{"1351577888":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351577960, 1351577842, 1351577883, 1351577868, 1351577913, 1351577888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.82655143737793 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 10:48:32.735871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/08/12/image_11042025_08_12_36_10433.jpg', '/home/pi/Desktop/images/11042025/08/12/image_11042025_08_12_45_9339.jpg', '/home/pi/Desktop/images/11042025/08/12/image_11042025_08_12_56_10373.jpg', '/home/pi/Desktop/images/11042025/08/12/image_11042025_08_13_06_10403.jpg', '/home/pi/Desktop/images/11042025/08/13/image_11042025_08_13_16_9380.jpg', '/home/pi/Desktop/images/11042025/08/13/image_11042025_08_13_26_10460.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/08/12/image_11042025_08_12_36_10433.jpg
/home/pi/Desktop/images/11042025/08/12/image_11042025_08_12_45_9339.jpg
/home/pi/Desktop/images/11042025/08/12/image_11042025_08_12_56_10373.jpg
/home/pi/Desktop/images/11042025/08/12/image_11042025_08_13_06_10403.jpg
/home/pi/Desktop/images/11042025/08/13/image_11042025_08_13_16_9380.jpg
/home/pi/Desktop/images/11042025/08/13/image_11042025_08_13_26_10460.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351578064","1351578019","1351578004","1351578009","1351578041","1351578014"],"photo_ids_order":["1351578004","1351578009","1351578014","1351578019","1351578041","1351578064"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/134dd5f1f5add686006ccc837b53368a.jpg","text":"TemporaryFile(/tmp/multipartBody8821248830442052127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744361373203,"filename":"image_11042025_08_13_26_10460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9f64a74fd8ae57f381e03fea4c100ab6.jpg","text":"TemporaryFile(/tmp/multipartBody8138797500148832647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744361373203,"filename":"image_11042025_08_13_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/11/1a56ba05013a817c37d930e95e966602.jpg","text":"TemporaryFile(/tmp/multipartBody386308766681798504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744361373203,"filename":"image_11042025_08_12_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/11/2876e21e8576d4d4c25c0b4000833761.jpg","text":"TemporaryFile(/tmp/multipartBody1229875547178731151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744361373203,"filename":"image_11042025_08_12_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/11/9bcf7b9f1f8b68ada8eb2cf739a537d9.jpg","text":"TemporaryFile(/tmp/multipartBody8448964430291238140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744361373203,"filename":"image_11042025_08_13_16_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/137db62d4cc29a8810a4456a0f16771e.jpg","text":"TemporaryFile(/tmp/multipartBody1890425687051701420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744361373203,"filename":"image_11042025_08_12_56_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351578014","file1":"1351578009","file0":"1351578004","file4":"1351578041","file5":"1351578064","file3":"1351578019"},"map_files_photo_id_array":[{"photo_id":"1351578064","filename":"file5"},{"photo_id":"1351578014","filename":"file2"},{"photo_id":"1351578041","filename":"file4"},{"photo_id":"1351578009","filename":"file1"},{"photo_id":"1351578004","filename":"file0"},{"photo_id":"1351578019","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351578064":["hashtag1","hashtag2"]},{"1351578019":["hashtag1","hashtag2"]},{"1351578004":["hashtag1","hashtag2"]},{"1351578009":["hashtag1","hashtag2"]},{"1351578041":["hashtag1","hashtag2"]},{"1351578014":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351578064, 1351578019, 1351578004, 1351578009, 1351578041, 1351578014)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.83832907676697 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 10:49:32.932579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/08/13/image_11042025_08_13_35_9346.jpg', '/home/pi/Desktop/images/11042025/08/13/image_11042025_08_13_46_10410.jpg', '/home/pi/Desktop/images/11042025/08/13/image_11042025_08_13_56_10380.jpg', '/home/pi/Desktop/images/11042025/08/13/image_11042025_08_14_06_9403.jpg', '/home/pi/Desktop/images/11042025/08/14/image_11042025_08_14_16_10583.jpg', '/home/pi/Desktop/images/11042025/08/14/image_11042025_08_14_26_9345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/08/13/image_11042025_08_13_35_9346.jpg
/home/pi/Desktop/images/11042025/08/13/image_11042025_08_13_46_10410.jpg
/home/pi/Desktop/images/11042025/08/13/image_11042025_08_13_56_10380.jpg
/home/pi/Desktop/images/11042025/08/13/image_11042025_08_14_06_9403.jpg
/home/pi/Desktop/images/11042025/08/14/image_11042025_08_14_16_10583.jpg
/home/pi/Desktop/images/11042025/08/14/image_11042025_08_14_26_9345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351578457","1351578511","1351578433","1351578400","1351578678","1351578596"],"photo_ids_order":["1351578400","1351578433","1351578457","1351578511","1351578596","1351578678"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/82bc34eaa0a7591d9d66745445df50a5.jpg","text":"TemporaryFile(/tmp/multipartBody4025983304060019947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744361433404,"filename":"image_11042025_08_13_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/11/c3a9b2a5a53bd4a45f7de864a9ad701d.jpg","text":"TemporaryFile(/tmp/multipartBody3398391513427881877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744361433404,"filename":"image_11042025_08_14_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/11/1528385073ee7e2582bc6d4359c804a6.jpg","text":"TemporaryFile(/tmp/multipartBody4952699890149362564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744361433404,"filename":"image_11042025_08_13_46_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4db345bd627cc0383c97dcdc17173ee9.jpg","text":"TemporaryFile(/tmp/multipartBody4170883656921889246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744361433404,"filename":"image_11042025_08_13_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/11/c3331360682919f12017111b3c1f2708.jpg","text":"TemporaryFile(/tmp/multipartBody7037451937708197703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744361433404,"filename":"image_11042025_08_14_26_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/67906019c45ae0a3fea403937468309b.jpg","text":"TemporaryFile(/tmp/multipartBody6783349437091884731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744361433404,"filename":"image_11042025_08_14_16_10583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351578457","file1":"1351578433","file0":"1351578400","file4":"1351578596","file5":"1351578678","file3":"1351578511"},"map_files_photo_id_array":[{"photo_id":"1351578678","filename":"file5"},{"photo_id":"1351578457","filename":"file2"},{"photo_id":"1351578596","filename":"file4"},{"photo_id":"1351578433","filename":"file1"},{"photo_id":"1351578400","filename":"file0"},{"photo_id":"1351578511","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351578457":["hashtag1","hashtag2"]},{"1351578511":["hashtag1","hashtag2"]},{"1351578433":["hashtag1","hashtag2"]},{"1351578400":["hashtag1","hashtag2"]},{"1351578678":["hashtag1","hashtag2"]},{"1351578596":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351578457, 1351578511, 1351578433, 1351578400, 1351578678, 1351578596)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.737396478652954 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 10:50:32.135320
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/08/14/image_11042025_08_14_36_10467.jpg', '/home/pi/Desktop/images/11042025/08/14/image_11042025_08_14_56_10407.jpg', '/home/pi/Desktop/images/11042025/08/14/image_11042025_08_15_06_10423.jpg', '/home/pi/Desktop/images/11042025/08/15/image_11042025_08_15_16_9352.jpg', '/home/pi/Desktop/images/11042025/08/15/image_11042025_08_15_26_10400.jpg', '/home/pi/Desktop/images/11042025/08/15/image_11042025_08_15_35_9407.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/08/14/image_11042025_08_14_36_10467.jpg
/home/pi/Desktop/images/11042025/08/14/image_11042025_08_14_56_10407.jpg
/home/pi/Desktop/images/11042025/08/14/image_11042025_08_15_06_10423.jpg
/home/pi/Desktop/images/11042025/08/15/image_11042025_08_15_16_9352.jpg
/home/pi/Desktop/images/11042025/08/15/image_11042025_08_15_26_10400.jpg
/home/pi/Desktop/images/11042025/08/15/image_11042025_08_15_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":["1351579129","1351579077","1351579002","1351579043","1351578938","1351579282"],"photo_ids_order":["1351578938","1351579002","1351579043","1351579077","1351579129","1351579282"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1c4a550846e4833464b144410db2b11d.jpg","text":"TemporaryFile(/tmp/multipartBody805042642359199707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744361492603,"filename":"image_11042025_08_15_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/11/7040efc2777a6c4ced00ef92ae2cf7a4.jpg","text":"TemporaryFile(/tmp/multipartBody2428498063231085028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744361492603,"filename":"image_11042025_08_15_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/11/08d7480c9556af8fb3150b6a9d0829f5.jpg","text":"TemporaryFile(/tmp/multipartBody8166107306552444332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744361492603,"filename":"image_11042025_08_14_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/11/15731822b405088825e80b4292e2d853.jpg","text":"TemporaryFile(/tmp/multipartBody1578501656825027579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744361492603,"filename":"image_11042025_08_15_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/11/f4260ca0b34f5606f30dd7ceb296d7aa.jpg","text":"TemporaryFile(/tmp/multipartBody615172300167274184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744361492603,"filename":"image_11042025_08_14_36_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/11/b15a0e246ff8a350ce4deec5b99b96d1.jpg","text":"TemporaryFile(/tmp/multipartBody3105483600806934020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744361492603,"filename":"image_11042025_08_15_35_9407.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351579043","file1":"1351579002","file0":"1351578938","file4":"1351579129","file5":"1351579282","file3":"1351579077"},"map_files_photo_id_array":[{"photo_id":"1351579282","filename":"file5"},{"photo_id":"1351579043","filename":"file2"},{"photo_id":"1351579129","filename":"file4"},{"photo_id":"1351579002","filename":"file1"},{"photo_id":"1351578938","filename":"file0"},{"photo_id":"1351579077","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351579129":["hashtag1","hashtag2"]},{"1351579077":["hashtag1","hashtag2"]},{"1351579002":["hashtag1","hashtag2"]},{"1351579043":["hashtag1","hashtag2"]},{"1351578938":["hashtag1","hashtag2"]},{"1351579282":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351579129, 1351579077, 1351579002, 1351579043, 1351578938, 1351579282)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.01900124549866 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 10:51:32.278950
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/08/15/image_11042025_08_15_46_10412.jpg', '/home/pi/Desktop/images/11042025/08/15/image_11042025_08_15_56_10357.jpg', '/home/pi/Desktop/images/11042025/08/15/image_11042025_08_16_05_9357.jpg', '/home/pi/Desktop/images/11042025/08/16/image_11042025_08_16_16_10360.jpg', '/home/pi/Desktop/images/11042025/08/16/image_11042025_08_16_25_9398.jpg', '/home/pi/Desktop/images/11042025/08/16/image_11042025_08_16_36_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/08/15/image_11042025_08_15_46_10412.jpg
/home/pi/Desktop/images/11042025/08/15/image_11042025_08_15_56_10357.jpg
/home/pi/Desktop/images/11042025/08/15/image_11042025_08_16_05_9357.jpg
/home/pi/Desktop/images/11042025/08/16/image_11042025_08_16_16_10360.jpg
/home/pi/Desktop/images/11042025/08/16/image_11042025_08_16_25_9398.jpg
/home/pi/Desktop/images/11042025/08/16/image_11042025_08_16_36_10360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351579642","1351579606","1351579600","1351579697","1351579658","1351579610"],"photo_ids_order":["1351579600","1351579606","1351579610","1351579642","1351579658","1351579697"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3aca8058f04efe0821bc2a0856ce6752.jpg","text":"TemporaryFile(/tmp/multipartBody6493984759751721258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744361552744,"filename":"image_11042025_08_16_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/11/3abae8fc6c714bfe8eae0726d85735ef.jpg","text":"TemporaryFile(/tmp/multipartBody6756765603595769645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744361552744,"filename":"image_11042025_08_15_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/11/017faa2b85103913da2bffb00396a208.jpg","text":"TemporaryFile(/tmp/multipartBody5321944868990233264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744361552744,"filename":"image_11042025_08_15_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/11/144990bab95916cb94980a60b13c94c7.jpg","text":"TemporaryFile(/tmp/multipartBody652073023470334040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744361552744,"filename":"image_11042025_08_16_36_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/14b826efb9096719d0682120247028fe.jpg","text":"TemporaryFile(/tmp/multipartBody4813194963130148897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744361552744,"filename":"image_11042025_08_16_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/11/d8c2d7fb7ef095e4f74e54255f492d52.jpg","text":"TemporaryFile(/tmp/multipartBody451255993308485367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744361552744,"filename":"image_11042025_08_16_05_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351579610","file1":"1351579606","file0":"1351579600","file4":"1351579658","file5":"1351579697","file3":"1351579642"},"map_files_photo_id_array":[{"photo_id":"1351579697","filename":"file5"},{"photo_id":"1351579610","filename":"file2"},{"photo_id":"1351579658","filename":"file4"},{"photo_id":"1351579606","filename":"file1"},{"photo_id":"1351579600","filename":"file0"},{"photo_id":"1351579642","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351579642":["hashtag1","hashtag2"]},{"1351579606":["hashtag1","hashtag2"]},{"1351579600":["hashtag1","hashtag2"]},{"1351579697":["hashtag1","hashtag2"]},{"1351579658":["hashtag1","hashtag2"]},{"1351579610":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351579642, 1351579606, 1351579600, 1351579697, 1351579658, 1351579610)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.3297061920166 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 10:52:32.774898
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/08/16/image_11042025_08_17_06_10399.jpg', '/home/pi/Desktop/images/11042025/08/17/image_11042025_08_17_16_10361.jpg', '/home/pi/Desktop/images/11042025/08/17/image_11042025_08_17_26_9419.jpg', '/home/pi/Desktop/images/11042025/08/17/image_11042025_08_17_36_10363.jpg', '/home/pi/Desktop/images/11042025/08/17/image_11042025_08_17_45_9352.jpg', '/home/pi/Desktop/images/11042025/08/17/image_11042025_08_18_06_10343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/08/16/image_11042025_08_17_06_10399.jpg
/home/pi/Desktop/images/11042025/08/17/image_11042025_08_17_16_10361.jpg
/home/pi/Desktop/images/11042025/08/17/image_11042025_08_17_26_9419.jpg
/home/pi/Desktop/images/11042025/08/17/image_11042025_08_17_36_10363.jpg
/home/pi/Desktop/images/11042025/08/17/image_11042025_08_17_45_9352.jpg
/home/pi/Desktop/images/11042025/08/17/image_11042025_08_18_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":["1351580338","1351580200","1351580379","1351580292","1351580148","1351580240"],"photo_ids_order":["1351580148","1351580200","1351580240","1351580292","1351580338","1351580379"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8c1c75b2fe3d5e4aa771324c511b47ef.jpg","text":"TemporaryFile(/tmp/multipartBody1751727695633079613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744361613258,"filename":"image_11042025_08_17_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/11/6212eca4fa07d6933d4c55c84cf787c7.jpg","text":"TemporaryFile(/tmp/multipartBody9001260871308689766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744361613258,"filename":"image_11042025_08_17_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/11/dc6e2ff0a5a339c626b4f9185eee3de5.jpg","text":"TemporaryFile(/tmp/multipartBody5484766934909815781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744361613258,"filename":"image_11042025_08_18_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/11/fcd104b9b59c0eff1b711d032618e3c2.jpg","text":"TemporaryFile(/tmp/multipartBody5382234211636217248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744361613258,"filename":"image_11042025_08_17_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/11/adeb36b48c6447cdc7bff0e77c661983.jpg","text":"TemporaryFile(/tmp/multipartBody7885213394355394881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744361613258,"filename":"image_11042025_08_17_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/11/d14a5d70c5b20ff8122954f225fae393.jpg","text":"TemporaryFile(/tmp/multipartBody2770432835998779530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744361613258,"filename":"image_11042025_08_17_26_9419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351580240","file1":"1351580200","file0":"1351580148","file4":"1351580338","file5":"1351580379","file3":"1351580292"},"map_files_photo_id_array":[{"photo_id":"1351580379","filename":"file5"},{"photo_id":"1351580240","filename":"file2"},{"photo_id":"1351580338","filename":"file4"},{"photo_id":"1351580200","filename":"file1"},{"photo_id":"1351580148","filename":"file0"},{"photo_id":"1351580292","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351580338":["hashtag1","hashtag2"]},{"1351580200":["hashtag1","hashtag2"]},{"1351580379":["hashtag1","hashtag2"]},{"1351580292":["hashtag1","hashtag2"]},{"1351580148":["hashtag1","hashtag2"]},{"1351580240":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351580338, 1351580200, 1351580379, 1351580292, 1351580148, 1351580240)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.66218614578247 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 10:53:32.950270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/08/18/image_11042025_08_18_15_9338.jpg', '/home/pi/Desktop/images/11042025/08/18/image_11042025_08_18_26_10415.jpg', '/home/pi/Desktop/images/11042025/08/18/image_11042025_08_18_35_9351.jpg', '/home/pi/Desktop/images/11042025/08/18/image_11042025_08_18_46_10351.jpg', '/home/pi/Desktop/images/11042025/08/18/image_11042025_08_18_56_10363.jpg', '/home/pi/Desktop/images/11042025/08/18/image_11042025_08_19_05_9364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/08/18/image_11042025_08_18_15_9338.jpg
/home/pi/Desktop/images/11042025/08/18/image_11042025_08_18_26_10415.jpg
/home/pi/Desktop/images/11042025/08/18/image_11042025_08_18_35_9351.jpg
/home/pi/Desktop/images/11042025/08/18/image_11042025_08_18_46_10351.jpg
/home/pi/Desktop/images/11042025/08/18/image_11042025_08_18_56_10363.jpg
/home/pi/Desktop/images/11042025/08/18/image_11042025_08_19_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":["1351580686","1351580754","1351580583","1351580720","1351580522","1351580630"],"photo_ids_order":["1351580522","1351580583","1351580630","1351580686","1351580720","1351580754"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9be524deab572e66ba655cb50fd5d8a5.jpg","text":"TemporaryFile(/tmp/multipartBody4066535713658165530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744361673423,"filename":"image_11042025_08_18_46_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ff1515129dd3ba5ddf44f174bc30af24.jpg","text":"TemporaryFile(/tmp/multipartBody1390465023235258014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744361673423,"filename":"image_11042025_08_19_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/11/9e883b22ab1d65af8a9260a295918f76.jpg","text":"TemporaryFile(/tmp/multipartBody5250218694015111380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744361673423,"filename":"image_11042025_08_18_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/11/e8a7c26c8e169d302c71884262bf195e.jpg","text":"TemporaryFile(/tmp/multipartBody7284585713716569829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744361673423,"filename":"image_11042025_08_18_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/11/f6c430294ea525864f5d8ee4fcc49ac4.jpg","text":"TemporaryFile(/tmp/multipartBody4521148040272020771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744361673423,"filename":"image_11042025_08_18_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/11/aa0dbc1dc0e27c1787067d53d9670af3.jpg","text":"TemporaryFile(/tmp/multipartBody8545937922527760757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744361673423,"filename":"image_11042025_08_18_35_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351580630","file1":"1351580583","file0":"1351580522","file4":"1351580720","file5":"1351580754","file3":"1351580686"},"map_files_photo_id_array":[{"photo_id":"1351580754","filename":"file5"},{"photo_id":"1351580630","filename":"file2"},{"photo_id":"1351580720","filename":"file4"},{"photo_id":"1351580583","filename":"file1"},{"photo_id":"1351580522","filename":"file0"},{"photo_id":"1351580686","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351580686":["hashtag1","hashtag2"]},{"1351580754":["hashtag1","hashtag2"]},{"1351580583":["hashtag1","hashtag2"]},{"1351580720":["hashtag1","hashtag2"]},{"1351580522":["hashtag1","hashtag2"]},{"1351580630":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351580686, 1351580754, 1351580583, 1351580720, 1351580522, 1351580630)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.058353900909424 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 10:54:33.152970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/08/19/image_11042025_08_19_16_10418.jpg', '/home/pi/Desktop/images/11042025/08/19/image_11042025_08_19_26_10353.jpg', '/home/pi/Desktop/images/11042025/08/19/image_11042025_08_19_35_9353.jpg', '/home/pi/Desktop/images/11042025/08/19/image_11042025_08_19_46_10383.jpg', '/home/pi/Desktop/images/11042025/08/19/image_11042025_08_19_56_10380.jpg', '/home/pi/Desktop/images/11042025/08/19/image_11042025_08_20_06_9382.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/08/19/image_11042025_08_19_16_10418.jpg
/home/pi/Desktop/images/11042025/08/19/image_11042025_08_19_26_10353.jpg
/home/pi/Desktop/images/11042025/08/19/image_11042025_08_19_35_9353.jpg
/home/pi/Desktop/images/11042025/08/19/image_11042025_08_19_46_10383.jpg
/home/pi/Desktop/images/11042025/08/19/image_11042025_08_19_56_10380.jpg
/home/pi/Desktop/images/11042025/08/19/image_11042025_08_20_06_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":["1351581355","1351581474","1351581408","1351581572","1351581323","1351581445"],"photo_ids_order":["1351581323","1351581355","1351581408","1351581445","1351581474","1351581572"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9da7ec154267a38111dcecbec54e7f27.jpg","text":"TemporaryFile(/tmp/multipartBody4685891382319930863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744361733617,"filename":"image_11042025_08_19_26_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/810d3b35977068f1cc4ef039d72d251b.jpg","text":"TemporaryFile(/tmp/multipartBody4294963679300399573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744361733617,"filename":"image_11042025_08_19_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/11/a64a862bb99a4c5890ac6f39581f59ea.jpg","text":"TemporaryFile(/tmp/multipartBody8077666730109765981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744361733617,"filename":"image_11042025_08_19_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/11/c0ef89a09516e95ad0bd52da35929d86.jpg","text":"TemporaryFile(/tmp/multipartBody8638900959373812780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744361733617,"filename":"image_11042025_08_20_06_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/cdf4bf1cc6ef1b88a38da2e14b777509.jpg","text":"TemporaryFile(/tmp/multipartBody5734453461914504930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744361733617,"filename":"image_11042025_08_19_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/11/e5ae9ea77f625bc439317c27ed785ef6.jpg","text":"TemporaryFile(/tmp/multipartBody8666079611565582636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744361733617,"filename":"image_11042025_08_19_46_10383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351581408","file1":"1351581355","file0":"1351581323","file4":"1351581474","file5":"1351581572","file3":"1351581445"},"map_files_photo_id_array":[{"photo_id":"1351581572","filename":"file5"},{"photo_id":"1351581408","filename":"file2"},{"photo_id":"1351581474","filename":"file4"},{"photo_id":"1351581355","filename":"file1"},{"photo_id":"1351581323","filename":"file0"},{"photo_id":"1351581445","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351581355":["hashtag1","hashtag2"]},{"1351581474":["hashtag1","hashtag2"]},{"1351581408":["hashtag1","hashtag2"]},{"1351581572":["hashtag1","hashtag2"]},{"1351581323":["hashtag1","hashtag2"]},{"1351581445":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351581355, 1351581474, 1351581408, 1351581572, 1351581323, 1351581445)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.302724838256836 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 10:55:32.362401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/08/20/image_11042025_08_20_16_10345.jpg', '/home/pi/Desktop/images/11042025/08/20/image_11042025_08_20_25_9348.jpg', '/home/pi/Desktop/images/11042025/08/20/image_11042025_08_20_36_10390.jpg', '/home/pi/Desktop/images/11042025/08/20/image_11042025_08_20_46_10398.jpg', '/home/pi/Desktop/images/11042025/08/20/image_11042025_08_20_55_9421.jpg', '/home/pi/Desktop/images/11042025/08/20/image_11042025_08_21_06_10435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/08/20/image_11042025_08_20_16_10345.jpg
/home/pi/Desktop/images/11042025/08/20/image_11042025_08_20_25_9348.jpg
/home/pi/Desktop/images/11042025/08/20/image_11042025_08_20_36_10390.jpg
/home/pi/Desktop/images/11042025/08/20/image_11042025_08_20_46_10398.jpg
/home/pi/Desktop/images/11042025/08/20/image_11042025_08_20_55_9421.jpg
/home/pi/Desktop/images/11042025/08/20/image_11042025_08_21_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":["1351581958","1351581916","1351582007","1351581836","1351582054","1351581871"],"photo_ids_order":["1351581836","1351581871","1351581916","1351581958","1351582007","1351582054"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e26ee2089f06649698a33bb26d39d8c9.jpg","text":"TemporaryFile(/tmp/multipartBody6227358694127707457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744361792829,"filename":"image_11042025_08_20_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/11/a337919ce0c0b1520dc38804e108c16e.jpg","text":"TemporaryFile(/tmp/multipartBody3798377455265677684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744361792829,"filename":"image_11042025_08_20_36_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a93271c2050265d94367eb8d6a8fa8ae.jpg","text":"TemporaryFile(/tmp/multipartBody2467755009993737841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744361792829,"filename":"image_11042025_08_20_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/11/e7dafab130166149e531c4c604fd56fe.jpg","text":"TemporaryFile(/tmp/multipartBody209461332494142772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744361792829,"filename":"image_11042025_08_20_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/11/73e3aec84039db98c28f6d8c786da3ab.jpg","text":"TemporaryFile(/tmp/multipartBody9000328861086735579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744361792829,"filename":"image_11042025_08_21_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/11/f1ea56c07f53df327aa4045fe4a20055.jpg","text":"TemporaryFile(/tmp/multipartBody6623817090147728976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744361792829,"filename":"image_11042025_08_20_25_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351581916","file1":"1351581871","file0":"1351581836","file4":"1351582007","file5":"1351582054","file3":"1351581958"},"map_files_photo_id_array":[{"photo_id":"1351582054","filename":"file5"},{"photo_id":"1351581916","filename":"file2"},{"photo_id":"1351582007","filename":"file4"},{"photo_id":"1351581871","filename":"file1"},{"photo_id":"1351581836","filename":"file0"},{"photo_id":"1351581958","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351581958":["hashtag1","hashtag2"]},{"1351581916":["hashtag1","hashtag2"]},{"1351582007":["hashtag1","hashtag2"]},{"1351581836":["hashtag1","hashtag2"]},{"1351582054":["hashtag1","hashtag2"]},{"1351581871":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351581958, 1351581916, 1351582007, 1351581836, 1351582054, 1351581871)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.58952307701111 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 10:56:32.579715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/08/21/image_11042025_08_21_26_10391.jpg', '/home/pi/Desktop/images/11042025/08/21/image_11042025_08_21_36_10442.jpg', '/home/pi/Desktop/images/11042025/08/21/image_11042025_08_21_56_10358.jpg', '/home/pi/Desktop/images/11042025/08/22/image_11042025_08_22_26_10368.jpg', '/home/pi/Desktop/images/11042025/08/22/image_11042025_08_22_56_10373.jpg', '/home/pi/Desktop/images/11042025/08/23/image_11042025_08_23_16_10426.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/08/21/image_11042025_08_21_26_10391.jpg
/home/pi/Desktop/images/11042025/08/21/image_11042025_08_21_36_10442.jpg
/home/pi/Desktop/images/11042025/08/21/image_11042025_08_21_56_10358.jpg
/home/pi/Desktop/images/11042025/08/22/image_11042025_08_22_26_10368.jpg
/home/pi/Desktop/images/11042025/08/22/image_11042025_08_22_56_10373.jpg
/home/pi/Desktop/images/11042025/08/23/image_11042025_08_23_16_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":["1351582629","1351582490","1351582585","1351582540","1351582456","1351582516"],"photo_ids_order":["1351582456","1351582490","1351582516","1351582540","1351582585","1351582629"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c9c02d8773c424f2c9035b62a53e5431.jpg","text":"TemporaryFile(/tmp/multipartBody1177590788918760189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744361853043,"filename":"image_11042025_08_23_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/11/023c9a0df6af990806a651b09b1229bb.jpg","text":"TemporaryFile(/tmp/multipartBody8805078160544704709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744361853043,"filename":"image_11042025_08_21_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/11/24fe34af93fc5d93399a9ddbacb46e28.jpg","text":"TemporaryFile(/tmp/multipartBody5611531390793685233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744361853043,"filename":"image_11042025_08_22_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/11/15d7baec28af675e52ffc9b399c65bbb.jpg","text":"TemporaryFile(/tmp/multipartBody4724279387301633381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744361853043,"filename":"image_11042025_08_22_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/11/513c2fc6739656d238a113402e252880.jpg","text":"TemporaryFile(/tmp/multipartBody6177096415880268632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744361853043,"filename":"image_11042025_08_21_26_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f85e27525e108cda060a0089057f7063.jpg","text":"TemporaryFile(/tmp/multipartBody8115169894140242411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744361853043,"filename":"image_11042025_08_21_56_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351582516","file1":"1351582490","file0":"1351582456","file4":"1351582585","file5":"1351582629","file3":"1351582540"},"map_files_photo_id_array":[{"photo_id":"1351582629","filename":"file5"},{"photo_id":"1351582516","filename":"file2"},{"photo_id":"1351582585","filename":"file4"},{"photo_id":"1351582490","filename":"file1"},{"photo_id":"1351582456","filename":"file0"},{"photo_id":"1351582540","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351582629":["hashtag1","hashtag2"]},{"1351582490":["hashtag1","hashtag2"]},{"1351582585":["hashtag1","hashtag2"]},{"1351582540":["hashtag1","hashtag2"]},{"1351582456":["hashtag1","hashtag2"]},{"1351582516":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351582629, 1351582490, 1351582585, 1351582540, 1351582456, 1351582516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.73077368736267 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 10:57:32.783295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/08/23/image_11042025_08_23_25_9372.jpg', '/home/pi/Desktop/images/11042025/08/23/image_11042025_08_23_36_10412.jpg', '/home/pi/Desktop/images/11042025/08/23/image_11042025_08_23_46_10351.jpg', '/home/pi/Desktop/images/11042025/08/23/image_11042025_08_23_55_9368.jpg', '/home/pi/Desktop/images/11042025/08/24/image_11042025_08_24_15_9352.jpg', '/home/pi/Desktop/images/11042025/08/24/image_11042025_08_24_26_10385.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/08/23/image_11042025_08_23_25_9372.jpg
/home/pi/Desktop/images/11042025/08/23/image_11042025_08_23_36_10412.jpg
/home/pi/Desktop/images/11042025/08/23/image_11042025_08_23_46_10351.jpg
/home/pi/Desktop/images/11042025/08/23/image_11042025_08_23_55_9368.jpg
/home/pi/Desktop/images/11042025/08/24/image_11042025_08_24_15_9352.jpg
/home/pi/Desktop/images/11042025/08/24/image_11042025_08_24_26_10385.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-11 10:59:04.052939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/08/23/image_11042025_08_23_25_9372.jpg', '/home/pi/Desktop/images/11042025/08/23/image_11042025_08_23_36_10412.jpg', '/home/pi/Desktop/images/11042025/08/23/image_11042025_08_23_46_10351.jpg', '/home/pi/Desktop/images/11042025/08/23/image_11042025_08_23_55_9368.jpg', '/home/pi/Desktop/images/11042025/08/24/image_11042025_08_24_15_9352.jpg', '/home/pi/Desktop/images/11042025/08/24/image_11042025_08_24_26_10385.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/08/23/image_11042025_08_23_25_9372.jpg
/home/pi/Desktop/images/11042025/08/23/image_11042025_08_23_36_10412.jpg
/home/pi/Desktop/images/11042025/08/23/image_11042025_08_23_46_10351.jpg
/home/pi/Desktop/images/11042025/08/23/image_11042025_08_23_55_9368.jpg
/home/pi/Desktop/images/11042025/08/24/image_11042025_08_24_15_9352.jpg
/home/pi/Desktop/images/11042025/08/24/image_11042025_08_24_26_10385.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351583732","1351583648","1351583617","1351583704","1351583676","1351583757"],"photo_ids_order":["1351583617","1351583648","1351583676","1351583704","1351583732","1351583757"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1552eec996add79260eadfb6952f7719.jpg","text":"TemporaryFile(/tmp/multipartBody3214854774952949420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362004938,"filename":"image_11042025_08_24_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/11/0cc4680ee66cfd68da0a006340c658b8.jpg","text":"TemporaryFile(/tmp/multipartBody3150069296719700015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362004938,"filename":"image_11042025_08_23_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/11/03a8a050fc51b93dc9c5d6168641e404.jpg","text":"TemporaryFile(/tmp/multipartBody739553607420816066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362004938,"filename":"image_11042025_08_23_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/11/b2e0aaa93d87d414f05f0ba22c0f4323.jpg","text":"TemporaryFile(/tmp/multipartBody5488956166686728543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362004938,"filename":"image_11042025_08_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/11/b7301ed85c864a3d241c16a938d5d8c3.jpg","text":"TemporaryFile(/tmp/multipartBody1348484512732763294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362004938,"filename":"image_11042025_08_23_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/11/b03f9c0cd529b79a48642b96cd0777b5.jpg","text":"TemporaryFile(/tmp/multipartBody5522256089726982635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362004938,"filename":"image_11042025_08_24_26_10385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351583676","file1":"1351583648","file0":"1351583617","file4":"1351583732","file5":"1351583757","file3":"1351583704"},"map_files_photo_id_array":[{"photo_id":"1351583757","filename":"file5"},{"photo_id":"1351583676","filename":"file2"},{"photo_id":"1351583732","filename":"file4"},{"photo_id":"1351583648","filename":"file1"},{"photo_id":"1351583617","filename":"file0"},{"photo_id":"1351583704","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351583732":["hashtag1","hashtag2"]},{"1351583648":["hashtag1","hashtag2"]},{"1351583617":["hashtag1","hashtag2"]},{"1351583704":["hashtag1","hashtag2"]},{"1351583676":["hashtag1","hashtag2"]},{"1351583757":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351583732, 1351583648, 1351583617, 1351583704, 1351583676, 1351583757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.01737356185913 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 10:59:43.181380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/08/24/image_11042025_08_24_36_10437.jpg', '/home/pi/Desktop/images/11042025/08/24/image_11042025_08_24_45_9349.jpg', '/home/pi/Desktop/images/11042025/08/24/image_11042025_08_25_06_10351.jpg', '/home/pi/Desktop/images/11042025/08/25/image_11042025_08_25_16_9337.jpg', '/home/pi/Desktop/images/11042025/08/25/image_11042025_08_25_26_10425.jpg', '/home/pi/Desktop/images/11042025/08/25/image_11042025_08_25_35_9364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/08/24/image_11042025_08_24_36_10437.jpg
/home/pi/Desktop/images/11042025/08/24/image_11042025_08_24_45_9349.jpg
/home/pi/Desktop/images/11042025/08/24/image_11042025_08_25_06_10351.jpg
/home/pi/Desktop/images/11042025/08/25/image_11042025_08_25_16_9337.jpg
/home/pi/Desktop/images/11042025/08/25/image_11042025_08_25_26_10425.jpg
/home/pi/Desktop/images/11042025/08/25/image_11042025_08_25_35_9364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351583910","1351583939","1351583950","1351583833","1351583865","1351583967"],"photo_ids_order":["1351583833","1351583865","1351583910","1351583939","1351583950","1351583967"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/cd46475bfa4bd32ad384e6dc653b9373.jpg","text":"TemporaryFile(/tmp/multipartBody3784065327838982875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362043656,"filename":"image_11042025_08_25_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/11/d0155fef9090e4d686928cf48983219b.jpg","text":"TemporaryFile(/tmp/multipartBody1336628556310221643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362043656,"filename":"image_11042025_08_25_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/11/0fa83d04515d0a65bf4bbb2e7f501814.jpg","text":"TemporaryFile(/tmp/multipartBody1549361535187161364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362043656,"filename":"image_11042025_08_25_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/11/715006b5a41216d1ad22c02320a7ca47.jpg","text":"TemporaryFile(/tmp/multipartBody8703800039727374958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362043656,"filename":"image_11042025_08_24_36_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/339c416fbea4d4c8ded8a3bbc2b6a1fd.jpg","text":"TemporaryFile(/tmp/multipartBody8569008528927633387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362043656,"filename":"image_11042025_08_24_45_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c90ec7389f6539eb14769d6c7b285dd3.jpg","text":"TemporaryFile(/tmp/multipartBody6774717408289751738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362043656,"filename":"image_11042025_08_25_35_9364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351583910","file1":"1351583865","file0":"1351583833","file4":"1351583950","file5":"1351583967","file3":"1351583939"},"map_files_photo_id_array":[{"photo_id":"1351583967","filename":"file5"},{"photo_id":"1351583910","filename":"file2"},{"photo_id":"1351583950","filename":"file4"},{"photo_id":"1351583865","filename":"file1"},{"photo_id":"1351583833","filename":"file0"},{"photo_id":"1351583939","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351583910":["hashtag1","hashtag2"]},{"1351583939":["hashtag1","hashtag2"]},{"1351583950":["hashtag1","hashtag2"]},{"1351583833":["hashtag1","hashtag2"]},{"1351583865":["hashtag1","hashtag2"]},{"1351583967":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351583910, 1351583939, 1351583950, 1351583833, 1351583865, 1351583967)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.495734214782715 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 11:00:32.270360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/08/25/image_11042025_08_25_46_10472.jpg', '/home/pi/Desktop/images/11042025/08/25/image_11042025_08_25_56_10346.jpg', '/home/pi/Desktop/images/11042025/08/25/image_11042025_08_26_06_9346.jpg', '/home/pi/Desktop/images/11042025/08/26/image_11042025_08_26_16_10367.jpg', '/home/pi/Desktop/images/11042025/08/26/image_11042025_08_26_25_9394.jpg', '/home/pi/Desktop/images/11042025/08/26/image_11042025_08_26_36_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/08/25/image_11042025_08_25_46_10472.jpg
/home/pi/Desktop/images/11042025/08/25/image_11042025_08_25_56_10346.jpg
/home/pi/Desktop/images/11042025/08/25/image_11042025_08_26_06_9346.jpg
/home/pi/Desktop/images/11042025/08/26/image_11042025_08_26_16_10367.jpg
/home/pi/Desktop/images/11042025/08/26/image_11042025_08_26_25_9394.jpg
/home/pi/Desktop/images/11042025/08/26/image_11042025_08_26_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":["1351584194","1351584047","1351584082","1351584118","1351584156","1351584039"],"photo_ids_order":["1351584039","1351584047","1351584082","1351584118","1351584156","1351584194"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a8503b022da1de364256ec4851030e5c.jpg","text":"TemporaryFile(/tmp/multipartBody6467475284530799938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362092753,"filename":"image_11042025_08_26_36_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e46da8d513d94ed1252c5c08acc75065.jpg","text":"TemporaryFile(/tmp/multipartBody4083709917318356214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362092753,"filename":"image_11042025_08_25_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/11/6f132fa73704ea53bcc9b051c0f519e3.jpg","text":"TemporaryFile(/tmp/multipartBody3291389125768282799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362092753,"filename":"image_11042025_08_26_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/11/6c1e3ea17c1956fd6d17dc528b7b32b8.jpg","text":"TemporaryFile(/tmp/multipartBody6933269293715558297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362092753,"filename":"image_11042025_08_26_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/11/b4c8875b0ff25ce3b36e6870483a78d0.jpg","text":"TemporaryFile(/tmp/multipartBody6036941692673966653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362092753,"filename":"image_11042025_08_26_25_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f220777f4a25ee993b0923f21511d4eb.jpg","text":"TemporaryFile(/tmp/multipartBody2399190317276044364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362092753,"filename":"image_11042025_08_25_46_10472.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351584082","file1":"1351584047","file0":"1351584039","file4":"1351584156","file5":"1351584194","file3":"1351584118"},"map_files_photo_id_array":[{"photo_id":"1351584194","filename":"file5"},{"photo_id":"1351584082","filename":"file2"},{"photo_id":"1351584156","filename":"file4"},{"photo_id":"1351584047","filename":"file1"},{"photo_id":"1351584039","filename":"file0"},{"photo_id":"1351584118","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351584194":["hashtag1","hashtag2"]},{"1351584047":["hashtag1","hashtag2"]},{"1351584082":["hashtag1","hashtag2"]},{"1351584118":["hashtag1","hashtag2"]},{"1351584156":["hashtag1","hashtag2"]},{"1351584039":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351584194, 1351584047, 1351584082, 1351584118, 1351584156, 1351584039)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.05187010765076 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 11:01:32.495302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/08/26/image_11042025_08_26_46_10457.jpg', '/home/pi/Desktop/images/11042025/08/26/image_11042025_08_26_55_9345.jpg', '/home/pi/Desktop/images/11042025/08/26/image_11042025_08_27_06_10456.jpg', '/home/pi/Desktop/images/11042025/08/27/image_11042025_08_27_26_10356.jpg', '/home/pi/Desktop/images/11042025/08/27/image_11042025_08_27_36_10414.jpg', '/home/pi/Desktop/images/11042025/08/27/image_11042025_08_27_45_9391.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/08/26/image_11042025_08_26_46_10457.jpg
/home/pi/Desktop/images/11042025/08/26/image_11042025_08_26_55_9345.jpg
/home/pi/Desktop/images/11042025/08/26/image_11042025_08_27_06_10456.jpg
/home/pi/Desktop/images/11042025/08/27/image_11042025_08_27_26_10356.jpg
/home/pi/Desktop/images/11042025/08/27/image_11042025_08_27_36_10414.jpg
/home/pi/Desktop/images/11042025/08/27/image_11042025_08_27_45_9391.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351584341","1351584311","1351584430","1351584474","1351584381","1351584561"],"photo_ids_order":["1351584311","1351584341","1351584381","1351584430","1351584474","1351584561"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/fd1166c43aec041952e98f1106f8f3b6.jpg","text":"TemporaryFile(/tmp/multipartBody6864069738361946615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362152962,"filename":"image_11042025_08_26_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/11/0cedc98af194a4fdc6bc31274f7e3efc.jpg","text":"TemporaryFile(/tmp/multipartBody5785333084130802606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362152962,"filename":"image_11042025_08_26_46_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/11/80c36aebce748b4d2f54d2906544d794.jpg","text":"TemporaryFile(/tmp/multipartBody765985080672062049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362152962,"filename":"image_11042025_08_27_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/11/1229b516ea5dfa6a8760539a8ea5bd8a.jpg","text":"TemporaryFile(/tmp/multipartBody1449791582460157864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362152962,"filename":"image_11042025_08_27_36_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4ffebc00e5c92fcb696f59bd5623fb38.jpg","text":"TemporaryFile(/tmp/multipartBody5914268204894229437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362152962,"filename":"image_11042025_08_27_06_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/fbb807a54c03bdfd53db8353505227ba.jpg","text":"TemporaryFile(/tmp/multipartBody334038689959143710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362152962,"filename":"image_11042025_08_27_45_9391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351584381","file1":"1351584341","file0":"1351584311","file4":"1351584474","file5":"1351584561","file3":"1351584430"},"map_files_photo_id_array":[{"photo_id":"1351584561","filename":"file5"},{"photo_id":"1351584381","filename":"file2"},{"photo_id":"1351584474","filename":"file4"},{"photo_id":"1351584341","filename":"file1"},{"photo_id":"1351584311","filename":"file0"},{"photo_id":"1351584430","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351584341":["hashtag1","hashtag2"]},{"1351584311":["hashtag1","hashtag2"]},{"1351584430":["hashtag1","hashtag2"]},{"1351584474":["hashtag1","hashtag2"]},{"1351584381":["hashtag1","hashtag2"]},{"1351584561":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351584341, 1351584311, 1351584430, 1351584474, 1351584381, 1351584561)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.53346037864685 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 11:02:32.907424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/08/28/image_11042025_08_28_16_9344.jpg', '/home/pi/Desktop/images/11042025/08/28/image_11042025_08_28_26_10462.jpg', '/home/pi/Desktop/images/11042025/08/28/image_11042025_08_28_35_9442.jpg', '/home/pi/Desktop/images/11042025/08/28/image_11042025_08_29_06_10477.jpg', '/home/pi/Desktop/images/11042025/08/29/image_11042025_08_29_26_9371.jpg', '/home/pi/Desktop/images/11042025/08/29/image_11042025_08_29_36_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/08/28/image_11042025_08_28_16_9344.jpg
/home/pi/Desktop/images/11042025/08/28/image_11042025_08_28_26_10462.jpg
/home/pi/Desktop/images/11042025/08/28/image_11042025_08_28_35_9442.jpg
/home/pi/Desktop/images/11042025/08/28/image_11042025_08_29_06_10477.jpg
/home/pi/Desktop/images/11042025/08/29/image_11042025_08_29_26_9371.jpg
/home/pi/Desktop/images/11042025/08/29/image_11042025_08_29_36_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351584845","1351585120","1351585074","1351585335","1351585170","1351585218"],"photo_ids_order":["1351584845","1351585074","1351585120","1351585170","1351585218","1351585335"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/cb510dd04f30d75a7fb58ac3500a526b.jpg","text":"TemporaryFile(/tmp/multipartBody4803483993748283738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362213368,"filename":"image_11042025_08_28_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/11/7334e47f682e416facbe373111b9c7de.jpg","text":"TemporaryFile(/tmp/multipartBody5190524094096889888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362213368,"filename":"image_11042025_08_28_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/11/a4e73bb35842fc830f470683dc58751f.jpg","text":"TemporaryFile(/tmp/multipartBody4402683601436369627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362213368,"filename":"image_11042025_08_28_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/11/925878d9646e0d66bfd578285ec92fb3.jpg","text":"TemporaryFile(/tmp/multipartBody3007826199468842836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362213368,"filename":"image_11042025_08_29_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/11/8faf226d7d3b4ec1b91a748268df8917.jpg","text":"TemporaryFile(/tmp/multipartBody3552757502651144865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362213368,"filename":"image_11042025_08_29_06_10477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2e2cb240627122b2517338b78c7a9d38.jpg","text":"TemporaryFile(/tmp/multipartBody8785660598192016790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362213368,"filename":"image_11042025_08_29_26_9371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351585120","file1":"1351585074","file0":"1351584845","file4":"1351585218","file5":"1351585335","file3":"1351585170"},"map_files_photo_id_array":[{"photo_id":"1351585335","filename":"file5"},{"photo_id":"1351585120","filename":"file2"},{"photo_id":"1351585218","filename":"file4"},{"photo_id":"1351585074","filename":"file1"},{"photo_id":"1351584845","filename":"file0"},{"photo_id":"1351585170","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351584845":["hashtag1","hashtag2"]},{"1351585120":["hashtag1","hashtag2"]},{"1351585074":["hashtag1","hashtag2"]},{"1351585335":["hashtag1","hashtag2"]},{"1351585170":["hashtag1","hashtag2"]},{"1351585218":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351584845, 1351585120, 1351585074, 1351585335, 1351585170, 1351585218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 69.24312853813171 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 11:03:53.110179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/08/29/image_11042025_08_29_45_9336.jpg', '/home/pi/Desktop/images/11042025/08/29/image_11042025_08_30_06_10425.jpg', '/home/pi/Desktop/images/11042025/08/30/image_11042025_08_30_15_9350.jpg', '/home/pi/Desktop/images/11042025/08/30/image_11042025_08_30_26_10418.jpg', '/home/pi/Desktop/images/11042025/08/30/image_11042025_08_30_56_10430.jpg', '/home/pi/Desktop/images/11042025/08/30/image_11042025_08_31_05_9442.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/08/29/image_11042025_08_29_45_9336.jpg
/home/pi/Desktop/images/11042025/08/29/image_11042025_08_30_06_10425.jpg
/home/pi/Desktop/images/11042025/08/30/image_11042025_08_30_15_9350.jpg
/home/pi/Desktop/images/11042025/08/30/image_11042025_08_30_26_10418.jpg
/home/pi/Desktop/images/11042025/08/30/image_11042025_08_30_56_10430.jpg
/home/pi/Desktop/images/11042025/08/30/image_11042025_08_31_05_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":["1351585594","1351585675","1351585627","1351585738","1351585566","1351585806"],"photo_ids_order":["1351585566","1351585594","1351585627","1351585675","1351585738","1351585806"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c0948ee7f1ddc6c03b98c967fb0490b9.jpg","text":"TemporaryFile(/tmp/multipartBody5527442400610412901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362293568,"filename":"image_11042025_08_30_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/11/c001ef41918d6b9ec5a5b6afd6928a1a.jpg","text":"TemporaryFile(/tmp/multipartBody9207283250844537436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362293568,"filename":"image_11042025_08_30_26_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/699776225efed0461464336891641ed9.jpg","text":"TemporaryFile(/tmp/multipartBody3184547482373004886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362293568,"filename":"image_11042025_08_30_15_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ee953caae90c4e4f2d9770959474e7b9.jpg","text":"TemporaryFile(/tmp/multipartBody4615291303628399751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362293568,"filename":"image_11042025_08_30_56_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e94d653fe3304da2511413340832b888.jpg","text":"TemporaryFile(/tmp/multipartBody5934926948766519813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362293568,"filename":"image_11042025_08_29_45_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0c6131c88a81e8e9b125f065cf94e814.jpg","text":"TemporaryFile(/tmp/multipartBody5655576490220207230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362293568,"filename":"image_11042025_08_31_05_9442.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351585627","file1":"1351585594","file0":"1351585566","file4":"1351585738","file5":"1351585806","file3":"1351585675"},"map_files_photo_id_array":[{"photo_id":"1351585806","filename":"file5"},{"photo_id":"1351585627","filename":"file2"},{"photo_id":"1351585738","filename":"file4"},{"photo_id":"1351585594","filename":"file1"},{"photo_id":"1351585566","filename":"file0"},{"photo_id":"1351585675","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351585594":["hashtag1","hashtag2"]},{"1351585675":["hashtag1","hashtag2"]},{"1351585627":["hashtag1","hashtag2"]},{"1351585738":["hashtag1","hashtag2"]},{"1351585566":["hashtag1","hashtag2"]},{"1351585806":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351585594, 1351585675, 1351585627, 1351585738, 1351585566, 1351585806)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.62570571899414 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 11:04:52.206668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/08/31/image_11042025_08_31_16_10389.jpg', '/home/pi/Desktop/images/11042025/08/31/image_11042025_08_31_26_10370.jpg', '/home/pi/Desktop/images/11042025/08/31/image_11042025_08_31_36_9345.jpg', '/home/pi/Desktop/images/11042025/08/31/image_11042025_08_31_46_10384.jpg', '/home/pi/Desktop/images/11042025/08/31/image_11042025_08_31_55_9346.jpg', '/home/pi/Desktop/images/11042025/08/31/image_11042025_08_32_06_10346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/08/31/image_11042025_08_31_16_10389.jpg
/home/pi/Desktop/images/11042025/08/31/image_11042025_08_31_26_10370.jpg
/home/pi/Desktop/images/11042025/08/31/image_11042025_08_31_36_9345.jpg
/home/pi/Desktop/images/11042025/08/31/image_11042025_08_31_46_10384.jpg
/home/pi/Desktop/images/11042025/08/31/image_11042025_08_31_55_9346.jpg
/home/pi/Desktop/images/11042025/08/31/image_11042025_08_32_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":["1351586140","1351586062","1351586152","1351585924","1351586025","1351586191"],"photo_ids_order":["1351585924","1351586025","1351586062","1351586140","1351586152","1351586191"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/950b2b0d7fb903d46a743f3b4a0dc2f0.jpg","text":"TemporaryFile(/tmp/multipartBody7728777153785175939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362352687,"filename":"image_11042025_08_31_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/11/e06b0f967c265836d2bb310efd50348e.jpg","text":"TemporaryFile(/tmp/multipartBody6865342954641162116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362352687,"filename":"image_11042025_08_31_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/11/e8e49c4f3b4f06b2b2904e006773b7e9.jpg","text":"TemporaryFile(/tmp/multipartBody7987056818735701561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362352687,"filename":"image_11042025_08_31_55_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7b9fd6e224c60dae6d59dfc1e8b0b80a.jpg","text":"TemporaryFile(/tmp/multipartBody60497112289146207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362352687,"filename":"image_11042025_08_31_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/11/f127f1d15aac565854ab45c4ee0ce2b3.jpg","text":"TemporaryFile(/tmp/multipartBody1125147314123932140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362352687,"filename":"image_11042025_08_31_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/11/70e8937080a9a02f109b2b4e84d80962.jpg","text":"TemporaryFile(/tmp/multipartBody113696047988052040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362352687,"filename":"image_11042025_08_32_06_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351586062","file1":"1351586025","file0":"1351585924","file4":"1351586152","file5":"1351586191","file3":"1351586140"},"map_files_photo_id_array":[{"photo_id":"1351586191","filename":"file5"},{"photo_id":"1351586062","filename":"file2"},{"photo_id":"1351586152","filename":"file4"},{"photo_id":"1351586025","filename":"file1"},{"photo_id":"1351585924","filename":"file0"},{"photo_id":"1351586140","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351586140":["hashtag1","hashtag2"]},{"1351586062":["hashtag1","hashtag2"]},{"1351586152":["hashtag1","hashtag2"]},{"1351585924":["hashtag1","hashtag2"]},{"1351586025":["hashtag1","hashtag2"]},{"1351586191":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351586140, 1351586062, 1351586152, 1351585924, 1351586025, 1351586191)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.900336027145386 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 11:05:52.537417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/08/32/image_11042025_08_32_16_10378.jpg', '/home/pi/Desktop/images/11042025/08/32/image_11042025_08_32_25_9357.jpg', '/home/pi/Desktop/images/11042025/08/32/image_11042025_08_32_36_10468.jpg', '/home/pi/Desktop/images/11042025/08/32/image_11042025_08_32_46_10353.jpg', '/home/pi/Desktop/images/11042025/08/32/image_11042025_08_32_56_9374.jpg', '/home/pi/Desktop/images/11042025/08/32/image_11042025_08_33_06_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/08/32/image_11042025_08_32_16_10378.jpg
/home/pi/Desktop/images/11042025/08/32/image_11042025_08_32_25_9357.jpg
/home/pi/Desktop/images/11042025/08/32/image_11042025_08_32_36_10468.jpg
/home/pi/Desktop/images/11042025/08/32/image_11042025_08_32_46_10353.jpg
/home/pi/Desktop/images/11042025/08/32/image_11042025_08_32_56_9374.jpg
/home/pi/Desktop/images/11042025/08/32/image_11042025_08_33_06_10351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351586464","1351586533","1351586503","1351586442","1351586373","1351586420"],"photo_ids_order":["1351586373","1351586420","1351586442","1351586464","1351586503","1351586533"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/16cb4e29d66f6e34e952e60e7304fccd.jpg","text":"TemporaryFile(/tmp/multipartBody4777025318473448606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362413001,"filename":"image_11042025_08_32_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/11/420ba40e8bf6172c5679cd068ad69f18.jpg","text":"TemporaryFile(/tmp/multipartBody7581748942483614865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362413001,"filename":"image_11042025_08_33_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/11/6c024695c46cc4bf16545210bcfc0055.jpg","text":"TemporaryFile(/tmp/multipartBody2423165404085607825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362413001,"filename":"image_11042025_08_32_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/11/859798b4d5e3e8d23d1170b638e0d187.jpg","text":"TemporaryFile(/tmp/multipartBody297125655221759918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362413001,"filename":"image_11042025_08_32_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/11/444fee94162e47ba6cea378c7738205a.jpg","text":"TemporaryFile(/tmp/multipartBody1644193847259344081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362413001,"filename":"image_11042025_08_32_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/11/abe0c6ce45fcfe69ff222c22dd10ca9d.jpg","text":"TemporaryFile(/tmp/multipartBody5666274925158445152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362413001,"filename":"image_11042025_08_32_25_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351586442","file1":"1351586420","file0":"1351586373","file4":"1351586503","file5":"1351586533","file3":"1351586464"},"map_files_photo_id_array":[{"photo_id":"1351586533","filename":"file5"},{"photo_id":"1351586442","filename":"file2"},{"photo_id":"1351586503","filename":"file4"},{"photo_id":"1351586420","filename":"file1"},{"photo_id":"1351586373","filename":"file0"},{"photo_id":"1351586464","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351586464":["hashtag1","hashtag2"]},{"1351586533":["hashtag1","hashtag2"]},{"1351586503":["hashtag1","hashtag2"]},{"1351586442":["hashtag1","hashtag2"]},{"1351586373":["hashtag1","hashtag2"]},{"1351586420":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351586464, 1351586533, 1351586503, 1351586442, 1351586373, 1351586420)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.50792908668518 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 11:06:42.782082
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/08/33/image_11042025_08_33_15_9355.jpg', '/home/pi/Desktop/images/11042025/08/33/image_11042025_08_33_26_10394.jpg', '/home/pi/Desktop/images/11042025/08/33/image_11042025_08_33_36_10404.jpg', '/home/pi/Desktop/images/11042025/08/33/image_11042025_08_33_45_9360.jpg', '/home/pi/Desktop/images/11042025/08/33/image_11042025_08_33_56_10464.jpg', '/home/pi/Desktop/images/11042025/08/33/image_11042025_08_34_06_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/08/33/image_11042025_08_33_15_9355.jpg
/home/pi/Desktop/images/11042025/08/33/image_11042025_08_33_26_10394.jpg
/home/pi/Desktop/images/11042025/08/33/image_11042025_08_33_36_10404.jpg
/home/pi/Desktop/images/11042025/08/33/image_11042025_08_33_45_9360.jpg
/home/pi/Desktop/images/11042025/08/33/image_11042025_08_33_56_10464.jpg
/home/pi/Desktop/images/11042025/08/33/image_11042025_08_34_06_10351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351586749","1351586911","1351587000","1351586838","1351586957","1351587107"],"photo_ids_order":["1351586749","1351586838","1351586911","1351586957","1351587000","1351587107"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/104ce2fa1f386fcf1106b64135b4f66a.jpg","text":"TemporaryFile(/tmp/multipartBody6395084582016377909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362463247,"filename":"image_11042025_08_33_15_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/35cd7044bf303a64735d93bdb21229bb.jpg","text":"TemporaryFile(/tmp/multipartBody38665744318424120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362463247,"filename":"image_11042025_08_33_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/11/f52427d5eeef8fd6757ee7269819bb1e.jpg","text":"TemporaryFile(/tmp/multipartBody6970358022382755024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362463247,"filename":"image_11042025_08_33_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/11/822019aee2122af8735591d228fe6f56.jpg","text":"TemporaryFile(/tmp/multipartBody827575234023561451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362463247,"filename":"image_11042025_08_33_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/11/dbe58a751375e5258f447cb5b31acfec.jpg","text":"TemporaryFile(/tmp/multipartBody6816998406470777125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362463247,"filename":"image_11042025_08_33_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/11/b1a59178857930a6f1f54984be05d765.jpg","text":"TemporaryFile(/tmp/multipartBody1021267776093987892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362463247,"filename":"image_11042025_08_34_06_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351586911","file1":"1351586838","file0":"1351586749","file4":"1351587000","file5":"1351587107","file3":"1351586957"},"map_files_photo_id_array":[{"photo_id":"1351587107","filename":"file5"},{"photo_id":"1351586911","filename":"file2"},{"photo_id":"1351587000","filename":"file4"},{"photo_id":"1351586838","filename":"file1"},{"photo_id":"1351586749","filename":"file0"},{"photo_id":"1351586957","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351586749":["hashtag1","hashtag2"]},{"1351586911":["hashtag1","hashtag2"]},{"1351587000":["hashtag1","hashtag2"]},{"1351586838":["hashtag1","hashtag2"]},{"1351586957":["hashtag1","hashtag2"]},{"1351587107":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351586749, 1351586911, 1351587000, 1351586838, 1351586957, 1351587107)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.96026301383972 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 11:07:33.070942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/08/34/image_11042025_08_34_16_9378.jpg', '/home/pi/Desktop/images/11042025/08/34/image_11042025_08_34_26_10352.jpg', '/home/pi/Desktop/images/11042025/08/34/image_11042025_08_34_35_9360.jpg', '/home/pi/Desktop/images/11042025/08/34/image_11042025_08_34_46_10416.jpg', '/home/pi/Desktop/images/11042025/08/34/image_11042025_08_34_56_10414.jpg', '/home/pi/Desktop/images/11042025/08/34/image_11042025_08_35_05_9340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/08/34/image_11042025_08_34_16_9378.jpg
/home/pi/Desktop/images/11042025/08/34/image_11042025_08_34_26_10352.jpg
/home/pi/Desktop/images/11042025/08/34/image_11042025_08_34_35_9360.jpg
/home/pi/Desktop/images/11042025/08/34/image_11042025_08_34_46_10416.jpg
/home/pi/Desktop/images/11042025/08/34/image_11042025_08_34_56_10414.jpg
/home/pi/Desktop/images/11042025/08/34/image_11042025_08_35_05_9340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351587448","1351587810","1351587359","1351587722","1351587281","1351587416"],"photo_ids_order":["1351587281","1351587359","1351587416","1351587448","1351587722","1351587810"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e0009e0936f5212ee289a507190e2228.jpg","text":"TemporaryFile(/tmp/multipartBody6213232356196421817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362513542,"filename":"image_11042025_08_34_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/11/cb400e4f12f1544e4b8c71959e9480a9.jpg","text":"TemporaryFile(/tmp/multipartBody479196916879666976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362513542,"filename":"image_11042025_08_35_05_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ba261c19299bd1823ac3a5e3475a4ef8.jpg","text":"TemporaryFile(/tmp/multipartBody703755340192593294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362513542,"filename":"image_11042025_08_34_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/11/261e6dec494eb81890692ed73b45c2b9.jpg","text":"TemporaryFile(/tmp/multipartBody2426702455912914475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362513542,"filename":"image_11042025_08_34_56_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d7abd0c0a0b805fdf091cf416dc3a834.jpg","text":"TemporaryFile(/tmp/multipartBody3404026340200155126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362513542,"filename":"image_11042025_08_34_16_9378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/41cfe8bf92f8e87a24668b0fd5450316.jpg","text":"TemporaryFile(/tmp/multipartBody912319158955832107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362513542,"filename":"image_11042025_08_34_35_9360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351587416","file1":"1351587359","file0":"1351587281","file4":"1351587722","file5":"1351587810","file3":"1351587448"},"map_files_photo_id_array":[{"photo_id":"1351587810","filename":"file5"},{"photo_id":"1351587416","filename":"file2"},{"photo_id":"1351587722","filename":"file4"},{"photo_id":"1351587359","filename":"file1"},{"photo_id":"1351587281","filename":"file0"},{"photo_id":"1351587448","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351587448":["hashtag1","hashtag2"]},{"1351587810":["hashtag1","hashtag2"]},{"1351587359":["hashtag1","hashtag2"]},{"1351587722":["hashtag1","hashtag2"]},{"1351587281":["hashtag1","hashtag2"]},{"1351587416":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351587448, 1351587810, 1351587359, 1351587722, 1351587281, 1351587416)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.185823917388916 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 11:08:32.234757
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/08/35/image_11042025_08_35_16_10410.jpg', '/home/pi/Desktop/images/11042025/08/35/image_11042025_08_35_25_9358.jpg', '/home/pi/Desktop/images/11042025/08/35/image_11042025_08_35_36_10355.jpg', '/home/pi/Desktop/images/11042025/08/35/image_11042025_08_35_46_10431.jpg', '/home/pi/Desktop/images/11042025/08/35/image_11042025_08_35_55_9359.jpg', '/home/pi/Desktop/images/11042025/08/35/image_11042025_08_36_06_10402.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/08/35/image_11042025_08_35_16_10410.jpg
/home/pi/Desktop/images/11042025/08/35/image_11042025_08_35_25_9358.jpg
/home/pi/Desktop/images/11042025/08/35/image_11042025_08_35_36_10355.jpg
/home/pi/Desktop/images/11042025/08/35/image_11042025_08_35_46_10431.jpg
/home/pi/Desktop/images/11042025/08/35/image_11042025_08_35_55_9359.jpg
/home/pi/Desktop/images/11042025/08/35/image_11042025_08_36_06_10402.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351588091","1351588175","1351588136","1351588223","1351588294","1351588267"],"photo_ids_order":["1351588091","1351588136","1351588175","1351588223","1351588267","1351588294"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/20de6f8853dbfd695d7a35d8e7d0aed9.jpg","text":"TemporaryFile(/tmp/multipartBody8380963243648193686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362572711,"filename":"image_11042025_08_35_16_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9b03117d536d1608b2647361e3896a78.jpg","text":"TemporaryFile(/tmp/multipartBody3541921119870517073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362572711,"filename":"image_11042025_08_35_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/11/966bcf3e7d843d98e23e28c01dfcc131.jpg","text":"TemporaryFile(/tmp/multipartBody4065492556769280833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362572711,"filename":"image_11042025_08_35_25_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/98ba8372d24da0f94ac36fd514ec404b.jpg","text":"TemporaryFile(/tmp/multipartBody1562596846442928760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362572711,"filename":"image_11042025_08_35_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/11/80c509d469469af8ff74f5c2f523047d.jpg","text":"TemporaryFile(/tmp/multipartBody3489056346051281919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362572711,"filename":"image_11042025_08_36_06_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a4cbf72bcf6a2043a091ea2e0010eb7d.jpg","text":"TemporaryFile(/tmp/multipartBody2943107118684131119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362572711,"filename":"image_11042025_08_35_55_9359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351588175","file1":"1351588136","file0":"1351588091","file4":"1351588267","file5":"1351588294","file3":"1351588223"},"map_files_photo_id_array":[{"photo_id":"1351588294","filename":"file5"},{"photo_id":"1351588175","filename":"file2"},{"photo_id":"1351588267","filename":"file4"},{"photo_id":"1351588136","filename":"file1"},{"photo_id":"1351588091","filename":"file0"},{"photo_id":"1351588223","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351588091":["hashtag1","hashtag2"]},{"1351588175":["hashtag1","hashtag2"]},{"1351588136":["hashtag1","hashtag2"]},{"1351588223":["hashtag1","hashtag2"]},{"1351588294":["hashtag1","hashtag2"]},{"1351588267":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351588091, 1351588175, 1351588136, 1351588223, 1351588294, 1351588267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.68379497528076 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 11:09:32.520149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/08/36/image_11042025_08_36_16_10370.jpg', '/home/pi/Desktop/images/11042025/08/36/image_11042025_08_36_25_9345.jpg', '/home/pi/Desktop/images/11042025/08/36/image_11042025_08_36_36_10425.jpg', '/home/pi/Desktop/images/11042025/08/36/image_11042025_08_36_45_9330.jpg', '/home/pi/Desktop/images/11042025/08/36/image_11042025_08_36_56_10344.jpg', '/home/pi/Desktop/images/11042025/08/37/image_11042025_08_37_15_9420.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/08/36/image_11042025_08_36_16_10370.jpg
/home/pi/Desktop/images/11042025/08/36/image_11042025_08_36_25_9345.jpg
/home/pi/Desktop/images/11042025/08/36/image_11042025_08_36_36_10425.jpg
/home/pi/Desktop/images/11042025/08/36/image_11042025_08_36_45_9330.jpg
/home/pi/Desktop/images/11042025/08/36/image_11042025_08_36_56_10344.jpg
/home/pi/Desktop/images/11042025/08/37/image_11042025_08_37_15_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":["1351588989","1351588926","1351589033","1351588795","1351588858","1351588672"],"photo_ids_order":["1351588672","1351588795","1351588858","1351588926","1351588989","1351589033"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/23ae374708035dce7bbaabf307328c10.jpg","text":"TemporaryFile(/tmp/multipartBody7659923442172908571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362632996,"filename":"image_11042025_08_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/11/496c858a9c9a0e0481ee3a315fc5cb4a.jpg","text":"TemporaryFile(/tmp/multipartBody461320951149356945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362632996,"filename":"image_11042025_08_36_45_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3c58af6f2ce63ee5c8a14a89712bc84d.jpg","text":"TemporaryFile(/tmp/multipartBody6606101803306934405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362632996,"filename":"image_11042025_08_37_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/11/6ad749a7601446af83df5850c1793c5e.jpg","text":"TemporaryFile(/tmp/multipartBody3866005589520398988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362632996,"filename":"image_11042025_08_36_25_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3aa11b7e010a8c6745a99137a8cebf1c.jpg","text":"TemporaryFile(/tmp/multipartBody8030722934689801310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362632996,"filename":"image_11042025_08_36_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/11/bbf1d9cb7263535affa3b66b2bde6b0f.jpg","text":"TemporaryFile(/tmp/multipartBody2852513213089214572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362632996,"filename":"image_11042025_08_36_16_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351588858","file1":"1351588795","file0":"1351588672","file4":"1351588989","file5":"1351589033","file3":"1351588926"},"map_files_photo_id_array":[{"photo_id":"1351589033","filename":"file5"},{"photo_id":"1351588858","filename":"file2"},{"photo_id":"1351588989","filename":"file4"},{"photo_id":"1351588795","filename":"file1"},{"photo_id":"1351588672","filename":"file0"},{"photo_id":"1351588926","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351588989":["hashtag1","hashtag2"]},{"1351588926":["hashtag1","hashtag2"]},{"1351589033":["hashtag1","hashtag2"]},{"1351588795":["hashtag1","hashtag2"]},{"1351588858":["hashtag1","hashtag2"]},{"1351588672":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351588989, 1351588926, 1351589033, 1351588795, 1351588858, 1351588672)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.02432322502136 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 11:10:32.821001
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/08/37/image_11042025_08_37_26_10398.jpg', '/home/pi/Desktop/images/11042025/08/37/image_11042025_08_37_36_10345.jpg', '/home/pi/Desktop/images/11042025/08/37/image_11042025_08_37_46_9355.jpg', '/home/pi/Desktop/images/11042025/08/37/image_11042025_08_37_56_10441.jpg', '/home/pi/Desktop/images/11042025/08/37/image_11042025_08_38_05_9340.jpg', '/home/pi/Desktop/images/11042025/08/38/image_11042025_08_38_16_10399.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/08/37/image_11042025_08_37_26_10398.jpg
/home/pi/Desktop/images/11042025/08/37/image_11042025_08_37_36_10345.jpg
/home/pi/Desktop/images/11042025/08/37/image_11042025_08_37_46_9355.jpg
/home/pi/Desktop/images/11042025/08/37/image_11042025_08_37_56_10441.jpg
/home/pi/Desktop/images/11042025/08/37/image_11042025_08_38_05_9340.jpg
/home/pi/Desktop/images/11042025/08/38/image_11042025_08_38_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":["1351589607","1351589582","1351589399","1351589549","1351589518","1351589475"],"photo_ids_order":["1351589399","1351589475","1351589518","1351589549","1351589582","1351589607"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e78912f46a073db4fe942ced330d0768.jpg","text":"TemporaryFile(/tmp/multipartBody5159276131918502465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362693351,"filename":"image_11042025_08_38_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/11/80c744df49f84cc59303cad5302671bd.jpg","text":"TemporaryFile(/tmp/multipartBody6987078084975666956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362693351,"filename":"image_11042025_08_38_05_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d7d54b8608ec70de03f8333edfe5d948.jpg","text":"TemporaryFile(/tmp/multipartBody3459161793709111034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362693351,"filename":"image_11042025_08_37_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/11/4026781fefe83d46078b04ac2c51cd38.jpg","text":"TemporaryFile(/tmp/multipartBody5832247344295924525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362693351,"filename":"image_11042025_08_37_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/11/65516a5b023dfed9bebd627fa1a64cd5.jpg","text":"TemporaryFile(/tmp/multipartBody1896262082819263986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362693351,"filename":"image_11042025_08_37_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/11/d90bab20d2e1a0a132e10e399928673f.jpg","text":"TemporaryFile(/tmp/multipartBody2374105329031002511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362693351,"filename":"image_11042025_08_37_36_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351589518","file1":"1351589475","file0":"1351589399","file4":"1351589582","file5":"1351589607","file3":"1351589549"},"map_files_photo_id_array":[{"photo_id":"1351589607","filename":"file5"},{"photo_id":"1351589518","filename":"file2"},{"photo_id":"1351589582","filename":"file4"},{"photo_id":"1351589475","filename":"file1"},{"photo_id":"1351589399","filename":"file0"},{"photo_id":"1351589549","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351589607":["hashtag1","hashtag2"]},{"1351589582":["hashtag1","hashtag2"]},{"1351589399":["hashtag1","hashtag2"]},{"1351589549":["hashtag1","hashtag2"]},{"1351589518":["hashtag1","hashtag2"]},{"1351589475":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351589607, 1351589582, 1351589399, 1351589549, 1351589518, 1351589475)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.346595764160156 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 11:11:33.165032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/08/38/image_11042025_08_38_26_10367.jpg', '/home/pi/Desktop/images/11042025/08/38/image_11042025_08_38_35_9319.jpg', '/home/pi/Desktop/images/11042025/08/38/image_11042025_08_38_56_10388.jpg', '/home/pi/Desktop/images/11042025/08/38/image_11042025_08_39_06_9348.jpg', '/home/pi/Desktop/images/11042025/08/39/image_11042025_08_39_16_10387.jpg', '/home/pi/Desktop/images/11042025/08/39/image_11042025_08_39_25_9353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/08/38/image_11042025_08_38_26_10367.jpg
/home/pi/Desktop/images/11042025/08/38/image_11042025_08_38_35_9319.jpg
/home/pi/Desktop/images/11042025/08/38/image_11042025_08_38_56_10388.jpg
/home/pi/Desktop/images/11042025/08/38/image_11042025_08_39_06_9348.jpg
/home/pi/Desktop/images/11042025/08/39/image_11042025_08_39_16_10387.jpg
/home/pi/Desktop/images/11042025/08/39/image_11042025_08_39_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":["1351589819","1351589807","1351589863","1351589793","1351589847","1351589841"],"photo_ids_order":["1351589793","1351589807","1351589819","1351589841","1351589847","1351589863"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6029307b6ab8feee116aea59f0499723.jpg","text":"TemporaryFile(/tmp/multipartBody2679483269833034443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362753640,"filename":"image_11042025_08_38_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/11/538f0cae33b62ca06053f7a3057f6370.jpg","text":"TemporaryFile(/tmp/multipartBody6334829071538385272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362753640,"filename":"image_11042025_08_38_35_9319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/18447a3c0f1d81284b6d1068ecc6ea9c.jpg","text":"TemporaryFile(/tmp/multipartBody5591254595052596895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362753640,"filename":"image_11042025_08_39_25_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5bfafc6055ea6e7e728741c8110eb7e0.jpg","text":"TemporaryFile(/tmp/multipartBody4374658134352873501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362753640,"filename":"image_11042025_08_38_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/11/529b8beb256feb2e92dc2edffef4d10d.jpg","text":"TemporaryFile(/tmp/multipartBody4180893692299472810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362753640,"filename":"image_11042025_08_39_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/11/301f05c339a93524cd5bcb9580181562.jpg","text":"TemporaryFile(/tmp/multipartBody8266299455382651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362753640,"filename":"image_11042025_08_39_06_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351589819","file1":"1351589807","file0":"1351589793","file4":"1351589847","file5":"1351589863","file3":"1351589841"},"map_files_photo_id_array":[{"photo_id":"1351589863","filename":"file5"},{"photo_id":"1351589819","filename":"file2"},{"photo_id":"1351589847","filename":"file4"},{"photo_id":"1351589807","filename":"file1"},{"photo_id":"1351589793","filename":"file0"},{"photo_id":"1351589841","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351589819":["hashtag1","hashtag2"]},{"1351589807":["hashtag1","hashtag2"]},{"1351589863":["hashtag1","hashtag2"]},{"1351589793":["hashtag1","hashtag2"]},{"1351589847":["hashtag1","hashtag2"]},{"1351589841":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351589819, 1351589807, 1351589863, 1351589793, 1351589847, 1351589841)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.43747305870056 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 11:12:32.307277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/08/39/image_11042025_08_39_36_10362.jpg', '/home/pi/Desktop/images/11042025/08/39/image_11042025_08_39_46_10367.jpg', '/home/pi/Desktop/images/11042025/08/39/image_11042025_08_39_55_9432.jpg', '/home/pi/Desktop/images/11042025/08/39/image_11042025_08_40_06_10424.jpg', '/home/pi/Desktop/images/11042025/08/40/image_11042025_08_40_16_10346.jpg', '/home/pi/Desktop/images/11042025/08/40/image_11042025_08_40_26_9345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/08/39/image_11042025_08_39_36_10362.jpg
/home/pi/Desktop/images/11042025/08/39/image_11042025_08_39_46_10367.jpg
/home/pi/Desktop/images/11042025/08/39/image_11042025_08_39_55_9432.jpg
/home/pi/Desktop/images/11042025/08/39/image_11042025_08_40_06_10424.jpg
/home/pi/Desktop/images/11042025/08/40/image_11042025_08_40_16_10346.jpg
/home/pi/Desktop/images/11042025/08/40/image_11042025_08_40_26_9345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351590198","1351590168","1351590059","1351590088","1351590139","1351590112"],"photo_ids_order":["1351590059","1351590088","1351590112","1351590139","1351590168","1351590198"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0709f04c88c6b5d387c53528cdcdb579.jpg","text":"TemporaryFile(/tmp/multipartBody5931572023732460014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362812771,"filename":"image_11042025_08_40_26_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/31f87fb646eeb2f78de48eb1e72179d8.jpg","text":"TemporaryFile(/tmp/multipartBody7945589718488185128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362812771,"filename":"image_11042025_08_40_16_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3525e7a0bdb9402f8ea931bfba416d52.jpg","text":"TemporaryFile(/tmp/multipartBody6073159861213975233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362812771,"filename":"image_11042025_08_39_36_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b1e0bb2a2a080c7fe75dbc7a66c74211.jpg","text":"TemporaryFile(/tmp/multipartBody1706020459240898269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362812771,"filename":"image_11042025_08_39_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/11/63b1be01697f4ab1f8f165e1d4ed6736.jpg","text":"TemporaryFile(/tmp/multipartBody8906781993870316973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362812771,"filename":"image_11042025_08_40_06_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/45b5c5330a0ec91cd15e064792a0e0c4.jpg","text":"TemporaryFile(/tmp/multipartBody3544910749781544016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362812771,"filename":"image_11042025_08_39_55_9432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351590112","file1":"1351590088","file0":"1351590059","file4":"1351590168","file5":"1351590198","file3":"1351590139"},"map_files_photo_id_array":[{"photo_id":"1351590198","filename":"file5"},{"photo_id":"1351590112","filename":"file2"},{"photo_id":"1351590168","filename":"file4"},{"photo_id":"1351590088","filename":"file1"},{"photo_id":"1351590059","filename":"file0"},{"photo_id":"1351590139","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351590198":["hashtag1","hashtag2"]},{"1351590168":["hashtag1","hashtag2"]},{"1351590059":["hashtag1","hashtag2"]},{"1351590088":["hashtag1","hashtag2"]},{"1351590139":["hashtag1","hashtag2"]},{"1351590112":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351590198, 1351590168, 1351590059, 1351590088, 1351590139, 1351590112)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.342878580093384 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 11:13:32.461570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/08/40/image_11042025_08_40_36_10458.jpg', '/home/pi/Desktop/images/11042025/08/40/image_11042025_08_40_45_9425.jpg', '/home/pi/Desktop/images/11042025/08/40/image_11042025_08_40_56_10410.jpg', '/home/pi/Desktop/images/11042025/08/40/image_11042025_08_41_05_9422.jpg', '/home/pi/Desktop/images/11042025/08/41/image_11042025_08_41_35_9375.jpg', '/home/pi/Desktop/images/11042025/08/41/image_11042025_08_41_46_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/08/40/image_11042025_08_40_36_10458.jpg
/home/pi/Desktop/images/11042025/08/40/image_11042025_08_40_45_9425.jpg
/home/pi/Desktop/images/11042025/08/40/image_11042025_08_40_56_10410.jpg
/home/pi/Desktop/images/11042025/08/40/image_11042025_08_41_05_9422.jpg
/home/pi/Desktop/images/11042025/08/41/image_11042025_08_41_35_9375.jpg
/home/pi/Desktop/images/11042025/08/41/image_11042025_08_41_46_10367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351590510","1351590464","1351590499","1351590364","1351590412","1351590436"],"photo_ids_order":["1351590364","1351590412","1351590436","1351590464","1351590499","1351590510"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6de1cfe3b94ff778f71f59ec6724a973.jpg","text":"TemporaryFile(/tmp/multipartBody3347414108153281543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362873007,"filename":"image_11042025_08_41_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/11/fd35e6bc6fb7d39906c0052cb2c781a4.jpg","text":"TemporaryFile(/tmp/multipartBody2364381566575946935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362873007,"filename":"image_11042025_08_41_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/11/828daf5f2be01f80a69236838efb0ecc.jpg","text":"TemporaryFile(/tmp/multipartBody795259252734374489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362873007,"filename":"image_11042025_08_41_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/11/73b9c5db0afb620abcca84fb57a61f88.jpg","text":"TemporaryFile(/tmp/multipartBody4841576446411916641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362873007,"filename":"image_11042025_08_40_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/11/0897149555b9b7e971f44865779f4695.jpg","text":"TemporaryFile(/tmp/multipartBody257646190359340852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362873007,"filename":"image_11042025_08_40_45_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/440275acbc4665df0984ec409c660d09.jpg","text":"TemporaryFile(/tmp/multipartBody7197388691893747247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362873007,"filename":"image_11042025_08_40_56_10410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351590436","file1":"1351590412","file0":"1351590364","file4":"1351590499","file5":"1351590510","file3":"1351590464"},"map_files_photo_id_array":[{"photo_id":"1351590510","filename":"file5"},{"photo_id":"1351590436","filename":"file2"},{"photo_id":"1351590499","filename":"file4"},{"photo_id":"1351590412","filename":"file1"},{"photo_id":"1351590364","filename":"file0"},{"photo_id":"1351590464","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351590510":["hashtag1","hashtag2"]},{"1351590464":["hashtag1","hashtag2"]},{"1351590499":["hashtag1","hashtag2"]},{"1351590364":["hashtag1","hashtag2"]},{"1351590412":["hashtag1","hashtag2"]},{"1351590436":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351590510, 1351590464, 1351590499, 1351590364, 1351590412, 1351590436)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.22806239128113 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 11:14:32.649980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/08/41/image_11042025_08_41_56_10366.jpg', '/home/pi/Desktop/images/11042025/08/41/image_11042025_08_42_06_9345.jpg', '/home/pi/Desktop/images/11042025/08/42/image_11042025_08_42_25_9362.jpg', '/home/pi/Desktop/images/11042025/08/42/image_11042025_08_42_36_10414.jpg', '/home/pi/Desktop/images/11042025/08/42/image_11042025_08_42_46_10363.jpg', '/home/pi/Desktop/images/11042025/08/42/image_11042025_08_42_56_9448.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/08/41/image_11042025_08_41_56_10366.jpg
/home/pi/Desktop/images/11042025/08/41/image_11042025_08_42_06_9345.jpg
/home/pi/Desktop/images/11042025/08/42/image_11042025_08_42_25_9362.jpg
/home/pi/Desktop/images/11042025/08/42/image_11042025_08_42_36_10414.jpg
/home/pi/Desktop/images/11042025/08/42/image_11042025_08_42_46_10363.jpg
/home/pi/Desktop/images/11042025/08/42/image_11042025_08_42_56_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":["1351590843","1351590749","1351590796","1351590883","1351590823","1351590706"],"photo_ids_order":["1351590706","1351590749","1351590796","1351590823","1351590843","1351590883"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7a3e4e73ea0022118d45f37955a0296b.jpg","text":"TemporaryFile(/tmp/multipartBody5858825150209775896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362933111,"filename":"image_11042025_08_42_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/11/a29e09abe5c648408f046188eaeee7a6.jpg","text":"TemporaryFile(/tmp/multipartBody5226963555881162304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362933111,"filename":"image_11042025_08_42_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/11/73ac902dec0a8c28c7173031e8705b98.jpg","text":"TemporaryFile(/tmp/multipartBody2744558312835634680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362933111,"filename":"image_11042025_08_42_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/11/a06264bbe77b63c09158f57dd376c915.jpg","text":"TemporaryFile(/tmp/multipartBody4625444028535405842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362933111,"filename":"image_11042025_08_42_56_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/371f33b3b9d390b6dd9dda8770ce9edc.jpg","text":"TemporaryFile(/tmp/multipartBody6895550664089857110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362933111,"filename":"image_11042025_08_42_36_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f72cc6f1c957b7eaa9f0236312c8d260.jpg","text":"TemporaryFile(/tmp/multipartBody5758842228231828149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362933111,"filename":"image_11042025_08_41_56_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351590796","file1":"1351590749","file0":"1351590706","file4":"1351590843","file5":"1351590883","file3":"1351590823"},"map_files_photo_id_array":[{"photo_id":"1351590883","filename":"file5"},{"photo_id":"1351590796","filename":"file2"},{"photo_id":"1351590843","filename":"file4"},{"photo_id":"1351590749","filename":"file1"},{"photo_id":"1351590706","filename":"file0"},{"photo_id":"1351590823","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351590843":["hashtag1","hashtag2"]},{"1351590749":["hashtag1","hashtag2"]},{"1351590796":["hashtag1","hashtag2"]},{"1351590883":["hashtag1","hashtag2"]},{"1351590823":["hashtag1","hashtag2"]},{"1351590706":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351590843, 1351590749, 1351590796, 1351590883, 1351590823, 1351590706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.414719104766846 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 11:15:32.904398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/08/42/image_11042025_08_43_06_10424.jpg', '/home/pi/Desktop/images/11042025/08/43/image_11042025_08_43_15_9404.jpg', '/home/pi/Desktop/images/11042025/08/43/image_11042025_08_43_36_10387.jpg', '/home/pi/Desktop/images/11042025/08/43/image_11042025_08_43_46_9344.jpg', '/home/pi/Desktop/images/11042025/08/43/image_11042025_08_43_56_10469.jpg', '/home/pi/Desktop/images/11042025/08/43/image_11042025_08_44_05_9369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/08/42/image_11042025_08_43_06_10424.jpg
/home/pi/Desktop/images/11042025/08/43/image_11042025_08_43_15_9404.jpg
/home/pi/Desktop/images/11042025/08/43/image_11042025_08_43_36_10387.jpg
/home/pi/Desktop/images/11042025/08/43/image_11042025_08_43_46_9344.jpg
/home/pi/Desktop/images/11042025/08/43/image_11042025_08_43_56_10469.jpg
/home/pi/Desktop/images/11042025/08/43/image_11042025_08_44_05_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":["1351591203","1351591331","1351591192","1351591363","1351591210","1351591242"],"photo_ids_order":["1351591192","1351591203","1351591210","1351591242","1351591331","1351591363"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e7d80b068a5887936fce22c20c74afd1.jpg","text":"TemporaryFile(/tmp/multipartBody5014049863239712806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362993370,"filename":"image_11042025_08_43_15_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b8345df40853a83a5c9d1b00a301c830.jpg","text":"TemporaryFile(/tmp/multipartBody7558690461003595443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362993370,"filename":"image_11042025_08_43_56_10469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/60bd61d5b15a9d807dce88850b6bbd9e.jpg","text":"TemporaryFile(/tmp/multipartBody3455931370412940725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362993370,"filename":"image_11042025_08_43_06_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0a88a53ba7cfb224cc0587986b6ccae4.jpg","text":"TemporaryFile(/tmp/multipartBody7145210297396332965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362993370,"filename":"image_11042025_08_44_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/11/ab887450373652f4a6f2b36b94a17028.jpg","text":"TemporaryFile(/tmp/multipartBody2059142904232769445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362993370,"filename":"image_11042025_08_43_36_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4585198aea2679ff00618d0074f9d8d2.jpg","text":"TemporaryFile(/tmp/multipartBody5301217015457652130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744362993370,"filename":"image_11042025_08_43_46_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351591210","file1":"1351591203","file0":"1351591192","file4":"1351591331","file5":"1351591363","file3":"1351591242"},"map_files_photo_id_array":[{"photo_id":"1351591363","filename":"file5"},{"photo_id":"1351591210","filename":"file2"},{"photo_id":"1351591331","filename":"file4"},{"photo_id":"1351591203","filename":"file1"},{"photo_id":"1351591192","filename":"file0"},{"photo_id":"1351591242","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351591203":["hashtag1","hashtag2"]},{"1351591331":["hashtag1","hashtag2"]},{"1351591192":["hashtag1","hashtag2"]},{"1351591363":["hashtag1","hashtag2"]},{"1351591210":["hashtag1","hashtag2"]},{"1351591242":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351591203, 1351591331, 1351591192, 1351591363, 1351591210, 1351591242)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.81786251068115 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 11:16:32.200475
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/08/44/image_11042025_08_44_16_10410.jpg', '/home/pi/Desktop/images/11042025/08/44/image_11042025_08_44_26_10387.jpg', '/home/pi/Desktop/images/11042025/08/44/image_11042025_08_44_36_9377.jpg', '/home/pi/Desktop/images/11042025/08/44/image_11042025_08_44_46_10372.jpg', '/home/pi/Desktop/images/11042025/08/44/image_11042025_08_44_55_9344.jpg', '/home/pi/Desktop/images/11042025/08/44/image_11042025_08_45_06_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/08/44/image_11042025_08_44_16_10410.jpg
/home/pi/Desktop/images/11042025/08/44/image_11042025_08_44_26_10387.jpg
/home/pi/Desktop/images/11042025/08/44/image_11042025_08_44_36_9377.jpg
/home/pi/Desktop/images/11042025/08/44/image_11042025_08_44_46_10372.jpg
/home/pi/Desktop/images/11042025/08/44/image_11042025_08_44_55_9344.jpg
/home/pi/Desktop/images/11042025/08/44/image_11042025_08_45_06_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":["1351591713","1351591629","1351591664","1351591789","1351591581","1351591764"],"photo_ids_order":["1351591581","1351591629","1351591664","1351591713","1351591764","1351591789"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/918545157d66a7d70c99436fadc1075b.jpg","text":"TemporaryFile(/tmp/multipartBody3107957514009517473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363052663,"filename":"image_11042025_08_44_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/11/653208727d26991d080473370fc93ee3.jpg","text":"TemporaryFile(/tmp/multipartBody8942037592460073645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363052663,"filename":"image_11042025_08_44_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/11/00def7a401d2f1ac424501cf55190cb7.jpg","text":"TemporaryFile(/tmp/multipartBody5021667942150335259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363052663,"filename":"image_11042025_08_44_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/11/1ae3e8095db197101241baf436543c2b.jpg","text":"TemporaryFile(/tmp/multipartBody1510907669766226363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363052663,"filename":"image_11042025_08_45_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/11/4d167250422aa7775843f1138ee9e208.jpg","text":"TemporaryFile(/tmp/multipartBody4577651646088216111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363052663,"filename":"image_11042025_08_44_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/11/72cff705d9b8e51a9b93650f93b3bc40.jpg","text":"TemporaryFile(/tmp/multipartBody867179548189997043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363052663,"filename":"image_11042025_08_44_55_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351591664","file1":"1351591629","file0":"1351591581","file4":"1351591764","file5":"1351591789","file3":"1351591713"},"map_files_photo_id_array":[{"photo_id":"1351591789","filename":"file5"},{"photo_id":"1351591664","filename":"file2"},{"photo_id":"1351591764","filename":"file4"},{"photo_id":"1351591629","filename":"file1"},{"photo_id":"1351591581","filename":"file0"},{"photo_id":"1351591713","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351591713":["hashtag1","hashtag2"]},{"1351591629":["hashtag1","hashtag2"]},{"1351591664":["hashtag1","hashtag2"]},{"1351591789":["hashtag1","hashtag2"]},{"1351591581":["hashtag1","hashtag2"]},{"1351591764":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351591713, 1351591629, 1351591664, 1351591789, 1351591581, 1351591764)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.87390661239624 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 11:17:32.480487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/08/45/image_11042025_08_45_16_10461.jpg', '/home/pi/Desktop/images/11042025/08/45/image_11042025_08_45_25_9363.jpg', '/home/pi/Desktop/images/11042025/08/45/image_11042025_08_45_36_10389.jpg', '/home/pi/Desktop/images/11042025/08/45/image_11042025_08_45_45_9450.jpg', '/home/pi/Desktop/images/11042025/08/45/image_11042025_08_45_56_10460.jpg', '/home/pi/Desktop/images/11042025/08/45/image_11042025_08_46_06_10344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/08/45/image_11042025_08_45_16_10461.jpg
/home/pi/Desktop/images/11042025/08/45/image_11042025_08_45_25_9363.jpg
/home/pi/Desktop/images/11042025/08/45/image_11042025_08_45_36_10389.jpg
/home/pi/Desktop/images/11042025/08/45/image_11042025_08_45_45_9450.jpg
/home/pi/Desktop/images/11042025/08/45/image_11042025_08_45_56_10460.jpg
/home/pi/Desktop/images/11042025/08/45/image_11042025_08_46_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":["1351592099","1351592225","1351591973","1351592167","1351592022","1351591935"],"photo_ids_order":["1351591935","1351591973","1351592022","1351592099","1351592167","1351592225"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/02cda7552806df6e186876e9fdd810ff.jpg","text":"TemporaryFile(/tmp/multipartBody1629472332673928165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363112956,"filename":"image_11042025_08_45_45_9450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9cfe6c59a98c395a17a6ac6e46565294.jpg","text":"TemporaryFile(/tmp/multipartBody6810651138645331904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363112956,"filename":"image_11042025_08_46_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/11/975fa328296f5f87d2abdb05c62679d3.jpg","text":"TemporaryFile(/tmp/multipartBody7563316613473315941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363112956,"filename":"image_11042025_08_45_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/11/e306b76a01e3702feca2237638fb01ca.jpg","text":"TemporaryFile(/tmp/multipartBody5715642852795820500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363112956,"filename":"image_11042025_08_45_56_10460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b25d6c662c231047d2cac48b7fcabcfa.jpg","text":"TemporaryFile(/tmp/multipartBody7746465142996666847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363112956,"filename":"image_11042025_08_45_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/11/8624da8fa3e78d3d14972f6d75013117.jpg","text":"TemporaryFile(/tmp/multipartBody6805260260103826745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363112956,"filename":"image_11042025_08_45_16_10461.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351592022","file1":"1351591973","file0":"1351591935","file4":"1351592167","file5":"1351592225","file3":"1351592099"},"map_files_photo_id_array":[{"photo_id":"1351592225","filename":"file5"},{"photo_id":"1351592022","filename":"file2"},{"photo_id":"1351592167","filename":"file4"},{"photo_id":"1351591973","filename":"file1"},{"photo_id":"1351591935","filename":"file0"},{"photo_id":"1351592099","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351592099":["hashtag1","hashtag2"]},{"1351592225":["hashtag1","hashtag2"]},{"1351591973":["hashtag1","hashtag2"]},{"1351592167":["hashtag1","hashtag2"]},{"1351592022":["hashtag1","hashtag2"]},{"1351591935":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351592099, 1351592225, 1351591973, 1351592167, 1351592022, 1351591935)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.35207986831665 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 11:18:32.677101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/08/46/image_11042025_08_46_15_9327.jpg', '/home/pi/Desktop/images/11042025/08/46/image_11042025_08_46_26_10363.jpg', '/home/pi/Desktop/images/11042025/08/46/image_11042025_08_46_36_10349.jpg', '/home/pi/Desktop/images/11042025/08/46/image_11042025_08_46_46_9358.jpg', '/home/pi/Desktop/images/11042025/08/46/image_11042025_08_46_56_10445.jpg', '/home/pi/Desktop/images/11042025/08/46/image_11042025_08_47_05_9352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/08/46/image_11042025_08_46_15_9327.jpg
/home/pi/Desktop/images/11042025/08/46/image_11042025_08_46_26_10363.jpg
/home/pi/Desktop/images/11042025/08/46/image_11042025_08_46_36_10349.jpg
/home/pi/Desktop/images/11042025/08/46/image_11042025_08_46_46_9358.jpg
/home/pi/Desktop/images/11042025/08/46/image_11042025_08_46_56_10445.jpg
/home/pi/Desktop/images/11042025/08/46/image_11042025_08_47_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":["1351592851","1351592806","1351593054","1351593098","1351592913","1351593017"],"photo_ids_order":["1351592806","1351592851","1351592913","1351593017","1351593054","1351593098"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/de30979565525af9680aed9c893ed57c.jpg","text":"TemporaryFile(/tmp/multipartBody4949900081207199920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363173139,"filename":"image_11042025_08_46_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/11/dc6658f172b55317df8d5d65ca5bb0cb.jpg","text":"TemporaryFile(/tmp/multipartBody5819276940124478599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363173139,"filename":"image_11042025_08_46_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/11/b8ba37779d35c196bb09cd9388d407df.jpg","text":"TemporaryFile(/tmp/multipartBody6074490413347210289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363173139,"filename":"image_11042025_08_46_56_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/fc6bc88fb35b48c86455f11c90c4871f.jpg","text":"TemporaryFile(/tmp/multipartBody1837923220418507437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363173139,"filename":"image_11042025_08_47_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/11/878bd0b6f4ab6f2165937a2c17ad02b6.jpg","text":"TemporaryFile(/tmp/multipartBody7085967434439994897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363173139,"filename":"image_11042025_08_46_36_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8cc28b35953222bc9a00daeffd1f2522.jpg","text":"TemporaryFile(/tmp/multipartBody7800243107787329413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363173139,"filename":"image_11042025_08_46_46_9358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351592913","file1":"1351592851","file0":"1351592806","file4":"1351593054","file5":"1351593098","file3":"1351593017"},"map_files_photo_id_array":[{"photo_id":"1351593098","filename":"file5"},{"photo_id":"1351592913","filename":"file2"},{"photo_id":"1351593054","filename":"file4"},{"photo_id":"1351592851","filename":"file1"},{"photo_id":"1351592806","filename":"file0"},{"photo_id":"1351593017","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351592851":["hashtag1","hashtag2"]},{"1351592806":["hashtag1","hashtag2"]},{"1351593054":["hashtag1","hashtag2"]},{"1351593098":["hashtag1","hashtag2"]},{"1351592913":["hashtag1","hashtag2"]},{"1351593017":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351592851, 1351592806, 1351593054, 1351593098, 1351592913, 1351593017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.78138566017151 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 11:19:32.992311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/08/47/image_11042025_08_47_16_10479.jpg', '/home/pi/Desktop/images/11042025/08/47/image_11042025_08_47_25_9434.jpg', '/home/pi/Desktop/images/11042025/08/47/image_11042025_08_47_36_10373.jpg', '/home/pi/Desktop/images/11042025/08/47/image_11042025_08_47_46_10428.jpg', '/home/pi/Desktop/images/11042025/08/47/image_11042025_08_47_56_9609.jpg', '/home/pi/Desktop/images/11042025/08/47/image_11042025_08_48_06_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/08/47/image_11042025_08_47_16_10479.jpg
/home/pi/Desktop/images/11042025/08/47/image_11042025_08_47_25_9434.jpg
/home/pi/Desktop/images/11042025/08/47/image_11042025_08_47_36_10373.jpg
/home/pi/Desktop/images/11042025/08/47/image_11042025_08_47_46_10428.jpg
/home/pi/Desktop/images/11042025/08/47/image_11042025_08_47_56_9609.jpg
/home/pi/Desktop/images/11042025/08/47/image_11042025_08_48_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":["1351593454","1351593594","1351593879","1351593497","1351593737","1351593407"],"photo_ids_order":["1351593407","1351593454","1351593497","1351593594","1351593737","1351593879"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b7f360b7c44c9acc946335ebc83b3416.jpg","text":"TemporaryFile(/tmp/multipartBody3753965344514279761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363233502,"filename":"image_11042025_08_47_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/11/615286995c27fb1a4e858cc3c016851a.jpg","text":"TemporaryFile(/tmp/multipartBody3633453950171627565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363233502,"filename":"image_11042025_08_47_46_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e634704b6ffcb7e069682d14065a09b8.jpg","text":"TemporaryFile(/tmp/multipartBody6781155962533509447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363233502,"filename":"image_11042025_08_48_06_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/74a6e684c4de5a1eabcf2c583aa6aefd.jpg","text":"TemporaryFile(/tmp/multipartBody3776649900628092167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363233502,"filename":"image_11042025_08_47_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/11/23088604a7d7db92f09a9a56abb83727.jpg","text":"TemporaryFile(/tmp/multipartBody1827053480214192961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363233502,"filename":"image_11042025_08_47_56_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/11/2a16653881182ae37a179eecb3ec4050.jpg","text":"TemporaryFile(/tmp/multipartBody877517696108519779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363233502,"filename":"image_11042025_08_47_16_10479.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351593497","file1":"1351593454","file0":"1351593407","file4":"1351593737","file5":"1351593879","file3":"1351593594"},"map_files_photo_id_array":[{"photo_id":"1351593879","filename":"file5"},{"photo_id":"1351593497","filename":"file2"},{"photo_id":"1351593737","filename":"file4"},{"photo_id":"1351593454","filename":"file1"},{"photo_id":"1351593407","filename":"file0"},{"photo_id":"1351593594","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351593454":["hashtag1","hashtag2"]},{"1351593594":["hashtag1","hashtag2"]},{"1351593879":["hashtag1","hashtag2"]},{"1351593497":["hashtag1","hashtag2"]},{"1351593737":["hashtag1","hashtag2"]},{"1351593407":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351593454, 1351593594, 1351593879, 1351593497, 1351593737, 1351593407)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.42489147186279 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 11:20:33.070177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/08/48/image_11042025_08_48_16_9690.jpg', '/home/pi/Desktop/images/11042025/08/48/image_11042025_08_48_35_9382.jpg', '/home/pi/Desktop/images/11042025/08/48/image_11042025_08_48_55_9422.jpg', '/home/pi/Desktop/images/11042025/08/48/image_11042025_08_49_06_10346.jpg', '/home/pi/Desktop/images/11042025/08/49/image_11042025_08_49_16_10434.jpg', '/home/pi/Desktop/images/11042025/08/49/image_11042025_08_49_25_9363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/08/48/image_11042025_08_48_16_9690.jpg
/home/pi/Desktop/images/11042025/08/48/image_11042025_08_48_35_9382.jpg
/home/pi/Desktop/images/11042025/08/48/image_11042025_08_48_55_9422.jpg
/home/pi/Desktop/images/11042025/08/48/image_11042025_08_49_06_10346.jpg
/home/pi/Desktop/images/11042025/08/49/image_11042025_08_49_16_10434.jpg
/home/pi/Desktop/images/11042025/08/49/image_11042025_08_49_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":["1351595283","1351595081","1351595411","1351594940","1351594582","1351595335"],"photo_ids_order":["1351594582","1351594940","1351595081","1351595283","1351595335","1351595411"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/71fc27574c8b85f928c0d7606bc54dff.jpg","text":"TemporaryFile(/tmp/multipartBody8118267462286253318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363293557,"filename":"image_11042025_08_49_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/11/4bd5265cd8e9e2541d7c88edf9d9c227.jpg","text":"TemporaryFile(/tmp/multipartBody1797275776182999833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363293557,"filename":"image_11042025_08_48_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/11/471d79698ef7670b2518557aa4d8d272.jpg","text":"TemporaryFile(/tmp/multipartBody2552656480247414968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363293557,"filename":"image_11042025_08_49_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/11/6485b251c6e6aa6b6eed5bc219d727a7.jpg","text":"TemporaryFile(/tmp/multipartBody7859807085535290801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363293557,"filename":"image_11042025_08_48_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/11/54bf883be4c275f546405c18443099cf.jpg","text":"TemporaryFile(/tmp/multipartBody6597648402214415952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363293557,"filename":"image_11042025_08_48_16_9690.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/761b2e32ad3db6b4687f61608fd1d447.jpg","text":"TemporaryFile(/tmp/multipartBody4440232972639036017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363293557,"filename":"image_11042025_08_49_16_10434.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351595081","file1":"1351594940","file0":"1351594582","file4":"1351595335","file5":"1351595411","file3":"1351595283"},"map_files_photo_id_array":[{"photo_id":"1351595411","filename":"file5"},{"photo_id":"1351595081","filename":"file2"},{"photo_id":"1351595335","filename":"file4"},{"photo_id":"1351594940","filename":"file1"},{"photo_id":"1351594582","filename":"file0"},{"photo_id":"1351595283","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351595283":["hashtag1","hashtag2"]},{"1351595081":["hashtag1","hashtag2"]},{"1351595411":["hashtag1","hashtag2"]},{"1351594940":["hashtag1","hashtag2"]},{"1351594582":["hashtag1","hashtag2"]},{"1351595335":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351595283, 1351595081, 1351595411, 1351594940, 1351594582, 1351595335)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.83346390724182 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 11:21:32.269279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/08/49/image_11042025_08_49_36_10447.jpg', '/home/pi/Desktop/images/11042025/08/49/image_11042025_08_49_46_10360.jpg', '/home/pi/Desktop/images/11042025/08/49/image_11042025_08_49_56_9357.jpg', '/home/pi/Desktop/images/11042025/08/49/image_11042025_08_50_06_10464.jpg', '/home/pi/Desktop/images/11042025/08/50/image_11042025_08_50_15_9340.jpg', '/home/pi/Desktop/images/11042025/08/50/image_11042025_08_50_26_10432.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/08/49/image_11042025_08_49_36_10447.jpg
/home/pi/Desktop/images/11042025/08/49/image_11042025_08_49_46_10360.jpg
/home/pi/Desktop/images/11042025/08/49/image_11042025_08_49_56_9357.jpg
/home/pi/Desktop/images/11042025/08/49/image_11042025_08_50_06_10464.jpg
/home/pi/Desktop/images/11042025/08/50/image_11042025_08_50_15_9340.jpg
/home/pi/Desktop/images/11042025/08/50/image_11042025_08_50_26_10432.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351595637","1351595724","1351595696","1351595531","1351595737","1351595572"],"photo_ids_order":["1351595531","1351595572","1351595637","1351595696","1351595724","1351595737"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/cdab11f0396b71dec95f7f2c042a8c81.jpg","text":"TemporaryFile(/tmp/multipartBody8465359952022856102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363352742,"filename":"image_11042025_08_49_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/11/b64d1ca0aecb4e0f4fb09212875968e7.jpg","text":"TemporaryFile(/tmp/multipartBody6775386205154695888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363352742,"filename":"image_11042025_08_50_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/11/590bac9cd5d435a872d18ad1ca6834ed.jpg","text":"TemporaryFile(/tmp/multipartBody6508665867318406136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363352742,"filename":"image_11042025_08_50_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/11/62f0dff322cf1be48235461686e472f5.jpg","text":"TemporaryFile(/tmp/multipartBody1164331074795397027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363352742,"filename":"image_11042025_08_49_36_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/61104079e12ccd13ebea2f6b56a7dfc9.jpg","text":"TemporaryFile(/tmp/multipartBody4089731459217067858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363352742,"filename":"image_11042025_08_50_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/11/1133f250d29c3aa8298ffc47749285d5.jpg","text":"TemporaryFile(/tmp/multipartBody4946242683527482409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363352742,"filename":"image_11042025_08_49_46_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351595637","file1":"1351595572","file0":"1351595531","file4":"1351595724","file5":"1351595737","file3":"1351595696"},"map_files_photo_id_array":[{"photo_id":"1351595737","filename":"file5"},{"photo_id":"1351595637","filename":"file2"},{"photo_id":"1351595724","filename":"file4"},{"photo_id":"1351595572","filename":"file1"},{"photo_id":"1351595531","filename":"file0"},{"photo_id":"1351595696","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351595637":["hashtag1","hashtag2"]},{"1351595724":["hashtag1","hashtag2"]},{"1351595696":["hashtag1","hashtag2"]},{"1351595531":["hashtag1","hashtag2"]},{"1351595737":["hashtag1","hashtag2"]},{"1351595572":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351595637, 1351595724, 1351595696, 1351595531, 1351595737, 1351595572)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.050923585891724 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 11:22:32.578325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/08/50/image_11042025_08_50_36_10359.jpg', '/home/pi/Desktop/images/11042025/08/50/image_11042025_08_50_46_9416.jpg', '/home/pi/Desktop/images/11042025/08/50/image_11042025_08_50_56_10390.jpg', '/home/pi/Desktop/images/11042025/08/50/image_11042025_08_51_05_9445.jpg', '/home/pi/Desktop/images/11042025/08/51/image_11042025_08_51_16_10398.jpg', '/home/pi/Desktop/images/11042025/08/51/image_11042025_08_51_26_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/08/50/image_11042025_08_50_36_10359.jpg
/home/pi/Desktop/images/11042025/08/50/image_11042025_08_50_46_9416.jpg
/home/pi/Desktop/images/11042025/08/50/image_11042025_08_50_56_10390.jpg
/home/pi/Desktop/images/11042025/08/50/image_11042025_08_51_05_9445.jpg
/home/pi/Desktop/images/11042025/08/51/image_11042025_08_51_16_10398.jpg
/home/pi/Desktop/images/11042025/08/51/image_11042025_08_51_26_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":["1351596000","1351595952","1351596018","1351596047","1351595990","1351595968"],"photo_ids_order":["1351595952","1351595968","1351595990","1351596000","1351596018","1351596047"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2f477023d9c361e2000eaa55bbec787b.jpg","text":"TemporaryFile(/tmp/multipartBody2778674254140732290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363413098,"filename":"image_11042025_08_51_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/11/d62ba433a5f017f5547b5557416a29df.jpg","text":"TemporaryFile(/tmp/multipartBody2602164144801364371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363413098,"filename":"image_11042025_08_50_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/11/2148418d026561d33241855fa85ab5bf.jpg","text":"TemporaryFile(/tmp/multipartBody4334226172556156899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363413098,"filename":"image_11042025_08_51_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/11/09c5296fc9135b843148853c4436585f.jpg","text":"TemporaryFile(/tmp/multipartBody3818350903005896005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363413098,"filename":"image_11042025_08_51_26_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7fcbb6cf42eb7cfdb439bef2ac9747da.jpg","text":"TemporaryFile(/tmp/multipartBody7971688726274174712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363413098,"filename":"image_11042025_08_50_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/11/68561e974e09f022f4684494756e71c8.jpg","text":"TemporaryFile(/tmp/multipartBody419898959855525498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363413098,"filename":"image_11042025_08_50_46_9416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351595990","file1":"1351595968","file0":"1351595952","file4":"1351596018","file5":"1351596047","file3":"1351596000"},"map_files_photo_id_array":[{"photo_id":"1351596047","filename":"file5"},{"photo_id":"1351595990","filename":"file2"},{"photo_id":"1351596018","filename":"file4"},{"photo_id":"1351595968","filename":"file1"},{"photo_id":"1351595952","filename":"file0"},{"photo_id":"1351596000","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351596000":["hashtag1","hashtag2"]},{"1351595952":["hashtag1","hashtag2"]},{"1351596018":["hashtag1","hashtag2"]},{"1351596047":["hashtag1","hashtag2"]},{"1351595990":["hashtag1","hashtag2"]},{"1351595968":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351596000, 1351595952, 1351596018, 1351596047, 1351595990, 1351595968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.04649782180786 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 11:23:32.758134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/08/51/image_11042025_08_51_36_9423.jpg', '/home/pi/Desktop/images/11042025/08/51/image_11042025_08_51_46_10366.jpg', '/home/pi/Desktop/images/11042025/08/51/image_11042025_08_51_55_9362.jpg', '/home/pi/Desktop/images/11042025/08/51/image_11042025_08_52_06_10470.jpg', '/home/pi/Desktop/images/11042025/08/52/image_11042025_08_52_16_10342.jpg', '/home/pi/Desktop/images/11042025/08/52/image_11042025_08_52_25_9344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/08/51/image_11042025_08_51_36_9423.jpg
/home/pi/Desktop/images/11042025/08/51/image_11042025_08_51_46_10366.jpg
/home/pi/Desktop/images/11042025/08/51/image_11042025_08_51_55_9362.jpg
/home/pi/Desktop/images/11042025/08/51/image_11042025_08_52_06_10470.jpg
/home/pi/Desktop/images/11042025/08/52/image_11042025_08_52_16_10342.jpg
/home/pi/Desktop/images/11042025/08/52/image_11042025_08_52_25_9344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351596254","1351596286","1351596206","1351596397","1351596337","1351596424"],"photo_ids_order":["1351596206","1351596254","1351596286","1351596337","1351596397","1351596424"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d11dce152a5257bf83ffee112965e182.jpg","text":"TemporaryFile(/tmp/multipartBody185542281512429810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363473235,"filename":"image_11042025_08_51_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/11/024e675a8bff50a914e61c0ce9e926f1.jpg","text":"TemporaryFile(/tmp/multipartBody2368143453635425204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363473235,"filename":"image_11042025_08_51_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/11/9bc90af673964cedb16f7526225215b1.jpg","text":"TemporaryFile(/tmp/multipartBody6594534738945879643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363473235,"filename":"image_11042025_08_51_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/11/9cebf25980bfa85f9df9ab01fded649a.jpg","text":"TemporaryFile(/tmp/multipartBody152019379909547385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363473235,"filename":"image_11042025_08_52_16_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/62c57185afe5912170a613bddbb54cd8.jpg","text":"TemporaryFile(/tmp/multipartBody6181915294022159831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363473235,"filename":"image_11042025_08_52_06_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/11/541daef0eb629e26945d866588f9a604.jpg","text":"TemporaryFile(/tmp/multipartBody2244895638469948424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363473235,"filename":"image_11042025_08_52_25_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351596286","file1":"1351596254","file0":"1351596206","file4":"1351596397","file5":"1351596424","file3":"1351596337"},"map_files_photo_id_array":[{"photo_id":"1351596424","filename":"file5"},{"photo_id":"1351596286","filename":"file2"},{"photo_id":"1351596397","filename":"file4"},{"photo_id":"1351596254","filename":"file1"},{"photo_id":"1351596206","filename":"file0"},{"photo_id":"1351596337","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351596254":["hashtag1","hashtag2"]},{"1351596286":["hashtag1","hashtag2"]},{"1351596206":["hashtag1","hashtag2"]},{"1351596397":["hashtag1","hashtag2"]},{"1351596337":["hashtag1","hashtag2"]},{"1351596424":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351596254, 1351596286, 1351596206, 1351596397, 1351596337, 1351596424)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.6284065246582 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 11:24:32.903067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/08/52/image_11042025_08_52_36_10453.jpg', '/home/pi/Desktop/images/11042025/08/52/image_11042025_08_52_45_9334.jpg', '/home/pi/Desktop/images/11042025/08/52/image_11042025_08_52_56_10340.jpg', '/home/pi/Desktop/images/11042025/08/52/image_11042025_08_53_06_10397.jpg', '/home/pi/Desktop/images/11042025/08/53/image_11042025_08_53_15_9362.jpg', '/home/pi/Desktop/images/11042025/08/53/image_11042025_08_53_26_10482.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/08/52/image_11042025_08_52_36_10453.jpg
/home/pi/Desktop/images/11042025/08/52/image_11042025_08_52_45_9334.jpg
/home/pi/Desktop/images/11042025/08/52/image_11042025_08_52_56_10340.jpg
/home/pi/Desktop/images/11042025/08/52/image_11042025_08_53_06_10397.jpg
/home/pi/Desktop/images/11042025/08/53/image_11042025_08_53_15_9362.jpg
/home/pi/Desktop/images/11042025/08/53/image_11042025_08_53_26_10482.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351597493","1351597014","1351597511","1351597168","1351597501","1351597347"],"photo_ids_order":["1351597014","1351597168","1351597347","1351597493","1351597501","1351597511"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d024141ccee66f11a079ca4b1c32653e.jpg","text":"TemporaryFile(/tmp/multipartBody83168602186704272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363533400,"filename":"image_11042025_08_53_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/11/dc0d8a890835d1cbbc30380fefe8cfc0.jpg","text":"TemporaryFile(/tmp/multipartBody6539074906962838986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363533400,"filename":"image_11042025_08_52_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/11/ad52765cb865b041b7901b0bbb4afb77.jpg","text":"TemporaryFile(/tmp/multipartBody5085069940047358437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363533400,"filename":"image_11042025_08_53_26_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/11/c97f2a94288e1f032f4a48fadf2fc257.jpg","text":"TemporaryFile(/tmp/multipartBody6800749714755220008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363533400,"filename":"image_11042025_08_52_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/11/e6dcfc2c437f95e18d2d28fadfba5189.jpg","text":"TemporaryFile(/tmp/multipartBody6294911993429619331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363533400,"filename":"image_11042025_08_53_15_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/24c179f55c5e7073594c222408c72c7c.jpg","text":"TemporaryFile(/tmp/multipartBody6603754732144004446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363533400,"filename":"image_11042025_08_52_56_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351597347","file1":"1351597168","file0":"1351597014","file4":"1351597501","file5":"1351597511","file3":"1351597493"},"map_files_photo_id_array":[{"photo_id":"1351597511","filename":"file5"},{"photo_id":"1351597347","filename":"file2"},{"photo_id":"1351597501","filename":"file4"},{"photo_id":"1351597168","filename":"file1"},{"photo_id":"1351597014","filename":"file0"},{"photo_id":"1351597493","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351597493":["hashtag1","hashtag2"]},{"1351597014":["hashtag1","hashtag2"]},{"1351597511":["hashtag1","hashtag2"]},{"1351597168":["hashtag1","hashtag2"]},{"1351597501":["hashtag1","hashtag2"]},{"1351597347":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351597493, 1351597014, 1351597511, 1351597168, 1351597501, 1351597347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.035916805267334 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 11:25:33.137150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/08/53/image_11042025_08_53_56_10434.jpg', '/home/pi/Desktop/images/11042025/08/53/image_11042025_08_54_05_9413.jpg', '/home/pi/Desktop/images/11042025/08/54/image_11042025_08_54_16_10339.jpg', '/home/pi/Desktop/images/11042025/08/54/image_11042025_08_54_25_9417.jpg', '/home/pi/Desktop/images/11042025/08/54/image_11042025_08_54_46_10414.jpg', '/home/pi/Desktop/images/11042025/08/54/image_11042025_08_54_55_9356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/08/53/image_11042025_08_53_56_10434.jpg
/home/pi/Desktop/images/11042025/08/53/image_11042025_08_54_05_9413.jpg
/home/pi/Desktop/images/11042025/08/54/image_11042025_08_54_16_10339.jpg
/home/pi/Desktop/images/11042025/08/54/image_11042025_08_54_25_9417.jpg
/home/pi/Desktop/images/11042025/08/54/image_11042025_08_54_46_10414.jpg
/home/pi/Desktop/images/11042025/08/54/image_11042025_08_54_55_9356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351598085","1351598154","1351597932","1351597908","1351597842","1351597938"],"photo_ids_order":["1351597842","1351597908","1351597932","1351597938","1351598085","1351598154"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1dc822694ad50491db480179f55e6e45.jpg","text":"TemporaryFile(/tmp/multipartBody8904120527424110605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363593608,"filename":"image_11042025_08_54_46_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b74285a5fba2ae71b1773cd9fe582c87.jpg","text":"TemporaryFile(/tmp/multipartBody3674935987656474406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363593608,"filename":"image_11042025_08_54_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/11/c58cf642cddcec421e69c5990f4b3a92.jpg","text":"TemporaryFile(/tmp/multipartBody2736274754917716740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363593608,"filename":"image_11042025_08_54_16_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d1d0627e80fa8a1c42198309684da341.jpg","text":"TemporaryFile(/tmp/multipartBody2781825530798501872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363593608,"filename":"image_11042025_08_54_05_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5ac4cb4b241137c0b24c91b417b7e5bb.jpg","text":"TemporaryFile(/tmp/multipartBody6334080549756834298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363593608,"filename":"image_11042025_08_53_56_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7aca553c6944d5803b289c3d7bd801e8.jpg","text":"TemporaryFile(/tmp/multipartBody1436084863079341794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363593608,"filename":"image_11042025_08_54_25_9417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351597932","file1":"1351597908","file0":"1351597842","file4":"1351598085","file5":"1351598154","file3":"1351597938"},"map_files_photo_id_array":[{"photo_id":"1351598154","filename":"file5"},{"photo_id":"1351597932","filename":"file2"},{"photo_id":"1351598085","filename":"file4"},{"photo_id":"1351597908","filename":"file1"},{"photo_id":"1351597842","filename":"file0"},{"photo_id":"1351597938","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351598085":["hashtag1","hashtag2"]},{"1351598154":["hashtag1","hashtag2"]},{"1351597932":["hashtag1","hashtag2"]},{"1351597908":["hashtag1","hashtag2"]},{"1351597842":["hashtag1","hashtag2"]},{"1351597938":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351598085, 1351598154, 1351597932, 1351597908, 1351597842, 1351597938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.79764246940613 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 11:26:32.317144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/08/54/image_11042025_08_55_06_10478.jpg', '/home/pi/Desktop/images/11042025/08/55/image_11042025_08_55_16_10360.jpg', '/home/pi/Desktop/images/11042025/08/55/image_11042025_08_55_26_9355.jpg', '/home/pi/Desktop/images/11042025/08/55/image_11042025_08_55_36_10410.jpg', '/home/pi/Desktop/images/11042025/08/55/image_11042025_08_55_45_9353.jpg', '/home/pi/Desktop/images/11042025/08/55/image_11042025_08_55_56_10405.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/08/54/image_11042025_08_55_06_10478.jpg
/home/pi/Desktop/images/11042025/08/55/image_11042025_08_55_16_10360.jpg
/home/pi/Desktop/images/11042025/08/55/image_11042025_08_55_26_9355.jpg
/home/pi/Desktop/images/11042025/08/55/image_11042025_08_55_36_10410.jpg
/home/pi/Desktop/images/11042025/08/55/image_11042025_08_55_45_9353.jpg
/home/pi/Desktop/images/11042025/08/55/image_11042025_08_55_56_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":["1351598324","1351598266","1351598347","1351598413","1351598378","1351598294"],"photo_ids_order":["1351598266","1351598294","1351598324","1351598347","1351598378","1351598413"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/10f618d620f509b38619d882be560c37.jpg","text":"TemporaryFile(/tmp/multipartBody95697761990132806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363652858,"filename":"image_11042025_08_55_26_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/44756ccb19cf9eaf496216e263047d98.jpg","text":"TemporaryFile(/tmp/multipartBody6037902084077842836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363652858,"filename":"image_11042025_08_55_06_10478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ed1e2e8a98547d659960146096a92fa5.jpg","text":"TemporaryFile(/tmp/multipartBody8124128320131483808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363652858,"filename":"image_11042025_08_55_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/11/5bef8c88f6c04552d8ebaff1b0a751ad.jpg","text":"TemporaryFile(/tmp/multipartBody8255722953989374776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363652858,"filename":"image_11042025_08_55_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/11/b6700eee09c4980a4e35e4c834fa15a5.jpg","text":"TemporaryFile(/tmp/multipartBody109321038897926319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363652858,"filename":"image_11042025_08_55_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/11/57591686ba4c7bc9162e2cbb52874f3f.jpg","text":"TemporaryFile(/tmp/multipartBody1032808695596967819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363652858,"filename":"image_11042025_08_55_16_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351598324","file1":"1351598294","file0":"1351598266","file4":"1351598378","file5":"1351598413","file3":"1351598347"},"map_files_photo_id_array":[{"photo_id":"1351598413","filename":"file5"},{"photo_id":"1351598324","filename":"file2"},{"photo_id":"1351598378","filename":"file4"},{"photo_id":"1351598294","filename":"file1"},{"photo_id":"1351598266","filename":"file0"},{"photo_id":"1351598347","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351598324":["hashtag1","hashtag2"]},{"1351598266":["hashtag1","hashtag2"]},{"1351598347":["hashtag1","hashtag2"]},{"1351598413":["hashtag1","hashtag2"]},{"1351598378":["hashtag1","hashtag2"]},{"1351598294":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351598324, 1351598266, 1351598347, 1351598413, 1351598378, 1351598294)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.53665637969971 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 11:27:32.498505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/08/55/image_11042025_08_56_06_10440.jpg', '/home/pi/Desktop/images/11042025/08/56/image_11042025_08_56_16_9350.jpg', '/home/pi/Desktop/images/11042025/08/56/image_11042025_08_56_26_10362.jpg', '/home/pi/Desktop/images/11042025/08/56/image_11042025_08_56_35_9359.jpg', '/home/pi/Desktop/images/11042025/08/56/image_11042025_08_56_46_10363.jpg', '/home/pi/Desktop/images/11042025/08/56/image_11042025_08_56_56_10453.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/08/55/image_11042025_08_56_06_10440.jpg
/home/pi/Desktop/images/11042025/08/56/image_11042025_08_56_16_9350.jpg
/home/pi/Desktop/images/11042025/08/56/image_11042025_08_56_26_10362.jpg
/home/pi/Desktop/images/11042025/08/56/image_11042025_08_56_35_9359.jpg
/home/pi/Desktop/images/11042025/08/56/image_11042025_08_56_46_10363.jpg
/home/pi/Desktop/images/11042025/08/56/image_11042025_08_56_56_10453.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351598926","1351598796","1351598853","1351598721","1351598984","1351599023"],"photo_ids_order":["1351598721","1351598796","1351598853","1351598926","1351598984","1351599023"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/51dea978f22f4ee46c796465647b4382.jpg","text":"TemporaryFile(/tmp/multipartBody5809506940051856624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363712962,"filename":"image_11042025_08_56_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/11/446e9d34c17187a494d18cd7a1a8c209.jpg","text":"TemporaryFile(/tmp/multipartBody1584075685634707975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363712962,"filename":"image_11042025_08_56_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/11/a6352cd4a815b2be7bbe8d1a533ae07f.jpg","text":"TemporaryFile(/tmp/multipartBody5210940835332338054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363712962,"filename":"image_11042025_08_56_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/11/bd5f83aa49311e1ef003a8e121987a2e.jpg","text":"TemporaryFile(/tmp/multipartBody3011001587826265968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363712962,"filename":"image_11042025_08_56_06_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a3fe96aedefc1572c7f2527370e2760a.jpg","text":"TemporaryFile(/tmp/multipartBody3296716339589542416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363712962,"filename":"image_11042025_08_56_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/11/b5441d54de07e0ff22f7da07f5d0c654.jpg","text":"TemporaryFile(/tmp/multipartBody4972445860150927003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363712962,"filename":"image_11042025_08_56_56_10453.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351598853","file1":"1351598796","file0":"1351598721","file4":"1351598984","file5":"1351599023","file3":"1351598926"},"map_files_photo_id_array":[{"photo_id":"1351599023","filename":"file5"},{"photo_id":"1351598853","filename":"file2"},{"photo_id":"1351598984","filename":"file4"},{"photo_id":"1351598796","filename":"file1"},{"photo_id":"1351598721","filename":"file0"},{"photo_id":"1351598926","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351598926":["hashtag1","hashtag2"]},{"1351598796":["hashtag1","hashtag2"]},{"1351598853":["hashtag1","hashtag2"]},{"1351598721":["hashtag1","hashtag2"]},{"1351598984":["hashtag1","hashtag2"]},{"1351599023":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351598926, 1351598796, 1351598853, 1351598721, 1351598984, 1351599023)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.897895097732544 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 11:28:32.693572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/08/56/image_11042025_08_57_05_9334.jpg', '/home/pi/Desktop/images/11042025/08/57/image_11042025_08_57_25_9451.jpg', '/home/pi/Desktop/images/11042025/08/57/image_11042025_08_57_46_10436.jpg', '/home/pi/Desktop/images/11042025/08/57/image_11042025_08_57_55_9383.jpg', '/home/pi/Desktop/images/11042025/08/57/image_11042025_08_58_06_10368.jpg', '/home/pi/Desktop/images/11042025/08/58/image_11042025_08_58_16_10420.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/08/56/image_11042025_08_57_05_9334.jpg
/home/pi/Desktop/images/11042025/08/57/image_11042025_08_57_25_9451.jpg
/home/pi/Desktop/images/11042025/08/57/image_11042025_08_57_46_10436.jpg
/home/pi/Desktop/images/11042025/08/57/image_11042025_08_57_55_9383.jpg
/home/pi/Desktop/images/11042025/08/57/image_11042025_08_58_06_10368.jpg
/home/pi/Desktop/images/11042025/08/58/image_11042025_08_58_16_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":["1351600045","1351600105","1351600245","1351599901","1351599774","1351600181"],"photo_ids_order":["1351599774","1351599901","1351600045","1351600105","1351600181","1351600245"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/39d9d9eec8366831dd7fc2463f631798.jpg","text":"TemporaryFile(/tmp/multipartBody7661685723634925630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363773152,"filename":"image_11042025_08_57_46_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/71c6e4d398c001e42dfa06998ef87820.jpg","text":"TemporaryFile(/tmp/multipartBody6313180720778318371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363773152,"filename":"image_11042025_08_57_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/11/3b4c4516738730e332a94b001b46235d.jpg","text":"TemporaryFile(/tmp/multipartBody5720166004994901717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363773152,"filename":"image_11042025_08_58_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/11/9342eb616ff05ec20d9b365963458380.jpg","text":"TemporaryFile(/tmp/multipartBody1806377196496351923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363773152,"filename":"image_11042025_08_57_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/11/c5a6abdc4a4d99282fac02c47cd05d8b.jpg","text":"TemporaryFile(/tmp/multipartBody2522090545927882965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363773152,"filename":"image_11042025_08_57_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/11/c0b5d77619bcc2b0cffa9d0d98dad354.jpg","text":"TemporaryFile(/tmp/multipartBody8943408089052709571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363773152,"filename":"image_11042025_08_58_06_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351600045","file1":"1351599901","file0":"1351599774","file4":"1351600181","file5":"1351600245","file3":"1351600105"},"map_files_photo_id_array":[{"photo_id":"1351600245","filename":"file5"},{"photo_id":"1351600045","filename":"file2"},{"photo_id":"1351600181","filename":"file4"},{"photo_id":"1351599901","filename":"file1"},{"photo_id":"1351599774","filename":"file0"},{"photo_id":"1351600105","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351600045":["hashtag1","hashtag2"]},{"1351600105":["hashtag1","hashtag2"]},{"1351600245":["hashtag1","hashtag2"]},{"1351599901":["hashtag1","hashtag2"]},{"1351599774":["hashtag1","hashtag2"]},{"1351600181":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351600045, 1351600105, 1351600245, 1351599901, 1351599774, 1351600181)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.65901184082031 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 11:29:32.933521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/08/58/image_11042025_08_58_26_9345.jpg', '/home/pi/Desktop/images/11042025/08/58/image_11042025_08_58_36_10357.jpg', '/home/pi/Desktop/images/11042025/08/58/image_11042025_08_58_45_9373.jpg', '/home/pi/Desktop/images/11042025/08/58/image_11042025_08_58_56_10432.jpg', '/home/pi/Desktop/images/11042025/08/58/image_11042025_08_59_06_10385.jpg', '/home/pi/Desktop/images/11042025/08/59/image_11042025_08_59_15_9371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/08/58/image_11042025_08_58_26_9345.jpg
/home/pi/Desktop/images/11042025/08/58/image_11042025_08_58_36_10357.jpg
/home/pi/Desktop/images/11042025/08/58/image_11042025_08_58_45_9373.jpg
/home/pi/Desktop/images/11042025/08/58/image_11042025_08_58_56_10432.jpg
/home/pi/Desktop/images/11042025/08/58/image_11042025_08_59_06_10385.jpg
/home/pi/Desktop/images/11042025/08/59/image_11042025_08_59_15_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":["1351600662","1351600593","1351600853","1351600760","1351600931","1351600712"],"photo_ids_order":["1351600593","1351600662","1351600712","1351600760","1351600853","1351600931"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7be16cfd5138ba8cb1bf9848eea34351.jpg","text":"TemporaryFile(/tmp/multipartBody455970787547898882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363833437,"filename":"image_11042025_08_58_36_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7ec7162e0ce3c7183b19b09c50fe8986.jpg","text":"TemporaryFile(/tmp/multipartBody1469794179777079559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363833437,"filename":"image_11042025_08_58_26_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/958620afd26209397e902b27901ac51d.jpg","text":"TemporaryFile(/tmp/multipartBody163467695337451850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363833437,"filename":"image_11042025_08_59_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/11/1a01a833c05654d87ee8572235a83d68.jpg","text":"TemporaryFile(/tmp/multipartBody5609677542400194766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363833437,"filename":"image_11042025_08_58_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/11/6cc7e47ed5c278b0fb1171e0b6211fba.jpg","text":"TemporaryFile(/tmp/multipartBody4268891822779634422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363833437,"filename":"image_11042025_08_59_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/11/4212c3ab350c66536d36c4e6a0019f2d.jpg","text":"TemporaryFile(/tmp/multipartBody6036790866319675358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363833437,"filename":"image_11042025_08_58_45_9373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351600712","file1":"1351600662","file0":"1351600593","file4":"1351600853","file5":"1351600931","file3":"1351600760"},"map_files_photo_id_array":[{"photo_id":"1351600931","filename":"file5"},{"photo_id":"1351600712","filename":"file2"},{"photo_id":"1351600853","filename":"file4"},{"photo_id":"1351600662","filename":"file1"},{"photo_id":"1351600593","filename":"file0"},{"photo_id":"1351600760","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351600662":["hashtag1","hashtag2"]},{"1351600593":["hashtag1","hashtag2"]},{"1351600853":["hashtag1","hashtag2"]},{"1351600760":["hashtag1","hashtag2"]},{"1351600931":["hashtag1","hashtag2"]},{"1351600712":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351600662, 1351600593, 1351600853, 1351600760, 1351600931, 1351600712)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.748260498046875 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 11:30:33.158325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/08/59/image_11042025_08_59_26_10360.jpg', '/home/pi/Desktop/images/11042025/08/59/image_11042025_08_59_36_10365.jpg', '/home/pi/Desktop/images/11042025/08/59/image_11042025_08_59_46_9381.jpg', '/home/pi/Desktop/images/11042025/08/59/image_11042025_08_59_56_10414.jpg', '/home/pi/Desktop/images/11042025/09/01/image_11042025_09_01_14_10073.jpg', '/home/pi/Desktop/images/11042025/09/01/image_11042025_09_01_25_10390.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/08/59/image_11042025_08_59_26_10360.jpg
/home/pi/Desktop/images/11042025/08/59/image_11042025_08_59_36_10365.jpg
/home/pi/Desktop/images/11042025/08/59/image_11042025_08_59_46_9381.jpg
/home/pi/Desktop/images/11042025/08/59/image_11042025_08_59_56_10414.jpg
/home/pi/Desktop/images/11042025/09/01/image_11042025_09_01_14_10073.jpg
/home/pi/Desktop/images/11042025/09/01/image_11042025_09_01_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":["1351601399","1351601144","1351601354","1351601429","1351601315","1351601260"],"photo_ids_order":["1351601144","1351601260","1351601315","1351601354","1351601399","1351601429"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/af53a4b822b7d8dd775b2ed2cdcd396d.jpg","text":"TemporaryFile(/tmp/multipartBody7596110526807124808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363893635,"filename":"image_11042025_09_01_14_10073.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0c3223e47bb298863c398a92875721ab.jpg","text":"TemporaryFile(/tmp/multipartBody2723759951133891749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363893635,"filename":"image_11042025_08_59_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/11/71436f4ac83fbdc55ff10f1590b7c71b.jpg","text":"TemporaryFile(/tmp/multipartBody2772926021948708052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363893635,"filename":"image_11042025_08_59_56_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0febfa2ff6261422dc270af6f74cc0b1.jpg","text":"TemporaryFile(/tmp/multipartBody8681116623794367701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363893635,"filename":"image_11042025_09_01_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/11/2ed5c55100d596933372e8382767782f.jpg","text":"TemporaryFile(/tmp/multipartBody1195200622146252371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363893635,"filename":"image_11042025_08_59_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/11/1e6bcd03e77a6d3454554406b54d511f.jpg","text":"TemporaryFile(/tmp/multipartBody6875088283432014314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363893635,"filename":"image_11042025_08_59_36_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351601315","file1":"1351601260","file0":"1351601144","file4":"1351601399","file5":"1351601429","file3":"1351601354"},"map_files_photo_id_array":[{"photo_id":"1351601429","filename":"file5"},{"photo_id":"1351601315","filename":"file2"},{"photo_id":"1351601399","filename":"file4"},{"photo_id":"1351601260","filename":"file1"},{"photo_id":"1351601144","filename":"file0"},{"photo_id":"1351601354","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351601399":["hashtag1","hashtag2"]},{"1351601144":["hashtag1","hashtag2"]},{"1351601354":["hashtag1","hashtag2"]},{"1351601429":["hashtag1","hashtag2"]},{"1351601315":["hashtag1","hashtag2"]},{"1351601260":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351601399, 1351601144, 1351601354, 1351601429, 1351601315, 1351601260)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.70488667488098 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 11:31:32.333018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/09/01/image_11042025_09_01_35_10396.jpg', '/home/pi/Desktop/images/11042025/09/01/image_11042025_09_01_44_9340.jpg', '/home/pi/Desktop/images/11042025/09/01/image_11042025_09_01_55_10392.jpg', '/home/pi/Desktop/images/11042025/09/01/image_11042025_09_02_05_10337.jpg', '/home/pi/Desktop/images/11042025/09/02/image_11042025_09_02_25_10444.jpg', '/home/pi/Desktop/images/11042025/09/02/image_11042025_09_02_34_9369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/09/01/image_11042025_09_01_35_10396.jpg
/home/pi/Desktop/images/11042025/09/01/image_11042025_09_01_44_9340.jpg
/home/pi/Desktop/images/11042025/09/01/image_11042025_09_01_55_10392.jpg
/home/pi/Desktop/images/11042025/09/01/image_11042025_09_02_05_10337.jpg
/home/pi/Desktop/images/11042025/09/02/image_11042025_09_02_25_10444.jpg
/home/pi/Desktop/images/11042025/09/02/image_11042025_09_02_34_9369.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351601841","1351601757","1351601667","1351601616","1351601561","1351601923"],"photo_ids_order":["1351601561","1351601616","1351601667","1351601757","1351601841","1351601923"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/78f6c6f8f6aa18d6ccd0eb62dff16a41.jpg","text":"TemporaryFile(/tmp/multipartBody3351211185626181254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363952792,"filename":"image_11042025_09_02_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/11/e1619d89a442421b675520f7860d92bb.jpg","text":"TemporaryFile(/tmp/multipartBody7298712323753682937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363952792,"filename":"image_11042025_09_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/11/817eb317029c9214d427c996c05908b9.jpg","text":"TemporaryFile(/tmp/multipartBody1094900024008489548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363952792,"filename":"image_11042025_09_01_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/11/9cb3b6e9d5e5e9a50a47f4f453d20679.jpg","text":"TemporaryFile(/tmp/multipartBody3953587782952993748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363952792,"filename":"image_11042025_09_01_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/11/0cbd881852393021461f3bb16ec265b0.jpg","text":"TemporaryFile(/tmp/multipartBody5573329318662585406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363952792,"filename":"image_11042025_09_01_35_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/33fa6f59b0a57eb1df79daed1f59b356.jpg","text":"TemporaryFile(/tmp/multipartBody7704525330461903458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744363952792,"filename":"image_11042025_09_02_34_9369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351601667","file1":"1351601616","file0":"1351601561","file4":"1351601841","file5":"1351601923","file3":"1351601757"},"map_files_photo_id_array":[{"photo_id":"1351601923","filename":"file5"},{"photo_id":"1351601667","filename":"file2"},{"photo_id":"1351601841","filename":"file4"},{"photo_id":"1351601616","filename":"file1"},{"photo_id":"1351601561","filename":"file0"},{"photo_id":"1351601757","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351601841":["hashtag1","hashtag2"]},{"1351601757":["hashtag1","hashtag2"]},{"1351601667":["hashtag1","hashtag2"]},{"1351601616":["hashtag1","hashtag2"]},{"1351601561":["hashtag1","hashtag2"]},{"1351601923":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351601841, 1351601757, 1351601667, 1351601616, 1351601561, 1351601923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.18944573402405 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 11:32:32.576709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/09/02/image_11042025_09_02_45_10463.jpg', '/home/pi/Desktop/images/11042025/09/02/image_11042025_09_02_55_10359.jpg', '/home/pi/Desktop/images/11042025/09/02/image_11042025_09_03_04_9339.jpg', '/home/pi/Desktop/images/11042025/09/03/image_11042025_09_03_15_10356.jpg', '/home/pi/Desktop/images/11042025/09/03/image_11042025_09_03_25_10345.jpg', '/home/pi/Desktop/images/11042025/09/03/image_11042025_09_03_34_9341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/09/02/image_11042025_09_02_45_10463.jpg
/home/pi/Desktop/images/11042025/09/02/image_11042025_09_02_55_10359.jpg
/home/pi/Desktop/images/11042025/09/02/image_11042025_09_03_04_9339.jpg
/home/pi/Desktop/images/11042025/09/03/image_11042025_09_03_15_10356.jpg
/home/pi/Desktop/images/11042025/09/03/image_11042025_09_03_25_10345.jpg
/home/pi/Desktop/images/11042025/09/03/image_11042025_09_03_34_9341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351602677","1351602842","1351602959","1351602898","1351602774","1351602738"],"photo_ids_order":["1351602677","1351602738","1351602774","1351602842","1351602898","1351602959"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d1d9ac3bfa55f04a1469b280f3b344a2.jpg","text":"TemporaryFile(/tmp/multipartBody3402484440567569731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364013039,"filename":"image_11042025_09_02_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/11/25f4e97c4561a90c7f5232f1cc99248c.jpg","text":"TemporaryFile(/tmp/multipartBody8655541405928889919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364013039,"filename":"image_11042025_09_03_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/11/ea14f593dfc188045836127b9d818b8d.jpg","text":"TemporaryFile(/tmp/multipartBody663011070683783553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364013039,"filename":"image_11042025_09_03_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/11/58e6826eaa067601005078fee6effaae.jpg","text":"TemporaryFile(/tmp/multipartBody7306635913034457547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364013039,"filename":"image_11042025_09_03_25_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/181c74e4dd7eb293445dc75bcd59aabb.jpg","text":"TemporaryFile(/tmp/multipartBody3905367092419591718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364013039,"filename":"image_11042025_09_03_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/11/5146e539d117f4776eddb59373f8a0dd.jpg","text":"TemporaryFile(/tmp/multipartBody4136354212528314525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364013039,"filename":"image_11042025_09_02_55_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351602774","file1":"1351602738","file0":"1351602677","file4":"1351602898","file5":"1351602959","file3":"1351602842"},"map_files_photo_id_array":[{"photo_id":"1351602959","filename":"file5"},{"photo_id":"1351602774","filename":"file2"},{"photo_id":"1351602898","filename":"file4"},{"photo_id":"1351602738","filename":"file1"},{"photo_id":"1351602677","filename":"file0"},{"photo_id":"1351602842","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351602677":["hashtag1","hashtag2"]},{"1351602842":["hashtag1","hashtag2"]},{"1351602959":["hashtag1","hashtag2"]},{"1351602898":["hashtag1","hashtag2"]},{"1351602774":["hashtag1","hashtag2"]},{"1351602738":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351602677, 1351602842, 1351602959, 1351602898, 1351602774, 1351602738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.566396713256836 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 11:33:32.838480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/09/03/image_11042025_09_03_45_10451.jpg', '/home/pi/Desktop/images/11042025/09/03/image_11042025_09_03_54_9421.jpg', '/home/pi/Desktop/images/11042025/09/03/image_11042025_09_04_05_10491.jpg', '/home/pi/Desktop/images/11042025/09/04/image_11042025_09_04_14_9352.jpg', '/home/pi/Desktop/images/11042025/09/04/image_11042025_09_04_25_10359.jpg', '/home/pi/Desktop/images/11042025/09/04/image_11042025_09_04_35_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/09/03/image_11042025_09_03_45_10451.jpg
/home/pi/Desktop/images/11042025/09/03/image_11042025_09_03_54_9421.jpg
/home/pi/Desktop/images/11042025/09/03/image_11042025_09_04_05_10491.jpg
/home/pi/Desktop/images/11042025/09/04/image_11042025_09_04_14_9352.jpg
/home/pi/Desktop/images/11042025/09/04/image_11042025_09_04_25_10359.jpg
/home/pi/Desktop/images/11042025/09/04/image_11042025_09_04_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":["1351603427","1351603795","1351603613","1351603495","1351603702","1351603385"],"photo_ids_order":["1351603385","1351603427","1351603495","1351603613","1351603702","1351603795"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ddee4f61789679402d58118fa3ada647.jpg","text":"TemporaryFile(/tmp/multipartBody8648972583606468003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364073299,"filename":"image_11042025_09_03_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/11/0d1907318065e4a2838afd3e318ab9c5.jpg","text":"TemporaryFile(/tmp/multipartBody9056485395993092194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364073299,"filename":"image_11042025_09_04_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/11/0478c66d4f2a01e3e3393547682e9e73.jpg","text":"TemporaryFile(/tmp/multipartBody8258432164371707916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364073299,"filename":"image_11042025_09_04_14_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e60b17673e93fa78d2a1b96a7aaef131.jpg","text":"TemporaryFile(/tmp/multipartBody9158810074120262355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364073299,"filename":"image_11042025_09_04_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/11/01633701b804e29549db3116758037bf.jpg","text":"TemporaryFile(/tmp/multipartBody8245961041238488880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364073299,"filename":"image_11042025_09_04_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/11/b5b9774c11e181ddfcceb6b1fca3b8b5.jpg","text":"TemporaryFile(/tmp/multipartBody1885225795672237473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364073299,"filename":"image_11042025_09_03_45_10451.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351603495","file1":"1351603427","file0":"1351603385","file4":"1351603702","file5":"1351603795","file3":"1351603613"},"map_files_photo_id_array":[{"photo_id":"1351603795","filename":"file5"},{"photo_id":"1351603495","filename":"file2"},{"photo_id":"1351603702","filename":"file4"},{"photo_id":"1351603427","filename":"file1"},{"photo_id":"1351603385","filename":"file0"},{"photo_id":"1351603613","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351603427":["hashtag1","hashtag2"]},{"1351603795":["hashtag1","hashtag2"]},{"1351603613":["hashtag1","hashtag2"]},{"1351603495":["hashtag1","hashtag2"]},{"1351603702":["hashtag1","hashtag2"]},{"1351603385":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351603427, 1351603795, 1351603613, 1351603495, 1351603702, 1351603385)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.51807999610901 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 11:34:33.041443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/09/04/image_11042025_09_04_44_9356.jpg', '/home/pi/Desktop/images/11042025/09/04/image_11042025_09_04_55_10342.jpg', '/home/pi/Desktop/images/11042025/09/05/image_11042025_09_05_14_9336.jpg', '/home/pi/Desktop/images/11042025/09/05/image_11042025_09_05_25_10358.jpg', '/home/pi/Desktop/images/11042025/09/05/image_11042025_09_05_35_10403.jpg', '/home/pi/Desktop/images/11042025/09/05/image_11042025_09_05_45_9357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/09/04/image_11042025_09_04_44_9356.jpg
/home/pi/Desktop/images/11042025/09/04/image_11042025_09_04_55_10342.jpg
/home/pi/Desktop/images/11042025/09/05/image_11042025_09_05_14_9336.jpg
/home/pi/Desktop/images/11042025/09/05/image_11042025_09_05_25_10358.jpg
/home/pi/Desktop/images/11042025/09/05/image_11042025_09_05_35_10403.jpg
/home/pi/Desktop/images/11042025/09/05/image_11042025_09_05_45_9357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351604452","1351604547","1351604400","1351604480","1351604369","1351604243"],"photo_ids_order":["1351604243","1351604369","1351604400","1351604452","1351604480","1351604547"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/adc0b8533a0ec18c28f7b53b49dca87e.jpg","text":"TemporaryFile(/tmp/multipartBody6859312829742101928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364133504,"filename":"image_11042025_09_05_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/11/cf5ce01c7a501e904ae7d30dcc345452.jpg","text":"TemporaryFile(/tmp/multipartBody8857980802929479841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364133504,"filename":"image_11042025_09_05_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/11/a8ee8eed738fc926d785f67d82fb1561.jpg","text":"TemporaryFile(/tmp/multipartBody3540974161464474382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364133504,"filename":"image_11042025_09_05_14_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1ed03e979432fa26207050ed2409d821.jpg","text":"TemporaryFile(/tmp/multipartBody4145180295684807248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364133504,"filename":"image_11042025_09_05_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/11/fa93988efa5874f95b7ae240295d67a3.jpg","text":"TemporaryFile(/tmp/multipartBody5126833124561605915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364133504,"filename":"image_11042025_09_04_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/11/fbdb9b623ff9e3b203b2c6b2a8ea87fa.jpg","text":"TemporaryFile(/tmp/multipartBody5776112859965780719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364133504,"filename":"image_11042025_09_04_44_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351604400","file1":"1351604369","file0":"1351604243","file4":"1351604480","file5":"1351604547","file3":"1351604452"},"map_files_photo_id_array":[{"photo_id":"1351604547","filename":"file5"},{"photo_id":"1351604400","filename":"file2"},{"photo_id":"1351604480","filename":"file4"},{"photo_id":"1351604369","filename":"file1"},{"photo_id":"1351604243","filename":"file0"},{"photo_id":"1351604452","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351604452":["hashtag1","hashtag2"]},{"1351604547":["hashtag1","hashtag2"]},{"1351604400":["hashtag1","hashtag2"]},{"1351604480":["hashtag1","hashtag2"]},{"1351604369":["hashtag1","hashtag2"]},{"1351604243":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351604452, 1351604547, 1351604400, 1351604480, 1351604369, 1351604243)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.98608994483948 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 11:35:32.436536
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/09/05/image_11042025_09_06_04_9354.jpg', '/home/pi/Desktop/images/11042025/09/06/image_11042025_09_06_25_10348.jpg', '/home/pi/Desktop/images/11042025/09/06/image_11042025_09_06_35_9424.jpg', '/home/pi/Desktop/images/11042025/09/06/image_11042025_09_06_45_10339.jpg', '/home/pi/Desktop/images/11042025/09/06/image_11042025_09_06_54_9359.jpg', '/home/pi/Desktop/images/11042025/09/06/image_11042025_09_07_05_10355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/09/05/image_11042025_09_06_04_9354.jpg
/home/pi/Desktop/images/11042025/09/06/image_11042025_09_06_25_10348.jpg
/home/pi/Desktop/images/11042025/09/06/image_11042025_09_06_35_9424.jpg
/home/pi/Desktop/images/11042025/09/06/image_11042025_09_06_45_10339.jpg
/home/pi/Desktop/images/11042025/09/06/image_11042025_09_06_54_9359.jpg
/home/pi/Desktop/images/11042025/09/06/image_11042025_09_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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351605082","1351604854","1351604772","1351604955","1351604913","1351605125"],"photo_ids_order":["1351604772","1351604854","1351604913","1351604955","1351605082","1351605125"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/bac10931fc34e2bce0718c7602cee855.jpg","text":"TemporaryFile(/tmp/multipartBody5747533233227234036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364192908,"filename":"image_11042025_09_06_54_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ce1943628a1c067e6e8b982641e87d5c.jpg","text":"TemporaryFile(/tmp/multipartBody1662919572540496751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364192908,"filename":"image_11042025_09_06_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/11/5579ca25df0cd597229803d5cf22fbea.jpg","text":"TemporaryFile(/tmp/multipartBody1328521002083685710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364192908,"filename":"image_11042025_09_06_04_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/759955415937cee0c1b6a10a724102e8.jpg","text":"TemporaryFile(/tmp/multipartBody3944098869921920801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364192908,"filename":"image_11042025_09_06_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/11/79ea9a0fb20cc1ca70b1d5d000376f81.jpg","text":"TemporaryFile(/tmp/multipartBody6434869449049295940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364192908,"filename":"image_11042025_09_06_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/11/74fcca219f9e650f1de8535df725daee.jpg","text":"TemporaryFile(/tmp/multipartBody1729073612801212480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364192908,"filename":"image_11042025_09_07_05_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351604913","file1":"1351604854","file0":"1351604772","file4":"1351605082","file5":"1351605125","file3":"1351604955"},"map_files_photo_id_array":[{"photo_id":"1351605125","filename":"file5"},{"photo_id":"1351604913","filename":"file2"},{"photo_id":"1351605082","filename":"file4"},{"photo_id":"1351604854","filename":"file1"},{"photo_id":"1351604772","filename":"file0"},{"photo_id":"1351604955","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351605082":["hashtag1","hashtag2"]},{"1351604854":["hashtag1","hashtag2"]},{"1351604772":["hashtag1","hashtag2"]},{"1351604955":["hashtag1","hashtag2"]},{"1351604913":["hashtag1","hashtag2"]},{"1351605125":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351605082, 1351604854, 1351604772, 1351604955, 1351604913, 1351605125)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.20916438102722 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 11:36:42.544780
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/09/07/image_11042025_09_07_15_10393.jpg', '/home/pi/Desktop/images/11042025/09/07/image_11042025_09_07_24_9320.jpg', '/home/pi/Desktop/images/11042025/09/07/image_11042025_09_07_35_10403.jpg', '/home/pi/Desktop/images/11042025/09/07/image_11042025_09_07_45_10467.jpg', '/home/pi/Desktop/images/11042025/09/07/image_11042025_09_07_55_9411.jpg', '/home/pi/Desktop/images/11042025/09/07/image_11042025_09_08_05_10430.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/09/07/image_11042025_09_07_15_10393.jpg
/home/pi/Desktop/images/11042025/09/07/image_11042025_09_07_24_9320.jpg
/home/pi/Desktop/images/11042025/09/07/image_11042025_09_07_35_10403.jpg
/home/pi/Desktop/images/11042025/09/07/image_11042025_09_07_45_10467.jpg
/home/pi/Desktop/images/11042025/09/07/image_11042025_09_07_55_9411.jpg
/home/pi/Desktop/images/11042025/09/07/image_11042025_09_08_05_10430.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351605471","1351605510","1351605408","1351605374","1351605617","1351605688"],"photo_ids_order":["1351605374","1351605408","1351605471","1351605510","1351605617","1351605688"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4a33adaa1ddaf2b5772fd3fdaab4bd76.jpg","text":"TemporaryFile(/tmp/multipartBody4404648720446938984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364263018,"filename":"image_11042025_09_07_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/11/602fee3262834fc87723cd3622f8d650.jpg","text":"TemporaryFile(/tmp/multipartBody5017558369163242689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364263018,"filename":"image_11042025_09_07_45_10467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e3dc92ad6cd75a7ea9d8d27673b1eb87.jpg","text":"TemporaryFile(/tmp/multipartBody8642021389912363966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364263018,"filename":"image_11042025_09_07_24_9320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/10d629149ee5f71b60af869d29468e9c.jpg","text":"TemporaryFile(/tmp/multipartBody9206641451318862960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364263018,"filename":"image_11042025_09_07_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/11/c57728a6a8a2fdb378cae9908a34d5a8.jpg","text":"TemporaryFile(/tmp/multipartBody8366696402111273341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364263018,"filename":"image_11042025_09_07_55_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7c4302034cdc60ee22d067a1f7544f3c.jpg","text":"TemporaryFile(/tmp/multipartBody7989146437820774718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364263018,"filename":"image_11042025_09_08_05_10430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351605471","file1":"1351605408","file0":"1351605374","file4":"1351605617","file5":"1351605688","file3":"1351605510"},"map_files_photo_id_array":[{"photo_id":"1351605688","filename":"file5"},{"photo_id":"1351605471","filename":"file2"},{"photo_id":"1351605617","filename":"file4"},{"photo_id":"1351605408","filename":"file1"},{"photo_id":"1351605374","filename":"file0"},{"photo_id":"1351605510","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351605471":["hashtag1","hashtag2"]},{"1351605510":["hashtag1","hashtag2"]},{"1351605408":["hashtag1","hashtag2"]},{"1351605374":["hashtag1","hashtag2"]},{"1351605617":["hashtag1","hashtag2"]},{"1351605688":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351605471, 1351605510, 1351605408, 1351605374, 1351605617, 1351605688)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.833117961883545 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 11:37:33.032468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/09/08/image_11042025_09_08_14_9353.jpg', '/home/pi/Desktop/images/11042025/09/08/image_11042025_09_08_25_10491.jpg', '/home/pi/Desktop/images/11042025/09/08/image_11042025_09_08_34_9358.jpg', '/home/pi/Desktop/images/11042025/09/08/image_11042025_09_08_45_10345.jpg', '/home/pi/Desktop/images/11042025/09/08/image_11042025_09_08_55_10404.jpg', '/home/pi/Desktop/images/11042025/09/08/image_11042025_09_09_04_9409.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/09/08/image_11042025_09_08_14_9353.jpg
/home/pi/Desktop/images/11042025/09/08/image_11042025_09_08_25_10491.jpg
/home/pi/Desktop/images/11042025/09/08/image_11042025_09_08_34_9358.jpg
/home/pi/Desktop/images/11042025/09/08/image_11042025_09_08_45_10345.jpg
/home/pi/Desktop/images/11042025/09/08/image_11042025_09_08_55_10404.jpg
/home/pi/Desktop/images/11042025/09/08/image_11042025_09_09_04_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":["1351606365","1351606287","1351606338","1351606049","1351606195","1351606114"],"photo_ids_order":["1351606049","1351606114","1351606195","1351606287","1351606338","1351606365"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8ddb3124a6abe5a5941217b2583cea98.jpg","text":"TemporaryFile(/tmp/multipartBody5778856582429061449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364313498,"filename":"image_11042025_09_09_04_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/11/35a2859642ca2c8f5f737e503cf3f1ff.jpg","text":"TemporaryFile(/tmp/multipartBody5084732049833455770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364313498,"filename":"image_11042025_09_08_45_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c9b73c1e59b224041a55ac7dd92c2acd.jpg","text":"TemporaryFile(/tmp/multipartBody4189701695410499395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364313498,"filename":"image_11042025_09_08_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/11/c8487b9f64252657b5d3d0ef15a80235.jpg","text":"TemporaryFile(/tmp/multipartBody4691318675410667603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364313498,"filename":"image_11042025_09_08_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/11/301fbe38c19c354501b402e54795a408.jpg","text":"TemporaryFile(/tmp/multipartBody1099778905149114927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364313498,"filename":"image_11042025_09_08_34_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/cdda7b842775b4ed6665f7f73dda5188.jpg","text":"TemporaryFile(/tmp/multipartBody8985570792948796791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364313498,"filename":"image_11042025_09_08_25_10491.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351606195","file1":"1351606114","file0":"1351606049","file4":"1351606338","file5":"1351606365","file3":"1351606287"},"map_files_photo_id_array":[{"photo_id":"1351606365","filename":"file5"},{"photo_id":"1351606195","filename":"file2"},{"photo_id":"1351606338","filename":"file4"},{"photo_id":"1351606114","filename":"file1"},{"photo_id":"1351606049","filename":"file0"},{"photo_id":"1351606287","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351606365":["hashtag1","hashtag2"]},{"1351606287":["hashtag1","hashtag2"]},{"1351606338":["hashtag1","hashtag2"]},{"1351606049":["hashtag1","hashtag2"]},{"1351606195":["hashtag1","hashtag2"]},{"1351606114":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351606365, 1351606287, 1351606338, 1351606049, 1351606195, 1351606114)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.11005473136902 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 11:38:32.293106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/09/09/image_11042025_09_09_15_10370.jpg', '/home/pi/Desktop/images/11042025/09/09/image_11042025_09_09_25_10333.jpg', '/home/pi/Desktop/images/11042025/09/09/image_11042025_09_09_35_9454.jpg', '/home/pi/Desktop/images/11042025/09/09/image_11042025_09_09_45_10342.jpg', '/home/pi/Desktop/images/11042025/09/09/image_11042025_09_09_54_9412.jpg', '/home/pi/Desktop/images/11042025/09/09/image_11042025_09_10_05_10441.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/09/09/image_11042025_09_09_15_10370.jpg
/home/pi/Desktop/images/11042025/09/09/image_11042025_09_09_25_10333.jpg
/home/pi/Desktop/images/11042025/09/09/image_11042025_09_09_35_9454.jpg
/home/pi/Desktop/images/11042025/09/09/image_11042025_09_09_45_10342.jpg
/home/pi/Desktop/images/11042025/09/09/image_11042025_09_09_54_9412.jpg
/home/pi/Desktop/images/11042025/09/09/image_11042025_09_10_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":["1351606770","1351606661","1351606751","1351606739","1351606631","1351606700"],"photo_ids_order":["1351606631","1351606661","1351606700","1351606739","1351606751","1351606770"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/81021b6f8737c7304294655d1665f64c.jpg","text":"TemporaryFile(/tmp/multipartBody3395617806710882042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364372761,"filename":"image_11042025_09_10_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/11/acaa9e201b25bec95dab5166483420b6.jpg","text":"TemporaryFile(/tmp/multipartBody5724666642095932620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364372761,"filename":"image_11042025_09_09_25_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5080304f939ec47e69407610580fd699.jpg","text":"TemporaryFile(/tmp/multipartBody3250995998506529375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364372761,"filename":"image_11042025_09_09_54_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a8addbb29c50b8caa38c084fe5bac687.jpg","text":"TemporaryFile(/tmp/multipartBody5917156766525853348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364372761,"filename":"image_11042025_09_09_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/11/e909920be768adcff1abdec0604d4caa.jpg","text":"TemporaryFile(/tmp/multipartBody255029402753747705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364372761,"filename":"image_11042025_09_09_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/11/2a1875a9c9c004e84873db7794400e46.jpg","text":"TemporaryFile(/tmp/multipartBody367406738802457656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364372761,"filename":"image_11042025_09_09_35_9454.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351606700","file1":"1351606661","file0":"1351606631","file4":"1351606751","file5":"1351606770","file3":"1351606739"},"map_files_photo_id_array":[{"photo_id":"1351606770","filename":"file5"},{"photo_id":"1351606700","filename":"file2"},{"photo_id":"1351606751","filename":"file4"},{"photo_id":"1351606661","filename":"file1"},{"photo_id":"1351606631","filename":"file0"},{"photo_id":"1351606739","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351606770":["hashtag1","hashtag2"]},{"1351606661":["hashtag1","hashtag2"]},{"1351606751":["hashtag1","hashtag2"]},{"1351606739":["hashtag1","hashtag2"]},{"1351606631":["hashtag1","hashtag2"]},{"1351606700":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351606770, 1351606661, 1351606751, 1351606739, 1351606631, 1351606700)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.55446672439575 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 11:39:32.505543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/09/10/image_11042025_09_10_15_10416.jpg', '/home/pi/Desktop/images/11042025/09/10/image_11042025_09_10_25_9427.jpg', '/home/pi/Desktop/images/11042025/09/10/image_11042025_09_10_35_10346.jpg', '/home/pi/Desktop/images/11042025/09/10/image_11042025_09_10_44_9333.jpg', '/home/pi/Desktop/images/11042025/09/10/image_11042025_09_11_05_10417.jpg', '/home/pi/Desktop/images/11042025/09/11/image_11042025_09_11_14_9341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/09/10/image_11042025_09_10_15_10416.jpg
/home/pi/Desktop/images/11042025/09/10/image_11042025_09_10_25_9427.jpg
/home/pi/Desktop/images/11042025/09/10/image_11042025_09_10_35_10346.jpg
/home/pi/Desktop/images/11042025/09/10/image_11042025_09_10_44_9333.jpg
/home/pi/Desktop/images/11042025/09/10/image_11042025_09_11_05_10417.jpg
/home/pi/Desktop/images/11042025/09/11/image_11042025_09_11_14_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":["1351606935","1351607030","1351606976","1351606934","1351606939","1351607088"],"photo_ids_order":["1351606934","1351606935","1351606939","1351606976","1351607030","1351607088"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6266562d4eb15170d439ea3450ba725c.jpg","text":"TemporaryFile(/tmp/multipartBody2200190091238105114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364432961,"filename":"image_11042025_09_10_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/11/e967cfe64dc7889e5df7a983eb13fdba.jpg","text":"TemporaryFile(/tmp/multipartBody5410740908700926468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364432961,"filename":"image_11042025_09_11_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/11/95846a520ee3a9dc3f943b72c95a117b.jpg","text":"TemporaryFile(/tmp/multipartBody2122256703909436133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364432961,"filename":"image_11042025_09_10_44_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/cd6fbeec6cd8619fbda82231abdcd4a2.jpg","text":"TemporaryFile(/tmp/multipartBody661304801131913157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364432961,"filename":"image_11042025_09_10_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/11/f4ef84bb84f998414ce4fc15aa744958.jpg","text":"TemporaryFile(/tmp/multipartBody2610573897676977007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364432961,"filename":"image_11042025_09_10_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/11/8ec35e3813bc8c798549325e150c3ba6.jpg","text":"TemporaryFile(/tmp/multipartBody2683752360021509496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364432961,"filename":"image_11042025_09_11_14_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351606939","file1":"1351606935","file0":"1351606934","file4":"1351607030","file5":"1351607088","file3":"1351606976"},"map_files_photo_id_array":[{"photo_id":"1351607088","filename":"file5"},{"photo_id":"1351606939","filename":"file2"},{"photo_id":"1351607030","filename":"file4"},{"photo_id":"1351606935","filename":"file1"},{"photo_id":"1351606934","filename":"file0"},{"photo_id":"1351606976","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351606935":["hashtag1","hashtag2"]},{"1351607030":["hashtag1","hashtag2"]},{"1351606976":["hashtag1","hashtag2"]},{"1351606934":["hashtag1","hashtag2"]},{"1351606939":["hashtag1","hashtag2"]},{"1351607088":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351606935, 1351607030, 1351606976, 1351606934, 1351606939, 1351607088)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.077351808547974 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 11:40:32.856266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/09/11/image_11042025_09_11_34_9324.jpg', '/home/pi/Desktop/images/11042025/09/11/image_11042025_09_11_55_10347.jpg', '/home/pi/Desktop/images/11042025/09/11/image_11042025_09_12_04_9420.jpg', '/home/pi/Desktop/images/11042025/09/12/image_11042025_09_12_34_9333.jpg', '/home/pi/Desktop/images/11042025/09/12/image_11042025_09_12_45_10356.jpg', '/home/pi/Desktop/images/11042025/09/12/image_11042025_09_12_54_9385.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/09/11/image_11042025_09_11_34_9324.jpg
/home/pi/Desktop/images/11042025/09/11/image_11042025_09_11_55_10347.jpg
/home/pi/Desktop/images/11042025/09/11/image_11042025_09_12_04_9420.jpg
/home/pi/Desktop/images/11042025/09/12/image_11042025_09_12_34_9333.jpg
/home/pi/Desktop/images/11042025/09/12/image_11042025_09_12_45_10356.jpg
/home/pi/Desktop/images/11042025/09/12/image_11042025_09_12_54_9385.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.3754110336303711 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 11:40:42.783873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/09/11/image_11042025_09_11_34_9324.jpg', '/home/pi/Desktop/images/11042025/09/11/image_11042025_09_11_55_10347.jpg', '/home/pi/Desktop/images/11042025/09/11/image_11042025_09_12_04_9420.jpg', '/home/pi/Desktop/images/11042025/09/12/image_11042025_09_12_34_9333.jpg', '/home/pi/Desktop/images/11042025/09/12/image_11042025_09_12_45_10356.jpg', '/home/pi/Desktop/images/11042025/09/12/image_11042025_09_12_54_9385.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/09/11/image_11042025_09_11_34_9324.jpg
/home/pi/Desktop/images/11042025/09/11/image_11042025_09_11_55_10347.jpg
/home/pi/Desktop/images/11042025/09/11/image_11042025_09_12_04_9420.jpg
/home/pi/Desktop/images/11042025/09/12/image_11042025_09_12_34_9333.jpg
/home/pi/Desktop/images/11042025/09/12/image_11042025_09_12_45_10356.jpg
/home/pi/Desktop/images/11042025/09/12/image_11042025_09_12_54_9385.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351607373","1351607477","1351607459","1351607402","1351607437","1351607379"],"photo_ids_order":["1351607373","1351607379","1351607402","1351607437","1351607459","1351607477"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3f2b41b25292845561701152e7c35fda.jpg","text":"TemporaryFile(/tmp/multipartBody7125048308104646869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364503249,"filename":"image_11042025_09_11_34_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2404c8e2ed49efad7122e34b9f2f4711.jpg","text":"TemporaryFile(/tmp/multipartBody6039182396666404604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364503249,"filename":"image_11042025_09_12_54_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/11/322424fdf076e74b38cecb2ac2f22ccb.jpg","text":"TemporaryFile(/tmp/multipartBody4905474672308123976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364503249,"filename":"image_11042025_09_12_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/11/601ca7307b0b6e788e4d5ae6c41145b5.jpg","text":"TemporaryFile(/tmp/multipartBody9168470123964523949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364503249,"filename":"image_11042025_09_12_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/11/c92165e07525a7ff065b4249353528be.jpg","text":"TemporaryFile(/tmp/multipartBody8285364524886264716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364503249,"filename":"image_11042025_09_12_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/11/897835b162e003db565517eda844d732.jpg","text":"TemporaryFile(/tmp/multipartBody6711104097149607896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364503249,"filename":"image_11042025_09_11_55_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351607402","file1":"1351607379","file0":"1351607373","file4":"1351607459","file5":"1351607477","file3":"1351607437"},"map_files_photo_id_array":[{"photo_id":"1351607477","filename":"file5"},{"photo_id":"1351607402","filename":"file2"},{"photo_id":"1351607459","filename":"file4"},{"photo_id":"1351607379","filename":"file1"},{"photo_id":"1351607373","filename":"file0"},{"photo_id":"1351607437","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351607373":["hashtag1","hashtag2"]},{"1351607477":["hashtag1","hashtag2"]},{"1351607459":["hashtag1","hashtag2"]},{"1351607402":["hashtag1","hashtag2"]},{"1351607437":["hashtag1","hashtag2"]},{"1351607379":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351607373, 1351607477, 1351607459, 1351607402, 1351607437, 1351607379)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.93982720375061 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 11:41:33.093380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/09/12/image_11042025_09_13_05_10348.jpg', '/home/pi/Desktop/images/11042025/09/13/image_11042025_09_13_15_10425.jpg', '/home/pi/Desktop/images/11042025/09/13/image_11042025_09_13_24_9343.jpg', '/home/pi/Desktop/images/11042025/09/13/image_11042025_09_13_35_10411.jpg', '/home/pi/Desktop/images/11042025/09/13/image_11042025_09_13_45_10390.jpg', '/home/pi/Desktop/images/11042025/09/13/image_11042025_09_13_55_9429.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/09/12/image_11042025_09_13_05_10348.jpg
/home/pi/Desktop/images/11042025/09/13/image_11042025_09_13_15_10425.jpg
/home/pi/Desktop/images/11042025/09/13/image_11042025_09_13_24_9343.jpg
/home/pi/Desktop/images/11042025/09/13/image_11042025_09_13_35_10411.jpg
/home/pi/Desktop/images/11042025/09/13/image_11042025_09_13_45_10390.jpg
/home/pi/Desktop/images/11042025/09/13/image_11042025_09_13_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":["1351607696","1351607630","1351607608","1351607691","1351607580","1351607661"],"photo_ids_order":["1351607580","1351607608","1351607630","1351607661","1351607691","1351607696"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6367da748a662f818b041a54f0bd9d9b.jpg","text":"TemporaryFile(/tmp/multipartBody4794311065645873895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364553559,"filename":"image_11042025_09_13_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/11/bb58ebf1838f6ea31a208a6df2d8fb07.jpg","text":"TemporaryFile(/tmp/multipartBody2896668615121722208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364553559,"filename":"image_11042025_09_13_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/11/e6c3eb8c83f1be83066b2f0b948f4e52.jpg","text":"TemporaryFile(/tmp/multipartBody231786162335765840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364553559,"filename":"image_11042025_09_13_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/11/17f21cb9e4ce555599f36b48863fb98a.jpg","text":"TemporaryFile(/tmp/multipartBody1618689106344794567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364553559,"filename":"image_11042025_09_13_45_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5ee4f8ca8f029dfe9d24487b8cf42c4d.jpg","text":"TemporaryFile(/tmp/multipartBody4259239981502403784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364553559,"filename":"image_11042025_09_13_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/11/1911809ca2f70e2b72b20c04b9932180.jpg","text":"TemporaryFile(/tmp/multipartBody4445261107891451033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364553559,"filename":"image_11042025_09_13_35_10411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351607630","file1":"1351607608","file0":"1351607580","file4":"1351607691","file5":"1351607696","file3":"1351607661"},"map_files_photo_id_array":[{"photo_id":"1351607696","filename":"file5"},{"photo_id":"1351607630","filename":"file2"},{"photo_id":"1351607691","filename":"file4"},{"photo_id":"1351607608","filename":"file1"},{"photo_id":"1351607580","filename":"file0"},{"photo_id":"1351607661","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351607696":["hashtag1","hashtag2"]},{"1351607630":["hashtag1","hashtag2"]},{"1351607608":["hashtag1","hashtag2"]},{"1351607691":["hashtag1","hashtag2"]},{"1351607580":["hashtag1","hashtag2"]},{"1351607661":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351607696, 1351607630, 1351607608, 1351607691, 1351607580, 1351607661)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.57003617286682 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 11:42:32.150928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/09/14/image_11042025_09_14_25_10502.jpg', '/home/pi/Desktop/images/11042025/09/14/image_11042025_09_14_34_9429.jpg', '/home/pi/Desktop/images/11042025/09/14/image_11042025_09_15_04_9342.jpg', '/home/pi/Desktop/images/11042025/09/15/image_11042025_09_15_15_10374.jpg', '/home/pi/Desktop/images/11042025/09/15/image_11042025_09_15_25_10355.jpg', '/home/pi/Desktop/images/11042025/09/15/image_11042025_09_15_35_9393.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/09/14/image_11042025_09_14_25_10502.jpg
/home/pi/Desktop/images/11042025/09/14/image_11042025_09_14_34_9429.jpg
/home/pi/Desktop/images/11042025/09/14/image_11042025_09_15_04_9342.jpg
/home/pi/Desktop/images/11042025/09/15/image_11042025_09_15_15_10374.jpg
/home/pi/Desktop/images/11042025/09/15/image_11042025_09_15_25_10355.jpg
/home/pi/Desktop/images/11042025/09/15/image_11042025_09_15_35_9393.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351607916","1351607972","1351608113","1351608020","1351608067","1351608136"],"photo_ids_order":["1351607916","1351607972","1351608020","1351608067","1351608113","1351608136"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/cf86e473cf0625cc8cdc1acc77db67a3.jpg","text":"TemporaryFile(/tmp/multipartBody7150542144209778296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364612616,"filename":"image_11042025_09_14_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/11/d111b17e54c0211abade3e7a13c5a596.jpg","text":"TemporaryFile(/tmp/multipartBody6799375768127636098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364612616,"filename":"image_11042025_09_14_34_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/11/3ebd9d99770b12216689897823ecb516.jpg","text":"TemporaryFile(/tmp/multipartBody1419447166396508824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364612616,"filename":"image_11042025_09_15_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/11/d14812455dee7cd83b0ce17b15f291a2.jpg","text":"TemporaryFile(/tmp/multipartBody3247525923911634679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364612616,"filename":"image_11042025_09_15_04_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/69900d720afaad79c6cd061431db5150.jpg","text":"TemporaryFile(/tmp/multipartBody5084621607017817645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364612616,"filename":"image_11042025_09_15_15_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a9312a3e4acc4408c051c6bf3b8344f1.jpg","text":"TemporaryFile(/tmp/multipartBody3514567721025117172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364612616,"filename":"image_11042025_09_15_35_9393.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351608020","file1":"1351607972","file0":"1351607916","file4":"1351608113","file5":"1351608136","file3":"1351608067"},"map_files_photo_id_array":[{"photo_id":"1351608136","filename":"file5"},{"photo_id":"1351608020","filename":"file2"},{"photo_id":"1351608113","filename":"file4"},{"photo_id":"1351607972","filename":"file1"},{"photo_id":"1351607916","filename":"file0"},{"photo_id":"1351608067","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351607916":["hashtag1","hashtag2"]},{"1351607972":["hashtag1","hashtag2"]},{"1351608113":["hashtag1","hashtag2"]},{"1351608020":["hashtag1","hashtag2"]},{"1351608067":["hashtag1","hashtag2"]},{"1351608136":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351607916, 1351607972, 1351608113, 1351608020, 1351608067, 1351608136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.20091676712036 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 11:43:32.468705
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/09/15/image_11042025_09_15_55_10512.jpg', '/home/pi/Desktop/images/11042025/09/15/image_11042025_09_16_04_9412.jpg', '/home/pi/Desktop/images/11042025/09/16/image_11042025_09_16_15_10334.jpg', '/home/pi/Desktop/images/11042025/09/16/image_11042025_09_16_25_10450.jpg', '/home/pi/Desktop/images/11042025/09/16/image_11042025_09_16_35_9444.jpg', '/home/pi/Desktop/images/11042025/09/16/image_11042025_09_16_45_10397.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/09/15/image_11042025_09_15_55_10512.jpg
/home/pi/Desktop/images/11042025/09/15/image_11042025_09_16_04_9412.jpg
/home/pi/Desktop/images/11042025/09/16/image_11042025_09_16_15_10334.jpg
/home/pi/Desktop/images/11042025/09/16/image_11042025_09_16_25_10450.jpg
/home/pi/Desktop/images/11042025/09/16/image_11042025_09_16_35_9444.jpg
/home/pi/Desktop/images/11042025/09/16/image_11042025_09_16_45_10397.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351608551","1351608452","1351608641","1351608416","1351608751","1351608412"],"photo_ids_order":["1351608412","1351608416","1351608452","1351608551","1351608641","1351608751"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/024b9bbd96dff15eb66cc4bedf3dd967.jpg","text":"TemporaryFile(/tmp/multipartBody1210962902622505294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364672941,"filename":"image_11042025_09_16_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/11/7ef16e19324d16275244fecbed2a345f.jpg","text":"TemporaryFile(/tmp/multipartBody5089509240196318341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364672941,"filename":"image_11042025_09_16_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/11/b7a4a17fa412dfc2489d28a41dc71a76.jpg","text":"TemporaryFile(/tmp/multipartBody7567957548089370144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364672941,"filename":"image_11042025_09_16_35_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/71c34813ff0590a44c15a0aa54ebb0c2.jpg","text":"TemporaryFile(/tmp/multipartBody1056918102741277714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364672941,"filename":"image_11042025_09_16_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/11/9080dd654e28b58b9a807688e2882e8d.jpg","text":"TemporaryFile(/tmp/multipartBody2759679307965387469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364672941,"filename":"image_11042025_09_16_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/11/c33ce92334508d53dcc96d351ed17124.jpg","text":"TemporaryFile(/tmp/multipartBody2476295810225347992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364672941,"filename":"image_11042025_09_15_55_10512.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351608452","file1":"1351608416","file0":"1351608412","file4":"1351608641","file5":"1351608751","file3":"1351608551"},"map_files_photo_id_array":[{"photo_id":"1351608751","filename":"file5"},{"photo_id":"1351608452","filename":"file2"},{"photo_id":"1351608641","filename":"file4"},{"photo_id":"1351608416","filename":"file1"},{"photo_id":"1351608412","filename":"file0"},{"photo_id":"1351608551","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351608551":["hashtag1","hashtag2"]},{"1351608452":["hashtag1","hashtag2"]},{"1351608641":["hashtag1","hashtag2"]},{"1351608416":["hashtag1","hashtag2"]},{"1351608751":["hashtag1","hashtag2"]},{"1351608412":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351608551, 1351608452, 1351608641, 1351608416, 1351608751, 1351608412)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.17195105552673 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 11:44:32.661408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/09/16/image_11042025_09_17_05_10405.jpg', '/home/pi/Desktop/images/11042025/09/17/image_11042025_09_17_15_10393.jpg', '/home/pi/Desktop/images/11042025/09/17/image_11042025_09_17_24_9372.jpg', '/home/pi/Desktop/images/11042025/09/17/image_11042025_09_17_35_10440.jpg', '/home/pi/Desktop/images/11042025/09/17/image_11042025_09_17_55_10358.jpg', '/home/pi/Desktop/images/11042025/09/18/image_11042025_09_18_14_9346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/09/16/image_11042025_09_17_05_10405.jpg
/home/pi/Desktop/images/11042025/09/17/image_11042025_09_17_15_10393.jpg
/home/pi/Desktop/images/11042025/09/17/image_11042025_09_17_24_9372.jpg
/home/pi/Desktop/images/11042025/09/17/image_11042025_09_17_35_10440.jpg
/home/pi/Desktop/images/11042025/09/17/image_11042025_09_17_55_10358.jpg
/home/pi/Desktop/images/11042025/09/18/image_11042025_09_18_14_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":["1351608896","1351608956","1351608923","1351608917","1351608908","1351608913"],"photo_ids_order":["1351608896","1351608908","1351608913","1351608917","1351608923","1351608956"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3e4261f24eea26f335f38d66b84644bc.jpg","text":"TemporaryFile(/tmp/multipartBody6129209217925625533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364733133,"filename":"image_11042025_09_17_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/11/b16c66dab3eabd01bef5ad0b425bcfe4.jpg","text":"TemporaryFile(/tmp/multipartBody6983308158806185951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364733133,"filename":"image_11042025_09_18_14_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/360ceb0c00baf3e0c8aefa62e6453c81.jpg","text":"TemporaryFile(/tmp/multipartBody134980898861632323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364733133,"filename":"image_11042025_09_17_55_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4fc19f52d1bf3aa131a5b9db76bf8647.jpg","text":"TemporaryFile(/tmp/multipartBody5852355499287527536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364733133,"filename":"image_11042025_09_17_35_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d2fc1e80e2ef9a01d4f781bc70d9c07e.jpg","text":"TemporaryFile(/tmp/multipartBody2443293705665345259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364733133,"filename":"image_11042025_09_17_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/11/80cb49bcecfa6b02c07c2a009514de0d.jpg","text":"TemporaryFile(/tmp/multipartBody4497350861109307854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364733133,"filename":"image_11042025_09_17_24_9372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351608913","file1":"1351608908","file0":"1351608896","file4":"1351608923","file5":"1351608956","file3":"1351608917"},"map_files_photo_id_array":[{"photo_id":"1351608956","filename":"file5"},{"photo_id":"1351608913","filename":"file2"},{"photo_id":"1351608923","filename":"file4"},{"photo_id":"1351608908","filename":"file1"},{"photo_id":"1351608896","filename":"file0"},{"photo_id":"1351608917","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351608896":["hashtag1","hashtag2"]},{"1351608956":["hashtag1","hashtag2"]},{"1351608923":["hashtag1","hashtag2"]},{"1351608917":["hashtag1","hashtag2"]},{"1351608908":["hashtag1","hashtag2"]},{"1351608913":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351608896, 1351608956, 1351608923, 1351608917, 1351608908, 1351608913)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.97584891319275 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 11:45:32.836713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/09/18/image_11042025_09_18_45_10371.jpg', '/home/pi/Desktop/images/11042025/09/18/image_11042025_09_18_55_10443.jpg', '/home/pi/Desktop/images/11042025/09/18/image_11042025_09_19_04_9333.jpg', '/home/pi/Desktop/images/11042025/09/20/image_11042025_09_20_24_9331.jpg', '/home/pi/Desktop/images/11042025/09/20/image_11042025_09_20_35_10393.jpg', '/home/pi/Desktop/images/11042025/09/21/image_11042025_09_21_14_9354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/09/18/image_11042025_09_18_45_10371.jpg
/home/pi/Desktop/images/11042025/09/18/image_11042025_09_18_55_10443.jpg
/home/pi/Desktop/images/11042025/09/18/image_11042025_09_19_04_9333.jpg
/home/pi/Desktop/images/11042025/09/20/image_11042025_09_20_24_9331.jpg
/home/pi/Desktop/images/11042025/09/20/image_11042025_09_20_35_10393.jpg
/home/pi/Desktop/images/11042025/09/21/image_11042025_09_21_14_9354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351609547","1351609495","1351609615","1351609395","1351609414","1351609463"],"photo_ids_order":["1351609395","1351609414","1351609463","1351609495","1351609547","1351609615"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/78c9be6e2df5fb7e0790ed9402089b81.jpg","text":"TemporaryFile(/tmp/multipartBody5834624427055954912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364793322,"filename":"image_11042025_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/11/865ab964e39453f66d47f82c456fe97d.jpg","text":"TemporaryFile(/tmp/multipartBody3405832474187434567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364793322,"filename":"image_11042025_09_20_24_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/91f9212d39d4cba5f90e4ea958e1cece.jpg","text":"TemporaryFile(/tmp/multipartBody1948314293527962741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364793322,"filename":"image_11042025_09_21_14_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/369b5a9a938bccedc40bc66ee772cdb5.jpg","text":"TemporaryFile(/tmp/multipartBody8812029489671586763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364793322,"filename":"image_11042025_09_18_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/11/4237a620de0b6cec88ee31b20f9cc37d.jpg","text":"TemporaryFile(/tmp/multipartBody7992184193745927016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364793322,"filename":"image_11042025_09_18_55_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9c79a187f00deb4b8480413a71dda723.jpg","text":"TemporaryFile(/tmp/multipartBody876893052439939622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364793322,"filename":"image_11042025_09_19_04_9333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351609463","file1":"1351609414","file0":"1351609395","file4":"1351609547","file5":"1351609615","file3":"1351609495"},"map_files_photo_id_array":[{"photo_id":"1351609615","filename":"file5"},{"photo_id":"1351609463","filename":"file2"},{"photo_id":"1351609547","filename":"file4"},{"photo_id":"1351609414","filename":"file1"},{"photo_id":"1351609395","filename":"file0"},{"photo_id":"1351609495","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351609547":["hashtag1","hashtag2"]},{"1351609495":["hashtag1","hashtag2"]},{"1351609615":["hashtag1","hashtag2"]},{"1351609395":["hashtag1","hashtag2"]},{"1351609414":["hashtag1","hashtag2"]},{"1351609463":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351609547, 1351609495, 1351609615, 1351609395, 1351609414, 1351609463)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.0345413684845 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 11:46:33.076011
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/09/21/image_11042025_09_21_25_10340.jpg', '/home/pi/Desktop/images/11042025/09/21/image_11042025_09_22_05_10363.jpg', '/home/pi/Desktop/images/11042025/09/22/image_11042025_09_22_34_9433.jpg', '/home/pi/Desktop/images/11042025/09/22/image_11042025_09_22_55_10358.jpg', '/home/pi/Desktop/images/11042025/09/23/image_11042025_09_23_15_10399.jpg', '/home/pi/Desktop/images/11042025/09/23/image_11042025_09_23_24_9413.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/09/21/image_11042025_09_21_25_10340.jpg
/home/pi/Desktop/images/11042025/09/21/image_11042025_09_22_05_10363.jpg
/home/pi/Desktop/images/11042025/09/22/image_11042025_09_22_34_9433.jpg
/home/pi/Desktop/images/11042025/09/22/image_11042025_09_22_55_10358.jpg
/home/pi/Desktop/images/11042025/09/23/image_11042025_09_23_15_10399.jpg
/home/pi/Desktop/images/11042025/09/23/image_11042025_09_23_24_9413.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351609957","1351610080","1351610131","1351609863","1351610199","1351610178"],"photo_ids_order":["1351609863","1351609957","1351610080","1351610131","1351610178","1351610199"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ae6e8cab600e093502fc10f5abfa591e.jpg","text":"TemporaryFile(/tmp/multipartBody6434427388147704913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364853545,"filename":"image_11042025_09_22_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/11/34a69a916c8a68759abe78b9b1d0f94a.jpg","text":"TemporaryFile(/tmp/multipartBody1532677213209290905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364853545,"filename":"image_11042025_09_22_34_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/bce2fac79665d89e51a990b30f03d4f4.jpg","text":"TemporaryFile(/tmp/multipartBody2454052945313713682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364853545,"filename":"image_11042025_09_22_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/11/0ad13e20fff584c3f8193747cba76590.jpg","text":"TemporaryFile(/tmp/multipartBody3361872978065110836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364853545,"filename":"image_11042025_09_21_25_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4a65909f73f94ec0d37150eaf959aa96.jpg","text":"TemporaryFile(/tmp/multipartBody7046334388598912893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364853545,"filename":"image_11042025_09_23_24_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1f42e0f1f1f0bc6c62473392ba11c26a.jpg","text":"TemporaryFile(/tmp/multipartBody1626956787551588171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364853545,"filename":"image_11042025_09_23_15_10399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351610080","file1":"1351609957","file0":"1351609863","file4":"1351610178","file5":"1351610199","file3":"1351610131"},"map_files_photo_id_array":[{"photo_id":"1351610199","filename":"file5"},{"photo_id":"1351610080","filename":"file2"},{"photo_id":"1351610178","filename":"file4"},{"photo_id":"1351609957","filename":"file1"},{"photo_id":"1351609863","filename":"file0"},{"photo_id":"1351610131","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351609957":["hashtag1","hashtag2"]},{"1351610080":["hashtag1","hashtag2"]},{"1351610131":["hashtag1","hashtag2"]},{"1351609863":["hashtag1","hashtag2"]},{"1351610199":["hashtag1","hashtag2"]},{"1351610178":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351609957, 1351610080, 1351610131, 1351609863, 1351610199, 1351610178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.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-11 11:47:32.227780
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/09/23/image_11042025_09_23_54_9353.jpg', '/home/pi/Desktop/images/11042025/09/23/image_11042025_09_24_05_10454.jpg', '/home/pi/Desktop/images/11042025/09/24/image_11042025_09_24_14_9377.jpg', '/home/pi/Desktop/images/11042025/09/24/image_11042025_09_24_25_10463.jpg', '/home/pi/Desktop/images/11042025/09/24/image_11042025_09_24_35_10391.jpg', '/home/pi/Desktop/images/11042025/09/24/image_11042025_09_24_44_9332.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/09/23/image_11042025_09_23_54_9353.jpg
/home/pi/Desktop/images/11042025/09/23/image_11042025_09_24_05_10454.jpg
/home/pi/Desktop/images/11042025/09/24/image_11042025_09_24_14_9377.jpg
/home/pi/Desktop/images/11042025/09/24/image_11042025_09_24_25_10463.jpg
/home/pi/Desktop/images/11042025/09/24/image_11042025_09_24_35_10391.jpg
/home/pi/Desktop/images/11042025/09/24/image_11042025_09_24_44_9332.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":["1351611037","1351610488","1351610830","1351611150","1351611267","1351610892"],"photo_ids_order":["1351610488","1351610830","1351610892","1351611037","1351611150","1351611267"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/73abe36b705a956d26b7f659b3db84e2.jpg","text":"TemporaryFile(/tmp/multipartBody3712007699699389728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364912689,"filename":"image_11042025_09_24_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/11/284ffa33c09ebfead465dde2fb5f6194.jpg","text":"TemporaryFile(/tmp/multipartBody7196180587893724770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364912689,"filename":"image_11042025_09_23_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/11/d6cf775808b1e00fe8d817e9d0a0f7a5.jpg","text":"TemporaryFile(/tmp/multipartBody8077289393360616774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364912689,"filename":"image_11042025_09_24_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/11/8a16dd6e9082170d9b243c5d38679fb4.jpg","text":"TemporaryFile(/tmp/multipartBody8771676005338221750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364912689,"filename":"image_11042025_09_24_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/11/e21db13b9e2800fa484c837ef2b8d967.jpg","text":"TemporaryFile(/tmp/multipartBody7561500773853491211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364912689,"filename":"image_11042025_09_24_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/11/5cbba9026a99609298ee9e3ddee058e5.jpg","text":"TemporaryFile(/tmp/multipartBody1820709023302150255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364912689,"filename":"image_11042025_09_24_14_9377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351610892","file1":"1351610830","file0":"1351610488","file4":"1351611150","file5":"1351611267","file3":"1351611037"},"map_files_photo_id_array":[{"photo_id":"1351611267","filename":"file5"},{"photo_id":"1351610892","filename":"file2"},{"photo_id":"1351611150","filename":"file4"},{"photo_id":"1351610830","filename":"file1"},{"photo_id":"1351610488","filename":"file0"},{"photo_id":"1351611037","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351611037":["hashtag1","hashtag2"]},{"1351610488":["hashtag1","hashtag2"]},{"1351610830":["hashtag1","hashtag2"]},{"1351611150":["hashtag1","hashtag2"]},{"1351611267":["hashtag1","hashtag2"]},{"1351610892":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351611037, 1351610488, 1351610830, 1351611150, 1351611267, 1351610892)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.82742261886597 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 11:48:42.457692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/09/24/image_11042025_09_24_55_10426.jpg', '/home/pi/Desktop/images/11042025/09/25/image_11042025_09_25_15_10403.jpg', '/home/pi/Desktop/images/11042025/09/25/image_11042025_09_25_25_10342.jpg', '/home/pi/Desktop/images/11042025/09/25/image_11042025_09_25_45_10350.jpg', '/home/pi/Desktop/images/11042025/09/25/image_11042025_09_25_54_9441.jpg', '/home/pi/Desktop/images/11042025/09/26/image_11042025_09_26_15_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/09/24/image_11042025_09_24_55_10426.jpg
/home/pi/Desktop/images/11042025/09/25/image_11042025_09_25_15_10403.jpg
/home/pi/Desktop/images/11042025/09/25/image_11042025_09_25_25_10342.jpg
/home/pi/Desktop/images/11042025/09/25/image_11042025_09_25_45_10350.jpg
/home/pi/Desktop/images/11042025/09/25/image_11042025_09_25_54_9441.jpg
/home/pi/Desktop/images/11042025/09/26/image_11042025_09_26_15_10361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351611793","1351611955","1351611651","1351611756","1351611593","1351611860"],"photo_ids_order":["1351611593","1351611651","1351611756","1351611793","1351611860","1351611955"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2068ba82b3299bb6c144be96c658d618.jpg","text":"TemporaryFile(/tmp/multipartBody8061954298329800209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364982936,"filename":"image_11042025_09_25_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/11/b22d8630166ca1ead456234629f80190.jpg","text":"TemporaryFile(/tmp/multipartBody7288246512070313967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364982936,"filename":"image_11042025_09_26_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/11/30faa98c12f7ee1c30fcaaa6aa7566fd.jpg","text":"TemporaryFile(/tmp/multipartBody4456722277677028767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364982936,"filename":"image_11042025_09_25_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/11/b9f7aae2a871d380231df278a1b53a48.jpg","text":"TemporaryFile(/tmp/multipartBody580230764716695945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364982936,"filename":"image_11042025_09_25_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/11/3ccba6e3aa3d7a7c6adc23fb152cea81.jpg","text":"TemporaryFile(/tmp/multipartBody7004155589922573865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364982936,"filename":"image_11042025_09_24_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/11/f312485e014681d4473147e09f594774.jpg","text":"TemporaryFile(/tmp/multipartBody2070894201629566271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744364982936,"filename":"image_11042025_09_25_54_9441.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351611756","file1":"1351611651","file0":"1351611593","file4":"1351611860","file5":"1351611955","file3":"1351611793"},"map_files_photo_id_array":[{"photo_id":"1351611955","filename":"file5"},{"photo_id":"1351611756","filename":"file2"},{"photo_id":"1351611860","filename":"file4"},{"photo_id":"1351611651","filename":"file1"},{"photo_id":"1351611593","filename":"file0"},{"photo_id":"1351611793","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351611793":["hashtag1","hashtag2"]},{"1351611955":["hashtag1","hashtag2"]},{"1351611651":["hashtag1","hashtag2"]},{"1351611756":["hashtag1","hashtag2"]},{"1351611593":["hashtag1","hashtag2"]},{"1351611860":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351611793, 1351611955, 1351611651, 1351611756, 1351611593, 1351611860)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.41228723526001 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 11:49:32.652431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/09/26/image_11042025_09_26_24_9334.jpg', '/home/pi/Desktop/images/11042025/09/26/image_11042025_09_26_35_10421.jpg', '/home/pi/Desktop/images/11042025/09/26/image_11042025_09_26_45_10346.jpg', '/home/pi/Desktop/images/11042025/09/26/image_11042025_09_26_54_9333.jpg', '/home/pi/Desktop/images/11042025/09/27/image_11042025_09_27_35_10452.jpg', '/home/pi/Desktop/images/11042025/09/27/image_11042025_09_28_04_9422.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/09/26/image_11042025_09_26_24_9334.jpg
/home/pi/Desktop/images/11042025/09/26/image_11042025_09_26_35_10421.jpg
/home/pi/Desktop/images/11042025/09/26/image_11042025_09_26_45_10346.jpg
/home/pi/Desktop/images/11042025/09/26/image_11042025_09_26_54_9333.jpg
/home/pi/Desktop/images/11042025/09/27/image_11042025_09_27_35_10452.jpg
/home/pi/Desktop/images/11042025/09/27/image_11042025_09_28_04_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":["1351612462","1351612569","1351612257","1351612707","1351612311","1351612370"],"photo_ids_order":["1351612257","1351612311","1351612370","1351612462","1351612569","1351612707"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e250253cc82a0389ba57d1dcddf76208.jpg","text":"TemporaryFile(/tmp/multipartBody2605671786934868683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744365033126,"filename":"image_11042025_09_26_54_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9ed3588d87d72a9264a371a7097e8b16.jpg","text":"TemporaryFile(/tmp/multipartBody2790948771570327029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744365033126,"filename":"image_11042025_09_27_35_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9182c1f897e4573a1aab422576efadac.jpg","text":"TemporaryFile(/tmp/multipartBody1463656995968092398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744365033126,"filename":"image_11042025_09_26_24_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d0c934f21178669e4d75cff68974cdf1.jpg","text":"TemporaryFile(/tmp/multipartBody4428290874471448808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744365033126,"filename":"image_11042025_09_28_04_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4d667476035abbe4e96f4bba1a69ddbb.jpg","text":"TemporaryFile(/tmp/multipartBody4164459725587859219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744365033126,"filename":"image_11042025_09_26_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/11/46117a6ab9b30e082485fea3137e6d16.jpg","text":"TemporaryFile(/tmp/multipartBody2475867918577155530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744365033126,"filename":"image_11042025_09_26_45_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351612370","file1":"1351612311","file0":"1351612257","file4":"1351612569","file5":"1351612707","file3":"1351612462"},"map_files_photo_id_array":[{"photo_id":"1351612707","filename":"file5"},{"photo_id":"1351612370","filename":"file2"},{"photo_id":"1351612569","filename":"file4"},{"photo_id":"1351612311","filename":"file1"},{"photo_id":"1351612257","filename":"file0"},{"photo_id":"1351612462","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351612462":["hashtag1","hashtag2"]},{"1351612569":["hashtag1","hashtag2"]},{"1351612257":["hashtag1","hashtag2"]},{"1351612707":["hashtag1","hashtag2"]},{"1351612311":["hashtag1","hashtag2"]},{"1351612370":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351612462, 1351612569, 1351612257, 1351612707, 1351612311, 1351612370)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.964767932891846 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 11:50:32.955566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/09/28/image_11042025_09_28_15_10369.jpg', '/home/pi/Desktop/images/11042025/09/28/image_11042025_09_28_45_10426.jpg', '/home/pi/Desktop/images/11042025/09/28/image_11042025_09_29_05_10418.jpg', '/home/pi/Desktop/images/11042025/09/29/image_11042025_09_29_24_9348.jpg', '/home/pi/Desktop/images/11042025/09/29/image_11042025_09_29_35_10369.jpg', '/home/pi/Desktop/images/11042025/09/29/image_11042025_09_29_55_10340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/09/28/image_11042025_09_28_15_10369.jpg
/home/pi/Desktop/images/11042025/09/28/image_11042025_09_28_45_10426.jpg
/home/pi/Desktop/images/11042025/09/28/image_11042025_09_29_05_10418.jpg
/home/pi/Desktop/images/11042025/09/29/image_11042025_09_29_24_9348.jpg
/home/pi/Desktop/images/11042025/09/29/image_11042025_09_29_35_10369.jpg
/home/pi/Desktop/images/11042025/09/29/image_11042025_09_29_55_10340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351613317","1351613541","1351613498","1351613447","1351613392","1351613233"],"photo_ids_order":["1351613233","1351613317","1351613392","1351613447","1351613498","1351613541"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a9c2781f578e5dbe2f008e47b2e8392f.jpg","text":"TemporaryFile(/tmp/multipartBody104694224451886393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744365093415,"filename":"image_11042025_09_28_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/11/06ff39f3596cc3e7b1ccf4990e009f13.jpg","text":"TemporaryFile(/tmp/multipartBody7391390953566230082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744365093415,"filename":"image_11042025_09_29_55_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f67f51f21d67df5d7aef9f362a54937a.jpg","text":"TemporaryFile(/tmp/multipartBody4349033556383211346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744365093415,"filename":"image_11042025_09_29_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/11/e497cbb566c52be85daee3f97174531b.jpg","text":"TemporaryFile(/tmp/multipartBody6725049579290854155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744365093415,"filename":"image_11042025_09_29_24_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4f0122a27c6122d693644893d802f5d0.jpg","text":"TemporaryFile(/tmp/multipartBody312607389417730738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744365093415,"filename":"image_11042025_09_29_05_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5e43b58a030f9707aca0d55f945dff41.jpg","text":"TemporaryFile(/tmp/multipartBody3362866774194348287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744365093415,"filename":"image_11042025_09_28_15_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351613392","file1":"1351613317","file0":"1351613233","file4":"1351613498","file5":"1351613541","file3":"1351613447"},"map_files_photo_id_array":[{"photo_id":"1351613541","filename":"file5"},{"photo_id":"1351613392","filename":"file2"},{"photo_id":"1351613498","filename":"file4"},{"photo_id":"1351613317","filename":"file1"},{"photo_id":"1351613233","filename":"file0"},{"photo_id":"1351613447","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351613317":["hashtag1","hashtag2"]},{"1351613541":["hashtag1","hashtag2"]},{"1351613498":["hashtag1","hashtag2"]},{"1351613447":["hashtag1","hashtag2"]},{"1351613392":["hashtag1","hashtag2"]},{"1351613233":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351613317, 1351613541, 1351613498, 1351613447, 1351613392, 1351613233)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.81355810165405 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 11:51:32.167000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/09/31/image_11042025_09_31_34_9335.jpg', '/home/pi/Desktop/images/11042025/09/31/image_11042025_09_31_45_10355.jpg', '/home/pi/Desktop/images/11042025/09/31/image_11042025_09_31_55_10339.jpg', '/home/pi/Desktop/images/11042025/09/31/image_11042025_09_32_04_9328.jpg', '/home/pi/Desktop/images/11042025/09/32/image_11042025_09_32_15_10340.jpg', '/home/pi/Desktop/images/11042025/09/32/image_11042025_09_32_25_10347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/09/31/image_11042025_09_31_34_9335.jpg
/home/pi/Desktop/images/11042025/09/31/image_11042025_09_31_45_10355.jpg
/home/pi/Desktop/images/11042025/09/31/image_11042025_09_31_55_10339.jpg
/home/pi/Desktop/images/11042025/09/31/image_11042025_09_32_04_9328.jpg
/home/pi/Desktop/images/11042025/09/32/image_11042025_09_32_15_10340.jpg
/home/pi/Desktop/images/11042025/09/32/image_11042025_09_32_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":["1351613908","1351613928","1351614002","1351613801","1351613947","1351613869"],"photo_ids_order":["1351613801","1351613869","1351613908","1351613928","1351613947","1351614002"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/cb54169b3a71748f9ecd1896dd9cec56.jpg","text":"TemporaryFile(/tmp/multipartBody6320127010286681011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744365152630,"filename":"image_11042025_09_31_55_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d50529b80a2a04bd98b7a013cfdc2fac.jpg","text":"TemporaryFile(/tmp/multipartBody7495768442761865838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744365152630,"filename":"image_11042025_09_32_04_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/014b735b7bfcd0a79669a2e51b21df1f.jpg","text":"TemporaryFile(/tmp/multipartBody3403983228574652035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744365152630,"filename":"image_11042025_09_32_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/11/fdba2d1dd79b5bbcabd20498291de77b.jpg","text":"TemporaryFile(/tmp/multipartBody1170187828168326833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744365152630,"filename":"image_11042025_09_31_34_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2923d78658bad3f1d8c98aaee492a06a.jpg","text":"TemporaryFile(/tmp/multipartBody2774383768963484875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744365152630,"filename":"image_11042025_09_32_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/11/fd926e96780794238bd8dfafc457b4bd.jpg","text":"TemporaryFile(/tmp/multipartBody1250844474951823011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744365152630,"filename":"image_11042025_09_31_45_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351613908","file1":"1351613869","file0":"1351613801","file4":"1351613947","file5":"1351614002","file3":"1351613928"},"map_files_photo_id_array":[{"photo_id":"1351614002","filename":"file5"},{"photo_id":"1351613908","filename":"file2"},{"photo_id":"1351613947","filename":"file4"},{"photo_id":"1351613869","filename":"file1"},{"photo_id":"1351613801","filename":"file0"},{"photo_id":"1351613928","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351613908":["hashtag1","hashtag2"]},{"1351613928":["hashtag1","hashtag2"]},{"1351614002":["hashtag1","hashtag2"]},{"1351613801":["hashtag1","hashtag2"]},{"1351613947":["hashtag1","hashtag2"]},{"1351613869":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351613908, 1351613928, 1351614002, 1351613801, 1351613947, 1351613869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.242642402648926 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 11:52:32.558569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/09/32/image_11042025_09_32_45_10385.jpg', '/home/pi/Desktop/images/11042025/09/32/image_11042025_09_33_05_10427.jpg', '/home/pi/Desktop/images/11042025/09/33/image_11042025_09_33_15_10333.jpg', '/home/pi/Desktop/images/11042025/09/33/image_11042025_09_33_24_9342.jpg', '/home/pi/Desktop/images/11042025/09/33/image_11042025_09_33_35_10468.jpg', '/home/pi/Desktop/images/11042025/09/33/image_11042025_09_33_55_10469.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/09/32/image_11042025_09_32_45_10385.jpg
/home/pi/Desktop/images/11042025/09/32/image_11042025_09_33_05_10427.jpg
/home/pi/Desktop/images/11042025/09/33/image_11042025_09_33_15_10333.jpg
/home/pi/Desktop/images/11042025/09/33/image_11042025_09_33_24_9342.jpg
/home/pi/Desktop/images/11042025/09/33/image_11042025_09_33_35_10468.jpg
/home/pi/Desktop/images/11042025/09/33/image_11042025_09_33_55_10469.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351614303","1351614407","1351614338","1351614274","1351614382","1351614307"],"photo_ids_order":["1351614274","1351614303","1351614307","1351614338","1351614382","1351614407"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/29995e85674ad1bf5e4e485bb67c36eb.jpg","text":"TemporaryFile(/tmp/multipartBody8117469388389408927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744365213017,"filename":"image_11042025_09_33_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/11/b9fe1bade6b02b088446ac0e18b27622.jpg","text":"TemporaryFile(/tmp/multipartBody1426795882921979706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744365213017,"filename":"image_11042025_09_33_55_10469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0f2f4f47a83bd1ef86cdbb18de230251.jpg","text":"TemporaryFile(/tmp/multipartBody4898829782234155596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744365213017,"filename":"image_11042025_09_33_24_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/584642951ceb4b4d54e84f65169acb50.jpg","text":"TemporaryFile(/tmp/multipartBody6064933558435621435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744365213017,"filename":"image_11042025_09_32_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/11/512efc171a610285d466350ba1580ea0.jpg","text":"TemporaryFile(/tmp/multipartBody5814693038038551658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744365213017,"filename":"image_11042025_09_33_35_10468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a8b6c76ca6a076cbfb6f29bb58fa9d3f.jpg","text":"TemporaryFile(/tmp/multipartBody1990985938356684979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744365213017,"filename":"image_11042025_09_33_15_10333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351614307","file1":"1351614303","file0":"1351614274","file4":"1351614382","file5":"1351614407","file3":"1351614338"},"map_files_photo_id_array":[{"photo_id":"1351614407","filename":"file5"},{"photo_id":"1351614307","filename":"file2"},{"photo_id":"1351614382","filename":"file4"},{"photo_id":"1351614303","filename":"file1"},{"photo_id":"1351614274","filename":"file0"},{"photo_id":"1351614338","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351614303":["hashtag1","hashtag2"]},{"1351614407":["hashtag1","hashtag2"]},{"1351614338":["hashtag1","hashtag2"]},{"1351614274":["hashtag1","hashtag2"]},{"1351614382":["hashtag1","hashtag2"]},{"1351614307":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351614303, 1351614407, 1351614338, 1351614274, 1351614382, 1351614307)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.02997422218323 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 11:53:32.704650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/09/33/image_11042025_09_34_05_10434.jpg', '/home/pi/Desktop/images/11042025/09/34/image_11042025_09_34_14_9366.jpg', '/home/pi/Desktop/images/11042025/09/34/image_11042025_09_34_25_10430.jpg', '/home/pi/Desktop/images/11042025/09/34/image_11042025_09_34_45_10360.jpg', '/home/pi/Desktop/images/11042025/09/34/image_11042025_09_34_55_10406.jpg', '/home/pi/Desktop/images/11042025/09/34/image_11042025_09_35_04_9381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/09/33/image_11042025_09_34_05_10434.jpg
/home/pi/Desktop/images/11042025/09/34/image_11042025_09_34_14_9366.jpg
/home/pi/Desktop/images/11042025/09/34/image_11042025_09_34_25_10430.jpg
/home/pi/Desktop/images/11042025/09/34/image_11042025_09_34_45_10360.jpg
/home/pi/Desktop/images/11042025/09/34/image_11042025_09_34_55_10406.jpg
/home/pi/Desktop/images/11042025/09/34/image_11042025_09_35_04_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":["1351615232","1351615154","1351615013","1351615309","1351615092","1351614934"],"photo_ids_order":["1351614934","1351615013","1351615092","1351615154","1351615232","1351615309"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/686c337da6ee191bf2e7bcd2e67bbed2.jpg","text":"TemporaryFile(/tmp/multipartBody7652561580454442494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744365273179,"filename":"image_11042025_09_34_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/11/a6b5916440e8bd0ec376c04fb3db5520.jpg","text":"TemporaryFile(/tmp/multipartBody6782288272443658849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744365273179,"filename":"image_11042025_09_34_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/11/790d67f920cadca3861c3f9d0550cc0f.jpg","text":"TemporaryFile(/tmp/multipartBody1395599524360613525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744365273179,"filename":"image_11042025_09_34_14_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/37624806a61da933c76b90f196c6c554.jpg","text":"TemporaryFile(/tmp/multipartBody7690133746443980974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744365273179,"filename":"image_11042025_09_35_04_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/11/558b0edf51df3c0c8b290f2161bc0286.jpg","text":"TemporaryFile(/tmp/multipartBody2304334060643166873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744365273179,"filename":"image_11042025_09_34_25_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8d69d8ff994af7ca0b61cff0bbc2b0ba.jpg","text":"TemporaryFile(/tmp/multipartBody2588780804335238077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744365273179,"filename":"image_11042025_09_34_05_10434.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351615092","file1":"1351615013","file0":"1351614934","file4":"1351615232","file5":"1351615309","file3":"1351615154"},"map_files_photo_id_array":[{"photo_id":"1351615309","filename":"file5"},{"photo_id":"1351615092","filename":"file2"},{"photo_id":"1351615232","filename":"file4"},{"photo_id":"1351615013","filename":"file1"},{"photo_id":"1351614934","filename":"file0"},{"photo_id":"1351615154","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351615232":["hashtag1","hashtag2"]},{"1351615154":["hashtag1","hashtag2"]},{"1351615013":["hashtag1","hashtag2"]},{"1351615309":["hashtag1","hashtag2"]},{"1351615092":["hashtag1","hashtag2"]},{"1351614934":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351615232, 1351615154, 1351615013, 1351615309, 1351615092, 1351614934)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.83578085899353 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 11:54:32.893453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/09/35/image_11042025_09_35_15_10371.jpg', '/home/pi/Desktop/images/11042025/09/35/image_11042025_09_35_25_10349.jpg', '/home/pi/Desktop/images/11042025/09/35/image_11042025_09_35_34_9362.jpg', '/home/pi/Desktop/images/11042025/09/35/image_11042025_09_35_45_10399.jpg', '/home/pi/Desktop/images/11042025/09/35/image_11042025_09_35_54_9357.jpg', '/home/pi/Desktop/images/11042025/09/36/image_11042025_09_37_05_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/09/35/image_11042025_09_35_15_10371.jpg
/home/pi/Desktop/images/11042025/09/35/image_11042025_09_35_25_10349.jpg
/home/pi/Desktop/images/11042025/09/35/image_11042025_09_35_34_9362.jpg
/home/pi/Desktop/images/11042025/09/35/image_11042025_09_35_45_10399.jpg
/home/pi/Desktop/images/11042025/09/35/image_11042025_09_35_54_9357.jpg
/home/pi/Desktop/images/11042025/09/36/image_11042025_09_37_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":["1351616261","1351616324","1351616054","1351616207","1351615963","1351616139"],"photo_ids_order":["1351615963","1351616054","1351616139","1351616207","1351616261","1351616324"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/312bcbd2e63514efb1f33b6748b6b405.jpg","text":"TemporaryFile(/tmp/multipartBody849398674723592526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744365333355,"filename":"image_11042025_09_35_54_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e562b05cb3de49739bef42f289e4191b.jpg","text":"TemporaryFile(/tmp/multipartBody1157901704447720038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744365333355,"filename":"image_11042025_09_37_05_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/fcebe9f1ad4aa6755047f2453c486562.jpg","text":"TemporaryFile(/tmp/multipartBody8848347507707015966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744365333355,"filename":"image_11042025_09_35_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/11/983f8f3c68014407edb9bb00bf4d6475.jpg","text":"TemporaryFile(/tmp/multipartBody6243476072961275440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744365333355,"filename":"image_11042025_09_35_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/11/6d96f7edb8ae5f14d98b47f9cb4ff5e1.jpg","text":"TemporaryFile(/tmp/multipartBody6857014161435791716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744365333355,"filename":"image_11042025_09_35_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/11/fe2365907fc74ccd1e437c0182a3a89c.jpg","text":"TemporaryFile(/tmp/multipartBody8050664313378608196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744365333355,"filename":"image_11042025_09_35_34_9362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351616139","file1":"1351616054","file0":"1351615963","file4":"1351616261","file5":"1351616324","file3":"1351616207"},"map_files_photo_id_array":[{"photo_id":"1351616324","filename":"file5"},{"photo_id":"1351616139","filename":"file2"},{"photo_id":"1351616261","filename":"file4"},{"photo_id":"1351616054","filename":"file1"},{"photo_id":"1351615963","filename":"file0"},{"photo_id":"1351616207","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351616261":["hashtag1","hashtag2"]},{"1351616324":["hashtag1","hashtag2"]},{"1351616054":["hashtag1","hashtag2"]},{"1351616207":["hashtag1","hashtag2"]},{"1351615963":["hashtag1","hashtag2"]},{"1351616139":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351616261, 1351616324, 1351616054, 1351616207, 1351615963, 1351616139)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.80435061454773 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 11:55:32.277780
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/09/39/image_11042025_09_39_25_10498.jpg', '/home/pi/Desktop/images/11042025/09/39/image_11042025_09_39_35_10343.jpg', '/home/pi/Desktop/images/11042025/09/39/image_11042025_09_39_45_9351.jpg', '/home/pi/Desktop/images/11042025/09/39/image_11042025_09_39_55_10413.jpg', '/home/pi/Desktop/images/11042025/09/40/image_11042025_09_40_15_10445.jpg', '/home/pi/Desktop/images/11042025/09/40/image_11042025_09_40_25_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/09/39/image_11042025_09_39_25_10498.jpg
/home/pi/Desktop/images/11042025/09/39/image_11042025_09_39_35_10343.jpg
/home/pi/Desktop/images/11042025/09/39/image_11042025_09_39_45_9351.jpg
/home/pi/Desktop/images/11042025/09/39/image_11042025_09_39_55_10413.jpg
/home/pi/Desktop/images/11042025/09/40/image_11042025_09_40_15_10445.jpg
/home/pi/Desktop/images/11042025/09/40/image_11042025_09_40_25_10362.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.38901591300964355 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 11:55:42.268749
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/09/39/image_11042025_09_39_25_10498.jpg', '/home/pi/Desktop/images/11042025/09/39/image_11042025_09_39_35_10343.jpg', '/home/pi/Desktop/images/11042025/09/39/image_11042025_09_39_45_9351.jpg', '/home/pi/Desktop/images/11042025/09/39/image_11042025_09_39_55_10413.jpg', '/home/pi/Desktop/images/11042025/09/40/image_11042025_09_40_15_10445.jpg', '/home/pi/Desktop/images/11042025/09/40/image_11042025_09_40_25_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/09/39/image_11042025_09_39_25_10498.jpg
/home/pi/Desktop/images/11042025/09/39/image_11042025_09_39_35_10343.jpg
/home/pi/Desktop/images/11042025/09/39/image_11042025_09_39_45_9351.jpg
/home/pi/Desktop/images/11042025/09/39/image_11042025_09_39_55_10413.jpg
/home/pi/Desktop/images/11042025/09/40/image_11042025_09_40_15_10445.jpg
/home/pi/Desktop/images/11042025/09/40/image_11042025_09_40_25_10362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351616765","1351616983","1351617072","1351616793","1351616868","1351616910"],"photo_ids_order":["1351616765","1351616793","1351616868","1351616910","1351616983","1351617072"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/27944fade3ac8d7d1495857c0f56805c.jpg","text":"TemporaryFile(/tmp/multipartBody2227117744952918335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744365402757,"filename":"image_11042025_09_39_25_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/11/282e6b334982c498a1d465cc5a3a9c44.jpg","text":"TemporaryFile(/tmp/multipartBody1584084812472165014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744365402757,"filename":"image_11042025_09_40_15_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2e92946d48328b7dd34fa153c59b0263.jpg","text":"TemporaryFile(/tmp/multipartBody806620116557896224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744365402757,"filename":"image_11042025_09_40_25_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/47f936660dd084985f2e028080a0994b.jpg","text":"TemporaryFile(/tmp/multipartBody8737691917280177126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744365402757,"filename":"image_11042025_09_39_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/11/dbcbe742339a72f9426d4da2e37f3e50.jpg","text":"TemporaryFile(/tmp/multipartBody5957663397128573773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744365402757,"filename":"image_11042025_09_39_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/11/a1199337759ebda4240f0d94201fcdf8.jpg","text":"TemporaryFile(/tmp/multipartBody3097634208830038189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744365402757,"filename":"image_11042025_09_39_55_10413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351616868","file1":"1351616793","file0":"1351616765","file4":"1351616983","file5":"1351617072","file3":"1351616910"},"map_files_photo_id_array":[{"photo_id":"1351617072","filename":"file5"},{"photo_id":"1351616868","filename":"file2"},{"photo_id":"1351616983","filename":"file4"},{"photo_id":"1351616793","filename":"file1"},{"photo_id":"1351616765","filename":"file0"},{"photo_id":"1351616910","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351616765":["hashtag1","hashtag2"]},{"1351616983":["hashtag1","hashtag2"]},{"1351617072":["hashtag1","hashtag2"]},{"1351616793":["hashtag1","hashtag2"]},{"1351616868":["hashtag1","hashtag2"]},{"1351616910":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351616765, 1351616983, 1351617072, 1351616793, 1351616868, 1351616910)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.00177025794983 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 11:56:32.488699
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/09/40/image_11042025_09_40_45_10355.jpg', '/home/pi/Desktop/images/11042025/09/40/image_11042025_09_40_55_10342.jpg', '/home/pi/Desktop/images/11042025/09/41/image_11042025_09_41_45_10343.jpg', '/home/pi/Desktop/images/11042025/09/41/image_11042025_09_41_54_9342.jpg', '/home/pi/Desktop/images/11042025/09/41/image_11042025_09_42_05_10440.jpg', '/home/pi/Desktop/images/11042025/09/42/image_11042025_09_42_15_10396.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/09/40/image_11042025_09_40_45_10355.jpg
/home/pi/Desktop/images/11042025/09/40/image_11042025_09_40_55_10342.jpg
/home/pi/Desktop/images/11042025/09/41/image_11042025_09_41_45_10343.jpg
/home/pi/Desktop/images/11042025/09/41/image_11042025_09_41_54_9342.jpg
/home/pi/Desktop/images/11042025/09/41/image_11042025_09_42_05_10440.jpg
/home/pi/Desktop/images/11042025/09/42/image_11042025_09_42_15_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":["1351617892","1351617766","1351617852","1351617950","1351617914","1351617716"],"photo_ids_order":["1351617716","1351617766","1351617852","1351617892","1351617914","1351617950"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/56d1b125023875eeded77e35c8af31b8.jpg","text":"TemporaryFile(/tmp/multipartBody9116607196260832791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744365452962,"filename":"image_11042025_09_41_54_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/689a01e7b2548cf2fa2226c28e296742.jpg","text":"TemporaryFile(/tmp/multipartBody3812632731097077854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744365452962,"filename":"image_11042025_09_40_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/11/cf35c5c26fba03f3c8835dbc1ef0f015.jpg","text":"TemporaryFile(/tmp/multipartBody585102759629065584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744365452962,"filename":"image_11042025_09_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/11/7b1c15151fd7d87895edf87e89d8ab69.jpg","text":"TemporaryFile(/tmp/multipartBody7274670739303457807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744365452962,"filename":"image_11042025_09_42_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/11/1d0e78a8924116be408dc957a87f6f2f.jpg","text":"TemporaryFile(/tmp/multipartBody822373681803169484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744365452962,"filename":"image_11042025_09_42_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/11/cfd054724988a6f12fa67f8cb3cae30c.jpg","text":"TemporaryFile(/tmp/multipartBody8238714649633540631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744365452962,"filename":"image_11042025_09_40_45_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351617852","file1":"1351617766","file0":"1351617716","file4":"1351617914","file5":"1351617950","file3":"1351617892"},"map_files_photo_id_array":[{"photo_id":"1351617950","filename":"file5"},{"photo_id":"1351617852","filename":"file2"},{"photo_id":"1351617914","filename":"file4"},{"photo_id":"1351617766","filename":"file1"},{"photo_id":"1351617716","filename":"file0"},{"photo_id":"1351617892","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351617892":["hashtag1","hashtag2"]},{"1351617766":["hashtag1","hashtag2"]},{"1351617852":["hashtag1","hashtag2"]},{"1351617950":["hashtag1","hashtag2"]},{"1351617914":["hashtag1","hashtag2"]},{"1351617716":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351617892, 1351617766, 1351617852, 1351617950, 1351617914, 1351617716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.763508319854736 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 11:57:32.660349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/09/42/image_11042025_09_42_55_9341.jpg', '/home/pi/Desktop/images/11042025/09/42/image_11042025_09_43_05_10417.jpg', '/home/pi/Desktop/images/11042025/09/43/image_11042025_09_43_14_9333.jpg', '/home/pi/Desktop/images/11042025/09/43/image_11042025_09_43_35_10432.jpg', '/home/pi/Desktop/images/11042025/09/43/image_11042025_09_43_44_9348.jpg', '/home/pi/Desktop/images/11042025/09/43/image_11042025_09_44_04_9357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/09/42/image_11042025_09_42_55_9341.jpg
/home/pi/Desktop/images/11042025/09/42/image_11042025_09_43_05_10417.jpg
/home/pi/Desktop/images/11042025/09/43/image_11042025_09_43_14_9333.jpg
/home/pi/Desktop/images/11042025/09/43/image_11042025_09_43_35_10432.jpg
/home/pi/Desktop/images/11042025/09/43/image_11042025_09_43_44_9348.jpg
/home/pi/Desktop/images/11042025/09/43/image_11042025_09_44_04_9357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 11:59:04.060146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/09/42/image_11042025_09_42_55_9341.jpg', '/home/pi/Desktop/images/11042025/09/42/image_11042025_09_43_05_10417.jpg', '/home/pi/Desktop/images/11042025/09/43/image_11042025_09_43_14_9333.jpg', '/home/pi/Desktop/images/11042025/09/43/image_11042025_09_43_35_10432.jpg', '/home/pi/Desktop/images/11042025/09/43/image_11042025_09_43_44_9348.jpg', '/home/pi/Desktop/images/11042025/09/43/image_11042025_09_44_04_9357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/09/42/image_11042025_09_42_55_9341.jpg
/home/pi/Desktop/images/11042025/09/42/image_11042025_09_43_05_10417.jpg
/home/pi/Desktop/images/11042025/09/43/image_11042025_09_43_14_9333.jpg
/home/pi/Desktop/images/11042025/09/43/image_11042025_09_43_35_10432.jpg
/home/pi/Desktop/images/11042025/09/43/image_11042025_09_43_44_9348.jpg
/home/pi/Desktop/images/11042025/09/43/image_11042025_09_44_04_9357.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":["1351618930","1351619142","1351618752","1351618908","1351618988","1351619068"],"photo_ids_order":["1351618752","1351618908","1351618930","1351618988","1351619068","1351619142"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/77d844a3528700d38112914cfde26158.jpg","text":"TemporaryFile(/tmp/multipartBody268630846301249901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744365607258,"filename":"image_11042025_09_43_14_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7247a0e8ebd2570e9eb5ad4e9f1ec1a1.jpg","text":"TemporaryFile(/tmp/multipartBody3059069221503099539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744365607258,"filename":"image_11042025_09_44_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/11/3c57fb293ace813de49d4b74b914ecda.jpg","text":"TemporaryFile(/tmp/multipartBody2717408946888601560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744365607258,"filename":"image_11042025_09_42_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/11/2ba35041b23db0c78afa1404f990f30e.jpg","text":"TemporaryFile(/tmp/multipartBody4488715277151113392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744365607258,"filename":"image_11042025_09_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/11/01227e04b0d1b69af7dad56575744692.jpg","text":"TemporaryFile(/tmp/multipartBody8787137313199417449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744365607258,"filename":"image_11042025_09_43_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/11/66240078ef0f358fa9b24d2c8ab2ed99.jpg","text":"TemporaryFile(/tmp/multipartBody4506512315463603690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744365607258,"filename":"image_11042025_09_43_44_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351618930","file1":"1351618908","file0":"1351618752","file4":"1351619068","file5":"1351619142","file3":"1351618988"},"map_files_photo_id_array":[{"photo_id":"1351619142","filename":"file5"},{"photo_id":"1351618930","filename":"file2"},{"photo_id":"1351619068","filename":"file4"},{"photo_id":"1351618908","filename":"file1"},{"photo_id":"1351618752","filename":"file0"},{"photo_id":"1351618988","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351618930":["hashtag1","hashtag2"]},{"1351619142":["hashtag1","hashtag2"]},{"1351618752":["hashtag1","hashtag2"]},{"1351618908":["hashtag1","hashtag2"]},{"1351618988":["hashtag1","hashtag2"]},{"1351619068":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351618930, 1351619142, 1351618752, 1351618908, 1351618988, 1351619068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 67.06653165817261 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 12:00:33.156179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/09/44/image_11042025_09_44_15_10342.jpg', '/home/pi/Desktop/images/11042025/09/44/image_11042025_09_44_25_10364.jpg', '/home/pi/Desktop/images/11042025/09/44/image_11042025_09_44_34_9338.jpg', '/home/pi/Desktop/images/11042025/09/45/image_11042025_09_45_15_10432.jpg', '/home/pi/Desktop/images/11042025/09/45/image_11042025_09_45_24_9346.jpg', '/home/pi/Desktop/images/11042025/09/45/image_11042025_09_45_45_10444.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/09/44/image_11042025_09_44_15_10342.jpg
/home/pi/Desktop/images/11042025/09/44/image_11042025_09_44_25_10364.jpg
/home/pi/Desktop/images/11042025/09/44/image_11042025_09_44_34_9338.jpg
/home/pi/Desktop/images/11042025/09/45/image_11042025_09_45_15_10432.jpg
/home/pi/Desktop/images/11042025/09/45/image_11042025_09_45_24_9346.jpg
/home/pi/Desktop/images/11042025/09/45/image_11042025_09_45_45_10444.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351619434","1351619460","1351619511","1351619366","1351619405","1351619485"],"photo_ids_order":["1351619366","1351619405","1351619434","1351619460","1351619485","1351619511"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d88226aae8d967d919746d0304ea432f.jpg","text":"TemporaryFile(/tmp/multipartBody6044635930968926964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744365693671,"filename":"image_11042025_09_44_34_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/eaf4dc97c4af690f19a57d4bd6138224.jpg","text":"TemporaryFile(/tmp/multipartBody1122830541947063295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744365693671,"filename":"image_11042025_09_45_15_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4afa424882683b31a2089e8e6b7651be.jpg","text":"TemporaryFile(/tmp/multipartBody1067721826631522609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744365693671,"filename":"image_11042025_09_45_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/11/c48e2438c200f90ed2e1905f7b29a17e.jpg","text":"TemporaryFile(/tmp/multipartBody3508396659142644537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744365693671,"filename":"image_11042025_09_44_15_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8821dc14cb0ce1d1f7eaa7289d056d95.jpg","text":"TemporaryFile(/tmp/multipartBody5317852057170815264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744365693671,"filename":"image_11042025_09_44_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/11/5e0e3873825e34d234d4a1cb2e0e8963.jpg","text":"TemporaryFile(/tmp/multipartBody1688492429599882382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744365693671,"filename":"image_11042025_09_45_24_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351619434","file1":"1351619405","file0":"1351619366","file4":"1351619485","file5":"1351619511","file3":"1351619460"},"map_files_photo_id_array":[{"photo_id":"1351619511","filename":"file5"},{"photo_id":"1351619434","filename":"file2"},{"photo_id":"1351619485","filename":"file4"},{"photo_id":"1351619405","filename":"file1"},{"photo_id":"1351619366","filename":"file0"},{"photo_id":"1351619460","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351619434":["hashtag1","hashtag2"]},{"1351619460":["hashtag1","hashtag2"]},{"1351619511":["hashtag1","hashtag2"]},{"1351619366":["hashtag1","hashtag2"]},{"1351619405":["hashtag1","hashtag2"]},{"1351619485":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351619434, 1351619460, 1351619511, 1351619366, 1351619405, 1351619485)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.31738042831421 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 12:01:32.598916
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/09/45/image_11042025_09_46_05_10455.jpg', '/home/pi/Desktop/images/11042025/09/46/image_11042025_09_46_14_9332.jpg', '/home/pi/Desktop/images/11042025/09/46/image_11042025_09_46_35_10428.jpg', '/home/pi/Desktop/images/11042025/09/46/image_11042025_09_46_44_9352.jpg', '/home/pi/Desktop/images/11042025/09/46/image_11042025_09_46_55_10410.jpg', '/home/pi/Desktop/images/11042025/09/47/image_11042025_09_47_25_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/09/45/image_11042025_09_46_05_10455.jpg
/home/pi/Desktop/images/11042025/09/46/image_11042025_09_46_14_9332.jpg
/home/pi/Desktop/images/11042025/09/46/image_11042025_09_46_35_10428.jpg
/home/pi/Desktop/images/11042025/09/46/image_11042025_09_46_44_9352.jpg
/home/pi/Desktop/images/11042025/09/46/image_11042025_09_46_55_10410.jpg
/home/pi/Desktop/images/11042025/09/47/image_11042025_09_47_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":["1351619818","1351619865","1351619718","1351619693","1351619764","1351619887"],"photo_ids_order":["1351619693","1351619718","1351619764","1351619818","1351619865","1351619887"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e8836c2dd1e98c9871470e8cacc89088.jpg","text":"TemporaryFile(/tmp/multipartBody162405240381949811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744365753055,"filename":"image_11042025_09_46_44_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f13017ccb030ed26dbd094025893a8d9.jpg","text":"TemporaryFile(/tmp/multipartBody5666121120985136625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744365753055,"filename":"image_11042025_09_46_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/11/c108e5a262bebc9ba97d1dceecae3cec.jpg","text":"TemporaryFile(/tmp/multipartBody7641202222395795590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744365753055,"filename":"image_11042025_09_46_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/11/d18e9883b3489dade0c148ed8a8209c1.jpg","text":"TemporaryFile(/tmp/multipartBody8713809110895926894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744365753055,"filename":"image_11042025_09_46_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/11/b3b7274955c07716f970a0ddd7a1e453.jpg","text":"TemporaryFile(/tmp/multipartBody2968589695468836199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744365753055,"filename":"image_11042025_09_46_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/11/ef491a2538b66d659d1244e9dc54d754.jpg","text":"TemporaryFile(/tmp/multipartBody3871532479086161670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744365753055,"filename":"image_11042025_09_47_25_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351619764","file1":"1351619718","file0":"1351619693","file4":"1351619865","file5":"1351619887","file3":"1351619818"},"map_files_photo_id_array":[{"photo_id":"1351619887","filename":"file5"},{"photo_id":"1351619764","filename":"file2"},{"photo_id":"1351619865","filename":"file4"},{"photo_id":"1351619718","filename":"file1"},{"photo_id":"1351619693","filename":"file0"},{"photo_id":"1351619818","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351619818":["hashtag1","hashtag2"]},{"1351619865":["hashtag1","hashtag2"]},{"1351619718":["hashtag1","hashtag2"]},{"1351619693":["hashtag1","hashtag2"]},{"1351619764":["hashtag1","hashtag2"]},{"1351619887":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351619818, 1351619865, 1351619718, 1351619693, 1351619764, 1351619887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.10644555091858 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 12:02:32.648451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/09/47/image_11042025_09_47_34_9357.jpg', '/home/pi/Desktop/images/11042025/09/47/image_11042025_09_47_45_10382.jpg', '/home/pi/Desktop/images/11042025/09/47/image_11042025_09_47_55_10386.jpg', '/home/pi/Desktop/images/11042025/09/47/image_11042025_09_48_04_9339.jpg', '/home/pi/Desktop/images/11042025/09/48/image_11042025_09_48_25_10390.jpg', '/home/pi/Desktop/images/11042025/09/48/image_11042025_09_48_35_9865.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/09/47/image_11042025_09_47_34_9357.jpg
/home/pi/Desktop/images/11042025/09/47/image_11042025_09_47_45_10382.jpg
/home/pi/Desktop/images/11042025/09/47/image_11042025_09_47_55_10386.jpg
/home/pi/Desktop/images/11042025/09/47/image_11042025_09_48_04_9339.jpg
/home/pi/Desktop/images/11042025/09/48/image_11042025_09_48_25_10390.jpg
/home/pi/Desktop/images/11042025/09/48/image_11042025_09_48_35_9865.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":["1351620121","1351620100","1351620223","1351620124","1351620183","1351620203"],"photo_ids_order":["1351620100","1351620121","1351620124","1351620183","1351620203","1351620223"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/542b99b95cadca4f763628ffb438842d.jpg","text":"TemporaryFile(/tmp/multipartBody4331110780517063951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744365813196,"filename":"image_11042025_09_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/11/37e7035468f0d67fb39c841915747b55.jpg","text":"TemporaryFile(/tmp/multipartBody7876443514570330088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744365813196,"filename":"image_11042025_09_47_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/11/cf10bb27d785655daf8e8ec984edf017.jpg","text":"TemporaryFile(/tmp/multipartBody1698097261064956865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744365813196,"filename":"image_11042025_09_48_35_9865.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d70646c991b90374a9846ceda442d8f7.jpg","text":"TemporaryFile(/tmp/multipartBody41092104333538769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744365813196,"filename":"image_11042025_09_47_55_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/88d0d5cde7a74d526e8f9e4fd9e8b088.jpg","text":"TemporaryFile(/tmp/multipartBody4114102211222553948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744365813196,"filename":"image_11042025_09_48_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/11/9197537661e1951c7a62b5293be9162a.jpg","text":"TemporaryFile(/tmp/multipartBody63235577290239027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744365813196,"filename":"image_11042025_09_48_25_10390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351620124","file1":"1351620121","file0":"1351620100","file4":"1351620203","file5":"1351620223","file3":"1351620183"},"map_files_photo_id_array":[{"photo_id":"1351620223","filename":"file5"},{"photo_id":"1351620124","filename":"file2"},{"photo_id":"1351620203","filename":"file4"},{"photo_id":"1351620121","filename":"file1"},{"photo_id":"1351620100","filename":"file0"},{"photo_id":"1351620183","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351620121":["hashtag1","hashtag2"]},{"1351620100":["hashtag1","hashtag2"]},{"1351620223":["hashtag1","hashtag2"]},{"1351620124":["hashtag1","hashtag2"]},{"1351620183":["hashtag1","hashtag2"]},{"1351620203":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351620121, 1351620100, 1351620223, 1351620124, 1351620183, 1351620203)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.62076306343079 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 12:03:42.948876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/09/48/image_11042025_09_48_55_10466.jpg', '/home/pi/Desktop/images/11042025/09/48/image_11042025_09_49_05_10352.jpg', '/home/pi/Desktop/images/11042025/09/49/image_11042025_09_49_25_10343.jpg', '/home/pi/Desktop/images/11042025/09/49/image_11042025_09_49_45_9345.jpg', '/home/pi/Desktop/images/11042025/09/50/image_11042025_09_50_15_10355.jpg', '/home/pi/Desktop/images/11042025/09/50/image_11042025_09_50_25_10339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/09/48/image_11042025_09_48_55_10466.jpg
/home/pi/Desktop/images/11042025/09/48/image_11042025_09_49_05_10352.jpg
/home/pi/Desktop/images/11042025/09/49/image_11042025_09_49_25_10343.jpg
/home/pi/Desktop/images/11042025/09/49/image_11042025_09_49_45_9345.jpg
/home/pi/Desktop/images/11042025/09/50/image_11042025_09_50_15_10355.jpg
/home/pi/Desktop/images/11042025/09/50/image_11042025_09_50_25_10339.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351620382","1351620456","1351620519","1351620764","1351620697","1351620620"],"photo_ids_order":["1351620382","1351620456","1351620519","1351620620","1351620697","1351620764"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/93d1be033e006da26603af095ae54553.jpg","text":"TemporaryFile(/tmp/multipartBody8591124699446004921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744365883421,"filename":"image_11042025_09_48_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/11/eb5bd6352cdd8bc3ad1e71010a88aba7.jpg","text":"TemporaryFile(/tmp/multipartBody6682630001269315625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744365883421,"filename":"image_11042025_09_49_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/11/5ffe91dd6ce61ff28aa773c1c00b8c4d.jpg","text":"TemporaryFile(/tmp/multipartBody7672518275368262650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744365883421,"filename":"image_11042025_09_49_25_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a3cf9a0811967b481930e4340daa29a3.jpg","text":"TemporaryFile(/tmp/multipartBody7789996802165499258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744365883421,"filename":"image_11042025_09_50_25_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c9857a59443266098a228014ae955dbf.jpg","text":"TemporaryFile(/tmp/multipartBody4951218201247889371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744365883421,"filename":"image_11042025_09_50_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/11/5cd40d78beaeb8ee9bd835cf5dbbd199.jpg","text":"TemporaryFile(/tmp/multipartBody5227288775653694382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744365883421,"filename":"image_11042025_09_49_45_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351620519","file1":"1351620456","file0":"1351620382","file4":"1351620697","file5":"1351620764","file3":"1351620620"},"map_files_photo_id_array":[{"photo_id":"1351620764","filename":"file5"},{"photo_id":"1351620519","filename":"file2"},{"photo_id":"1351620697","filename":"file4"},{"photo_id":"1351620456","filename":"file1"},{"photo_id":"1351620382","filename":"file0"},{"photo_id":"1351620620","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351620382":["hashtag1","hashtag2"]},{"1351620456":["hashtag1","hashtag2"]},{"1351620519":["hashtag1","hashtag2"]},{"1351620764":["hashtag1","hashtag2"]},{"1351620697":["hashtag1","hashtag2"]},{"1351620620":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351620382, 1351620456, 1351620519, 1351620764, 1351620697, 1351620620)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.033515214920044 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 12:04:32.195105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/09/50/image_11042025_09_50_34_9395.jpg', '/home/pi/Desktop/images/11042025/09/50/image_11042025_09_50_54_9338.jpg', '/home/pi/Desktop/images/11042025/09/51/image_11042025_09_51_15_10343.jpg', '/home/pi/Desktop/images/11042025/09/51/image_11042025_09_51_24_9345.jpg', '/home/pi/Desktop/images/11042025/09/51/image_11042025_09_51_35_10470.jpg', '/home/pi/Desktop/images/11042025/09/51/image_11042025_09_51_44_9341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/09/50/image_11042025_09_50_34_9395.jpg
/home/pi/Desktop/images/11042025/09/50/image_11042025_09_50_54_9338.jpg
/home/pi/Desktop/images/11042025/09/51/image_11042025_09_51_15_10343.jpg
/home/pi/Desktop/images/11042025/09/51/image_11042025_09_51_24_9345.jpg
/home/pi/Desktop/images/11042025/09/51/image_11042025_09_51_35_10470.jpg
/home/pi/Desktop/images/11042025/09/51/image_11042025_09_51_44_9341.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":["1351620922","1351621140","1351620879","1351621073","1351621415","1351621255"],"photo_ids_order":["1351620879","1351620922","1351621073","1351621140","1351621255","1351621415"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d54e184fa7d05333309d2247644e354f.jpg","text":"TemporaryFile(/tmp/multipartBody4655290206592791812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744365932643,"filename":"image_11042025_09_50_54_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/52afefbe37448e5e0cc83f5b310b108f.jpg","text":"TemporaryFile(/tmp/multipartBody2708083697699090389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744365932643,"filename":"image_11042025_09_51_24_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9b91cdacdde05e5ba24b983f2f6a4c3d.jpg","text":"TemporaryFile(/tmp/multipartBody4772528104001194609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744365932643,"filename":"image_11042025_09_50_34_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b7832e01fcb93c62797b796724a7dee3.jpg","text":"TemporaryFile(/tmp/multipartBody6110742330535365718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744365932643,"filename":"image_11042025_09_51_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/11/4819644357baf156c72a1c7592a72967.jpg","text":"TemporaryFile(/tmp/multipartBody1780394928513873539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744365932643,"filename":"image_11042025_09_51_44_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8e7b9ed17a19da9f833d46d5b345f0a8.jpg","text":"TemporaryFile(/tmp/multipartBody5421803484394917765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744365932643,"filename":"image_11042025_09_51_35_10470.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351621073","file1":"1351620922","file0":"1351620879","file4":"1351621255","file5":"1351621415","file3":"1351621140"},"map_files_photo_id_array":[{"photo_id":"1351621415","filename":"file5"},{"photo_id":"1351621073","filename":"file2"},{"photo_id":"1351621255","filename":"file4"},{"photo_id":"1351620922","filename":"file1"},{"photo_id":"1351620879","filename":"file0"},{"photo_id":"1351621140","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351620922":["hashtag1","hashtag2"]},{"1351621140":["hashtag1","hashtag2"]},{"1351620879":["hashtag1","hashtag2"]},{"1351621073":["hashtag1","hashtag2"]},{"1351621415":["hashtag1","hashtag2"]},{"1351621255":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351620922, 1351621140, 1351620879, 1351621073, 1351621415, 1351621255)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.382333278656 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 12:05:42.605981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/09/51/image_11042025_09_51_55_10336.jpg', '/home/pi/Desktop/images/11042025/09/51/image_11042025_09_52_05_10359.jpg', '/home/pi/Desktop/images/11042025/09/52/image_11042025_09_52_14_9356.jpg', '/home/pi/Desktop/images/11042025/09/52/image_11042025_09_52_25_10523.jpg', '/home/pi/Desktop/images/11042025/09/52/image_11042025_09_52_34_9419.jpg', '/home/pi/Desktop/images/11042025/09/52/image_11042025_09_52_55_10430.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/09/51/image_11042025_09_51_55_10336.jpg
/home/pi/Desktop/images/11042025/09/51/image_11042025_09_52_05_10359.jpg
/home/pi/Desktop/images/11042025/09/52/image_11042025_09_52_14_9356.jpg
/home/pi/Desktop/images/11042025/09/52/image_11042025_09_52_25_10523.jpg
/home/pi/Desktop/images/11042025/09/52/image_11042025_09_52_34_9419.jpg
/home/pi/Desktop/images/11042025/09/52/image_11042025_09_52_55_10430.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351621491","1351621713","1351621763","1351621685","1351621622","1351621561"],"photo_ids_order":["1351621491","1351621561","1351621622","1351621685","1351621713","1351621763"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8384cf08ad1305dab36f9472eb73d881.jpg","text":"TemporaryFile(/tmp/multipartBody8254756935581052463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366003060,"filename":"image_11042025_09_51_55_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e3a5ae85f3642ce18a20582c3bc9bf09.jpg","text":"TemporaryFile(/tmp/multipartBody3329466336213030772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366003060,"filename":"image_11042025_09_52_34_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2cb7e89fae901c5f685e3dd1675f7bc6.jpg","text":"TemporaryFile(/tmp/multipartBody6602514071553662723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366003060,"filename":"image_11042025_09_52_55_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/242085db62f0b5cbcf64209309b6c792.jpg","text":"TemporaryFile(/tmp/multipartBody5291136652381820924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366003060,"filename":"image_11042025_09_52_25_10523.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/19fc457a4cdcd7a283c221ae8370afc0.jpg","text":"TemporaryFile(/tmp/multipartBody8558390913342629838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366003060,"filename":"image_11042025_09_52_14_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f6b434c6f4b52e81ad35cbc7b1fa3a11.jpg","text":"TemporaryFile(/tmp/multipartBody628266385960460344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366003060,"filename":"image_11042025_09_52_05_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351621622","file1":"1351621561","file0":"1351621491","file4":"1351621713","file5":"1351621763","file3":"1351621685"},"map_files_photo_id_array":[{"photo_id":"1351621763","filename":"file5"},{"photo_id":"1351621622","filename":"file2"},{"photo_id":"1351621713","filename":"file4"},{"photo_id":"1351621561","filename":"file1"},{"photo_id":"1351621491","filename":"file0"},{"photo_id":"1351621685","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351621491":["hashtag1","hashtag2"]},{"1351621713":["hashtag1","hashtag2"]},{"1351621763":["hashtag1","hashtag2"]},{"1351621685":["hashtag1","hashtag2"]},{"1351621622":["hashtag1","hashtag2"]},{"1351621561":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351621491, 1351621713, 1351621763, 1351621685, 1351621622, 1351621561)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.89984750747681 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 12:06:32.710145
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/09/52/image_11042025_09_53_04_9435.jpg', '/home/pi/Desktop/images/11042025/09/53/image_11042025_09_53_24_9340.jpg', '/home/pi/Desktop/images/11042025/09/53/image_11042025_09_53_45_10447.jpg', '/home/pi/Desktop/images/11042025/09/53/image_11042025_09_53_54_9337.jpg', '/home/pi/Desktop/images/11042025/09/53/image_11042025_09_54_05_10396.jpg', '/home/pi/Desktop/images/11042025/09/54/image_11042025_09_54_15_10339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/09/52/image_11042025_09_53_04_9435.jpg
/home/pi/Desktop/images/11042025/09/53/image_11042025_09_53_24_9340.jpg
/home/pi/Desktop/images/11042025/09/53/image_11042025_09_53_45_10447.jpg
/home/pi/Desktop/images/11042025/09/53/image_11042025_09_53_54_9337.jpg
/home/pi/Desktop/images/11042025/09/53/image_11042025_09_54_05_10396.jpg
/home/pi/Desktop/images/11042025/09/54/image_11042025_09_54_15_10339.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351622007","1351621988","1351622021","1351621934","1351621907","1351621960"],"photo_ids_order":["1351621907","1351621934","1351621960","1351621988","1351622007","1351622021"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e7f758326db2c63039b6a2b9110a939c.jpg","text":"TemporaryFile(/tmp/multipartBody1317405854399268167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366053181,"filename":"image_11042025_09_54_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/11/d54167bee9dc38de4ccce18c7a23a31f.jpg","text":"TemporaryFile(/tmp/multipartBody4036412758822667269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366053181,"filename":"image_11042025_09_53_54_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/daf1436e8b91d0f9d0471dad4da52ca4.jpg","text":"TemporaryFile(/tmp/multipartBody1709674310529402354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366053181,"filename":"image_11042025_09_54_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/11/149e2bca0e4946c8fa1a32257a9aae14.jpg","text":"TemporaryFile(/tmp/multipartBody849795678734671593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366053181,"filename":"image_11042025_09_53_24_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4219b44bd076d0e2db8e2f83c81687bf.jpg","text":"TemporaryFile(/tmp/multipartBody108295818979723568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366053181,"filename":"image_11042025_09_53_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/11/6485ccd1c791b87cc92597367b8d40c6.jpg","text":"TemporaryFile(/tmp/multipartBody8506916197841510926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366053181,"filename":"image_11042025_09_53_45_10447.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351621960","file1":"1351621934","file0":"1351621907","file4":"1351622007","file5":"1351622021","file3":"1351621988"},"map_files_photo_id_array":[{"photo_id":"1351622021","filename":"file5"},{"photo_id":"1351621960","filename":"file2"},{"photo_id":"1351622007","filename":"file4"},{"photo_id":"1351621934","filename":"file1"},{"photo_id":"1351621907","filename":"file0"},{"photo_id":"1351621988","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351622007":["hashtag1","hashtag2"]},{"1351621988":["hashtag1","hashtag2"]},{"1351622021":["hashtag1","hashtag2"]},{"1351621934":["hashtag1","hashtag2"]},{"1351621907":["hashtag1","hashtag2"]},{"1351621960":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351622007, 1351621988, 1351622021, 1351621934, 1351621907, 1351621960)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.63510203361511 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 12:07:33.012546
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/09/54/image_11042025_09_54_25_9413.jpg', '/home/pi/Desktop/images/11042025/09/54/image_11042025_09_54_35_10462.jpg', '/home/pi/Desktop/images/11042025/09/54/image_11042025_09_55_05_10349.jpg', '/home/pi/Desktop/images/11042025/09/55/image_11042025_09_55_15_9349.jpg', '/home/pi/Desktop/images/11042025/09/55/image_11042025_09_55_25_10398.jpg', '/home/pi/Desktop/images/11042025/09/55/image_11042025_09_55_34_9334.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/09/54/image_11042025_09_54_25_9413.jpg
/home/pi/Desktop/images/11042025/09/54/image_11042025_09_54_35_10462.jpg
/home/pi/Desktop/images/11042025/09/54/image_11042025_09_55_05_10349.jpg
/home/pi/Desktop/images/11042025/09/55/image_11042025_09_55_15_9349.jpg
/home/pi/Desktop/images/11042025/09/55/image_11042025_09_55_25_10398.jpg
/home/pi/Desktop/images/11042025/09/55/image_11042025_09_55_34_9334.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351622415","1351622261","1351622420","1351622231","1351622473","1351622306"],"photo_ids_order":["1351622231","1351622261","1351622306","1351622415","1351622420","1351622473"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7ce2943fffeb1433716f6484b61e788a.jpg","text":"TemporaryFile(/tmp/multipartBody8714026133287217293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366113459,"filename":"image_11042025_09_55_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/11/06fd5296b5c26922bfa77df44cb9200c.jpg","text":"TemporaryFile(/tmp/multipartBody4663865957179561772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366113459,"filename":"image_11042025_09_54_35_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3b5e2f8238e2d88a2718459bdc7eb820.jpg","text":"TemporaryFile(/tmp/multipartBody3013674717071909012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366113459,"filename":"image_11042025_09_55_25_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e1d9de6786d2dd7594ca5bc7e6d20bbf.jpg","text":"TemporaryFile(/tmp/multipartBody6893822835541348428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366113459,"filename":"image_11042025_09_54_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/11/8ff4e65e1cb024f2e897d365d8bac7a8.jpg","text":"TemporaryFile(/tmp/multipartBody6434294423316926245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366113459,"filename":"image_11042025_09_55_34_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/064c9fe1adb25e46dbe23063f755e8da.jpg","text":"TemporaryFile(/tmp/multipartBody6557875771016148390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366113459,"filename":"image_11042025_09_55_05_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351622306","file1":"1351622261","file0":"1351622231","file4":"1351622420","file5":"1351622473","file3":"1351622415"},"map_files_photo_id_array":[{"photo_id":"1351622473","filename":"file5"},{"photo_id":"1351622306","filename":"file2"},{"photo_id":"1351622420","filename":"file4"},{"photo_id":"1351622261","filename":"file1"},{"photo_id":"1351622231","filename":"file0"},{"photo_id":"1351622415","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351622415":["hashtag1","hashtag2"]},{"1351622261":["hashtag1","hashtag2"]},{"1351622420":["hashtag1","hashtag2"]},{"1351622231":["hashtag1","hashtag2"]},{"1351622473":["hashtag1","hashtag2"]},{"1351622306":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351622415, 1351622261, 1351622420, 1351622231, 1351622473, 1351622306)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.10080432891846 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 12:08:33.245527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/09/55/image_11042025_09_55_45_10353.jpg', '/home/pi/Desktop/images/11042025/09/55/image_11042025_09_55_55_10332.jpg', '/home/pi/Desktop/images/11042025/09/55/image_11042025_09_56_04_9341.jpg', '/home/pi/Desktop/images/11042025/09/56/image_11042025_09_56_15_10499.jpg', '/home/pi/Desktop/images/11042025/09/56/image_11042025_09_56_35_9358.jpg', '/home/pi/Desktop/images/11042025/09/56/image_11042025_09_56_45_10453.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/09/55/image_11042025_09_55_45_10353.jpg
/home/pi/Desktop/images/11042025/09/55/image_11042025_09_55_55_10332.jpg
/home/pi/Desktop/images/11042025/09/55/image_11042025_09_56_04_9341.jpg
/home/pi/Desktop/images/11042025/09/56/image_11042025_09_56_15_10499.jpg
/home/pi/Desktop/images/11042025/09/56/image_11042025_09_56_35_9358.jpg
/home/pi/Desktop/images/11042025/09/56/image_11042025_09_56_45_10453.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351622888","1351622834","1351622572","1351622668","1351622641","1351622743"],"photo_ids_order":["1351622572","1351622641","1351622668","1351622743","1351622834","1351622888"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ec17abe60dcf34bf795d495a4e475050.jpg","text":"TemporaryFile(/tmp/multipartBody7838099193553349494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366173775,"filename":"image_11042025_09_56_45_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/cd13972aab426bec1a46e38f67db6e3d.jpg","text":"TemporaryFile(/tmp/multipartBody8567910557520555604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366173775,"filename":"image_11042025_09_56_35_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/265ebcb5eace33efc1d6c3e7cf023902.jpg","text":"TemporaryFile(/tmp/multipartBody1788137949530083346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366173775,"filename":"image_11042025_09_55_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/11/9dd8e7040fbce9617337d7f3ce1bf519.jpg","text":"TemporaryFile(/tmp/multipartBody4775308742470214762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366173775,"filename":"image_11042025_09_56_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/11/068a4773f2ddaf83eeeec48784ef0dc1.jpg","text":"TemporaryFile(/tmp/multipartBody2215952328275438171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366173775,"filename":"image_11042025_09_55_55_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/18347f9b4d3308789ca913b473437209.jpg","text":"TemporaryFile(/tmp/multipartBody2138547749868945171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366173775,"filename":"image_11042025_09_56_15_10499.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351622668","file1":"1351622641","file0":"1351622572","file4":"1351622834","file5":"1351622888","file3":"1351622743"},"map_files_photo_id_array":[{"photo_id":"1351622888","filename":"file5"},{"photo_id":"1351622668","filename":"file2"},{"photo_id":"1351622834","filename":"file4"},{"photo_id":"1351622641","filename":"file1"},{"photo_id":"1351622572","filename":"file0"},{"photo_id":"1351622743","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351622888":["hashtag1","hashtag2"]},{"1351622834":["hashtag1","hashtag2"]},{"1351622572":["hashtag1","hashtag2"]},{"1351622668":["hashtag1","hashtag2"]},{"1351622641":["hashtag1","hashtag2"]},{"1351622743":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351622888, 1351622834, 1351622572, 1351622668, 1351622641, 1351622743)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.05222964286804 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 12:09:32.304720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/09/56/image_11042025_09_56_54_9352.jpg', '/home/pi/Desktop/images/11042025/09/56/image_11042025_09_57_05_10477.jpg', '/home/pi/Desktop/images/11042025/09/57/image_11042025_09_57_15_10379.jpg', '/home/pi/Desktop/images/11042025/09/57/image_11042025_09_57_35_10376.jpg', '/home/pi/Desktop/images/11042025/09/57/image_11042025_09_57_44_9353.jpg', '/home/pi/Desktop/images/11042025/09/57/image_11042025_09_57_55_10495.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/09/56/image_11042025_09_56_54_9352.jpg
/home/pi/Desktop/images/11042025/09/56/image_11042025_09_57_05_10477.jpg
/home/pi/Desktop/images/11042025/09/57/image_11042025_09_57_15_10379.jpg
/home/pi/Desktop/images/11042025/09/57/image_11042025_09_57_35_10376.jpg
/home/pi/Desktop/images/11042025/09/57/image_11042025_09_57_44_9353.jpg
/home/pi/Desktop/images/11042025/09/57/image_11042025_09_57_55_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":["1351623095","1351622985","1351623151","1351623276","1351623057","1351623018"],"photo_ids_order":["1351622985","1351623018","1351623057","1351623095","1351623151","1351623276"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7d79943f85fb516fe66e2e8d1522e925.jpg","text":"TemporaryFile(/tmp/multipartBody3430957250087417150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366232768,"filename":"image_11042025_09_57_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/11/9379755be8fd146a537db73faa125605.jpg","text":"TemporaryFile(/tmp/multipartBody2517023179275156085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366232768,"filename":"image_11042025_09_56_54_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1f7b4288ef9627778a9370e4c672032a.jpg","text":"TemporaryFile(/tmp/multipartBody3859519588427121574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366232768,"filename":"image_11042025_09_57_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/11/42212e8f0c5465c26248d28a0e924c14.jpg","text":"TemporaryFile(/tmp/multipartBody6089915683481941930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366232768,"filename":"image_11042025_09_57_55_10495.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f8c0d3a6d068849c1b28e608f933af9d.jpg","text":"TemporaryFile(/tmp/multipartBody7713881693852561962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366232768,"filename":"image_11042025_09_57_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/11/ea79c7d5de658ea53918eb051753838c.jpg","text":"TemporaryFile(/tmp/multipartBody1164959617664121954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366232768,"filename":"image_11042025_09_57_05_10477.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351623057","file1":"1351623018","file0":"1351622985","file4":"1351623151","file5":"1351623276","file3":"1351623095"},"map_files_photo_id_array":[{"photo_id":"1351623276","filename":"file5"},{"photo_id":"1351623057","filename":"file2"},{"photo_id":"1351623151","filename":"file4"},{"photo_id":"1351623018","filename":"file1"},{"photo_id":"1351622985","filename":"file0"},{"photo_id":"1351623095","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351623095":["hashtag1","hashtag2"]},{"1351622985":["hashtag1","hashtag2"]},{"1351623151":["hashtag1","hashtag2"]},{"1351623276":["hashtag1","hashtag2"]},{"1351623057":["hashtag1","hashtag2"]},{"1351623018":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351623095, 1351622985, 1351623151, 1351623276, 1351623057, 1351623018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.86131048202515 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 12:10:32.565098
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/09/57/image_11042025_09_58_05_10368.jpg', '/home/pi/Desktop/images/11042025/09/58/image_11042025_09_58_24_9802.jpg', '/home/pi/Desktop/images/11042025/09/58/image_11042025_09_58_35_10440.jpg', '/home/pi/Desktop/images/11042025/09/58/image_11042025_09_58_45_10372.jpg', '/home/pi/Desktop/images/11042025/09/58/image_11042025_09_58_54_9354.jpg', '/home/pi/Desktop/images/11042025/09/58/image_11042025_09_59_05_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/09/57/image_11042025_09_58_05_10368.jpg
/home/pi/Desktop/images/11042025/09/58/image_11042025_09_58_24_9802.jpg
/home/pi/Desktop/images/11042025/09/58/image_11042025_09_58_35_10440.jpg
/home/pi/Desktop/images/11042025/09/58/image_11042025_09_58_45_10372.jpg
/home/pi/Desktop/images/11042025/09/58/image_11042025_09_58_54_9354.jpg
/home/pi/Desktop/images/11042025/09/58/image_11042025_09_59_05_10359.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.37425851821899414 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 12:10:42.557288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/09/57/image_11042025_09_58_05_10368.jpg', '/home/pi/Desktop/images/11042025/09/58/image_11042025_09_58_24_9802.jpg', '/home/pi/Desktop/images/11042025/09/58/image_11042025_09_58_35_10440.jpg', '/home/pi/Desktop/images/11042025/09/58/image_11042025_09_58_45_10372.jpg', '/home/pi/Desktop/images/11042025/09/58/image_11042025_09_58_54_9354.jpg', '/home/pi/Desktop/images/11042025/09/58/image_11042025_09_59_05_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/09/57/image_11042025_09_58_05_10368.jpg
/home/pi/Desktop/images/11042025/09/58/image_11042025_09_58_24_9802.jpg
/home/pi/Desktop/images/11042025/09/58/image_11042025_09_58_35_10440.jpg
/home/pi/Desktop/images/11042025/09/58/image_11042025_09_58_45_10372.jpg
/home/pi/Desktop/images/11042025/09/58/image_11042025_09_58_54_9354.jpg
/home/pi/Desktop/images/11042025/09/58/image_11042025_09_59_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":["1351623788","1351623740","1351623857","1351623658","1351623811","1351623705"],"photo_ids_order":["1351623658","1351623705","1351623740","1351623788","1351623811","1351623857"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4e46ba8a1329d0a5db13643384ca7d57.jpg","text":"TemporaryFile(/tmp/multipartBody2616791055626129009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366303044,"filename":"image_11042025_09_58_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/11/da817becf1c386a4ba6073b41cb4833c.jpg","text":"TemporaryFile(/tmp/multipartBody1830281343531575716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366303044,"filename":"image_11042025_09_58_35_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/de04f280f64903c9bc83e274baa359d4.jpg","text":"TemporaryFile(/tmp/multipartBody8875478623024357560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366303044,"filename":"image_11042025_09_59_05_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/89f5e73a2d4d3abf7366c5636d2823a5.jpg","text":"TemporaryFile(/tmp/multipartBody7091529080601125864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366303044,"filename":"image_11042025_09_58_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/11/4f9fa157b95653017d6f9569b8db2bfb.jpg","text":"TemporaryFile(/tmp/multipartBody2189974980093374306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366303044,"filename":"image_11042025_09_58_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/11/11e3958ec0cfa1e1c1cb58f2d030b9ce.jpg","text":"TemporaryFile(/tmp/multipartBody6470581204344717657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366303044,"filename":"image_11042025_09_58_24_9802.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351623740","file1":"1351623705","file0":"1351623658","file4":"1351623811","file5":"1351623857","file3":"1351623788"},"map_files_photo_id_array":[{"photo_id":"1351623857","filename":"file5"},{"photo_id":"1351623740","filename":"file2"},{"photo_id":"1351623811","filename":"file4"},{"photo_id":"1351623705","filename":"file1"},{"photo_id":"1351623658","filename":"file0"},{"photo_id":"1351623788","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351623788":["hashtag1","hashtag2"]},{"1351623740":["hashtag1","hashtag2"]},{"1351623857":["hashtag1","hashtag2"]},{"1351623658":["hashtag1","hashtag2"]},{"1351623811":["hashtag1","hashtag2"]},{"1351623705":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351623788, 1351623740, 1351623857, 1351623658, 1351623811, 1351623705)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.98903274536133 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 12:11:32.755729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/09/59/image_11042025_09_59_14_9367.jpg', '/home/pi/Desktop/images/11042025/09/59/image_11042025_09_59_44_9369.jpg', '/home/pi/Desktop/images/11042025/09/59/image_11042025_09_59_55_10426.jpg', '/home/pi/Desktop/images/11042025/10/00/image_11042025_10_00_26_10439.jpg', '/home/pi/Desktop/images/11042025/10/00/image_11042025_10_00_45_9336.jpg', '/home/pi/Desktop/images/11042025/10/00/image_11042025_10_00_56_10409.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/09/59/image_11042025_09_59_14_9367.jpg
/home/pi/Desktop/images/11042025/09/59/image_11042025_09_59_44_9369.jpg
/home/pi/Desktop/images/11042025/09/59/image_11042025_09_59_55_10426.jpg
/home/pi/Desktop/images/11042025/10/00/image_11042025_10_00_26_10439.jpg
/home/pi/Desktop/images/11042025/10/00/image_11042025_10_00_45_9336.jpg
/home/pi/Desktop/images/11042025/10/00/image_11042025_10_00_56_10409.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351624072","1351624153","1351624348","1351624249","1351624317","1351624011"],"photo_ids_order":["1351624011","1351624072","1351624153","1351624249","1351624317","1351624348"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e39780e8929c5945de67b3085804a4d1.jpg","text":"TemporaryFile(/tmp/multipartBody6266074902693314496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366353206,"filename":"image_11042025_09_59_44_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/734a51d84b82b6de8f8e9d5978a6c1a7.jpg","text":"TemporaryFile(/tmp/multipartBody2724471227724654449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366353206,"filename":"image_11042025_09_59_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/11/a6e18f6a1ea9a29cba58895fa9f22503.jpg","text":"TemporaryFile(/tmp/multipartBody2538579022506016568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366353206,"filename":"image_11042025_10_00_56_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e6807261f9ae46f9132c637eaadcb0be.jpg","text":"TemporaryFile(/tmp/multipartBody3123959319962213013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366353206,"filename":"image_11042025_10_00_26_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4f2b3d5edb21a0eb4aa90ca7067b9b8e.jpg","text":"TemporaryFile(/tmp/multipartBody5986130472271423265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366353206,"filename":"image_11042025_10_00_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/11/6abc9ac4d325d6e6ef816608f8398310.jpg","text":"TemporaryFile(/tmp/multipartBody1574152542790818462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366353206,"filename":"image_11042025_09_59_14_9367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351624153","file1":"1351624072","file0":"1351624011","file4":"1351624317","file5":"1351624348","file3":"1351624249"},"map_files_photo_id_array":[{"photo_id":"1351624348","filename":"file5"},{"photo_id":"1351624153","filename":"file2"},{"photo_id":"1351624317","filename":"file4"},{"photo_id":"1351624072","filename":"file1"},{"photo_id":"1351624011","filename":"file0"},{"photo_id":"1351624249","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351624072":["hashtag1","hashtag2"]},{"1351624153":["hashtag1","hashtag2"]},{"1351624348":["hashtag1","hashtag2"]},{"1351624249":["hashtag1","hashtag2"]},{"1351624317":["hashtag1","hashtag2"]},{"1351624011":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351624072, 1351624153, 1351624348, 1351624249, 1351624317, 1351624011)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.890236377716064 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 12:12:32.969415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/10/00/image_11042025_10_01_06_10347.jpg', '/home/pi/Desktop/images/11042025/10/01/image_11042025_10_01_16_9338.jpg', '/home/pi/Desktop/images/11042025/10/01/image_11042025_10_01_35_9342.jpg', '/home/pi/Desktop/images/11042025/10/01/image_11042025_10_01_46_10466.jpg', '/home/pi/Desktop/images/11042025/10/01/image_11042025_10_01_56_10396.jpg', '/home/pi/Desktop/images/11042025/10/01/image_11042025_10_02_06_9344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/10/00/image_11042025_10_01_06_10347.jpg
/home/pi/Desktop/images/11042025/10/01/image_11042025_10_01_16_9338.jpg
/home/pi/Desktop/images/11042025/10/01/image_11042025_10_01_35_9342.jpg
/home/pi/Desktop/images/11042025/10/01/image_11042025_10_01_46_10466.jpg
/home/pi/Desktop/images/11042025/10/01/image_11042025_10_01_56_10396.jpg
/home/pi/Desktop/images/11042025/10/01/image_11042025_10_02_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":["1351625225","1351625120","1351625184","1351624965","1351625360","1351625276"],"photo_ids_order":["1351624965","1351625120","1351625184","1351625225","1351625276","1351625360"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4371b722cb7a445bfacffc2935d07887.jpg","text":"TemporaryFile(/tmp/multipartBody6331373786894569396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366413433,"filename":"image_11042025_10_01_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/11/a7059fbb0f1b7d3bddfff936620a565e.jpg","text":"TemporaryFile(/tmp/multipartBody3150579819331403621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366413433,"filename":"image_11042025_10_01_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/11/27f192cebb2440ed9f0631533801a4b6.jpg","text":"TemporaryFile(/tmp/multipartBody9185594545414402770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366413433,"filename":"image_11042025_10_01_35_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/edf84dc6ebcbd15e823b643687ce4ce9.jpg","text":"TemporaryFile(/tmp/multipartBody1006609638818229549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366413433,"filename":"image_11042025_10_01_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/11/020925a1bff1d2c2e09fe22d9a89b1bb.jpg","text":"TemporaryFile(/tmp/multipartBody5558620346469824617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366413433,"filename":"image_11042025_10_02_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/11/6bedf59431c0cb7cbc4d37d1f8c14f27.jpg","text":"TemporaryFile(/tmp/multipartBody1994852050319805002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366413433,"filename":"image_11042025_10_01_56_10396.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351625184","file1":"1351625120","file0":"1351624965","file4":"1351625276","file5":"1351625360","file3":"1351625225"},"map_files_photo_id_array":[{"photo_id":"1351625360","filename":"file5"},{"photo_id":"1351625184","filename":"file2"},{"photo_id":"1351625276","filename":"file4"},{"photo_id":"1351625120","filename":"file1"},{"photo_id":"1351624965","filename":"file0"},{"photo_id":"1351625225","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351625225":["hashtag1","hashtag2"]},{"1351625120":["hashtag1","hashtag2"]},{"1351625184":["hashtag1","hashtag2"]},{"1351624965":["hashtag1","hashtag2"]},{"1351625360":["hashtag1","hashtag2"]},{"1351625276":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351625225, 1351625120, 1351625184, 1351624965, 1351625360, 1351625276)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.12409043312073 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 12:13:32.282591
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/10/02/image_11042025_10_02_16_10356.jpg', '/home/pi/Desktop/images/11042025/10/02/image_11042025_10_02_36_9345.jpg', '/home/pi/Desktop/images/11042025/10/02/image_11042025_10_02_46_10424.jpg', '/home/pi/Desktop/images/11042025/10/02/image_11042025_10_03_06_10397.jpg', '/home/pi/Desktop/images/11042025/10/03/image_11042025_10_03_26_9366.jpg', '/home/pi/Desktop/images/11042025/10/03/image_11042025_10_03_36_10338.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/10/02/image_11042025_10_02_16_10356.jpg
/home/pi/Desktop/images/11042025/10/02/image_11042025_10_02_36_9345.jpg
/home/pi/Desktop/images/11042025/10/02/image_11042025_10_02_46_10424.jpg
/home/pi/Desktop/images/11042025/10/02/image_11042025_10_03_06_10397.jpg
/home/pi/Desktop/images/11042025/10/03/image_11042025_10_03_26_9366.jpg
/home/pi/Desktop/images/11042025/10/03/image_11042025_10_03_36_10338.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351625833","1351625874","1351626027","1351626089","1351625762","1351626271"],"photo_ids_order":["1351625762","1351625833","1351625874","1351626027","1351626089","1351626271"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/59d19ae4374397eae450d44a5a3e1131.jpg","text":"TemporaryFile(/tmp/multipartBody8039079578639439357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366472741,"filename":"image_11042025_10_02_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/11/10a4e1eb63473f3736cc57b6d415cf91.jpg","text":"TemporaryFile(/tmp/multipartBody8479753845439239750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366472741,"filename":"image_11042025_10_02_46_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9a8b8293bec54643691fbbd662b8b421.jpg","text":"TemporaryFile(/tmp/multipartBody5582141657102319652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366472741,"filename":"image_11042025_10_03_06_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/05cd2d14b95e217d0cb26afe98fdd998.jpg","text":"TemporaryFile(/tmp/multipartBody5471342047484591089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366472741,"filename":"image_11042025_10_03_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/11/a4ba4844b335c5c7b6abcb34ce28957f.jpg","text":"TemporaryFile(/tmp/multipartBody5651784427477269678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366472741,"filename":"image_11042025_10_02_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/11/75cedc35c4afa4b72ac0ed5c49ea9a77.jpg","text":"TemporaryFile(/tmp/multipartBody6284014395573776577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366472741,"filename":"image_11042025_10_03_36_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351625874","file1":"1351625833","file0":"1351625762","file4":"1351626089","file5":"1351626271","file3":"1351626027"},"map_files_photo_id_array":[{"photo_id":"1351626271","filename":"file5"},{"photo_id":"1351625874","filename":"file2"},{"photo_id":"1351626089","filename":"file4"},{"photo_id":"1351625833","filename":"file1"},{"photo_id":"1351625762","filename":"file0"},{"photo_id":"1351626027","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351625833":["hashtag1","hashtag2"]},{"1351625874":["hashtag1","hashtag2"]},{"1351626027":["hashtag1","hashtag2"]},{"1351626089":["hashtag1","hashtag2"]},{"1351625762":["hashtag1","hashtag2"]},{"1351626271":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351625833, 1351625874, 1351626027, 1351626089, 1351625762, 1351626271)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.93220281600952 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 12:14:32.447134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/10/03/image_11042025_10_03_45_9353.jpg', '/home/pi/Desktop/images/11042025/10/03/image_11042025_10_03_56_10473.jpg', '/home/pi/Desktop/images/11042025/10/03/image_11042025_10_04_06_10348.jpg', '/home/pi/Desktop/images/11042025/10/04/image_11042025_10_04_15_9338.jpg', '/home/pi/Desktop/images/11042025/10/04/image_11042025_10_04_26_10474.jpg', '/home/pi/Desktop/images/11042025/10/04/image_11042025_10_04_36_10355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/10/03/image_11042025_10_03_45_9353.jpg
/home/pi/Desktop/images/11042025/10/03/image_11042025_10_03_56_10473.jpg
/home/pi/Desktop/images/11042025/10/03/image_11042025_10_04_06_10348.jpg
/home/pi/Desktop/images/11042025/10/04/image_11042025_10_04_15_9338.jpg
/home/pi/Desktop/images/11042025/10/04/image_11042025_10_04_26_10474.jpg
/home/pi/Desktop/images/11042025/10/04/image_11042025_10_04_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":["1351626712","1351626607","1351626636","1351626680","1351626737","1351626778"],"photo_ids_order":["1351626607","1351626636","1351626680","1351626712","1351626737","1351626778"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f55d451c6738fbb990d4cd4bfa9eb71c.jpg","text":"TemporaryFile(/tmp/multipartBody7223626441149585455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366532895,"filename":"image_11042025_10_04_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/11/f80dca11b1897e74d642fc2957fff786.jpg","text":"TemporaryFile(/tmp/multipartBody7198033376270960032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366532895,"filename":"image_11042025_10_03_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/11/a84d8b34676f87fb416fc46edba52441.jpg","text":"TemporaryFile(/tmp/multipartBody8699357170678725580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366532895,"filename":"image_11042025_10_03_56_10473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2e129efc38564183cdd31a6657946651.jpg","text":"TemporaryFile(/tmp/multipartBody6117772031529751059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366532895,"filename":"image_11042025_10_04_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/11/0e41c26aeb5e7d471859b8d714604af5.jpg","text":"TemporaryFile(/tmp/multipartBody1497433107439996114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366532895,"filename":"image_11042025_10_04_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/11/9481f9a1ecfbad1a4128fb2535bc0935.jpg","text":"TemporaryFile(/tmp/multipartBody7773626578162094543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366532895,"filename":"image_11042025_10_04_36_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351626680","file1":"1351626636","file0":"1351626607","file4":"1351626737","file5":"1351626778","file3":"1351626712"},"map_files_photo_id_array":[{"photo_id":"1351626778","filename":"file5"},{"photo_id":"1351626680","filename":"file2"},{"photo_id":"1351626737","filename":"file4"},{"photo_id":"1351626636","filename":"file1"},{"photo_id":"1351626607","filename":"file0"},{"photo_id":"1351626712","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351626712":["hashtag1","hashtag2"]},{"1351626607":["hashtag1","hashtag2"]},{"1351626636":["hashtag1","hashtag2"]},{"1351626680":["hashtag1","hashtag2"]},{"1351626737":["hashtag1","hashtag2"]},{"1351626778":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351626712, 1351626607, 1351626636, 1351626680, 1351626737, 1351626778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.130698680877686 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 12:15:32.655063
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/10/04/image_11042025_10_04_56_10378.jpg', '/home/pi/Desktop/images/11042025/10/05/image_11042025_10_05_25_9431.jpg', '/home/pi/Desktop/images/11042025/10/05/image_11042025_10_05_36_10475.jpg', '/home/pi/Desktop/images/11042025/10/05/image_11042025_10_05_46_10356.jpg', '/home/pi/Desktop/images/11042025/10/06/image_11042025_10_06_16_10436.jpg', '/home/pi/Desktop/images/11042025/10/06/image_11042025_10_06_26_9359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/10/04/image_11042025_10_04_56_10378.jpg
/home/pi/Desktop/images/11042025/10/05/image_11042025_10_05_25_9431.jpg
/home/pi/Desktop/images/11042025/10/05/image_11042025_10_05_36_10475.jpg
/home/pi/Desktop/images/11042025/10/05/image_11042025_10_05_46_10356.jpg
/home/pi/Desktop/images/11042025/10/06/image_11042025_10_06_16_10436.jpg
/home/pi/Desktop/images/11042025/10/06/image_11042025_10_06_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":["1351627659","1351627581","1351627215","1351627436","1351627498","1351627279"],"photo_ids_order":["1351627215","1351627279","1351627436","1351627498","1351627581","1351627659"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7ddbc409946efd7ff0086f0972b3e3e9.jpg","text":"TemporaryFile(/tmp/multipartBody8752797371133270640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366593114,"filename":"image_11042025_10_06_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/11/8b5e8177a2a80b24a72e7849104eeaa6.jpg","text":"TemporaryFile(/tmp/multipartBody3147884790055126142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366593114,"filename":"image_11042025_10_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/11/004a82e039d001aa1ef417901e921cf4.jpg","text":"TemporaryFile(/tmp/multipartBody516659903836855810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366593114,"filename":"image_11042025_10_04_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/11/af37c8ed09b58347a6e817ac176660df.jpg","text":"TemporaryFile(/tmp/multipartBody4745062283373689801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366593114,"filename":"image_11042025_10_05_36_10475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b176bbf18269166172ef6301eb1718d5.jpg","text":"TemporaryFile(/tmp/multipartBody2303094689877082447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366593114,"filename":"image_11042025_10_05_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/11/6e70a3d9baf737ec6b032787df297012.jpg","text":"TemporaryFile(/tmp/multipartBody5375864092496543091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366593114,"filename":"image_11042025_10_05_25_9431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351627436","file1":"1351627279","file0":"1351627215","file4":"1351627581","file5":"1351627659","file3":"1351627498"},"map_files_photo_id_array":[{"photo_id":"1351627659","filename":"file5"},{"photo_id":"1351627436","filename":"file2"},{"photo_id":"1351627581","filename":"file4"},{"photo_id":"1351627279","filename":"file1"},{"photo_id":"1351627215","filename":"file0"},{"photo_id":"1351627498","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351627659":["hashtag1","hashtag2"]},{"1351627581":["hashtag1","hashtag2"]},{"1351627215":["hashtag1","hashtag2"]},{"1351627436":["hashtag1","hashtag2"]},{"1351627498":["hashtag1","hashtag2"]},{"1351627279":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351627659, 1351627581, 1351627215, 1351627436, 1351627498, 1351627279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.53252410888672 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 12:16:32.793562
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/10/06/image_11042025_10_06_36_10429.jpg', '/home/pi/Desktop/images/11042025/10/06/image_11042025_10_06_45_9399.jpg', '/home/pi/Desktop/images/11042025/10/06/image_11042025_10_06_56_10352.jpg', '/home/pi/Desktop/images/11042025/10/06/image_11042025_10_07_06_10363.jpg', '/home/pi/Desktop/images/11042025/10/07/image_11042025_10_07_16_9379.jpg', '/home/pi/Desktop/images/11042025/10/07/image_11042025_10_07_26_10402.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/10/06/image_11042025_10_06_36_10429.jpg
/home/pi/Desktop/images/11042025/10/06/image_11042025_10_06_45_9399.jpg
/home/pi/Desktop/images/11042025/10/06/image_11042025_10_06_56_10352.jpg
/home/pi/Desktop/images/11042025/10/06/image_11042025_10_07_06_10363.jpg
/home/pi/Desktop/images/11042025/10/07/image_11042025_10_07_16_9379.jpg
/home/pi/Desktop/images/11042025/10/07/image_11042025_10_07_26_10402.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351627980","1351628027","1351628170","1351628065","1351627933","1351628295"],"photo_ids_order":["1351627933","1351627980","1351628027","1351628065","1351628170","1351628295"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/bca882d73980a72d3ab31fd0ab9139c8.jpg","text":"TemporaryFile(/tmp/multipartBody6897817541891490245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366653248,"filename":"image_11042025_10_06_45_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d06a9a8c70b1c883fd3af997fcc56242.jpg","text":"TemporaryFile(/tmp/multipartBody2175416961059928850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366653248,"filename":"image_11042025_10_06_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/11/b45fb2a1dde9950ed7563743a7ff075d.jpg","text":"TemporaryFile(/tmp/multipartBody5649442912380617091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366653248,"filename":"image_11042025_10_07_16_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5572c5532744ebc60fa7df5d7dddb4d1.jpg","text":"TemporaryFile(/tmp/multipartBody6244345647720490547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366653248,"filename":"image_11042025_10_07_06_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4c2efcb49691356b4efe1933cf8eccdc.jpg","text":"TemporaryFile(/tmp/multipartBody5837712103248411681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366653248,"filename":"image_11042025_10_06_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/11/862ecda9de08f83af6551d5bfddcfb21.jpg","text":"TemporaryFile(/tmp/multipartBody7643348744025126383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366653248,"filename":"image_11042025_10_07_26_10402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351628027","file1":"1351627980","file0":"1351627933","file4":"1351628170","file5":"1351628295","file3":"1351628065"},"map_files_photo_id_array":[{"photo_id":"1351628295","filename":"file5"},{"photo_id":"1351628027","filename":"file2"},{"photo_id":"1351628170","filename":"file4"},{"photo_id":"1351627980","filename":"file1"},{"photo_id":"1351627933","filename":"file0"},{"photo_id":"1351628065","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351627980":["hashtag1","hashtag2"]},{"1351628027":["hashtag1","hashtag2"]},{"1351628170":["hashtag1","hashtag2"]},{"1351628065":["hashtag1","hashtag2"]},{"1351627933":["hashtag1","hashtag2"]},{"1351628295":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351627980, 1351628027, 1351628170, 1351628065, 1351627933, 1351628295)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.90897297859192 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 12:17:33.100256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/10/07/image_11042025_10_07_35_9346.jpg', '/home/pi/Desktop/images/11042025/10/07/image_11042025_10_07_46_10483.jpg', '/home/pi/Desktop/images/11042025/10/07/image_11042025_10_07_56_10376.jpg', '/home/pi/Desktop/images/11042025/10/08/image_11042025_10_08_25_9340.jpg', '/home/pi/Desktop/images/11042025/10/08/image_11042025_10_08_36_10451.jpg', '/home/pi/Desktop/images/11042025/10/08/image_11042025_10_08_46_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/10/07/image_11042025_10_07_35_9346.jpg
/home/pi/Desktop/images/11042025/10/07/image_11042025_10_07_46_10483.jpg
/home/pi/Desktop/images/11042025/10/07/image_11042025_10_07_56_10376.jpg
/home/pi/Desktop/images/11042025/10/08/image_11042025_10_08_25_9340.jpg
/home/pi/Desktop/images/11042025/10/08/image_11042025_10_08_36_10451.jpg
/home/pi/Desktop/images/11042025/10/08/image_11042025_10_08_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":["1351628556","1351628576","1351628507","1351628491","1351628530","1351628463"],"photo_ids_order":["1351628463","1351628491","1351628507","1351628530","1351628556","1351628576"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/085df6ee81bb4be83e4a5419afbf6c56.jpg","text":"TemporaryFile(/tmp/multipartBody2523218848346186584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366713547,"filename":"image_11042025_10_08_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/11/522b263e2b610a116d13ea6384765ac0.jpg","text":"TemporaryFile(/tmp/multipartBody4794763810063870497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366713547,"filename":"image_11042025_10_08_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/11/61915b6e22a8a81482bad688826f399d.jpg","text":"TemporaryFile(/tmp/multipartBody3101803311054378663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366713547,"filename":"image_11042025_10_07_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/11/f9f19c74b71b6cf5979e8b0cea6aa0ca.jpg","text":"TemporaryFile(/tmp/multipartBody9159919235200287884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366713547,"filename":"image_11042025_10_07_46_10483.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4f37f42dc02de24c23cfc93611f86a88.jpg","text":"TemporaryFile(/tmp/multipartBody5812962089895148683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366713547,"filename":"image_11042025_10_08_25_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7eedea014e0afae1661e980e0077fc3b.jpg","text":"TemporaryFile(/tmp/multipartBody2196570161390894958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366713547,"filename":"image_11042025_10_07_35_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351628507","file1":"1351628491","file0":"1351628463","file4":"1351628556","file5":"1351628576","file3":"1351628530"},"map_files_photo_id_array":[{"photo_id":"1351628576","filename":"file5"},{"photo_id":"1351628507","filename":"file2"},{"photo_id":"1351628556","filename":"file4"},{"photo_id":"1351628491","filename":"file1"},{"photo_id":"1351628463","filename":"file0"},{"photo_id":"1351628530","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351628556":["hashtag1","hashtag2"]},{"1351628576":["hashtag1","hashtag2"]},{"1351628507":["hashtag1","hashtag2"]},{"1351628491":["hashtag1","hashtag2"]},{"1351628530":["hashtag1","hashtag2"]},{"1351628463":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351628556, 1351628576, 1351628507, 1351628491, 1351628530, 1351628463)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.49771451950073 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 12:18:32.479392
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/10/08/image_11042025_10_08_55_9346.jpg', '/home/pi/Desktop/images/11042025/10/08/image_11042025_10_09_06_10441.jpg', '/home/pi/Desktop/images/11042025/10/09/image_11042025_10_09_16_10347.jpg', '/home/pi/Desktop/images/11042025/10/09/image_11042025_10_09_26_9350.jpg', '/home/pi/Desktop/images/11042025/10/09/image_11042025_10_09_36_10383.jpg', '/home/pi/Desktop/images/11042025/10/09/image_11042025_10_09_45_9350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/10/08/image_11042025_10_08_55_9346.jpg
/home/pi/Desktop/images/11042025/10/08/image_11042025_10_09_06_10441.jpg
/home/pi/Desktop/images/11042025/10/09/image_11042025_10_09_16_10347.jpg
/home/pi/Desktop/images/11042025/10/09/image_11042025_10_09_26_9350.jpg
/home/pi/Desktop/images/11042025/10/09/image_11042025_10_09_36_10383.jpg
/home/pi/Desktop/images/11042025/10/09/image_11042025_10_09_45_9350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351628745","1351628733","1351628727","1351628855","1351628893","1351628725"],"photo_ids_order":["1351628725","1351628727","1351628733","1351628745","1351628855","1351628893"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/05a50fdfa0b41034c10c433b6401dfed.jpg","text":"TemporaryFile(/tmp/multipartBody2159459068927934111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366772955,"filename":"image_11042025_10_09_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/11/5349299cdbfdc163457cc90ab789716e.jpg","text":"TemporaryFile(/tmp/multipartBody8046525474704276719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366772955,"filename":"image_11042025_10_09_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/11/ef905d8f0703dd45a82e0c0847621c5d.jpg","text":"TemporaryFile(/tmp/multipartBody5242693366331712215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366772955,"filename":"image_11042025_10_09_06_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ba5d35460e07e385aa5a1e42cbbdf04e.jpg","text":"TemporaryFile(/tmp/multipartBody3159797561182641663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366772955,"filename":"image_11042025_10_09_36_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/bb02221086533df372b734c67a910575.jpg","text":"TemporaryFile(/tmp/multipartBody3176515031454245603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366772955,"filename":"image_11042025_10_09_45_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ed91033620c4c54d0051857fc7669869.jpg","text":"TemporaryFile(/tmp/multipartBody8452609304540626793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366772955,"filename":"image_11042025_10_08_55_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351628733","file1":"1351628727","file0":"1351628725","file4":"1351628855","file5":"1351628893","file3":"1351628745"},"map_files_photo_id_array":[{"photo_id":"1351628893","filename":"file5"},{"photo_id":"1351628733","filename":"file2"},{"photo_id":"1351628855","filename":"file4"},{"photo_id":"1351628727","filename":"file1"},{"photo_id":"1351628725","filename":"file0"},{"photo_id":"1351628745","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351628745":["hashtag1","hashtag2"]},{"1351628733":["hashtag1","hashtag2"]},{"1351628727":["hashtag1","hashtag2"]},{"1351628855":["hashtag1","hashtag2"]},{"1351628893":["hashtag1","hashtag2"]},{"1351628725":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351628745, 1351628733, 1351628727, 1351628855, 1351628893, 1351628725)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.253682374954224 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 12:19:32.672547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/10/09/image_11042025_10_09_56_10433.jpg', '/home/pi/Desktop/images/11042025/10/09/image_11042025_10_10_06_10355.jpg', '/home/pi/Desktop/images/11042025/10/10/image_11042025_10_10_15_9350.jpg', '/home/pi/Desktop/images/11042025/10/10/image_11042025_10_10_26_10456.jpg', '/home/pi/Desktop/images/11042025/10/10/image_11042025_10_10_35_9338.jpg', '/home/pi/Desktop/images/11042025/10/10/image_11042025_10_10_46_10347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/10/09/image_11042025_10_09_56_10433.jpg
/home/pi/Desktop/images/11042025/10/09/image_11042025_10_10_06_10355.jpg
/home/pi/Desktop/images/11042025/10/10/image_11042025_10_10_15_9350.jpg
/home/pi/Desktop/images/11042025/10/10/image_11042025_10_10_26_10456.jpg
/home/pi/Desktop/images/11042025/10/10/image_11042025_10_10_35_9338.jpg
/home/pi/Desktop/images/11042025/10/10/image_11042025_10_10_46_10347.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351629083","1351629167","1351629110","1351629058","1351629213","1351629135"],"photo_ids_order":["1351629058","1351629083","1351629110","1351629135","1351629167","1351629213"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8bfa2572854837f673d91105ab04d69a.jpg","text":"TemporaryFile(/tmp/multipartBody2652440821674123276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366833130,"filename":"image_11042025_10_10_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/11/5768ff76f32d3ac814aed9d36cc4f510.jpg","text":"TemporaryFile(/tmp/multipartBody7735428359592811950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366833130,"filename":"image_11042025_10_10_35_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/69811199e823e673dd02c9b5e010c7eb.jpg","text":"TemporaryFile(/tmp/multipartBody554589442798483635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366833130,"filename":"image_11042025_10_10_15_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a3198b0d16b52516ac3b0b98f6b14975.jpg","text":"TemporaryFile(/tmp/multipartBody6437144507905567925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366833130,"filename":"image_11042025_10_09_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/11/f16cbbce01ea3c2162cb00129bbe6ed7.jpg","text":"TemporaryFile(/tmp/multipartBody5350902925893529665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366833130,"filename":"image_11042025_10_10_46_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7f8e2fae7dba73b485208ace7b168a1e.jpg","text":"TemporaryFile(/tmp/multipartBody905207201834114054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366833130,"filename":"image_11042025_10_10_26_10456.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351629110","file1":"1351629083","file0":"1351629058","file4":"1351629167","file5":"1351629213","file3":"1351629135"},"map_files_photo_id_array":[{"photo_id":"1351629213","filename":"file5"},{"photo_id":"1351629110","filename":"file2"},{"photo_id":"1351629167","filename":"file4"},{"photo_id":"1351629083","filename":"file1"},{"photo_id":"1351629058","filename":"file0"},{"photo_id":"1351629135","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351629083":["hashtag1","hashtag2"]},{"1351629167":["hashtag1","hashtag2"]},{"1351629110":["hashtag1","hashtag2"]},{"1351629058":["hashtag1","hashtag2"]},{"1351629213":["hashtag1","hashtag2"]},{"1351629135":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351629083, 1351629167, 1351629110, 1351629058, 1351629213, 1351629135)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.658257484436035 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 12:20:32.936378
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/10/10/image_11042025_10_10_56_10351.jpg', '/home/pi/Desktop/images/11042025/10/10/image_11042025_10_11_05_9339.jpg', '/home/pi/Desktop/images/11042025/10/11/image_11042025_10_11_16_10439.jpg', '/home/pi/Desktop/images/11042025/10/11/image_11042025_10_11_26_10364.jpg', '/home/pi/Desktop/images/11042025/10/11/image_11042025_10_11_46_10416.jpg', '/home/pi/Desktop/images/11042025/10/11/image_11042025_10_11_56_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/10/10/image_11042025_10_10_56_10351.jpg
/home/pi/Desktop/images/11042025/10/10/image_11042025_10_11_05_9339.jpg
/home/pi/Desktop/images/11042025/10/11/image_11042025_10_11_16_10439.jpg
/home/pi/Desktop/images/11042025/10/11/image_11042025_10_11_26_10364.jpg
/home/pi/Desktop/images/11042025/10/11/image_11042025_10_11_46_10416.jpg
/home/pi/Desktop/images/11042025/10/11/image_11042025_10_11_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":["1351629522","1351629503","1351629527","1351629478","1351629588","1351629567"],"photo_ids_order":["1351629478","1351629503","1351629522","1351629527","1351629567","1351629588"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/970805e1ec329bec62fc08a81001e64e.jpg","text":"TemporaryFile(/tmp/multipartBody1626183095555205603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366893379,"filename":"image_11042025_10_11_16_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8b4b2202c8ce6d3b5a842fd87f74ff50.jpg","text":"TemporaryFile(/tmp/multipartBody4203855657744767040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366893379,"filename":"image_11042025_10_11_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/11/80e9060cf987b473b4bf7f59754ecb21.jpg","text":"TemporaryFile(/tmp/multipartBody3085523125948084926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366893379,"filename":"image_11042025_10_11_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/11/0100e0b9980789f28a98a2f9553b400c.jpg","text":"TemporaryFile(/tmp/multipartBody9068669428980854163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366893379,"filename":"image_11042025_10_10_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/11/99c278e53f6294fec4e40cac8ba23e87.jpg","text":"TemporaryFile(/tmp/multipartBody4917640247701200234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366893379,"filename":"image_11042025_10_11_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/11/3785a5a913eb911a397e93bdd9e09020.jpg","text":"TemporaryFile(/tmp/multipartBody1146178855795530579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366893379,"filename":"image_11042025_10_11_46_10416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351629522","file1":"1351629503","file0":"1351629478","file4":"1351629567","file5":"1351629588","file3":"1351629527"},"map_files_photo_id_array":[{"photo_id":"1351629588","filename":"file5"},{"photo_id":"1351629522","filename":"file2"},{"photo_id":"1351629567","filename":"file4"},{"photo_id":"1351629503","filename":"file1"},{"photo_id":"1351629478","filename":"file0"},{"photo_id":"1351629527","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351629522":["hashtag1","hashtag2"]},{"1351629503":["hashtag1","hashtag2"]},{"1351629527":["hashtag1","hashtag2"]},{"1351629478":["hashtag1","hashtag2"]},{"1351629588":["hashtag1","hashtag2"]},{"1351629567":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351629522, 1351629503, 1351629527, 1351629478, 1351629588, 1351629567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.79942512512207 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 12:21:33.103717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/10/12/image_11042025_10_12_16_10414.jpg', '/home/pi/Desktop/images/11042025/10/12/image_11042025_10_12_25_9422.jpg', '/home/pi/Desktop/images/11042025/10/12/image_11042025_10_12_36_10408.jpg', '/home/pi/Desktop/images/11042025/10/12/image_11042025_10_12_46_10407.jpg', '/home/pi/Desktop/images/11042025/10/12/image_11042025_10_12_56_9357.jpg', '/home/pi/Desktop/images/11042025/10/13/image_11042025_10_13_15_9349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/10/12/image_11042025_10_12_16_10414.jpg
/home/pi/Desktop/images/11042025/10/12/image_11042025_10_12_25_9422.jpg
/home/pi/Desktop/images/11042025/10/12/image_11042025_10_12_36_10408.jpg
/home/pi/Desktop/images/11042025/10/12/image_11042025_10_12_46_10407.jpg
/home/pi/Desktop/images/11042025/10/12/image_11042025_10_12_56_9357.jpg
/home/pi/Desktop/images/11042025/10/13/image_11042025_10_13_15_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":["1351629869","1351629818","1351629889","1351629958","1351629844","1351629910"],"photo_ids_order":["1351629818","1351629844","1351629869","1351629889","1351629910","1351629958"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1aba9f62e12c2c60a36353df67ae161f.jpg","text":"TemporaryFile(/tmp/multipartBody1963972102134821112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366953743,"filename":"image_11042025_10_12_36_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2c613bd7033d78826422ce0f85b3f152.jpg","text":"TemporaryFile(/tmp/multipartBody3952456185170498739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366953743,"filename":"image_11042025_10_12_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/11/8d14d10d558250224a41401bcd227d02.jpg","text":"TemporaryFile(/tmp/multipartBody140873962801715405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366953743,"filename":"image_11042025_10_12_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/11/31ff4d0bb06fcb429292f0b2eef4a768.jpg","text":"TemporaryFile(/tmp/multipartBody4724213723785977959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366953743,"filename":"image_11042025_10_13_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/11/68f276aea30a039a7948b12af2619cdf.jpg","text":"TemporaryFile(/tmp/multipartBody9073390622743575693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366953743,"filename":"image_11042025_10_12_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/11/37ecf1c69bd926a7fb4398ee4ffaacfb.jpg","text":"TemporaryFile(/tmp/multipartBody8281378965418725985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744366953743,"filename":"image_11042025_10_12_56_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351629869","file1":"1351629844","file0":"1351629818","file4":"1351629910","file5":"1351629958","file3":"1351629889"},"map_files_photo_id_array":[{"photo_id":"1351629958","filename":"file5"},{"photo_id":"1351629869","filename":"file2"},{"photo_id":"1351629910","filename":"file4"},{"photo_id":"1351629844","filename":"file1"},{"photo_id":"1351629818","filename":"file0"},{"photo_id":"1351629889","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351629869":["hashtag1","hashtag2"]},{"1351629818":["hashtag1","hashtag2"]},{"1351629889":["hashtag1","hashtag2"]},{"1351629958":["hashtag1","hashtag2"]},{"1351629844":["hashtag1","hashtag2"]},{"1351629910":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351629869, 1351629818, 1351629889, 1351629958, 1351629844, 1351629910)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.87165665626526 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 12:22:32.307684
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/10/13/image_11042025_10_13_26_10465.jpg', '/home/pi/Desktop/images/11042025/10/13/image_11042025_10_13_46_9395.jpg', '/home/pi/Desktop/images/11042025/10/13/image_11042025_10_13_56_10387.jpg', '/home/pi/Desktop/images/11042025/10/13/image_11042025_10_14_05_9409.jpg', '/home/pi/Desktop/images/11042025/10/14/image_11042025_10_14_16_10460.jpg', '/home/pi/Desktop/images/11042025/10/14/image_11042025_10_14_25_9440.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/10/13/image_11042025_10_13_26_10465.jpg
/home/pi/Desktop/images/11042025/10/13/image_11042025_10_13_46_9395.jpg
/home/pi/Desktop/images/11042025/10/13/image_11042025_10_13_56_10387.jpg
/home/pi/Desktop/images/11042025/10/13/image_11042025_10_14_05_9409.jpg
/home/pi/Desktop/images/11042025/10/14/image_11042025_10_14_16_10460.jpg
/home/pi/Desktop/images/11042025/10/14/image_11042025_10_14_25_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":["1351630134","1351630104","1351630129","1351630120","1351630114","1351630108"],"photo_ids_order":["1351630104","1351630108","1351630114","1351630120","1351630129","1351630134"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/63f2276bfd0cae5e49422f38d802002d.jpg","text":"TemporaryFile(/tmp/multipartBody2111761837224954892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367012765,"filename":"image_11042025_10_14_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/11/6e98d4d5d41a7e6251eed9deadb6d7b3.jpg","text":"TemporaryFile(/tmp/multipartBody356965054605562254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367012765,"filename":"image_11042025_10_13_26_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/462eaf4beff9959681e5bdf514d1ecf5.jpg","text":"TemporaryFile(/tmp/multipartBody5811555216929481196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367012765,"filename":"image_11042025_10_14_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/11/1b3b137bd65772926c1e9c629301bec1.jpg","text":"TemporaryFile(/tmp/multipartBody4704981308818303061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367012765,"filename":"image_11042025_10_14_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/11/330090c43039796cee912769d7d8018e.jpg","text":"TemporaryFile(/tmp/multipartBody1599817201507038838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367012765,"filename":"image_11042025_10_13_56_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/56f1f96466218f1067acc2189db25781.jpg","text":"TemporaryFile(/tmp/multipartBody8003477082775484710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367012765,"filename":"image_11042025_10_13_46_9395.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351630114","file1":"1351630108","file0":"1351630104","file4":"1351630129","file5":"1351630134","file3":"1351630120"},"map_files_photo_id_array":[{"photo_id":"1351630134","filename":"file5"},{"photo_id":"1351630114","filename":"file2"},{"photo_id":"1351630129","filename":"file4"},{"photo_id":"1351630108","filename":"file1"},{"photo_id":"1351630104","filename":"file0"},{"photo_id":"1351630120","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351630134":["hashtag1","hashtag2"]},{"1351630104":["hashtag1","hashtag2"]},{"1351630129":["hashtag1","hashtag2"]},{"1351630120":["hashtag1","hashtag2"]},{"1351630114":["hashtag1","hashtag2"]},{"1351630108":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351630134, 1351630104, 1351630129, 1351630120, 1351630114, 1351630108)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.07166242599487 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 12:23:32.511497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/10/14/image_11042025_10_14_36_10489.jpg', '/home/pi/Desktop/images/11042025/10/14/image_11042025_10_14_46_10350.jpg', '/home/pi/Desktop/images/11042025/10/14/image_11042025_10_15_06_10343.jpg', '/home/pi/Desktop/images/11042025/10/15/image_11042025_10_15_16_10336.jpg', '/home/pi/Desktop/images/11042025/10/15/image_11042025_10_15_26_9351.jpg', '/home/pi/Desktop/images/11042025/10/15/image_11042025_10_15_36_10424.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/10/14/image_11042025_10_14_36_10489.jpg
/home/pi/Desktop/images/11042025/10/14/image_11042025_10_14_46_10350.jpg
/home/pi/Desktop/images/11042025/10/14/image_11042025_10_15_06_10343.jpg
/home/pi/Desktop/images/11042025/10/15/image_11042025_10_15_16_10336.jpg
/home/pi/Desktop/images/11042025/10/15/image_11042025_10_15_26_9351.jpg
/home/pi/Desktop/images/11042025/10/15/image_11042025_10_15_36_10424.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351630302","1351630289","1351630205","1351630264","1351630294","1351630231"],"photo_ids_order":["1351630205","1351630231","1351630264","1351630289","1351630294","1351630302"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/dcdb31dbf2233d034cc116676259ba8e.jpg","text":"TemporaryFile(/tmp/multipartBody4068695553127100165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367072962,"filename":"image_11042025_10_15_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/11/6d3f8ab5331eebd660597680a95a23d9.jpg","text":"TemporaryFile(/tmp/multipartBody701810797893949313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367072962,"filename":"image_11042025_10_15_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/11/2bdc7c0e80cef16678da2a773b7c8a09.jpg","text":"TemporaryFile(/tmp/multipartBody4747401692521698845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367072962,"filename":"image_11042025_10_14_36_10489.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/cfaeda39aff4a9b44424e7ae928cb063.jpg","text":"TemporaryFile(/tmp/multipartBody3226351740611316605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367072962,"filename":"image_11042025_10_15_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/11/57338ee7a55095b98c38b5f882d85bf5.jpg","text":"TemporaryFile(/tmp/multipartBody6357239973331623012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367072962,"filename":"image_11042025_10_15_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/11/92927b5c9be50d1b93969cff48c5d283.jpg","text":"TemporaryFile(/tmp/multipartBody4569517556323160325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367072962,"filename":"image_11042025_10_14_46_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351630264","file1":"1351630231","file0":"1351630205","file4":"1351630294","file5":"1351630302","file3":"1351630289"},"map_files_photo_id_array":[{"photo_id":"1351630302","filename":"file5"},{"photo_id":"1351630264","filename":"file2"},{"photo_id":"1351630294","filename":"file4"},{"photo_id":"1351630231","filename":"file1"},{"photo_id":"1351630205","filename":"file0"},{"photo_id":"1351630289","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351630302":["hashtag1","hashtag2"]},{"1351630289":["hashtag1","hashtag2"]},{"1351630205":["hashtag1","hashtag2"]},{"1351630264":["hashtag1","hashtag2"]},{"1351630294":["hashtag1","hashtag2"]},{"1351630231":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351630302, 1351630289, 1351630205, 1351630264, 1351630294, 1351630231)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.939650535583496 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 12:24:32.763295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/10/15/image_11042025_10_15_46_10344.jpg', '/home/pi/Desktop/images/11042025/10/15/image_11042025_10_15_56_9340.jpg', '/home/pi/Desktop/images/11042025/10/15/image_11042025_10_16_06_10423.jpg', '/home/pi/Desktop/images/11042025/10/16/image_11042025_10_16_15_9351.jpg', '/home/pi/Desktop/images/11042025/10/16/image_11042025_10_16_26_10424.jpg', '/home/pi/Desktop/images/11042025/10/16/image_11042025_10_16_36_10400.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/10/15/image_11042025_10_15_46_10344.jpg
/home/pi/Desktop/images/11042025/10/15/image_11042025_10_15_56_9340.jpg
/home/pi/Desktop/images/11042025/10/15/image_11042025_10_16_06_10423.jpg
/home/pi/Desktop/images/11042025/10/16/image_11042025_10_16_15_9351.jpg
/home/pi/Desktop/images/11042025/10/16/image_11042025_10_16_26_10424.jpg
/home/pi/Desktop/images/11042025/10/16/image_11042025_10_16_36_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":["1351630602","1351630700","1351630643","1351630538","1351630619","1351630767"],"photo_ids_order":["1351630538","1351630602","1351630619","1351630643","1351630700","1351630767"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/905b4d609430966f170a47321ea01f0d.jpg","text":"TemporaryFile(/tmp/multipartBody576463359905427010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367133291,"filename":"image_11042025_10_15_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/11/77649e0f407871f45a50dbc574d821e8.jpg","text":"TemporaryFile(/tmp/multipartBody1540852486096259210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367133291,"filename":"image_11042025_10_16_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/11/e7503e9e649ceddbe934cb4aaeec72e8.jpg","text":"TemporaryFile(/tmp/multipartBody2391224641856582407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367133291,"filename":"image_11042025_10_16_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/11/761670224d1121b1462423c5716bef72.jpg","text":"TemporaryFile(/tmp/multipartBody5165972357757645386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367133291,"filename":"image_11042025_10_15_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/11/f37933af09b94e5867b3d37bb54c8c30.jpg","text":"TemporaryFile(/tmp/multipartBody5862210897990370293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367133291,"filename":"image_11042025_10_16_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/11/b56f58cf341fc789ec52bcddf45989a8.jpg","text":"TemporaryFile(/tmp/multipartBody2802007000600426763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367133291,"filename":"image_11042025_10_16_36_10400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351630619","file1":"1351630602","file0":"1351630538","file4":"1351630700","file5":"1351630767","file3":"1351630643"},"map_files_photo_id_array":[{"photo_id":"1351630767","filename":"file5"},{"photo_id":"1351630619","filename":"file2"},{"photo_id":"1351630700","filename":"file4"},{"photo_id":"1351630602","filename":"file1"},{"photo_id":"1351630538","filename":"file0"},{"photo_id":"1351630643","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351630602":["hashtag1","hashtag2"]},{"1351630700":["hashtag1","hashtag2"]},{"1351630643":["hashtag1","hashtag2"]},{"1351630538":["hashtag1","hashtag2"]},{"1351630619":["hashtag1","hashtag2"]},{"1351630767":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351630602, 1351630700, 1351630643, 1351630538, 1351630619, 1351630767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.96807050704956 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 12:25:33.047243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/10/16/image_11042025_10_16_46_9336.jpg', '/home/pi/Desktop/images/11042025/10/16/image_11042025_10_16_56_10370.jpg', '/home/pi/Desktop/images/11042025/10/16/image_11042025_10_17_05_9377.jpg', '/home/pi/Desktop/images/11042025/10/17/image_11042025_10_17_16_10342.jpg', '/home/pi/Desktop/images/11042025/10/17/image_11042025_10_17_26_10402.jpg', '/home/pi/Desktop/images/11042025/10/17/image_11042025_10_17_35_9336.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/10/16/image_11042025_10_16_46_9336.jpg
/home/pi/Desktop/images/11042025/10/16/image_11042025_10_16_56_10370.jpg
/home/pi/Desktop/images/11042025/10/16/image_11042025_10_17_05_9377.jpg
/home/pi/Desktop/images/11042025/10/17/image_11042025_10_17_16_10342.jpg
/home/pi/Desktop/images/11042025/10/17/image_11042025_10_17_26_10402.jpg
/home/pi/Desktop/images/11042025/10/17/image_11042025_10_17_35_9336.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351631114","1351631083","1351631146","1351631212","1351631136","1351631040"],"photo_ids_order":["1351631040","1351631083","1351631114","1351631136","1351631146","1351631212"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/15202fd7d5538384c58928f78391e01c.jpg","text":"TemporaryFile(/tmp/multipartBody3148051192289588499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367193537,"filename":"image_11042025_10_17_05_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/cfa01341ac320dcf1dfb6fd954421226.jpg","text":"TemporaryFile(/tmp/multipartBody1949528677182748248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367193537,"filename":"image_11042025_10_16_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/11/b935f2fb9ca2e97e4d03d28969da14f1.jpg","text":"TemporaryFile(/tmp/multipartBody5330892409177196412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367193537,"filename":"image_11042025_10_17_26_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/449e04fd20f517275b314ccc2c7978b8.jpg","text":"TemporaryFile(/tmp/multipartBody8192378990092727353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367193537,"filename":"image_11042025_10_17_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/11/e9a6db67e2e5a8bd7ab45e3345d423d7.jpg","text":"TemporaryFile(/tmp/multipartBody8643146277702338751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367193537,"filename":"image_11042025_10_17_16_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/219b021e65f7ab2b71fa9a3c2a0af46b.jpg","text":"TemporaryFile(/tmp/multipartBody8420844769217126689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367193537,"filename":"image_11042025_10_16_46_9336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351631114","file1":"1351631083","file0":"1351631040","file4":"1351631146","file5":"1351631212","file3":"1351631136"},"map_files_photo_id_array":[{"photo_id":"1351631212","filename":"file5"},{"photo_id":"1351631114","filename":"file2"},{"photo_id":"1351631146","filename":"file4"},{"photo_id":"1351631083","filename":"file1"},{"photo_id":"1351631040","filename":"file0"},{"photo_id":"1351631136","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351631114":["hashtag1","hashtag2"]},{"1351631083":["hashtag1","hashtag2"]},{"1351631146":["hashtag1","hashtag2"]},{"1351631212":["hashtag1","hashtag2"]},{"1351631136":["hashtag1","hashtag2"]},{"1351631040":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351631114, 1351631083, 1351631146, 1351631212, 1351631136, 1351631040)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.46008896827698 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 12:26:32.253790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/10/17/image_11042025_10_17_46_10463.jpg', '/home/pi/Desktop/images/11042025/10/17/image_11042025_10_17_56_10358.jpg', '/home/pi/Desktop/images/11042025/10/17/image_11042025_10_18_06_9349.jpg', '/home/pi/Desktop/images/11042025/10/18/image_11042025_10_18_16_10356.jpg', '/home/pi/Desktop/images/11042025/10/18/image_11042025_10_18_26_10361.jpg', '/home/pi/Desktop/images/11042025/10/18/image_11042025_10_18_36_9341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/10/17/image_11042025_10_17_46_10463.jpg
/home/pi/Desktop/images/11042025/10/17/image_11042025_10_17_56_10358.jpg
/home/pi/Desktop/images/11042025/10/17/image_11042025_10_18_06_9349.jpg
/home/pi/Desktop/images/11042025/10/18/image_11042025_10_18_16_10356.jpg
/home/pi/Desktop/images/11042025/10/18/image_11042025_10_18_26_10361.jpg
/home/pi/Desktop/images/11042025/10/18/image_11042025_10_18_36_9341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351631756","1351631684","1351631642","1351631807","1351631967","1351631553"],"photo_ids_order":["1351631553","1351631642","1351631684","1351631756","1351631807","1351631967"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3d63f102262971416cd0d531aea49c6e.jpg","text":"TemporaryFile(/tmp/multipartBody4396949645702401353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367252718,"filename":"image_11042025_10_18_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/11/bf194a413be2cc1bc0fdcc980087673a.jpg","text":"TemporaryFile(/tmp/multipartBody1681909799097337694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367252718,"filename":"image_11042025_10_18_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/11/915f947439a60ee57dc533d564e78e64.jpg","text":"TemporaryFile(/tmp/multipartBody4791027509623514251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367252718,"filename":"image_11042025_10_17_56_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/724560ae11243243dfa9f97607ac65b1.jpg","text":"TemporaryFile(/tmp/multipartBody325226955083700229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367252718,"filename":"image_11042025_10_18_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/11/2187db39b53eb56fbb81a160e7833f86.jpg","text":"TemporaryFile(/tmp/multipartBody5890685318181959442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367252718,"filename":"image_11042025_10_18_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/11/4421d3361481745ca30ad528c66fdd00.jpg","text":"TemporaryFile(/tmp/multipartBody6724921959791527632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367252718,"filename":"image_11042025_10_17_46_10463.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351631684","file1":"1351631642","file0":"1351631553","file4":"1351631807","file5":"1351631967","file3":"1351631756"},"map_files_photo_id_array":[{"photo_id":"1351631967","filename":"file5"},{"photo_id":"1351631684","filename":"file2"},{"photo_id":"1351631807","filename":"file4"},{"photo_id":"1351631642","filename":"file1"},{"photo_id":"1351631553","filename":"file0"},{"photo_id":"1351631756","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351631756":["hashtag1","hashtag2"]},{"1351631684":["hashtag1","hashtag2"]},{"1351631642":["hashtag1","hashtag2"]},{"1351631807":["hashtag1","hashtag2"]},{"1351631967":["hashtag1","hashtag2"]},{"1351631553":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351631756, 1351631684, 1351631642, 1351631807, 1351631967, 1351631553)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.06495785713196 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 12:27:32.454840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/10/18/image_11042025_10_18_46_10355.jpg', '/home/pi/Desktop/images/11042025/10/18/image_11042025_10_18_55_9341.jpg', '/home/pi/Desktop/images/11042025/10/18/image_11042025_10_19_06_10480.jpg', '/home/pi/Desktop/images/11042025/10/19/image_11042025_10_19_16_10443.jpg', '/home/pi/Desktop/images/11042025/10/19/image_11042025_10_19_26_9355.jpg', '/home/pi/Desktop/images/11042025/10/19/image_11042025_10_19_36_10424.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/10/18/image_11042025_10_18_46_10355.jpg
/home/pi/Desktop/images/11042025/10/18/image_11042025_10_18_55_9341.jpg
/home/pi/Desktop/images/11042025/10/18/image_11042025_10_19_06_10480.jpg
/home/pi/Desktop/images/11042025/10/19/image_11042025_10_19_16_10443.jpg
/home/pi/Desktop/images/11042025/10/19/image_11042025_10_19_26_9355.jpg
/home/pi/Desktop/images/11042025/10/19/image_11042025_10_19_36_10424.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351632335","1351632500","1351632292","1351632406","1351632450","1351632252"],"photo_ids_order":["1351632252","1351632292","1351632335","1351632406","1351632450","1351632500"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/eacfde0189442ed955a689b05d24da8c.jpg","text":"TemporaryFile(/tmp/multipartBody858007654660369859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367313995,"filename":"image_11042025_10_19_06_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/11/ff0184c151f55e4f324cc16770ac9b5e.jpg","text":"TemporaryFile(/tmp/multipartBody923894368008226857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367313995,"filename":"image_11042025_10_19_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/11/a7653f02241f1067c2cd33461028e133.jpg","text":"TemporaryFile(/tmp/multipartBody1592436241191676477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367313995,"filename":"image_11042025_10_18_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/11/b9d43f5b0316e04861de9377f997cc5f.jpg","text":"TemporaryFile(/tmp/multipartBody6724980956376230160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367313995,"filename":"image_11042025_10_19_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/11/3a2884d5639d985510826302490b5693.jpg","text":"TemporaryFile(/tmp/multipartBody1339059441682874648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367313995,"filename":"image_11042025_10_19_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/11/28da78fae1366e2f356e791f58cc5bdd.jpg","text":"TemporaryFile(/tmp/multipartBody3147089977293033416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367313995,"filename":"image_11042025_10_18_46_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351632335","file1":"1351632292","file0":"1351632252","file4":"1351632450","file5":"1351632500","file3":"1351632406"},"map_files_photo_id_array":[{"photo_id":"1351632500","filename":"file5"},{"photo_id":"1351632335","filename":"file2"},{"photo_id":"1351632450","filename":"file4"},{"photo_id":"1351632292","filename":"file1"},{"photo_id":"1351632252","filename":"file0"},{"photo_id":"1351632406","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351632335":["hashtag1","hashtag2"]},{"1351632500":["hashtag1","hashtag2"]},{"1351632292":["hashtag1","hashtag2"]},{"1351632406":["hashtag1","hashtag2"]},{"1351632450":["hashtag1","hashtag2"]},{"1351632252":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351632335, 1351632500, 1351632292, 1351632406, 1351632450, 1351632252)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.98843479156494 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 12:28:32.872028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/10/19/image_11042025_10_19_45_9340.jpg', '/home/pi/Desktop/images/11042025/10/19/image_11042025_10_19_56_10488.jpg', '/home/pi/Desktop/images/11042025/10/19/image_11042025_10_20_06_10366.jpg', '/home/pi/Desktop/images/11042025/10/20/image_11042025_10_20_16_9486.jpg', '/home/pi/Desktop/images/11042025/10/20/image_11042025_10_20_26_10458.jpg', '/home/pi/Desktop/images/11042025/10/20/image_11042025_10_20_46_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/10/19/image_11042025_10_19_45_9340.jpg
/home/pi/Desktop/images/11042025/10/19/image_11042025_10_19_56_10488.jpg
/home/pi/Desktop/images/11042025/10/19/image_11042025_10_20_06_10366.jpg
/home/pi/Desktop/images/11042025/10/20/image_11042025_10_20_16_9486.jpg
/home/pi/Desktop/images/11042025/10/20/image_11042025_10_20_26_10458.jpg
/home/pi/Desktop/images/11042025/10/20/image_11042025_10_20_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":["1351632836","1351633249","1351633091","1351633019","1351632878","1351632938"],"photo_ids_order":["1351632836","1351632878","1351632938","1351633019","1351633091","1351633249"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a0db005ae74e5df30741db42081a7bd8.jpg","text":"TemporaryFile(/tmp/multipartBody5893198007866360081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367373320,"filename":"image_11042025_10_19_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/11/cf2fa6d280f8e0df301f46dce8039139.jpg","text":"TemporaryFile(/tmp/multipartBody8092215283432618658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367373320,"filename":"image_11042025_10_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/11/00e369d703b4572240a5abe7719a119b.jpg","text":"TemporaryFile(/tmp/multipartBody7225737697631567032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367373320,"filename":"image_11042025_10_20_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/11/962ef662d683e8887c5f1283e845fa5e.jpg","text":"TemporaryFile(/tmp/multipartBody6462370964006542028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367373320,"filename":"image_11042025_10_20_16_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/11/dc51bda9ec594e45a2831b57ecea6af3.jpg","text":"TemporaryFile(/tmp/multipartBody4542162584275074250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367373320,"filename":"image_11042025_10_19_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/11/9872dfeec4a1baccfb2fc7c4df0ec3f9.jpg","text":"TemporaryFile(/tmp/multipartBody6840730325246945951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367373320,"filename":"image_11042025_10_20_06_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351632938","file1":"1351632878","file0":"1351632836","file4":"1351633091","file5":"1351633249","file3":"1351633019"},"map_files_photo_id_array":[{"photo_id":"1351633249","filename":"file5"},{"photo_id":"1351632938","filename":"file2"},{"photo_id":"1351633091","filename":"file4"},{"photo_id":"1351632878","filename":"file1"},{"photo_id":"1351632836","filename":"file0"},{"photo_id":"1351633019","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351632836":["hashtag1","hashtag2"]},{"1351633249":["hashtag1","hashtag2"]},{"1351633091":["hashtag1","hashtag2"]},{"1351633019":["hashtag1","hashtag2"]},{"1351632878":["hashtag1","hashtag2"]},{"1351632938":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351632836, 1351633249, 1351633091, 1351633019, 1351632878, 1351632938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.25460171699524 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 12:29:33.063412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/10/20/image_11042025_10_20_55_9417.jpg', '/home/pi/Desktop/images/11042025/10/20/image_11042025_10_21_06_10458.jpg', '/home/pi/Desktop/images/11042025/10/21/image_11042025_10_21_16_10523.jpg', '/home/pi/Desktop/images/11042025/10/21/image_11042025_10_21_26_9359.jpg', '/home/pi/Desktop/images/11042025/10/21/image_11042025_10_21_36_10348.jpg', '/home/pi/Desktop/images/11042025/10/21/image_11042025_10_21_45_9354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/10/20/image_11042025_10_20_55_9417.jpg
/home/pi/Desktop/images/11042025/10/20/image_11042025_10_21_06_10458.jpg
/home/pi/Desktop/images/11042025/10/21/image_11042025_10_21_16_10523.jpg
/home/pi/Desktop/images/11042025/10/21/image_11042025_10_21_26_9359.jpg
/home/pi/Desktop/images/11042025/10/21/image_11042025_10_21_36_10348.jpg
/home/pi/Desktop/images/11042025/10/21/image_11042025_10_21_45_9354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351633802","1351633678","1351633887","1351633845","1351633746","1351633778"],"photo_ids_order":["1351633678","1351633746","1351633778","1351633802","1351633845","1351633887"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8b2b0b8efc6836835a05de17f2e55090.jpg","text":"TemporaryFile(/tmp/multipartBody2857407299139788970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367433511,"filename":"image_11042025_10_21_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/11/1585fc213c26f7224648b4b3ead1c1cb.jpg","text":"TemporaryFile(/tmp/multipartBody426928190761746303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367433511,"filename":"image_11042025_10_20_55_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/50f8528963f27f1f1d04fa446c8cc45e.jpg","text":"TemporaryFile(/tmp/multipartBody1177180205040848255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367433511,"filename":"image_11042025_10_21_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/11/c8f6ff82e25feda3080ce3a799952979.jpg","text":"TemporaryFile(/tmp/multipartBody5909058837505573473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367433511,"filename":"image_11042025_10_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/11/b4b0198e6de61ad29199f23e14774a4f.jpg","text":"TemporaryFile(/tmp/multipartBody8260314344186342041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367433511,"filename":"image_11042025_10_21_06_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1e4de2bd284894bb5e93d3904f7f0c8a.jpg","text":"TemporaryFile(/tmp/multipartBody463272928999256944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367433511,"filename":"image_11042025_10_21_16_10523.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351633778","file1":"1351633746","file0":"1351633678","file4":"1351633845","file5":"1351633887","file3":"1351633802"},"map_files_photo_id_array":[{"photo_id":"1351633887","filename":"file5"},{"photo_id":"1351633778","filename":"file2"},{"photo_id":"1351633845","filename":"file4"},{"photo_id":"1351633746","filename":"file1"},{"photo_id":"1351633678","filename":"file0"},{"photo_id":"1351633802","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351633802":["hashtag1","hashtag2"]},{"1351633678":["hashtag1","hashtag2"]},{"1351633887":["hashtag1","hashtag2"]},{"1351633845":["hashtag1","hashtag2"]},{"1351633746":["hashtag1","hashtag2"]},{"1351633778":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351633802, 1351633678, 1351633887, 1351633845, 1351633746, 1351633778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.550899028778076 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 12:30:32.275314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/10/21/image_11042025_10_21_56_10478.jpg', '/home/pi/Desktop/images/11042025/10/21/image_11042025_10_22_06_10378.jpg', '/home/pi/Desktop/images/11042025/10/22/image_11042025_10_22_16_9407.jpg', '/home/pi/Desktop/images/11042025/10/22/image_11042025_10_22_26_10411.jpg', '/home/pi/Desktop/images/11042025/10/22/image_11042025_10_22_35_9353.jpg', '/home/pi/Desktop/images/11042025/10/22/image_11042025_10_23_05_9345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/10/21/image_11042025_10_21_56_10478.jpg
/home/pi/Desktop/images/11042025/10/21/image_11042025_10_22_06_10378.jpg
/home/pi/Desktop/images/11042025/10/22/image_11042025_10_22_16_9407.jpg
/home/pi/Desktop/images/11042025/10/22/image_11042025_10_22_26_10411.jpg
/home/pi/Desktop/images/11042025/10/22/image_11042025_10_22_35_9353.jpg
/home/pi/Desktop/images/11042025/10/22/image_11042025_10_23_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":["1351634713","1351634818","1351634853","1351634622","1351634450","1351634510"],"photo_ids_order":["1351634450","1351634510","1351634622","1351634713","1351634818","1351634853"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/323365225a4ac861ec31665d37585d37.jpg","text":"TemporaryFile(/tmp/multipartBody2278922654446368573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367492736,"filename":"image_11042025_10_22_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/11/11a3d9a5c569564454e35fd964c73319.jpg","text":"TemporaryFile(/tmp/multipartBody5095280976540267627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367492736,"filename":"image_11042025_10_22_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/11/1b3ff789472149e0e31c03b2146fa40d.jpg","text":"TemporaryFile(/tmp/multipartBody8458621812685986421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367492736,"filename":"image_11042025_10_23_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/11/f9e0e757f51f5d6df09216914ebbdc77.jpg","text":"TemporaryFile(/tmp/multipartBody3756994987628397231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367492736,"filename":"image_11042025_10_22_16_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3ad439d9e9ce4024678d0f858273e19f.jpg","text":"TemporaryFile(/tmp/multipartBody4118386309214011179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367492736,"filename":"image_11042025_10_21_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/11/853aea100b3ca36ae1912cfd88272a18.jpg","text":"TemporaryFile(/tmp/multipartBody7864090430693953176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367492736,"filename":"image_11042025_10_22_06_10378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351634622","file1":"1351634510","file0":"1351634450","file4":"1351634818","file5":"1351634853","file3":"1351634713"},"map_files_photo_id_array":[{"photo_id":"1351634853","filename":"file5"},{"photo_id":"1351634622","filename":"file2"},{"photo_id":"1351634818","filename":"file4"},{"photo_id":"1351634510","filename":"file1"},{"photo_id":"1351634450","filename":"file0"},{"photo_id":"1351634713","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351634713":["hashtag1","hashtag2"]},{"1351634818":["hashtag1","hashtag2"]},{"1351634853":["hashtag1","hashtag2"]},{"1351634622":["hashtag1","hashtag2"]},{"1351634450":["hashtag1","hashtag2"]},{"1351634510":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351634713, 1351634818, 1351634853, 1351634622, 1351634450, 1351634510)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.34309101104736 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 12:31:32.584854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/10/23/image_11042025_10_23_16_10362.jpg', '/home/pi/Desktop/images/11042025/10/23/image_11042025_10_23_26_10414.jpg', '/home/pi/Desktop/images/11042025/10/23/image_11042025_10_23_36_9349.jpg', '/home/pi/Desktop/images/11042025/10/23/image_11042025_10_23_46_10401.jpg', '/home/pi/Desktop/images/11042025/10/23/image_11042025_10_23_55_9395.jpg', '/home/pi/Desktop/images/11042025/10/23/image_11042025_10_24_06_10404.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/10/23/image_11042025_10_23_16_10362.jpg
/home/pi/Desktop/images/11042025/10/23/image_11042025_10_23_26_10414.jpg
/home/pi/Desktop/images/11042025/10/23/image_11042025_10_23_36_9349.jpg
/home/pi/Desktop/images/11042025/10/23/image_11042025_10_23_46_10401.jpg
/home/pi/Desktop/images/11042025/10/23/image_11042025_10_23_55_9395.jpg
/home/pi/Desktop/images/11042025/10/23/image_11042025_10_24_06_10404.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351635161","1351635224","1351635215","1351635193","1351635079","1351635118"],"photo_ids_order":["1351635079","1351635118","1351635161","1351635193","1351635215","1351635224"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2f55936d1c986167cd2fedb5373a509f.jpg","text":"TemporaryFile(/tmp/multipartBody5307027881460316500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367553041,"filename":"image_11042025_10_23_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/11/36f6ea8ec5e89342113ab341dbdb59b9.jpg","text":"TemporaryFile(/tmp/multipartBody8412739167711712572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367553041,"filename":"image_11042025_10_24_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/11/972dea045e420328ca48b652dad02437.jpg","text":"TemporaryFile(/tmp/multipartBody8615325397068108832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367553041,"filename":"image_11042025_10_23_55_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d410ae0cd5cf119e87e957c060a1d9f9.jpg","text":"TemporaryFile(/tmp/multipartBody684676316840220866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367553041,"filename":"image_11042025_10_23_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/11/c708f03aa4a04290073a52e4e85ba33d.jpg","text":"TemporaryFile(/tmp/multipartBody1217603225438974829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367553041,"filename":"image_11042025_10_23_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/11/9e14ca8174c6ea625d2fb6c9e5d16d72.jpg","text":"TemporaryFile(/tmp/multipartBody7236539459111706417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367553041,"filename":"image_11042025_10_23_26_10414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351635161","file1":"1351635118","file0":"1351635079","file4":"1351635215","file5":"1351635224","file3":"1351635193"},"map_files_photo_id_array":[{"photo_id":"1351635224","filename":"file5"},{"photo_id":"1351635161","filename":"file2"},{"photo_id":"1351635215","filename":"file4"},{"photo_id":"1351635118","filename":"file1"},{"photo_id":"1351635079","filename":"file0"},{"photo_id":"1351635193","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351635161":["hashtag1","hashtag2"]},{"1351635224":["hashtag1","hashtag2"]},{"1351635215":["hashtag1","hashtag2"]},{"1351635193":["hashtag1","hashtag2"]},{"1351635079":["hashtag1","hashtag2"]},{"1351635118":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351635161, 1351635224, 1351635215, 1351635193, 1351635079, 1351635118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.23144197463989 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 12:32:32.793179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/10/24/image_11042025_10_24_16_10351.jpg', '/home/pi/Desktop/images/11042025/10/24/image_11042025_10_24_25_9339.jpg', '/home/pi/Desktop/images/11042025/10/24/image_11042025_10_24_36_10432.jpg', '/home/pi/Desktop/images/11042025/10/24/image_11042025_10_24_46_9942.jpg', '/home/pi/Desktop/images/11042025/10/24/image_11042025_10_24_56_10373.jpg', '/home/pi/Desktop/images/11042025/10/24/image_11042025_10_25_06_9490.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/10/24/image_11042025_10_24_16_10351.jpg
/home/pi/Desktop/images/11042025/10/24/image_11042025_10_24_25_9339.jpg
/home/pi/Desktop/images/11042025/10/24/image_11042025_10_24_36_10432.jpg
/home/pi/Desktop/images/11042025/10/24/image_11042025_10_24_46_9942.jpg
/home/pi/Desktop/images/11042025/10/24/image_11042025_10_24_56_10373.jpg
/home/pi/Desktop/images/11042025/10/24/image_11042025_10_25_06_9490.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351635558","1351635630","1351635575","1351635655","1351635598","1351635535"],"photo_ids_order":["1351635535","1351635558","1351635575","1351635598","1351635630","1351635655"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3f35cd4c6bdb19454b91ea6e51c638c7.jpg","text":"TemporaryFile(/tmp/multipartBody5289872884074844800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367613242,"filename":"image_11042025_10_24_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/11/f35bfcbf6089dbda54f7c2634c6f126e.jpg","text":"TemporaryFile(/tmp/multipartBody7748571949272179537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367613242,"filename":"image_11042025_10_24_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/11/020b899d8079d6b68178b06d940c6875.jpg","text":"TemporaryFile(/tmp/multipartBody7809577131291992988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367613242,"filename":"image_11042025_10_24_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/11/841c0255cc82576afb5b120a9127a955.jpg","text":"TemporaryFile(/tmp/multipartBody5506581661721959281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367613242,"filename":"image_11042025_10_25_06_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/11/887fbf54d48809d4729b1f8b4193c038.jpg","text":"TemporaryFile(/tmp/multipartBody2210507317864370183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367613242,"filename":"image_11042025_10_24_46_9942.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/81dcd5ce2e1e7ecf69b2fe459cce939c.jpg","text":"TemporaryFile(/tmp/multipartBody3704829823101807681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367613242,"filename":"image_11042025_10_24_16_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351635575","file1":"1351635558","file0":"1351635535","file4":"1351635630","file5":"1351635655","file3":"1351635598"},"map_files_photo_id_array":[{"photo_id":"1351635655","filename":"file5"},{"photo_id":"1351635575","filename":"file2"},{"photo_id":"1351635630","filename":"file4"},{"photo_id":"1351635558","filename":"file1"},{"photo_id":"1351635535","filename":"file0"},{"photo_id":"1351635598","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351635558":["hashtag1","hashtag2"]},{"1351635630":["hashtag1","hashtag2"]},{"1351635575":["hashtag1","hashtag2"]},{"1351635655":["hashtag1","hashtag2"]},{"1351635598":["hashtag1","hashtag2"]},{"1351635535":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351635558, 1351635630, 1351635575, 1351635655, 1351635598, 1351635535)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.573795795440674 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 12:33:32.944650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/10/25/image_11042025_10_25_16_10380.jpg', '/home/pi/Desktop/images/11042025/10/25/image_11042025_10_25_26_9411.jpg', '/home/pi/Desktop/images/11042025/10/25/image_11042025_10_25_36_10368.jpg', '/home/pi/Desktop/images/11042025/10/25/image_11042025_10_25_45_9386.jpg', '/home/pi/Desktop/images/11042025/10/25/image_11042025_10_25_56_10337.jpg', '/home/pi/Desktop/images/11042025/10/25/image_11042025_10_26_06_10423.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/10/25/image_11042025_10_25_16_10380.jpg
/home/pi/Desktop/images/11042025/10/25/image_11042025_10_25_26_9411.jpg
/home/pi/Desktop/images/11042025/10/25/image_11042025_10_25_36_10368.jpg
/home/pi/Desktop/images/11042025/10/25/image_11042025_10_25_45_9386.jpg
/home/pi/Desktop/images/11042025/10/25/image_11042025_10_25_56_10337.jpg
/home/pi/Desktop/images/11042025/10/25/image_11042025_10_26_06_10423.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351636167","1351636233","1351636097","1351636342","1351636045","1351635993"],"photo_ids_order":["1351635993","1351636045","1351636097","1351636167","1351636233","1351636342"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/919081f5de703dd9b338e3ec6ca494c6.jpg","text":"TemporaryFile(/tmp/multipartBody7507642346702965166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367673394,"filename":"image_11042025_10_25_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/11/5b8cf1037c8c4558086a88b1c0c9a0eb.jpg","text":"TemporaryFile(/tmp/multipartBody5823943558553319497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367673394,"filename":"image_11042025_10_25_56_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/aa802b4763fd186412ba372bf49a77fe.jpg","text":"TemporaryFile(/tmp/multipartBody1825516271194437938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367673394,"filename":"image_11042025_10_25_36_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c7fc73f851485a1c00b5602db36d5b7f.jpg","text":"TemporaryFile(/tmp/multipartBody337626923675468561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367673394,"filename":"image_11042025_10_26_06_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ff23b9eee9e75aa1aed5457cf63047c3.jpg","text":"TemporaryFile(/tmp/multipartBody3125438985289566539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367673394,"filename":"image_11042025_10_25_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/11/0c3bfa671039fdd5f3b7f460d42e9b94.jpg","text":"TemporaryFile(/tmp/multipartBody5939195839314210191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367673394,"filename":"image_11042025_10_25_16_10380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351636097","file1":"1351636045","file0":"1351635993","file4":"1351636233","file5":"1351636342","file3":"1351636167"},"map_files_photo_id_array":[{"photo_id":"1351636342","filename":"file5"},{"photo_id":"1351636097","filename":"file2"},{"photo_id":"1351636233","filename":"file4"},{"photo_id":"1351636045","filename":"file1"},{"photo_id":"1351635993","filename":"file0"},{"photo_id":"1351636167","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351636167":["hashtag1","hashtag2"]},{"1351636233":["hashtag1","hashtag2"]},{"1351636097":["hashtag1","hashtag2"]},{"1351636342":["hashtag1","hashtag2"]},{"1351636045":["hashtag1","hashtag2"]},{"1351635993":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351636167, 1351636233, 1351636097, 1351636342, 1351636045, 1351635993)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.26677918434143 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 12:34:32.313458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/10/26/image_11042025_10_26_15_9367.jpg', '/home/pi/Desktop/images/11042025/10/26/image_11042025_10_26_26_10396.jpg', '/home/pi/Desktop/images/11042025/10/26/image_11042025_10_26_36_10405.jpg', '/home/pi/Desktop/images/11042025/10/26/image_11042025_10_26_46_9349.jpg', '/home/pi/Desktop/images/11042025/10/26/image_11042025_10_26_56_10420.jpg', '/home/pi/Desktop/images/11042025/10/26/image_11042025_10_27_05_9347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/10/26/image_11042025_10_26_15_9367.jpg
/home/pi/Desktop/images/11042025/10/26/image_11042025_10_26_26_10396.jpg
/home/pi/Desktop/images/11042025/10/26/image_11042025_10_26_36_10405.jpg
/home/pi/Desktop/images/11042025/10/26/image_11042025_10_26_46_9349.jpg
/home/pi/Desktop/images/11042025/10/26/image_11042025_10_26_56_10420.jpg
/home/pi/Desktop/images/11042025/10/26/image_11042025_10_27_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":["1351637016","1351636848","1351636707","1351636760","1351636894","1351636924"],"photo_ids_order":["1351636707","1351636760","1351636848","1351636894","1351636924","1351637016"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1f5d277f26bf544c7ac05b3414d22184.jpg","text":"TemporaryFile(/tmp/multipartBody5346691040784768879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367732769,"filename":"image_11042025_10_27_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/11/c3527cd51bb220817b1b5ab601dd75e2.jpg","text":"TemporaryFile(/tmp/multipartBody1057765127478392318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367732769,"filename":"image_11042025_10_26_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/11/b5bc4bf94ce1c13485ea216bf498c05b.jpg","text":"TemporaryFile(/tmp/multipartBody676694046211460548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367732769,"filename":"image_11042025_10_26_15_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e61a8710c65e36be4a4bb459695f72ff.jpg","text":"TemporaryFile(/tmp/multipartBody4872988788828889456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367732769,"filename":"image_11042025_10_26_26_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2254a6ec2ba2e29581413541498ae8b2.jpg","text":"TemporaryFile(/tmp/multipartBody4604687526690357222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367732769,"filename":"image_11042025_10_26_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/11/e71a4d1b9bccbfccc8b8e5874175c829.jpg","text":"TemporaryFile(/tmp/multipartBody6620719049029872342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367732769,"filename":"image_11042025_10_26_56_10420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351636848","file1":"1351636760","file0":"1351636707","file4":"1351636924","file5":"1351637016","file3":"1351636894"},"map_files_photo_id_array":[{"photo_id":"1351637016","filename":"file5"},{"photo_id":"1351636848","filename":"file2"},{"photo_id":"1351636924","filename":"file4"},{"photo_id":"1351636760","filename":"file1"},{"photo_id":"1351636707","filename":"file0"},{"photo_id":"1351636894","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351637016":["hashtag1","hashtag2"]},{"1351636848":["hashtag1","hashtag2"]},{"1351636707":["hashtag1","hashtag2"]},{"1351636760":["hashtag1","hashtag2"]},{"1351636894":["hashtag1","hashtag2"]},{"1351636924":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351637016, 1351636848, 1351636707, 1351636760, 1351636894, 1351636924)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.69851565361023 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 12:35:32.505174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/10/27/image_11042025_10_27_16_10422.jpg', '/home/pi/Desktop/images/11042025/10/27/image_11042025_10_27_26_10421.jpg', '/home/pi/Desktop/images/11042025/10/27/image_11042025_10_27_36_9357.jpg', '/home/pi/Desktop/images/11042025/10/27/image_11042025_10_27_46_10431.jpg', '/home/pi/Desktop/images/11042025/10/27/image_11042025_10_27_55_9367.jpg', '/home/pi/Desktop/images/11042025/10/27/image_11042025_10_28_06_10436.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/10/27/image_11042025_10_27_16_10422.jpg
/home/pi/Desktop/images/11042025/10/27/image_11042025_10_27_26_10421.jpg
/home/pi/Desktop/images/11042025/10/27/image_11042025_10_27_36_9357.jpg
/home/pi/Desktop/images/11042025/10/27/image_11042025_10_27_46_10431.jpg
/home/pi/Desktop/images/11042025/10/27/image_11042025_10_27_55_9367.jpg
/home/pi/Desktop/images/11042025/10/27/image_11042025_10_28_06_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":["1351637505","1351637406","1351637375","1351637552","1351637447","1351637300"],"photo_ids_order":["1351637300","1351637375","1351637406","1351637447","1351637505","1351637552"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/081a53cb084e277c09a291f0204a0400.jpg","text":"TemporaryFile(/tmp/multipartBody104414744245261307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367792969,"filename":"image_11042025_10_27_55_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/63dc60138a2b1bb0b0f737e85645ebf4.jpg","text":"TemporaryFile(/tmp/multipartBody6906117484485978681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367792969,"filename":"image_11042025_10_27_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/11/4fa8279d58c71d1a14f677d98d13e59b.jpg","text":"TemporaryFile(/tmp/multipartBody2341064412191351315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367792969,"filename":"image_11042025_10_27_26_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/238c2a6f62faa35649e17e7421e1f9e8.jpg","text":"TemporaryFile(/tmp/multipartBody2710826852323407382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367792969,"filename":"image_11042025_10_28_06_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/aefca929f587a267fa5cf96f40ae227c.jpg","text":"TemporaryFile(/tmp/multipartBody8258185562292144616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367792969,"filename":"image_11042025_10_27_46_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/96922c919fb1a9624ff11c6bd7126495.jpg","text":"TemporaryFile(/tmp/multipartBody8210687374073221793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367792969,"filename":"image_11042025_10_27_16_10422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351637406","file1":"1351637375","file0":"1351637300","file4":"1351637505","file5":"1351637552","file3":"1351637447"},"map_files_photo_id_array":[{"photo_id":"1351637552","filename":"file5"},{"photo_id":"1351637406","filename":"file2"},{"photo_id":"1351637505","filename":"file4"},{"photo_id":"1351637375","filename":"file1"},{"photo_id":"1351637300","filename":"file0"},{"photo_id":"1351637447","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351637505":["hashtag1","hashtag2"]},{"1351637406":["hashtag1","hashtag2"]},{"1351637375":["hashtag1","hashtag2"]},{"1351637552":["hashtag1","hashtag2"]},{"1351637447":["hashtag1","hashtag2"]},{"1351637300":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351637505, 1351637406, 1351637375, 1351637552, 1351637447, 1351637300)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.76204299926758 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 12:36:32.961018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/10/28/image_11042025_10_28_16_10353.jpg', '/home/pi/Desktop/images/11042025/10/28/image_11042025_10_28_25_9358.jpg', '/home/pi/Desktop/images/11042025/10/28/image_11042025_10_28_36_10367.jpg', '/home/pi/Desktop/images/11042025/10/28/image_11042025_10_28_46_10359.jpg', '/home/pi/Desktop/images/11042025/10/28/image_11042025_10_28_56_9554.jpg', '/home/pi/Desktop/images/11042025/10/28/image_11042025_10_29_06_10355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/10/28/image_11042025_10_28_16_10353.jpg
/home/pi/Desktop/images/11042025/10/28/image_11042025_10_28_25_9358.jpg
/home/pi/Desktop/images/11042025/10/28/image_11042025_10_28_36_10367.jpg
/home/pi/Desktop/images/11042025/10/28/image_11042025_10_28_46_10359.jpg
/home/pi/Desktop/images/11042025/10/28/image_11042025_10_28_56_9554.jpg
/home/pi/Desktop/images/11042025/10/28/image_11042025_10_29_06_10355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351637990","1351638035","1351638232","1351637937","1351638155","1351638083"],"photo_ids_order":["1351637937","1351637990","1351638035","1351638083","1351638155","1351638232"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/de7ded6a26f79be0d900eaba36cb83ce.jpg","text":"TemporaryFile(/tmp/multipartBody1568875567401462614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367853432,"filename":"image_11042025_10_28_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/11/33cce82c0e313fb79233431a0c277029.jpg","text":"TemporaryFile(/tmp/multipartBody7499141452781465187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367853432,"filename":"image_11042025_10_28_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/11/6b7d542016696ff90b694773f2ce3436.jpg","text":"TemporaryFile(/tmp/multipartBody572725500598837739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367853432,"filename":"image_11042025_10_29_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/11/df9afdacd147773c6d745234e825a641.jpg","text":"TemporaryFile(/tmp/multipartBody7870182797607457739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367853432,"filename":"image_11042025_10_28_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/11/f746c43ec71de30fba3266cddc76649e.jpg","text":"TemporaryFile(/tmp/multipartBody6444323463030907938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367853432,"filename":"image_11042025_10_28_56_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/11/f727cfca02ad499fdd4c6fff927e5f15.jpg","text":"TemporaryFile(/tmp/multipartBody8399214777157026090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367853432,"filename":"image_11042025_10_28_46_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351638035","file1":"1351637990","file0":"1351637937","file4":"1351638155","file5":"1351638232","file3":"1351638083"},"map_files_photo_id_array":[{"photo_id":"1351638232","filename":"file5"},{"photo_id":"1351638035","filename":"file2"},{"photo_id":"1351638155","filename":"file4"},{"photo_id":"1351637990","filename":"file1"},{"photo_id":"1351637937","filename":"file0"},{"photo_id":"1351638083","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351637990":["hashtag1","hashtag2"]},{"1351638035":["hashtag1","hashtag2"]},{"1351638232":["hashtag1","hashtag2"]},{"1351637937":["hashtag1","hashtag2"]},{"1351638155":["hashtag1","hashtag2"]},{"1351638083":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351637990, 1351638035, 1351638232, 1351637937, 1351638155, 1351638083)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.716015577316284 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 12:37:33.027010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/10/29/image_11042025_10_29_16_9412.jpg', '/home/pi/Desktop/images/11042025/10/29/image_11042025_10_29_26_10356.jpg', '/home/pi/Desktop/images/11042025/10/29/image_11042025_10_29_36_10358.jpg', '/home/pi/Desktop/images/11042025/10/29/image_11042025_10_29_46_9336.jpg', '/home/pi/Desktop/images/11042025/10/29/image_11042025_10_29_56_10354.jpg', '/home/pi/Desktop/images/11042025/10/30/image_11042025_10_30_16_10464.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/10/29/image_11042025_10_29_16_9412.jpg
/home/pi/Desktop/images/11042025/10/29/image_11042025_10_29_26_10356.jpg
/home/pi/Desktop/images/11042025/10/29/image_11042025_10_29_36_10358.jpg
/home/pi/Desktop/images/11042025/10/29/image_11042025_10_29_46_9336.jpg
/home/pi/Desktop/images/11042025/10/29/image_11042025_10_29_56_10354.jpg
/home/pi/Desktop/images/11042025/10/30/image_11042025_10_30_16_10464.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351638727","1351638990","1351638810","1351638860","1351639238","1351639096"],"photo_ids_order":["1351638727","1351638810","1351638860","1351638990","1351639096","1351639238"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/17988276708add9dee5e0d5efba27385.jpg","text":"TemporaryFile(/tmp/multipartBody7924549471935925049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367913503,"filename":"image_11042025_10_29_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/11/3a89b842cffe1f20b5882f07e644bb00.jpg","text":"TemporaryFile(/tmp/multipartBody2249470207928959378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367913503,"filename":"image_11042025_10_29_46_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a334dec84822e3261c8ce8d78f511908.jpg","text":"TemporaryFile(/tmp/multipartBody1260152943605915409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367913503,"filename":"image_11042025_10_29_26_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ef4f98d553a784872ec1f69bf28ec666.jpg","text":"TemporaryFile(/tmp/multipartBody4511921616791899187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367913503,"filename":"image_11042025_10_29_36_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d6e0fd2022fd6629ea505bcbb43f6180.jpg","text":"TemporaryFile(/tmp/multipartBody5729261260464434281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367913503,"filename":"image_11042025_10_30_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/11/3cd3cf215bd01fec27853bd44bfd7492.jpg","text":"TemporaryFile(/tmp/multipartBody2010214690722897894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367913503,"filename":"image_11042025_10_29_56_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351638860","file1":"1351638810","file0":"1351638727","file4":"1351639096","file5":"1351639238","file3":"1351638990"},"map_files_photo_id_array":[{"photo_id":"1351639238","filename":"file5"},{"photo_id":"1351638860","filename":"file2"},{"photo_id":"1351639096","filename":"file4"},{"photo_id":"1351638810","filename":"file1"},{"photo_id":"1351638727","filename":"file0"},{"photo_id":"1351638990","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351638727":["hashtag1","hashtag2"]},{"1351638990":["hashtag1","hashtag2"]},{"1351638810":["hashtag1","hashtag2"]},{"1351638860":["hashtag1","hashtag2"]},{"1351639238":["hashtag1","hashtag2"]},{"1351639096":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351638727, 1351638990, 1351638810, 1351638860, 1351639238, 1351639096)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.57789969444275 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 12:38:32.218812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/10/30/image_11042025_10_30_26_10353.jpg', '/home/pi/Desktop/images/11042025/10/31/image_11042025_10_31_16_10410.jpg', '/home/pi/Desktop/images/11042025/10/31/image_11042025_10_31_25_9361.jpg', '/home/pi/Desktop/images/11042025/10/31/image_11042025_10_31_36_10405.jpg', '/home/pi/Desktop/images/11042025/10/31/image_11042025_10_31_46_10360.jpg', '/home/pi/Desktop/images/11042025/10/31/image_11042025_10_31_56_9350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/10/30/image_11042025_10_30_26_10353.jpg
/home/pi/Desktop/images/11042025/10/31/image_11042025_10_31_16_10410.jpg
/home/pi/Desktop/images/11042025/10/31/image_11042025_10_31_25_9361.jpg
/home/pi/Desktop/images/11042025/10/31/image_11042025_10_31_36_10405.jpg
/home/pi/Desktop/images/11042025/10/31/image_11042025_10_31_46_10360.jpg
/home/pi/Desktop/images/11042025/10/31/image_11042025_10_31_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":["1351640417","1351640218","1351640751","1351640733","1351640301","1351640654"],"photo_ids_order":["1351640218","1351640301","1351640417","1351640654","1351640733","1351640751"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5bd5f902123520c2a4297cb99707cfc5.jpg","text":"TemporaryFile(/tmp/multipartBody3866117503509912459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367972673,"filename":"image_11042025_10_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/11/e09fb52e1dacd892c43cf0f4fd8fe8b0.jpg","text":"TemporaryFile(/tmp/multipartBody703259521655433081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367972673,"filename":"image_11042025_10_30_26_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e2c120504f7257eececc042c45964324.jpg","text":"TemporaryFile(/tmp/multipartBody3526795766268493746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367972673,"filename":"image_11042025_10_31_56_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d97016654fcf3125e5b485e9d95c4397.jpg","text":"TemporaryFile(/tmp/multipartBody375826980510657012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367972673,"filename":"image_11042025_10_31_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/11/8e4b58276088bf06d1c9fc41f123bcd3.jpg","text":"TemporaryFile(/tmp/multipartBody6769092331541334384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367972673,"filename":"image_11042025_10_31_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/11/313285d0fdee5c11f3b768bfdaec4f10.jpg","text":"TemporaryFile(/tmp/multipartBody2267336265975195167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744367972673,"filename":"image_11042025_10_31_36_10405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351640417","file1":"1351640301","file0":"1351640218","file4":"1351640733","file5":"1351640751","file3":"1351640654"},"map_files_photo_id_array":[{"photo_id":"1351640751","filename":"file5"},{"photo_id":"1351640417","filename":"file2"},{"photo_id":"1351640733","filename":"file4"},{"photo_id":"1351640301","filename":"file1"},{"photo_id":"1351640218","filename":"file0"},{"photo_id":"1351640654","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351640417":["hashtag1","hashtag2"]},{"1351640218":["hashtag1","hashtag2"]},{"1351640751":["hashtag1","hashtag2"]},{"1351640733":["hashtag1","hashtag2"]},{"1351640301":["hashtag1","hashtag2"]},{"1351640654":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351640417, 1351640218, 1351640751, 1351640733, 1351640301, 1351640654)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.53095316886902 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 12:39:32.457285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/10/31/image_11042025_10_32_06_10341.jpg', '/home/pi/Desktop/images/11042025/10/32/image_11042025_10_32_16_10346.jpg', '/home/pi/Desktop/images/11042025/10/32/image_11042025_10_32_26_9376.jpg', '/home/pi/Desktop/images/11042025/10/32/image_11042025_10_32_36_10390.jpg', '/home/pi/Desktop/images/11042025/10/32/image_11042025_10_32_46_9813.jpg', '/home/pi/Desktop/images/11042025/10/32/image_11042025_10_32_56_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/10/31/image_11042025_10_32_06_10341.jpg
/home/pi/Desktop/images/11042025/10/32/image_11042025_10_32_16_10346.jpg
/home/pi/Desktop/images/11042025/10/32/image_11042025_10_32_26_9376.jpg
/home/pi/Desktop/images/11042025/10/32/image_11042025_10_32_36_10390.jpg
/home/pi/Desktop/images/11042025/10/32/image_11042025_10_32_46_9813.jpg
/home/pi/Desktop/images/11042025/10/32/image_11042025_10_32_56_10367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351641633","1351641519","1351641447","1351641249","1351641575","1351641362"],"photo_ids_order":["1351641249","1351641362","1351641447","1351641519","1351641575","1351641633"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/777045b6a2a61ef02605d587d0813644.jpg","text":"TemporaryFile(/tmp/multipartBody7035731522267003639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368032929,"filename":"image_11042025_10_32_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/11/de0f056429034947dea863ab7d7da0c5.jpg","text":"TemporaryFile(/tmp/multipartBody6953798335004572695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368032929,"filename":"image_11042025_10_32_36_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/94d9e0476aaa6016cefe1f2d1078bf15.jpg","text":"TemporaryFile(/tmp/multipartBody3788033619817398654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368032929,"filename":"image_11042025_10_32_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/11/48760e0d3c47f8fe094d592625056cd2.jpg","text":"TemporaryFile(/tmp/multipartBody8816330662881644248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368032929,"filename":"image_11042025_10_32_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/11/573fc4d3c171ed19903cf65a85b289d7.jpg","text":"TemporaryFile(/tmp/multipartBody1003907738872365793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368032929,"filename":"image_11042025_10_32_46_9813.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/05b2b991a61d94d062ca4685d4fc42ae.jpg","text":"TemporaryFile(/tmp/multipartBody3990431238978554943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368032929,"filename":"image_11042025_10_32_16_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351641447","file1":"1351641362","file0":"1351641249","file4":"1351641575","file5":"1351641633","file3":"1351641519"},"map_files_photo_id_array":[{"photo_id":"1351641633","filename":"file5"},{"photo_id":"1351641447","filename":"file2"},{"photo_id":"1351641575","filename":"file4"},{"photo_id":"1351641362","filename":"file1"},{"photo_id":"1351641249","filename":"file0"},{"photo_id":"1351641519","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351641633":["hashtag1","hashtag2"]},{"1351641519":["hashtag1","hashtag2"]},{"1351641447":["hashtag1","hashtag2"]},{"1351641249":["hashtag1","hashtag2"]},{"1351641575":["hashtag1","hashtag2"]},{"1351641362":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351641633, 1351641519, 1351641447, 1351641249, 1351641575, 1351641362)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.56556963920593 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 12:40:32.672141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/10/32/image_11042025_10_33_06_9367.jpg', '/home/pi/Desktop/images/11042025/10/33/image_11042025_10_33_16_10363.jpg', '/home/pi/Desktop/images/11042025/10/33/image_11042025_10_33_26_10362.jpg', '/home/pi/Desktop/images/11042025/10/33/image_11042025_10_33_46_10419.jpg', '/home/pi/Desktop/images/11042025/10/33/image_11042025_10_33_55_9369.jpg', '/home/pi/Desktop/images/11042025/10/33/image_11042025_10_34_06_10427.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/10/32/image_11042025_10_33_06_9367.jpg
/home/pi/Desktop/images/11042025/10/33/image_11042025_10_33_16_10363.jpg
/home/pi/Desktop/images/11042025/10/33/image_11042025_10_33_26_10362.jpg
/home/pi/Desktop/images/11042025/10/33/image_11042025_10_33_46_10419.jpg
/home/pi/Desktop/images/11042025/10/33/image_11042025_10_33_55_9369.jpg
/home/pi/Desktop/images/11042025/10/33/image_11042025_10_34_06_10427.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":["1351642167","1351642197","1351641993","1351642094","1351641860","1351641947"],"photo_ids_order":["1351641860","1351641947","1351641993","1351642094","1351642167","1351642197"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0fa78d4579e546c4a5ad93eaa3ed7fa7.jpg","text":"TemporaryFile(/tmp/multipartBody8316004195618383928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368093127,"filename":"image_11042025_10_33_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/11/62510164a66d006f970baaf63d3fa2f1.jpg","text":"TemporaryFile(/tmp/multipartBody4292425554031019023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368093127,"filename":"image_11042025_10_34_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/11/7cd9f85639ea7d9894be82732743e284.jpg","text":"TemporaryFile(/tmp/multipartBody4801808005432392604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368093127,"filename":"image_11042025_10_33_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/11/f335f7a6d33d8dca87de65bf3d1d2829.jpg","text":"TemporaryFile(/tmp/multipartBody3634125370951252818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368093127,"filename":"image_11042025_10_33_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/11/bf60d4f343f241397078f48484657ed1.jpg","text":"TemporaryFile(/tmp/multipartBody5453075158577807242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368093127,"filename":"image_11042025_10_33_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/11/854c3f5ec8f51895bf58e99a28f43c8b.jpg","text":"TemporaryFile(/tmp/multipartBody8345149698389417359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368093127,"filename":"image_11042025_10_33_16_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351641993","file1":"1351641947","file0":"1351641860","file4":"1351642167","file5":"1351642197","file3":"1351642094"},"map_files_photo_id_array":[{"photo_id":"1351642197","filename":"file5"},{"photo_id":"1351641993","filename":"file2"},{"photo_id":"1351642167","filename":"file4"},{"photo_id":"1351641947","filename":"file1"},{"photo_id":"1351641860","filename":"file0"},{"photo_id":"1351642094","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351642167":["hashtag1","hashtag2"]},{"1351642197":["hashtag1","hashtag2"]},{"1351641993":["hashtag1","hashtag2"]},{"1351642094":["hashtag1","hashtag2"]},{"1351641860":["hashtag1","hashtag2"]},{"1351641947":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351642167, 1351642197, 1351641993, 1351642094, 1351641860, 1351641947)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.13686394691467 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 12:41:42.819227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/10/34/image_11042025_10_34_16_10406.jpg', '/home/pi/Desktop/images/11042025/10/34/image_11042025_10_34_56_10441.jpg', '/home/pi/Desktop/images/11042025/10/34/image_11042025_10_35_06_10352.jpg', '/home/pi/Desktop/images/11042025/10/35/image_11042025_10_35_15_9328.jpg', '/home/pi/Desktop/images/11042025/10/35/image_11042025_10_35_26_10358.jpg', '/home/pi/Desktop/images/11042025/10/35/image_11042025_10_35_36_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/10/34/image_11042025_10_34_16_10406.jpg
/home/pi/Desktop/images/11042025/10/34/image_11042025_10_34_56_10441.jpg
/home/pi/Desktop/images/11042025/10/34/image_11042025_10_35_06_10352.jpg
/home/pi/Desktop/images/11042025/10/35/image_11042025_10_35_15_9328.jpg
/home/pi/Desktop/images/11042025/10/35/image_11042025_10_35_26_10358.jpg
/home/pi/Desktop/images/11042025/10/35/image_11042025_10_35_36_10358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351642603","1351642804","1351642452","1351642674","1351642755","1351642784"],"photo_ids_order":["1351642452","1351642603","1351642674","1351642755","1351642784","1351642804"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5b18ec92875442fa2810f9912002e2d7.jpg","text":"TemporaryFile(/tmp/multipartBody451785863236189313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368163274,"filename":"image_11042025_10_34_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/11/bd4aa4669e9fbd161116626139850f4b.jpg","text":"TemporaryFile(/tmp/multipartBody2489500841510573473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368163274,"filename":"image_11042025_10_35_36_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5e04d413d7890317d36558df75bbd5bc.jpg","text":"TemporaryFile(/tmp/multipartBody7622406866138437738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368163274,"filename":"image_11042025_10_34_16_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b5d5ba9bb5d770d298b0f62641fc6fb1.jpg","text":"TemporaryFile(/tmp/multipartBody1887638645939677567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368163274,"filename":"image_11042025_10_35_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/11/520081cc104c8f4e4a07bb8172cf0d37.jpg","text":"TemporaryFile(/tmp/multipartBody4804484739885458430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368163274,"filename":"image_11042025_10_35_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/11/bc4467a93b8631016b050e467d955bdb.jpg","text":"TemporaryFile(/tmp/multipartBody2373229093980515667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368163274,"filename":"image_11042025_10_35_26_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351642674","file1":"1351642603","file0":"1351642452","file4":"1351642784","file5":"1351642804","file3":"1351642755"},"map_files_photo_id_array":[{"photo_id":"1351642804","filename":"file5"},{"photo_id":"1351642674","filename":"file2"},{"photo_id":"1351642784","filename":"file4"},{"photo_id":"1351642603","filename":"file1"},{"photo_id":"1351642452","filename":"file0"},{"photo_id":"1351642755","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351642603":["hashtag1","hashtag2"]},{"1351642804":["hashtag1","hashtag2"]},{"1351642452":["hashtag1","hashtag2"]},{"1351642674":["hashtag1","hashtag2"]},{"1351642755":["hashtag1","hashtag2"]},{"1351642784":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351642603, 1351642804, 1351642452, 1351642674, 1351642755, 1351642784)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.30630612373352 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 12:42:33.181169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/10/35/image_11042025_10_35_45_9346.jpg', '/home/pi/Desktop/images/11042025/10/35/image_11042025_10_35_56_10368.jpg', '/home/pi/Desktop/images/11042025/10/35/image_11042025_10_36_06_10360.jpg', '/home/pi/Desktop/images/11042025/10/36/image_11042025_10_36_16_9352.jpg', '/home/pi/Desktop/images/11042025/10/36/image_11042025_10_36_26_10382.jpg', '/home/pi/Desktop/images/11042025/10/36/image_11042025_10_36_35_9393.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/10/35/image_11042025_10_35_45_9346.jpg
/home/pi/Desktop/images/11042025/10/35/image_11042025_10_35_56_10368.jpg
/home/pi/Desktop/images/11042025/10/35/image_11042025_10_36_06_10360.jpg
/home/pi/Desktop/images/11042025/10/36/image_11042025_10_36_16_9352.jpg
/home/pi/Desktop/images/11042025/10/36/image_11042025_10_36_26_10382.jpg
/home/pi/Desktop/images/11042025/10/36/image_11042025_10_36_35_9393.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351642965","1351643084","1351643093","1351643062","1351643026","1351643097"],"photo_ids_order":["1351642965","1351643026","1351643062","1351643084","1351643093","1351643097"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3c5ef2ffa46eb3634499445b8cb35a6f.jpg","text":"TemporaryFile(/tmp/multipartBody7839721262394407118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368213820,"filename":"image_11042025_10_35_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/11/4f98fa1f245472a08233f2a7cd6bee12.jpg","text":"TemporaryFile(/tmp/multipartBody4277784106514156437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368213820,"filename":"image_11042025_10_36_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/11/cf7e59a92cfbb055e324b81bc8254cd6.jpg","text":"TemporaryFile(/tmp/multipartBody1234604134489724756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368213820,"filename":"image_11042025_10_36_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/11/64f74e0d7d77b9c253f0386f34a2e2b6.jpg","text":"TemporaryFile(/tmp/multipartBody2328402269123867272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368213820,"filename":"image_11042025_10_36_06_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/81872108a0e529bd1adfef86453b65fc.jpg","text":"TemporaryFile(/tmp/multipartBody6237128480304040136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368213820,"filename":"image_11042025_10_35_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/11/843b1b99283c8350656f7094fea271ee.jpg","text":"TemporaryFile(/tmp/multipartBody6851900062754886686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368213820,"filename":"image_11042025_10_36_35_9393.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351643062","file1":"1351643026","file0":"1351642965","file4":"1351643093","file5":"1351643097","file3":"1351643084"},"map_files_photo_id_array":[{"photo_id":"1351643097","filename":"file5"},{"photo_id":"1351643062","filename":"file2"},{"photo_id":"1351643093","filename":"file4"},{"photo_id":"1351643026","filename":"file1"},{"photo_id":"1351642965","filename":"file0"},{"photo_id":"1351643084","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351642965":["hashtag1","hashtag2"]},{"1351643084":["hashtag1","hashtag2"]},{"1351643093":["hashtag1","hashtag2"]},{"1351643062":["hashtag1","hashtag2"]},{"1351643026":["hashtag1","hashtag2"]},{"1351643097":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351642965, 1351643084, 1351643093, 1351643062, 1351643026, 1351643097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.290191650390625 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 12:43:32.425409
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/10/36/image_11042025_10_36_46_10405.jpg', '/home/pi/Desktop/images/11042025/10/36/image_11042025_10_36_56_10379.jpg', '/home/pi/Desktop/images/11042025/10/36/image_11042025_10_37_05_9336.jpg', '/home/pi/Desktop/images/11042025/10/37/image_11042025_10_37_16_10406.jpg', '/home/pi/Desktop/images/11042025/10/37/image_11042025_10_37_26_10355.jpg', '/home/pi/Desktop/images/11042025/10/37/image_11042025_10_37_36_9388.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/10/36/image_11042025_10_36_46_10405.jpg
/home/pi/Desktop/images/11042025/10/36/image_11042025_10_36_56_10379.jpg
/home/pi/Desktop/images/11042025/10/36/image_11042025_10_37_05_9336.jpg
/home/pi/Desktop/images/11042025/10/37/image_11042025_10_37_16_10406.jpg
/home/pi/Desktop/images/11042025/10/37/image_11042025_10_37_26_10355.jpg
/home/pi/Desktop/images/11042025/10/37/image_11042025_10_37_36_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":["1351643217","1351643486","1351643300","1351643347","1351643269","1351643239"],"photo_ids_order":["1351643217","1351643239","1351643269","1351643300","1351643347","1351643486"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/987497a313be5b74140baaf4bcca5c6e.jpg","text":"TemporaryFile(/tmp/multipartBody8316147544999599673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368272895,"filename":"image_11042025_10_36_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/11/c15e43ad68f506a5227b280f84760b70.jpg","text":"TemporaryFile(/tmp/multipartBody9049346462160136838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368272895,"filename":"image_11042025_10_37_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/11/a3252626696ba62a1dfcc622affef987.jpg","text":"TemporaryFile(/tmp/multipartBody7196390670932796757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368272895,"filename":"image_11042025_10_37_16_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a38945bf5026796aa7e742c7e3eda43a.jpg","text":"TemporaryFile(/tmp/multipartBody4799203945773640306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368272895,"filename":"image_11042025_10_37_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/11/352c9e6f721c9a7cc77f8e0cac96feca.jpg","text":"TemporaryFile(/tmp/multipartBody7402708820934130795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368272895,"filename":"image_11042025_10_37_05_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/58eae3129466be4df03506061a993f43.jpg","text":"TemporaryFile(/tmp/multipartBody4263372963377616392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368272895,"filename":"image_11042025_10_36_56_10379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351643269","file1":"1351643239","file0":"1351643217","file4":"1351643347","file5":"1351643486","file3":"1351643300"},"map_files_photo_id_array":[{"photo_id":"1351643486","filename":"file5"},{"photo_id":"1351643269","filename":"file2"},{"photo_id":"1351643347","filename":"file4"},{"photo_id":"1351643239","filename":"file1"},{"photo_id":"1351643217","filename":"file0"},{"photo_id":"1351643300","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351643217":["hashtag1","hashtag2"]},{"1351643486":["hashtag1","hashtag2"]},{"1351643300":["hashtag1","hashtag2"]},{"1351643347":["hashtag1","hashtag2"]},{"1351643269":["hashtag1","hashtag2"]},{"1351643239":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351643217, 1351643486, 1351643300, 1351643347, 1351643269, 1351643239)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.31289839744568 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 12:44:32.557790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/10/37/image_11042025_10_37_46_10440.jpg', '/home/pi/Desktop/images/11042025/10/37/image_11042025_10_37_55_9344.jpg', '/home/pi/Desktop/images/11042025/10/37/image_11042025_10_38_06_10379.jpg', '/home/pi/Desktop/images/11042025/10/38/image_11042025_10_38_16_10444.jpg', '/home/pi/Desktop/images/11042025/10/38/image_11042025_10_38_26_9369.jpg', '/home/pi/Desktop/images/11042025/10/38/image_11042025_10_38_36_10435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/10/37/image_11042025_10_37_46_10440.jpg
/home/pi/Desktop/images/11042025/10/37/image_11042025_10_37_55_9344.jpg
/home/pi/Desktop/images/11042025/10/37/image_11042025_10_38_06_10379.jpg
/home/pi/Desktop/images/11042025/10/38/image_11042025_10_38_16_10444.jpg
/home/pi/Desktop/images/11042025/10/38/image_11042025_10_38_26_9369.jpg
/home/pi/Desktop/images/11042025/10/38/image_11042025_10_38_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":["1351644021","1351644123","1351644179","1351643939","1351644058","1351644027"],"photo_ids_order":["1351643939","1351644021","1351644027","1351644058","1351644123","1351644179"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c5f4a609ef96113d9468cf06ece7609f.jpg","text":"TemporaryFile(/tmp/multipartBody7171164280523561681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368333013,"filename":"image_11042025_10_37_55_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/00e84fabe9da2101d6f9c51cbae573a9.jpg","text":"TemporaryFile(/tmp/multipartBody6659747340258668762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368333013,"filename":"image_11042025_10_38_26_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/fcd4b933d95247907cb6837fa976ee84.jpg","text":"TemporaryFile(/tmp/multipartBody3222072634752416565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368333013,"filename":"image_11042025_10_38_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/11/ff37999bc81405904a50127c51bf2890.jpg","text":"TemporaryFile(/tmp/multipartBody6693131803031753506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368333013,"filename":"image_11042025_10_37_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/11/359ce3e676a98280c7872c1d3abdfc86.jpg","text":"TemporaryFile(/tmp/multipartBody492618964576104505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368333013,"filename":"image_11042025_10_38_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/11/a2d6ae1682cf79d5fecd7421042ac98d.jpg","text":"TemporaryFile(/tmp/multipartBody8647029184622700525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368333013,"filename":"image_11042025_10_38_06_10379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351644027","file1":"1351644021","file0":"1351643939","file4":"1351644123","file5":"1351644179","file3":"1351644058"},"map_files_photo_id_array":[{"photo_id":"1351644179","filename":"file5"},{"photo_id":"1351644027","filename":"file2"},{"photo_id":"1351644123","filename":"file4"},{"photo_id":"1351644021","filename":"file1"},{"photo_id":"1351643939","filename":"file0"},{"photo_id":"1351644058","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351644021":["hashtag1","hashtag2"]},{"1351644123":["hashtag1","hashtag2"]},{"1351644179":["hashtag1","hashtag2"]},{"1351643939":["hashtag1","hashtag2"]},{"1351644058":["hashtag1","hashtag2"]},{"1351644027":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351644021, 1351644123, 1351644179, 1351643939, 1351644058, 1351644027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.397345304489136 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 12:45:32.847284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/10/38/image_11042025_10_38_45_9358.jpg', '/home/pi/Desktop/images/11042025/10/38/image_11042025_10_39_06_10349.jpg', '/home/pi/Desktop/images/11042025/10/39/image_11042025_10_39_16_9445.jpg', '/home/pi/Desktop/images/11042025/10/39/image_11042025_10_39_26_10354.jpg', '/home/pi/Desktop/images/11042025/10/39/image_11042025_10_39_35_9370.jpg', '/home/pi/Desktop/images/11042025/10/39/image_11042025_10_39_46_10425.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/10/38/image_11042025_10_38_45_9358.jpg
/home/pi/Desktop/images/11042025/10/38/image_11042025_10_39_06_10349.jpg
/home/pi/Desktop/images/11042025/10/39/image_11042025_10_39_16_9445.jpg
/home/pi/Desktop/images/11042025/10/39/image_11042025_10_39_26_10354.jpg
/home/pi/Desktop/images/11042025/10/39/image_11042025_10_39_35_9370.jpg
/home/pi/Desktop/images/11042025/10/39/image_11042025_10_39_46_10425.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351644447","1351644674","1351644497","1351644614","1351644562","1351644646"],"photo_ids_order":["1351644447","1351644497","1351644562","1351644614","1351644646","1351644674"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f2e663d753784f065f98b5fac1288b11.jpg","text":"TemporaryFile(/tmp/multipartBody2330661074798493564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368393308,"filename":"image_11042025_10_38_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/11/ab5cf759d76264c7a76bda4e457e3370.jpg","text":"TemporaryFile(/tmp/multipartBody1517217999466158044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368393308,"filename":"image_11042025_10_39_46_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a61689bfbe97b7502562168c943f0417.jpg","text":"TemporaryFile(/tmp/multipartBody6981954218458454505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368393308,"filename":"image_11042025_10_39_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/11/8175b5c09104b3b87432066a9a019dc3.jpg","text":"TemporaryFile(/tmp/multipartBody7361729737414450027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368393308,"filename":"image_11042025_10_39_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/11/25c3599288ab8655364647768484ab06.jpg","text":"TemporaryFile(/tmp/multipartBody8123499179153524675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368393308,"filename":"image_11042025_10_39_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/11/3f12f99969a0a1ff01e85c92c3548926.jpg","text":"TemporaryFile(/tmp/multipartBody8381336880414832328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368393308,"filename":"image_11042025_10_39_35_9370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351644562","file1":"1351644497","file0":"1351644447","file4":"1351644646","file5":"1351644674","file3":"1351644614"},"map_files_photo_id_array":[{"photo_id":"1351644674","filename":"file5"},{"photo_id":"1351644562","filename":"file2"},{"photo_id":"1351644646","filename":"file4"},{"photo_id":"1351644497","filename":"file1"},{"photo_id":"1351644447","filename":"file0"},{"photo_id":"1351644614","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351644447":["hashtag1","hashtag2"]},{"1351644674":["hashtag1","hashtag2"]},{"1351644497":["hashtag1","hashtag2"]},{"1351644614":["hashtag1","hashtag2"]},{"1351644562":["hashtag1","hashtag2"]},{"1351644646":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351644447, 1351644674, 1351644497, 1351644614, 1351644562, 1351644646)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.55474233627319 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 12:46:33.005229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/10/39/image_11042025_10_39_56_10368.jpg', '/home/pi/Desktop/images/11042025/10/39/image_11042025_10_40_06_9350.jpg', '/home/pi/Desktop/images/11042025/10/40/image_11042025_10_40_16_10343.jpg', '/home/pi/Desktop/images/11042025/10/40/image_11042025_10_40_25_9362.jpg', '/home/pi/Desktop/images/11042025/10/40/image_11042025_10_40_36_10439.jpg', '/home/pi/Desktop/images/11042025/10/40/image_11042025_10_40_46_10355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/10/39/image_11042025_10_39_56_10368.jpg
/home/pi/Desktop/images/11042025/10/39/image_11042025_10_40_06_9350.jpg
/home/pi/Desktop/images/11042025/10/40/image_11042025_10_40_16_10343.jpg
/home/pi/Desktop/images/11042025/10/40/image_11042025_10_40_25_9362.jpg
/home/pi/Desktop/images/11042025/10/40/image_11042025_10_40_36_10439.jpg
/home/pi/Desktop/images/11042025/10/40/image_11042025_10_40_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":["1351645175","1351645192","1351645112","1351645149","1351645071","1351645023"],"photo_ids_order":["1351645023","1351645071","1351645112","1351645149","1351645175","1351645192"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4159936b4fbfd6a9965b764eedd58b31.jpg","text":"TemporaryFile(/tmp/multipartBody8050821637530334817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368453896,"filename":"image_11042025_10_40_36_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a46af068814168724cb2be52aeefaebd.jpg","text":"TemporaryFile(/tmp/multipartBody5839883648217354889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368453896,"filename":"image_11042025_10_40_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/11/3829f10b63c3d49d0402331064dc3c52.jpg","text":"TemporaryFile(/tmp/multipartBody7695774443411805138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368453896,"filename":"image_11042025_10_40_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/11/3938137953ae3cc07bf947dc3bfd18fc.jpg","text":"TemporaryFile(/tmp/multipartBody6512110189399667043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368453896,"filename":"image_11042025_10_40_25_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5aa68defc3515b92b51d4a6e43d93781.jpg","text":"TemporaryFile(/tmp/multipartBody6025557900408988550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368453896,"filename":"image_11042025_10_40_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/11/666c1f585b0a083e86ddd2bc496493ca.jpg","text":"TemporaryFile(/tmp/multipartBody3795356169979098497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368453896,"filename":"image_11042025_10_39_56_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351645112","file1":"1351645071","file0":"1351645023","file4":"1351645175","file5":"1351645192","file3":"1351645149"},"map_files_photo_id_array":[{"photo_id":"1351645192","filename":"file5"},{"photo_id":"1351645112","filename":"file2"},{"photo_id":"1351645175","filename":"file4"},{"photo_id":"1351645071","filename":"file1"},{"photo_id":"1351645023","filename":"file0"},{"photo_id":"1351645149","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351645175":["hashtag1","hashtag2"]},{"1351645192":["hashtag1","hashtag2"]},{"1351645112":["hashtag1","hashtag2"]},{"1351645149":["hashtag1","hashtag2"]},{"1351645071":["hashtag1","hashtag2"]},{"1351645023":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351645175, 1351645192, 1351645112, 1351645149, 1351645071, 1351645023)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.87310171127319 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 12:47:32.199448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/10/41/image_11042025_10_41_15_9428.jpg', '/home/pi/Desktop/images/11042025/10/41/image_11042025_10_41_26_10412.jpg', '/home/pi/Desktop/images/11042025/10/41/image_11042025_10_41_36_10360.jpg', '/home/pi/Desktop/images/11042025/10/41/image_11042025_10_41_46_9416.jpg', '/home/pi/Desktop/images/11042025/10/41/image_11042025_10_41_56_10342.jpg', '/home/pi/Desktop/images/11042025/10/41/image_11042025_10_42_06_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/10/41/image_11042025_10_41_15_9428.jpg
/home/pi/Desktop/images/11042025/10/41/image_11042025_10_41_26_10412.jpg
/home/pi/Desktop/images/11042025/10/41/image_11042025_10_41_36_10360.jpg
/home/pi/Desktop/images/11042025/10/41/image_11042025_10_41_46_9416.jpg
/home/pi/Desktop/images/11042025/10/41/image_11042025_10_41_56_10342.jpg
/home/pi/Desktop/images/11042025/10/41/image_11042025_10_42_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":["1351645541","1351645532","1351645514","1351645552","1351645534","1351645542"],"photo_ids_order":["1351645514","1351645532","1351645534","1351645541","1351645542","1351645552"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/912140f10ae22112a085e1d2f5a344f5.jpg","text":"TemporaryFile(/tmp/multipartBody545762989713248028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368512708,"filename":"image_11042025_10_41_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/11/054cc0e74f236d8565b59769682ebffe.jpg","text":"TemporaryFile(/tmp/multipartBody5561843111245402971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368512708,"filename":"image_11042025_10_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/11/8bc2d0a443de4384c2ce7e9c0ca807a8.jpg","text":"TemporaryFile(/tmp/multipartBody2486275520312284466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368512708,"filename":"image_11042025_10_41_15_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/66a5de9536ae48c033a9704896dc1673.jpg","text":"TemporaryFile(/tmp/multipartBody168829124699774057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368512708,"filename":"image_11042025_10_42_06_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/617ab07594495f343ace6c4c521b3f68.jpg","text":"TemporaryFile(/tmp/multipartBody5470353599064297085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368512708,"filename":"image_11042025_10_41_36_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e1abae1b67a27ca0b75295616075abb3.jpg","text":"TemporaryFile(/tmp/multipartBody3194549185357055049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368512708,"filename":"image_11042025_10_41_56_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351645534","file1":"1351645532","file0":"1351645514","file4":"1351645542","file5":"1351645552","file3":"1351645541"},"map_files_photo_id_array":[{"photo_id":"1351645552","filename":"file5"},{"photo_id":"1351645534","filename":"file2"},{"photo_id":"1351645542","filename":"file4"},{"photo_id":"1351645532","filename":"file1"},{"photo_id":"1351645514","filename":"file0"},{"photo_id":"1351645541","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351645541":["hashtag1","hashtag2"]},{"1351645532":["hashtag1","hashtag2"]},{"1351645514":["hashtag1","hashtag2"]},{"1351645552":["hashtag1","hashtag2"]},{"1351645534":["hashtag1","hashtag2"]},{"1351645542":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351645541, 1351645532, 1351645514, 1351645552, 1351645534, 1351645542)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.659467697143555 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 12:48:32.581568
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/10/42/image_11042025_10_42_16_9477.jpg', '/home/pi/Desktop/images/11042025/10/42/image_11042025_10_42_35_9382.jpg', '/home/pi/Desktop/images/11042025/10/42/image_11042025_10_42_46_10352.jpg', '/home/pi/Desktop/images/11042025/10/42/image_11042025_10_42_56_10435.jpg', '/home/pi/Desktop/images/11042025/10/42/image_11042025_10_43_06_9336.jpg', '/home/pi/Desktop/images/11042025/10/43/image_11042025_10_43_16_10347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/10/42/image_11042025_10_42_16_9477.jpg
/home/pi/Desktop/images/11042025/10/42/image_11042025_10_42_35_9382.jpg
/home/pi/Desktop/images/11042025/10/42/image_11042025_10_42_46_10352.jpg
/home/pi/Desktop/images/11042025/10/42/image_11042025_10_42_56_10435.jpg
/home/pi/Desktop/images/11042025/10/42/image_11042025_10_43_06_9336.jpg
/home/pi/Desktop/images/11042025/10/43/image_11042025_10_43_16_10347.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351645669","1351645729","1351645686","1351645749","1351645713","1351645766"],"photo_ids_order":["1351645669","1351645686","1351645713","1351645729","1351645749","1351645766"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/974610a2c01aa66f8e8b0fe86fa23fe3.jpg","text":"TemporaryFile(/tmp/multipartBody2098339863299337175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368573043,"filename":"image_11042025_10_42_16_9477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5373aa7b0052f929b2633c0438dfff87.jpg","text":"TemporaryFile(/tmp/multipartBody3702750767954003338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368573043,"filename":"image_11042025_10_42_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/11/a0ecf0c223b4556c1b03cbaa274a108a.jpg","text":"TemporaryFile(/tmp/multipartBody1161962033031376444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368573043,"filename":"image_11042025_10_42_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/11/034f23130507c537e7d43a676b8bff2f.jpg","text":"TemporaryFile(/tmp/multipartBody269151936045796515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368573043,"filename":"image_11042025_10_43_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/11/d8c42cdea37dfc3fdd88b95ed0b83fd6.jpg","text":"TemporaryFile(/tmp/multipartBody6123293086436930852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368573043,"filename":"image_11042025_10_42_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/11/8eabd084e7afccbe512854635dd719d1.jpg","text":"TemporaryFile(/tmp/multipartBody1814990091770703238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368573043,"filename":"image_11042025_10_43_16_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351645713","file1":"1351645686","file0":"1351645669","file4":"1351645749","file5":"1351645766","file3":"1351645729"},"map_files_photo_id_array":[{"photo_id":"1351645766","filename":"file5"},{"photo_id":"1351645713","filename":"file2"},{"photo_id":"1351645749","filename":"file4"},{"photo_id":"1351645686","filename":"file1"},{"photo_id":"1351645669","filename":"file0"},{"photo_id":"1351645729","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351645669":["hashtag1","hashtag2"]},{"1351645729":["hashtag1","hashtag2"]},{"1351645686":["hashtag1","hashtag2"]},{"1351645749":["hashtag1","hashtag2"]},{"1351645713":["hashtag1","hashtag2"]},{"1351645766":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351645669, 1351645729, 1351645686, 1351645749, 1351645713, 1351645766)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.902241468429565 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 12:49:32.736712
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/10/43/image_11042025_10_43_25_9414.jpg', '/home/pi/Desktop/images/11042025/10/43/image_11042025_10_43_36_10456.jpg', '/home/pi/Desktop/images/11042025/10/43/image_11042025_10_43_46_10357.jpg', '/home/pi/Desktop/images/11042025/10/43/image_11042025_10_43_56_9412.jpg', '/home/pi/Desktop/images/11042025/10/43/image_11042025_10_44_06_10342.jpg', '/home/pi/Desktop/images/11042025/10/44/image_11042025_10_44_15_9396.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/10/43/image_11042025_10_43_25_9414.jpg
/home/pi/Desktop/images/11042025/10/43/image_11042025_10_43_36_10456.jpg
/home/pi/Desktop/images/11042025/10/43/image_11042025_10_43_46_10357.jpg
/home/pi/Desktop/images/11042025/10/43/image_11042025_10_43_56_9412.jpg
/home/pi/Desktop/images/11042025/10/43/image_11042025_10_44_06_10342.jpg
/home/pi/Desktop/images/11042025/10/44/image_11042025_10_44_15_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":["1351646000","1351646006","1351646008","1351645951","1351646004","1351645979"],"photo_ids_order":["1351645951","1351645979","1351646000","1351646004","1351646006","1351646008"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4d8e9ed3d7128359d1f5e3e13e073811.jpg","text":"TemporaryFile(/tmp/multipartBody8732390922005494232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368633192,"filename":"image_11042025_10_43_46_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d62a3455f0633301de7691ecd6afe9ab.jpg","text":"TemporaryFile(/tmp/multipartBody4833969433904585573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368633192,"filename":"image_11042025_10_44_06_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f2c1d549f61e93a76fdaa353303baddd.jpg","text":"TemporaryFile(/tmp/multipartBody5696148862791729623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368633192,"filename":"image_11042025_10_44_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/11/41ca809b2daaf2a202421267e8063ab0.jpg","text":"TemporaryFile(/tmp/multipartBody5654461023729345365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368633192,"filename":"image_11042025_10_43_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/11/db879eb89c588502f60cd5c04d6d9c76.jpg","text":"TemporaryFile(/tmp/multipartBody5553822842967040158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368633192,"filename":"image_11042025_10_43_56_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/fbf4a90316caaa67dfbf89f3aa93d4c8.jpg","text":"TemporaryFile(/tmp/multipartBody8811808271691879613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368633192,"filename":"image_11042025_10_43_36_10456.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351646000","file1":"1351645979","file0":"1351645951","file4":"1351646006","file5":"1351646008","file3":"1351646004"},"map_files_photo_id_array":[{"photo_id":"1351646008","filename":"file5"},{"photo_id":"1351646000","filename":"file2"},{"photo_id":"1351646006","filename":"file4"},{"photo_id":"1351645979","filename":"file1"},{"photo_id":"1351645951","filename":"file0"},{"photo_id":"1351646004","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351646000":["hashtag1","hashtag2"]},{"1351646006":["hashtag1","hashtag2"]},{"1351646008":["hashtag1","hashtag2"]},{"1351645951":["hashtag1","hashtag2"]},{"1351646004":["hashtag1","hashtag2"]},{"1351645979":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351646000, 1351646006, 1351646008, 1351645951, 1351646004, 1351645979)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.21827292442322 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 12:50:33.125117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/10/44/image_11042025_10_44_26_10457.jpg', '/home/pi/Desktop/images/11042025/10/44/image_11042025_10_44_36_10346.jpg', '/home/pi/Desktop/images/11042025/10/44/image_11042025_10_44_46_9426.jpg', '/home/pi/Desktop/images/11042025/10/44/image_11042025_10_44_56_10392.jpg', '/home/pi/Desktop/images/11042025/10/44/image_11042025_10_45_06_10333.jpg', '/home/pi/Desktop/images/11042025/10/45/image_11042025_10_45_16_9338.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/10/44/image_11042025_10_44_26_10457.jpg
/home/pi/Desktop/images/11042025/10/44/image_11042025_10_44_36_10346.jpg
/home/pi/Desktop/images/11042025/10/44/image_11042025_10_44_46_9426.jpg
/home/pi/Desktop/images/11042025/10/44/image_11042025_10_44_56_10392.jpg
/home/pi/Desktop/images/11042025/10/44/image_11042025_10_45_06_10333.jpg
/home/pi/Desktop/images/11042025/10/45/image_11042025_10_45_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":["1351646135","1351646120","1351646125","1351646116","1351646139","1351646112"],"photo_ids_order":["1351646112","1351646116","1351646120","1351646125","1351646135","1351646139"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/21219afdc2d63c4ec617483db338a9de.jpg","text":"TemporaryFile(/tmp/multipartBody4373136575716603319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368693602,"filename":"image_11042025_10_45_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/11/2e30d9d51c70d06269034e5c266a2245.jpg","text":"TemporaryFile(/tmp/multipartBody5256291874303410954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368693602,"filename":"image_11042025_10_44_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/11/f54e371b7e2e0cf219817be346506251.jpg","text":"TemporaryFile(/tmp/multipartBody144140781462805862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368693602,"filename":"image_11042025_10_44_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/11/2bfc7723aa65ddc6202854b5c9c6fbaf.jpg","text":"TemporaryFile(/tmp/multipartBody7754571200622594515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368693602,"filename":"image_11042025_10_44_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/11/b18b178bc83fbf8d5af0f2aff2bed299.jpg","text":"TemporaryFile(/tmp/multipartBody5856880019481867421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368693602,"filename":"image_11042025_10_45_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/11/a01f6d4bb9258c798d667462fba4194e.jpg","text":"TemporaryFile(/tmp/multipartBody1474028591683033790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368693602,"filename":"image_11042025_10_44_26_10457.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351646120","file1":"1351646116","file0":"1351646112","file4":"1351646135","file5":"1351646139","file3":"1351646125"},"map_files_photo_id_array":[{"photo_id":"1351646139","filename":"file5"},{"photo_id":"1351646120","filename":"file2"},{"photo_id":"1351646135","filename":"file4"},{"photo_id":"1351646116","filename":"file1"},{"photo_id":"1351646112","filename":"file0"},{"photo_id":"1351646125","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351646135":["hashtag1","hashtag2"]},{"1351646120":["hashtag1","hashtag2"]},{"1351646125":["hashtag1","hashtag2"]},{"1351646116":["hashtag1","hashtag2"]},{"1351646139":["hashtag1","hashtag2"]},{"1351646112":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351646135, 1351646120, 1351646125, 1351646116, 1351646139, 1351646112)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.726033449172974 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 12:51:32.310375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/10/45/image_11042025_10_45_26_10365.jpg', '/home/pi/Desktop/images/11042025/10/45/image_11042025_10_45_35_9409.jpg', '/home/pi/Desktop/images/11042025/10/45/image_11042025_10_45_46_10457.jpg', '/home/pi/Desktop/images/11042025/10/45/image_11042025_10_45_56_10360.jpg', '/home/pi/Desktop/images/11042025/10/45/image_11042025_10_46_06_9357.jpg', '/home/pi/Desktop/images/11042025/10/46/image_11042025_10_46_16_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/10/45/image_11042025_10_45_26_10365.jpg
/home/pi/Desktop/images/11042025/10/45/image_11042025_10_45_35_9409.jpg
/home/pi/Desktop/images/11042025/10/45/image_11042025_10_45_46_10457.jpg
/home/pi/Desktop/images/11042025/10/45/image_11042025_10_45_56_10360.jpg
/home/pi/Desktop/images/11042025/10/45/image_11042025_10_46_06_9357.jpg
/home/pi/Desktop/images/11042025/10/46/image_11042025_10_46_16_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":["1351646719","1351646524","1351646643","1351646699","1351646564","1351646423"],"photo_ids_order":["1351646423","1351646524","1351646564","1351646643","1351646699","1351646719"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0b11f06d7b19cb82de2057e3cb441cbf.jpg","text":"TemporaryFile(/tmp/multipartBody3551902252529029935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368752799,"filename":"image_11042025_10_46_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/11/71fd17212dedae8a5227cdfe7a384c34.jpg","text":"TemporaryFile(/tmp/multipartBody6952834656563027572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368752799,"filename":"image_11042025_10_45_35_9409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2ca11c7b4e4dc3a1af63c1ed57746ac8.jpg","text":"TemporaryFile(/tmp/multipartBody1187231770217330336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368752799,"filename":"image_11042025_10_45_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/11/fba0421c18509c2f282352c01406de9b.jpg","text":"TemporaryFile(/tmp/multipartBody1970002672736115787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368752799,"filename":"image_11042025_10_46_06_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/825f50bb9cd0eeb9058400ea2f63d74b.jpg","text":"TemporaryFile(/tmp/multipartBody971776014776147777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368752799,"filename":"image_11042025_10_45_46_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/11/e326e362b78453e436c1afbe216a4e0a.jpg","text":"TemporaryFile(/tmp/multipartBody2802272839533374462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368752799,"filename":"image_11042025_10_45_26_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351646564","file1":"1351646524","file0":"1351646423","file4":"1351646699","file5":"1351646719","file3":"1351646643"},"map_files_photo_id_array":[{"photo_id":"1351646719","filename":"file5"},{"photo_id":"1351646564","filename":"file2"},{"photo_id":"1351646699","filename":"file4"},{"photo_id":"1351646524","filename":"file1"},{"photo_id":"1351646423","filename":"file0"},{"photo_id":"1351646643","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351646719":["hashtag1","hashtag2"]},{"1351646524":["hashtag1","hashtag2"]},{"1351646643":["hashtag1","hashtag2"]},{"1351646699":["hashtag1","hashtag2"]},{"1351646564":["hashtag1","hashtag2"]},{"1351646423":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351646719, 1351646524, 1351646643, 1351646699, 1351646564, 1351646423)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.90501070022583 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 12:52:32.586212
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/10/46/image_11042025_10_46_26_10365.jpg', '/home/pi/Desktop/images/11042025/10/46/image_11042025_10_46_36_9362.jpg', '/home/pi/Desktop/images/11042025/10/46/image_11042025_10_46_46_10445.jpg', '/home/pi/Desktop/images/11042025/10/46/image_11042025_10_46_55_9358.jpg', '/home/pi/Desktop/images/11042025/10/46/image_11042025_10_47_06_10466.jpg', '/home/pi/Desktop/images/11042025/10/47/image_11042025_10_47_15_9413.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/10/46/image_11042025_10_46_26_10365.jpg
/home/pi/Desktop/images/11042025/10/46/image_11042025_10_46_36_9362.jpg
/home/pi/Desktop/images/11042025/10/46/image_11042025_10_46_46_10445.jpg
/home/pi/Desktop/images/11042025/10/46/image_11042025_10_46_55_9358.jpg
/home/pi/Desktop/images/11042025/10/46/image_11042025_10_47_06_10466.jpg
/home/pi/Desktop/images/11042025/10/47/image_11042025_10_47_15_9413.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351646869","1351647010","1351646830","1351646877","1351646973","1351646862"],"photo_ids_order":["1351646830","1351646862","1351646869","1351646877","1351646973","1351647010"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/101dd73d3800df09a408df711f55e6bb.jpg","text":"TemporaryFile(/tmp/multipartBody6273290992613327298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368813058,"filename":"image_11042025_10_46_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/11/31abbe38a9f6e00985ae0c8714bf14fc.jpg","text":"TemporaryFile(/tmp/multipartBody7836458207502641684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368813058,"filename":"image_11042025_10_47_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/11/5ad63df7157676b8bba869f280c97fec.jpg","text":"TemporaryFile(/tmp/multipartBody325853401129773666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368813058,"filename":"image_11042025_10_46_26_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a5c14b25ef44ef946dd8aef66ce57759.jpg","text":"TemporaryFile(/tmp/multipartBody8555105376615801336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368813058,"filename":"image_11042025_10_46_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/11/bb3551fe31c3c6ec6a3ac21d55d076eb.jpg","text":"TemporaryFile(/tmp/multipartBody2704354732032599259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368813058,"filename":"image_11042025_10_47_06_10466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/bc9f02cdbf62a96ce4487eb4fba9be0b.jpg","text":"TemporaryFile(/tmp/multipartBody2707855825691112235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368813058,"filename":"image_11042025_10_46_36_9362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351646869","file1":"1351646862","file0":"1351646830","file4":"1351646973","file5":"1351647010","file3":"1351646877"},"map_files_photo_id_array":[{"photo_id":"1351647010","filename":"file5"},{"photo_id":"1351646869","filename":"file2"},{"photo_id":"1351646973","filename":"file4"},{"photo_id":"1351646862","filename":"file1"},{"photo_id":"1351646830","filename":"file0"},{"photo_id":"1351646877","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351646869":["hashtag1","hashtag2"]},{"1351647010":["hashtag1","hashtag2"]},{"1351646830":["hashtag1","hashtag2"]},{"1351646877":["hashtag1","hashtag2"]},{"1351646973":["hashtag1","hashtag2"]},{"1351646862":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351646869, 1351647010, 1351646830, 1351646877, 1351646973, 1351646862)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.52758264541626 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 12:53:32.788245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/10/47/image_11042025_10_47_26_10401.jpg', '/home/pi/Desktop/images/11042025/10/47/image_11042025_10_47_36_10355.jpg', '/home/pi/Desktop/images/11042025/10/47/image_11042025_10_47_45_9401.jpg', '/home/pi/Desktop/images/11042025/10/47/image_11042025_10_47_56_10371.jpg', '/home/pi/Desktop/images/11042025/10/48/image_11042025_10_48_16_10468.jpg', '/home/pi/Desktop/images/11042025/10/48/image_11042025_10_48_25_9454.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/10/47/image_11042025_10_47_26_10401.jpg
/home/pi/Desktop/images/11042025/10/47/image_11042025_10_47_36_10355.jpg
/home/pi/Desktop/images/11042025/10/47/image_11042025_10_47_45_9401.jpg
/home/pi/Desktop/images/11042025/10/47/image_11042025_10_47_56_10371.jpg
/home/pi/Desktop/images/11042025/10/48/image_11042025_10_48_16_10468.jpg
/home/pi/Desktop/images/11042025/10/48/image_11042025_10_48_25_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":["1351647193","1351647267","1351647159","1351647318","1351647312","1351647287"],"photo_ids_order":["1351647159","1351647193","1351647267","1351647287","1351647312","1351647318"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0c3505a9017a7d8799d3705f9cb4eb16.jpg","text":"TemporaryFile(/tmp/multipartBody7734997540368293592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368873245,"filename":"image_11042025_10_47_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/11/c836d831b2e71e637c4e06340cde6ac0.jpg","text":"TemporaryFile(/tmp/multipartBody1226109673993176492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368873245,"filename":"image_11042025_10_47_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/11/d80f84c561ba0f557034dd59aced4b05.jpg","text":"TemporaryFile(/tmp/multipartBody6169117142664142412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368873245,"filename":"image_11042025_10_47_26_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a044f9a42453f4c619921fcccc2c17ae.jpg","text":"TemporaryFile(/tmp/multipartBody3947305707027220757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368873245,"filename":"image_11042025_10_48_25_9454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7e65e756f33caac7e70ccc650d1b5128.jpg","text":"TemporaryFile(/tmp/multipartBody5848410133948166896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368873245,"filename":"image_11042025_10_48_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/11/3167aae6b72c9748370b549e6602d53b.jpg","text":"TemporaryFile(/tmp/multipartBody51947021753599740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368873245,"filename":"image_11042025_10_47_56_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351647267","file1":"1351647193","file0":"1351647159","file4":"1351647312","file5":"1351647318","file3":"1351647287"},"map_files_photo_id_array":[{"photo_id":"1351647318","filename":"file5"},{"photo_id":"1351647267","filename":"file2"},{"photo_id":"1351647312","filename":"file4"},{"photo_id":"1351647193","filename":"file1"},{"photo_id":"1351647159","filename":"file0"},{"photo_id":"1351647287","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351647193":["hashtag1","hashtag2"]},{"1351647267":["hashtag1","hashtag2"]},{"1351647159":["hashtag1","hashtag2"]},{"1351647318":["hashtag1","hashtag2"]},{"1351647312":["hashtag1","hashtag2"]},{"1351647287":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351647193, 1351647267, 1351647159, 1351647318, 1351647312, 1351647287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.6851646900177 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 12:54:33.015134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/10/48/image_11042025_10_48_36_10345.jpg', '/home/pi/Desktop/images/11042025/10/48/image_11042025_10_48_46_10354.jpg', '/home/pi/Desktop/images/11042025/10/48/image_11042025_10_48_56_9355.jpg', '/home/pi/Desktop/images/11042025/10/49/image_11042025_10_49_16_10344.jpg', '/home/pi/Desktop/images/11042025/10/49/image_11042025_10_49_26_9431.jpg', '/home/pi/Desktop/images/11042025/10/49/image_11042025_10_49_45_9372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/10/48/image_11042025_10_48_36_10345.jpg
/home/pi/Desktop/images/11042025/10/48/image_11042025_10_48_46_10354.jpg
/home/pi/Desktop/images/11042025/10/48/image_11042025_10_48_56_9355.jpg
/home/pi/Desktop/images/11042025/10/49/image_11042025_10_49_16_10344.jpg
/home/pi/Desktop/images/11042025/10/49/image_11042025_10_49_26_9431.jpg
/home/pi/Desktop/images/11042025/10/49/image_11042025_10_49_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":["1351647451","1351647427","1351647412","1351647406","1351647415","1351647444"],"photo_ids_order":["1351647406","1351647412","1351647415","1351647427","1351647444","1351647451"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/29e4241341b68cf917c9031a2d1fdf16.jpg","text":"TemporaryFile(/tmp/multipartBody111925233181801059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368933481,"filename":"image_11042025_10_49_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/11/29ad08dbce5e1387a6e369dbbaf9c5e5.jpg","text":"TemporaryFile(/tmp/multipartBody5447933679589942891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368933481,"filename":"image_11042025_10_49_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/11/817dc066846757dae95c46da58b9351b.jpg","text":"TemporaryFile(/tmp/multipartBody275608289917219334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368933481,"filename":"image_11042025_10_48_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/11/944c43dd94560fb6e235dd1b77fe3a82.jpg","text":"TemporaryFile(/tmp/multipartBody978330681806289666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368933481,"filename":"image_11042025_10_48_36_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f2f81ee4d712bd16dc63a82df5d6cbc2.jpg","text":"TemporaryFile(/tmp/multipartBody8081741903641935103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368933481,"filename":"image_11042025_10_48_56_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d8f4fa3a0666bb1f57c054c4044e5073.jpg","text":"TemporaryFile(/tmp/multipartBody3540648604778434027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368933481,"filename":"image_11042025_10_49_26_9431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351647415","file1":"1351647412","file0":"1351647406","file4":"1351647444","file5":"1351647451","file3":"1351647427"},"map_files_photo_id_array":[{"photo_id":"1351647451","filename":"file5"},{"photo_id":"1351647415","filename":"file2"},{"photo_id":"1351647444","filename":"file4"},{"photo_id":"1351647412","filename":"file1"},{"photo_id":"1351647406","filename":"file0"},{"photo_id":"1351647427","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351647451":["hashtag1","hashtag2"]},{"1351647427":["hashtag1","hashtag2"]},{"1351647412":["hashtag1","hashtag2"]},{"1351647406":["hashtag1","hashtag2"]},{"1351647415":["hashtag1","hashtag2"]},{"1351647444":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351647451, 1351647427, 1351647412, 1351647406, 1351647415, 1351647444)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.035850524902344 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 12:55:32.254373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/10/49/image_11042025_10_49_56_10425.jpg', '/home/pi/Desktop/images/11042025/10/49/image_11042025_10_50_06_10355.jpg', '/home/pi/Desktop/images/11042025/10/50/image_11042025_10_50_16_9347.jpg', '/home/pi/Desktop/images/11042025/10/50/image_11042025_10_50_26_10419.jpg', '/home/pi/Desktop/images/11042025/10/50/image_11042025_10_50_35_9363.jpg', '/home/pi/Desktop/images/11042025/10/50/image_11042025_10_50_46_10472.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/10/49/image_11042025_10_49_56_10425.jpg
/home/pi/Desktop/images/11042025/10/49/image_11042025_10_50_06_10355.jpg
/home/pi/Desktop/images/11042025/10/50/image_11042025_10_50_16_9347.jpg
/home/pi/Desktop/images/11042025/10/50/image_11042025_10_50_26_10419.jpg
/home/pi/Desktop/images/11042025/10/50/image_11042025_10_50_35_9363.jpg
/home/pi/Desktop/images/11042025/10/50/image_11042025_10_50_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":["1351647490","1351647484","1351647494","1351647497","1351647479","1351647500"],"photo_ids_order":["1351647479","1351647484","1351647490","1351647494","1351647497","1351647500"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a7c495f0245074078c80a929d3ff7afa.jpg","text":"TemporaryFile(/tmp/multipartBody4644757599397413415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368992709,"filename":"image_11042025_10_50_16_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4b0a0ce8f784a5d6fcd8b111f2b38445.jpg","text":"TemporaryFile(/tmp/multipartBody4395461947491811139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368992709,"filename":"image_11042025_10_50_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/11/f2844f006c978211ad809e78d9e6487c.jpg","text":"TemporaryFile(/tmp/multipartBody5978771689878142487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368992709,"filename":"image_11042025_10_50_26_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3ea63307c09d0f6e35e637258a9d03a1.jpg","text":"TemporaryFile(/tmp/multipartBody5551542092274162148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368992709,"filename":"image_11042025_10_50_35_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/cab3e382fffc231d566765fb26090a11.jpg","text":"TemporaryFile(/tmp/multipartBody9208521898564499062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368992709,"filename":"image_11042025_10_49_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/11/eab4a509a1f323759807c2997246d2f1.jpg","text":"TemporaryFile(/tmp/multipartBody4143044219553780931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744368992709,"filename":"image_11042025_10_50_46_10472.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351647490","file1":"1351647484","file0":"1351647479","file4":"1351647497","file5":"1351647500","file3":"1351647494"},"map_files_photo_id_array":[{"photo_id":"1351647500","filename":"file5"},{"photo_id":"1351647490","filename":"file2"},{"photo_id":"1351647497","filename":"file4"},{"photo_id":"1351647484","filename":"file1"},{"photo_id":"1351647479","filename":"file0"},{"photo_id":"1351647494","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351647490":["hashtag1","hashtag2"]},{"1351647484":["hashtag1","hashtag2"]},{"1351647494":["hashtag1","hashtag2"]},{"1351647497":["hashtag1","hashtag2"]},{"1351647479":["hashtag1","hashtag2"]},{"1351647500":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351647490, 1351647484, 1351647494, 1351647497, 1351647479, 1351647500)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.31004047393799 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 12:56:32.449985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/10/50/image_11042025_10_50_56_10368.jpg', '/home/pi/Desktop/images/11042025/10/50/image_11042025_10_51_06_9340.jpg', '/home/pi/Desktop/images/11042025/10/51/image_11042025_10_51_16_10430.jpg', '/home/pi/Desktop/images/11042025/10/51/image_11042025_10_51_25_9420.jpg', '/home/pi/Desktop/images/11042025/10/51/image_11042025_10_51_36_10478.jpg', '/home/pi/Desktop/images/11042025/10/51/image_11042025_10_51_46_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/10/50/image_11042025_10_50_56_10368.jpg
/home/pi/Desktop/images/11042025/10/50/image_11042025_10_51_06_9340.jpg
/home/pi/Desktop/images/11042025/10/51/image_11042025_10_51_16_10430.jpg
/home/pi/Desktop/images/11042025/10/51/image_11042025_10_51_25_9420.jpg
/home/pi/Desktop/images/11042025/10/51/image_11042025_10_51_36_10478.jpg
/home/pi/Desktop/images/11042025/10/51/image_11042025_10_51_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":["1351647523","1351647532","1351647526","1351647520","1351647528","1351647542"],"photo_ids_order":["1351647520","1351647523","1351647526","1351647528","1351647532","1351647542"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7fdb7db2eff10577bc3bbdf15d75e9d1.jpg","text":"TemporaryFile(/tmp/multipartBody733039935101149227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744369052916,"filename":"image_11042025_10_51_06_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4286e45ce5f48a045bb1970ba46e0a03.jpg","text":"TemporaryFile(/tmp/multipartBody9008986346888689290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744369052916,"filename":"image_11042025_10_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/11/71ff15ad79ea5b38b6fa35489c5b5828.jpg","text":"TemporaryFile(/tmp/multipartBody8603411459025293246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744369052916,"filename":"image_11042025_10_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/11/05a9b9d563eb254f80a801bcf07e8deb.jpg","text":"TemporaryFile(/tmp/multipartBody6844043429114614164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744369052916,"filename":"image_11042025_10_50_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/11/de9b051995b8994dce1c77b197cc28ad.jpg","text":"TemporaryFile(/tmp/multipartBody8296150302306223459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744369052916,"filename":"image_11042025_10_51_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/11/622127221e59d841690eced07d076c13.jpg","text":"TemporaryFile(/tmp/multipartBody8762563526094321787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744369052916,"filename":"image_11042025_10_51_46_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351647526","file1":"1351647523","file0":"1351647520","file4":"1351647532","file5":"1351647542","file3":"1351647528"},"map_files_photo_id_array":[{"photo_id":"1351647542","filename":"file5"},{"photo_id":"1351647526","filename":"file2"},{"photo_id":"1351647532","filename":"file4"},{"photo_id":"1351647523","filename":"file1"},{"photo_id":"1351647520","filename":"file0"},{"photo_id":"1351647528","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351647523":["hashtag1","hashtag2"]},{"1351647532":["hashtag1","hashtag2"]},{"1351647526":["hashtag1","hashtag2"]},{"1351647520":["hashtag1","hashtag2"]},{"1351647528":["hashtag1","hashtag2"]},{"1351647542":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351647523, 1351647532, 1351647526, 1351647520, 1351647528, 1351647542)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.20276927947998 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 12:57:32.239880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/10/51/image_11042025_10_51_56_9435.jpg', '/home/pi/Desktop/images/11042025/10/51/image_11042025_10_52_06_10348.jpg', '/home/pi/Desktop/images/11042025/10/52/image_11042025_10_52_15_9339.jpg', '/home/pi/Desktop/images/11042025/10/52/image_11042025_10_52_26_10471.jpg', '/home/pi/Desktop/images/11042025/10/52/image_11042025_10_52_36_10369.jpg', '/home/pi/Desktop/images/11042025/10/52/image_11042025_10_52_46_9354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/10/51/image_11042025_10_51_56_9435.jpg
/home/pi/Desktop/images/11042025/10/51/image_11042025_10_52_06_10348.jpg
/home/pi/Desktop/images/11042025/10/52/image_11042025_10_52_15_9339.jpg
/home/pi/Desktop/images/11042025/10/52/image_11042025_10_52_26_10471.jpg
/home/pi/Desktop/images/11042025/10/52/image_11042025_10_52_36_10369.jpg
/home/pi/Desktop/images/11042025/10/52/image_11042025_10_52_46_9354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 12:59:04.231732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/10/51/image_11042025_10_51_56_9435.jpg', '/home/pi/Desktop/images/11042025/10/51/image_11042025_10_52_06_10348.jpg', '/home/pi/Desktop/images/11042025/10/52/image_11042025_10_52_15_9339.jpg', '/home/pi/Desktop/images/11042025/10/52/image_11042025_10_52_26_10471.jpg', '/home/pi/Desktop/images/11042025/10/52/image_11042025_10_52_36_10369.jpg', '/home/pi/Desktop/images/11042025/10/52/image_11042025_10_52_46_9354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/10/51/image_11042025_10_51_56_9435.jpg
/home/pi/Desktop/images/11042025/10/51/image_11042025_10_52_06_10348.jpg
/home/pi/Desktop/images/11042025/10/52/image_11042025_10_52_15_9339.jpg
/home/pi/Desktop/images/11042025/10/52/image_11042025_10_52_26_10471.jpg
/home/pi/Desktop/images/11042025/10/52/image_11042025_10_52_36_10369.jpg
/home/pi/Desktop/images/11042025/10/52/image_11042025_10_52_46_9354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351648000","1351647969","1351647954","1351647924","1351647948","1351647927"],"photo_ids_order":["1351647924","1351647927","1351647948","1351647954","1351647969","1351648000"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/db822b5ee5455cca94e5523d9278d3f2.jpg","text":"TemporaryFile(/tmp/multipartBody7322209702955433625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744369204850,"filename":"image_11042025_10_52_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/11/2321a7300df5d52aa0e8ff37ca2d772b.jpg","text":"TemporaryFile(/tmp/multipartBody6023286429051950257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744369204850,"filename":"image_11042025_10_52_36_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/526ae4d9195cab33d2267b75547b1bb4.jpg","text":"TemporaryFile(/tmp/multipartBody4520093916680045121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744369204850,"filename":"image_11042025_10_52_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/11/76414a91f9a78a505445412a377d51ac.jpg","text":"TemporaryFile(/tmp/multipartBody6662064596020469206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744369204850,"filename":"image_11042025_10_51_56_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1f9c881ff9b5421b49252f945d32a9cd.jpg","text":"TemporaryFile(/tmp/multipartBody6582980321497394466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744369204850,"filename":"image_11042025_10_52_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/11/721786f4a950644d8e6a862265db776a.jpg","text":"TemporaryFile(/tmp/multipartBody3529997742317131902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744369204850,"filename":"image_11042025_10_52_06_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351647948","file1":"1351647927","file0":"1351647924","file4":"1351647969","file5":"1351648000","file3":"1351647954"},"map_files_photo_id_array":[{"photo_id":"1351648000","filename":"file5"},{"photo_id":"1351647948","filename":"file2"},{"photo_id":"1351647969","filename":"file4"},{"photo_id":"1351647927","filename":"file1"},{"photo_id":"1351647924","filename":"file0"},{"photo_id":"1351647954","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351648000":["hashtag1","hashtag2"]},{"1351647969":["hashtag1","hashtag2"]},{"1351647954":["hashtag1","hashtag2"]},{"1351647924":["hashtag1","hashtag2"]},{"1351647948":["hashtag1","hashtag2"]},{"1351647927":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351648000, 1351647969, 1351647954, 1351647924, 1351647948, 1351647927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.611823320388794 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 12:59:52.911898
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/10/52/image_11042025_10_52_56_10452.jpg', '/home/pi/Desktop/images/11042025/10/52/image_11042025_10_53_05_9403.jpg', '/home/pi/Desktop/images/11042025/10/53/image_11042025_10_53_16_10415.jpg', '/home/pi/Desktop/images/11042025/10/53/image_11042025_10_53_26_10361.jpg', '/home/pi/Desktop/images/11042025/10/53/image_11042025_10_53_36_9408.jpg', '/home/pi/Desktop/images/11042025/10/53/image_11042025_10_53_46_10433.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/10/52/image_11042025_10_52_56_10452.jpg
/home/pi/Desktop/images/11042025/10/52/image_11042025_10_53_05_9403.jpg
/home/pi/Desktop/images/11042025/10/53/image_11042025_10_53_16_10415.jpg
/home/pi/Desktop/images/11042025/10/53/image_11042025_10_53_26_10361.jpg
/home/pi/Desktop/images/11042025/10/53/image_11042025_10_53_36_9408.jpg
/home/pi/Desktop/images/11042025/10/53/image_11042025_10_53_46_10433.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351648059","1351648200","1351648085","1351648157","1351648121","1351648139"],"photo_ids_order":["1351648059","1351648085","1351648121","1351648139","1351648157","1351648200"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/13ca36f77444ef91e34a3a7e9a73b43b.jpg","text":"TemporaryFile(/tmp/multipartBody6607767557935873623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744369253367,"filename":"image_11042025_10_52_56_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ddb381777a166d6ed21085694e9dd093.jpg","text":"TemporaryFile(/tmp/multipartBody2722875255414960236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744369253367,"filename":"image_11042025_10_53_46_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b1a7c09740eea1a7db281a11265c43ca.jpg","text":"TemporaryFile(/tmp/multipartBody5982394804805613908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744369253367,"filename":"image_11042025_10_53_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/11/1c459cff9f4a8f4e43ed50e9fe5c00f5.jpg","text":"TemporaryFile(/tmp/multipartBody4705416084634601069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744369253367,"filename":"image_11042025_10_53_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/11/3f7fc4a4bf923b454603b66a5b134c29.jpg","text":"TemporaryFile(/tmp/multipartBody2085299810418509674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744369253367,"filename":"image_11042025_10_53_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/11/33ab499b7d09b4dc1b1e62042cfa71ef.jpg","text":"TemporaryFile(/tmp/multipartBody176130061746022164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744369253367,"filename":"image_11042025_10_53_26_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351648121","file1":"1351648085","file0":"1351648059","file4":"1351648157","file5":"1351648200","file3":"1351648139"},"map_files_photo_id_array":[{"photo_id":"1351648200","filename":"file5"},{"photo_id":"1351648121","filename":"file2"},{"photo_id":"1351648157","filename":"file4"},{"photo_id":"1351648085","filename":"file1"},{"photo_id":"1351648059","filename":"file0"},{"photo_id":"1351648139","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351648059":["hashtag1","hashtag2"]},{"1351648200":["hashtag1","hashtag2"]},{"1351648085":["hashtag1","hashtag2"]},{"1351648157":["hashtag1","hashtag2"]},{"1351648121":["hashtag1","hashtag2"]},{"1351648139":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351648059, 1351648200, 1351648085, 1351648157, 1351648121, 1351648139)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.29154372215271 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 13:00:33.094746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/10/53/image_11042025_10_53_55_9351.jpg', '/home/pi/Desktop/images/11042025/10/53/image_11042025_10_54_06_10411.jpg', '/home/pi/Desktop/images/11042025/10/54/image_11042025_10_54_16_10351.jpg', '/home/pi/Desktop/images/11042025/10/54/image_11042025_10_54_25_9333.jpg', '/home/pi/Desktop/images/11042025/10/54/image_11042025_10_54_36_10375.jpg', '/home/pi/Desktop/images/11042025/10/54/image_11042025_10_54_46_10395.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/10/53/image_11042025_10_53_55_9351.jpg
/home/pi/Desktop/images/11042025/10/53/image_11042025_10_54_06_10411.jpg
/home/pi/Desktop/images/11042025/10/54/image_11042025_10_54_16_10351.jpg
/home/pi/Desktop/images/11042025/10/54/image_11042025_10_54_25_9333.jpg
/home/pi/Desktop/images/11042025/10/54/image_11042025_10_54_36_10375.jpg
/home/pi/Desktop/images/11042025/10/54/image_11042025_10_54_46_10395.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351648710","1351648469","1351648597","1351648415","1351648570","1351648819"],"photo_ids_order":["1351648415","1351648469","1351648570","1351648597","1351648710","1351648819"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/27844a242c8a06ca341cdd2c940458af.jpg","text":"TemporaryFile(/tmp/multipartBody1673148648850555161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744369293565,"filename":"image_11042025_10_54_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/11/3c1fd383c74e7f0f1f3180189756dac9.jpg","text":"TemporaryFile(/tmp/multipartBody8080259880672266211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744369293565,"filename":"image_11042025_10_54_06_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c0f1e1901371b8d81f16828d6a13398e.jpg","text":"TemporaryFile(/tmp/multipartBody2348337717530332192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744369293565,"filename":"image_11042025_10_54_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/11/c8ef01d4e7cb4ec3d65373876f7e7a78.jpg","text":"TemporaryFile(/tmp/multipartBody2889613807792002864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744369293565,"filename":"image_11042025_10_53_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/11/262272bb23bb239cce08e5254479f32a.jpg","text":"TemporaryFile(/tmp/multipartBody5660868476562913744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744369293565,"filename":"image_11042025_10_54_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/11/bc5aa70c93c27235e994065889dd3548.jpg","text":"TemporaryFile(/tmp/multipartBody126075957508864382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744369293565,"filename":"image_11042025_10_54_46_10395.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351648570","file1":"1351648469","file0":"1351648415","file4":"1351648710","file5":"1351648819","file3":"1351648597"},"map_files_photo_id_array":[{"photo_id":"1351648819","filename":"file5"},{"photo_id":"1351648570","filename":"file2"},{"photo_id":"1351648710","filename":"file4"},{"photo_id":"1351648469","filename":"file1"},{"photo_id":"1351648415","filename":"file0"},{"photo_id":"1351648597","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351648710":["hashtag1","hashtag2"]},{"1351648469":["hashtag1","hashtag2"]},{"1351648597":["hashtag1","hashtag2"]},{"1351648415":["hashtag1","hashtag2"]},{"1351648570":["hashtag1","hashtag2"]},{"1351648819":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351648710, 1351648469, 1351648597, 1351648415, 1351648570, 1351648819)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.70129036903381 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 13:01:32.473804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/10/54/image_11042025_10_54_56_9491.jpg', '/home/pi/Desktop/images/11042025/10/54/image_11042025_10_55_06_10405.jpg', '/home/pi/Desktop/images/11042025/10/55/image_11042025_10_55_15_9354.jpg', '/home/pi/Desktop/images/11042025/10/55/image_11042025_10_55_26_10420.jpg', '/home/pi/Desktop/images/11042025/10/55/image_11042025_10_55_36_10344.jpg', '/home/pi/Desktop/images/11042025/10/55/image_11042025_10_55_46_9357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/10/54/image_11042025_10_54_56_9491.jpg
/home/pi/Desktop/images/11042025/10/54/image_11042025_10_55_06_10405.jpg
/home/pi/Desktop/images/11042025/10/55/image_11042025_10_55_15_9354.jpg
/home/pi/Desktop/images/11042025/10/55/image_11042025_10_55_26_10420.jpg
/home/pi/Desktop/images/11042025/10/55/image_11042025_10_55_36_10344.jpg
/home/pi/Desktop/images/11042025/10/55/image_11042025_10_55_46_9357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351649253","1351649310","1351649357","1351649414","1351649392","1351649206"],"photo_ids_order":["1351649206","1351649253","1351649310","1351649357","1351649392","1351649414"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9650c308cb328a793d3ce2760c519ed6.jpg","text":"TemporaryFile(/tmp/multipartBody4822819406273299756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744369352938,"filename":"image_11042025_10_55_06_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7fb2cb9a848bf7beb7248a06c72542a7.jpg","text":"TemporaryFile(/tmp/multipartBody6389930789465689414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744369352938,"filename":"image_11042025_10_55_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/11/645aabc4e9d21be839048d5787fddf90.jpg","text":"TemporaryFile(/tmp/multipartBody2345692742306113073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744369352938,"filename":"image_11042025_10_55_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/11/85e3de5e126d43c00915662ed45429dc.jpg","text":"TemporaryFile(/tmp/multipartBody1986748440382444661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744369352938,"filename":"image_11042025_10_55_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/11/feabb7ba2ebb5772e3aa4e6ae668a4e8.jpg","text":"TemporaryFile(/tmp/multipartBody7247513856748564716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744369352938,"filename":"image_11042025_10_55_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/11/18614d19584c7f23af6b3439fd95a5b2.jpg","text":"TemporaryFile(/tmp/multipartBody197989049050222065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744369352938,"filename":"image_11042025_10_54_56_9491.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351649310","file1":"1351649253","file0":"1351649206","file4":"1351649392","file5":"1351649414","file3":"1351649357"},"map_files_photo_id_array":[{"photo_id":"1351649414","filename":"file5"},{"photo_id":"1351649310","filename":"file2"},{"photo_id":"1351649392","filename":"file4"},{"photo_id":"1351649253","filename":"file1"},{"photo_id":"1351649206","filename":"file0"},{"photo_id":"1351649357","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351649253":["hashtag1","hashtag2"]},{"1351649310":["hashtag1","hashtag2"]},{"1351649357":["hashtag1","hashtag2"]},{"1351649414":["hashtag1","hashtag2"]},{"1351649392":["hashtag1","hashtag2"]},{"1351649206":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351649253, 1351649310, 1351649357, 1351649414, 1351649392, 1351649206)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.008705139160156 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 13:02:32.634537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/10/55/image_11042025_10_55_56_10412.jpg', '/home/pi/Desktop/images/11042025/10/55/image_11042025_10_56_05_9340.jpg', '/home/pi/Desktop/images/11042025/10/56/image_11042025_10_56_16_10494.jpg', '/home/pi/Desktop/images/11042025/10/56/image_11042025_10_56_26_10357.jpg', '/home/pi/Desktop/images/11042025/10/56/image_11042025_10_56_36_9349.jpg', '/home/pi/Desktop/images/11042025/10/56/image_11042025_10_56_46_10376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/10/55/image_11042025_10_55_56_10412.jpg
/home/pi/Desktop/images/11042025/10/55/image_11042025_10_56_05_9340.jpg
/home/pi/Desktop/images/11042025/10/56/image_11042025_10_56_16_10494.jpg
/home/pi/Desktop/images/11042025/10/56/image_11042025_10_56_26_10357.jpg
/home/pi/Desktop/images/11042025/10/56/image_11042025_10_56_36_9349.jpg
/home/pi/Desktop/images/11042025/10/56/image_11042025_10_56_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":["1351649649","1351649564","1351649695","1351649590","1351649799","1351649751"],"photo_ids_order":["1351649564","1351649590","1351649649","1351649695","1351649751","1351649799"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9af2c42d8f4582df12f1007f575bbaf7.jpg","text":"TemporaryFile(/tmp/multipartBody960284752990060423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744369413096,"filename":"image_11042025_10_56_16_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/11/316e347bf73a10bce761555ec06d2b1a.jpg","text":"TemporaryFile(/tmp/multipartBody4605512788420465626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744369413096,"filename":"image_11042025_10_55_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/11/d6f07bcdd63c5eebbb52b3316afc73f2.jpg","text":"TemporaryFile(/tmp/multipartBody539758027041916443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744369413096,"filename":"image_11042025_10_56_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/11/20361c89092c9eb0a8624976f4912e37.jpg","text":"TemporaryFile(/tmp/multipartBody5647018282752760366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744369413096,"filename":"image_11042025_10_56_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/11/9a171ef9c37e6a6e3a440e7c28136b26.jpg","text":"TemporaryFile(/tmp/multipartBody9030347226896902267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744369413096,"filename":"image_11042025_10_56_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/11/06a2569c346f4a6ceee8431dfdbd73c1.jpg","text":"TemporaryFile(/tmp/multipartBody5332466228153344942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744369413096,"filename":"image_11042025_10_56_36_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351649649","file1":"1351649590","file0":"1351649564","file4":"1351649751","file5":"1351649799","file3":"1351649695"},"map_files_photo_id_array":[{"photo_id":"1351649799","filename":"file5"},{"photo_id":"1351649649","filename":"file2"},{"photo_id":"1351649751","filename":"file4"},{"photo_id":"1351649590","filename":"file1"},{"photo_id":"1351649564","filename":"file0"},{"photo_id":"1351649695","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351649649":["hashtag1","hashtag2"]},{"1351649564":["hashtag1","hashtag2"]},{"1351649695":["hashtag1","hashtag2"]},{"1351649590":["hashtag1","hashtag2"]},{"1351649799":["hashtag1","hashtag2"]},{"1351649751":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351649649, 1351649564, 1351649695, 1351649590, 1351649799, 1351649751)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.208783864974976 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 13:03:32.955246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/10/56/image_11042025_10_56_55_9432.jpg', '/home/pi/Desktop/images/11042025/10/56/image_11042025_10_57_06_10438.jpg', '/home/pi/Desktop/images/11042025/10/57/image_11042025_10_57_16_10349.jpg', '/home/pi/Desktop/images/11042025/10/57/image_11042025_10_57_26_9444.jpg', '/home/pi/Desktop/images/11042025/10/57/image_11042025_10_57_36_10426.jpg', '/home/pi/Desktop/images/11042025/10/57/image_11042025_10_57_45_9443.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/10/56/image_11042025_10_56_55_9432.jpg
/home/pi/Desktop/images/11042025/10/56/image_11042025_10_57_06_10438.jpg
/home/pi/Desktop/images/11042025/10/57/image_11042025_10_57_16_10349.jpg
/home/pi/Desktop/images/11042025/10/57/image_11042025_10_57_26_9444.jpg
/home/pi/Desktop/images/11042025/10/57/image_11042025_10_57_36_10426.jpg
/home/pi/Desktop/images/11042025/10/57/image_11042025_10_57_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":["1351650010","1351649934","1351650065","1351650038","1351650107","1351649958"],"photo_ids_order":["1351649934","1351649958","1351650010","1351650038","1351650065","1351650107"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0dc9821d0f8db32e811f5bd5cdafc7c7.jpg","text":"TemporaryFile(/tmp/multipartBody6964954310464467950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744369473431,"filename":"image_11042025_10_57_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/11/8a5230fb3fab3584a7cc689adf39fa7d.jpg","text":"TemporaryFile(/tmp/multipartBody7855503491113667601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744369473431,"filename":"image_11042025_10_56_55_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8fa319a0ffbdd41651af8e1bcd879591.jpg","text":"TemporaryFile(/tmp/multipartBody9213236889111965172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744369473431,"filename":"image_11042025_10_57_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/11/3dd853e9932491ffc16eed4c8338b5b8.jpg","text":"TemporaryFile(/tmp/multipartBody3543144189153887027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744369473431,"filename":"image_11042025_10_57_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/11/31e841289cd03055770325661d355e31.jpg","text":"TemporaryFile(/tmp/multipartBody7908599944859078001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744369473431,"filename":"image_11042025_10_57_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/11/7e636ae512567674bb97dc9e92100cf9.jpg","text":"TemporaryFile(/tmp/multipartBody8071878227656206147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744369473431,"filename":"image_11042025_10_57_06_10438.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351650010","file1":"1351649958","file0":"1351649934","file4":"1351650065","file5":"1351650107","file3":"1351650038"},"map_files_photo_id_array":[{"photo_id":"1351650107","filename":"file5"},{"photo_id":"1351650010","filename":"file2"},{"photo_id":"1351650065","filename":"file4"},{"photo_id":"1351649958","filename":"file1"},{"photo_id":"1351649934","filename":"file0"},{"photo_id":"1351650038","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351650010":["hashtag1","hashtag2"]},{"1351649934":["hashtag1","hashtag2"]},{"1351650065":["hashtag1","hashtag2"]},{"1351650038":["hashtag1","hashtag2"]},{"1351650107":["hashtag1","hashtag2"]},{"1351649958":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351650010, 1351649934, 1351650065, 1351650038, 1351650107, 1351649958)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.297773122787476 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 13:04:32.305078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/10/57/image_11042025_10_57_56_10436.jpg', '/home/pi/Desktop/images/11042025/10/57/image_11042025_10_58_05_9429.jpg', '/home/pi/Desktop/images/11042025/10/58/image_11042025_10_58_16_10435.jpg', '/home/pi/Desktop/images/11042025/10/58/image_11042025_10_58_26_10358.jpg', '/home/pi/Desktop/images/11042025/10/58/image_11042025_10_58_35_9375.jpg', '/home/pi/Desktop/images/11042025/10/58/image_11042025_10_58_46_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/10/57/image_11042025_10_57_56_10436.jpg
/home/pi/Desktop/images/11042025/10/57/image_11042025_10_58_05_9429.jpg
/home/pi/Desktop/images/11042025/10/58/image_11042025_10_58_16_10435.jpg
/home/pi/Desktop/images/11042025/10/58/image_11042025_10_58_26_10358.jpg
/home/pi/Desktop/images/11042025/10/58/image_11042025_10_58_35_9375.jpg
/home/pi/Desktop/images/11042025/10/58/image_11042025_10_58_46_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351650489","1351650549","1351650429","1351650329","1351650416","1351650370"],"photo_ids_order":["1351650329","1351650370","1351650416","1351650429","1351650489","1351650549"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c8f58f3b7fc9d85339916fffc30156af.jpg","text":"TemporaryFile(/tmp/multipartBody8203878019481363383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744369532763,"filename":"image_11042025_10_58_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/11/0f0797d66d154de405e8002b0cab18cf.jpg","text":"TemporaryFile(/tmp/multipartBody8137410076738605027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744369532763,"filename":"image_11042025_10_58_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/11/66982fc200106dc7b481a2021f55fae6.jpg","text":"TemporaryFile(/tmp/multipartBody8095355670647508216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744369532763,"filename":"image_11042025_10_58_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/11/bf4e9ff5a7057eab8fe4a0d0e584f443.jpg","text":"TemporaryFile(/tmp/multipartBody7119068885163307619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744369532763,"filename":"image_11042025_10_57_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/11/a2635cf809ed6e491e0c127f6646c015.jpg","text":"TemporaryFile(/tmp/multipartBody8954995989375983775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744369532763,"filename":"image_11042025_10_58_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/11/fd33c46aecf5e4ed4e07e4308ef97feb.jpg","text":"TemporaryFile(/tmp/multipartBody5821972918530980790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744369532763,"filename":"image_11042025_10_58_05_9429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351650416","file1":"1351650370","file0":"1351650329","file4":"1351650489","file5":"1351650549","file3":"1351650429"},"map_files_photo_id_array":[{"photo_id":"1351650549","filename":"file5"},{"photo_id":"1351650416","filename":"file2"},{"photo_id":"1351650489","filename":"file4"},{"photo_id":"1351650370","filename":"file1"},{"photo_id":"1351650329","filename":"file0"},{"photo_id":"1351650429","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351650489":["hashtag1","hashtag2"]},{"1351650549":["hashtag1","hashtag2"]},{"1351650429":["hashtag1","hashtag2"]},{"1351650329":["hashtag1","hashtag2"]},{"1351650416":["hashtag1","hashtag2"]},{"1351650370":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351650489, 1351650549, 1351650429, 1351650329, 1351650416, 1351650370)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.920886516571045 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 13:05:32.592856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/10/58/image_11042025_10_58_56_10393.jpg', '/home/pi/Desktop/images/11042025/10/58/image_11042025_10_59_06_9345.jpg', '/home/pi/Desktop/images/11042025/10/59/image_11042025_10_59_16_10421.jpg', '/home/pi/Desktop/images/11042025/10/59/image_11042025_10_59_25_9386.jpg', '/home/pi/Desktop/images/11042025/10/59/image_11042025_10_59_36_10507.jpg', '/home/pi/Desktop/images/11042025/10/59/image_11042025_10_59_45_9370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/10/58/image_11042025_10_58_56_10393.jpg
/home/pi/Desktop/images/11042025/10/58/image_11042025_10_59_06_9345.jpg
/home/pi/Desktop/images/11042025/10/59/image_11042025_10_59_16_10421.jpg
/home/pi/Desktop/images/11042025/10/59/image_11042025_10_59_25_9386.jpg
/home/pi/Desktop/images/11042025/10/59/image_11042025_10_59_36_10507.jpg
/home/pi/Desktop/images/11042025/10/59/image_11042025_10_59_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":["1351651104","1351651268","1351651175","1351650863","1351650911","1351650999"],"photo_ids_order":["1351650863","1351650911","1351650999","1351651104","1351651175","1351651268"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/496183b6d136a9e0d133e14f8cdee5c3.jpg","text":"TemporaryFile(/tmp/multipartBody5681318436353255755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744369593055,"filename":"image_11042025_10_59_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/11/618bfe7ae7b255893f5f88c4728e7446.jpg","text":"TemporaryFile(/tmp/multipartBody5159404003785033754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744369593055,"filename":"image_11042025_10_59_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/11/468cd473e25ade587c33c0fd7584564d.jpg","text":"TemporaryFile(/tmp/multipartBody4617780721647777080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744369593055,"filename":"image_11042025_10_59_36_10507.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4ae9d95f4b5b363c61be9de0bc8a1f63.jpg","text":"TemporaryFile(/tmp/multipartBody168602632562234331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744369593055,"filename":"image_11042025_10_58_56_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/803469fcfc764c7f1f1f584876c521be.jpg","text":"TemporaryFile(/tmp/multipartBody6710185110101136708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744369593055,"filename":"image_11042025_10_59_06_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2cc02c3dbe7da0752933a9e601a1b169.jpg","text":"TemporaryFile(/tmp/multipartBody6798225183743747732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744369593055,"filename":"image_11042025_10_59_16_10421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351650999","file1":"1351650911","file0":"1351650863","file4":"1351651175","file5":"1351651268","file3":"1351651104"},"map_files_photo_id_array":[{"photo_id":"1351651268","filename":"file5"},{"photo_id":"1351650999","filename":"file2"},{"photo_id":"1351651175","filename":"file4"},{"photo_id":"1351650911","filename":"file1"},{"photo_id":"1351650863","filename":"file0"},{"photo_id":"1351651104","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351651104":["hashtag1","hashtag2"]},{"1351651268":["hashtag1","hashtag2"]},{"1351651175":["hashtag1","hashtag2"]},{"1351650863":["hashtag1","hashtag2"]},{"1351650911":["hashtag1","hashtag2"]},{"1351650999":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351651104, 1351651268, 1351651175, 1351650863, 1351650911, 1351650999)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.57881498336792 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 13:06:32.711511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/10/59/image_11042025_10_59_56_10501.jpg', '/home/pi/Desktop/images/11042025/11/01/image_11042025_11_01_14_10078.jpg', '/home/pi/Desktop/images/11042025/11/01/image_11042025_11_01_24_10416.jpg', '/home/pi/Desktop/images/11042025/11/01/image_11042025_11_01_35_10354.jpg', '/home/pi/Desktop/images/11042025/11/01/image_11042025_11_01_44_9349.jpg', '/home/pi/Desktop/images/11042025/11/01/image_11042025_11_01_55_10439.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/10/59/image_11042025_10_59_56_10501.jpg
/home/pi/Desktop/images/11042025/11/01/image_11042025_11_01_14_10078.jpg
/home/pi/Desktop/images/11042025/11/01/image_11042025_11_01_24_10416.jpg
/home/pi/Desktop/images/11042025/11/01/image_11042025_11_01_35_10354.jpg
/home/pi/Desktop/images/11042025/11/01/image_11042025_11_01_44_9349.jpg
/home/pi/Desktop/images/11042025/11/01/image_11042025_11_01_55_10439.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351651598","1351651589","1351651583","1351651559","1351651593","1351651575"],"photo_ids_order":["1351651559","1351651575","1351651583","1351651589","1351651593","1351651598"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/efd35603c7d6a130f9829b7ede7e70e1.jpg","text":"TemporaryFile(/tmp/multipartBody1119316320801026871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744369653187,"filename":"image_11042025_11_01_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/11/418b14d69e493a5b7149ce9f6c33627a.jpg","text":"TemporaryFile(/tmp/multipartBody7375360868671778904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744369653187,"filename":"image_11042025_11_01_35_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1066b615c93bf7d806cb3b73c73d52e7.jpg","text":"TemporaryFile(/tmp/multipartBody8879537055047409906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744369653187,"filename":"image_11042025_11_01_24_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/11/3b2fd9a3595f2d3d9e1ff8fb709cf29a.jpg","text":"TemporaryFile(/tmp/multipartBody5800110912308633575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744369653187,"filename":"image_11042025_10_59_56_10501.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/dba8519d420ebf709d999785c5768a9f.jpg","text":"TemporaryFile(/tmp/multipartBody2862931285222215913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744369653187,"filename":"image_11042025_11_01_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/11/ebfc040d04cf17b01794a736e7ed22bd.jpg","text":"TemporaryFile(/tmp/multipartBody2742221083118267186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744369653187,"filename":"image_11042025_11_01_14_10078.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351651583","file1":"1351651575","file0":"1351651559","file4":"1351651593","file5":"1351651598","file3":"1351651589"},"map_files_photo_id_array":[{"photo_id":"1351651598","filename":"file5"},{"photo_id":"1351651583","filename":"file2"},{"photo_id":"1351651593","filename":"file4"},{"photo_id":"1351651575","filename":"file1"},{"photo_id":"1351651559","filename":"file0"},{"photo_id":"1351651589","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351651598":["hashtag1","hashtag2"]},{"1351651589":["hashtag1","hashtag2"]},{"1351651583":["hashtag1","hashtag2"]},{"1351651559":["hashtag1","hashtag2"]},{"1351651593":["hashtag1","hashtag2"]},{"1351651575":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351651598, 1351651589, 1351651583, 1351651559, 1351651593, 1351651575)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.73733901977539 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 13:07:32.983407
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/11/01/image_11042025_11_02_05_10363.jpg', '/home/pi/Desktop/images/11042025/11/02/image_11042025_11_02_14_9347.jpg', '/home/pi/Desktop/images/11042025/11/02/image_11042025_11_02_25_10454.jpg', '/home/pi/Desktop/images/11042025/11/02/image_11042025_11_02_34_9344.jpg', '/home/pi/Desktop/images/11042025/11/02/image_11042025_11_02_45_10414.jpg', '/home/pi/Desktop/images/11042025/11/02/image_11042025_11_02_55_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/11/01/image_11042025_11_02_05_10363.jpg
/home/pi/Desktop/images/11042025/11/02/image_11042025_11_02_14_9347.jpg
/home/pi/Desktop/images/11042025/11/02/image_11042025_11_02_25_10454.jpg
/home/pi/Desktop/images/11042025/11/02/image_11042025_11_02_34_9344.jpg
/home/pi/Desktop/images/11042025/11/02/image_11042025_11_02_45_10414.jpg
/home/pi/Desktop/images/11042025/11/02/image_11042025_11_02_55_10372.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3718585968017578 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 13:07:42.915294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/11/01/image_11042025_11_02_05_10363.jpg', '/home/pi/Desktop/images/11042025/11/02/image_11042025_11_02_14_9347.jpg', '/home/pi/Desktop/images/11042025/11/02/image_11042025_11_02_25_10454.jpg', '/home/pi/Desktop/images/11042025/11/02/image_11042025_11_02_34_9344.jpg', '/home/pi/Desktop/images/11042025/11/02/image_11042025_11_02_45_10414.jpg', '/home/pi/Desktop/images/11042025/11/02/image_11042025_11_02_55_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/11/01/image_11042025_11_02_05_10363.jpg
/home/pi/Desktop/images/11042025/11/02/image_11042025_11_02_14_9347.jpg
/home/pi/Desktop/images/11042025/11/02/image_11042025_11_02_25_10454.jpg
/home/pi/Desktop/images/11042025/11/02/image_11042025_11_02_34_9344.jpg
/home/pi/Desktop/images/11042025/11/02/image_11042025_11_02_45_10414.jpg
/home/pi/Desktop/images/11042025/11/02/image_11042025_11_02_55_10372.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351651857","1351651830","1351651926","1351651802","1351651879","1351651968"],"photo_ids_order":["1351651802","1351651830","1351651857","1351651879","1351651926","1351651968"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e476815d7cbe428decfcdb65e08894b6.jpg","text":"TemporaryFile(/tmp/multipartBody5518430710079138314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744369723704,"filename":"image_11042025_11_02_25_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c1189c6c0136210ad5821cd050702fd9.jpg","text":"TemporaryFile(/tmp/multipartBody5644884468473131931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744369723704,"filename":"image_11042025_11_02_14_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/18d42811bfc95f7b7982754c4dfd6b0f.jpg","text":"TemporaryFile(/tmp/multipartBody5738382419444084698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744369723704,"filename":"image_11042025_11_02_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/11/b870f11e8776bd4ccd36e201ef349ce2.jpg","text":"TemporaryFile(/tmp/multipartBody1043667453790238246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744369723704,"filename":"image_11042025_11_02_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/11/49a1ea8462e7ca4ba0a062a6c8414b87.jpg","text":"TemporaryFile(/tmp/multipartBody5131432501779920726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744369723704,"filename":"image_11042025_11_02_34_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/cb5dfe278eb449569ff1abbdfcf45a04.jpg","text":"TemporaryFile(/tmp/multipartBody565381574195129045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744369723704,"filename":"image_11042025_11_02_55_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351651857","file1":"1351651830","file0":"1351651802","file4":"1351651926","file5":"1351651968","file3":"1351651879"},"map_files_photo_id_array":[{"photo_id":"1351651968","filename":"file5"},{"photo_id":"1351651857","filename":"file2"},{"photo_id":"1351651926","filename":"file4"},{"photo_id":"1351651830","filename":"file1"},{"photo_id":"1351651802","filename":"file0"},{"photo_id":"1351651879","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351651857":["hashtag1","hashtag2"]},{"1351651830":["hashtag1","hashtag2"]},{"1351651926":["hashtag1","hashtag2"]},{"1351651802":["hashtag1","hashtag2"]},{"1351651879":["hashtag1","hashtag2"]},{"1351651968":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351651857, 1351651830, 1351651926, 1351651802, 1351651879, 1351651968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.73647618293762 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 13:08:32.292252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/11/02/image_11042025_11_03_04_9340.jpg', '/home/pi/Desktop/images/11042025/11/03/image_11042025_11_03_15_10364.jpg', '/home/pi/Desktop/images/11042025/11/03/image_11042025_11_03_24_9413.jpg', '/home/pi/Desktop/images/11042025/11/03/image_11042025_11_03_34_10363.jpg', '/home/pi/Desktop/images/11042025/11/03/image_11042025_11_03_45_10474.jpg', '/home/pi/Desktop/images/11042025/11/03/image_11042025_11_03_54_9332.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/11/02/image_11042025_11_03_04_9340.jpg
/home/pi/Desktop/images/11042025/11/03/image_11042025_11_03_15_10364.jpg
/home/pi/Desktop/images/11042025/11/03/image_11042025_11_03_24_9413.jpg
/home/pi/Desktop/images/11042025/11/03/image_11042025_11_03_34_10363.jpg
/home/pi/Desktop/images/11042025/11/03/image_11042025_11_03_45_10474.jpg
/home/pi/Desktop/images/11042025/11/03/image_11042025_11_03_54_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":["1351652099","1351652173","1351652137","1351652181","1351652160","1351652076"],"photo_ids_order":["1351652076","1351652099","1351652137","1351652160","1351652173","1351652181"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/cb01fc31ed6274294f47eb2ae30b6627.jpg","text":"TemporaryFile(/tmp/multipartBody4228119719113857982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744369772742,"filename":"image_11042025_11_03_15_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/845b8c080e44459f26968faf8b59f3c8.jpg","text":"TemporaryFile(/tmp/multipartBody9037893212387296264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744369772742,"filename":"image_11042025_11_03_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/11/e6d252699bae495463e9f9766d1ba281.jpg","text":"TemporaryFile(/tmp/multipartBody181085834351741328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744369772742,"filename":"image_11042025_11_03_24_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e9fb1a6fd86238af30f69667b5d0e0c5.jpg","text":"TemporaryFile(/tmp/multipartBody938959159813847932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744369772742,"filename":"image_11042025_11_03_54_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3811c64e5de6b725e9da993e5ca597b8.jpg","text":"TemporaryFile(/tmp/multipartBody4248258132744481544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744369772742,"filename":"image_11042025_11_03_34_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3391e61bbf724e67333b15fe6a664bc3.jpg","text":"TemporaryFile(/tmp/multipartBody1166189140795328272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744369772742,"filename":"image_11042025_11_03_04_9340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351652137","file1":"1351652099","file0":"1351652076","file4":"1351652173","file5":"1351652181","file3":"1351652160"},"map_files_photo_id_array":[{"photo_id":"1351652181","filename":"file5"},{"photo_id":"1351652137","filename":"file2"},{"photo_id":"1351652173","filename":"file4"},{"photo_id":"1351652099","filename":"file1"},{"photo_id":"1351652076","filename":"file0"},{"photo_id":"1351652160","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351652099":["hashtag1","hashtag2"]},{"1351652173":["hashtag1","hashtag2"]},{"1351652137":["hashtag1","hashtag2"]},{"1351652181":["hashtag1","hashtag2"]},{"1351652160":["hashtag1","hashtag2"]},{"1351652076":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351652099, 1351652173, 1351652137, 1351652181, 1351652160, 1351652076)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.69089317321777 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 13:09:32.472464
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/11/03/image_11042025_11_04_05_10365.jpg', '/home/pi/Desktop/images/11042025/11/04/image_11042025_11_04_15_10374.jpg', '/home/pi/Desktop/images/11042025/11/04/image_11042025_11_04_24_9429.jpg', '/home/pi/Desktop/images/11042025/11/04/image_11042025_11_04_35_10494.jpg', '/home/pi/Desktop/images/11042025/11/04/image_11042025_11_04_44_9342.jpg', '/home/pi/Desktop/images/11042025/11/04/image_11042025_11_05_05_10373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/11/03/image_11042025_11_04_05_10365.jpg
/home/pi/Desktop/images/11042025/11/04/image_11042025_11_04_15_10374.jpg
/home/pi/Desktop/images/11042025/11/04/image_11042025_11_04_24_9429.jpg
/home/pi/Desktop/images/11042025/11/04/image_11042025_11_04_35_10494.jpg
/home/pi/Desktop/images/11042025/11/04/image_11042025_11_04_44_9342.jpg
/home/pi/Desktop/images/11042025/11/04/image_11042025_11_05_05_10373.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351652561","1351652513","1351652485","1351652419","1351652580","1351652451"],"photo_ids_order":["1351652419","1351652451","1351652485","1351652513","1351652561","1351652580"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/48724c2b2074402ad0bf4bca73e1348f.jpg","text":"TemporaryFile(/tmp/multipartBody4783561060791786518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744369832931,"filename":"image_11042025_11_04_44_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/858fdcf826ff7c5c10f24c6c5ecda971.jpg","text":"TemporaryFile(/tmp/multipartBody5872837243794469190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744369832931,"filename":"image_11042025_11_04_35_10494.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/42e95fbde81f82b876265e10239872cb.jpg","text":"TemporaryFile(/tmp/multipartBody597547493485280824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744369832931,"filename":"image_11042025_11_04_24_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/64e708a079aeb94ae09bb52438311d9a.jpg","text":"TemporaryFile(/tmp/multipartBody992260840698599020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744369832931,"filename":"image_11042025_11_04_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/11/cccc5c52486caba31ed7c1f9b560c7cf.jpg","text":"TemporaryFile(/tmp/multipartBody3215271515860254527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744369832931,"filename":"image_11042025_11_05_05_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/22b14f8b69a9229d178e650dad804a3f.jpg","text":"TemporaryFile(/tmp/multipartBody1923824491085700957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744369832931,"filename":"image_11042025_11_04_15_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351652485","file1":"1351652451","file0":"1351652419","file4":"1351652561","file5":"1351652580","file3":"1351652513"},"map_files_photo_id_array":[{"photo_id":"1351652580","filename":"file5"},{"photo_id":"1351652485","filename":"file2"},{"photo_id":"1351652561","filename":"file4"},{"photo_id":"1351652451","filename":"file1"},{"photo_id":"1351652419","filename":"file0"},{"photo_id":"1351652513","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351652561":["hashtag1","hashtag2"]},{"1351652513":["hashtag1","hashtag2"]},{"1351652485":["hashtag1","hashtag2"]},{"1351652419":["hashtag1","hashtag2"]},{"1351652580":["hashtag1","hashtag2"]},{"1351652451":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351652561, 1351652513, 1351652485, 1351652419, 1351652580, 1351652451)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.09010291099548 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 13:10:32.677027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/11/05/image_11042025_11_05_14_9390.jpg', '/home/pi/Desktop/images/11042025/11/05/image_11042025_11_05_25_10436.jpg', '/home/pi/Desktop/images/11042025/11/05/image_11042025_11_05_34_9356.jpg', '/home/pi/Desktop/images/11042025/11/05/image_11042025_11_05_44_10368.jpg', '/home/pi/Desktop/images/11042025/11/05/image_11042025_11_05_55_10434.jpg', '/home/pi/Desktop/images/11042025/11/05/image_11042025_11_06_04_9346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/11/05/image_11042025_11_05_14_9390.jpg
/home/pi/Desktop/images/11042025/11/05/image_11042025_11_05_25_10436.jpg
/home/pi/Desktop/images/11042025/11/05/image_11042025_11_05_34_9356.jpg
/home/pi/Desktop/images/11042025/11/05/image_11042025_11_05_44_10368.jpg
/home/pi/Desktop/images/11042025/11/05/image_11042025_11_05_55_10434.jpg
/home/pi/Desktop/images/11042025/11/05/image_11042025_11_06_04_9346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351652774","1351652843","1351652732","1351652758","1351652830","1351652802"],"photo_ids_order":["1351652732","1351652758","1351652774","1351652802","1351652830","1351652843"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9f3632762588aa73f954756e9fc2523e.jpg","text":"TemporaryFile(/tmp/multipartBody5938726301905345082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744369893136,"filename":"image_11042025_11_05_34_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7f61a28cc0fad584401352ac15b93bde.jpg","text":"TemporaryFile(/tmp/multipartBody3428205784591793179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744369893136,"filename":"image_11042025_11_06_04_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7adcfc3eb7784f49a23db6f849e76e47.jpg","text":"TemporaryFile(/tmp/multipartBody7093797084014267169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744369893136,"filename":"image_11042025_11_05_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/11/57c6d8d06a7909391216103c78c8eb9a.jpg","text":"TemporaryFile(/tmp/multipartBody6916853039724007711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744369893136,"filename":"image_11042025_11_05_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/11/a5f52110bf469d82f8868df416d14d84.jpg","text":"TemporaryFile(/tmp/multipartBody3435231803048657782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744369893136,"filename":"image_11042025_11_05_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/11/795e36408bf537390eb73014d7ee1b0c.jpg","text":"TemporaryFile(/tmp/multipartBody4486188760598630214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744369893136,"filename":"image_11042025_11_05_44_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351652774","file1":"1351652758","file0":"1351652732","file4":"1351652830","file5":"1351652843","file3":"1351652802"},"map_files_photo_id_array":[{"photo_id":"1351652843","filename":"file5"},{"photo_id":"1351652774","filename":"file2"},{"photo_id":"1351652830","filename":"file4"},{"photo_id":"1351652758","filename":"file1"},{"photo_id":"1351652732","filename":"file0"},{"photo_id":"1351652802","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351652774":["hashtag1","hashtag2"]},{"1351652843":["hashtag1","hashtag2"]},{"1351652732":["hashtag1","hashtag2"]},{"1351652758":["hashtag1","hashtag2"]},{"1351652830":["hashtag1","hashtag2"]},{"1351652802":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351652774, 1351652843, 1351652732, 1351652758, 1351652830, 1351652802)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.325220584869385 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 13:11:32.840841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/11/06/image_11042025_11_06_15_10491.jpg', '/home/pi/Desktop/images/11042025/11/06/image_11042025_11_06_24_9339.jpg', '/home/pi/Desktop/images/11042025/11/06/image_11042025_11_06_34_10381.jpg', '/home/pi/Desktop/images/11042025/11/06/image_11042025_11_06_45_10349.jpg', '/home/pi/Desktop/images/11042025/11/06/image_11042025_11_06_54_9347.jpg', '/home/pi/Desktop/images/11042025/11/06/image_11042025_11_07_04_10341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/11/06/image_11042025_11_06_15_10491.jpg
/home/pi/Desktop/images/11042025/11/06/image_11042025_11_06_24_9339.jpg
/home/pi/Desktop/images/11042025/11/06/image_11042025_11_06_34_10381.jpg
/home/pi/Desktop/images/11042025/11/06/image_11042025_11_06_45_10349.jpg
/home/pi/Desktop/images/11042025/11/06/image_11042025_11_06_54_9347.jpg
/home/pi/Desktop/images/11042025/11/06/image_11042025_11_07_04_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":["1351652981","1351652959","1351652902","1351652932","1351652877","1351653021"],"photo_ids_order":["1351652877","1351652902","1351652932","1351652959","1351652981","1351653021"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/86b70e3b09feb0b4d20cbe12f885ff61.jpg","text":"TemporaryFile(/tmp/multipartBody3192689695097485475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744369953297,"filename":"image_11042025_11_06_54_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a06678fc990fcb3e7e490f9871f9d273.jpg","text":"TemporaryFile(/tmp/multipartBody3640065899637320378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744369953297,"filename":"image_11042025_11_06_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/11/25e1cec2f534d4acb20c992766aa820c.jpg","text":"TemporaryFile(/tmp/multipartBody1213892224699011166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744369953297,"filename":"image_11042025_11_06_24_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/31c201e0d1e6e718141c70ea4244fea5.jpg","text":"TemporaryFile(/tmp/multipartBody6228756565993241648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744369953297,"filename":"image_11042025_11_06_34_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0d24e38147e6d59888ff43cab623417a.jpg","text":"TemporaryFile(/tmp/multipartBody1150651983694703633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744369953297,"filename":"image_11042025_11_06_15_10491.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8402a320b47ddf010b6501e6eeab8bb8.jpg","text":"TemporaryFile(/tmp/multipartBody6194503972347775550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744369953297,"filename":"image_11042025_11_07_04_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351652932","file1":"1351652902","file0":"1351652877","file4":"1351652981","file5":"1351653021","file3":"1351652959"},"map_files_photo_id_array":[{"photo_id":"1351653021","filename":"file5"},{"photo_id":"1351652932","filename":"file2"},{"photo_id":"1351652981","filename":"file4"},{"photo_id":"1351652902","filename":"file1"},{"photo_id":"1351652877","filename":"file0"},{"photo_id":"1351652959","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351652981":["hashtag1","hashtag2"]},{"1351652959":["hashtag1","hashtag2"]},{"1351652902":["hashtag1","hashtag2"]},{"1351652932":["hashtag1","hashtag2"]},{"1351652877":["hashtag1","hashtag2"]},{"1351653021":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351652981, 1351652959, 1351652902, 1351652932, 1351652877, 1351653021)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.25339698791504 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 13:12:33.033537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/11/07/image_11042025_11_07_15_10430.jpg', '/home/pi/Desktop/images/11042025/11/07/image_11042025_11_07_24_9384.jpg', '/home/pi/Desktop/images/11042025/11/07/image_11042025_11_07_35_10488.jpg', '/home/pi/Desktop/images/11042025/11/07/image_11042025_11_07_44_9350.jpg', '/home/pi/Desktop/images/11042025/11/07/image_11042025_11_07_55_10375.jpg', '/home/pi/Desktop/images/11042025/11/07/image_11042025_11_08_05_10401.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/11/07/image_11042025_11_07_15_10430.jpg
/home/pi/Desktop/images/11042025/11/07/image_11042025_11_07_24_9384.jpg
/home/pi/Desktop/images/11042025/11/07/image_11042025_11_07_35_10488.jpg
/home/pi/Desktop/images/11042025/11/07/image_11042025_11_07_44_9350.jpg
/home/pi/Desktop/images/11042025/11/07/image_11042025_11_07_55_10375.jpg
/home/pi/Desktop/images/11042025/11/07/image_11042025_11_08_05_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":["1351653473","1351653361","1351653412","1351653588","1351653444","1351653312"],"photo_ids_order":["1351653312","1351653361","1351653412","1351653444","1351653473","1351653588"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/78bf81d1dcfbc587ed05529c386ca74c.jpg","text":"TemporaryFile(/tmp/multipartBody5371053681381772437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370013487,"filename":"image_11042025_11_07_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/11/aa05818e0e618fd705c355800032d0d0.jpg","text":"TemporaryFile(/tmp/multipartBody6818804234033065848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370013487,"filename":"image_11042025_11_07_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/11/1a320566264cd104aeb19d3e9039b572.jpg","text":"TemporaryFile(/tmp/multipartBody6360440596889122143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370013487,"filename":"image_11042025_11_07_35_10488.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/81cc840eec7ec6402dd3e2f7e58a77e6.jpg","text":"TemporaryFile(/tmp/multipartBody2930221916886412035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370013487,"filename":"image_11042025_11_08_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/11/e299ce42fe15c0876100a23ff95a5d2e.jpg","text":"TemporaryFile(/tmp/multipartBody3737080094269429901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370013487,"filename":"image_11042025_11_07_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/11/4966471098647b7c5169ac64579b5254.jpg","text":"TemporaryFile(/tmp/multipartBody7615895232557397227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370013487,"filename":"image_11042025_11_07_15_10430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351653412","file1":"1351653361","file0":"1351653312","file4":"1351653473","file5":"1351653588","file3":"1351653444"},"map_files_photo_id_array":[{"photo_id":"1351653588","filename":"file5"},{"photo_id":"1351653412","filename":"file2"},{"photo_id":"1351653473","filename":"file4"},{"photo_id":"1351653361","filename":"file1"},{"photo_id":"1351653312","filename":"file0"},{"photo_id":"1351653444","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351653473":["hashtag1","hashtag2"]},{"1351653361":["hashtag1","hashtag2"]},{"1351653412":["hashtag1","hashtag2"]},{"1351653588":["hashtag1","hashtag2"]},{"1351653444":["hashtag1","hashtag2"]},{"1351653312":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351653473, 1351653361, 1351653412, 1351653588, 1351653444, 1351653312)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.10665488243103 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 13:13:32.429498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/11/08/image_11042025_11_08_14_9353.jpg', '/home/pi/Desktop/images/11042025/11/08/image_11042025_11_08_25_10344.jpg', '/home/pi/Desktop/images/11042025/11/08/image_11042025_11_08_34_9415.jpg', '/home/pi/Desktop/images/11042025/11/08/image_11042025_11_08_44_10352.jpg', '/home/pi/Desktop/images/11042025/11/08/image_11042025_11_08_55_10386.jpg', '/home/pi/Desktop/images/11042025/11/09/image_11042025_11_09_14_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/11/08/image_11042025_11_08_14_9353.jpg
/home/pi/Desktop/images/11042025/11/08/image_11042025_11_08_25_10344.jpg
/home/pi/Desktop/images/11042025/11/08/image_11042025_11_08_34_9415.jpg
/home/pi/Desktop/images/11042025/11/08/image_11042025_11_08_44_10352.jpg
/home/pi/Desktop/images/11042025/11/08/image_11042025_11_08_55_10386.jpg
/home/pi/Desktop/images/11042025/11/09/image_11042025_11_09_14_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":["1351653892","1351653769","1351653855","1351653942","1351653816","1351653705"],"photo_ids_order":["1351653705","1351653769","1351653816","1351653855","1351653892","1351653942"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/587e5ab26636f930bee2f725a487cd49.jpg","text":"TemporaryFile(/tmp/multipartBody6557976090105183801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370072899,"filename":"image_11042025_11_08_55_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d6efb06c186120e8f167a72e888deb8f.jpg","text":"TemporaryFile(/tmp/multipartBody34216337563490144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370072899,"filename":"image_11042025_11_08_25_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f6c835177d9a76871d8821230a1f143a.jpg","text":"TemporaryFile(/tmp/multipartBody2770634059406506006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370072899,"filename":"image_11042025_11_08_44_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d0c757f7cac39bb6da11e30123f08d1a.jpg","text":"TemporaryFile(/tmp/multipartBody325183790380373966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370072899,"filename":"image_11042025_11_09_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/11/1e030188f875e5ce0169b355755d8c45.jpg","text":"TemporaryFile(/tmp/multipartBody5210021673670089318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370072899,"filename":"image_11042025_11_08_34_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e110fab85ac3d3b65095fd15c30d733c.jpg","text":"TemporaryFile(/tmp/multipartBody4196939813851643025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370072899,"filename":"image_11042025_11_08_14_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351653816","file1":"1351653769","file0":"1351653705","file4":"1351653892","file5":"1351653942","file3":"1351653855"},"map_files_photo_id_array":[{"photo_id":"1351653942","filename":"file5"},{"photo_id":"1351653816","filename":"file2"},{"photo_id":"1351653892","filename":"file4"},{"photo_id":"1351653769","filename":"file1"},{"photo_id":"1351653705","filename":"file0"},{"photo_id":"1351653855","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351653892":["hashtag1","hashtag2"]},{"1351653769":["hashtag1","hashtag2"]},{"1351653855":["hashtag1","hashtag2"]},{"1351653942":["hashtag1","hashtag2"]},{"1351653816":["hashtag1","hashtag2"]},{"1351653705":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351653892, 1351653769, 1351653855, 1351653942, 1351653816, 1351653705)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.881386518478394 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 13:14:32.664171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/11/09/image_11042025_11_09_34_9351.jpg', '/home/pi/Desktop/images/11042025/11/09/image_11042025_11_09_45_10407.jpg', '/home/pi/Desktop/images/11042025/11/09/image_11042025_11_09_54_9406.jpg', '/home/pi/Desktop/images/11042025/11/09/image_11042025_11_10_04_10362.jpg', '/home/pi/Desktop/images/11042025/11/10/image_11042025_11_10_15_10479.jpg', '/home/pi/Desktop/images/11042025/11/10/image_11042025_11_10_24_9343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/11/09/image_11042025_11_09_34_9351.jpg
/home/pi/Desktop/images/11042025/11/09/image_11042025_11_09_45_10407.jpg
/home/pi/Desktop/images/11042025/11/09/image_11042025_11_09_54_9406.jpg
/home/pi/Desktop/images/11042025/11/09/image_11042025_11_10_04_10362.jpg
/home/pi/Desktop/images/11042025/11/10/image_11042025_11_10_15_10479.jpg
/home/pi/Desktop/images/11042025/11/10/image_11042025_11_10_24_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":["1351654288","1351654417","1351654624","1351654491","1351654535","1351654352"],"photo_ids_order":["1351654288","1351654352","1351654417","1351654491","1351654535","1351654624"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/fc1164c9147f4dbb94ab4e9421c57d1d.jpg","text":"TemporaryFile(/tmp/multipartBody7163538821894087679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370133134,"filename":"image_11042025_11_09_34_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/21135362c7976cd5de608e3ac6e58f5e.jpg","text":"TemporaryFile(/tmp/multipartBody5306084055808932636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370133134,"filename":"image_11042025_11_09_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/11/9bfb30f17330f32a01392bfdcf331831.jpg","text":"TemporaryFile(/tmp/multipartBody1833919671914116372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370133134,"filename":"image_11042025_11_10_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/11/a0d59dabcbd44bb1485e90dae2a93b2d.jpg","text":"TemporaryFile(/tmp/multipartBody8782919471876495519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370133134,"filename":"image_11042025_11_10_04_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7a62a17ff64ad809ad4df0b12f45ab6a.jpg","text":"TemporaryFile(/tmp/multipartBody911793733850812194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370133134,"filename":"image_11042025_11_10_15_10479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6f7e706f8d2f3578f2fe4471ba14a578.jpg","text":"TemporaryFile(/tmp/multipartBody5884338248456324025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370133134,"filename":"image_11042025_11_09_45_10407.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351654417","file1":"1351654352","file0":"1351654288","file4":"1351654535","file5":"1351654624","file3":"1351654491"},"map_files_photo_id_array":[{"photo_id":"1351654624","filename":"file5"},{"photo_id":"1351654417","filename":"file2"},{"photo_id":"1351654535","filename":"file4"},{"photo_id":"1351654352","filename":"file1"},{"photo_id":"1351654288","filename":"file0"},{"photo_id":"1351654491","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351654288":["hashtag1","hashtag2"]},{"1351654417":["hashtag1","hashtag2"]},{"1351654624":["hashtag1","hashtag2"]},{"1351654491":["hashtag1","hashtag2"]},{"1351654535":["hashtag1","hashtag2"]},{"1351654352":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351654288, 1351654417, 1351654624, 1351654491, 1351654535, 1351654352)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.80722618103027 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 13:15:32.744313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/11/10/image_11042025_11_10_35_10415.jpg', '/home/pi/Desktop/images/11042025/11/10/image_11042025_11_10_45_10360.jpg', '/home/pi/Desktop/images/11042025/11/10/image_11042025_11_10_54_9346.jpg', '/home/pi/Desktop/images/11042025/11/10/image_11042025_11_11_05_10467.jpg', '/home/pi/Desktop/images/11042025/11/11/image_11042025_11_11_14_9350.jpg', '/home/pi/Desktop/images/11042025/11/11/image_11042025_11_11_25_10421.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/11/10/image_11042025_11_10_35_10415.jpg
/home/pi/Desktop/images/11042025/11/10/image_11042025_11_10_45_10360.jpg
/home/pi/Desktop/images/11042025/11/10/image_11042025_11_10_54_9346.jpg
/home/pi/Desktop/images/11042025/11/10/image_11042025_11_11_05_10467.jpg
/home/pi/Desktop/images/11042025/11/11/image_11042025_11_11_14_9350.jpg
/home/pi/Desktop/images/11042025/11/11/image_11042025_11_11_25_10421.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3932678699493408 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 13:15:42.754910
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/11/10/image_11042025_11_10_35_10415.jpg', '/home/pi/Desktop/images/11042025/11/10/image_11042025_11_10_45_10360.jpg', '/home/pi/Desktop/images/11042025/11/10/image_11042025_11_10_54_9346.jpg', '/home/pi/Desktop/images/11042025/11/10/image_11042025_11_11_05_10467.jpg', '/home/pi/Desktop/images/11042025/11/11/image_11042025_11_11_14_9350.jpg', '/home/pi/Desktop/images/11042025/11/11/image_11042025_11_11_25_10421.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/11/10/image_11042025_11_10_35_10415.jpg
/home/pi/Desktop/images/11042025/11/10/image_11042025_11_10_45_10360.jpg
/home/pi/Desktop/images/11042025/11/10/image_11042025_11_10_54_9346.jpg
/home/pi/Desktop/images/11042025/11/10/image_11042025_11_11_05_10467.jpg
/home/pi/Desktop/images/11042025/11/11/image_11042025_11_11_14_9350.jpg
/home/pi/Desktop/images/11042025/11/11/image_11042025_11_11_25_10421.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351655419","1351655311","1351655367","1351655285","1351655195","1351655237"],"photo_ids_order":["1351655195","1351655237","1351655285","1351655311","1351655367","1351655419"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4eb15b4295b08f3cfefc65b947e86751.jpg","text":"TemporaryFile(/tmp/multipartBody4943674274249363861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370203205,"filename":"image_11042025_11_11_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/11/6e451f2de4d743acc138190dd95a01e5.jpg","text":"TemporaryFile(/tmp/multipartBody3902682988240334306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370203205,"filename":"image_11042025_11_11_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/11/c1898d8bc5cc6cfebc1e6354bcde0d70.jpg","text":"TemporaryFile(/tmp/multipartBody5828808350260059834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370203205,"filename":"image_11042025_11_11_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/11/ba848a24ffa17ecdd82bdc2c9c3183f2.jpg","text":"TemporaryFile(/tmp/multipartBody7367920211130349736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370203205,"filename":"image_11042025_11_10_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/11/07e12c0334021b33c7db062158903ee1.jpg","text":"TemporaryFile(/tmp/multipartBody294186187701988425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370203205,"filename":"image_11042025_11_10_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/11/acdfd552dbfd63cdf488747b9b03b7cb.jpg","text":"TemporaryFile(/tmp/multipartBody1772773414232810169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370203205,"filename":"image_11042025_11_10_45_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351655285","file1":"1351655237","file0":"1351655195","file4":"1351655367","file5":"1351655419","file3":"1351655311"},"map_files_photo_id_array":[{"photo_id":"1351655419","filename":"file5"},{"photo_id":"1351655285","filename":"file2"},{"photo_id":"1351655367","filename":"file4"},{"photo_id":"1351655237","filename":"file1"},{"photo_id":"1351655195","filename":"file0"},{"photo_id":"1351655311","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351655419":["hashtag1","hashtag2"]},{"1351655311":["hashtag1","hashtag2"]},{"1351655367":["hashtag1","hashtag2"]},{"1351655285":["hashtag1","hashtag2"]},{"1351655195":["hashtag1","hashtag2"]},{"1351655237":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351655419, 1351655311, 1351655367, 1351655285, 1351655195, 1351655237)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.237990379333496 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 13:16:33.034412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/11/11/image_11042025_11_11_34_9472.jpg', '/home/pi/Desktop/images/11042025/11/11/image_11042025_11_11_44_10352.jpg', '/home/pi/Desktop/images/11042025/11/11/image_11042025_11_11_55_10468.jpg', '/home/pi/Desktop/images/11042025/11/11/image_11042025_11_12_04_9426.jpg', '/home/pi/Desktop/images/11042025/11/12/image_11042025_11_12_15_10460.jpg', '/home/pi/Desktop/images/11042025/11/12/image_11042025_11_12_24_9354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/11/11/image_11042025_11_11_34_9472.jpg
/home/pi/Desktop/images/11042025/11/11/image_11042025_11_11_44_10352.jpg
/home/pi/Desktop/images/11042025/11/11/image_11042025_11_11_55_10468.jpg
/home/pi/Desktop/images/11042025/11/11/image_11042025_11_12_04_9426.jpg
/home/pi/Desktop/images/11042025/11/12/image_11042025_11_12_15_10460.jpg
/home/pi/Desktop/images/11042025/11/12/image_11042025_11_12_24_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":["1351655665","1351655778","1351655602","1351655829","1351655711","1351655606"],"photo_ids_order":["1351655602","1351655606","1351655665","1351655711","1351655778","1351655829"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e9838d385d7062bfbeecbffaacb5d70a.jpg","text":"TemporaryFile(/tmp/multipartBody8335656198214758006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370253480,"filename":"image_11042025_11_11_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/11/b23da3d1aafb582c5e06f7e910e52b0a.jpg","text":"TemporaryFile(/tmp/multipartBody4703841184654660703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370253480,"filename":"image_11042025_11_12_15_10460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/68370808a97591cd7e3f645cb59053bf.jpg","text":"TemporaryFile(/tmp/multipartBody3587269735256158285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370253480,"filename":"image_11042025_11_11_34_9472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/24dd20d79d1a7a4985d747191b6cd85b.jpg","text":"TemporaryFile(/tmp/multipartBody6684292920614655063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370253480,"filename":"image_11042025_11_12_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/11/431631d2a08499959218d261128bd84c.jpg","text":"TemporaryFile(/tmp/multipartBody2803004496001319289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370253480,"filename":"image_11042025_11_12_04_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7f6320ad74735350ff9b468257ee53ee.jpg","text":"TemporaryFile(/tmp/multipartBody3809788819884561808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370253480,"filename":"image_11042025_11_11_44_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351655665","file1":"1351655606","file0":"1351655602","file4":"1351655778","file5":"1351655829","file3":"1351655711"},"map_files_photo_id_array":[{"photo_id":"1351655829","filename":"file5"},{"photo_id":"1351655665","filename":"file2"},{"photo_id":"1351655778","filename":"file4"},{"photo_id":"1351655606","filename":"file1"},{"photo_id":"1351655602","filename":"file0"},{"photo_id":"1351655711","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351655665":["hashtag1","hashtag2"]},{"1351655778":["hashtag1","hashtag2"]},{"1351655602":["hashtag1","hashtag2"]},{"1351655829":["hashtag1","hashtag2"]},{"1351655711":["hashtag1","hashtag2"]},{"1351655606":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351655665, 1351655778, 1351655602, 1351655829, 1351655711, 1351655606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.5675482749939 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 13:17:32.194225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/11/12/image_11042025_11_12_34_10402.jpg', '/home/pi/Desktop/images/11042025/11/12/image_11042025_11_12_45_10356.jpg', '/home/pi/Desktop/images/11042025/11/12/image_11042025_11_12_54_9365.jpg', '/home/pi/Desktop/images/11042025/11/12/image_11042025_11_13_05_10354.jpg', '/home/pi/Desktop/images/11042025/11/13/image_11042025_11_13_14_9436.jpg', '/home/pi/Desktop/images/11042025/11/13/image_11042025_11_13_35_10494.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/11/12/image_11042025_11_12_34_10402.jpg
/home/pi/Desktop/images/11042025/11/12/image_11042025_11_12_45_10356.jpg
/home/pi/Desktop/images/11042025/11/12/image_11042025_11_12_54_9365.jpg
/home/pi/Desktop/images/11042025/11/12/image_11042025_11_13_05_10354.jpg
/home/pi/Desktop/images/11042025/11/13/image_11042025_11_13_14_9436.jpg
/home/pi/Desktop/images/11042025/11/13/image_11042025_11_13_35_10494.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351656294","1351656261","1351656216","1351656426","1351656392","1351656343"],"photo_ids_order":["1351656216","1351656261","1351656294","1351656343","1351656392","1351656426"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a955c3342e1755a36c16acca93fd0aac.jpg","text":"TemporaryFile(/tmp/multipartBody8645000835309675323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370312638,"filename":"image_11042025_11_12_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/11/cb7cf33a47f0498aa648793db1fc8c32.jpg","text":"TemporaryFile(/tmp/multipartBody4589342579625861893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370312638,"filename":"image_11042025_11_12_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/11/f4f0e08d3332f139e80179fe4401f9d7.jpg","text":"TemporaryFile(/tmp/multipartBody6797636793847913563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370312638,"filename":"image_11042025_11_12_34_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/11/8554346621d6ed1cbae16170bacf5d31.jpg","text":"TemporaryFile(/tmp/multipartBody5427389871388750862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370312638,"filename":"image_11042025_11_13_35_10494.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3799d09ad0b1ce720eedab5be8c517d5.jpg","text":"TemporaryFile(/tmp/multipartBody976857013696953378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370312638,"filename":"image_11042025_11_13_14_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0faa0d80b5b6f92e37833177bbb7f57f.jpg","text":"TemporaryFile(/tmp/multipartBody4203730675403502492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370312638,"filename":"image_11042025_11_13_05_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351656294","file1":"1351656261","file0":"1351656216","file4":"1351656392","file5":"1351656426","file3":"1351656343"},"map_files_photo_id_array":[{"photo_id":"1351656426","filename":"file5"},{"photo_id":"1351656294","filename":"file2"},{"photo_id":"1351656392","filename":"file4"},{"photo_id":"1351656261","filename":"file1"},{"photo_id":"1351656216","filename":"file0"},{"photo_id":"1351656343","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351656294":["hashtag1","hashtag2"]},{"1351656261":["hashtag1","hashtag2"]},{"1351656216":["hashtag1","hashtag2"]},{"1351656426":["hashtag1","hashtag2"]},{"1351656392":["hashtag1","hashtag2"]},{"1351656343":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351656294, 1351656261, 1351656216, 1351656426, 1351656392, 1351656343)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.62641191482544 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 13:18:32.523683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/11/13/image_11042025_11_13_55_10513.jpg', '/home/pi/Desktop/images/11042025/11/13/image_11042025_11_14_04_9368.jpg', '/home/pi/Desktop/images/11042025/11/14/image_11042025_11_14_14_10356.jpg', '/home/pi/Desktop/images/11042025/11/14/image_11042025_11_14_25_10458.jpg', '/home/pi/Desktop/images/11042025/11/14/image_11042025_11_14_34_9436.jpg', '/home/pi/Desktop/images/11042025/11/14/image_11042025_11_14_45_10486.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/11/13/image_11042025_11_13_55_10513.jpg
/home/pi/Desktop/images/11042025/11/13/image_11042025_11_14_04_9368.jpg
/home/pi/Desktop/images/11042025/11/14/image_11042025_11_14_14_10356.jpg
/home/pi/Desktop/images/11042025/11/14/image_11042025_11_14_25_10458.jpg
/home/pi/Desktop/images/11042025/11/14/image_11042025_11_14_34_9436.jpg
/home/pi/Desktop/images/11042025/11/14/image_11042025_11_14_45_10486.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351656645","1351656567","1351656608","1351656586","1351656649","1351656643"],"photo_ids_order":["1351656567","1351656586","1351656608","1351656643","1351656645","1351656649"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d60e22ebad146568dbb2ea8aa46fc699.jpg","text":"TemporaryFile(/tmp/multipartBody1675625113172590126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370372970,"filename":"image_11042025_11_14_34_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/11/837b05fe02cb67fed4e446ba61b3e5da.jpg","text":"TemporaryFile(/tmp/multipartBody6614588882861985798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370372970,"filename":"image_11042025_11_13_55_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/11/bc62e231eb2faebbded3f64d977ebfae.jpg","text":"TemporaryFile(/tmp/multipartBody8951133800368277220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370372970,"filename":"image_11042025_11_14_14_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9704277aa0b77c5371a3ecea6c485abd.jpg","text":"TemporaryFile(/tmp/multipartBody7589708034725188477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370372970,"filename":"image_11042025_11_14_04_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/11/12bccc2c1e8a4d98f0f01c1f124e42a9.jpg","text":"TemporaryFile(/tmp/multipartBody1366014719203060895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370372970,"filename":"image_11042025_11_14_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/11/1782f888ba2a1b5aadeb8dbfd8bfa68d.jpg","text":"TemporaryFile(/tmp/multipartBody5106754454297185209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370372970,"filename":"image_11042025_11_14_25_10458.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351656608","file1":"1351656586","file0":"1351656567","file4":"1351656645","file5":"1351656649","file3":"1351656643"},"map_files_photo_id_array":[{"photo_id":"1351656649","filename":"file5"},{"photo_id":"1351656608","filename":"file2"},{"photo_id":"1351656645","filename":"file4"},{"photo_id":"1351656586","filename":"file1"},{"photo_id":"1351656567","filename":"file0"},{"photo_id":"1351656643","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351656645":["hashtag1","hashtag2"]},{"1351656567":["hashtag1","hashtag2"]},{"1351656608":["hashtag1","hashtag2"]},{"1351656586":["hashtag1","hashtag2"]},{"1351656649":["hashtag1","hashtag2"]},{"1351656643":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351656645, 1351656567, 1351656608, 1351656586, 1351656649, 1351656643)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.17164897918701 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 13:19:32.833640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/11/14/image_11042025_11_14_54_9351.jpg', '/home/pi/Desktop/images/11042025/11/15/image_11042025_11_15_24_9397.jpg', '/home/pi/Desktop/images/11042025/11/15/image_11042025_11_15_35_10522.jpg', '/home/pi/Desktop/images/11042025/11/16/image_11042025_11_16_34_9360.jpg', '/home/pi/Desktop/images/11042025/11/16/image_11042025_11_16_45_10545.jpg', '/home/pi/Desktop/images/11042025/11/16/image_11042025_11_16_54_9335.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/11/14/image_11042025_11_14_54_9351.jpg
/home/pi/Desktop/images/11042025/11/15/image_11042025_11_15_24_9397.jpg
/home/pi/Desktop/images/11042025/11/15/image_11042025_11_15_35_10522.jpg
/home/pi/Desktop/images/11042025/11/16/image_11042025_11_16_34_9360.jpg
/home/pi/Desktop/images/11042025/11/16/image_11042025_11_16_45_10545.jpg
/home/pi/Desktop/images/11042025/11/16/image_11042025_11_16_54_9335.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351656893","1351656860","1351656839","1351656961","1351657047","1351656990"],"photo_ids_order":["1351656839","1351656860","1351656893","1351656961","1351656990","1351657047"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f56618ba25edb0cde435063e8eddd6ed.jpg","text":"TemporaryFile(/tmp/multipartBody4691554485639658921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370433286,"filename":"image_11042025_11_15_35_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/11/51353b09f1ccec95e616ea19f3d5e0eb.jpg","text":"TemporaryFile(/tmp/multipartBody932592446848338848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370433286,"filename":"image_11042025_11_15_24_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a4a6c66098739d4744ffc3e2b19d0751.jpg","text":"TemporaryFile(/tmp/multipartBody3178570955719052743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370433286,"filename":"image_11042025_11_14_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/11/34c2b86cbe0ee804952e679dfccd4add.jpg","text":"TemporaryFile(/tmp/multipartBody2654124545632692227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370433286,"filename":"image_11042025_11_16_34_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/151fbb3cda361ac3c9df2dbf04191f86.jpg","text":"TemporaryFile(/tmp/multipartBody3199437072768209391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370433286,"filename":"image_11042025_11_16_54_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ce156b137f173905a4ca7696828b05a0.jpg","text":"TemporaryFile(/tmp/multipartBody8059610166229943896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370433286,"filename":"image_11042025_11_16_45_10545.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351656893","file1":"1351656860","file0":"1351656839","file4":"1351656990","file5":"1351657047","file3":"1351656961"},"map_files_photo_id_array":[{"photo_id":"1351657047","filename":"file5"},{"photo_id":"1351656893","filename":"file2"},{"photo_id":"1351656990","filename":"file4"},{"photo_id":"1351656860","filename":"file1"},{"photo_id":"1351656839","filename":"file0"},{"photo_id":"1351656961","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351656893":["hashtag1","hashtag2"]},{"1351656860":["hashtag1","hashtag2"]},{"1351656839":["hashtag1","hashtag2"]},{"1351656961":["hashtag1","hashtag2"]},{"1351657047":["hashtag1","hashtag2"]},{"1351656990":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351656893, 1351656860, 1351656839, 1351656961, 1351657047, 1351656990)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.69957160949707 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 13:20:32.974812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/11/16/image_11042025_11_17_05_10430.jpg', '/home/pi/Desktop/images/11042025/11/17/image_11042025_11_17_14_9437.jpg', '/home/pi/Desktop/images/11042025/11/17/image_11042025_11_17_24_10356.jpg', '/home/pi/Desktop/images/11042025/11/17/image_11042025_11_17_35_10489.jpg', '/home/pi/Desktop/images/11042025/11/17/image_11042025_11_17_44_9370.jpg', '/home/pi/Desktop/images/11042025/11/17/image_11042025_11_17_55_10489.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/11/16/image_11042025_11_17_05_10430.jpg
/home/pi/Desktop/images/11042025/11/17/image_11042025_11_17_14_9437.jpg
/home/pi/Desktop/images/11042025/11/17/image_11042025_11_17_24_10356.jpg
/home/pi/Desktop/images/11042025/11/17/image_11042025_11_17_35_10489.jpg
/home/pi/Desktop/images/11042025/11/17/image_11042025_11_17_44_9370.jpg
/home/pi/Desktop/images/11042025/11/17/image_11042025_11_17_55_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":["1351657199","1351657259","1351657222","1351657246","1351657263","1351657266"],"photo_ids_order":["1351657199","1351657222","1351657246","1351657259","1351657263","1351657266"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/877fef3aa6a7caa9636b53f7e1a1f4ae.jpg","text":"TemporaryFile(/tmp/multipartBody1827676448466328254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370493420,"filename":"image_11042025_11_17_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/11/653e5b09647989807d28fc30080e90ee.jpg","text":"TemporaryFile(/tmp/multipartBody4417003535151108352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370493420,"filename":"image_11042025_11_17_35_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/11/561861d6ed9fe22295a39c65ae16e1d8.jpg","text":"TemporaryFile(/tmp/multipartBody4574190677503383124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370493420,"filename":"image_11042025_11_17_14_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/bef23ae2281ac1dda6d6480049957ea8.jpg","text":"TemporaryFile(/tmp/multipartBody8739281848820719948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370493420,"filename":"image_11042025_11_17_24_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5f73f6922558e455cdc1d5e482339c8f.jpg","text":"TemporaryFile(/tmp/multipartBody2479355528105815619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370493420,"filename":"image_11042025_11_17_44_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d0027113422a7484c3c8c185269363bd.jpg","text":"TemporaryFile(/tmp/multipartBody3819714060804837246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370493420,"filename":"image_11042025_11_17_55_10489.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351657246","file1":"1351657222","file0":"1351657199","file4":"1351657263","file5":"1351657266","file3":"1351657259"},"map_files_photo_id_array":[{"photo_id":"1351657266","filename":"file5"},{"photo_id":"1351657246","filename":"file2"},{"photo_id":"1351657263","filename":"file4"},{"photo_id":"1351657222","filename":"file1"},{"photo_id":"1351657199","filename":"file0"},{"photo_id":"1351657259","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351657199":["hashtag1","hashtag2"]},{"1351657259":["hashtag1","hashtag2"]},{"1351657222":["hashtag1","hashtag2"]},{"1351657246":["hashtag1","hashtag2"]},{"1351657263":["hashtag1","hashtag2"]},{"1351657266":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351657199, 1351657259, 1351657222, 1351657246, 1351657263, 1351657266)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.829437255859375 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 13:21:32.274331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/11/17/image_11042025_11_18_04_9375.jpg', '/home/pi/Desktop/images/11042025/11/18/image_11042025_11_18_25_10405.jpg', '/home/pi/Desktop/images/11042025/11/18/image_11042025_11_18_34_9348.jpg', '/home/pi/Desktop/images/11042025/11/18/image_11042025_11_18_45_10528.jpg', '/home/pi/Desktop/images/11042025/11/18/image_11042025_11_18_54_9339.jpg', '/home/pi/Desktop/images/11042025/11/18/image_11042025_11_19_04_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/11/17/image_11042025_11_18_04_9375.jpg
/home/pi/Desktop/images/11042025/11/18/image_11042025_11_18_25_10405.jpg
/home/pi/Desktop/images/11042025/11/18/image_11042025_11_18_34_9348.jpg
/home/pi/Desktop/images/11042025/11/18/image_11042025_11_18_45_10528.jpg
/home/pi/Desktop/images/11042025/11/18/image_11042025_11_18_54_9339.jpg
/home/pi/Desktop/images/11042025/11/18/image_11042025_11_19_04_10367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351657410","1351657394","1351657457","1351657439","1351657387","1351657398"],"photo_ids_order":["1351657387","1351657394","1351657398","1351657410","1351657439","1351657457"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e7518bd0c1bc385043469dbbb418f344.jpg","text":"TemporaryFile(/tmp/multipartBody2972230130658282757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370552736,"filename":"image_11042025_11_18_45_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/11/26ad35d812d1700a136e2ba176644fa3.jpg","text":"TemporaryFile(/tmp/multipartBody2506564436602707571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370552736,"filename":"image_11042025_11_18_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/11/cf97f1149c1c6e19936436ee393e0611.jpg","text":"TemporaryFile(/tmp/multipartBody3812254929329394750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370552736,"filename":"image_11042025_11_19_04_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e4f64681c2d9c5dd1c08ae3d1bdb82ba.jpg","text":"TemporaryFile(/tmp/multipartBody2286015934705357259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370552736,"filename":"image_11042025_11_18_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/11/2b0f7cf5dde9069c3070d9a0e82bc9a8.jpg","text":"TemporaryFile(/tmp/multipartBody9109480686940741085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370552736,"filename":"image_11042025_11_18_04_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/356f12a1276329bf127f423f48aeb13f.jpg","text":"TemporaryFile(/tmp/multipartBody3447352381511403809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370552736,"filename":"image_11042025_11_18_34_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351657398","file1":"1351657394","file0":"1351657387","file4":"1351657439","file5":"1351657457","file3":"1351657410"},"map_files_photo_id_array":[{"photo_id":"1351657457","filename":"file5"},{"photo_id":"1351657398","filename":"file2"},{"photo_id":"1351657439","filename":"file4"},{"photo_id":"1351657394","filename":"file1"},{"photo_id":"1351657387","filename":"file0"},{"photo_id":"1351657410","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351657410":["hashtag1","hashtag2"]},{"1351657394":["hashtag1","hashtag2"]},{"1351657457":["hashtag1","hashtag2"]},{"1351657439":["hashtag1","hashtag2"]},{"1351657387":["hashtag1","hashtag2"]},{"1351657398":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351657410, 1351657394, 1351657457, 1351657439, 1351657387, 1351657398)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.3856041431427 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 13:22:32.477120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/11/19/image_11042025_11_19_15_10456.jpg', '/home/pi/Desktop/images/11042025/11/19/image_11042025_11_19_24_9369.jpg', '/home/pi/Desktop/images/11042025/11/19/image_11042025_11_19_35_10350.jpg', '/home/pi/Desktop/images/11042025/11/19/image_11042025_11_19_44_9475.jpg', '/home/pi/Desktop/images/11042025/11/19/image_11042025_11_19_54_10360.jpg', '/home/pi/Desktop/images/11042025/11/19/image_11042025_11_20_05_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/11/19/image_11042025_11_19_15_10456.jpg
/home/pi/Desktop/images/11042025/11/19/image_11042025_11_19_24_9369.jpg
/home/pi/Desktop/images/11042025/11/19/image_11042025_11_19_35_10350.jpg
/home/pi/Desktop/images/11042025/11/19/image_11042025_11_19_44_9475.jpg
/home/pi/Desktop/images/11042025/11/19/image_11042025_11_19_54_10360.jpg
/home/pi/Desktop/images/11042025/11/19/image_11042025_11_20_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":["1351657577","1351657529","1351657502","1351657597","1351657639","1351657552"],"photo_ids_order":["1351657502","1351657529","1351657552","1351657577","1351657597","1351657639"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/80130915f5e560ca061e342975fdeee2.jpg","text":"TemporaryFile(/tmp/multipartBody8358291710851418998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370612928,"filename":"image_11042025_11_19_44_9475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ab78ed1a32fed8fb6174685c0e917a9a.jpg","text":"TemporaryFile(/tmp/multipartBody7870011532571002725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370612928,"filename":"image_11042025_11_19_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/11/332e9181cfcbcac7f3521a98a4decf6a.jpg","text":"TemporaryFile(/tmp/multipartBody5160266963602839031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370612928,"filename":"image_11042025_11_19_15_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8cfa0f5d2e2f1898e5d283ea821156c2.jpg","text":"TemporaryFile(/tmp/multipartBody2440630871620381442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370612928,"filename":"image_11042025_11_19_54_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3b7ef51f86998021a7f306c3729d65ca.jpg","text":"TemporaryFile(/tmp/multipartBody113405229559849729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370612928,"filename":"image_11042025_11_20_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/11/c6a0539c4aa99dfe448345128b30ca8e.jpg","text":"TemporaryFile(/tmp/multipartBody2907026272288347825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370612928,"filename":"image_11042025_11_19_35_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351657552","file1":"1351657529","file0":"1351657502","file4":"1351657597","file5":"1351657639","file3":"1351657577"},"map_files_photo_id_array":[{"photo_id":"1351657639","filename":"file5"},{"photo_id":"1351657552","filename":"file2"},{"photo_id":"1351657597","filename":"file4"},{"photo_id":"1351657529","filename":"file1"},{"photo_id":"1351657502","filename":"file0"},{"photo_id":"1351657577","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351657577":["hashtag1","hashtag2"]},{"1351657529":["hashtag1","hashtag2"]},{"1351657502":["hashtag1","hashtag2"]},{"1351657597":["hashtag1","hashtag2"]},{"1351657639":["hashtag1","hashtag2"]},{"1351657552":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351657577, 1351657529, 1351657502, 1351657597, 1351657639, 1351657552)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.714709520339966 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 13:23:32.808863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/11/20/image_11042025_11_20_14_9343.jpg', '/home/pi/Desktop/images/11042025/11/20/image_11042025_11_20_25_10427.jpg', '/home/pi/Desktop/images/11042025/11/20/image_11042025_11_20_35_10354.jpg', '/home/pi/Desktop/images/11042025/11/20/image_11042025_11_20_44_9449.jpg', '/home/pi/Desktop/images/11042025/11/20/image_11042025_11_20_55_10387.jpg', '/home/pi/Desktop/images/11042025/11/20/image_11042025_11_21_04_9360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/11/20/image_11042025_11_20_14_9343.jpg
/home/pi/Desktop/images/11042025/11/20/image_11042025_11_20_25_10427.jpg
/home/pi/Desktop/images/11042025/11/20/image_11042025_11_20_35_10354.jpg
/home/pi/Desktop/images/11042025/11/20/image_11042025_11_20_44_9449.jpg
/home/pi/Desktop/images/11042025/11/20/image_11042025_11_20_55_10387.jpg
/home/pi/Desktop/images/11042025/11/20/image_11042025_11_21_04_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":["1351657790","1351657772","1351657808","1351657804","1351657753","1351657801"],"photo_ids_order":["1351657753","1351657772","1351657790","1351657801","1351657804","1351657808"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0889d6cccb863b487957928e757a900d.jpg","text":"TemporaryFile(/tmp/multipartBody1286644168887678978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370673255,"filename":"image_11042025_11_20_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/11/98a225e17ae245d7c89072e80344d369.jpg","text":"TemporaryFile(/tmp/multipartBody2833936836532429280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370673255,"filename":"image_11042025_11_20_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/11/698174429f837a79cc2d4709a296167c.jpg","text":"TemporaryFile(/tmp/multipartBody2246679633232099135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370673255,"filename":"image_11042025_11_21_04_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5dcd47907abd50e345c6182b92fddd0f.jpg","text":"TemporaryFile(/tmp/multipartBody8368848730069936929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370673255,"filename":"image_11042025_11_20_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/11/91cdfbb908ccdddf799da6fcb18c171b.jpg","text":"TemporaryFile(/tmp/multipartBody8574101971717630753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370673255,"filename":"image_11042025_11_20_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/11/e6f7b303a82c973290135c93bfef3b02.jpg","text":"TemporaryFile(/tmp/multipartBody7163846832491032767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370673255,"filename":"image_11042025_11_20_44_9449.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351657790","file1":"1351657772","file0":"1351657753","file4":"1351657804","file5":"1351657808","file3":"1351657801"},"map_files_photo_id_array":[{"photo_id":"1351657808","filename":"file5"},{"photo_id":"1351657790","filename":"file2"},{"photo_id":"1351657804","filename":"file4"},{"photo_id":"1351657772","filename":"file1"},{"photo_id":"1351657753","filename":"file0"},{"photo_id":"1351657801","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351657790":["hashtag1","hashtag2"]},{"1351657772":["hashtag1","hashtag2"]},{"1351657808":["hashtag1","hashtag2"]},{"1351657804":["hashtag1","hashtag2"]},{"1351657753":["hashtag1","hashtag2"]},{"1351657801":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351657790, 1351657772, 1351657808, 1351657804, 1351657753, 1351657801)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.83467125892639 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 13:24:33.155130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/11/21/image_11042025_11_21_15_10391.jpg', '/home/pi/Desktop/images/11042025/11/21/image_11042025_11_21_25_10369.jpg', '/home/pi/Desktop/images/11042025/11/21/image_11042025_11_21_34_9346.jpg', '/home/pi/Desktop/images/11042025/11/21/image_11042025_11_21_45_10491.jpg', '/home/pi/Desktop/images/11042025/11/21/image_11042025_11_21_54_9340.jpg', '/home/pi/Desktop/images/11042025/11/21/image_11042025_11_22_04_10343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/11/21/image_11042025_11_21_15_10391.jpg
/home/pi/Desktop/images/11042025/11/21/image_11042025_11_21_25_10369.jpg
/home/pi/Desktop/images/11042025/11/21/image_11042025_11_21_34_9346.jpg
/home/pi/Desktop/images/11042025/11/21/image_11042025_11_21_45_10491.jpg
/home/pi/Desktop/images/11042025/11/21/image_11042025_11_21_54_9340.jpg
/home/pi/Desktop/images/11042025/11/21/image_11042025_11_22_04_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":["1351657994","1351657958","1351657931","1351657949","1351658031","1351657977"],"photo_ids_order":["1351657931","1351657949","1351657958","1351657977","1351657994","1351658031"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/64a7a26f631d659e19deb903c7adf5c5.jpg","text":"TemporaryFile(/tmp/multipartBody4473722310952741548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370733620,"filename":"image_11042025_11_21_54_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/568e909c3e0977939752aa4ee27c3187.jpg","text":"TemporaryFile(/tmp/multipartBody8876645921246988721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370733620,"filename":"image_11042025_11_21_34_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7d4e11e8dc600ade0f14104838af58e7.jpg","text":"TemporaryFile(/tmp/multipartBody6802364752646925392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370733620,"filename":"image_11042025_11_21_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/11/916ed60fda45c3a27b123f536954890e.jpg","text":"TemporaryFile(/tmp/multipartBody2195119839076605388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370733620,"filename":"image_11042025_11_21_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/11/7796bcc716d11cbe57b3f845602c6654.jpg","text":"TemporaryFile(/tmp/multipartBody3738257377835927502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370733620,"filename":"image_11042025_11_22_04_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a5d192dce0dc068bf3caa5010277efd4.jpg","text":"TemporaryFile(/tmp/multipartBody2820788454189835089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370733620,"filename":"image_11042025_11_21_45_10491.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351657958","file1":"1351657949","file0":"1351657931","file4":"1351657994","file5":"1351658031","file3":"1351657977"},"map_files_photo_id_array":[{"photo_id":"1351658031","filename":"file5"},{"photo_id":"1351657958","filename":"file2"},{"photo_id":"1351657994","filename":"file4"},{"photo_id":"1351657949","filename":"file1"},{"photo_id":"1351657931","filename":"file0"},{"photo_id":"1351657977","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351657994":["hashtag1","hashtag2"]},{"1351657958":["hashtag1","hashtag2"]},{"1351657931":["hashtag1","hashtag2"]},{"1351657949":["hashtag1","hashtag2"]},{"1351658031":["hashtag1","hashtag2"]},{"1351657977":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351657994, 1351657958, 1351657931, 1351657949, 1351658031, 1351657977)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.580952882766724 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 13:25:32.291049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/11/22/image_11042025_11_22_15_10426.jpg', '/home/pi/Desktop/images/11042025/11/22/image_11042025_11_22_44_9443.jpg', '/home/pi/Desktop/images/11042025/11/22/image_11042025_11_22_54_10359.jpg', '/home/pi/Desktop/images/11042025/11/22/image_11042025_11_23_05_10476.jpg', '/home/pi/Desktop/images/11042025/11/23/image_11042025_11_23_15_9901.jpg', '/home/pi/Desktop/images/11042025/11/23/image_11042025_11_23_24_9344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/11/22/image_11042025_11_22_15_10426.jpg
/home/pi/Desktop/images/11042025/11/22/image_11042025_11_22_44_9443.jpg
/home/pi/Desktop/images/11042025/11/22/image_11042025_11_22_54_10359.jpg
/home/pi/Desktop/images/11042025/11/22/image_11042025_11_23_05_10476.jpg
/home/pi/Desktop/images/11042025/11/23/image_11042025_11_23_15_9901.jpg
/home/pi/Desktop/images/11042025/11/23/image_11042025_11_23_24_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":["1351658174","1351658185","1351658161","1351658169","1351658184","1351658166"],"photo_ids_order":["1351658161","1351658166","1351658169","1351658174","1351658184","1351658185"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a18be4053659985ce780c27c9ca407cc.jpg","text":"TemporaryFile(/tmp/multipartBody6889301286871002702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370792750,"filename":"image_11042025_11_23_05_10476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7222dfc36529b7a4b7198e77f617b5cb.jpg","text":"TemporaryFile(/tmp/multipartBody871403674369884420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370792750,"filename":"image_11042025_11_23_24_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9ab88530970d13ef2bbedfdb0038c3d1.jpg","text":"TemporaryFile(/tmp/multipartBody4306286801832565558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370792750,"filename":"image_11042025_11_22_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/11/552667d08b4c736b01da2550e6fc0abf.jpg","text":"TemporaryFile(/tmp/multipartBody3885040202796189292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370792750,"filename":"image_11042025_11_22_54_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/146c61dc8acf3447f1df6616320b65ae.jpg","text":"TemporaryFile(/tmp/multipartBody2202568991173472637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370792750,"filename":"image_11042025_11_23_15_9901.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ebf4f3a523d22c9f4469436403129c8a.jpg","text":"TemporaryFile(/tmp/multipartBody6183957152931057266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370792750,"filename":"image_11042025_11_22_44_9443.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351658169","file1":"1351658166","file0":"1351658161","file4":"1351658184","file5":"1351658185","file3":"1351658174"},"map_files_photo_id_array":[{"photo_id":"1351658185","filename":"file5"},{"photo_id":"1351658169","filename":"file2"},{"photo_id":"1351658184","filename":"file4"},{"photo_id":"1351658166","filename":"file1"},{"photo_id":"1351658161","filename":"file0"},{"photo_id":"1351658174","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351658174":["hashtag1","hashtag2"]},{"1351658185":["hashtag1","hashtag2"]},{"1351658161":["hashtag1","hashtag2"]},{"1351658169":["hashtag1","hashtag2"]},{"1351658184":["hashtag1","hashtag2"]},{"1351658166":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351658174, 1351658185, 1351658161, 1351658169, 1351658184, 1351658166)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.815486669540405 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 13:26:32.561005
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/11/24/image_11042025_11_24_55_10493.jpg', '/home/pi/Desktop/images/11042025/11/25/image_11042025_11_25_54_9361.jpg', '/home/pi/Desktop/images/11042025/11/25/image_11042025_11_26_04_10340.jpg', '/home/pi/Desktop/images/11042025/11/26/image_11042025_11_26_35_10413.jpg', '/home/pi/Desktop/images/11042025/11/26/image_11042025_11_26_44_9412.jpg', '/home/pi/Desktop/images/11042025/11/26/image_11042025_11_26_54_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/11/24/image_11042025_11_24_55_10493.jpg
/home/pi/Desktop/images/11042025/11/25/image_11042025_11_25_54_9361.jpg
/home/pi/Desktop/images/11042025/11/25/image_11042025_11_26_04_10340.jpg
/home/pi/Desktop/images/11042025/11/26/image_11042025_11_26_35_10413.jpg
/home/pi/Desktop/images/11042025/11/26/image_11042025_11_26_44_9412.jpg
/home/pi/Desktop/images/11042025/11/26/image_11042025_11_26_54_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":["1351658282","1351658423","1351658303","1351658254","1351658454","1351658241"],"photo_ids_order":["1351658241","1351658254","1351658282","1351658303","1351658423","1351658454"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e5bbd03211759cec713e1e89ac318bff.jpg","text":"TemporaryFile(/tmp/multipartBody3250413793498805543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370853017,"filename":"image_11042025_11_26_04_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/aa2785c5dc41c05e5b10e1c3bf75ac63.jpg","text":"TemporaryFile(/tmp/multipartBody7548713154345951373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370853017,"filename":"image_11042025_11_26_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/11/2f563d9f677bc4592c993bd3d9f25af8.jpg","text":"TemporaryFile(/tmp/multipartBody8852605989464441380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370853017,"filename":"image_11042025_11_26_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/11/5db6ed414613fba8c88cfa6f319aea9d.jpg","text":"TemporaryFile(/tmp/multipartBody1473234479889878103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370853017,"filename":"image_11042025_11_25_54_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a6d4aaa49f89d6d82d5c1b2376b26d84.jpg","text":"TemporaryFile(/tmp/multipartBody7307419116545936875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370853017,"filename":"image_11042025_11_26_54_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3db36b8674a1f7f8f82f12d81173ace1.jpg","text":"TemporaryFile(/tmp/multipartBody2913239795815280849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370853017,"filename":"image_11042025_11_24_55_10493.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351658282","file1":"1351658254","file0":"1351658241","file4":"1351658423","file5":"1351658454","file3":"1351658303"},"map_files_photo_id_array":[{"photo_id":"1351658454","filename":"file5"},{"photo_id":"1351658282","filename":"file2"},{"photo_id":"1351658423","filename":"file4"},{"photo_id":"1351658254","filename":"file1"},{"photo_id":"1351658241","filename":"file0"},{"photo_id":"1351658303","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351658282":["hashtag1","hashtag2"]},{"1351658423":["hashtag1","hashtag2"]},{"1351658303":["hashtag1","hashtag2"]},{"1351658254":["hashtag1","hashtag2"]},{"1351658454":["hashtag1","hashtag2"]},{"1351658241":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351658282, 1351658423, 1351658303, 1351658254, 1351658454, 1351658241)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.53662371635437 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 13:27:32.849043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/11/26/image_11042025_11_27_04_9476.jpg', '/home/pi/Desktop/images/11042025/11/27/image_11042025_11_27_25_10466.jpg', '/home/pi/Desktop/images/11042025/11/27/image_11042025_11_27_45_10415.jpg', '/home/pi/Desktop/images/11042025/11/27/image_11042025_11_28_04_9392.jpg', '/home/pi/Desktop/images/11042025/11/28/image_11042025_11_28_15_10331.jpg', '/home/pi/Desktop/images/11042025/11/28/image_11042025_11_28_24_9375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/11/26/image_11042025_11_27_04_9476.jpg
/home/pi/Desktop/images/11042025/11/27/image_11042025_11_27_25_10466.jpg
/home/pi/Desktop/images/11042025/11/27/image_11042025_11_27_45_10415.jpg
/home/pi/Desktop/images/11042025/11/27/image_11042025_11_28_04_9392.jpg
/home/pi/Desktop/images/11042025/11/28/image_11042025_11_28_15_10331.jpg
/home/pi/Desktop/images/11042025/11/28/image_11042025_11_28_24_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":["1351658681","1351658662","1351658629","1351658685","1351658673","1351658646"],"photo_ids_order":["1351658629","1351658646","1351658662","1351658673","1351658681","1351658685"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/00258a95beec5bbd2cf948a5ef2f35ad.jpg","text":"TemporaryFile(/tmp/multipartBody1918630378089390933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370913310,"filename":"image_11042025_11_28_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/11/abf96fb534871ba17707845fa9c45fe5.jpg","text":"TemporaryFile(/tmp/multipartBody2010855340916738271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370913310,"filename":"image_11042025_11_27_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/11/0f615f935822858f5c151e550c793d9d.jpg","text":"TemporaryFile(/tmp/multipartBody6490072427855968312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370913310,"filename":"image_11042025_11_27_04_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/11/79fd3eaec9b987318c88b25ea0d0af11.jpg","text":"TemporaryFile(/tmp/multipartBody1062758736825334698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370913310,"filename":"image_11042025_11_28_24_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b29daeb0e8b2f29c6e8fffee7aba9d6f.jpg","text":"TemporaryFile(/tmp/multipartBody5179013575284790833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370913310,"filename":"image_11042025_11_28_04_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/11/f3b66f6b882dae265f0f0b3e9aa6f654.jpg","text":"TemporaryFile(/tmp/multipartBody7598756130082086387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370913310,"filename":"image_11042025_11_27_25_10466.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351658662","file1":"1351658646","file0":"1351658629","file4":"1351658681","file5":"1351658685","file3":"1351658673"},"map_files_photo_id_array":[{"photo_id":"1351658685","filename":"file5"},{"photo_id":"1351658662","filename":"file2"},{"photo_id":"1351658681","filename":"file4"},{"photo_id":"1351658646","filename":"file1"},{"photo_id":"1351658629","filename":"file0"},{"photo_id":"1351658673","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351658681":["hashtag1","hashtag2"]},{"1351658662":["hashtag1","hashtag2"]},{"1351658629":["hashtag1","hashtag2"]},{"1351658685":["hashtag1","hashtag2"]},{"1351658673":["hashtag1","hashtag2"]},{"1351658646":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351658681, 1351658662, 1351658629, 1351658685, 1351658673, 1351658646)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.67498707771301 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 13:28:32.953425
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/11/28/image_11042025_11_28_45_10527.jpg', '/home/pi/Desktop/images/11042025/11/28/image_11042025_11_28_54_9338.jpg', '/home/pi/Desktop/images/11042025/11/28/image_11042025_11_29_05_10360.jpg', '/home/pi/Desktop/images/11042025/11/29/image_11042025_11_29_14_9441.jpg', '/home/pi/Desktop/images/11042025/11/29/image_11042025_11_29_24_10370.jpg', '/home/pi/Desktop/images/11042025/11/29/image_11042025_11_29_35_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/11/28/image_11042025_11_28_45_10527.jpg
/home/pi/Desktop/images/11042025/11/28/image_11042025_11_28_54_9338.jpg
/home/pi/Desktop/images/11042025/11/28/image_11042025_11_29_05_10360.jpg
/home/pi/Desktop/images/11042025/11/29/image_11042025_11_29_14_9441.jpg
/home/pi/Desktop/images/11042025/11/29/image_11042025_11_29_24_10370.jpg
/home/pi/Desktop/images/11042025/11/29/image_11042025_11_29_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.4821441173553467 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 13:28:43.053026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/11/28/image_11042025_11_28_45_10527.jpg', '/home/pi/Desktop/images/11042025/11/28/image_11042025_11_28_54_9338.jpg', '/home/pi/Desktop/images/11042025/11/28/image_11042025_11_29_05_10360.jpg', '/home/pi/Desktop/images/11042025/11/29/image_11042025_11_29_14_9441.jpg', '/home/pi/Desktop/images/11042025/11/29/image_11042025_11_29_24_10370.jpg', '/home/pi/Desktop/images/11042025/11/29/image_11042025_11_29_35_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/11/28/image_11042025_11_28_45_10527.jpg
/home/pi/Desktop/images/11042025/11/28/image_11042025_11_28_54_9338.jpg
/home/pi/Desktop/images/11042025/11/28/image_11042025_11_29_05_10360.jpg
/home/pi/Desktop/images/11042025/11/29/image_11042025_11_29_14_9441.jpg
/home/pi/Desktop/images/11042025/11/29/image_11042025_11_29_24_10370.jpg
/home/pi/Desktop/images/11042025/11/29/image_11042025_11_29_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":["1351658711","1351658720","1351658708","1351658866","1351658734","1351658715"],"photo_ids_order":["1351658708","1351658711","1351658715","1351658720","1351658734","1351658866"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4fc93d92761746a7e893ff5327a51e4e.jpg","text":"TemporaryFile(/tmp/multipartBody8970393357401651349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370983531,"filename":"image_11042025_11_28_54_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d7ef258661072ab87f765b46566bf4fe.jpg","text":"TemporaryFile(/tmp/multipartBody5527423963581358951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370983531,"filename":"image_11042025_11_29_14_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/dfb6f5d83f75299497cada5639d7eb67.jpg","text":"TemporaryFile(/tmp/multipartBody6919281825439652800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370983531,"filename":"image_11042025_11_28_45_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/11/c432cf6f288574befe4c25e7ffbdf864.jpg","text":"TemporaryFile(/tmp/multipartBody7728654494995784781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370983531,"filename":"image_11042025_11_29_35_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6c401314f06618796b196211ea0abfdc.jpg","text":"TemporaryFile(/tmp/multipartBody815786385354475807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370983531,"filename":"image_11042025_11_29_24_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/14d7f4318a291f38c207e85c4c99f504.jpg","text":"TemporaryFile(/tmp/multipartBody3659337939568829132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744370983531,"filename":"image_11042025_11_29_05_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351658715","file1":"1351658711","file0":"1351658708","file4":"1351658734","file5":"1351658866","file3":"1351658720"},"map_files_photo_id_array":[{"photo_id":"1351658866","filename":"file5"},{"photo_id":"1351658715","filename":"file2"},{"photo_id":"1351658734","filename":"file4"},{"photo_id":"1351658711","filename":"file1"},{"photo_id":"1351658708","filename":"file0"},{"photo_id":"1351658720","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351658711":["hashtag1","hashtag2"]},{"1351658720":["hashtag1","hashtag2"]},{"1351658708":["hashtag1","hashtag2"]},{"1351658866":["hashtag1","hashtag2"]},{"1351658734":["hashtag1","hashtag2"]},{"1351658715":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351658711, 1351658720, 1351658708, 1351658866, 1351658734, 1351658715)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.903576374053955 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 13:29:33.233394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/11/29/image_11042025_11_29_55_10360.jpg', '/home/pi/Desktop/images/11042025/11/30/image_11042025_11_30_34_9451.jpg', '/home/pi/Desktop/images/11042025/11/30/image_11042025_11_30_44_10365.jpg', '/home/pi/Desktop/images/11042025/11/30/image_11042025_11_30_55_10455.jpg', '/home/pi/Desktop/images/11042025/11/33/image_11042025_11_33_15_10456.jpg', '/home/pi/Desktop/images/11042025/11/33/image_11042025_11_33_24_9361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/11/29/image_11042025_11_29_55_10360.jpg
/home/pi/Desktop/images/11042025/11/30/image_11042025_11_30_34_9451.jpg
/home/pi/Desktop/images/11042025/11/30/image_11042025_11_30_44_10365.jpg
/home/pi/Desktop/images/11042025/11/30/image_11042025_11_30_55_10455.jpg
/home/pi/Desktop/images/11042025/11/33/image_11042025_11_33_15_10456.jpg
/home/pi/Desktop/images/11042025/11/33/image_11042025_11_33_24_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":["1351658904","1351658930","1351658971","1351658959","1351658941","1351658916"],"photo_ids_order":["1351658904","1351658916","1351658930","1351658941","1351658959","1351658971"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a8648520d77a0600801051c33e7ddc4d.jpg","text":"TemporaryFile(/tmp/multipartBody4509875920463549975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371033698,"filename":"image_11042025_11_29_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/11/1c69758cbfb0dd1979b07f4fd5a5ef54.jpg","text":"TemporaryFile(/tmp/multipartBody7239872768798391089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371033698,"filename":"image_11042025_11_30_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/11/f5806e585fb8f5829098eeb52516c709.jpg","text":"TemporaryFile(/tmp/multipartBody2473612205921931236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371033698,"filename":"image_11042025_11_33_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/11/cf06a078262eaa8556d0523d3865a551.jpg","text":"TemporaryFile(/tmp/multipartBody7698008489202319583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371033698,"filename":"image_11042025_11_33_15_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/936fe95ecbfd06ebe3d97d158cfcf150.jpg","text":"TemporaryFile(/tmp/multipartBody8884305476550080937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371033698,"filename":"image_11042025_11_30_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/11/92066a9ec56379333dbfe23a2ee4e337.jpg","text":"TemporaryFile(/tmp/multipartBody489346564614552162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371033698,"filename":"image_11042025_11_30_34_9451.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351658930","file1":"1351658916","file0":"1351658904","file4":"1351658959","file5":"1351658971","file3":"1351658941"},"map_files_photo_id_array":[{"photo_id":"1351658971","filename":"file5"},{"photo_id":"1351658930","filename":"file2"},{"photo_id":"1351658959","filename":"file4"},{"photo_id":"1351658916","filename":"file1"},{"photo_id":"1351658904","filename":"file0"},{"photo_id":"1351658941","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351658904":["hashtag1","hashtag2"]},{"1351658930":["hashtag1","hashtag2"]},{"1351658971":["hashtag1","hashtag2"]},{"1351658959":["hashtag1","hashtag2"]},{"1351658941":["hashtag1","hashtag2"]},{"1351658916":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351658904, 1351658930, 1351658971, 1351658959, 1351658941, 1351658916)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.85375499725342 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 13:30:32.335064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/11/33/image_11042025_11_33_54_10354.jpg', '/home/pi/Desktop/images/11042025/11/33/image_11042025_11_34_05_10462.jpg', '/home/pi/Desktop/images/11042025/11/34/image_11042025_11_34_14_9419.jpg', '/home/pi/Desktop/images/11042025/11/34/image_11042025_11_34_25_10347.jpg', '/home/pi/Desktop/images/11042025/11/34/image_11042025_11_34_44_10347.jpg', '/home/pi/Desktop/images/11042025/11/34/image_11042025_11_34_55_10428.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/11/33/image_11042025_11_33_54_10354.jpg
/home/pi/Desktop/images/11042025/11/33/image_11042025_11_34_05_10462.jpg
/home/pi/Desktop/images/11042025/11/34/image_11042025_11_34_14_9419.jpg
/home/pi/Desktop/images/11042025/11/34/image_11042025_11_34_25_10347.jpg
/home/pi/Desktop/images/11042025/11/34/image_11042025_11_34_44_10347.jpg
/home/pi/Desktop/images/11042025/11/34/image_11042025_11_34_55_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":["1351658995","1351658989","1351658986","1351659001","1351658982","1351659006"],"photo_ids_order":["1351658982","1351658986","1351658989","1351658995","1351659001","1351659006"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/298c202abc71941150239077596feda0.jpg","text":"TemporaryFile(/tmp/multipartBody8234021755756777989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371093198,"filename":"image_11042025_11_34_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/11/07e1e438aee88d5d7e7cbfa55862f7bb.jpg","text":"TemporaryFile(/tmp/multipartBody3429937240385891280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371093198,"filename":"image_11042025_11_34_14_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f4c6644a871f3efbb2827bb81a94e4f9.jpg","text":"TemporaryFile(/tmp/multipartBody7814419267321627393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371093198,"filename":"image_11042025_11_34_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/11/d5bd565752152131251f98f306fa394b.jpg","text":"TemporaryFile(/tmp/multipartBody8308518484635564557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371093198,"filename":"image_11042025_11_34_44_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0b6646e699b1380ecbcf699c566fa51f.jpg","text":"TemporaryFile(/tmp/multipartBody5775912097550412835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371093198,"filename":"image_11042025_11_33_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/11/f3afc52eeb2242519a4c979c7f85164f.jpg","text":"TemporaryFile(/tmp/multipartBody5288982461535455520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371093198,"filename":"image_11042025_11_34_55_10428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351658989","file1":"1351658986","file0":"1351658982","file4":"1351659001","file5":"1351659006","file3":"1351658995"},"map_files_photo_id_array":[{"photo_id":"1351659006","filename":"file5"},{"photo_id":"1351658989","filename":"file2"},{"photo_id":"1351659001","filename":"file4"},{"photo_id":"1351658986","filename":"file1"},{"photo_id":"1351658982","filename":"file0"},{"photo_id":"1351658995","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351658995":["hashtag1","hashtag2"]},{"1351658989":["hashtag1","hashtag2"]},{"1351658986":["hashtag1","hashtag2"]},{"1351659001":["hashtag1","hashtag2"]},{"1351658982":["hashtag1","hashtag2"]},{"1351659006":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351658995, 1351658989, 1351658986, 1351659001, 1351658982, 1351659006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.62632751464844 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 13:31:32.558232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/11/34/image_11042025_11_35_04_9380.jpg', '/home/pi/Desktop/images/11042025/11/35/image_11042025_11_35_34_10359.jpg', '/home/pi/Desktop/images/11042025/11/35/image_11042025_11_35_45_10454.jpg', '/home/pi/Desktop/images/11042025/11/35/image_11042025_11_35_54_9377.jpg', '/home/pi/Desktop/images/11042025/11/35/image_11042025_11_36_05_10382.jpg', '/home/pi/Desktop/images/11042025/11/36/image_11042025_11_36_15_10399.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/11/34/image_11042025_11_35_04_9380.jpg
/home/pi/Desktop/images/11042025/11/35/image_11042025_11_35_34_10359.jpg
/home/pi/Desktop/images/11042025/11/35/image_11042025_11_35_45_10454.jpg
/home/pi/Desktop/images/11042025/11/35/image_11042025_11_35_54_9377.jpg
/home/pi/Desktop/images/11042025/11/35/image_11042025_11_36_05_10382.jpg
/home/pi/Desktop/images/11042025/11/36/image_11042025_11_36_15_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":["1351659041","1351659034","1351659028","1351659037","1351659045","1351659048"],"photo_ids_order":["1351659028","1351659034","1351659037","1351659041","1351659045","1351659048"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d66c1ad4025c82e250b342599ebbc6bb.jpg","text":"TemporaryFile(/tmp/multipartBody4911054438685224505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371152999,"filename":"image_11042025_11_35_54_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/799f409045ceb88ca8242a7c08758c2c.jpg","text":"TemporaryFile(/tmp/multipartBody2842804386994328107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371152999,"filename":"image_11042025_11_35_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/11/5841e5616098a71ca4a9cd72f56af2c2.jpg","text":"TemporaryFile(/tmp/multipartBody1531807573371789092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371152999,"filename":"image_11042025_11_35_04_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1813dd3b436e55eb3c860e8d95db1565.jpg","text":"TemporaryFile(/tmp/multipartBody4322996199889857030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371152999,"filename":"image_11042025_11_35_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/11/80fe0dac517ae91f57c009527929f349.jpg","text":"TemporaryFile(/tmp/multipartBody4667599810891399967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371152999,"filename":"image_11042025_11_36_05_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9e0d78beb694d115eb0693c228623bbf.jpg","text":"TemporaryFile(/tmp/multipartBody8187838868980260564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371152999,"filename":"image_11042025_11_36_15_10399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351659037","file1":"1351659034","file0":"1351659028","file4":"1351659045","file5":"1351659048","file3":"1351659041"},"map_files_photo_id_array":[{"photo_id":"1351659048","filename":"file5"},{"photo_id":"1351659037","filename":"file2"},{"photo_id":"1351659045","filename":"file4"},{"photo_id":"1351659034","filename":"file1"},{"photo_id":"1351659028","filename":"file0"},{"photo_id":"1351659041","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351659041":["hashtag1","hashtag2"]},{"1351659034":["hashtag1","hashtag2"]},{"1351659028":["hashtag1","hashtag2"]},{"1351659037":["hashtag1","hashtag2"]},{"1351659045":["hashtag1","hashtag2"]},{"1351659048":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351659041, 1351659034, 1351659028, 1351659037, 1351659045, 1351659048)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.001231908798218 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 13:32:32.878501
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/11/36/image_11042025_11_36_24_9355.jpg', '/home/pi/Desktop/images/11042025/11/36/image_11042025_11_36_35_10467.jpg', '/home/pi/Desktop/images/11042025/11/36/image_11042025_11_36_44_9442.jpg', '/home/pi/Desktop/images/11042025/11/36/image_11042025_11_36_55_10345.jpg', '/home/pi/Desktop/images/11042025/11/36/image_11042025_11_37_04_9455.jpg', '/home/pi/Desktop/images/11042025/11/37/image_11042025_11_37_14_10400.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/11/36/image_11042025_11_36_24_9355.jpg
/home/pi/Desktop/images/11042025/11/36/image_11042025_11_36_35_10467.jpg
/home/pi/Desktop/images/11042025/11/36/image_11042025_11_36_44_9442.jpg
/home/pi/Desktop/images/11042025/11/36/image_11042025_11_36_55_10345.jpg
/home/pi/Desktop/images/11042025/11/36/image_11042025_11_37_04_9455.jpg
/home/pi/Desktop/images/11042025/11/37/image_11042025_11_37_14_10400.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351659175","1351659163","1351659172","1351659177","1351659179","1351659152"],"photo_ids_order":["1351659152","1351659163","1351659172","1351659175","1351659177","1351659179"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b40931c9994faa99f73fd2fed710b84e.jpg","text":"TemporaryFile(/tmp/multipartBody2916869318381560470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371213318,"filename":"image_11042025_11_36_55_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0e9aeea2934707b7fdcc771a4eea969b.jpg","text":"TemporaryFile(/tmp/multipartBody675798902347363942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371213318,"filename":"image_11042025_11_36_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/11/c27c0311d324c79d68a799bc7ebfd6cb.jpg","text":"TemporaryFile(/tmp/multipartBody8655834990279063248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371213318,"filename":"image_11042025_11_36_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/11/6acf576a6cc6cfb1a2f585c3b37d210b.jpg","text":"TemporaryFile(/tmp/multipartBody6012796332094173989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371213318,"filename":"image_11042025_11_37_04_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/11/23782c923cd373de7cab8438e46e0980.jpg","text":"TemporaryFile(/tmp/multipartBody5880897675573579130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371213318,"filename":"image_11042025_11_37_14_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/aa50b7758044d2e255ed984c3559a5ec.jpg","text":"TemporaryFile(/tmp/multipartBody4140301912873954956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371213318,"filename":"image_11042025_11_36_24_9355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351659172","file1":"1351659163","file0":"1351659152","file4":"1351659177","file5":"1351659179","file3":"1351659175"},"map_files_photo_id_array":[{"photo_id":"1351659179","filename":"file5"},{"photo_id":"1351659172","filename":"file2"},{"photo_id":"1351659177","filename":"file4"},{"photo_id":"1351659163","filename":"file1"},{"photo_id":"1351659152","filename":"file0"},{"photo_id":"1351659175","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351659175":["hashtag1","hashtag2"]},{"1351659163":["hashtag1","hashtag2"]},{"1351659172":["hashtag1","hashtag2"]},{"1351659177":["hashtag1","hashtag2"]},{"1351659179":["hashtag1","hashtag2"]},{"1351659152":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351659175, 1351659163, 1351659172, 1351659177, 1351659179, 1351659152)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.83051681518555 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 13:33:33.136482
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/11/37/image_11042025_11_37_25_10448.jpg', '/home/pi/Desktop/images/11042025/11/37/image_11042025_11_37_34_9355.jpg', '/home/pi/Desktop/images/11042025/11/37/image_11042025_11_37_45_10364.jpg', '/home/pi/Desktop/images/11042025/11/37/image_11042025_11_37_55_10361.jpg', '/home/pi/Desktop/images/11042025/11/37/image_11042025_11_38_04_9437.jpg', '/home/pi/Desktop/images/11042025/11/38/image_11042025_11_38_15_10439.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/11/37/image_11042025_11_37_25_10448.jpg
/home/pi/Desktop/images/11042025/11/37/image_11042025_11_37_34_9355.jpg
/home/pi/Desktop/images/11042025/11/37/image_11042025_11_37_45_10364.jpg
/home/pi/Desktop/images/11042025/11/37/image_11042025_11_37_55_10361.jpg
/home/pi/Desktop/images/11042025/11/37/image_11042025_11_38_04_9437.jpg
/home/pi/Desktop/images/11042025/11/38/image_11042025_11_38_15_10439.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351659254","1351659253","1351659202","1351659255","1351659243","1351659207"],"photo_ids_order":["1351659202","1351659207","1351659243","1351659253","1351659254","1351659255"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c96814e87271b1b367fcd044433072e1.jpg","text":"TemporaryFile(/tmp/multipartBody1440118099720508831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371273579,"filename":"image_11042025_11_38_04_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/32b6ed2c30c59750ba30f6f9d8a0b17d.jpg","text":"TemporaryFile(/tmp/multipartBody8889610113732373309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371273579,"filename":"image_11042025_11_37_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/11/53dfb5f48ea0080463d6f923e4e97cf6.jpg","text":"TemporaryFile(/tmp/multipartBody6011795652967803288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371273579,"filename":"image_11042025_11_37_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/11/88a276fef52bea6d56a92dbd9e8e0edb.jpg","text":"TemporaryFile(/tmp/multipartBody4401235414583436625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371273579,"filename":"image_11042025_11_38_15_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f5200b452fe1317520dbb22a32bad288.jpg","text":"TemporaryFile(/tmp/multipartBody173938595571164999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371273579,"filename":"image_11042025_11_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/11/b8095844cdcb417ebd8861ec387b27c6.jpg","text":"TemporaryFile(/tmp/multipartBody5652532006533665139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371273579,"filename":"image_11042025_11_37_34_9355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351659243","file1":"1351659207","file0":"1351659202","file4":"1351659254","file5":"1351659255","file3":"1351659253"},"map_files_photo_id_array":[{"photo_id":"1351659255","filename":"file5"},{"photo_id":"1351659243","filename":"file2"},{"photo_id":"1351659254","filename":"file4"},{"photo_id":"1351659207","filename":"file1"},{"photo_id":"1351659202","filename":"file0"},{"photo_id":"1351659253","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351659254":["hashtag1","hashtag2"]},{"1351659253":["hashtag1","hashtag2"]},{"1351659202":["hashtag1","hashtag2"]},{"1351659255":["hashtag1","hashtag2"]},{"1351659243":["hashtag1","hashtag2"]},{"1351659207":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351659254, 1351659253, 1351659202, 1351659255, 1351659243, 1351659207)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.376084089279175 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 13:34:32.170017
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/11/38/image_11042025_11_38_24_9335.jpg', '/home/pi/Desktop/images/11042025/11/38/image_11042025_11_38_35_10366.jpg', '/home/pi/Desktop/images/11042025/11/38/image_11042025_11_38_44_9447.jpg', '/home/pi/Desktop/images/11042025/11/38/image_11042025_11_38_54_10352.jpg', '/home/pi/Desktop/images/11042025/11/38/image_11042025_11_39_05_10490.jpg', '/home/pi/Desktop/images/11042025/11/39/image_11042025_11_39_14_9324.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/11/38/image_11042025_11_38_24_9335.jpg
/home/pi/Desktop/images/11042025/11/38/image_11042025_11_38_35_10366.jpg
/home/pi/Desktop/images/11042025/11/38/image_11042025_11_38_44_9447.jpg
/home/pi/Desktop/images/11042025/11/38/image_11042025_11_38_54_10352.jpg
/home/pi/Desktop/images/11042025/11/38/image_11042025_11_39_05_10490.jpg
/home/pi/Desktop/images/11042025/11/39/image_11042025_11_39_14_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":["1351659332","1351659370","1351659345","1351659354","1351659362","1351659338"],"photo_ids_order":["1351659332","1351659338","1351659345","1351659354","1351659362","1351659370"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9ed46f8fd1738f38dd308827eff800bc.jpg","text":"TemporaryFile(/tmp/multipartBody6381563846919490724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371332620,"filename":"image_11042025_11_38_24_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f661a5321ddccde696710f1ca199c540.jpg","text":"TemporaryFile(/tmp/multipartBody2701155401927990444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371332620,"filename":"image_11042025_11_39_14_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/13acaab5b4b0b220edf3511550e90465.jpg","text":"TemporaryFile(/tmp/multipartBody1446624141229573333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371332620,"filename":"image_11042025_11_38_44_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5825b34f00b72bc42265af0678824c6a.jpg","text":"TemporaryFile(/tmp/multipartBody8266575280022555792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371332620,"filename":"image_11042025_11_38_54_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0651201942c7aa1706156123e5fc0587.jpg","text":"TemporaryFile(/tmp/multipartBody8495155478084297648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371332620,"filename":"image_11042025_11_39_05_10490.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b188375e893e44664c5b2db761263ba5.jpg","text":"TemporaryFile(/tmp/multipartBody2837619886476602931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371332620,"filename":"image_11042025_11_38_35_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351659345","file1":"1351659338","file0":"1351659332","file4":"1351659362","file5":"1351659370","file3":"1351659354"},"map_files_photo_id_array":[{"photo_id":"1351659370","filename":"file5"},{"photo_id":"1351659345","filename":"file2"},{"photo_id":"1351659362","filename":"file4"},{"photo_id":"1351659338","filename":"file1"},{"photo_id":"1351659332","filename":"file0"},{"photo_id":"1351659354","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351659332":["hashtag1","hashtag2"]},{"1351659370":["hashtag1","hashtag2"]},{"1351659345":["hashtag1","hashtag2"]},{"1351659354":["hashtag1","hashtag2"]},{"1351659362":["hashtag1","hashtag2"]},{"1351659338":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351659332, 1351659370, 1351659345, 1351659354, 1351659362, 1351659338)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.644245862960815 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 13:35:32.420929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/11/39/image_11042025_11_39_24_10360.jpg', '/home/pi/Desktop/images/11042025/11/39/image_11042025_11_39_34_9470.jpg', '/home/pi/Desktop/images/11042025/11/39/image_11042025_11_39_44_10353.jpg', '/home/pi/Desktop/images/11042025/11/39/image_11042025_11_39_55_10574.jpg', '/home/pi/Desktop/images/11042025/11/39/image_11042025_11_40_04_9346.jpg', '/home/pi/Desktop/images/11042025/11/40/image_11042025_11_40_15_10341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/11/39/image_11042025_11_39_24_10360.jpg
/home/pi/Desktop/images/11042025/11/39/image_11042025_11_39_34_9470.jpg
/home/pi/Desktop/images/11042025/11/39/image_11042025_11_39_44_10353.jpg
/home/pi/Desktop/images/11042025/11/39/image_11042025_11_39_55_10574.jpg
/home/pi/Desktop/images/11042025/11/39/image_11042025_11_40_04_9346.jpg
/home/pi/Desktop/images/11042025/11/40/image_11042025_11_40_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":["1351659503","1351659469","1351659477","1351659497","1351659461","1351659485"],"photo_ids_order":["1351659461","1351659469","1351659477","1351659485","1351659497","1351659503"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c70aa58c1a5bd6b2b8a4c35a72acdc9d.jpg","text":"TemporaryFile(/tmp/multipartBody4996718735621706279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371392878,"filename":"image_11042025_11_40_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/11/05546c1ecfd48ec460e4ed8bb1183ba2.jpg","text":"TemporaryFile(/tmp/multipartBody4626436829331081839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371392878,"filename":"image_11042025_11_39_34_9470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/81d3b7f31550a4e73957cf2a83fd08a2.jpg","text":"TemporaryFile(/tmp/multipartBody4374449815522057868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371392878,"filename":"image_11042025_11_39_44_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e8baad45caf023ea4ab7fbeea8544b30.jpg","text":"TemporaryFile(/tmp/multipartBody1843976869935058507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371392878,"filename":"image_11042025_11_40_04_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1250416b2f8deb73959fffdf197f6fc0.jpg","text":"TemporaryFile(/tmp/multipartBody829027371918444892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371392878,"filename":"image_11042025_11_39_24_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/bfccfe2f1ce595565995407ab32e852b.jpg","text":"TemporaryFile(/tmp/multipartBody435543496655575180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371392878,"filename":"image_11042025_11_39_55_10574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351659477","file1":"1351659469","file0":"1351659461","file4":"1351659497","file5":"1351659503","file3":"1351659485"},"map_files_photo_id_array":[{"photo_id":"1351659503","filename":"file5"},{"photo_id":"1351659477","filename":"file2"},{"photo_id":"1351659497","filename":"file4"},{"photo_id":"1351659469","filename":"file1"},{"photo_id":"1351659461","filename":"file0"},{"photo_id":"1351659485","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351659503":["hashtag1","hashtag2"]},{"1351659469":["hashtag1","hashtag2"]},{"1351659477":["hashtag1","hashtag2"]},{"1351659497":["hashtag1","hashtag2"]},{"1351659461":["hashtag1","hashtag2"]},{"1351659485":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351659503, 1351659469, 1351659477, 1351659497, 1351659461, 1351659485)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.266815185546875 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 13:36:32.691994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/11/40/image_11042025_11_40_24_9430.jpg', '/home/pi/Desktop/images/11042025/11/40/image_11042025_11_40_34_10364.jpg', '/home/pi/Desktop/images/11042025/11/40/image_11042025_11_40_45_10486.jpg', '/home/pi/Desktop/images/11042025/11/40/image_11042025_11_40_54_9352.jpg', '/home/pi/Desktop/images/11042025/11/40/image_11042025_11_41_05_10354.jpg', '/home/pi/Desktop/images/11042025/11/41/image_11042025_11_41_15_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/11/40/image_11042025_11_40_24_9430.jpg
/home/pi/Desktop/images/11042025/11/40/image_11042025_11_40_34_10364.jpg
/home/pi/Desktop/images/11042025/11/40/image_11042025_11_40_45_10486.jpg
/home/pi/Desktop/images/11042025/11/40/image_11042025_11_40_54_9352.jpg
/home/pi/Desktop/images/11042025/11/40/image_11042025_11_41_05_10354.jpg
/home/pi/Desktop/images/11042025/11/41/image_11042025_11_41_15_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351659521","1351659532","1351659525","1351659528","1351659537","1351659542"],"photo_ids_order":["1351659521","1351659525","1351659528","1351659532","1351659537","1351659542"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/144e1beb45e31e210662e07438c9ca42.jpg","text":"TemporaryFile(/tmp/multipartBody2333325136175265369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371453141,"filename":"image_11042025_11_40_24_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/11/1d1cb73b7df39dc7e4c2d56c13dde9cf.jpg","text":"TemporaryFile(/tmp/multipartBody1336345480128212081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371453141,"filename":"image_11042025_11_40_54_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7deb75e42000b7577381fc7e6518fe20.jpg","text":"TemporaryFile(/tmp/multipartBody7708298773020791021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371453141,"filename":"image_11042025_11_40_34_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a78c75c6fbc366b9bc7a3d30e915fd55.jpg","text":"TemporaryFile(/tmp/multipartBody832383847008473457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371453141,"filename":"image_11042025_11_40_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/11/e4f65e8fc8f1174cb59550f3a7274362.jpg","text":"TemporaryFile(/tmp/multipartBody7506994272515238664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371453141,"filename":"image_11042025_11_41_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/11/ba1787fa4326d2b5dc690bcbc740c97a.jpg","text":"TemporaryFile(/tmp/multipartBody4338699931775948761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371453141,"filename":"image_11042025_11_41_15_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351659528","file1":"1351659525","file0":"1351659521","file4":"1351659537","file5":"1351659542","file3":"1351659532"},"map_files_photo_id_array":[{"photo_id":"1351659542","filename":"file5"},{"photo_id":"1351659528","filename":"file2"},{"photo_id":"1351659537","filename":"file4"},{"photo_id":"1351659525","filename":"file1"},{"photo_id":"1351659521","filename":"file0"},{"photo_id":"1351659532","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351659521":["hashtag1","hashtag2"]},{"1351659532":["hashtag1","hashtag2"]},{"1351659525":["hashtag1","hashtag2"]},{"1351659528":["hashtag1","hashtag2"]},{"1351659537":["hashtag1","hashtag2"]},{"1351659542":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351659521, 1351659532, 1351659525, 1351659528, 1351659537, 1351659542)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.24080419540405 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 13:37:32.943570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/11/41/image_11042025_11_41_24_9343.jpg', '/home/pi/Desktop/images/11042025/11/41/image_11042025_11_41_35_10349.jpg', '/home/pi/Desktop/images/11042025/11/41/image_11042025_11_41_44_9388.jpg', '/home/pi/Desktop/images/11042025/11/41/image_11042025_11_42_05_10411.jpg', '/home/pi/Desktop/images/11042025/11/42/image_11042025_11_42_14_9375.jpg', '/home/pi/Desktop/images/11042025/11/42/image_11042025_11_42_25_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/11/41/image_11042025_11_41_24_9343.jpg
/home/pi/Desktop/images/11042025/11/41/image_11042025_11_41_35_10349.jpg
/home/pi/Desktop/images/11042025/11/41/image_11042025_11_41_44_9388.jpg
/home/pi/Desktop/images/11042025/11/41/image_11042025_11_42_05_10411.jpg
/home/pi/Desktop/images/11042025/11/42/image_11042025_11_42_14_9375.jpg
/home/pi/Desktop/images/11042025/11/42/image_11042025_11_42_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":["1351659617","1351659614","1351659562","1351659601","1351659585","1351659569"],"photo_ids_order":["1351659562","1351659569","1351659585","1351659601","1351659614","1351659617"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3460e3fa9326546c885a9651b5fbd0c6.jpg","text":"TemporaryFile(/tmp/multipartBody483100816793964066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371513391,"filename":"image_11042025_11_42_25_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3989c4b7d4d18fc9bebec85dc0dc979f.jpg","text":"TemporaryFile(/tmp/multipartBody1150298408075373226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371513391,"filename":"image_11042025_11_42_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/11/f7063ecd59cd1016873149032e1ed6c7.jpg","text":"TemporaryFile(/tmp/multipartBody9059773642634782816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371513391,"filename":"image_11042025_11_41_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/11/0e6c6951ee9b2388c6df2ccd61cac045.jpg","text":"TemporaryFile(/tmp/multipartBody4505339639744161480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371513391,"filename":"image_11042025_11_42_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/11/17f8b9f9d8c6f3627eccde82c05a155c.jpg","text":"TemporaryFile(/tmp/multipartBody4723184051763221628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371513391,"filename":"image_11042025_11_41_44_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/84966f2dc579bf7c30cc593a70d77c65.jpg","text":"TemporaryFile(/tmp/multipartBody7887371539021813658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371513391,"filename":"image_11042025_11_41_35_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351659585","file1":"1351659569","file0":"1351659562","file4":"1351659614","file5":"1351659617","file3":"1351659601"},"map_files_photo_id_array":[{"photo_id":"1351659617","filename":"file5"},{"photo_id":"1351659585","filename":"file2"},{"photo_id":"1351659614","filename":"file4"},{"photo_id":"1351659569","filename":"file1"},{"photo_id":"1351659562","filename":"file0"},{"photo_id":"1351659601","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351659617":["hashtag1","hashtag2"]},{"1351659614":["hashtag1","hashtag2"]},{"1351659562":["hashtag1","hashtag2"]},{"1351659601":["hashtag1","hashtag2"]},{"1351659585":["hashtag1","hashtag2"]},{"1351659569":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351659617, 1351659614, 1351659562, 1351659601, 1351659585, 1351659569)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.84842085838318 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 13:38:33.155575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/11/42/image_11042025_11_42_34_9460.jpg', '/home/pi/Desktop/images/11042025/11/42/image_11042025_11_42_44_10345.jpg', '/home/pi/Desktop/images/11042025/11/42/image_11042025_11_42_55_10441.jpg', '/home/pi/Desktop/images/11042025/11/42/image_11042025_11_43_04_9341.jpg', '/home/pi/Desktop/images/11042025/11/43/image_11042025_11_43_15_10386.jpg', '/home/pi/Desktop/images/11042025/11/43/image_11042025_11_43_25_10438.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/11/42/image_11042025_11_42_34_9460.jpg
/home/pi/Desktop/images/11042025/11/42/image_11042025_11_42_44_10345.jpg
/home/pi/Desktop/images/11042025/11/42/image_11042025_11_42_55_10441.jpg
/home/pi/Desktop/images/11042025/11/42/image_11042025_11_43_04_9341.jpg
/home/pi/Desktop/images/11042025/11/43/image_11042025_11_43_15_10386.jpg
/home/pi/Desktop/images/11042025/11/43/image_11042025_11_43_25_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":["1351659664","1351659667","1351659652","1351659671","1351659647","1351659635"],"photo_ids_order":["1351659635","1351659647","1351659652","1351659664","1351659667","1351659671"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4ecdbc9b32a7a631fdf15f7e8650d1d8.jpg","text":"TemporaryFile(/tmp/multipartBody2492853668272430262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371573612,"filename":"image_11042025_11_43_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/11/1569ebf0fecf874a7c815d89d4179844.jpg","text":"TemporaryFile(/tmp/multipartBody6911160522668815208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371573612,"filename":"image_11042025_11_43_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/11/08ebfd09f4bdda9a1a215a82924e0714.jpg","text":"TemporaryFile(/tmp/multipartBody8202034029873405931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371573612,"filename":"image_11042025_11_42_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/11/cc4298a589ede3679670297a8eea0c12.jpg","text":"TemporaryFile(/tmp/multipartBody3826359602443793588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371573612,"filename":"image_11042025_11_43_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/11/3efb1702c56a3280825493bd92d09aae.jpg","text":"TemporaryFile(/tmp/multipartBody2924040806652753034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371573612,"filename":"image_11042025_11_42_44_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e6c8711c5b98d6768de9c0db51f1838d.jpg","text":"TemporaryFile(/tmp/multipartBody2121994281982102529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371573612,"filename":"image_11042025_11_42_34_9460.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351659652","file1":"1351659647","file0":"1351659635","file4":"1351659667","file5":"1351659671","file3":"1351659664"},"map_files_photo_id_array":[{"photo_id":"1351659671","filename":"file5"},{"photo_id":"1351659652","filename":"file2"},{"photo_id":"1351659667","filename":"file4"},{"photo_id":"1351659647","filename":"file1"},{"photo_id":"1351659635","filename":"file0"},{"photo_id":"1351659664","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351659664":["hashtag1","hashtag2"]},{"1351659667":["hashtag1","hashtag2"]},{"1351659652":["hashtag1","hashtag2"]},{"1351659671":["hashtag1","hashtag2"]},{"1351659647":["hashtag1","hashtag2"]},{"1351659635":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351659664, 1351659667, 1351659652, 1351659671, 1351659647, 1351659635)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.63833236694336 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 13:39:32.369797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/11/43/image_11042025_11_43_34_9352.jpg', '/home/pi/Desktop/images/11042025/11/43/image_11042025_11_43_45_10419.jpg', '/home/pi/Desktop/images/11042025/11/43/image_11042025_11_43_54_9342.jpg', '/home/pi/Desktop/images/11042025/11/43/image_11042025_11_44_04_10361.jpg', '/home/pi/Desktop/images/11042025/11/44/image_11042025_11_44_15_10355.jpg', '/home/pi/Desktop/images/11042025/11/44/image_11042025_11_44_24_9334.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/11/43/image_11042025_11_43_34_9352.jpg
/home/pi/Desktop/images/11042025/11/43/image_11042025_11_43_45_10419.jpg
/home/pi/Desktop/images/11042025/11/43/image_11042025_11_43_54_9342.jpg
/home/pi/Desktop/images/11042025/11/43/image_11042025_11_44_04_10361.jpg
/home/pi/Desktop/images/11042025/11/44/image_11042025_11_44_15_10355.jpg
/home/pi/Desktop/images/11042025/11/44/image_11042025_11_44_24_9334.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351659857","1351659821","1351659778","1351659783","1351659794","1351659773"],"photo_ids_order":["1351659773","1351659778","1351659783","1351659794","1351659821","1351659857"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/90717f897e65f898dc7bb081b6161584.jpg","text":"TemporaryFile(/tmp/multipartBody2627862988000757208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371632815,"filename":"image_11042025_11_44_24_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/048e52ab6fbfdaf4c9fa828574f88f0d.jpg","text":"TemporaryFile(/tmp/multipartBody473298102563427589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371632815,"filename":"image_11042025_11_44_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/11/34b7e20dd89d8621b6c48d888f8ecf3f.jpg","text":"TemporaryFile(/tmp/multipartBody1490323576439188393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371632815,"filename":"image_11042025_11_43_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/11/3316cfc5b4e45aafe7371e014583111b.jpg","text":"TemporaryFile(/tmp/multipartBody4185098879954380963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371632815,"filename":"image_11042025_11_43_54_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/521a7088064e730fdf57cbf478f53059.jpg","text":"TemporaryFile(/tmp/multipartBody951608091475745247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371632815,"filename":"image_11042025_11_44_04_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7212ba8610b12f53cf16812fb4b37f71.jpg","text":"TemporaryFile(/tmp/multipartBody3612132534156243830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371632815,"filename":"image_11042025_11_43_34_9352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351659783","file1":"1351659778","file0":"1351659773","file4":"1351659821","file5":"1351659857","file3":"1351659794"},"map_files_photo_id_array":[{"photo_id":"1351659857","filename":"file5"},{"photo_id":"1351659783","filename":"file2"},{"photo_id":"1351659821","filename":"file4"},{"photo_id":"1351659778","filename":"file1"},{"photo_id":"1351659773","filename":"file0"},{"photo_id":"1351659794","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351659857":["hashtag1","hashtag2"]},{"1351659821":["hashtag1","hashtag2"]},{"1351659778":["hashtag1","hashtag2"]},{"1351659783":["hashtag1","hashtag2"]},{"1351659794":["hashtag1","hashtag2"]},{"1351659773":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351659857, 1351659821, 1351659778, 1351659783, 1351659794, 1351659773)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.72714328765869 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 13:40:32.708207
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/11/44/image_11042025_11_44_35_10430.jpg', '/home/pi/Desktop/images/11042025/11/44/image_11042025_11_44_44_9472.jpg', '/home/pi/Desktop/images/11042025/11/44/image_11042025_11_44_54_10352.jpg', '/home/pi/Desktop/images/11042025/11/44/image_11042025_11_45_05_10491.jpg', '/home/pi/Desktop/images/11042025/11/45/image_11042025_11_45_14_9353.jpg', '/home/pi/Desktop/images/11042025/11/45/image_11042025_11_45_25_10412.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/11/44/image_11042025_11_44_35_10430.jpg
/home/pi/Desktop/images/11042025/11/44/image_11042025_11_44_44_9472.jpg
/home/pi/Desktop/images/11042025/11/44/image_11042025_11_44_54_10352.jpg
/home/pi/Desktop/images/11042025/11/44/image_11042025_11_45_05_10491.jpg
/home/pi/Desktop/images/11042025/11/45/image_11042025_11_45_14_9353.jpg
/home/pi/Desktop/images/11042025/11/45/image_11042025_11_45_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":["1351660153","1351660105","1351660201","1351660053","1351660227","1351660176"],"photo_ids_order":["1351660053","1351660105","1351660153","1351660176","1351660201","1351660227"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e3cb751df13b5587cdc8d86f1a0392ba.jpg","text":"TemporaryFile(/tmp/multipartBody7892248342666664108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371693173,"filename":"image_11042025_11_44_54_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/49c6a154ec67922755ec865d106ffc14.jpg","text":"TemporaryFile(/tmp/multipartBody7169727215347418184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371693173,"filename":"image_11042025_11_44_44_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/11/d29b76c9b45775e59131bc8fcbbca5bc.jpg","text":"TemporaryFile(/tmp/multipartBody6252308677598203418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371693173,"filename":"image_11042025_11_45_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/11/7ab5c13d87d3303475de07c5982a8fa0.jpg","text":"TemporaryFile(/tmp/multipartBody7219813942854686598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371693173,"filename":"image_11042025_11_44_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/11/4a66fcb548f0898e659e6d2b18e3cd3f.jpg","text":"TemporaryFile(/tmp/multipartBody3968312062377769169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371693173,"filename":"image_11042025_11_45_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/11/b869fbae1c67626a7eb5687055df4551.jpg","text":"TemporaryFile(/tmp/multipartBody1626851898394724206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371693173,"filename":"image_11042025_11_45_05_10491.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351660153","file1":"1351660105","file0":"1351660053","file4":"1351660201","file5":"1351660227","file3":"1351660176"},"map_files_photo_id_array":[{"photo_id":"1351660227","filename":"file5"},{"photo_id":"1351660153","filename":"file2"},{"photo_id":"1351660201","filename":"file4"},{"photo_id":"1351660105","filename":"file1"},{"photo_id":"1351660053","filename":"file0"},{"photo_id":"1351660176","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351660153":["hashtag1","hashtag2"]},{"1351660105":["hashtag1","hashtag2"]},{"1351660201":["hashtag1","hashtag2"]},{"1351660053":["hashtag1","hashtag2"]},{"1351660227":["hashtag1","hashtag2"]},{"1351660176":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351660153, 1351660105, 1351660201, 1351660053, 1351660227, 1351660176)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.64860653877258 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 13:41:32.940205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/11/45/image_11042025_11_45_34_9432.jpg', '/home/pi/Desktop/images/11042025/11/45/image_11042025_11_45_44_10371.jpg', '/home/pi/Desktop/images/11042025/11/45/image_11042025_11_45_55_10363.jpg', '/home/pi/Desktop/images/11042025/11/45/image_11042025_11_46_04_9363.jpg', '/home/pi/Desktop/images/11042025/11/46/image_11042025_11_46_15_10469.jpg', '/home/pi/Desktop/images/11042025/11/46/image_11042025_11_46_24_9433.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/11/45/image_11042025_11_45_34_9432.jpg
/home/pi/Desktop/images/11042025/11/45/image_11042025_11_45_44_10371.jpg
/home/pi/Desktop/images/11042025/11/45/image_11042025_11_45_55_10363.jpg
/home/pi/Desktop/images/11042025/11/45/image_11042025_11_46_04_9363.jpg
/home/pi/Desktop/images/11042025/11/46/image_11042025_11_46_15_10469.jpg
/home/pi/Desktop/images/11042025/11/46/image_11042025_11_46_24_9433.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351660481","1351660418","1351660508","1351660447","1351660362","1351660392"],"photo_ids_order":["1351660362","1351660392","1351660418","1351660447","1351660481","1351660508"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b15bdc1cd1b76b685537f0ce93cf01bc.jpg","text":"TemporaryFile(/tmp/multipartBody4866579490499756062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371753399,"filename":"image_11042025_11_46_15_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/11/2490ff10b13841af64bb2d1c5bc014a8.jpg","text":"TemporaryFile(/tmp/multipartBody5212543978118780239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371753399,"filename":"image_11042025_11_45_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/11/c333f864e5a297f4637f56e2a0483e2c.jpg","text":"TemporaryFile(/tmp/multipartBody134651467615964404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371753399,"filename":"image_11042025_11_46_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/11/ca2e04087b477be1957f4acf9fe91395.jpg","text":"TemporaryFile(/tmp/multipartBody6499343843437210704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371753399,"filename":"image_11042025_11_46_04_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a5ab43550cb9c42addc22df5edd646f3.jpg","text":"TemporaryFile(/tmp/multipartBody4548996251920855309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371753399,"filename":"image_11042025_11_45_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/11/446a7de9c494239af32dc5edd6baaf1e.jpg","text":"TemporaryFile(/tmp/multipartBody6263217693010779310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371753399,"filename":"image_11042025_11_45_44_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351660418","file1":"1351660392","file0":"1351660362","file4":"1351660481","file5":"1351660508","file3":"1351660447"},"map_files_photo_id_array":[{"photo_id":"1351660508","filename":"file5"},{"photo_id":"1351660418","filename":"file2"},{"photo_id":"1351660481","filename":"file4"},{"photo_id":"1351660392","filename":"file1"},{"photo_id":"1351660362","filename":"file0"},{"photo_id":"1351660447","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351660481":["hashtag1","hashtag2"]},{"1351660418":["hashtag1","hashtag2"]},{"1351660508":["hashtag1","hashtag2"]},{"1351660447":["hashtag1","hashtag2"]},{"1351660362":["hashtag1","hashtag2"]},{"1351660392":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351660481, 1351660418, 1351660508, 1351660447, 1351660362, 1351660392)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.27503037452698 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 13:42:33.078230
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/11/46/image_11042025_11_46_34_10373.jpg', '/home/pi/Desktop/images/11042025/11/46/image_11042025_11_46_54_9438.jpg', '/home/pi/Desktop/images/11042025/11/46/image_11042025_11_47_05_10355.jpg', '/home/pi/Desktop/images/11042025/11/47/image_11042025_11_47_14_9408.jpg', '/home/pi/Desktop/images/11042025/11/47/image_11042025_11_47_24_10356.jpg', '/home/pi/Desktop/images/11042025/11/47/image_11042025_11_47_35_10462.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/11/46/image_11042025_11_46_34_10373.jpg
/home/pi/Desktop/images/11042025/11/46/image_11042025_11_46_54_9438.jpg
/home/pi/Desktop/images/11042025/11/46/image_11042025_11_47_05_10355.jpg
/home/pi/Desktop/images/11042025/11/47/image_11042025_11_47_14_9408.jpg
/home/pi/Desktop/images/11042025/11/47/image_11042025_11_47_24_10356.jpg
/home/pi/Desktop/images/11042025/11/47/image_11042025_11_47_35_10462.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351660721","1351660706","1351660702","1351660683","1351660716","1351660710"],"photo_ids_order":["1351660683","1351660702","1351660706","1351660710","1351660716","1351660721"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8d1ec3fd37036f14b948ac869fb5e002.jpg","text":"TemporaryFile(/tmp/multipartBody1515415423287558454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371813530,"filename":"image_11042025_11_47_35_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/daf3a4df35241089624da93c06b5c3d3.jpg","text":"TemporaryFile(/tmp/multipartBody8896521937164926319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371813530,"filename":"image_11042025_11_47_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/11/2e73e205ed19d8df99639013f3825a84.jpg","text":"TemporaryFile(/tmp/multipartBody4221788622714830971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371813530,"filename":"image_11042025_11_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/11/8508a048ec7669e9e264de8d12439294.jpg","text":"TemporaryFile(/tmp/multipartBody4191847553163721579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371813530,"filename":"image_11042025_11_46_34_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e44a03a1d5520751b6b7fe0b1092ac77.jpg","text":"TemporaryFile(/tmp/multipartBody3157014966670745764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371813530,"filename":"image_11042025_11_47_24_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b9286b6f7a776ff61e648750f45d0af0.jpg","text":"TemporaryFile(/tmp/multipartBody1729249404613274312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371813530,"filename":"image_11042025_11_47_14_9408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351660706","file1":"1351660702","file0":"1351660683","file4":"1351660716","file5":"1351660721","file3":"1351660710"},"map_files_photo_id_array":[{"photo_id":"1351660721","filename":"file5"},{"photo_id":"1351660706","filename":"file2"},{"photo_id":"1351660716","filename":"file4"},{"photo_id":"1351660702","filename":"file1"},{"photo_id":"1351660683","filename":"file0"},{"photo_id":"1351660710","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351660721":["hashtag1","hashtag2"]},{"1351660706":["hashtag1","hashtag2"]},{"1351660702":["hashtag1","hashtag2"]},{"1351660683":["hashtag1","hashtag2"]},{"1351660716":["hashtag1","hashtag2"]},{"1351660710":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351660721, 1351660706, 1351660702, 1351660683, 1351660716, 1351660710)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.26968479156494 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 13:43:32.378381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/11/47/image_11042025_11_47_44_9403.jpg', '/home/pi/Desktop/images/11042025/11/47/image_11042025_11_48_04_9463.jpg', '/home/pi/Desktop/images/11042025/11/48/image_11042025_11_48_15_10425.jpg', '/home/pi/Desktop/images/11042025/11/48/image_11042025_11_48_25_10426.jpg', '/home/pi/Desktop/images/11042025/11/48/image_11042025_11_48_34_9336.jpg', '/home/pi/Desktop/images/11042025/11/48/image_11042025_11_48_45_10499.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/11/47/image_11042025_11_47_44_9403.jpg
/home/pi/Desktop/images/11042025/11/47/image_11042025_11_48_04_9463.jpg
/home/pi/Desktop/images/11042025/11/48/image_11042025_11_48_15_10425.jpg
/home/pi/Desktop/images/11042025/11/48/image_11042025_11_48_25_10426.jpg
/home/pi/Desktop/images/11042025/11/48/image_11042025_11_48_34_9336.jpg
/home/pi/Desktop/images/11042025/11/48/image_11042025_11_48_45_10499.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351660787","1351660817","1351660840","1351660864","1351660767","1351660827"],"photo_ids_order":["1351660767","1351660787","1351660817","1351660827","1351660840","1351660864"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/03e8c8fe24d1eecadde401536c966d21.jpg","text":"TemporaryFile(/tmp/multipartBody1481585339143586706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371872828,"filename":"image_11042025_11_48_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/11/06b234125efa2beaecdf9fc40929bdc2.jpg","text":"TemporaryFile(/tmp/multipartBody5785120634863527354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371872828,"filename":"image_11042025_11_48_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/11/c15c30ac3b973e5aaa31552fd76cc254.jpg","text":"TemporaryFile(/tmp/multipartBody7760545104662059778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371872828,"filename":"image_11042025_11_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/11/49b8a88700c5533ec18ebf1ab5720bda.jpg","text":"TemporaryFile(/tmp/multipartBody4736407443987527077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371872828,"filename":"image_11042025_11_48_45_10499.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d093c7a27ea43745b4359aa7668bb61d.jpg","text":"TemporaryFile(/tmp/multipartBody8443204008655531884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371872828,"filename":"image_11042025_11_47_44_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8bba03c9f0279e65060c32502437b688.jpg","text":"TemporaryFile(/tmp/multipartBody5402374602352974608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371872828,"filename":"image_11042025_11_48_25_10426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351660817","file1":"1351660787","file0":"1351660767","file4":"1351660840","file5":"1351660864","file3":"1351660827"},"map_files_photo_id_array":[{"photo_id":"1351660864","filename":"file5"},{"photo_id":"1351660817","filename":"file2"},{"photo_id":"1351660840","filename":"file4"},{"photo_id":"1351660787","filename":"file1"},{"photo_id":"1351660767","filename":"file0"},{"photo_id":"1351660827","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351660787":["hashtag1","hashtag2"]},{"1351660817":["hashtag1","hashtag2"]},{"1351660840":["hashtag1","hashtag2"]},{"1351660864":["hashtag1","hashtag2"]},{"1351660767":["hashtag1","hashtag2"]},{"1351660827":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351660787, 1351660817, 1351660840, 1351660864, 1351660767, 1351660827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.01918911933899 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 13:44:32.456093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/11/48/image_11042025_11_48_54_9355.jpg', '/home/pi/Desktop/images/11042025/11/48/image_11042025_11_49_04_10337.jpg', '/home/pi/Desktop/images/11042025/11/49/image_11042025_11_49_15_10357.jpg', '/home/pi/Desktop/images/11042025/11/49/image_11042025_11_49_24_9407.jpg', '/home/pi/Desktop/images/11042025/11/49/image_11042025_11_49_35_10390.jpg', '/home/pi/Desktop/images/11042025/11/49/image_11042025_11_49_44_9445.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/11/48/image_11042025_11_48_54_9355.jpg
/home/pi/Desktop/images/11042025/11/48/image_11042025_11_49_04_10337.jpg
/home/pi/Desktop/images/11042025/11/49/image_11042025_11_49_15_10357.jpg
/home/pi/Desktop/images/11042025/11/49/image_11042025_11_49_24_9407.jpg
/home/pi/Desktop/images/11042025/11/49/image_11042025_11_49_35_10390.jpg
/home/pi/Desktop/images/11042025/11/49/image_11042025_11_49_44_9445.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351661138","1351661098","1351661164","1351661215","1351661119","1351661184"],"photo_ids_order":["1351661098","1351661119","1351661138","1351661164","1351661184","1351661215"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/720613b59039f943fc14de05e01ee65f.jpg","text":"TemporaryFile(/tmp/multipartBody7264764679887457872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371932920,"filename":"image_11042025_11_49_15_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/deede71c71f0048bdbde2e5230b68a2f.jpg","text":"TemporaryFile(/tmp/multipartBody4483551946803610946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371932920,"filename":"image_11042025_11_48_54_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/34bb2021824e7a4e641f9591b641e277.jpg","text":"TemporaryFile(/tmp/multipartBody995930447499842913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371932920,"filename":"image_11042025_11_49_24_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6c92a3d7d65ff456c848e2a69a925cd6.jpg","text":"TemporaryFile(/tmp/multipartBody7745717255370556003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371932920,"filename":"image_11042025_11_49_44_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e929bfde3aac40a7fd8590bf54a7814d.jpg","text":"TemporaryFile(/tmp/multipartBody4441100988797305439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371932920,"filename":"image_11042025_11_49_04_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2226593d7a803bb89a8a3a3c1ac52693.jpg","text":"TemporaryFile(/tmp/multipartBody5175996985666024657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371932920,"filename":"image_11042025_11_49_35_10390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351661138","file1":"1351661119","file0":"1351661098","file4":"1351661184","file5":"1351661215","file3":"1351661164"},"map_files_photo_id_array":[{"photo_id":"1351661215","filename":"file5"},{"photo_id":"1351661138","filename":"file2"},{"photo_id":"1351661184","filename":"file4"},{"photo_id":"1351661119","filename":"file1"},{"photo_id":"1351661098","filename":"file0"},{"photo_id":"1351661164","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351661138":["hashtag1","hashtag2"]},{"1351661098":["hashtag1","hashtag2"]},{"1351661164":["hashtag1","hashtag2"]},{"1351661215":["hashtag1","hashtag2"]},{"1351661119":["hashtag1","hashtag2"]},{"1351661184":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351661138, 1351661098, 1351661164, 1351661215, 1351661119, 1351661184)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.1872136592865 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 13:45:32.671373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/11/49/image_11042025_11_49_54_10373.jpg', '/home/pi/Desktop/images/11042025/11/49/image_11042025_11_50_05_10431.jpg', '/home/pi/Desktop/images/11042025/11/50/image_11042025_11_50_14_9350.jpg', '/home/pi/Desktop/images/11042025/11/50/image_11042025_11_50_25_10372.jpg', '/home/pi/Desktop/images/11042025/11/50/image_11042025_11_50_34_9443.jpg', '/home/pi/Desktop/images/11042025/11/50/image_11042025_11_50_44_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/11/49/image_11042025_11_49_54_10373.jpg
/home/pi/Desktop/images/11042025/11/49/image_11042025_11_50_05_10431.jpg
/home/pi/Desktop/images/11042025/11/50/image_11042025_11_50_14_9350.jpg
/home/pi/Desktop/images/11042025/11/50/image_11042025_11_50_25_10372.jpg
/home/pi/Desktop/images/11042025/11/50/image_11042025_11_50_34_9443.jpg
/home/pi/Desktop/images/11042025/11/50/image_11042025_11_50_44_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351662503","1351662268","1351661929","1351662756","1351662144","1351661754"],"photo_ids_order":["1351661754","1351661929","1351662144","1351662268","1351662503","1351662756"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a84f6e5b9a1b9737af96e80c4bdffdca.jpg","text":"TemporaryFile(/tmp/multipartBody7999646064813827768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371993136,"filename":"image_11042025_11_50_34_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/11/af1564a275e152be75c4350024d2f5fb.jpg","text":"TemporaryFile(/tmp/multipartBody3521984561636595723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371993136,"filename":"image_11042025_11_50_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/11/d3b60454b92a80c1f9d43a26c2c738e8.jpg","text":"TemporaryFile(/tmp/multipartBody132772727525466580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371993136,"filename":"image_11042025_11_50_05_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f27294fbcec2f6c3190fc78c217d86e2.jpg","text":"TemporaryFile(/tmp/multipartBody2616077506730845967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371993136,"filename":"image_11042025_11_50_44_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/edb6f0d373bd15f9ef85f6d5ca2a88f0.jpg","text":"TemporaryFile(/tmp/multipartBody2112644677232116760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371993136,"filename":"image_11042025_11_50_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/11/69f9bd967412d4ed346aabb180df2fb8.jpg","text":"TemporaryFile(/tmp/multipartBody7325961919344453276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744371993136,"filename":"image_11042025_11_49_54_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351662144","file1":"1351661929","file0":"1351661754","file4":"1351662503","file5":"1351662756","file3":"1351662268"},"map_files_photo_id_array":[{"photo_id":"1351662756","filename":"file5"},{"photo_id":"1351662144","filename":"file2"},{"photo_id":"1351662503","filename":"file4"},{"photo_id":"1351661929","filename":"file1"},{"photo_id":"1351661754","filename":"file0"},{"photo_id":"1351662268","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351662503":["hashtag1","hashtag2"]},{"1351662268":["hashtag1","hashtag2"]},{"1351661929":["hashtag1","hashtag2"]},{"1351662756":["hashtag1","hashtag2"]},{"1351662144":["hashtag1","hashtag2"]},{"1351661754":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351662503, 1351662268, 1351661929, 1351662756, 1351662144, 1351661754)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.60855960845947 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 13:46:32.931083
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/11/50/image_11042025_11_50_55_10486.jpg', '/home/pi/Desktop/images/11042025/11/50/image_11042025_11_51_04_9345.jpg', '/home/pi/Desktop/images/11042025/11/51/image_11042025_11_51_15_10342.jpg', '/home/pi/Desktop/images/11042025/11/51/image_11042025_11_51_25_10341.jpg', '/home/pi/Desktop/images/11042025/11/51/image_11042025_11_51_34_9350.jpg', '/home/pi/Desktop/images/11042025/11/51/image_11042025_11_51_45_10332.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/11/50/image_11042025_11_50_55_10486.jpg
/home/pi/Desktop/images/11042025/11/50/image_11042025_11_51_04_9345.jpg
/home/pi/Desktop/images/11042025/11/51/image_11042025_11_51_15_10342.jpg
/home/pi/Desktop/images/11042025/11/51/image_11042025_11_51_25_10341.jpg
/home/pi/Desktop/images/11042025/11/51/image_11042025_11_51_34_9350.jpg
/home/pi/Desktop/images/11042025/11/51/image_11042025_11_51_45_10332.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351663138","1351663149","1351663125","1351663061","1351663014","1351663142"],"photo_ids_order":["1351663014","1351663061","1351663125","1351663138","1351663142","1351663149"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f3cf71d310466909a0b9e5559a593d41.jpg","text":"TemporaryFile(/tmp/multipartBody6156296842147976156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744372053383,"filename":"image_11042025_11_51_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/11/a567b8ed8624ccf840dfeb3a7c93eb8e.jpg","text":"TemporaryFile(/tmp/multipartBody5885623521796588317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744372053383,"filename":"image_11042025_11_51_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/11/d8cbf7a22196f92aa03954cad76c3edd.jpg","text":"TemporaryFile(/tmp/multipartBody62413739635789242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744372053383,"filename":"image_11042025_11_51_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/11/ba9d7275748f0d7fa0cf0188b53a3733.jpg","text":"TemporaryFile(/tmp/multipartBody3704259414015579711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744372053383,"filename":"image_11042025_11_51_04_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/12ff760f427f40b98714b4db43cfb537.jpg","text":"TemporaryFile(/tmp/multipartBody7001048982098250046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744372053383,"filename":"image_11042025_11_50_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/11/7c0d6b38e022f548cc64c3cfbbbc2aa7.jpg","text":"TemporaryFile(/tmp/multipartBody8807899347675402244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744372053383,"filename":"image_11042025_11_51_34_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351663125","file1":"1351663061","file0":"1351663014","file4":"1351663142","file5":"1351663149","file3":"1351663138"},"map_files_photo_id_array":[{"photo_id":"1351663149","filename":"file5"},{"photo_id":"1351663125","filename":"file2"},{"photo_id":"1351663142","filename":"file4"},{"photo_id":"1351663061","filename":"file1"},{"photo_id":"1351663014","filename":"file0"},{"photo_id":"1351663138","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351663138":["hashtag1","hashtag2"]},{"1351663149":["hashtag1","hashtag2"]},{"1351663125":["hashtag1","hashtag2"]},{"1351663061":["hashtag1","hashtag2"]},{"1351663014":["hashtag1","hashtag2"]},{"1351663142":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351663138, 1351663149, 1351663125, 1351663061, 1351663014, 1351663142)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.44089341163635 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 13:47:33.267931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/11/51/image_11042025_11_51_54_9430.jpg', '/home/pi/Desktop/images/11042025/11/51/image_11042025_11_52_04_10362.jpg', '/home/pi/Desktop/images/11042025/11/52/image_11042025_11_52_15_10488.jpg', '/home/pi/Desktop/images/11042025/11/52/image_11042025_11_52_24_9346.jpg', '/home/pi/Desktop/images/11042025/11/52/image_11042025_11_52_35_10409.jpg', '/home/pi/Desktop/images/11042025/11/52/image_11042025_11_52_44_9342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/11/51/image_11042025_11_51_54_9430.jpg
/home/pi/Desktop/images/11042025/11/51/image_11042025_11_52_04_10362.jpg
/home/pi/Desktop/images/11042025/11/52/image_11042025_11_52_15_10488.jpg
/home/pi/Desktop/images/11042025/11/52/image_11042025_11_52_24_9346.jpg
/home/pi/Desktop/images/11042025/11/52/image_11042025_11_52_35_10409.jpg
/home/pi/Desktop/images/11042025/11/52/image_11042025_11_52_44_9342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351663621","1351663590","1351663566","1351663728","1351663538","1351663750"],"photo_ids_order":["1351663538","1351663566","1351663590","1351663621","1351663728","1351663750"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/fd034e98fca473629d9461ebac53b347.jpg","text":"TemporaryFile(/tmp/multipartBody6520993309381462903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744372113725,"filename":"image_11042025_11_52_24_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c213936936e2fb8f58f54cc87a49f1a9.jpg","text":"TemporaryFile(/tmp/multipartBody8889369691402717920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744372113725,"filename":"image_11042025_11_52_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/11/7d4fedc12dd6c0c567d5e0a4dc54fe31.jpg","text":"TemporaryFile(/tmp/multipartBody5582981845322557336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744372113725,"filename":"image_11042025_11_52_04_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1d50ade1db1cad8bb97a8b940018bbad.jpg","text":"TemporaryFile(/tmp/multipartBody1323560155028473679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744372113725,"filename":"image_11042025_11_52_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/11/27ea31e64c2251d54bcf1520d46131c3.jpg","text":"TemporaryFile(/tmp/multipartBody6594505454566924854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744372113725,"filename":"image_11042025_11_51_54_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/73749babed4c6b8b087c2f78c3790d11.jpg","text":"TemporaryFile(/tmp/multipartBody6209105857456730744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744372113725,"filename":"image_11042025_11_52_44_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351663590","file1":"1351663566","file0":"1351663538","file4":"1351663728","file5":"1351663750","file3":"1351663621"},"map_files_photo_id_array":[{"photo_id":"1351663750","filename":"file5"},{"photo_id":"1351663590","filename":"file2"},{"photo_id":"1351663728","filename":"file4"},{"photo_id":"1351663566","filename":"file1"},{"photo_id":"1351663538","filename":"file0"},{"photo_id":"1351663621","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351663621":["hashtag1","hashtag2"]},{"1351663590":["hashtag1","hashtag2"]},{"1351663566":["hashtag1","hashtag2"]},{"1351663728":["hashtag1","hashtag2"]},{"1351663538":["hashtag1","hashtag2"]},{"1351663750":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351663621, 1351663590, 1351663566, 1351663728, 1351663538, 1351663750)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.888617515563965 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 13:48:32.297497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/11/52/image_11042025_11_52_54_10352.jpg', '/home/pi/Desktop/images/11042025/11/52/image_11042025_11_53_05_10410.jpg', '/home/pi/Desktop/images/11042025/11/53/image_11042025_11_53_14_9342.jpg', '/home/pi/Desktop/images/11042025/11/53/image_11042025_11_53_24_10397.jpg', '/home/pi/Desktop/images/11042025/11/53/image_11042025_11_53_35_10430.jpg', '/home/pi/Desktop/images/11042025/11/53/image_11042025_11_53_44_9339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/11/52/image_11042025_11_52_54_10352.jpg
/home/pi/Desktop/images/11042025/11/52/image_11042025_11_53_05_10410.jpg
/home/pi/Desktop/images/11042025/11/53/image_11042025_11_53_14_9342.jpg
/home/pi/Desktop/images/11042025/11/53/image_11042025_11_53_24_10397.jpg
/home/pi/Desktop/images/11042025/11/53/image_11042025_11_53_35_10430.jpg
/home/pi/Desktop/images/11042025/11/53/image_11042025_11_53_44_9339.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":["1351664172","1351664211","1351664004","1351663940","1351664152","1351663975"],"photo_ids_order":["1351663940","1351663975","1351664004","1351664152","1351664172","1351664211"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ff947ad9a0337f85b959a2ce7e8ca164.jpg","text":"TemporaryFile(/tmp/multipartBody4135318067191697995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744372172741,"filename":"image_11042025_11_53_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/11/d8669afa89aa53e55992db8e9b753097.jpg","text":"TemporaryFile(/tmp/multipartBody2596708071514662077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744372172741,"filename":"image_11042025_11_53_44_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/df82e781e5d0872655eaa16434a04191.jpg","text":"TemporaryFile(/tmp/multipartBody1509466217246672836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744372172741,"filename":"image_11042025_11_53_14_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ce292e0ff8dbcedc43785303e047af53.jpg","text":"TemporaryFile(/tmp/multipartBody5733488732947437736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744372172741,"filename":"image_11042025_11_52_54_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b71cb3d068c825bf8fcfa1d120e408ef.jpg","text":"TemporaryFile(/tmp/multipartBody7687508284744876598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744372172741,"filename":"image_11042025_11_53_24_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/11/b37c2623306f355b5713a97ca7caa3bb.jpg","text":"TemporaryFile(/tmp/multipartBody4919370921779826826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744372172741,"filename":"image_11042025_11_53_05_10410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351664004","file1":"1351663975","file0":"1351663940","file4":"1351664172","file5":"1351664211","file3":"1351664152"},"map_files_photo_id_array":[{"photo_id":"1351664211","filename":"file5"},{"photo_id":"1351664004","filename":"file2"},{"photo_id":"1351664172","filename":"file4"},{"photo_id":"1351663975","filename":"file1"},{"photo_id":"1351663940","filename":"file0"},{"photo_id":"1351664152","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351664172":["hashtag1","hashtag2"]},{"1351664211":["hashtag1","hashtag2"]},{"1351664004":["hashtag1","hashtag2"]},{"1351663940":["hashtag1","hashtag2"]},{"1351664152":["hashtag1","hashtag2"]},{"1351663975":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351664172, 1351664211, 1351664004, 1351663940, 1351664152, 1351663975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.52641177177429 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 13:49:42.492386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/11/53/image_11042025_11_53_55_10353.jpg', '/home/pi/Desktop/images/11042025/11/53/image_11042025_11_54_05_10354.jpg', '/home/pi/Desktop/images/11042025/11/54/image_11042025_11_54_14_9433.jpg', '/home/pi/Desktop/images/11042025/11/54/image_11042025_11_54_25_10520.jpg', '/home/pi/Desktop/images/11042025/11/54/image_11042025_11_54_34_9448.jpg', '/home/pi/Desktop/images/11042025/11/54/image_11042025_11_54_45_10468.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/11/53/image_11042025_11_53_55_10353.jpg
/home/pi/Desktop/images/11042025/11/53/image_11042025_11_54_05_10354.jpg
/home/pi/Desktop/images/11042025/11/54/image_11042025_11_54_14_9433.jpg
/home/pi/Desktop/images/11042025/11/54/image_11042025_11_54_25_10520.jpg
/home/pi/Desktop/images/11042025/11/54/image_11042025_11_54_34_9448.jpg
/home/pi/Desktop/images/11042025/11/54/image_11042025_11_54_45_10468.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351664355","1351664442","1351664483","1351664402","1351664383","1351664452"],"photo_ids_order":["1351664355","1351664383","1351664402","1351664442","1351664452","1351664483"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5e69a5664ba3705b9db6384a6d8d4405.jpg","text":"TemporaryFile(/tmp/multipartBody75476555534292555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744372242937,"filename":"image_11042025_11_53_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/11/10c935e2cb26cff9547ba48098622e6c.jpg","text":"TemporaryFile(/tmp/multipartBody6869603099849337609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744372242937,"filename":"image_11042025_11_54_25_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/11/26717bb4121cea90128d6faa09be0b79.jpg","text":"TemporaryFile(/tmp/multipartBody1547463494750606787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744372242937,"filename":"image_11042025_11_54_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/11/7c77c564816792e5ad4e2dc31b8f6277.jpg","text":"TemporaryFile(/tmp/multipartBody6338986734115158521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744372242937,"filename":"image_11042025_11_54_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/11/829e4d1d220cb58b4ef375813817372b.jpg","text":"TemporaryFile(/tmp/multipartBody3190937957687991662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744372242937,"filename":"image_11042025_11_54_05_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7c684146b71f40dfe2d30ca95ddd82af.jpg","text":"TemporaryFile(/tmp/multipartBody1234262346196981997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744372242937,"filename":"image_11042025_11_54_34_9448.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351664402","file1":"1351664383","file0":"1351664355","file4":"1351664452","file5":"1351664483","file3":"1351664442"},"map_files_photo_id_array":[{"photo_id":"1351664483","filename":"file5"},{"photo_id":"1351664402","filename":"file2"},{"photo_id":"1351664452","filename":"file4"},{"photo_id":"1351664383","filename":"file1"},{"photo_id":"1351664355","filename":"file0"},{"photo_id":"1351664442","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351664355":["hashtag1","hashtag2"]},{"1351664442":["hashtag1","hashtag2"]},{"1351664483":["hashtag1","hashtag2"]},{"1351664402":["hashtag1","hashtag2"]},{"1351664383":["hashtag1","hashtag2"]},{"1351664452":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351664355, 1351664442, 1351664483, 1351664402, 1351664383, 1351664452)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.63955879211426 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 13:50:32.671187
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/11/54/image_11042025_11_54_54_9338.jpg', '/home/pi/Desktop/images/11042025/11/54/image_11042025_11_55_05_10368.jpg', '/home/pi/Desktop/images/11042025/11/55/image_11042025_11_55_15_10415.jpg', '/home/pi/Desktop/images/11042025/11/55/image_11042025_11_55_24_9344.jpg', '/home/pi/Desktop/images/11042025/11/55/image_11042025_11_55_35_10334.jpg', '/home/pi/Desktop/images/11042025/11/55/image_11042025_11_55_44_9458.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/11/54/image_11042025_11_54_54_9338.jpg
/home/pi/Desktop/images/11042025/11/54/image_11042025_11_55_05_10368.jpg
/home/pi/Desktop/images/11042025/11/55/image_11042025_11_55_15_10415.jpg
/home/pi/Desktop/images/11042025/11/55/image_11042025_11_55_24_9344.jpg
/home/pi/Desktop/images/11042025/11/55/image_11042025_11_55_35_10334.jpg
/home/pi/Desktop/images/11042025/11/55/image_11042025_11_55_44_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":["1351664711","1351664807","1351664609","1351664755","1351664734","1351664677"],"photo_ids_order":["1351664609","1351664677","1351664711","1351664734","1351664755","1351664807"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f9bb8b25b1695f12f6bed4d66f62ff21.jpg","text":"TemporaryFile(/tmp/multipartBody1408915349340967309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744372293114,"filename":"image_11042025_11_55_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/11/0aeeba227e187a0c6eb12a6eb5948c5e.jpg","text":"TemporaryFile(/tmp/multipartBody5265847487409842692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744372293114,"filename":"image_11042025_11_55_44_9458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/49ee87bdd0b4186d1ab64446353fa5ab.jpg","text":"TemporaryFile(/tmp/multipartBody26381014972913395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744372293114,"filename":"image_11042025_11_54_54_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/18a8ec4356e34859b2fc3971b1d0e5b0.jpg","text":"TemporaryFile(/tmp/multipartBody7605636305136358875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744372293114,"filename":"image_11042025_11_55_35_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c44964e4204b1e3f57cb817f25ed7939.jpg","text":"TemporaryFile(/tmp/multipartBody3031936765114168239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744372293114,"filename":"image_11042025_11_55_24_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/803b209d1c2c30d72d736462c3aefe20.jpg","text":"TemporaryFile(/tmp/multipartBody9119506474610716600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744372293114,"filename":"image_11042025_11_55_05_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351664711","file1":"1351664677","file0":"1351664609","file4":"1351664755","file5":"1351664807","file3":"1351664734"},"map_files_photo_id_array":[{"photo_id":"1351664807","filename":"file5"},{"photo_id":"1351664711","filename":"file2"},{"photo_id":"1351664755","filename":"file4"},{"photo_id":"1351664677","filename":"file1"},{"photo_id":"1351664609","filename":"file0"},{"photo_id":"1351664734","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351664711":["hashtag1","hashtag2"]},{"1351664807":["hashtag1","hashtag2"]},{"1351664609":["hashtag1","hashtag2"]},{"1351664755":["hashtag1","hashtag2"]},{"1351664734":["hashtag1","hashtag2"]},{"1351664677":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351664711, 1351664807, 1351664609, 1351664755, 1351664734, 1351664677)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.14571976661682 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 13:51:33.032128
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/11/55/image_11042025_11_55_54_10373.jpg', '/home/pi/Desktop/images/11042025/11/55/image_11042025_11_56_05_10401.jpg', '/home/pi/Desktop/images/11042025/11/56/image_11042025_11_56_14_9320.jpg', '/home/pi/Desktop/images/11042025/11/56/image_11042025_11_56_25_10377.jpg', '/home/pi/Desktop/images/11042025/11/56/image_11042025_11_56_35_10347.jpg', '/home/pi/Desktop/images/11042025/11/56/image_11042025_11_56_44_9354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/11/55/image_11042025_11_55_54_10373.jpg
/home/pi/Desktop/images/11042025/11/55/image_11042025_11_56_05_10401.jpg
/home/pi/Desktop/images/11042025/11/56/image_11042025_11_56_14_9320.jpg
/home/pi/Desktop/images/11042025/11/56/image_11042025_11_56_25_10377.jpg
/home/pi/Desktop/images/11042025/11/56/image_11042025_11_56_35_10347.jpg
/home/pi/Desktop/images/11042025/11/56/image_11042025_11_56_44_9354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351664949","1351665074","1351664966","1351665168","1351664923","1351664988"],"photo_ids_order":["1351664923","1351664949","1351664966","1351664988","1351665074","1351665168"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4de58b22eb4ae1193516ed79e88ddce7.jpg","text":"TemporaryFile(/tmp/multipartBody9115017126682375265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744372353481,"filename":"image_11042025_11_56_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/11/af3cc551a48e8a87bb4ba5659c96b1be.jpg","text":"TemporaryFile(/tmp/multipartBody1104092138543779982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744372353481,"filename":"image_11042025_11_56_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/11/4300b032581dc12cf64689b0deae9b9c.jpg","text":"TemporaryFile(/tmp/multipartBody8604556275610509828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744372353481,"filename":"image_11042025_11_56_14_9320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9cef240e0fd84820063d00c81a7ce241.jpg","text":"TemporaryFile(/tmp/multipartBody692956633413865183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744372353481,"filename":"image_11042025_11_56_44_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/38511f1879842efa861e6fbb5e0fa3f1.jpg","text":"TemporaryFile(/tmp/multipartBody7365370255553266233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744372353481,"filename":"image_11042025_11_55_54_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d982e1e53bc913f630ebeae366b78710.jpg","text":"TemporaryFile(/tmp/multipartBody2619243891013071781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744372353481,"filename":"image_11042025_11_56_25_10377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351664966","file1":"1351664949","file0":"1351664923","file4":"1351665074","file5":"1351665168","file3":"1351664988"},"map_files_photo_id_array":[{"photo_id":"1351665168","filename":"file5"},{"photo_id":"1351664966","filename":"file2"},{"photo_id":"1351665074","filename":"file4"},{"photo_id":"1351664949","filename":"file1"},{"photo_id":"1351664923","filename":"file0"},{"photo_id":"1351664988","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351664949":["hashtag1","hashtag2"]},{"1351665074":["hashtag1","hashtag2"]},{"1351664966":["hashtag1","hashtag2"]},{"1351665168":["hashtag1","hashtag2"]},{"1351664923":["hashtag1","hashtag2"]},{"1351664988":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351664949, 1351665074, 1351664966, 1351665168, 1351664923, 1351664988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.98222851753235 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 13:52:33.194400
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/11/56/image_11042025_11_56_55_10342.jpg', '/home/pi/Desktop/images/11042025/11/56/image_11042025_11_57_04_9428.jpg', '/home/pi/Desktop/images/11042025/11/57/image_11042025_11_57_14_10354.jpg', '/home/pi/Desktop/images/11042025/11/57/image_11042025_11_57_25_10412.jpg', '/home/pi/Desktop/images/11042025/11/57/image_11042025_11_57_34_9328.jpg', '/home/pi/Desktop/images/11042025/11/57/image_11042025_11_57_44_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/11/56/image_11042025_11_56_55_10342.jpg
/home/pi/Desktop/images/11042025/11/56/image_11042025_11_57_04_9428.jpg
/home/pi/Desktop/images/11042025/11/57/image_11042025_11_57_14_10354.jpg
/home/pi/Desktop/images/11042025/11/57/image_11042025_11_57_25_10412.jpg
/home/pi/Desktop/images/11042025/11/57/image_11042025_11_57_34_9328.jpg
/home/pi/Desktop/images/11042025/11/57/image_11042025_11_57_44_10354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351665621","1351665516","1351665482","1351665697","1351665555","1351665666"],"photo_ids_order":["1351665482","1351665516","1351665555","1351665621","1351665666","1351665697"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/eb19269189ee6a1d330595b62c667c2e.jpg","text":"TemporaryFile(/tmp/multipartBody1333321581418261579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744372413648,"filename":"image_11042025_11_57_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/11/44abbb47eeb34ba2780dfafccfe91936.jpg","text":"TemporaryFile(/tmp/multipartBody4520428237183510188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744372413648,"filename":"image_11042025_11_57_04_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4539628d93752fc64dda928ac42d3a80.jpg","text":"TemporaryFile(/tmp/multipartBody1496765308320324818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744372413648,"filename":"image_11042025_11_56_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/11/e8c52fda68ab4653b2e617440d14a33e.jpg","text":"TemporaryFile(/tmp/multipartBody4209737644143557382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744372413648,"filename":"image_11042025_11_57_44_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c540893882a5af11c00e9fcd6bab98fd.jpg","text":"TemporaryFile(/tmp/multipartBody6583278745075627050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744372413648,"filename":"image_11042025_11_57_14_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d23657f7c6d66a6bb9182026afabc7e8.jpg","text":"TemporaryFile(/tmp/multipartBody2337313736297056778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744372413648,"filename":"image_11042025_11_57_34_9328.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351665555","file1":"1351665516","file0":"1351665482","file4":"1351665666","file5":"1351665697","file3":"1351665621"},"map_files_photo_id_array":[{"photo_id":"1351665697","filename":"file5"},{"photo_id":"1351665555","filename":"file2"},{"photo_id":"1351665666","filename":"file4"},{"photo_id":"1351665516","filename":"file1"},{"photo_id":"1351665482","filename":"file0"},{"photo_id":"1351665621","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351665621":["hashtag1","hashtag2"]},{"1351665516":["hashtag1","hashtag2"]},{"1351665482":["hashtag1","hashtag2"]},{"1351665697":["hashtag1","hashtag2"]},{"1351665555":["hashtag1","hashtag2"]},{"1351665666":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351665621, 1351665516, 1351665482, 1351665697, 1351665555, 1351665666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.10444688796997 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 13:53:32.379631
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/11/57/image_11042025_11_57_55_10363.jpg', '/home/pi/Desktop/images/11042025/11/57/image_11042025_11_58_04_9343.jpg', '/home/pi/Desktop/images/11042025/11/58/image_11042025_11_58_15_10358.jpg', '/home/pi/Desktop/images/11042025/11/58/image_11042025_11_58_25_10414.jpg', '/home/pi/Desktop/images/11042025/11/58/image_11042025_11_58_34_9369.jpg', '/home/pi/Desktop/images/11042025/11/58/image_11042025_11_58_45_10471.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/11/57/image_11042025_11_57_55_10363.jpg
/home/pi/Desktop/images/11042025/11/57/image_11042025_11_58_04_9343.jpg
/home/pi/Desktop/images/11042025/11/58/image_11042025_11_58_15_10358.jpg
/home/pi/Desktop/images/11042025/11/58/image_11042025_11_58_25_10414.jpg
/home/pi/Desktop/images/11042025/11/58/image_11042025_11_58_34_9369.jpg
/home/pi/Desktop/images/11042025/11/58/image_11042025_11_58_45_10471.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351666154","1351666085","1351666031","1351666132","1351666299","1351666221"],"photo_ids_order":["1351666031","1351666085","1351666132","1351666154","1351666221","1351666299"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4d454d2beb161c55264554b0cf0ca72f.jpg","text":"TemporaryFile(/tmp/multipartBody5609504768517959677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744372472828,"filename":"image_11042025_11_58_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/11/18fde75a491c49227c6250299c98fbde.jpg","text":"TemporaryFile(/tmp/multipartBody4418821291525363046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744372472828,"filename":"image_11042025_11_58_04_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e6ac62ed8a0383404f629806c903e3b9.jpg","text":"TemporaryFile(/tmp/multipartBody1664647939020069574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744372472828,"filename":"image_11042025_11_57_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/11/0f0150d82ea2c01a3a5fc1f92ff1a3bc.jpg","text":"TemporaryFile(/tmp/multipartBody3462732014136737623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744372472828,"filename":"image_11042025_11_58_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/11/530e02a8ece4e5e2df0dc813ef286b8e.jpg","text":"TemporaryFile(/tmp/multipartBody3555201202180441556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744372472828,"filename":"image_11042025_11_58_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/11/01dfd05c156d29dfe695cd14eafc7e92.jpg","text":"TemporaryFile(/tmp/multipartBody4681794783703747571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744372472828,"filename":"image_11042025_11_58_34_9369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351666132","file1":"1351666085","file0":"1351666031","file4":"1351666221","file5":"1351666299","file3":"1351666154"},"map_files_photo_id_array":[{"photo_id":"1351666299","filename":"file5"},{"photo_id":"1351666132","filename":"file2"},{"photo_id":"1351666221","filename":"file4"},{"photo_id":"1351666085","filename":"file1"},{"photo_id":"1351666031","filename":"file0"},{"photo_id":"1351666154","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351666154":["hashtag1","hashtag2"]},{"1351666085":["hashtag1","hashtag2"]},{"1351666031":["hashtag1","hashtag2"]},{"1351666132":["hashtag1","hashtag2"]},{"1351666299":["hashtag1","hashtag2"]},{"1351666221":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351666154, 1351666085, 1351666031, 1351666132, 1351666299, 1351666221)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.40408158302307 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 13:54:32.561201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/11/58/image_11042025_11_58_54_9347.jpg', '/home/pi/Desktop/images/11042025/11/58/image_11042025_11_59_04_10333.jpg', '/home/pi/Desktop/images/11042025/11/59/image_11042025_11_59_25_10354.jpg', '/home/pi/Desktop/images/11042025/11/59/image_11042025_11_59_34_9519.jpg', '/home/pi/Desktop/images/11042025/11/59/image_11042025_11_59_45_10500.jpg', '/home/pi/Desktop/images/11042025/11/59/image_11042025_11_59_54_9524.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/11/58/image_11042025_11_58_54_9347.jpg
/home/pi/Desktop/images/11042025/11/58/image_11042025_11_59_04_10333.jpg
/home/pi/Desktop/images/11042025/11/59/image_11042025_11_59_25_10354.jpg
/home/pi/Desktop/images/11042025/11/59/image_11042025_11_59_34_9519.jpg
/home/pi/Desktop/images/11042025/11/59/image_11042025_11_59_45_10500.jpg
/home/pi/Desktop/images/11042025/11/59/image_11042025_11_59_54_9524.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351666795","1351667011","1351666758","1351666869","1351666935","1351667048"],"photo_ids_order":["1351666758","1351666795","1351666869","1351666935","1351667011","1351667048"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2b65c8a7ddbff2d9702635d8947ddcbd.jpg","text":"TemporaryFile(/tmp/multipartBody6300382198452601584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744372533032,"filename":"image_11042025_11_59_04_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a53e5648db6169a8447a9efeb95dcc37.jpg","text":"TemporaryFile(/tmp/multipartBody8270070719463105998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744372533032,"filename":"image_11042025_11_59_45_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/11/ef1acf4c2cccd182bb9931c40cbcb5ce.jpg","text":"TemporaryFile(/tmp/multipartBody8223229634622957248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744372533032,"filename":"image_11042025_11_58_54_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2705b4843397560234e647c8b115d122.jpg","text":"TemporaryFile(/tmp/multipartBody6152521426115500859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744372533032,"filename":"image_11042025_11_59_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/11/8cfab341dfb3fbc0ad85cad91592c739.jpg","text":"TemporaryFile(/tmp/multipartBody2435217826988458417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744372533032,"filename":"image_11042025_11_59_34_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/11/f1e5a4e485ddccc784fa2108f0ecd001.jpg","text":"TemporaryFile(/tmp/multipartBody1117449977304198498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744372533032,"filename":"image_11042025_11_59_54_9524.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351666869","file1":"1351666795","file0":"1351666758","file4":"1351667011","file5":"1351667048","file3":"1351666935"},"map_files_photo_id_array":[{"photo_id":"1351667048","filename":"file5"},{"photo_id":"1351666869","filename":"file2"},{"photo_id":"1351667011","filename":"file4"},{"photo_id":"1351666795","filename":"file1"},{"photo_id":"1351666758","filename":"file0"},{"photo_id":"1351666935","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351666795":["hashtag1","hashtag2"]},{"1351667011":["hashtag1","hashtag2"]},{"1351666758":["hashtag1","hashtag2"]},{"1351666869":["hashtag1","hashtag2"]},{"1351666935":["hashtag1","hashtag2"]},{"1351667048":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351666795, 1351667011, 1351666758, 1351666869, 1351666935, 1351667048)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.49132251739502 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 13:55:32.964565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/12/01/image_11042025_12_01_15_10071.jpg', '/home/pi/Desktop/images/11042025/12/01/image_11042025_12_01_25_10371.jpg', '/home/pi/Desktop/images/11042025/12/01/image_11042025_12_01_36_10366.jpg', '/home/pi/Desktop/images/11042025/12/01/image_11042025_12_01_45_9459.jpg', '/home/pi/Desktop/images/11042025/12/01/image_11042025_12_01_55_10413.jpg', '/home/pi/Desktop/images/11042025/12/01/image_11042025_12_02_05_9354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/12/01/image_11042025_12_01_15_10071.jpg
/home/pi/Desktop/images/11042025/12/01/image_11042025_12_01_25_10371.jpg
/home/pi/Desktop/images/11042025/12/01/image_11042025_12_01_36_10366.jpg
/home/pi/Desktop/images/11042025/12/01/image_11042025_12_01_45_9459.jpg
/home/pi/Desktop/images/11042025/12/01/image_11042025_12_01_55_10413.jpg
/home/pi/Desktop/images/11042025/12/01/image_11042025_12_02_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":["1351667408","1351667599","1351667647","1351667470","1351667704","1351667546"],"photo_ids_order":["1351667408","1351667470","1351667546","1351667599","1351667647","1351667704"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1a43c95e6f90235959dbdeb6bcff5ccb.jpg","text":"TemporaryFile(/tmp/multipartBody790790069178070710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744372593417,"filename":"image_11042025_12_01_15_10071.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b05c9ae501ea6eb7c1b4696cb8636e0e.jpg","text":"TemporaryFile(/tmp/multipartBody6118506061513192422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744372593417,"filename":"image_11042025_12_01_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/11/fb6bb44f59452a1ef3d1080232dd6c13.jpg","text":"TemporaryFile(/tmp/multipartBody6691781977349555998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744372593417,"filename":"image_11042025_12_01_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/11/729b5caba505f1cd6583d0775f0419aa.jpg","text":"TemporaryFile(/tmp/multipartBody7578793606197588503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744372593417,"filename":"image_11042025_12_01_25_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/fc8f95f2fcd2d9b04a7e72008b3703f9.jpg","text":"TemporaryFile(/tmp/multipartBody6472304675789381650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744372593417,"filename":"image_11042025_12_02_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/11/0f2331ac405fcdae7902f3c11e73b843.jpg","text":"TemporaryFile(/tmp/multipartBody340818934175207976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744372593417,"filename":"image_11042025_12_01_36_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351667546","file1":"1351667470","file0":"1351667408","file4":"1351667647","file5":"1351667704","file3":"1351667599"},"map_files_photo_id_array":[{"photo_id":"1351667704","filename":"file5"},{"photo_id":"1351667546","filename":"file2"},{"photo_id":"1351667647","filename":"file4"},{"photo_id":"1351667470","filename":"file1"},{"photo_id":"1351667408","filename":"file0"},{"photo_id":"1351667599","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351667408":["hashtag1","hashtag2"]},{"1351667599":["hashtag1","hashtag2"]},{"1351667647":["hashtag1","hashtag2"]},{"1351667470":["hashtag1","hashtag2"]},{"1351667704":["hashtag1","hashtag2"]},{"1351667546":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351667408, 1351667599, 1351667647, 1351667470, 1351667704, 1351667546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.35567831993103 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 13:56:33.089870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/12/02/image_11042025_12_02_35_10352.jpg', '/home/pi/Desktop/images/11042025/12/02/image_11042025_12_03_05_10349.jpg', '/home/pi/Desktop/images/11042025/12/03/image_11042025_12_03_16_10356.jpg', '/home/pi/Desktop/images/11042025/12/03/image_11042025_12_03_25_9324.jpg', '/home/pi/Desktop/images/11042025/12/03/image_11042025_12_03_35_10356.jpg', '/home/pi/Desktop/images/11042025/12/03/image_11042025_12_03_46_10426.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/12/02/image_11042025_12_02_35_10352.jpg
/home/pi/Desktop/images/11042025/12/02/image_11042025_12_03_05_10349.jpg
/home/pi/Desktop/images/11042025/12/03/image_11042025_12_03_16_10356.jpg
/home/pi/Desktop/images/11042025/12/03/image_11042025_12_03_25_9324.jpg
/home/pi/Desktop/images/11042025/12/03/image_11042025_12_03_35_10356.jpg
/home/pi/Desktop/images/11042025/12/03/image_11042025_12_03_46_10426.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351668049","1351668121","1351668018","1351668126","1351668105","1351668073"],"photo_ids_order":["1351668018","1351668049","1351668073","1351668105","1351668121","1351668126"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/07c14a1328446d43b98e397259bb14fb.jpg","text":"TemporaryFile(/tmp/multipartBody1145260677520875641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744372653543,"filename":"image_11042025_12_03_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/11/8787c795f12b5d82a5c9d07b0200d9f7.jpg","text":"TemporaryFile(/tmp/multipartBody3748051956054027357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744372653543,"filename":"image_11042025_12_03_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/11/6ab640ce356d77ca07f39a99013ecee7.jpg","text":"TemporaryFile(/tmp/multipartBody5039863653290923297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744372653543,"filename":"image_11042025_12_02_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/11/4c33c573b08c39bfff7be65580f27558.jpg","text":"TemporaryFile(/tmp/multipartBody4260397571681007294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744372653543,"filename":"image_11042025_12_03_46_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/25d5c48534a4ff0d491c09ab48fc8f97.jpg","text":"TemporaryFile(/tmp/multipartBody5223931794145442512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744372653543,"filename":"image_11042025_12_03_25_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/11/670c4472a00a049a0d430b896fd13062.jpg","text":"TemporaryFile(/tmp/multipartBody5660289940964433200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744372653543,"filename":"image_11042025_12_03_16_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351668073","file1":"1351668049","file0":"1351668018","file4":"1351668121","file5":"1351668126","file3":"1351668105"},"map_files_photo_id_array":[{"photo_id":"1351668126","filename":"file5"},{"photo_id":"1351668073","filename":"file2"},{"photo_id":"1351668121","filename":"file4"},{"photo_id":"1351668049","filename":"file1"},{"photo_id":"1351668018","filename":"file0"},{"photo_id":"1351668105","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351668049":["hashtag1","hashtag2"]},{"1351668121":["hashtag1","hashtag2"]},{"1351668018":["hashtag1","hashtag2"]},{"1351668126":["hashtag1","hashtag2"]},{"1351668105":["hashtag1","hashtag2"]},{"1351668073":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351668049, 1351668121, 1351668018, 1351668126, 1351668105, 1351668073)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.947394609451294 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 13:57:32.414641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/12/03/image_11042025_12_03_55_9448.jpg', '/home/pi/Desktop/images/11042025/12/03/image_11042025_12_04_06_10354.jpg', '/home/pi/Desktop/images/11042025/12/04/image_11042025_12_04_15_9460.jpg', '/home/pi/Desktop/images/11042025/12/04/image_11042025_12_04_25_10354.jpg', '/home/pi/Desktop/images/11042025/12/04/image_11042025_12_04_35_9532.jpg', '/home/pi/Desktop/images/11042025/12/04/image_11042025_12_04_45_10378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/12/03/image_11042025_12_03_55_9448.jpg
/home/pi/Desktop/images/11042025/12/03/image_11042025_12_04_06_10354.jpg
/home/pi/Desktop/images/11042025/12/04/image_11042025_12_04_15_9460.jpg
/home/pi/Desktop/images/11042025/12/04/image_11042025_12_04_25_10354.jpg
/home/pi/Desktop/images/11042025/12/04/image_11042025_12_04_35_9532.jpg
/home/pi/Desktop/images/11042025/12/04/image_11042025_12_04_45_10378.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-11 13:59:04.303493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/12/03/image_11042025_12_03_55_9448.jpg', '/home/pi/Desktop/images/11042025/12/03/image_11042025_12_04_06_10354.jpg', '/home/pi/Desktop/images/11042025/12/04/image_11042025_12_04_15_9460.jpg', '/home/pi/Desktop/images/11042025/12/04/image_11042025_12_04_25_10354.jpg', '/home/pi/Desktop/images/11042025/12/04/image_11042025_12_04_35_9532.jpg', '/home/pi/Desktop/images/11042025/12/04/image_11042025_12_04_45_10378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/12/03/image_11042025_12_03_55_9448.jpg
/home/pi/Desktop/images/11042025/12/03/image_11042025_12_04_06_10354.jpg
/home/pi/Desktop/images/11042025/12/04/image_11042025_12_04_15_9460.jpg
/home/pi/Desktop/images/11042025/12/04/image_11042025_12_04_25_10354.jpg
/home/pi/Desktop/images/11042025/12/04/image_11042025_12_04_35_9532.jpg
/home/pi/Desktop/images/11042025/12/04/image_11042025_12_04_45_10378.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351669689","1351669476","1351669818","1351669940","1351669730","1351669588"],"photo_ids_order":["1351669476","1351669588","1351669689","1351669730","1351669818","1351669940"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7ac288ba07b90558394ff0456ae73757.jpg","text":"TemporaryFile(/tmp/multipartBody8985769621511162028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744372805027,"filename":"image_11042025_12_04_15_9460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9281ccab3ccea0964e59089468f2e5b1.jpg","text":"TemporaryFile(/tmp/multipartBody6463728339387180395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744372805027,"filename":"image_11042025_12_03_55_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6e7793dc1affe424b16a2ee8c99d3985.jpg","text":"TemporaryFile(/tmp/multipartBody2757809311171105321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744372805027,"filename":"image_11042025_12_04_35_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/11/667d5821f1797e1f3903f24dff25d90c.jpg","text":"TemporaryFile(/tmp/multipartBody903359540127665810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744372805027,"filename":"image_11042025_12_04_45_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ef3255b09b9bb13d411eb7f915d01a34.jpg","text":"TemporaryFile(/tmp/multipartBody432324374339491780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744372805027,"filename":"image_11042025_12_04_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/11/9fee0a98a54a5cbcda8b949ba294f7bc.jpg","text":"TemporaryFile(/tmp/multipartBody414121730010560590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744372805027,"filename":"image_11042025_12_04_06_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351669689","file1":"1351669588","file0":"1351669476","file4":"1351669818","file5":"1351669940","file3":"1351669730"},"map_files_photo_id_array":[{"photo_id":"1351669940","filename":"file5"},{"photo_id":"1351669689","filename":"file2"},{"photo_id":"1351669818","filename":"file4"},{"photo_id":"1351669588","filename":"file1"},{"photo_id":"1351669476","filename":"file0"},{"photo_id":"1351669730","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351669689":["hashtag1","hashtag2"]},{"1351669476":["hashtag1","hashtag2"]},{"1351669818":["hashtag1","hashtag2"]},{"1351669940":["hashtag1","hashtag2"]},{"1351669730":["hashtag1","hashtag2"]},{"1351669588":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351669689, 1351669476, 1351669818, 1351669940, 1351669730, 1351669588)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.03241276741028 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 13:59:52.721829
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/12/04/image_11042025_12_04_56_10365.jpg', '/home/pi/Desktop/images/11042025/12/04/image_11042025_12_05_05_9454.jpg', '/home/pi/Desktop/images/11042025/12/05/image_11042025_12_05_15_10358.jpg', '/home/pi/Desktop/images/11042025/12/05/image_11042025_12_05_25_9369.jpg', '/home/pi/Desktop/images/11042025/12/05/image_11042025_12_05_35_10350.jpg', '/home/pi/Desktop/images/11042025/12/05/image_11042025_12_05_46_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/12/04/image_11042025_12_04_56_10365.jpg
/home/pi/Desktop/images/11042025/12/04/image_11042025_12_05_05_9454.jpg
/home/pi/Desktop/images/11042025/12/05/image_11042025_12_05_15_10358.jpg
/home/pi/Desktop/images/11042025/12/05/image_11042025_12_05_25_9369.jpg
/home/pi/Desktop/images/11042025/12/05/image_11042025_12_05_35_10350.jpg
/home/pi/Desktop/images/11042025/12/05/image_11042025_12_05_46_10360.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351670487","1351670181","1351670427","1351670336","1351670386","1351670293"],"photo_ids_order":["1351670181","1351670293","1351670336","1351670386","1351670427","1351670487"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/80cf23d7e2549b7d6a480996b4ac0d98.jpg","text":"TemporaryFile(/tmp/multipartBody3403388360388255995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744372853195,"filename":"image_11042025_12_05_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/11/86422e6d284fab3b911b9ace9677f325.jpg","text":"TemporaryFile(/tmp/multipartBody5098170880195382411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744372853195,"filename":"image_11042025_12_04_56_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a6b8a5d4828b984f8b94323c7ee7bf60.jpg","text":"TemporaryFile(/tmp/multipartBody8085961710036431644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744372853195,"filename":"image_11042025_12_05_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/11/214422c02f7640eb7a4baefff5a0973b.jpg","text":"TemporaryFile(/tmp/multipartBody4590403937483913862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744372853195,"filename":"image_11042025_12_05_15_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4fcbf03aea6841991e45ce109fa63923.jpg","text":"TemporaryFile(/tmp/multipartBody2002985515933737624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744372853195,"filename":"image_11042025_12_05_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/11/e9e2a51c64d9d3bcb769bc7b4d0d033e.jpg","text":"TemporaryFile(/tmp/multipartBody6121544526276013102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744372853195,"filename":"image_11042025_12_05_05_9454.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351670336","file1":"1351670293","file0":"1351670181","file4":"1351670427","file5":"1351670487","file3":"1351670386"},"map_files_photo_id_array":[{"photo_id":"1351670487","filename":"file5"},{"photo_id":"1351670336","filename":"file2"},{"photo_id":"1351670427","filename":"file4"},{"photo_id":"1351670293","filename":"file1"},{"photo_id":"1351670181","filename":"file0"},{"photo_id":"1351670386","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351670487":["hashtag1","hashtag2"]},{"1351670181":["hashtag1","hashtag2"]},{"1351670427":["hashtag1","hashtag2"]},{"1351670336":["hashtag1","hashtag2"]},{"1351670386":["hashtag1","hashtag2"]},{"1351670293":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351670487, 1351670181, 1351670427, 1351670336, 1351670386, 1351670293)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.642595052719116 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 14:00:32.920521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/12/05/image_11042025_12_05_55_9362.jpg', '/home/pi/Desktop/images/11042025/12/05/image_11042025_12_06_05_10359.jpg', '/home/pi/Desktop/images/11042025/12/06/image_11042025_12_06_16_10343.jpg', '/home/pi/Desktop/images/11042025/12/06/image_11042025_12_06_25_9438.jpg', '/home/pi/Desktop/images/11042025/12/06/image_11042025_12_06_35_10370.jpg', '/home/pi/Desktop/images/11042025/12/06/image_11042025_12_06_45_9389.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/12/05/image_11042025_12_05_55_9362.jpg
/home/pi/Desktop/images/11042025/12/05/image_11042025_12_06_05_10359.jpg
/home/pi/Desktop/images/11042025/12/06/image_11042025_12_06_16_10343.jpg
/home/pi/Desktop/images/11042025/12/06/image_11042025_12_06_25_9438.jpg
/home/pi/Desktop/images/11042025/12/06/image_11042025_12_06_35_10370.jpg
/home/pi/Desktop/images/11042025/12/06/image_11042025_12_06_45_9389.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351670674","1351670766","1351670727","1351670768","1351670765","1351670758"],"photo_ids_order":["1351670674","1351670727","1351670758","1351670765","1351670766","1351670768"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/26f87677e5b2ce90448a48e5cf28ff66.jpg","text":"TemporaryFile(/tmp/multipartBody5415180412027789067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744372893372,"filename":"image_11042025_12_05_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/11/e3cedd0a37d3ebdfac91b6ee110f493a.jpg","text":"TemporaryFile(/tmp/multipartBody7028463666683513987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744372893372,"filename":"image_11042025_12_06_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/11/59dc02f092631b0b25916f1db1531d21.jpg","text":"TemporaryFile(/tmp/multipartBody905689120474810191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744372893372,"filename":"image_11042025_12_06_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/11/7ff0753bd11a1775ef9f1d9f60dcf5df.jpg","text":"TemporaryFile(/tmp/multipartBody9048488800626420128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744372893372,"filename":"image_11042025_12_06_45_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5d451cfa3a2102b13fab355cd7ea12e4.jpg","text":"TemporaryFile(/tmp/multipartBody8264923606494426618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744372893372,"filename":"image_11042025_12_06_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/11/c873b60ff6d8f543c81f747a4d7a0e52.jpg","text":"TemporaryFile(/tmp/multipartBody6122523748633166614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744372893372,"filename":"image_11042025_12_06_16_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351670758","file1":"1351670727","file0":"1351670674","file4":"1351670766","file5":"1351670768","file3":"1351670765"},"map_files_photo_id_array":[{"photo_id":"1351670768","filename":"file5"},{"photo_id":"1351670758","filename":"file2"},{"photo_id":"1351670766","filename":"file4"},{"photo_id":"1351670727","filename":"file1"},{"photo_id":"1351670674","filename":"file0"},{"photo_id":"1351670765","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351670674":["hashtag1","hashtag2"]},{"1351670766":["hashtag1","hashtag2"]},{"1351670727":["hashtag1","hashtag2"]},{"1351670768":["hashtag1","hashtag2"]},{"1351670765":["hashtag1","hashtag2"]},{"1351670758":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351670674, 1351670766, 1351670727, 1351670768, 1351670765, 1351670758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.74982500076294 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 14:01:33.083545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/12/06/image_11042025_12_06_55_10414.jpg', '/home/pi/Desktop/images/11042025/12/07/image_11042025_12_07_15_9431.jpg', '/home/pi/Desktop/images/11042025/12/07/image_11042025_12_07_56_10411.jpg', '/home/pi/Desktop/images/11042025/12/07/image_11042025_12_08_05_9387.jpg', '/home/pi/Desktop/images/11042025/12/08/image_11042025_12_08_15_10373.jpg', '/home/pi/Desktop/images/11042025/12/08/image_11042025_12_08_25_9378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/12/06/image_11042025_12_06_55_10414.jpg
/home/pi/Desktop/images/11042025/12/07/image_11042025_12_07_15_9431.jpg
/home/pi/Desktop/images/11042025/12/07/image_11042025_12_07_56_10411.jpg
/home/pi/Desktop/images/11042025/12/07/image_11042025_12_08_05_9387.jpg
/home/pi/Desktop/images/11042025/12/08/image_11042025_12_08_15_10373.jpg
/home/pi/Desktop/images/11042025/12/08/image_11042025_12_08_25_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":["1351671022","1351671171","1351670976","1351670996","1351671119","1351671073"],"photo_ids_order":["1351670976","1351670996","1351671022","1351671073","1351671119","1351671171"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/97da8134b7beca842e143c01c9be53c7.jpg","text":"TemporaryFile(/tmp/multipartBody3073937490605996191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744372953549,"filename":"image_11042025_12_07_56_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f3299fcc2a53497de25be85993c77952.jpg","text":"TemporaryFile(/tmp/multipartBody3365676173575129653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744372953549,"filename":"image_11042025_12_08_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/11/48de329e9bfe055912c95f66aaed8643.jpg","text":"TemporaryFile(/tmp/multipartBody3872201510753213761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744372953549,"filename":"image_11042025_12_06_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/11/4a3d4b247113f2a92f601c61c9fdf580.jpg","text":"TemporaryFile(/tmp/multipartBody1563589129064148456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744372953549,"filename":"image_11042025_12_07_15_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6af65e96b2631f193e32c1cef699c451.jpg","text":"TemporaryFile(/tmp/multipartBody560155457275119834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744372953549,"filename":"image_11042025_12_08_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/11/93f944fef43af8fc9dbe19fa2d4acfb4.jpg","text":"TemporaryFile(/tmp/multipartBody2102174873193857181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744372953549,"filename":"image_11042025_12_08_05_9387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351671022","file1":"1351670996","file0":"1351670976","file4":"1351671119","file5":"1351671171","file3":"1351671073"},"map_files_photo_id_array":[{"photo_id":"1351671171","filename":"file5"},{"photo_id":"1351671022","filename":"file2"},{"photo_id":"1351671119","filename":"file4"},{"photo_id":"1351670996","filename":"file1"},{"photo_id":"1351670976","filename":"file0"},{"photo_id":"1351671073","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351671022":["hashtag1","hashtag2"]},{"1351671171":["hashtag1","hashtag2"]},{"1351670976":["hashtag1","hashtag2"]},{"1351670996":["hashtag1","hashtag2"]},{"1351671119":["hashtag1","hashtag2"]},{"1351671073":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351671022, 1351671171, 1351670976, 1351670996, 1351671119, 1351671073)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.30786490440369 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 14:02:32.287563
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/12/08/image_11042025_12_08_35_10360.jpg', '/home/pi/Desktop/images/11042025/12/08/image_11042025_12_08_46_10365.jpg', '/home/pi/Desktop/images/11042025/12/08/image_11042025_12_08_55_9472.jpg', '/home/pi/Desktop/images/11042025/12/08/image_11042025_12_09_05_10373.jpg', '/home/pi/Desktop/images/11042025/12/09/image_11042025_12_09_15_9502.jpg', '/home/pi/Desktop/images/11042025/12/09/image_11042025_12_09_25_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/12/08/image_11042025_12_08_35_10360.jpg
/home/pi/Desktop/images/11042025/12/08/image_11042025_12_08_46_10365.jpg
/home/pi/Desktop/images/11042025/12/08/image_11042025_12_08_55_9472.jpg
/home/pi/Desktop/images/11042025/12/08/image_11042025_12_09_05_10373.jpg
/home/pi/Desktop/images/11042025/12/09/image_11042025_12_09_15_9502.jpg
/home/pi/Desktop/images/11042025/12/09/image_11042025_12_09_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":["1351671519","1351671516","1351671491","1351671402","1351671434","1351671463"],"photo_ids_order":["1351671402","1351671434","1351671463","1351671491","1351671516","1351671519"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/33b9a2a206a999dc69761ba5fa1740d5.jpg","text":"TemporaryFile(/tmp/multipartBody8497385759920804838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373012740,"filename":"image_11042025_12_09_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/11/1680500b9a9d32a3a44d76b4d5ad3431.jpg","text":"TemporaryFile(/tmp/multipartBody8627853068426150092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373012740,"filename":"image_11042025_12_09_15_9502.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/37b336f576f53530422c278ff234d382.jpg","text":"TemporaryFile(/tmp/multipartBody3432742799861003642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373012740,"filename":"image_11042025_12_09_05_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/db132a5b8100ed1050199336ae6e6b19.jpg","text":"TemporaryFile(/tmp/multipartBody8622911124986701397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373012740,"filename":"image_11042025_12_08_35_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2d95b0be6efe07d557e75f29e467d8c8.jpg","text":"TemporaryFile(/tmp/multipartBody7662412671340812845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373012740,"filename":"image_11042025_12_08_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/11/e6a7c5b78f2aa5a8eda678bb4f4fdf9c.jpg","text":"TemporaryFile(/tmp/multipartBody780338235733672558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373012740,"filename":"image_11042025_12_08_55_9472.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351671463","file1":"1351671434","file0":"1351671402","file4":"1351671516","file5":"1351671519","file3":"1351671491"},"map_files_photo_id_array":[{"photo_id":"1351671519","filename":"file5"},{"photo_id":"1351671463","filename":"file2"},{"photo_id":"1351671516","filename":"file4"},{"photo_id":"1351671434","filename":"file1"},{"photo_id":"1351671402","filename":"file0"},{"photo_id":"1351671491","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351671519":["hashtag1","hashtag2"]},{"1351671516":["hashtag1","hashtag2"]},{"1351671491":["hashtag1","hashtag2"]},{"1351671402":["hashtag1","hashtag2"]},{"1351671434":["hashtag1","hashtag2"]},{"1351671463":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351671519, 1351671516, 1351671491, 1351671402, 1351671434, 1351671463)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.56963038444519 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 14:03:32.462247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/12/09/image_11042025_12_09_36_10356.jpg', '/home/pi/Desktop/images/11042025/12/09/image_11042025_12_09_45_9356.jpg', '/home/pi/Desktop/images/11042025/12/09/image_11042025_12_09_55_10345.jpg', '/home/pi/Desktop/images/11042025/12/09/image_11042025_12_10_06_10375.jpg', '/home/pi/Desktop/images/11042025/12/10/image_11042025_12_10_15_9363.jpg', '/home/pi/Desktop/images/11042025/12/10/image_11042025_12_10_25_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/12/09/image_11042025_12_09_36_10356.jpg
/home/pi/Desktop/images/11042025/12/09/image_11042025_12_09_45_9356.jpg
/home/pi/Desktop/images/11042025/12/09/image_11042025_12_09_55_10345.jpg
/home/pi/Desktop/images/11042025/12/09/image_11042025_12_10_06_10375.jpg
/home/pi/Desktop/images/11042025/12/10/image_11042025_12_10_15_9363.jpg
/home/pi/Desktop/images/11042025/12/10/image_11042025_12_10_25_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":["1351671987","1351671915","1351672061","1351671791","1351671839","1351671748"],"photo_ids_order":["1351671748","1351671791","1351671839","1351671915","1351671987","1351672061"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9a7499895824920d0bd7fb934a853b1a.jpg","text":"TemporaryFile(/tmp/multipartBody4198413610259523495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373072928,"filename":"image_11042025_12_10_15_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a01dbedcfb3ff9722d50673ccebae8e5.jpg","text":"TemporaryFile(/tmp/multipartBody3086784898421125679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373072928,"filename":"image_11042025_12_10_06_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/31b7b87d4f5167943e4690f882c08e6f.jpg","text":"TemporaryFile(/tmp/multipartBody2177533262319014911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373072928,"filename":"image_11042025_12_10_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/11/e13c00fac0d9799261d945df2a891803.jpg","text":"TemporaryFile(/tmp/multipartBody1723465566140102959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373072928,"filename":"image_11042025_12_09_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/11/32e3980da5e7a8b2c6e037d67d555324.jpg","text":"TemporaryFile(/tmp/multipartBody2930814727743700113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373072928,"filename":"image_11042025_12_09_55_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/19656e478bfbc8d2f41b1cd3d561a7a8.jpg","text":"TemporaryFile(/tmp/multipartBody8562438769395647714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373072928,"filename":"image_11042025_12_09_36_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351671839","file1":"1351671791","file0":"1351671748","file4":"1351671987","file5":"1351672061","file3":"1351671915"},"map_files_photo_id_array":[{"photo_id":"1351672061","filename":"file5"},{"photo_id":"1351671839","filename":"file2"},{"photo_id":"1351671987","filename":"file4"},{"photo_id":"1351671791","filename":"file1"},{"photo_id":"1351671748","filename":"file0"},{"photo_id":"1351671915","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351671987":["hashtag1","hashtag2"]},{"1351671915":["hashtag1","hashtag2"]},{"1351672061":["hashtag1","hashtag2"]},{"1351671791":["hashtag1","hashtag2"]},{"1351671839":["hashtag1","hashtag2"]},{"1351671748":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351671987, 1351671915, 1351672061, 1351671791, 1351671839, 1351671748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.533061504364014 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 14:04:32.754621
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/12/10/image_11042025_12_10_35_9407.jpg', '/home/pi/Desktop/images/11042025/12/10/image_11042025_12_10_45_10362.jpg', '/home/pi/Desktop/images/11042025/12/10/image_11042025_12_10_56_10460.jpg', '/home/pi/Desktop/images/11042025/12/10/image_11042025_12_11_05_9440.jpg', '/home/pi/Desktop/images/11042025/12/11/image_11042025_12_11_15_10363.jpg', '/home/pi/Desktop/images/11042025/12/11/image_11042025_12_11_25_9477.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/12/10/image_11042025_12_10_35_9407.jpg
/home/pi/Desktop/images/11042025/12/10/image_11042025_12_10_45_10362.jpg
/home/pi/Desktop/images/11042025/12/10/image_11042025_12_10_56_10460.jpg
/home/pi/Desktop/images/11042025/12/10/image_11042025_12_11_05_9440.jpg
/home/pi/Desktop/images/11042025/12/11/image_11042025_12_11_15_10363.jpg
/home/pi/Desktop/images/11042025/12/11/image_11042025_12_11_25_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":["1351672632","1351672548","1351672617","1351672658","1351672591","1351672498"],"photo_ids_order":["1351672498","1351672548","1351672591","1351672617","1351672632","1351672658"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b911d15bdd5addaed19a1e34e7b88fca.jpg","text":"TemporaryFile(/tmp/multipartBody6045980151894139404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373133224,"filename":"image_11042025_12_11_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/11/2d55a6f96aac818e5c1a61faf1a1d06a.jpg","text":"TemporaryFile(/tmp/multipartBody8911293843859890920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373133224,"filename":"image_11042025_12_10_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/11/785dcc21c5511f2aeb9497a577447c11.jpg","text":"TemporaryFile(/tmp/multipartBody624418001538905348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373133224,"filename":"image_11042025_12_11_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/11/1da6eebcddb71ab7550f6a8336c4da6b.jpg","text":"TemporaryFile(/tmp/multipartBody1174810818604354320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373133224,"filename":"image_11042025_12_11_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/11/ffe94e85406a20f6c1cbe6e6de7f31af.jpg","text":"TemporaryFile(/tmp/multipartBody1721060726605352102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373133224,"filename":"image_11042025_12_10_56_10460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/66f1c169f61a050b2d0c5bb027d6817b.jpg","text":"TemporaryFile(/tmp/multipartBody4614285424874909335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373133224,"filename":"image_11042025_12_10_35_9407.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351672591","file1":"1351672548","file0":"1351672498","file4":"1351672632","file5":"1351672658","file3":"1351672617"},"map_files_photo_id_array":[{"photo_id":"1351672658","filename":"file5"},{"photo_id":"1351672591","filename":"file2"},{"photo_id":"1351672632","filename":"file4"},{"photo_id":"1351672548","filename":"file1"},{"photo_id":"1351672498","filename":"file0"},{"photo_id":"1351672617","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351672632":["hashtag1","hashtag2"]},{"1351672548":["hashtag1","hashtag2"]},{"1351672617":["hashtag1","hashtag2"]},{"1351672658":["hashtag1","hashtag2"]},{"1351672591":["hashtag1","hashtag2"]},{"1351672498":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351672632, 1351672548, 1351672617, 1351672658, 1351672591, 1351672498)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.78520894050598 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 14:05:32.935522
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/12/11/image_11042025_12_11_35_10355.jpg', '/home/pi/Desktop/images/11042025/12/11/image_11042025_12_11_46_10374.jpg', '/home/pi/Desktop/images/11042025/12/11/image_11042025_12_11_55_9447.jpg', '/home/pi/Desktop/images/11042025/12/11/image_11042025_12_12_05_10369.jpg', '/home/pi/Desktop/images/11042025/12/12/image_11042025_12_12_15_9468.jpg', '/home/pi/Desktop/images/11042025/12/12/image_11042025_12_12_25_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/12/11/image_11042025_12_11_35_10355.jpg
/home/pi/Desktop/images/11042025/12/11/image_11042025_12_11_46_10374.jpg
/home/pi/Desktop/images/11042025/12/11/image_11042025_12_11_55_9447.jpg
/home/pi/Desktop/images/11042025/12/11/image_11042025_12_12_05_10369.jpg
/home/pi/Desktop/images/11042025/12/12/image_11042025_12_12_15_9468.jpg
/home/pi/Desktop/images/11042025/12/12/image_11042025_12_12_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":["1351673063","1351673224","1351672885","1351673149","1351672987","1351673314"],"photo_ids_order":["1351672885","1351672987","1351673063","1351673149","1351673224","1351673314"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7044e1ec0a59f8f6b68a117399007273.jpg","text":"TemporaryFile(/tmp/multipartBody7730319273758237117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373193401,"filename":"image_11042025_12_11_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/11/1cb8833f565b711826a08dad374ccaff.jpg","text":"TemporaryFile(/tmp/multipartBody6933128482733585399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373193401,"filename":"image_11042025_12_12_15_9468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2e7f2a172cb6323ddbdf1b2df518b448.jpg","text":"TemporaryFile(/tmp/multipartBody5273438557533614609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373193401,"filename":"image_11042025_12_11_35_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/35f5af44fdc8650a0a3685d9f072b4b2.jpg","text":"TemporaryFile(/tmp/multipartBody1500281416324483564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373193401,"filename":"image_11042025_12_12_05_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9333c295229bee00fbb40611b3b92eee.jpg","text":"TemporaryFile(/tmp/multipartBody6992695665266769132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373193401,"filename":"image_11042025_12_11_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/11/49c4142682259191c3d13a5532c32383.jpg","text":"TemporaryFile(/tmp/multipartBody4905628601001018736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373193401,"filename":"image_11042025_12_12_25_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351673063","file1":"1351672987","file0":"1351672885","file4":"1351673224","file5":"1351673314","file3":"1351673149"},"map_files_photo_id_array":[{"photo_id":"1351673314","filename":"file5"},{"photo_id":"1351673063","filename":"file2"},{"photo_id":"1351673224","filename":"file4"},{"photo_id":"1351672987","filename":"file1"},{"photo_id":"1351672885","filename":"file0"},{"photo_id":"1351673149","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351673063":["hashtag1","hashtag2"]},{"1351673224":["hashtag1","hashtag2"]},{"1351672885":["hashtag1","hashtag2"]},{"1351673149":["hashtag1","hashtag2"]},{"1351672987":["hashtag1","hashtag2"]},{"1351673314":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351673063, 1351673224, 1351672885, 1351673149, 1351672987, 1351673314)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.95363140106201 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 14:06:33.119521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/12/12/image_11042025_12_12_36_10498.jpg', '/home/pi/Desktop/images/11042025/12/12/image_11042025_12_12_45_9350.jpg', '/home/pi/Desktop/images/11042025/12/12/image_11042025_12_12_55_10366.jpg', '/home/pi/Desktop/images/11042025/12/12/image_11042025_12_13_05_9465.jpg', '/home/pi/Desktop/images/11042025/12/13/image_11042025_12_13_15_10373.jpg', '/home/pi/Desktop/images/11042025/12/13/image_11042025_12_13_25_9478.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/12/12/image_11042025_12_12_36_10498.jpg
/home/pi/Desktop/images/11042025/12/12/image_11042025_12_12_45_9350.jpg
/home/pi/Desktop/images/11042025/12/12/image_11042025_12_12_55_10366.jpg
/home/pi/Desktop/images/11042025/12/12/image_11042025_12_13_05_9465.jpg
/home/pi/Desktop/images/11042025/12/13/image_11042025_12_13_15_10373.jpg
/home/pi/Desktop/images/11042025/12/13/image_11042025_12_13_25_9478.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351673969","1351673794","1351673824","1351673889","1351673922","1351673724"],"photo_ids_order":["1351673724","1351673794","1351673824","1351673889","1351673922","1351673969"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d779612b342e2de1d1c5e305fbf56772.jpg","text":"TemporaryFile(/tmp/multipartBody9189070347288492753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373253575,"filename":"image_11042025_12_13_25_9478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9ccf1ec9191962a283ac9082f39fe997.jpg","text":"TemporaryFile(/tmp/multipartBody6572578783922578140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373253575,"filename":"image_11042025_12_12_45_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/11e0a5ea3edf1cfac1b61556b52de1fd.jpg","text":"TemporaryFile(/tmp/multipartBody687644078727648208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373253575,"filename":"image_11042025_12_12_55_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d520b6d00152729e427af27cdcfb7e4c.jpg","text":"TemporaryFile(/tmp/multipartBody7601730213969770461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373253575,"filename":"image_11042025_12_13_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/11/587680ed29dc9588be9339ba8b110aee.jpg","text":"TemporaryFile(/tmp/multipartBody4874566352971821677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373253575,"filename":"image_11042025_12_13_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/11/e3d5c70ff0ac8f652d818460ab6d207d.jpg","text":"TemporaryFile(/tmp/multipartBody3029376923888517485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373253575,"filename":"image_11042025_12_12_36_10498.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351673824","file1":"1351673794","file0":"1351673724","file4":"1351673922","file5":"1351673969","file3":"1351673889"},"map_files_photo_id_array":[{"photo_id":"1351673969","filename":"file5"},{"photo_id":"1351673824","filename":"file2"},{"photo_id":"1351673922","filename":"file4"},{"photo_id":"1351673794","filename":"file1"},{"photo_id":"1351673724","filename":"file0"},{"photo_id":"1351673889","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351673969":["hashtag1","hashtag2"]},{"1351673794":["hashtag1","hashtag2"]},{"1351673824":["hashtag1","hashtag2"]},{"1351673889":["hashtag1","hashtag2"]},{"1351673922":["hashtag1","hashtag2"]},{"1351673724":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351673969, 1351673794, 1351673824, 1351673889, 1351673922, 1351673724)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.885220766067505 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 14:07:32.460122
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/12/13/image_11042025_12_13_35_10358.jpg', '/home/pi/Desktop/images/11042025/12/13/image_11042025_12_13_45_10358.jpg', '/home/pi/Desktop/images/11042025/12/13/image_11042025_12_13_55_9394.jpg', '/home/pi/Desktop/images/11042025/12/13/image_11042025_12_14_05_10353.jpg', '/home/pi/Desktop/images/11042025/12/14/image_11042025_12_14_16_10360.jpg', '/home/pi/Desktop/images/11042025/12/14/image_11042025_12_14_25_9447.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/12/13/image_11042025_12_13_35_10358.jpg
/home/pi/Desktop/images/11042025/12/13/image_11042025_12_13_45_10358.jpg
/home/pi/Desktop/images/11042025/12/13/image_11042025_12_13_55_9394.jpg
/home/pi/Desktop/images/11042025/12/13/image_11042025_12_14_05_10353.jpg
/home/pi/Desktop/images/11042025/12/14/image_11042025_12_14_16_10360.jpg
/home/pi/Desktop/images/11042025/12/14/image_11042025_12_14_25_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":["1351674167","1351674271","1351674220","1351674282","1351674285","1351674192"],"photo_ids_order":["1351674167","1351674192","1351674220","1351674271","1351674282","1351674285"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ab333c1a5b664526c191208a8a2894a6.jpg","text":"TemporaryFile(/tmp/multipartBody6312037677474980291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373312929,"filename":"image_11042025_12_13_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/11/60eacbd956281f47aa984abd5d0b3ee7.jpg","text":"TemporaryFile(/tmp/multipartBody8666447689106720002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373312929,"filename":"image_11042025_12_14_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/11/d92d7c54e092b82bad5dccde89e290ed.jpg","text":"TemporaryFile(/tmp/multipartBody5345719446569156977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373312929,"filename":"image_11042025_12_13_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/11/feab2b51c4dde872d5ee6a2a08a37063.jpg","text":"TemporaryFile(/tmp/multipartBody1992725363947458085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373312929,"filename":"image_11042025_12_14_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/11/7a2f12c962f7a46e17bd2336f2d304ac.jpg","text":"TemporaryFile(/tmp/multipartBody6077744460908826855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373312929,"filename":"image_11042025_12_14_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/11/9e61e23f9b80d0fd214cb8bea23dab37.jpg","text":"TemporaryFile(/tmp/multipartBody3305526722366086325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373312929,"filename":"image_11042025_12_13_45_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351674220","file1":"1351674192","file0":"1351674167","file4":"1351674282","file5":"1351674285","file3":"1351674271"},"map_files_photo_id_array":[{"photo_id":"1351674285","filename":"file5"},{"photo_id":"1351674220","filename":"file2"},{"photo_id":"1351674282","filename":"file4"},{"photo_id":"1351674192","filename":"file1"},{"photo_id":"1351674167","filename":"file0"},{"photo_id":"1351674271","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351674167":["hashtag1","hashtag2"]},{"1351674271":["hashtag1","hashtag2"]},{"1351674220":["hashtag1","hashtag2"]},{"1351674282":["hashtag1","hashtag2"]},{"1351674285":["hashtag1","hashtag2"]},{"1351674192":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351674167, 1351674271, 1351674220, 1351674282, 1351674285, 1351674192)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.25345730781555 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 14:08:32.405396
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/12/14/image_11042025_12_14_35_10366.jpg', '/home/pi/Desktop/images/11042025/12/14/image_11042025_12_14_45_9380.jpg', '/home/pi/Desktop/images/11042025/12/14/image_11042025_12_14_55_10457.jpg', '/home/pi/Desktop/images/11042025/12/14/image_11042025_12_15_06_10368.jpg', '/home/pi/Desktop/images/11042025/12/15/image_11042025_12_15_15_9465.jpg', '/home/pi/Desktop/images/11042025/12/15/image_11042025_12_15_35_9352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/12/14/image_11042025_12_14_35_10366.jpg
/home/pi/Desktop/images/11042025/12/14/image_11042025_12_14_45_9380.jpg
/home/pi/Desktop/images/11042025/12/14/image_11042025_12_14_55_10457.jpg
/home/pi/Desktop/images/11042025/12/14/image_11042025_12_15_06_10368.jpg
/home/pi/Desktop/images/11042025/12/15/image_11042025_12_15_15_9465.jpg
/home/pi/Desktop/images/11042025/12/15/image_11042025_12_15_35_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":["1351674416","1351674446","1351674419","1351674387","1351674441","1351674351"],"photo_ids_order":["1351674351","1351674387","1351674416","1351674419","1351674441","1351674446"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/75a8017cc6531473499118667cdf9041.jpg","text":"TemporaryFile(/tmp/multipartBody5361964609835435721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373372860,"filename":"image_11042025_12_14_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/11/3a8f68d68a425c3d15af8979000d0769.jpg","text":"TemporaryFile(/tmp/multipartBody7771062678153686731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373372860,"filename":"image_11042025_12_15_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/11/168d98790edf50aec0160b75b80b58ef.jpg","text":"TemporaryFile(/tmp/multipartBody1151973203173455000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373372860,"filename":"image_11042025_12_15_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/11/7487c905ce2285d09fea0a282618c79b.jpg","text":"TemporaryFile(/tmp/multipartBody8134386810309767024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373372860,"filename":"image_11042025_12_14_45_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0abcb979777452da2c234a52d8977719.jpg","text":"TemporaryFile(/tmp/multipartBody7860042468045044635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373372860,"filename":"image_11042025_12_15_15_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/11/1f9fef971cadefd694dbc873fec55099.jpg","text":"TemporaryFile(/tmp/multipartBody4763097380811337256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373372860,"filename":"image_11042025_12_14_35_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351674416","file1":"1351674387","file0":"1351674351","file4":"1351674441","file5":"1351674446","file3":"1351674419"},"map_files_photo_id_array":[{"photo_id":"1351674446","filename":"file5"},{"photo_id":"1351674416","filename":"file2"},{"photo_id":"1351674441","filename":"file4"},{"photo_id":"1351674387","filename":"file1"},{"photo_id":"1351674351","filename":"file0"},{"photo_id":"1351674419","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351674416":["hashtag1","hashtag2"]},{"1351674446":["hashtag1","hashtag2"]},{"1351674419":["hashtag1","hashtag2"]},{"1351674387":["hashtag1","hashtag2"]},{"1351674441":["hashtag1","hashtag2"]},{"1351674351":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351674416, 1351674446, 1351674419, 1351674387, 1351674441, 1351674351)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.836859464645386 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 14:09:32.669942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/12/15/image_11042025_12_15_45_10368.jpg', '/home/pi/Desktop/images/11042025/12/15/image_11042025_12_15_56_10358.jpg', '/home/pi/Desktop/images/11042025/12/15/image_11042025_12_16_05_9479.jpg', '/home/pi/Desktop/images/11042025/12/16/image_11042025_12_16_15_10360.jpg', '/home/pi/Desktop/images/11042025/12/16/image_11042025_12_16_25_9424.jpg', '/home/pi/Desktop/images/11042025/12/16/image_11042025_12_16_46_10424.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/12/15/image_11042025_12_15_45_10368.jpg
/home/pi/Desktop/images/11042025/12/15/image_11042025_12_15_56_10358.jpg
/home/pi/Desktop/images/11042025/12/15/image_11042025_12_16_05_9479.jpg
/home/pi/Desktop/images/11042025/12/16/image_11042025_12_16_15_10360.jpg
/home/pi/Desktop/images/11042025/12/16/image_11042025_12_16_25_9424.jpg
/home/pi/Desktop/images/11042025/12/16/image_11042025_12_16_46_10424.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351674841","1351674684","1351674738","1351674794","1351674711","1351674659"],"photo_ids_order":["1351674659","1351674684","1351674711","1351674738","1351674794","1351674841"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4c9b7dfb686fba91424c533462966593.jpg","text":"TemporaryFile(/tmp/multipartBody2329105608215896436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373433127,"filename":"image_11042025_12_16_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/11/1224c7ea9b64bbfd4dacd74aaa8a335e.jpg","text":"TemporaryFile(/tmp/multipartBody5582002953166456006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373433127,"filename":"image_11042025_12_15_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/11/5572bd0a7b846821019bbfbf43ad5b2f.jpg","text":"TemporaryFile(/tmp/multipartBody6569937497761700748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373433127,"filename":"image_11042025_12_16_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/11/5a5c6bb4ec445abe0d66a14f7389f1e3.jpg","text":"TemporaryFile(/tmp/multipartBody241004214320305146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373433127,"filename":"image_11042025_12_16_25_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/72bbcb172b11ac452b45d804329c5bfa.jpg","text":"TemporaryFile(/tmp/multipartBody8760603216976282724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373433127,"filename":"image_11042025_12_16_05_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/11/bbd9b23307ef45f6f0b134cfbf1d1ed3.jpg","text":"TemporaryFile(/tmp/multipartBody1525962055293187608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373433127,"filename":"image_11042025_12_15_45_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351674711","file1":"1351674684","file0":"1351674659","file4":"1351674794","file5":"1351674841","file3":"1351674738"},"map_files_photo_id_array":[{"photo_id":"1351674841","filename":"file5"},{"photo_id":"1351674711","filename":"file2"},{"photo_id":"1351674794","filename":"file4"},{"photo_id":"1351674684","filename":"file1"},{"photo_id":"1351674659","filename":"file0"},{"photo_id":"1351674738","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351674841":["hashtag1","hashtag2"]},{"1351674684":["hashtag1","hashtag2"]},{"1351674738":["hashtag1","hashtag2"]},{"1351674794":["hashtag1","hashtag2"]},{"1351674711":["hashtag1","hashtag2"]},{"1351674659":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351674841, 1351674684, 1351674738, 1351674794, 1351674711, 1351674659)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.055683851242065 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 14:10:32.966782
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/12/16/image_11042025_12_16_55_9433.jpg', '/home/pi/Desktop/images/11042025/12/16/image_11042025_12_17_05_10375.jpg', '/home/pi/Desktop/images/11042025/12/17/image_11042025_12_17_15_9398.jpg', '/home/pi/Desktop/images/11042025/12/17/image_11042025_12_17_25_10368.jpg', '/home/pi/Desktop/images/11042025/12/17/image_11042025_12_17_36_10378.jpg', '/home/pi/Desktop/images/11042025/12/17/image_11042025_12_17_45_9419.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/12/16/image_11042025_12_16_55_9433.jpg
/home/pi/Desktop/images/11042025/12/16/image_11042025_12_17_05_10375.jpg
/home/pi/Desktop/images/11042025/12/17/image_11042025_12_17_15_9398.jpg
/home/pi/Desktop/images/11042025/12/17/image_11042025_12_17_25_10368.jpg
/home/pi/Desktop/images/11042025/12/17/image_11042025_12_17_36_10378.jpg
/home/pi/Desktop/images/11042025/12/17/image_11042025_12_17_45_9419.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351674965","1351675021","1351674982","1351674955","1351674972","1351674995"],"photo_ids_order":["1351674955","1351674965","1351674972","1351674982","1351674995","1351675021"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d598eac7ce3ccc4c2e9147f23db53998.jpg","text":"TemporaryFile(/tmp/multipartBody8590282522966536658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373493464,"filename":"image_11042025_12_17_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/11/e7020fda40af28295dac97d093d4bc40.jpg","text":"TemporaryFile(/tmp/multipartBody448912335868637759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373493464,"filename":"image_11042025_12_17_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/11/1c01d01d57be9b492d6795d7f216f77d.jpg","text":"TemporaryFile(/tmp/multipartBody2389621345518553393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373493464,"filename":"image_11042025_12_17_25_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/04398de53e4b15221b5ef640cd5ca8ba.jpg","text":"TemporaryFile(/tmp/multipartBody2390968418630107643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373493464,"filename":"image_11042025_12_16_55_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1eed236a7df224e1cf0a5983be7fce60.jpg","text":"TemporaryFile(/tmp/multipartBody658059213849205783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373493464,"filename":"image_11042025_12_17_15_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a0178c9c55db7e4a1923e60377441d26.jpg","text":"TemporaryFile(/tmp/multipartBody6201031115869473238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373493464,"filename":"image_11042025_12_17_36_10378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351674972","file1":"1351674965","file0":"1351674955","file4":"1351674995","file5":"1351675021","file3":"1351674982"},"map_files_photo_id_array":[{"photo_id":"1351675021","filename":"file5"},{"photo_id":"1351674972","filename":"file2"},{"photo_id":"1351674995","filename":"file4"},{"photo_id":"1351674965","filename":"file1"},{"photo_id":"1351674955","filename":"file0"},{"photo_id":"1351674982","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351674965":["hashtag1","hashtag2"]},{"1351675021":["hashtag1","hashtag2"]},{"1351674982":["hashtag1","hashtag2"]},{"1351674955":["hashtag1","hashtag2"]},{"1351674972":["hashtag1","hashtag2"]},{"1351674995":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351674965, 1351675021, 1351674982, 1351674955, 1351674972, 1351674995)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.548221588134766 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 14:11:32.143069
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/12/17/image_11042025_12_17_55_10358.jpg', '/home/pi/Desktop/images/11042025/12/17/image_11042025_12_18_06_10425.jpg', '/home/pi/Desktop/images/11042025/12/18/image_11042025_12_18_15_9418.jpg', '/home/pi/Desktop/images/11042025/12/18/image_11042025_12_18_26_10359.jpg', '/home/pi/Desktop/images/11042025/12/18/image_11042025_12_18_35_9437.jpg', '/home/pi/Desktop/images/11042025/12/18/image_11042025_12_18_45_10469.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/12/17/image_11042025_12_17_55_10358.jpg
/home/pi/Desktop/images/11042025/12/17/image_11042025_12_18_06_10425.jpg
/home/pi/Desktop/images/11042025/12/18/image_11042025_12_18_15_9418.jpg
/home/pi/Desktop/images/11042025/12/18/image_11042025_12_18_26_10359.jpg
/home/pi/Desktop/images/11042025/12/18/image_11042025_12_18_35_9437.jpg
/home/pi/Desktop/images/11042025/12/18/image_11042025_12_18_45_10469.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351675498","1351675432","1351675557","1351675382","1351675466","1351675535"],"photo_ids_order":["1351675382","1351675432","1351675466","1351675498","1351675535","1351675557"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/88e3a47d5975d0f2234c470550e9062e.jpg","text":"TemporaryFile(/tmp/multipartBody7380567367290092255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373552645,"filename":"image_11042025_12_18_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/11/eb46a703f4e155c5c176398772cc7a19.jpg","text":"TemporaryFile(/tmp/multipartBody3571159304928288583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373552645,"filename":"image_11042025_12_18_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/11/434ba58d7694076e24571783f8b86220.jpg","text":"TemporaryFile(/tmp/multipartBody8642642318383845231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373552645,"filename":"image_11042025_12_18_45_10469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a447be3e1d7fc7329080a656be3aaaf8.jpg","text":"TemporaryFile(/tmp/multipartBody105802020547260741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373552645,"filename":"image_11042025_12_17_55_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/bd4f6bcfb04dd5dba5f4e8b308be5344.jpg","text":"TemporaryFile(/tmp/multipartBody5778765323272625032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373552645,"filename":"image_11042025_12_18_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/11/47ebcaacb0d8f02d547cdb8484625f82.jpg","text":"TemporaryFile(/tmp/multipartBody4828430294774343913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373552645,"filename":"image_11042025_12_18_35_9437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351675466","file1":"1351675432","file0":"1351675382","file4":"1351675535","file5":"1351675557","file3":"1351675498"},"map_files_photo_id_array":[{"photo_id":"1351675557","filename":"file5"},{"photo_id":"1351675466","filename":"file2"},{"photo_id":"1351675535","filename":"file4"},{"photo_id":"1351675432","filename":"file1"},{"photo_id":"1351675382","filename":"file0"},{"photo_id":"1351675498","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351675498":["hashtag1","hashtag2"]},{"1351675432":["hashtag1","hashtag2"]},{"1351675557":["hashtag1","hashtag2"]},{"1351675382":["hashtag1","hashtag2"]},{"1351675466":["hashtag1","hashtag2"]},{"1351675535":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351675498, 1351675432, 1351675557, 1351675382, 1351675466, 1351675535)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.45468068122864 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 14:12:32.386363
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/12/18/image_11042025_12_18_55_9430.jpg', '/home/pi/Desktop/images/11042025/12/18/image_11042025_12_19_05_10364.jpg', '/home/pi/Desktop/images/11042025/12/19/image_11042025_12_19_16_10395.jpg', '/home/pi/Desktop/images/11042025/12/19/image_11042025_12_19_25_9400.jpg', '/home/pi/Desktop/images/11042025/12/19/image_11042025_12_19_35_10358.jpg', '/home/pi/Desktop/images/11042025/12/19/image_11042025_12_19_45_9386.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/12/18/image_11042025_12_18_55_9430.jpg
/home/pi/Desktop/images/11042025/12/18/image_11042025_12_19_05_10364.jpg
/home/pi/Desktop/images/11042025/12/19/image_11042025_12_19_16_10395.jpg
/home/pi/Desktop/images/11042025/12/19/image_11042025_12_19_25_9400.jpg
/home/pi/Desktop/images/11042025/12/19/image_11042025_12_19_35_10358.jpg
/home/pi/Desktop/images/11042025/12/19/image_11042025_12_19_45_9386.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.38169360160827637 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 14:12:42.297540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/12/18/image_11042025_12_18_55_9430.jpg', '/home/pi/Desktop/images/11042025/12/18/image_11042025_12_19_05_10364.jpg', '/home/pi/Desktop/images/11042025/12/19/image_11042025_12_19_16_10395.jpg', '/home/pi/Desktop/images/11042025/12/19/image_11042025_12_19_25_9400.jpg', '/home/pi/Desktop/images/11042025/12/19/image_11042025_12_19_35_10358.jpg', '/home/pi/Desktop/images/11042025/12/19/image_11042025_12_19_45_9386.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/12/18/image_11042025_12_18_55_9430.jpg
/home/pi/Desktop/images/11042025/12/18/image_11042025_12_19_05_10364.jpg
/home/pi/Desktop/images/11042025/12/19/image_11042025_12_19_16_10395.jpg
/home/pi/Desktop/images/11042025/12/19/image_11042025_12_19_25_9400.jpg
/home/pi/Desktop/images/11042025/12/19/image_11042025_12_19_35_10358.jpg
/home/pi/Desktop/images/11042025/12/19/image_11042025_12_19_45_9386.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351676041","1351676687","1351676561","1351676186","1351676354","1351676788"],"photo_ids_order":["1351676041","1351676186","1351676354","1351676561","1351676687","1351676788"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2343fb61f1206aa53918b46a6b535d12.jpg","text":"TemporaryFile(/tmp/multipartBody4070168237102115766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373622763,"filename":"image_11042025_12_18_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/11/04f533bb48c720d8e19cb682e3aa99be.jpg","text":"TemporaryFile(/tmp/multipartBody4451877879132825119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373622763,"filename":"image_11042025_12_19_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/11/c047a7936bd6723c59a82c00c73cf425.jpg","text":"TemporaryFile(/tmp/multipartBody2442095607864135222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373622763,"filename":"image_11042025_12_19_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/11/29afad5606ea50088ede952521693b7f.jpg","text":"TemporaryFile(/tmp/multipartBody13557244716926488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373622763,"filename":"image_11042025_12_19_05_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e5725c992c95d95022dec451192f8f9f.jpg","text":"TemporaryFile(/tmp/multipartBody715632335093422007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373622763,"filename":"image_11042025_12_19_16_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/697ba346e51a508189c4a552e83cc901.jpg","text":"TemporaryFile(/tmp/multipartBody4880542223790456002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373622763,"filename":"image_11042025_12_19_45_9386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351676354","file1":"1351676186","file0":"1351676041","file4":"1351676687","file5":"1351676788","file3":"1351676561"},"map_files_photo_id_array":[{"photo_id":"1351676788","filename":"file5"},{"photo_id":"1351676354","filename":"file2"},{"photo_id":"1351676687","filename":"file4"},{"photo_id":"1351676186","filename":"file1"},{"photo_id":"1351676041","filename":"file0"},{"photo_id":"1351676561","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351676041":["hashtag1","hashtag2"]},{"1351676687":["hashtag1","hashtag2"]},{"1351676561":["hashtag1","hashtag2"]},{"1351676186":["hashtag1","hashtag2"]},{"1351676354":["hashtag1","hashtag2"]},{"1351676788":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351676041, 1351676687, 1351676561, 1351676186, 1351676354, 1351676788)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.58810377120972 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 14:13:32.519353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/12/19/image_11042025_12_19_55_10366.jpg', '/home/pi/Desktop/images/11042025/12/19/image_11042025_12_20_06_10367.jpg', '/home/pi/Desktop/images/11042025/12/20/image_11042025_12_20_25_10374.jpg', '/home/pi/Desktop/images/11042025/12/20/image_11042025_12_20_36_10434.jpg', '/home/pi/Desktop/images/11042025/12/20/image_11042025_12_20_45_9395.jpg', '/home/pi/Desktop/images/11042025/12/20/image_11042025_12_20_55_10419.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/12/19/image_11042025_12_19_55_10366.jpg
/home/pi/Desktop/images/11042025/12/19/image_11042025_12_20_06_10367.jpg
/home/pi/Desktop/images/11042025/12/20/image_11042025_12_20_25_10374.jpg
/home/pi/Desktop/images/11042025/12/20/image_11042025_12_20_36_10434.jpg
/home/pi/Desktop/images/11042025/12/20/image_11042025_12_20_45_9395.jpg
/home/pi/Desktop/images/11042025/12/20/image_11042025_12_20_55_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":["1351677087","1351677045","1351677326","1351677113","1351677184","1351677064"],"photo_ids_order":["1351677045","1351677064","1351677087","1351677113","1351677184","1351677326"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/24d86d4815496f0ea503146808e267a6.jpg","text":"TemporaryFile(/tmp/multipartBody7233556553096913543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373672977,"filename":"image_11042025_12_20_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/11/517c8ead33c025f51d15e96ebdcdc25f.jpg","text":"TemporaryFile(/tmp/multipartBody3848590685774933584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373672977,"filename":"image_11042025_12_19_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/11/47f303fe64cda8673a662b93990702e3.jpg","text":"TemporaryFile(/tmp/multipartBody5371526970796919454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373672977,"filename":"image_11042025_12_20_55_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d812111e46355ced76525992356a4c51.jpg","text":"TemporaryFile(/tmp/multipartBody1262623044002260043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373672977,"filename":"image_11042025_12_20_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/11/160744cc891533dcbc5bb86da24abf52.jpg","text":"TemporaryFile(/tmp/multipartBody5064060309649262672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373672977,"filename":"image_11042025_12_20_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/11/2f2e0903431ea034d4af2b500fcf559a.jpg","text":"TemporaryFile(/tmp/multipartBody7705281292912855539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373672977,"filename":"image_11042025_12_20_06_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351677087","file1":"1351677064","file0":"1351677045","file4":"1351677184","file5":"1351677326","file3":"1351677113"},"map_files_photo_id_array":[{"photo_id":"1351677326","filename":"file5"},{"photo_id":"1351677087","filename":"file2"},{"photo_id":"1351677184","filename":"file4"},{"photo_id":"1351677064","filename":"file1"},{"photo_id":"1351677045","filename":"file0"},{"photo_id":"1351677113","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351677087":["hashtag1","hashtag2"]},{"1351677045":["hashtag1","hashtag2"]},{"1351677326":["hashtag1","hashtag2"]},{"1351677113":["hashtag1","hashtag2"]},{"1351677184":["hashtag1","hashtag2"]},{"1351677064":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351677087, 1351677045, 1351677326, 1351677113, 1351677184, 1351677064)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.65037727355957 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 14:14:32.765043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/12/21/image_11042025_12_21_26_10394.jpg', '/home/pi/Desktop/images/11042025/12/21/image_11042025_12_21_35_9360.jpg', '/home/pi/Desktop/images/11042025/12/21/image_11042025_12_21_45_10370.jpg', '/home/pi/Desktop/images/11042025/12/21/image_11042025_12_21_55_9450.jpg', '/home/pi/Desktop/images/11042025/12/21/image_11042025_12_22_05_10358.jpg', '/home/pi/Desktop/images/11042025/12/22/image_11042025_12_22_16_10345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/12/21/image_11042025_12_21_26_10394.jpg
/home/pi/Desktop/images/11042025/12/21/image_11042025_12_21_35_9360.jpg
/home/pi/Desktop/images/11042025/12/21/image_11042025_12_21_45_10370.jpg
/home/pi/Desktop/images/11042025/12/21/image_11042025_12_21_55_9450.jpg
/home/pi/Desktop/images/11042025/12/21/image_11042025_12_22_05_10358.jpg
/home/pi/Desktop/images/11042025/12/22/image_11042025_12_22_16_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":["1351677601","1351677517","1351677604","1351677522","1351677572","1351677607"],"photo_ids_order":["1351677517","1351677522","1351677572","1351677601","1351677604","1351677607"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/65c0aa6a3089f69ced1c3e6623ffbd86.jpg","text":"TemporaryFile(/tmp/multipartBody5557149777038168813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373733227,"filename":"image_11042025_12_21_55_9450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0a85060d929eccb747268a9ef9e601eb.jpg","text":"TemporaryFile(/tmp/multipartBody9088265700527881172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373733227,"filename":"image_11042025_12_21_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/11/d09533f3776b3897bdde112168051290.jpg","text":"TemporaryFile(/tmp/multipartBody2154279269742967670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373733227,"filename":"image_11042025_12_22_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/11/1380b953ece901f251dd93f54e6d4f0f.jpg","text":"TemporaryFile(/tmp/multipartBody4178020708420175376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373733227,"filename":"image_11042025_12_21_35_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1f845c16794b5d7f176816c5f6ea7265.jpg","text":"TemporaryFile(/tmp/multipartBody6264550887988431162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373733227,"filename":"image_11042025_12_21_45_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7999a764d81be399502d8b106e2f25a3.jpg","text":"TemporaryFile(/tmp/multipartBody7679969196475165891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373733227,"filename":"image_11042025_12_22_16_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351677572","file1":"1351677522","file0":"1351677517","file4":"1351677604","file5":"1351677607","file3":"1351677601"},"map_files_photo_id_array":[{"photo_id":"1351677607","filename":"file5"},{"photo_id":"1351677572","filename":"file2"},{"photo_id":"1351677604","filename":"file4"},{"photo_id":"1351677522","filename":"file1"},{"photo_id":"1351677517","filename":"file0"},{"photo_id":"1351677601","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351677601":["hashtag1","hashtag2"]},{"1351677517":["hashtag1","hashtag2"]},{"1351677604":["hashtag1","hashtag2"]},{"1351677522":["hashtag1","hashtag2"]},{"1351677572":["hashtag1","hashtag2"]},{"1351677607":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351677601, 1351677517, 1351677604, 1351677522, 1351677572, 1351677607)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.13787651062012 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 14:15:32.991066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/12/22/image_11042025_12_22_25_9424.jpg', '/home/pi/Desktop/images/11042025/12/22/image_11042025_12_22_35_10375.jpg', '/home/pi/Desktop/images/11042025/12/23/image_11042025_12_23_15_9346.jpg', '/home/pi/Desktop/images/11042025/12/23/image_11042025_12_23_25_10424.jpg', '/home/pi/Desktop/images/11042025/12/23/image_11042025_12_23_35_9464.jpg', '/home/pi/Desktop/images/11042025/12/23/image_11042025_12_23_45_10479.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/12/22/image_11042025_12_22_25_9424.jpg
/home/pi/Desktop/images/11042025/12/22/image_11042025_12_22_35_10375.jpg
/home/pi/Desktop/images/11042025/12/23/image_11042025_12_23_15_9346.jpg
/home/pi/Desktop/images/11042025/12/23/image_11042025_12_23_25_10424.jpg
/home/pi/Desktop/images/11042025/12/23/image_11042025_12_23_35_9464.jpg
/home/pi/Desktop/images/11042025/12/23/image_11042025_12_23_45_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":["1351677771","1351677663","1351677794","1351677686","1351677746","1351677724"],"photo_ids_order":["1351677663","1351677686","1351677724","1351677746","1351677771","1351677794"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1f7823ed1839ebf7485db214fdb71c81.jpg","text":"TemporaryFile(/tmp/multipartBody2223485306294446326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373793815,"filename":"image_11042025_12_23_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/11/f876c1797cbd550f008b48afb2a0e5ad.jpg","text":"TemporaryFile(/tmp/multipartBody1178530189788696953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373793815,"filename":"image_11042025_12_22_25_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7dd16fd4ede6002ebfbf0005ec18926f.jpg","text":"TemporaryFile(/tmp/multipartBody8408152211812477860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373793815,"filename":"image_11042025_12_23_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/11/328bea8a15811c2a7c318ba390856d26.jpg","text":"TemporaryFile(/tmp/multipartBody3316378001084485453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373793815,"filename":"image_11042025_12_22_35_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2d68f7c1c82f4e9d6abaca474448df61.jpg","text":"TemporaryFile(/tmp/multipartBody3205890587847074384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373793815,"filename":"image_11042025_12_23_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/11/23c01706a3311ad56560ea04b4c55cd9.jpg","text":"TemporaryFile(/tmp/multipartBody5895783014810580648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373793815,"filename":"image_11042025_12_23_15_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351677724","file1":"1351677686","file0":"1351677663","file4":"1351677771","file5":"1351677794","file3":"1351677746"},"map_files_photo_id_array":[{"photo_id":"1351677794","filename":"file5"},{"photo_id":"1351677724","filename":"file2"},{"photo_id":"1351677771","filename":"file4"},{"photo_id":"1351677686","filename":"file1"},{"photo_id":"1351677663","filename":"file0"},{"photo_id":"1351677746","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351677771":["hashtag1","hashtag2"]},{"1351677663":["hashtag1","hashtag2"]},{"1351677794":["hashtag1","hashtag2"]},{"1351677686":["hashtag1","hashtag2"]},{"1351677746":["hashtag1","hashtag2"]},{"1351677724":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351677771, 1351677663, 1351677794, 1351677686, 1351677746, 1351677724)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.277668476104736 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 14:16:32.181130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/12/23/image_11042025_12_23_56_10445.jpg', '/home/pi/Desktop/images/11042025/12/24/image_11042025_12_24_15_10342.jpg', '/home/pi/Desktop/images/11042025/12/24/image_11042025_12_24_35_10361.jpg', '/home/pi/Desktop/images/11042025/12/24/image_11042025_12_24_46_10485.jpg', '/home/pi/Desktop/images/11042025/12/24/image_11042025_12_24_55_9394.jpg', '/home/pi/Desktop/images/11042025/12/24/image_11042025_12_25_06_10453.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/12/23/image_11042025_12_23_56_10445.jpg
/home/pi/Desktop/images/11042025/12/24/image_11042025_12_24_15_10342.jpg
/home/pi/Desktop/images/11042025/12/24/image_11042025_12_24_35_10361.jpg
/home/pi/Desktop/images/11042025/12/24/image_11042025_12_24_46_10485.jpg
/home/pi/Desktop/images/11042025/12/24/image_11042025_12_24_55_9394.jpg
/home/pi/Desktop/images/11042025/12/24/image_11042025_12_25_06_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":["1351678041","1351677998","1351678082","1351677992","1351678016","1351678054"],"photo_ids_order":["1351677992","1351677998","1351678016","1351678041","1351678054","1351678082"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/84572e0bacd9a5f82c238f3a4dadebbd.jpg","text":"TemporaryFile(/tmp/multipartBody1290849618233163520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373852763,"filename":"image_11042025_12_24_46_10485.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/cbc8d9b847e0025ea8b974eee268fc45.jpg","text":"TemporaryFile(/tmp/multipartBody3970161065541571623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373852763,"filename":"image_11042025_12_24_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/11/6e73b4e5eaa8327c7b258a876e49c41c.jpg","text":"TemporaryFile(/tmp/multipartBody3752939014082475118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373852763,"filename":"image_11042025_12_25_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/11/b709d8cde6b34853ccf3533b1461da2d.jpg","text":"TemporaryFile(/tmp/multipartBody6215604198510385226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373852763,"filename":"image_11042025_12_23_56_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2b5dcf78da6875274604bb784f02711a.jpg","text":"TemporaryFile(/tmp/multipartBody8524543699533164028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373852763,"filename":"image_11042025_12_24_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/11/b69e3c3cd9004d6cb28e56c16e87953e.jpg","text":"TemporaryFile(/tmp/multipartBody2118966342317712896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373852763,"filename":"image_11042025_12_24_55_9394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351678016","file1":"1351677998","file0":"1351677992","file4":"1351678054","file5":"1351678082","file3":"1351678041"},"map_files_photo_id_array":[{"photo_id":"1351678082","filename":"file5"},{"photo_id":"1351678016","filename":"file2"},{"photo_id":"1351678054","filename":"file4"},{"photo_id":"1351677998","filename":"file1"},{"photo_id":"1351677992","filename":"file0"},{"photo_id":"1351678041","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351678041":["hashtag1","hashtag2"]},{"1351677998":["hashtag1","hashtag2"]},{"1351678082":["hashtag1","hashtag2"]},{"1351677992":["hashtag1","hashtag2"]},{"1351678016":["hashtag1","hashtag2"]},{"1351678054":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351678041, 1351677998, 1351678082, 1351677992, 1351678016, 1351678054)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.97806787490845 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 14:17:32.455355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/12/25/image_11042025_12_25_25_10378.jpg', '/home/pi/Desktop/images/11042025/12/25/image_11042025_12_25_35_9454.jpg', '/home/pi/Desktop/images/11042025/12/25/image_11042025_12_25_45_10361.jpg', '/home/pi/Desktop/images/11042025/12/25/image_11042025_12_25_56_10366.jpg', '/home/pi/Desktop/images/11042025/12/25/image_11042025_12_26_05_9355.jpg', '/home/pi/Desktop/images/11042025/12/26/image_11042025_12_26_35_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/12/25/image_11042025_12_25_25_10378.jpg
/home/pi/Desktop/images/11042025/12/25/image_11042025_12_25_35_9454.jpg
/home/pi/Desktop/images/11042025/12/25/image_11042025_12_25_45_10361.jpg
/home/pi/Desktop/images/11042025/12/25/image_11042025_12_25_56_10366.jpg
/home/pi/Desktop/images/11042025/12/25/image_11042025_12_26_05_9355.jpg
/home/pi/Desktop/images/11042025/12/26/image_11042025_12_26_35_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351678175","1351678169","1351678262","1351678238","1351678165","1351678228"],"photo_ids_order":["1351678165","1351678169","1351678175","1351678228","1351678238","1351678262"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/53bbaec0ad6bec22c5b1a0aeab87f8b3.jpg","text":"TemporaryFile(/tmp/multipartBody7677269342331985415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373912917,"filename":"image_11042025_12_25_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/11/a6c5226ab40d5f9a72105b129bbe82aa.jpg","text":"TemporaryFile(/tmp/multipartBody3184294099863680171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373912917,"filename":"image_11042025_12_25_35_9454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d161e1f290c4c713d58d1d4a3bd99447.jpg","text":"TemporaryFile(/tmp/multipartBody2021020993247685351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373912917,"filename":"image_11042025_12_26_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/11/1d14872979859cd6b14841b187ed0a68.jpg","text":"TemporaryFile(/tmp/multipartBody6788693110499867408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373912917,"filename":"image_11042025_12_26_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/11/0eee04af1496a0c6ad88a430ea06dbf2.jpg","text":"TemporaryFile(/tmp/multipartBody4999444627866689780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373912917,"filename":"image_11042025_12_25_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/11/f7a218a5f7703564d61d19d4538f2192.jpg","text":"TemporaryFile(/tmp/multipartBody6683909980231812344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373912917,"filename":"image_11042025_12_25_56_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351678175","file1":"1351678169","file0":"1351678165","file4":"1351678238","file5":"1351678262","file3":"1351678228"},"map_files_photo_id_array":[{"photo_id":"1351678262","filename":"file5"},{"photo_id":"1351678175","filename":"file2"},{"photo_id":"1351678238","filename":"file4"},{"photo_id":"1351678169","filename":"file1"},{"photo_id":"1351678165","filename":"file0"},{"photo_id":"1351678228","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351678175":["hashtag1","hashtag2"]},{"1351678169":["hashtag1","hashtag2"]},{"1351678262":["hashtag1","hashtag2"]},{"1351678238":["hashtag1","hashtag2"]},{"1351678165":["hashtag1","hashtag2"]},{"1351678228":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351678175, 1351678169, 1351678262, 1351678238, 1351678165, 1351678228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.654664754867554 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 14:18:32.854237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/12/26/image_11042025_12_26_46_10366.jpg', '/home/pi/Desktop/images/11042025/12/26/image_11042025_12_26_55_9470.jpg', '/home/pi/Desktop/images/11042025/12/26/image_11042025_12_27_05_10363.jpg', '/home/pi/Desktop/images/11042025/12/27/image_11042025_12_27_15_9410.jpg', '/home/pi/Desktop/images/11042025/12/27/image_11042025_12_27_25_10463.jpg', '/home/pi/Desktop/images/11042025/12/27/image_11042025_12_27_36_10441.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/12/26/image_11042025_12_26_46_10366.jpg
/home/pi/Desktop/images/11042025/12/26/image_11042025_12_26_55_9470.jpg
/home/pi/Desktop/images/11042025/12/26/image_11042025_12_27_05_10363.jpg
/home/pi/Desktop/images/11042025/12/27/image_11042025_12_27_15_9410.jpg
/home/pi/Desktop/images/11042025/12/27/image_11042025_12_27_25_10463.jpg
/home/pi/Desktop/images/11042025/12/27/image_11042025_12_27_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":["1351678536","1351678492","1351678432","1351678408","1351678566","1351678467"],"photo_ids_order":["1351678408","1351678432","1351678467","1351678492","1351678536","1351678566"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d2296b7f2bd3d6f22c7521d32f7fccce.jpg","text":"TemporaryFile(/tmp/multipartBody7863297235533080619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373973332,"filename":"image_11042025_12_27_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/11/65cb0c0bf1c4731df44e56769df78ecf.jpg","text":"TemporaryFile(/tmp/multipartBody3732206747454294731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373973332,"filename":"image_11042025_12_27_15_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/637a1d560678f705aa6ce19b58c67954.jpg","text":"TemporaryFile(/tmp/multipartBody7011276306846157728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373973332,"filename":"image_11042025_12_26_55_9470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f6c327e70c3947615b27121e30a20e8a.jpg","text":"TemporaryFile(/tmp/multipartBody3014833275628405235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373973332,"filename":"image_11042025_12_26_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/11/04459af0257d7c0b3d892c523c30014f.jpg","text":"TemporaryFile(/tmp/multipartBody836230930178566016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373973332,"filename":"image_11042025_12_27_36_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/dadf11a54612e7d0d3646f8de43bead6.jpg","text":"TemporaryFile(/tmp/multipartBody8538161377235144455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744373973332,"filename":"image_11042025_12_27_05_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351678467","file1":"1351678432","file0":"1351678408","file4":"1351678536","file5":"1351678566","file3":"1351678492"},"map_files_photo_id_array":[{"photo_id":"1351678566","filename":"file5"},{"photo_id":"1351678467","filename":"file2"},{"photo_id":"1351678536","filename":"file4"},{"photo_id":"1351678432","filename":"file1"},{"photo_id":"1351678408","filename":"file0"},{"photo_id":"1351678492","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351678536":["hashtag1","hashtag2"]},{"1351678492":["hashtag1","hashtag2"]},{"1351678432":["hashtag1","hashtag2"]},{"1351678408":["hashtag1","hashtag2"]},{"1351678566":["hashtag1","hashtag2"]},{"1351678467":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351678536, 1351678492, 1351678432, 1351678408, 1351678566, 1351678467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.18913125991821 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 14:19:33.289999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/12/27/image_11042025_12_27_45_9437.jpg', '/home/pi/Desktop/images/11042025/12/27/image_11042025_12_27_55_10356.jpg', '/home/pi/Desktop/images/11042025/12/27/image_11042025_12_28_05_9464.jpg', '/home/pi/Desktop/images/11042025/12/28/image_11042025_12_28_15_10354.jpg', '/home/pi/Desktop/images/11042025/12/28/image_11042025_12_28_25_9552.jpg', '/home/pi/Desktop/images/11042025/12/28/image_11042025_12_28_35_10391.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/12/27/image_11042025_12_27_45_9437.jpg
/home/pi/Desktop/images/11042025/12/27/image_11042025_12_27_55_10356.jpg
/home/pi/Desktop/images/11042025/12/27/image_11042025_12_28_05_9464.jpg
/home/pi/Desktop/images/11042025/12/28/image_11042025_12_28_15_10354.jpg
/home/pi/Desktop/images/11042025/12/28/image_11042025_12_28_25_9552.jpg
/home/pi/Desktop/images/11042025/12/28/image_11042025_12_28_35_10391.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351678787","1351678775","1351678817","1351678739","1351678899","1351678857"],"photo_ids_order":["1351678739","1351678775","1351678787","1351678817","1351678857","1351678899"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c5caaed000ab43142de920cbae7fccaa.jpg","text":"TemporaryFile(/tmp/multipartBody7191998354984911722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374033752,"filename":"image_11042025_12_28_05_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/11/0f213e0c7f550597e5bb84eaf240dbab.jpg","text":"TemporaryFile(/tmp/multipartBody4014845052364112883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374033752,"filename":"image_11042025_12_27_55_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d9453eddcd4613e5df0ee195703933e8.jpg","text":"TemporaryFile(/tmp/multipartBody572751084737454610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374033752,"filename":"image_11042025_12_28_15_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/fd925fa23ae01eaf5e450898cb1baba2.jpg","text":"TemporaryFile(/tmp/multipartBody231208957364843093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374033752,"filename":"image_11042025_12_27_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/11/360c23a3b3976cca4b98296be3c8dc4f.jpg","text":"TemporaryFile(/tmp/multipartBody269076935633032939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374033752,"filename":"image_11042025_12_28_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/11/b2739cbbd8148e8bed78bee9608ab4e1.jpg","text":"TemporaryFile(/tmp/multipartBody2545263125100314667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374033752,"filename":"image_11042025_12_28_25_9552.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351678787","file1":"1351678775","file0":"1351678739","file4":"1351678857","file5":"1351678899","file3":"1351678817"},"map_files_photo_id_array":[{"photo_id":"1351678899","filename":"file5"},{"photo_id":"1351678787","filename":"file2"},{"photo_id":"1351678857","filename":"file4"},{"photo_id":"1351678775","filename":"file1"},{"photo_id":"1351678739","filename":"file0"},{"photo_id":"1351678817","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351678787":["hashtag1","hashtag2"]},{"1351678775":["hashtag1","hashtag2"]},{"1351678817":["hashtag1","hashtag2"]},{"1351678739":["hashtag1","hashtag2"]},{"1351678899":["hashtag1","hashtag2"]},{"1351678857":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351678787, 1351678775, 1351678817, 1351678739, 1351678899, 1351678857)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.443946838378906 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 14:20:32.260834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/12/28/image_11042025_12_28_46_10361.jpg', '/home/pi/Desktop/images/11042025/12/28/image_11042025_12_28_55_9458.jpg', '/home/pi/Desktop/images/11042025/12/28/image_11042025_12_29_05_10366.jpg', '/home/pi/Desktop/images/11042025/12/29/image_11042025_12_29_15_9404.jpg', '/home/pi/Desktop/images/11042025/12/29/image_11042025_12_29_25_10352.jpg', '/home/pi/Desktop/images/11042025/12/29/image_11042025_12_29_36_10418.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/12/28/image_11042025_12_28_46_10361.jpg
/home/pi/Desktop/images/11042025/12/28/image_11042025_12_28_55_9458.jpg
/home/pi/Desktop/images/11042025/12/28/image_11042025_12_29_05_10366.jpg
/home/pi/Desktop/images/11042025/12/29/image_11042025_12_29_15_9404.jpg
/home/pi/Desktop/images/11042025/12/29/image_11042025_12_29_25_10352.jpg
/home/pi/Desktop/images/11042025/12/29/image_11042025_12_29_36_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":["1351679226","1351679106","1351679249","1351679182","1351679206","1351679253"],"photo_ids_order":["1351679106","1351679182","1351679206","1351679226","1351679249","1351679253"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/acf76680f6f33c4be3f36719e6d30be5.jpg","text":"TemporaryFile(/tmp/multipartBody4952114722973459004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374092724,"filename":"image_11042025_12_29_15_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7f4f8b3a2f035b90792eb1f08011a324.jpg","text":"TemporaryFile(/tmp/multipartBody2611468116751803853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374092724,"filename":"image_11042025_12_28_46_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/50a1c1dfc49b42eba7f1a6321a35033b.jpg","text":"TemporaryFile(/tmp/multipartBody7000343783629809849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374092724,"filename":"image_11042025_12_29_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/11/69543b4d17f878682d615781e6fc60de.jpg","text":"TemporaryFile(/tmp/multipartBody5106664299178851669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374092724,"filename":"image_11042025_12_28_55_9458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/190ed953b1e4ce0c6b77f97190a2a753.jpg","text":"TemporaryFile(/tmp/multipartBody6038520638708417335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374092724,"filename":"image_11042025_12_29_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/11/a1b85909638a5e3e716bcb9638915fa2.jpg","text":"TemporaryFile(/tmp/multipartBody4707690845271650697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374092724,"filename":"image_11042025_12_29_36_10418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351679206","file1":"1351679182","file0":"1351679106","file4":"1351679249","file5":"1351679253","file3":"1351679226"},"map_files_photo_id_array":[{"photo_id":"1351679253","filename":"file5"},{"photo_id":"1351679206","filename":"file2"},{"photo_id":"1351679249","filename":"file4"},{"photo_id":"1351679182","filename":"file1"},{"photo_id":"1351679106","filename":"file0"},{"photo_id":"1351679226","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351679226":["hashtag1","hashtag2"]},{"1351679106":["hashtag1","hashtag2"]},{"1351679249":["hashtag1","hashtag2"]},{"1351679182":["hashtag1","hashtag2"]},{"1351679206":["hashtag1","hashtag2"]},{"1351679253":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351679226, 1351679106, 1351679249, 1351679182, 1351679206, 1351679253)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.80345940589905 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 14:21:32.594928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/12/29/image_11042025_12_29_45_9448.jpg', '/home/pi/Desktop/images/11042025/12/29/image_11042025_12_29_55_10433.jpg', '/home/pi/Desktop/images/11042025/12/29/image_11042025_12_30_05_9347.jpg', '/home/pi/Desktop/images/11042025/12/30/image_11042025_12_30_15_10413.jpg', '/home/pi/Desktop/images/11042025/12/30/image_11042025_12_30_26_10374.jpg', '/home/pi/Desktop/images/11042025/12/30/image_11042025_12_30_35_9464.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/12/29/image_11042025_12_29_45_9448.jpg
/home/pi/Desktop/images/11042025/12/29/image_11042025_12_29_55_10433.jpg
/home/pi/Desktop/images/11042025/12/29/image_11042025_12_30_05_9347.jpg
/home/pi/Desktop/images/11042025/12/30/image_11042025_12_30_15_10413.jpg
/home/pi/Desktop/images/11042025/12/30/image_11042025_12_30_26_10374.jpg
/home/pi/Desktop/images/11042025/12/30/image_11042025_12_30_35_9464.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351679304","1351679297","1351679306","1351679300","1351679287","1351679292"],"photo_ids_order":["1351679287","1351679292","1351679297","1351679300","1351679304","1351679306"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/fc47817e4e5ef714bf09ba8b7e03c471.jpg","text":"TemporaryFile(/tmp/multipartBody7583932696038027485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374153059,"filename":"image_11042025_12_30_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/11/29990cec1f4823be84400aee734ffb69.jpg","text":"TemporaryFile(/tmp/multipartBody7762292009487511948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374153059,"filename":"image_11042025_12_30_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/11/17f4f6b9d2fe12596b6fb15f6d42c5a5.jpg","text":"TemporaryFile(/tmp/multipartBody381917616600382565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374153059,"filename":"image_11042025_12_30_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/11/7b8198ce8884deb293ec6778c6d86ceb.jpg","text":"TemporaryFile(/tmp/multipartBody2999168704777300062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374153059,"filename":"image_11042025_12_30_15_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6a68477027a7f69194b2d9495d004241.jpg","text":"TemporaryFile(/tmp/multipartBody2786700912724042620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374153059,"filename":"image_11042025_12_29_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/11/c3914f8979dd60d36ca9eaa766872551.jpg","text":"TemporaryFile(/tmp/multipartBody4364949305233610124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374153059,"filename":"image_11042025_12_29_55_10433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351679297","file1":"1351679292","file0":"1351679287","file4":"1351679304","file5":"1351679306","file3":"1351679300"},"map_files_photo_id_array":[{"photo_id":"1351679306","filename":"file5"},{"photo_id":"1351679297","filename":"file2"},{"photo_id":"1351679304","filename":"file4"},{"photo_id":"1351679292","filename":"file1"},{"photo_id":"1351679287","filename":"file0"},{"photo_id":"1351679300","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351679304":["hashtag1","hashtag2"]},{"1351679297":["hashtag1","hashtag2"]},{"1351679306":["hashtag1","hashtag2"]},{"1351679300":["hashtag1","hashtag2"]},{"1351679287":["hashtag1","hashtag2"]},{"1351679292":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351679304, 1351679297, 1351679306, 1351679300, 1351679287, 1351679292)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.20198130607605 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 14:22:32.765388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/12/30/image_11042025_12_30_45_10365.jpg', '/home/pi/Desktop/images/11042025/12/30/image_11042025_12_30_55_9556.jpg', '/home/pi/Desktop/images/11042025/12/30/image_11042025_12_31_05_10435.jpg', '/home/pi/Desktop/images/11042025/12/31/image_11042025_12_31_15_9390.jpg', '/home/pi/Desktop/images/11042025/12/31/image_11042025_12_31_25_10429.jpg', '/home/pi/Desktop/images/11042025/12/31/image_11042025_12_31_45_9345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/12/30/image_11042025_12_30_45_10365.jpg
/home/pi/Desktop/images/11042025/12/30/image_11042025_12_30_55_9556.jpg
/home/pi/Desktop/images/11042025/12/30/image_11042025_12_31_05_10435.jpg
/home/pi/Desktop/images/11042025/12/31/image_11042025_12_31_15_9390.jpg
/home/pi/Desktop/images/11042025/12/31/image_11042025_12_31_25_10429.jpg
/home/pi/Desktop/images/11042025/12/31/image_11042025_12_31_45_9345.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":["1351679689","1351679827","1351679883","1351679787","1351679676","1351679733"],"photo_ids_order":["1351679676","1351679689","1351679733","1351679787","1351679827","1351679883"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/83bfd7e983db6a9832af9ea77a49e004.jpg","text":"TemporaryFile(/tmp/multipartBody2646414537150424359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374213227,"filename":"image_11042025_12_30_55_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/11/4ce5884515b678000cdaf7c3f214dcde.jpg","text":"TemporaryFile(/tmp/multipartBody2055627975748303786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374213227,"filename":"image_11042025_12_31_25_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/fe51b368e5b37ae37e6c540fff395c88.jpg","text":"TemporaryFile(/tmp/multipartBody69071205574435181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374213227,"filename":"image_11042025_12_31_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/11/dc924ed4ebb410ce142b936defc77194.jpg","text":"TemporaryFile(/tmp/multipartBody6241737117796208439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374213227,"filename":"image_11042025_12_31_15_9390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0c2be1a4dde0f786b4ba205e47e091fe.jpg","text":"TemporaryFile(/tmp/multipartBody3313168632702665801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374213227,"filename":"image_11042025_12_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/11/478cfe4eb9a81e563931b42a392068ac.jpg","text":"TemporaryFile(/tmp/multipartBody6447934118452315051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374213227,"filename":"image_11042025_12_31_05_10435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351679733","file1":"1351679689","file0":"1351679676","file4":"1351679827","file5":"1351679883","file3":"1351679787"},"map_files_photo_id_array":[{"photo_id":"1351679883","filename":"file5"},{"photo_id":"1351679733","filename":"file2"},{"photo_id":"1351679827","filename":"file4"},{"photo_id":"1351679689","filename":"file1"},{"photo_id":"1351679676","filename":"file0"},{"photo_id":"1351679787","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351679689":["hashtag1","hashtag2"]},{"1351679827":["hashtag1","hashtag2"]},{"1351679883":["hashtag1","hashtag2"]},{"1351679787":["hashtag1","hashtag2"]},{"1351679676":["hashtag1","hashtag2"]},{"1351679733":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351679689, 1351679827, 1351679883, 1351679787, 1351679676, 1351679733)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.90411138534546 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 14:23:43.009701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/12/31/image_11042025_12_31_55_10379.jpg', '/home/pi/Desktop/images/11042025/12/31/image_11042025_12_32_06_10376.jpg', '/home/pi/Desktop/images/11042025/12/32/image_11042025_12_32_15_9517.jpg', '/home/pi/Desktop/images/11042025/12/33/image_11042025_12_33_15_10344.jpg', '/home/pi/Desktop/images/11042025/12/33/image_11042025_12_33_26_10352.jpg', '/home/pi/Desktop/images/11042025/12/33/image_11042025_12_33_35_9362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/12/31/image_11042025_12_31_55_10379.jpg
/home/pi/Desktop/images/11042025/12/31/image_11042025_12_32_06_10376.jpg
/home/pi/Desktop/images/11042025/12/32/image_11042025_12_32_15_9517.jpg
/home/pi/Desktop/images/11042025/12/33/image_11042025_12_33_15_10344.jpg
/home/pi/Desktop/images/11042025/12/33/image_11042025_12_33_26_10352.jpg
/home/pi/Desktop/images/11042025/12/33/image_11042025_12_33_35_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":["1351680290","1351680391","1351680073","1351680343","1351680118","1351680096"],"photo_ids_order":["1351680073","1351680096","1351680118","1351680290","1351680343","1351680391"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2c38751d2975137df64ed77133cb4ee3.jpg","text":"TemporaryFile(/tmp/multipartBody1333018731970460676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374283475,"filename":"image_11042025_12_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/11/55545d41bf6fa4f7d1d5eff8e4477bce.jpg","text":"TemporaryFile(/tmp/multipartBody2138102271701878671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374283475,"filename":"image_11042025_12_33_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/11/61d0a5501227920a854b01d66437ecab.jpg","text":"TemporaryFile(/tmp/multipartBody6100306153726477526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374283475,"filename":"image_11042025_12_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/11/2998427a91897f79e3351d4aae8d65d6.jpg","text":"TemporaryFile(/tmp/multipartBody5468157983722809006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374283475,"filename":"image_11042025_12_33_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/11/1bd7326ba5655457f0bbc4c129ca4bff.jpg","text":"TemporaryFile(/tmp/multipartBody5989218637216025192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374283475,"filename":"image_11042025_12_32_15_9517.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/136fb9f0806b4b8c11b29b1d109db30a.jpg","text":"TemporaryFile(/tmp/multipartBody7243686816275653401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374283475,"filename":"image_11042025_12_32_06_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351680118","file1":"1351680096","file0":"1351680073","file4":"1351680343","file5":"1351680391","file3":"1351680290"},"map_files_photo_id_array":[{"photo_id":"1351680391","filename":"file5"},{"photo_id":"1351680118","filename":"file2"},{"photo_id":"1351680343","filename":"file4"},{"photo_id":"1351680096","filename":"file1"},{"photo_id":"1351680073","filename":"file0"},{"photo_id":"1351680290","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351680290":["hashtag1","hashtag2"]},{"1351680391":["hashtag1","hashtag2"]},{"1351680073":["hashtag1","hashtag2"]},{"1351680343":["hashtag1","hashtag2"]},{"1351680118":["hashtag1","hashtag2"]},{"1351680096":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351680290, 1351680391, 1351680073, 1351680343, 1351680118, 1351680096)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.33839678764343 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 14:24:42.262240
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/12/33/image_11042025_12_33_45_10364.jpg', '/home/pi/Desktop/images/11042025/12/33/image_11042025_12_33_56_10470.jpg', '/home/pi/Desktop/images/11042025/12/33/image_11042025_12_34_05_9357.jpg', '/home/pi/Desktop/images/11042025/12/34/image_11042025_12_34_15_10370.jpg', '/home/pi/Desktop/images/11042025/12/34/image_11042025_12_34_25_9356.jpg', '/home/pi/Desktop/images/11042025/12/34/image_11042025_12_34_35_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/12/33/image_11042025_12_33_45_10364.jpg
/home/pi/Desktop/images/11042025/12/33/image_11042025_12_33_56_10470.jpg
/home/pi/Desktop/images/11042025/12/33/image_11042025_12_34_05_9357.jpg
/home/pi/Desktop/images/11042025/12/34/image_11042025_12_34_15_10370.jpg
/home/pi/Desktop/images/11042025/12/34/image_11042025_12_34_25_9356.jpg
/home/pi/Desktop/images/11042025/12/34/image_11042025_12_34_35_10354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351681133","1351680797","1351680938","1351681222","1351681024","1351681318"],"photo_ids_order":["1351680797","1351680938","1351681024","1351681133","1351681222","1351681318"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/eb14b73029323bb4681d8b6dd6e4fd70.jpg","text":"TemporaryFile(/tmp/multipartBody5571300127125805720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374342786,"filename":"image_11042025_12_34_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/11/fe1fb63193de2228489b3986e104260c.jpg","text":"TemporaryFile(/tmp/multipartBody8543990717655988303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374342786,"filename":"image_11042025_12_33_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/11/020879ff8e30e4746ff3efe0baa4a8e3.jpg","text":"TemporaryFile(/tmp/multipartBody4323385556709847614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374342786,"filename":"image_11042025_12_33_56_10470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7182f1aeb8b2bcee2f1fe6da5ee837c3.jpg","text":"TemporaryFile(/tmp/multipartBody5103249819519438098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374342786,"filename":"image_11042025_12_34_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/11/8015ef47010499091f7168261acafc8b.jpg","text":"TemporaryFile(/tmp/multipartBody1580112864250947056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374342786,"filename":"image_11042025_12_34_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/11/b69851583fa58f2d2fded01872d440f7.jpg","text":"TemporaryFile(/tmp/multipartBody4544944422975507019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374342786,"filename":"image_11042025_12_34_35_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351681024","file1":"1351680938","file0":"1351680797","file4":"1351681222","file5":"1351681318","file3":"1351681133"},"map_files_photo_id_array":[{"photo_id":"1351681318","filename":"file5"},{"photo_id":"1351681024","filename":"file2"},{"photo_id":"1351681222","filename":"file4"},{"photo_id":"1351680938","filename":"file1"},{"photo_id":"1351680797","filename":"file0"},{"photo_id":"1351681133","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351681133":["hashtag1","hashtag2"]},{"1351680797":["hashtag1","hashtag2"]},{"1351680938":["hashtag1","hashtag2"]},{"1351681222":["hashtag1","hashtag2"]},{"1351681024":["hashtag1","hashtag2"]},{"1351681318":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351681133, 1351680797, 1351680938, 1351681222, 1351681024, 1351681318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.50482988357544 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 14:25:32.387003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/12/34/image_11042025_12_34_46_10363.jpg', '/home/pi/Desktop/images/11042025/12/34/image_11042025_12_34_55_9473.jpg', '/home/pi/Desktop/images/11042025/12/34/image_11042025_12_35_05_10366.jpg', '/home/pi/Desktop/images/11042025/12/35/image_11042025_12_35_15_9562.jpg', '/home/pi/Desktop/images/11042025/12/35/image_11042025_12_35_25_10360.jpg', '/home/pi/Desktop/images/11042025/12/35/image_11042025_12_35_36_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/12/34/image_11042025_12_34_46_10363.jpg
/home/pi/Desktop/images/11042025/12/34/image_11042025_12_34_55_9473.jpg
/home/pi/Desktop/images/11042025/12/34/image_11042025_12_35_05_10366.jpg
/home/pi/Desktop/images/11042025/12/35/image_11042025_12_35_15_9562.jpg
/home/pi/Desktop/images/11042025/12/35/image_11042025_12_35_25_10360.jpg
/home/pi/Desktop/images/11042025/12/35/image_11042025_12_35_36_10364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351681466","1351681541","1351681486","1351681462","1351681519","1351681479"],"photo_ids_order":["1351681462","1351681466","1351681479","1351681486","1351681519","1351681541"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/97d10e3ebb15282f8632a8d1a4316d2b.jpg","text":"TemporaryFile(/tmp/multipartBody2846708163394621292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374392863,"filename":"image_11042025_12_34_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/11/69cfdb87137d0f5ce924d873afc08235.jpg","text":"TemporaryFile(/tmp/multipartBody7230585821764363981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374392863,"filename":"image_11042025_12_35_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/11/7859e5c3cb273f7e1de706e82ecded02.jpg","text":"TemporaryFile(/tmp/multipartBody5682164644833246652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374392863,"filename":"image_11042025_12_35_15_9562.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a02a892e1e2bc9e4e0270c3a329839fd.jpg","text":"TemporaryFile(/tmp/multipartBody759112385804247151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374392863,"filename":"image_11042025_12_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/11/3cf2dd821b1749cf04ab1587ba9440ef.jpg","text":"TemporaryFile(/tmp/multipartBody5638168724465921766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374392863,"filename":"image_11042025_12_35_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/11/db035999e92c68ca8fc85aafb7aa5565.jpg","text":"TemporaryFile(/tmp/multipartBody8688422458361848396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374392863,"filename":"image_11042025_12_35_05_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351681479","file1":"1351681466","file0":"1351681462","file4":"1351681519","file5":"1351681541","file3":"1351681486"},"map_files_photo_id_array":[{"photo_id":"1351681541","filename":"file5"},{"photo_id":"1351681479","filename":"file2"},{"photo_id":"1351681519","filename":"file4"},{"photo_id":"1351681466","filename":"file1"},{"photo_id":"1351681462","filename":"file0"},{"photo_id":"1351681486","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351681466":["hashtag1","hashtag2"]},{"1351681541":["hashtag1","hashtag2"]},{"1351681486":["hashtag1","hashtag2"]},{"1351681462":["hashtag1","hashtag2"]},{"1351681519":["hashtag1","hashtag2"]},{"1351681479":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351681466, 1351681541, 1351681486, 1351681462, 1351681519, 1351681479)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.99155855178833 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 14:26:32.646607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/12/35/image_11042025_12_35_45_9342.jpg', '/home/pi/Desktop/images/11042025/12/36/image_11042025_12_36_35_9473.jpg', '/home/pi/Desktop/images/11042025/12/36/image_11042025_12_36_45_10367.jpg', '/home/pi/Desktop/images/11042025/12/36/image_11042025_12_36_55_9400.jpg', '/home/pi/Desktop/images/11042025/12/36/image_11042025_12_37_05_10354.jpg', '/home/pi/Desktop/images/11042025/12/37/image_11042025_12_37_16_10413.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/12/35/image_11042025_12_35_45_9342.jpg
/home/pi/Desktop/images/11042025/12/36/image_11042025_12_36_35_9473.jpg
/home/pi/Desktop/images/11042025/12/36/image_11042025_12_36_45_10367.jpg
/home/pi/Desktop/images/11042025/12/36/image_11042025_12_36_55_9400.jpg
/home/pi/Desktop/images/11042025/12/36/image_11042025_12_37_05_10354.jpg
/home/pi/Desktop/images/11042025/12/37/image_11042025_12_37_16_10413.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351682108","1351681904","1351681996","1351681948","1351681849","1351682034"],"photo_ids_order":["1351681849","1351681904","1351681948","1351681996","1351682034","1351682108"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3460ad73035fceab96aaf341150a6470.jpg","text":"TemporaryFile(/tmp/multipartBody7291778328302124495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374453159,"filename":"image_11042025_12_37_16_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/51623e030671c5f229ddc0cd4d1c2110.jpg","text":"TemporaryFile(/tmp/multipartBody4981767463795310905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374453159,"filename":"image_11042025_12_36_35_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/11/0d5c2f9176fe6cca6b175537189ac6e4.jpg","text":"TemporaryFile(/tmp/multipartBody312831823371521675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374453159,"filename":"image_11042025_12_36_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/11/e7d75cbacaa0bc3000bbff8c72dfee50.jpg","text":"TemporaryFile(/tmp/multipartBody7057619851193912768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374453159,"filename":"image_11042025_12_36_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/11/7a5151617cbae23920cf3e3fafec1240.jpg","text":"TemporaryFile(/tmp/multipartBody1807176629902763752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374453159,"filename":"image_11042025_12_35_45_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ba07176d7e26983e6d8c0638a10b287e.jpg","text":"TemporaryFile(/tmp/multipartBody3523139690863006784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374453159,"filename":"image_11042025_12_37_05_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351681948","file1":"1351681904","file0":"1351681849","file4":"1351682034","file5":"1351682108","file3":"1351681996"},"map_files_photo_id_array":[{"photo_id":"1351682108","filename":"file5"},{"photo_id":"1351681948","filename":"file2"},{"photo_id":"1351682034","filename":"file4"},{"photo_id":"1351681904","filename":"file1"},{"photo_id":"1351681849","filename":"file0"},{"photo_id":"1351681996","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351682108":["hashtag1","hashtag2"]},{"1351681904":["hashtag1","hashtag2"]},{"1351681996":["hashtag1","hashtag2"]},{"1351681948":["hashtag1","hashtag2"]},{"1351681849":["hashtag1","hashtag2"]},{"1351682034":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351682108, 1351681904, 1351681996, 1351681948, 1351681849, 1351682034)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.9022331237793 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 14:27:32.942818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/12/37/image_11042025_12_37_25_9489.jpg', '/home/pi/Desktop/images/11042025/12/37/image_11042025_12_37_35_10379.jpg', '/home/pi/Desktop/images/11042025/12/37/image_11042025_12_37_45_9467.jpg', '/home/pi/Desktop/images/11042025/12/37/image_11042025_12_37_55_10384.jpg', '/home/pi/Desktop/images/11042025/12/37/image_11042025_12_38_05_9419.jpg', '/home/pi/Desktop/images/11042025/12/38/image_11042025_12_38_15_10488.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/12/37/image_11042025_12_37_25_9489.jpg
/home/pi/Desktop/images/11042025/12/37/image_11042025_12_37_35_10379.jpg
/home/pi/Desktop/images/11042025/12/37/image_11042025_12_37_45_9467.jpg
/home/pi/Desktop/images/11042025/12/37/image_11042025_12_37_55_10384.jpg
/home/pi/Desktop/images/11042025/12/37/image_11042025_12_38_05_9419.jpg
/home/pi/Desktop/images/11042025/12/38/image_11042025_12_38_15_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":["1351682744","1351682824","1351682769","1351682697","1351682777","1351682792"],"photo_ids_order":["1351682697","1351682744","1351682769","1351682777","1351682792","1351682824"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a447204dad38cb684af673148e882eb6.jpg","text":"TemporaryFile(/tmp/multipartBody1151051890422508329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374513401,"filename":"image_11042025_12_37_35_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/97be3d9e72dd6e64f356e8cdbc904640.jpg","text":"TemporaryFile(/tmp/multipartBody8738589259618340538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374513401,"filename":"image_11042025_12_38_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/11/01c2b6d6005c8f221ef1f7def8c6ea54.jpg","text":"TemporaryFile(/tmp/multipartBody5513932243835343722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374513401,"filename":"image_11042025_12_37_45_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/11/eb6c48b93dbe7e705983998ad05157ed.jpg","text":"TemporaryFile(/tmp/multipartBody4238174821676615919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374513401,"filename":"image_11042025_12_37_25_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/11/36360b935b8dce5fc1f019538b7dfacc.jpg","text":"TemporaryFile(/tmp/multipartBody1134348422873664760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374513401,"filename":"image_11042025_12_37_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/11/c5b74c05eec389820fdd42dc9bb84003.jpg","text":"TemporaryFile(/tmp/multipartBody4102724873603881384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374513401,"filename":"image_11042025_12_38_05_9419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351682769","file1":"1351682744","file0":"1351682697","file4":"1351682792","file5":"1351682824","file3":"1351682777"},"map_files_photo_id_array":[{"photo_id":"1351682824","filename":"file5"},{"photo_id":"1351682769","filename":"file2"},{"photo_id":"1351682792","filename":"file4"},{"photo_id":"1351682744","filename":"file1"},{"photo_id":"1351682697","filename":"file0"},{"photo_id":"1351682777","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351682744":["hashtag1","hashtag2"]},{"1351682824":["hashtag1","hashtag2"]},{"1351682769":["hashtag1","hashtag2"]},{"1351682697":["hashtag1","hashtag2"]},{"1351682777":["hashtag1","hashtag2"]},{"1351682792":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351682744, 1351682824, 1351682769, 1351682697, 1351682777, 1351682792)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.27550911903381 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 14:28:33.098099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/12/38/image_11042025_12_38_26_10353.jpg', '/home/pi/Desktop/images/11042025/12/38/image_11042025_12_38_35_9419.jpg', '/home/pi/Desktop/images/11042025/12/38/image_11042025_12_38_45_10364.jpg', '/home/pi/Desktop/images/11042025/12/38/image_11042025_12_38_55_9433.jpg', '/home/pi/Desktop/images/11042025/12/38/image_11042025_12_39_05_10420.jpg', '/home/pi/Desktop/images/11042025/12/39/image_11042025_12_39_16_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/12/38/image_11042025_12_38_26_10353.jpg
/home/pi/Desktop/images/11042025/12/38/image_11042025_12_38_35_9419.jpg
/home/pi/Desktop/images/11042025/12/38/image_11042025_12_38_45_10364.jpg
/home/pi/Desktop/images/11042025/12/38/image_11042025_12_38_55_9433.jpg
/home/pi/Desktop/images/11042025/12/38/image_11042025_12_39_05_10420.jpg
/home/pi/Desktop/images/11042025/12/39/image_11042025_12_39_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":["1351683037","1351683042","1351683021","1351683053","1351683026","1351683029"],"photo_ids_order":["1351683021","1351683026","1351683029","1351683037","1351683042","1351683053"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/19a02eeb527d8aad7fb5185dec9d2a61.jpg","text":"TemporaryFile(/tmp/multipartBody5709559147454309384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374573570,"filename":"image_11042025_12_38_55_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/65b23a10bec6cfdcaf160c667ce9e8fc.jpg","text":"TemporaryFile(/tmp/multipartBody7040843730248447507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374573570,"filename":"image_11042025_12_39_05_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/aac28372a78b5d5f3f430844559ab113.jpg","text":"TemporaryFile(/tmp/multipartBody3201547669105181630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374573570,"filename":"image_11042025_12_38_26_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0faeb6690d498fe30d6ed8732d8f9199.jpg","text":"TemporaryFile(/tmp/multipartBody7877403731911635213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374573570,"filename":"image_11042025_12_39_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/11/ab98022d8577108b507e0e23eb1b54a5.jpg","text":"TemporaryFile(/tmp/multipartBody4206545298092644312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374573570,"filename":"image_11042025_12_38_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/11/3bde438e9a9c042890f2598d3affca81.jpg","text":"TemporaryFile(/tmp/multipartBody2540328691890784257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374573570,"filename":"image_11042025_12_38_45_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351683029","file1":"1351683026","file0":"1351683021","file4":"1351683042","file5":"1351683053","file3":"1351683037"},"map_files_photo_id_array":[{"photo_id":"1351683053","filename":"file5"},{"photo_id":"1351683029","filename":"file2"},{"photo_id":"1351683042","filename":"file4"},{"photo_id":"1351683026","filename":"file1"},{"photo_id":"1351683021","filename":"file0"},{"photo_id":"1351683037","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351683037":["hashtag1","hashtag2"]},{"1351683042":["hashtag1","hashtag2"]},{"1351683021":["hashtag1","hashtag2"]},{"1351683053":["hashtag1","hashtag2"]},{"1351683026":["hashtag1","hashtag2"]},{"1351683029":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351683037, 1351683042, 1351683021, 1351683053, 1351683026, 1351683029)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.34588837623596 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 14:29:32.364624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/12/39/image_11042025_12_39_25_9421.jpg', '/home/pi/Desktop/images/11042025/12/39/image_11042025_12_39_35_10359.jpg', '/home/pi/Desktop/images/11042025/12/39/image_11042025_12_39_55_10450.jpg', '/home/pi/Desktop/images/11042025/12/39/image_11042025_12_40_06_10355.jpg', '/home/pi/Desktop/images/11042025/12/40/image_11042025_12_40_45_10371.jpg', '/home/pi/Desktop/images/11042025/12/40/image_11042025_12_40_56_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/12/39/image_11042025_12_39_25_9421.jpg
/home/pi/Desktop/images/11042025/12/39/image_11042025_12_39_35_10359.jpg
/home/pi/Desktop/images/11042025/12/39/image_11042025_12_39_55_10450.jpg
/home/pi/Desktop/images/11042025/12/39/image_11042025_12_40_06_10355.jpg
/home/pi/Desktop/images/11042025/12/40/image_11042025_12_40_45_10371.jpg
/home/pi/Desktop/images/11042025/12/40/image_11042025_12_40_56_10367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351683313","1351683288","1351683270","1351683275","1351683317","1351683295"],"photo_ids_order":["1351683270","1351683275","1351683288","1351683295","1351683313","1351683317"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a738106bec148851553adc7eeca9cce3.jpg","text":"TemporaryFile(/tmp/multipartBody915625903232684177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374632845,"filename":"image_11042025_12_40_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/11/7e41c82d853a202706e8179af3cdadbb.jpg","text":"TemporaryFile(/tmp/multipartBody7876033711628919794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374632845,"filename":"image_11042025_12_39_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/11/11cf39d9ba29427e9ea3bb32d75037fb.jpg","text":"TemporaryFile(/tmp/multipartBody5531134095188470644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374632845,"filename":"image_11042025_12_39_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/11/7b5ada2d39e08f39c0a98b0599c6df8f.jpg","text":"TemporaryFile(/tmp/multipartBody8014019494051702390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374632845,"filename":"image_11042025_12_39_35_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6c67916902cabbd61f6f3000859b2faa.jpg","text":"TemporaryFile(/tmp/multipartBody8518281384054988821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374632845,"filename":"image_11042025_12_40_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/11/2e5c93e72a3a064c34cde49b608f33e4.jpg","text":"TemporaryFile(/tmp/multipartBody7722036231372134531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374632845,"filename":"image_11042025_12_40_06_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351683288","file1":"1351683275","file0":"1351683270","file4":"1351683313","file5":"1351683317","file3":"1351683295"},"map_files_photo_id_array":[{"photo_id":"1351683317","filename":"file5"},{"photo_id":"1351683288","filename":"file2"},{"photo_id":"1351683313","filename":"file4"},{"photo_id":"1351683275","filename":"file1"},{"photo_id":"1351683270","filename":"file0"},{"photo_id":"1351683295","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351683313":["hashtag1","hashtag2"]},{"1351683288":["hashtag1","hashtag2"]},{"1351683270":["hashtag1","hashtag2"]},{"1351683275":["hashtag1","hashtag2"]},{"1351683317":["hashtag1","hashtag2"]},{"1351683295":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351683313, 1351683288, 1351683270, 1351683275, 1351683317, 1351683295)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.93509387969971 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 14:30:32.500690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/12/40/image_11042025_12_41_05_9373.jpg', '/home/pi/Desktop/images/11042025/12/41/image_11042025_12_41_26_10416.jpg', '/home/pi/Desktop/images/11042025/12/41/image_11042025_12_41_35_9354.jpg', '/home/pi/Desktop/images/11042025/12/41/image_11042025_12_41_46_10478.jpg', '/home/pi/Desktop/images/11042025/12/41/image_11042025_12_41_55_9384.jpg', '/home/pi/Desktop/images/11042025/12/41/image_11042025_12_42_05_10456.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/12/40/image_11042025_12_41_05_9373.jpg
/home/pi/Desktop/images/11042025/12/41/image_11042025_12_41_26_10416.jpg
/home/pi/Desktop/images/11042025/12/41/image_11042025_12_41_35_9354.jpg
/home/pi/Desktop/images/11042025/12/41/image_11042025_12_41_46_10478.jpg
/home/pi/Desktop/images/11042025/12/41/image_11042025_12_41_55_9384.jpg
/home/pi/Desktop/images/11042025/12/41/image_11042025_12_42_05_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":["1351683571","1351683489","1351683654","1351683516","1351683444","1351683548"],"photo_ids_order":["1351683444","1351683489","1351683516","1351683548","1351683571","1351683654"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e1098729d0e794d65fb1aeaba4ca7294.jpg","text":"TemporaryFile(/tmp/multipartBody9218110255018558778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374692963,"filename":"image_11042025_12_41_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/11/06979d96f21a97d066b5f589d9b6c415.jpg","text":"TemporaryFile(/tmp/multipartBody7581279321751519092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374692963,"filename":"image_11042025_12_41_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/11/26793deec454a731209fe1de89ac070f.jpg","text":"TemporaryFile(/tmp/multipartBody6839686858518021438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374692963,"filename":"image_11042025_12_42_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/11/734188dcc66257863d813ea0c9a4bb54.jpg","text":"TemporaryFile(/tmp/multipartBody626576859163142874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374692963,"filename":"image_11042025_12_41_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/11/6067c533ed3177fbeda37958801d2a82.jpg","text":"TemporaryFile(/tmp/multipartBody816113989778414702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374692963,"filename":"image_11042025_12_41_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/11/14b7ba9359e896a045d08b6f7f4ab980.jpg","text":"TemporaryFile(/tmp/multipartBody7710624320066319405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374692963,"filename":"image_11042025_12_41_46_10478.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351683516","file1":"1351683489","file0":"1351683444","file4":"1351683571","file5":"1351683654","file3":"1351683548"},"map_files_photo_id_array":[{"photo_id":"1351683654","filename":"file5"},{"photo_id":"1351683516","filename":"file2"},{"photo_id":"1351683571","filename":"file4"},{"photo_id":"1351683489","filename":"file1"},{"photo_id":"1351683444","filename":"file0"},{"photo_id":"1351683548","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351683571":["hashtag1","hashtag2"]},{"1351683489":["hashtag1","hashtag2"]},{"1351683654":["hashtag1","hashtag2"]},{"1351683516":["hashtag1","hashtag2"]},{"1351683444":["hashtag1","hashtag2"]},{"1351683548":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351683571, 1351683489, 1351683654, 1351683516, 1351683444, 1351683548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.16132664680481 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 14:31:32.745996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/12/42/image_11042025_12_42_15_9469.jpg', '/home/pi/Desktop/images/11042025/12/42/image_11042025_12_42_25_10341.jpg', '/home/pi/Desktop/images/11042025/12/42/image_11042025_12_42_36_10367.jpg', '/home/pi/Desktop/images/11042025/12/42/image_11042025_12_42_45_9396.jpg', '/home/pi/Desktop/images/11042025/12/42/image_11042025_12_42_55_10349.jpg', '/home/pi/Desktop/images/11042025/12/42/image_11042025_12_43_05_9411.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/12/42/image_11042025_12_42_15_9469.jpg
/home/pi/Desktop/images/11042025/12/42/image_11042025_12_42_25_10341.jpg
/home/pi/Desktop/images/11042025/12/42/image_11042025_12_42_36_10367.jpg
/home/pi/Desktop/images/11042025/12/42/image_11042025_12_42_45_9396.jpg
/home/pi/Desktop/images/11042025/12/42/image_11042025_12_42_55_10349.jpg
/home/pi/Desktop/images/11042025/12/42/image_11042025_12_43_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":["1351683916","1351684071","1351684044","1351684016","1351683875","1351683824"],"photo_ids_order":["1351683824","1351683875","1351683916","1351684016","1351684044","1351684071"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d9f034e8cb05d60808e529a938858626.jpg","text":"TemporaryFile(/tmp/multipartBody925017976871315606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374753215,"filename":"image_11042025_12_42_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/11/085afe9ad5091c1a143433d4ca09f192.jpg","text":"TemporaryFile(/tmp/multipartBody7028656364961837187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374753215,"filename":"image_11042025_12_43_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/11/875d8c38e357db9eecb61afe4caa00a3.jpg","text":"TemporaryFile(/tmp/multipartBody8742241638481909189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374753215,"filename":"image_11042025_12_42_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/11/77377c237690da260e952068bc7f9f41.jpg","text":"TemporaryFile(/tmp/multipartBody6902535773609446635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374753215,"filename":"image_11042025_12_42_45_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1fbb807846f57b8b917a317290c5e842.jpg","text":"TemporaryFile(/tmp/multipartBody447653056525286925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374753215,"filename":"image_11042025_12_42_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/11/6c25198bccad9d08edd356c55835e495.jpg","text":"TemporaryFile(/tmp/multipartBody2694563431147151472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374753215,"filename":"image_11042025_12_42_15_9469.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351683916","file1":"1351683875","file0":"1351683824","file4":"1351684044","file5":"1351684071","file3":"1351684016"},"map_files_photo_id_array":[{"photo_id":"1351684071","filename":"file5"},{"photo_id":"1351683916","filename":"file2"},{"photo_id":"1351684044","filename":"file4"},{"photo_id":"1351683875","filename":"file1"},{"photo_id":"1351683824","filename":"file0"},{"photo_id":"1351684016","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351683916":["hashtag1","hashtag2"]},{"1351684071":["hashtag1","hashtag2"]},{"1351684044":["hashtag1","hashtag2"]},{"1351684016":["hashtag1","hashtag2"]},{"1351683875":["hashtag1","hashtag2"]},{"1351683824":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351683916, 1351684071, 1351684044, 1351684016, 1351683875, 1351683824)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.50445532798767 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 14:32:32.890319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/12/43/image_11042025_12_43_15_10354.jpg', '/home/pi/Desktop/images/11042025/12/43/image_11042025_12_43_25_10383.jpg', '/home/pi/Desktop/images/11042025/12/43/image_11042025_12_43_35_9402.jpg', '/home/pi/Desktop/images/11042025/12/43/image_11042025_12_43_45_10363.jpg', '/home/pi/Desktop/images/11042025/12/43/image_11042025_12_43_56_10371.jpg', '/home/pi/Desktop/images/11042025/12/43/image_11042025_12_44_05_9467.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/12/43/image_11042025_12_43_15_10354.jpg
/home/pi/Desktop/images/11042025/12/43/image_11042025_12_43_25_10383.jpg
/home/pi/Desktop/images/11042025/12/43/image_11042025_12_43_35_9402.jpg
/home/pi/Desktop/images/11042025/12/43/image_11042025_12_43_45_10363.jpg
/home/pi/Desktop/images/11042025/12/43/image_11042025_12_43_56_10371.jpg
/home/pi/Desktop/images/11042025/12/43/image_11042025_12_44_05_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":["1351684306","1351684234","1351684257","1351684200","1351684282","1351684336"],"photo_ids_order":["1351684200","1351684234","1351684257","1351684282","1351684306","1351684336"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7c3089f4d61e7e2b4e7d0c21a076b950.jpg","text":"TemporaryFile(/tmp/multipartBody4657023502508016951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374813358,"filename":"image_11042025_12_43_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/11/fb49275e53607d889ad6596783e122d4.jpg","text":"TemporaryFile(/tmp/multipartBody7469814915511572278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374813358,"filename":"image_11042025_12_43_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/11/73de7528b4d23fea0ac9c54d2afcab36.jpg","text":"TemporaryFile(/tmp/multipartBody6017474182877690204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374813358,"filename":"image_11042025_12_43_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/11/fafa4aa9c064c6ad74d9db0bb0785acc.jpg","text":"TemporaryFile(/tmp/multipartBody5754612560046377737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374813358,"filename":"image_11042025_12_43_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/11/b9ad296fce7257c9795867a5858d8ad2.jpg","text":"TemporaryFile(/tmp/multipartBody431508675432126650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374813358,"filename":"image_11042025_12_43_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/11/efe87bf8936f402dd8e6bda8bf22d824.jpg","text":"TemporaryFile(/tmp/multipartBody2419688433289908623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374813358,"filename":"image_11042025_12_44_05_9467.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351684257","file1":"1351684234","file0":"1351684200","file4":"1351684306","file5":"1351684336","file3":"1351684282"},"map_files_photo_id_array":[{"photo_id":"1351684336","filename":"file5"},{"photo_id":"1351684257","filename":"file2"},{"photo_id":"1351684306","filename":"file4"},{"photo_id":"1351684234","filename":"file1"},{"photo_id":"1351684200","filename":"file0"},{"photo_id":"1351684282","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351684306":["hashtag1","hashtag2"]},{"1351684234":["hashtag1","hashtag2"]},{"1351684257":["hashtag1","hashtag2"]},{"1351684200":["hashtag1","hashtag2"]},{"1351684282":["hashtag1","hashtag2"]},{"1351684336":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351684306, 1351684234, 1351684257, 1351684200, 1351684282, 1351684336)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.42107677459717 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 14:33:33.200497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/12/44/image_11042025_12_44_16_10469.jpg', '/home/pi/Desktop/images/11042025/12/44/image_11042025_12_44_25_9339.jpg', '/home/pi/Desktop/images/11042025/12/44/image_11042025_12_44_35_10398.jpg', '/home/pi/Desktop/images/11042025/12/44/image_11042025_12_44_45_9469.jpg', '/home/pi/Desktop/images/11042025/12/44/image_11042025_12_44_55_10452.jpg', '/home/pi/Desktop/images/11042025/12/44/image_11042025_12_45_06_10513.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/12/44/image_11042025_12_44_16_10469.jpg
/home/pi/Desktop/images/11042025/12/44/image_11042025_12_44_25_9339.jpg
/home/pi/Desktop/images/11042025/12/44/image_11042025_12_44_35_10398.jpg
/home/pi/Desktop/images/11042025/12/44/image_11042025_12_44_45_9469.jpg
/home/pi/Desktop/images/11042025/12/44/image_11042025_12_44_55_10452.jpg
/home/pi/Desktop/images/11042025/12/44/image_11042025_12_45_06_10513.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351684773","1351684800","1351684623","1351684535","1351684744","1351684561"],"photo_ids_order":["1351684535","1351684561","1351684623","1351684744","1351684773","1351684800"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/eacb58f4d53364e247c5a6193754bcb6.jpg","text":"TemporaryFile(/tmp/multipartBody1381759079722943024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374873659,"filename":"image_11042025_12_44_55_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/cccebc60c11f0e43d74c34244afbc857.jpg","text":"TemporaryFile(/tmp/multipartBody5693079326310089682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374873659,"filename":"image_11042025_12_45_06_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/11/606d73064e2c441af94f27b695d6013f.jpg","text":"TemporaryFile(/tmp/multipartBody150673902206639481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374873659,"filename":"image_11042025_12_44_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/11/174bac8f3ce82cb66b63d141ab854dea.jpg","text":"TemporaryFile(/tmp/multipartBody3374579435089839876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374873659,"filename":"image_11042025_12_44_16_10469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c512505fdde7650217f7ccb87f389096.jpg","text":"TemporaryFile(/tmp/multipartBody1068277662890920084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374873659,"filename":"image_11042025_12_44_45_9469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6c19b0309831041caff1ea96f15580a6.jpg","text":"TemporaryFile(/tmp/multipartBody5791344527136089979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374873659,"filename":"image_11042025_12_44_25_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351684623","file1":"1351684561","file0":"1351684535","file4":"1351684773","file5":"1351684800","file3":"1351684744"},"map_files_photo_id_array":[{"photo_id":"1351684800","filename":"file5"},{"photo_id":"1351684623","filename":"file2"},{"photo_id":"1351684773","filename":"file4"},{"photo_id":"1351684561","filename":"file1"},{"photo_id":"1351684535","filename":"file0"},{"photo_id":"1351684744","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351684773":["hashtag1","hashtag2"]},{"1351684800":["hashtag1","hashtag2"]},{"1351684623":["hashtag1","hashtag2"]},{"1351684535":["hashtag1","hashtag2"]},{"1351684744":["hashtag1","hashtag2"]},{"1351684561":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351684773, 1351684800, 1351684623, 1351684535, 1351684744, 1351684561)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.40788984298706 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 14:34:32.227335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/12/45/image_11042025_12_45_15_9358.jpg', '/home/pi/Desktop/images/11042025/12/45/image_11042025_12_45_25_10365.jpg', '/home/pi/Desktop/images/11042025/12/45/image_11042025_12_45_35_9400.jpg', '/home/pi/Desktop/images/11042025/12/45/image_11042025_12_45_45_10382.jpg', '/home/pi/Desktop/images/11042025/12/45/image_11042025_12_45_56_10372.jpg', '/home/pi/Desktop/images/11042025/12/45/image_11042025_12_46_05_9359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/12/45/image_11042025_12_45_15_9358.jpg
/home/pi/Desktop/images/11042025/12/45/image_11042025_12_45_25_10365.jpg
/home/pi/Desktop/images/11042025/12/45/image_11042025_12_45_35_9400.jpg
/home/pi/Desktop/images/11042025/12/45/image_11042025_12_45_45_10382.jpg
/home/pi/Desktop/images/11042025/12/45/image_11042025_12_45_56_10372.jpg
/home/pi/Desktop/images/11042025/12/45/image_11042025_12_46_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":["1351685061","1351684950","1351684982","1351685069","1351685036","1351685009"],"photo_ids_order":["1351684950","1351684982","1351685009","1351685036","1351685061","1351685069"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/39e29dfa6fa87bc64ff3ba74a3218c88.jpg","text":"TemporaryFile(/tmp/multipartBody4432656896324959816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374932698,"filename":"image_11042025_12_45_56_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/297e73375ebf9b269cbc273516adfc52.jpg","text":"TemporaryFile(/tmp/multipartBody7367967915888725467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374932698,"filename":"image_11042025_12_45_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/11/919cf03683816d8c3c4fcfe622b31b71.jpg","text":"TemporaryFile(/tmp/multipartBody4360557556152865431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374932698,"filename":"image_11042025_12_45_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/11/84213babfbb6ff21324e0cc8f2974bae.jpg","text":"TemporaryFile(/tmp/multipartBody4575328813267253855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374932698,"filename":"image_11042025_12_46_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/11/041b6b57a24fccb334b194e9c7f2e2dc.jpg","text":"TemporaryFile(/tmp/multipartBody5221518402318024571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374932698,"filename":"image_11042025_12_45_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/11/4f6895823077f49949dcec62206840c1.jpg","text":"TemporaryFile(/tmp/multipartBody6106623365065798966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374932698,"filename":"image_11042025_12_45_35_9400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351685009","file1":"1351684982","file0":"1351684950","file4":"1351685061","file5":"1351685069","file3":"1351685036"},"map_files_photo_id_array":[{"photo_id":"1351685069","filename":"file5"},{"photo_id":"1351685009","filename":"file2"},{"photo_id":"1351685061","filename":"file4"},{"photo_id":"1351684982","filename":"file1"},{"photo_id":"1351684950","filename":"file0"},{"photo_id":"1351685036","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351685061":["hashtag1","hashtag2"]},{"1351684950":["hashtag1","hashtag2"]},{"1351684982":["hashtag1","hashtag2"]},{"1351685069":["hashtag1","hashtag2"]},{"1351685036":["hashtag1","hashtag2"]},{"1351685009":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351685061, 1351684950, 1351684982, 1351685069, 1351685036, 1351685009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.30130434036255 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 14:35:32.433130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/12/46/image_11042025_12_46_15_10454.jpg', '/home/pi/Desktop/images/11042025/12/46/image_11042025_12_46_25_9470.jpg', '/home/pi/Desktop/images/11042025/12/46/image_11042025_12_46_35_10358.jpg', '/home/pi/Desktop/images/11042025/12/46/image_11042025_12_46_46_10361.jpg', '/home/pi/Desktop/images/11042025/12/46/image_11042025_12_46_55_9404.jpg', '/home/pi/Desktop/images/11042025/12/46/image_11042025_12_47_05_10418.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/12/46/image_11042025_12_46_15_10454.jpg
/home/pi/Desktop/images/11042025/12/46/image_11042025_12_46_25_9470.jpg
/home/pi/Desktop/images/11042025/12/46/image_11042025_12_46_35_10358.jpg
/home/pi/Desktop/images/11042025/12/46/image_11042025_12_46_46_10361.jpg
/home/pi/Desktop/images/11042025/12/46/image_11042025_12_46_55_9404.jpg
/home/pi/Desktop/images/11042025/12/46/image_11042025_12_47_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":["1351685184","1351685178","1351685193","1351685202","1351685189","1351685198"],"photo_ids_order":["1351685178","1351685184","1351685189","1351685193","1351685198","1351685202"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9d9ed15478baaf07335e07364606a799.jpg","text":"TemporaryFile(/tmp/multipartBody669631556636052306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374992897,"filename":"image_11042025_12_46_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/11/517a82b8c5b35b7a2743d2a01f6fe61a.jpg","text":"TemporaryFile(/tmp/multipartBody3867219956163372515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374992897,"filename":"image_11042025_12_46_15_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6bb1f58362583055e6d605490687f8a4.jpg","text":"TemporaryFile(/tmp/multipartBody5345575485484815019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374992897,"filename":"image_11042025_12_46_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/11/6b07229f49e143b6add568b1105d1538.jpg","text":"TemporaryFile(/tmp/multipartBody7684590302959582858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374992897,"filename":"image_11042025_12_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/11/de8d690f9bf90552e7ffbe0f43f0b1e1.jpg","text":"TemporaryFile(/tmp/multipartBody4047842428442817874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374992897,"filename":"image_11042025_12_46_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/11/5d0ab98b40169305f3a77be05ba6b651.jpg","text":"TemporaryFile(/tmp/multipartBody5013209901258475974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744374992897,"filename":"image_11042025_12_46_55_9404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351685189","file1":"1351685184","file0":"1351685178","file4":"1351685198","file5":"1351685202","file3":"1351685193"},"map_files_photo_id_array":[{"photo_id":"1351685202","filename":"file5"},{"photo_id":"1351685189","filename":"file2"},{"photo_id":"1351685198","filename":"file4"},{"photo_id":"1351685184","filename":"file1"},{"photo_id":"1351685178","filename":"file0"},{"photo_id":"1351685193","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351685184":["hashtag1","hashtag2"]},{"1351685178":["hashtag1","hashtag2"]},{"1351685193":["hashtag1","hashtag2"]},{"1351685202":["hashtag1","hashtag2"]},{"1351685189":["hashtag1","hashtag2"]},{"1351685198":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351685184, 1351685178, 1351685193, 1351685202, 1351685189, 1351685198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.46732211112976 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 14:36:32.754940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/12/47/image_11042025_12_47_25_10403.jpg', '/home/pi/Desktop/images/11042025/12/47/image_11042025_12_47_36_10386.jpg', '/home/pi/Desktop/images/11042025/12/47/image_11042025_12_47_55_10355.jpg', '/home/pi/Desktop/images/11042025/12/47/image_11042025_12_48_05_9521.jpg', '/home/pi/Desktop/images/11042025/12/48/image_11042025_12_48_15_10361.jpg', '/home/pi/Desktop/images/11042025/12/48/image_11042025_12_48_26_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/12/47/image_11042025_12_47_25_10403.jpg
/home/pi/Desktop/images/11042025/12/47/image_11042025_12_47_36_10386.jpg
/home/pi/Desktop/images/11042025/12/47/image_11042025_12_47_55_10355.jpg
/home/pi/Desktop/images/11042025/12/47/image_11042025_12_48_05_9521.jpg
/home/pi/Desktop/images/11042025/12/48/image_11042025_12_48_15_10361.jpg
/home/pi/Desktop/images/11042025/12/48/image_11042025_12_48_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":["1351685261","1351685324","1351685309","1351685266","1351685305","1351685280"],"photo_ids_order":["1351685261","1351685266","1351685280","1351685305","1351685309","1351685324"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8af8296b3b3cddc80c35ccef54d341ba.jpg","text":"TemporaryFile(/tmp/multipartBody1593327707184599458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375053258,"filename":"image_11042025_12_47_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/11/373e1e6c800a5fc967d3ab624c1850ef.jpg","text":"TemporaryFile(/tmp/multipartBody9198531650786018863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375053258,"filename":"image_11042025_12_48_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/11/8d1b9472d6ee0d3716bacda10045c020.jpg","text":"TemporaryFile(/tmp/multipartBody4560288822256851126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375053258,"filename":"image_11042025_12_48_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/11/efb08bbe286054eace0b30c4ae3c5c29.jpg","text":"TemporaryFile(/tmp/multipartBody1120586149408049917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375053258,"filename":"image_11042025_12_47_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/11/c2e196f2a2dace1f7d95c3a513f5f769.jpg","text":"TemporaryFile(/tmp/multipartBody6382402678633848183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375053258,"filename":"image_11042025_12_48_05_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/11/48900252d8d7c20d76dd60724ffcd1c9.jpg","text":"TemporaryFile(/tmp/multipartBody3205357839934639057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375053258,"filename":"image_11042025_12_47_55_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351685280","file1":"1351685266","file0":"1351685261","file4":"1351685309","file5":"1351685324","file3":"1351685305"},"map_files_photo_id_array":[{"photo_id":"1351685324","filename":"file5"},{"photo_id":"1351685280","filename":"file2"},{"photo_id":"1351685309","filename":"file4"},{"photo_id":"1351685266","filename":"file1"},{"photo_id":"1351685261","filename":"file0"},{"photo_id":"1351685305","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351685261":["hashtag1","hashtag2"]},{"1351685324":["hashtag1","hashtag2"]},{"1351685309":["hashtag1","hashtag2"]},{"1351685266":["hashtag1","hashtag2"]},{"1351685305":["hashtag1","hashtag2"]},{"1351685280":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351685261, 1351685324, 1351685309, 1351685266, 1351685305, 1351685280)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.24256181716919 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 14:37:32.930092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/12/48/image_11042025_12_48_35_9460.jpg', '/home/pi/Desktop/images/11042025/12/48/image_11042025_12_48_45_10374.jpg', '/home/pi/Desktop/images/11042025/12/48/image_11042025_12_48_55_9351.jpg', '/home/pi/Desktop/images/11042025/12/48/image_11042025_12_49_05_10365.jpg', '/home/pi/Desktop/images/11042025/12/49/image_11042025_12_49_16_10357.jpg', '/home/pi/Desktop/images/11042025/12/49/image_11042025_12_49_35_10346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/12/48/image_11042025_12_48_35_9460.jpg
/home/pi/Desktop/images/11042025/12/48/image_11042025_12_48_45_10374.jpg
/home/pi/Desktop/images/11042025/12/48/image_11042025_12_48_55_9351.jpg
/home/pi/Desktop/images/11042025/12/48/image_11042025_12_49_05_10365.jpg
/home/pi/Desktop/images/11042025/12/49/image_11042025_12_49_16_10357.jpg
/home/pi/Desktop/images/11042025/12/49/image_11042025_12_49_35_10346.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":["1351685442","1351685472","1351685451","1351685352","1351685477","1351685459"],"photo_ids_order":["1351685352","1351685442","1351685451","1351685459","1351685472","1351685477"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f2c0ce7d4c34d0a4cb3c865fd5332bdb.jpg","text":"TemporaryFile(/tmp/multipartBody712693219994152097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375113707,"filename":"image_11042025_12_48_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/11/eb8cacc85168845ef1b5656968ba7195.jpg","text":"TemporaryFile(/tmp/multipartBody1039406611346032076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375113707,"filename":"image_11042025_12_49_16_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/11849abff411be7de9f4367bda8e86da.jpg","text":"TemporaryFile(/tmp/multipartBody4467117587180407763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375113707,"filename":"image_11042025_12_48_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/11/c811919632f2467b20d6efeb44c8d163.jpg","text":"TemporaryFile(/tmp/multipartBody4541104304707491919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375113707,"filename":"image_11042025_12_48_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/11/55ffc52330278bed8df33eba7b3136da.jpg","text":"TemporaryFile(/tmp/multipartBody3898714785670393340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375113707,"filename":"image_11042025_12_49_35_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f94debb885f289fb1c7fb6c69457b266.jpg","text":"TemporaryFile(/tmp/multipartBody3862230779549729598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375113707,"filename":"image_11042025_12_49_05_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351685451","file1":"1351685442","file0":"1351685352","file4":"1351685472","file5":"1351685477","file3":"1351685459"},"map_files_photo_id_array":[{"photo_id":"1351685477","filename":"file5"},{"photo_id":"1351685451","filename":"file2"},{"photo_id":"1351685472","filename":"file4"},{"photo_id":"1351685442","filename":"file1"},{"photo_id":"1351685352","filename":"file0"},{"photo_id":"1351685459","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351685442":["hashtag1","hashtag2"]},{"1351685472":["hashtag1","hashtag2"]},{"1351685451":["hashtag1","hashtag2"]},{"1351685352":["hashtag1","hashtag2"]},{"1351685477":["hashtag1","hashtag2"]},{"1351685459":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351685442, 1351685472, 1351685451, 1351685352, 1351685477, 1351685459)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.27083706855774 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 14:38:43.843300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/12/49/image_11042025_12_49_46_10427.jpg', '/home/pi/Desktop/images/11042025/12/49/image_11042025_12_49_55_9370.jpg', '/home/pi/Desktop/images/11042025/12/50/image_11042025_12_50_15_9400.jpg', '/home/pi/Desktop/images/11042025/12/50/image_11042025_12_50_25_10368.jpg', '/home/pi/Desktop/images/11042025/12/50/image_11042025_12_50_36_10421.jpg', '/home/pi/Desktop/images/11042025/12/50/image_11042025_12_50_45_9362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/12/49/image_11042025_12_49_46_10427.jpg
/home/pi/Desktop/images/11042025/12/49/image_11042025_12_49_55_9370.jpg
/home/pi/Desktop/images/11042025/12/50/image_11042025_12_50_15_9400.jpg
/home/pi/Desktop/images/11042025/12/50/image_11042025_12_50_25_10368.jpg
/home/pi/Desktop/images/11042025/12/50/image_11042025_12_50_36_10421.jpg
/home/pi/Desktop/images/11042025/12/50/image_11042025_12_50_45_9362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351685595","1351685721","1351685625","1351685607","1351685777","1351685669"],"photo_ids_order":["1351685595","1351685607","1351685625","1351685669","1351685721","1351685777"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/fd4bf40e546dbbcbf8fbced2bd7fd04c.jpg","text":"TemporaryFile(/tmp/multipartBody6187493169168645731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375184306,"filename":"image_11042025_12_49_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/11/3010b3ccdff63a726354f23e3f1a1adb.jpg","text":"TemporaryFile(/tmp/multipartBody1017464163138830402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375184306,"filename":"image_11042025_12_50_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/11/37a21f838e5123ea8cd4376612ea9cd0.jpg","text":"TemporaryFile(/tmp/multipartBody1662402765946194024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375184306,"filename":"image_11042025_12_50_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/11/6ddd7f83d73eec4d4ea968c87b611723.jpg","text":"TemporaryFile(/tmp/multipartBody1281579010254799217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375184306,"filename":"image_11042025_12_49_55_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a617b01853808593baeb882da0c6a694.jpg","text":"TemporaryFile(/tmp/multipartBody8108252965599129175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375184306,"filename":"image_11042025_12_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/11/a106e04a1ad4681b131ecf2a4f1e922c.jpg","text":"TemporaryFile(/tmp/multipartBody4235055242958331546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375184306,"filename":"image_11042025_12_50_25_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351685625","file1":"1351685607","file0":"1351685595","file4":"1351685721","file5":"1351685777","file3":"1351685669"},"map_files_photo_id_array":[{"photo_id":"1351685777","filename":"file5"},{"photo_id":"1351685625","filename":"file2"},{"photo_id":"1351685721","filename":"file4"},{"photo_id":"1351685607","filename":"file1"},{"photo_id":"1351685595","filename":"file0"},{"photo_id":"1351685669","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351685595":["hashtag1","hashtag2"]},{"1351685721":["hashtag1","hashtag2"]},{"1351685625":["hashtag1","hashtag2"]},{"1351685607":["hashtag1","hashtag2"]},{"1351685777":["hashtag1","hashtag2"]},{"1351685669":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351685595, 1351685721, 1351685625, 1351685607, 1351685777, 1351685669)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.59486126899719 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 14:39:33.068257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/12/50/image_11042025_12_50_55_10372.jpg', '/home/pi/Desktop/images/11042025/12/50/image_11042025_12_51_05_9416.jpg', '/home/pi/Desktop/images/11042025/12/51/image_11042025_12_51_15_10358.jpg', '/home/pi/Desktop/images/11042025/12/51/image_11042025_12_51_26_10465.jpg', '/home/pi/Desktop/images/11042025/12/51/image_11042025_12_51_35_9401.jpg', '/home/pi/Desktop/images/11042025/12/51/image_11042025_12_52_05_10409.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/12/50/image_11042025_12_50_55_10372.jpg
/home/pi/Desktop/images/11042025/12/50/image_11042025_12_51_05_9416.jpg
/home/pi/Desktop/images/11042025/12/51/image_11042025_12_51_15_10358.jpg
/home/pi/Desktop/images/11042025/12/51/image_11042025_12_51_26_10465.jpg
/home/pi/Desktop/images/11042025/12/51/image_11042025_12_51_35_9401.jpg
/home/pi/Desktop/images/11042025/12/51/image_11042025_12_52_05_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":["1351685987","1351686137","1351686214","1351686063","1351686342","1351686270"],"photo_ids_order":["1351685987","1351686063","1351686137","1351686214","1351686270","1351686342"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ce6e729e6d30f0b44f9ad7739de7ee98.jpg","text":"TemporaryFile(/tmp/multipartBody5667530752101902688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375233539,"filename":"image_11042025_12_50_55_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/db72a601bbb57d8e5554b2cc77f3bd7e.jpg","text":"TemporaryFile(/tmp/multipartBody1090328915439228806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375233539,"filename":"image_11042025_12_51_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/11/44125d7465df9d5433a81aac4c79f61c.jpg","text":"TemporaryFile(/tmp/multipartBody3605861562074985447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375233539,"filename":"image_11042025_12_51_26_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/be58fe6db0320430f82b59ae4637e898.jpg","text":"TemporaryFile(/tmp/multipartBody6640928749485795062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375233539,"filename":"image_11042025_12_51_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/11/e308b036493b552a9e1cf84b1961969c.jpg","text":"TemporaryFile(/tmp/multipartBody1108548016894158931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375233539,"filename":"image_11042025_12_52_05_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/fb77520109b92bf50eaa7b6c08e12d13.jpg","text":"TemporaryFile(/tmp/multipartBody4236625708694897629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375233539,"filename":"image_11042025_12_51_35_9401.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351686137","file1":"1351686063","file0":"1351685987","file4":"1351686270","file5":"1351686342","file3":"1351686214"},"map_files_photo_id_array":[{"photo_id":"1351686342","filename":"file5"},{"photo_id":"1351686137","filename":"file2"},{"photo_id":"1351686270","filename":"file4"},{"photo_id":"1351686063","filename":"file1"},{"photo_id":"1351685987","filename":"file0"},{"photo_id":"1351686214","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351685987":["hashtag1","hashtag2"]},{"1351686137":["hashtag1","hashtag2"]},{"1351686214":["hashtag1","hashtag2"]},{"1351686063":["hashtag1","hashtag2"]},{"1351686342":["hashtag1","hashtag2"]},{"1351686270":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351685987, 1351686137, 1351686214, 1351686063, 1351686342, 1351686270)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.249459743499756 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 14:40:32.169093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/12/52/image_11042025_12_52_16_10346.jpg', '/home/pi/Desktop/images/11042025/12/52/image_11042025_12_52_25_9431.jpg', '/home/pi/Desktop/images/11042025/12/52/image_11042025_12_52_45_9473.jpg', '/home/pi/Desktop/images/11042025/12/52/image_11042025_12_53_06_10377.jpg', '/home/pi/Desktop/images/11042025/12/53/image_11042025_12_53_15_9471.jpg', '/home/pi/Desktop/images/11042025/12/53/image_11042025_12_53_25_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/12/52/image_11042025_12_52_16_10346.jpg
/home/pi/Desktop/images/11042025/12/52/image_11042025_12_52_25_9431.jpg
/home/pi/Desktop/images/11042025/12/52/image_11042025_12_52_45_9473.jpg
/home/pi/Desktop/images/11042025/12/52/image_11042025_12_53_06_10377.jpg
/home/pi/Desktop/images/11042025/12/53/image_11042025_12_53_15_9471.jpg
/home/pi/Desktop/images/11042025/12/53/image_11042025_12_53_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":["1351686807","1351686902","1351686859","1351686940","1351687023","1351686969"],"photo_ids_order":["1351686807","1351686859","1351686902","1351686940","1351686969","1351687023"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6cfba356aa217192d0f2be8cf53e2397.jpg","text":"TemporaryFile(/tmp/multipartBody7065393501850660883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375292648,"filename":"image_11042025_12_52_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/11/2fe1fc784cf6f1a5e2a8370541e45bc4.jpg","text":"TemporaryFile(/tmp/multipartBody4105729427502864004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375292648,"filename":"image_11042025_12_52_45_9473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/972cdebebde5b19f03efdd483632a9d4.jpg","text":"TemporaryFile(/tmp/multipartBody4889754990163655512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375292648,"filename":"image_11042025_12_52_25_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/bda13e6fa821294b09b82c3f6f60b349.jpg","text":"TemporaryFile(/tmp/multipartBody2154315766023530943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375292648,"filename":"image_11042025_12_53_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/11/14e018535a349044b875269e9c0ac05b.jpg","text":"TemporaryFile(/tmp/multipartBody6111232741238176279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375292648,"filename":"image_11042025_12_53_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/11/7541e4b12389a2f3026091a3319d5963.jpg","text":"TemporaryFile(/tmp/multipartBody270215852158667224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375292648,"filename":"image_11042025_12_53_15_9471.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351686902","file1":"1351686859","file0":"1351686807","file4":"1351686969","file5":"1351687023","file3":"1351686940"},"map_files_photo_id_array":[{"photo_id":"1351687023","filename":"file5"},{"photo_id":"1351686902","filename":"file2"},{"photo_id":"1351686969","filename":"file4"},{"photo_id":"1351686859","filename":"file1"},{"photo_id":"1351686807","filename":"file0"},{"photo_id":"1351686940","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351686807":["hashtag1","hashtag2"]},{"1351686902":["hashtag1","hashtag2"]},{"1351686859":["hashtag1","hashtag2"]},{"1351686940":["hashtag1","hashtag2"]},{"1351687023":["hashtag1","hashtag2"]},{"1351686969":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351686807, 1351686902, 1351686859, 1351686940, 1351687023, 1351686969)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.096070766448975 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 14:41:32.284441
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/12/53/image_11042025_12_53_35_9423.jpg', '/home/pi/Desktop/images/11042025/12/53/image_11042025_12_53_45_10473.jpg', '/home/pi/Desktop/images/11042025/12/53/image_11042025_12_53_55_9438.jpg', '/home/pi/Desktop/images/11042025/12/53/image_11042025_12_54_05_10356.jpg', '/home/pi/Desktop/images/11042025/12/54/image_11042025_12_54_15_10388.jpg', '/home/pi/Desktop/images/11042025/12/54/image_11042025_12_54_25_9425.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/12/53/image_11042025_12_53_35_9423.jpg
/home/pi/Desktop/images/11042025/12/53/image_11042025_12_53_45_10473.jpg
/home/pi/Desktop/images/11042025/12/53/image_11042025_12_53_55_9438.jpg
/home/pi/Desktop/images/11042025/12/53/image_11042025_12_54_05_10356.jpg
/home/pi/Desktop/images/11042025/12/54/image_11042025_12_54_15_10388.jpg
/home/pi/Desktop/images/11042025/12/54/image_11042025_12_54_25_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":["1351687193","1351687424","1351687492","1351687453","1351687296","1351687377"],"photo_ids_order":["1351687193","1351687296","1351687377","1351687424","1351687453","1351687492"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5d60575b0011fc0bf1ac9f06a4e739d5.jpg","text":"TemporaryFile(/tmp/multipartBody3006001724368850374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375353336,"filename":"image_11042025_12_53_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/11/3d6a5ad5da6db4271851a6da8084b828.jpg","text":"TemporaryFile(/tmp/multipartBody6518001631382059546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375353336,"filename":"image_11042025_12_54_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/11/c84b3c1b8d94fa3ce4c5cd9181681a3e.jpg","text":"TemporaryFile(/tmp/multipartBody1447105366656369141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375353336,"filename":"image_11042025_12_54_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/11/5906983944cc2ee760a36c8d76b40623.jpg","text":"TemporaryFile(/tmp/multipartBody5686006936209056681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375353336,"filename":"image_11042025_12_54_15_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/70cb4d11c34d15ba3a5a50914ad29fd1.jpg","text":"TemporaryFile(/tmp/multipartBody7609123781637589784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375353336,"filename":"image_11042025_12_53_45_10473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a99507f548cf8818bc9f1f1b8377eeed.jpg","text":"TemporaryFile(/tmp/multipartBody6653981635231764611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375353336,"filename":"image_11042025_12_53_55_9438.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351687377","file1":"1351687296","file0":"1351687193","file4":"1351687453","file5":"1351687492","file3":"1351687424"},"map_files_photo_id_array":[{"photo_id":"1351687492","filename":"file5"},{"photo_id":"1351687377","filename":"file2"},{"photo_id":"1351687453","filename":"file4"},{"photo_id":"1351687296","filename":"file1"},{"photo_id":"1351687193","filename":"file0"},{"photo_id":"1351687424","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351687193":["hashtag1","hashtag2"]},{"1351687424":["hashtag1","hashtag2"]},{"1351687492":["hashtag1","hashtag2"]},{"1351687453":["hashtag1","hashtag2"]},{"1351687296":["hashtag1","hashtag2"]},{"1351687377":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351687193, 1351687424, 1351687492, 1351687453, 1351687296, 1351687377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.859215259552 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 14:42:32.605843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/12/54/image_11042025_12_54_35_10367.jpg', '/home/pi/Desktop/images/11042025/12/54/image_11042025_12_54_45_9574.jpg', '/home/pi/Desktop/images/11042025/12/54/image_11042025_12_54_55_10363.jpg', '/home/pi/Desktop/images/11042025/12/54/image_11042025_12_55_06_10397.jpg', '/home/pi/Desktop/images/11042025/12/55/image_11042025_12_55_15_9445.jpg', '/home/pi/Desktop/images/11042025/12/55/image_11042025_12_55_25_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/12/54/image_11042025_12_54_35_10367.jpg
/home/pi/Desktop/images/11042025/12/54/image_11042025_12_54_45_9574.jpg
/home/pi/Desktop/images/11042025/12/54/image_11042025_12_54_55_10363.jpg
/home/pi/Desktop/images/11042025/12/54/image_11042025_12_55_06_10397.jpg
/home/pi/Desktop/images/11042025/12/55/image_11042025_12_55_15_9445.jpg
/home/pi/Desktop/images/11042025/12/55/image_11042025_12_55_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":["1351688105","1351688510","1351687990","1351688227","1351688361","1351688463"],"photo_ids_order":["1351687990","1351688105","1351688227","1351688361","1351688463","1351688510"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/bfa243c2bc22d09fbe6eae4f1f76a8b2.jpg","text":"TemporaryFile(/tmp/multipartBody8227312754563645138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375413078,"filename":"image_11042025_12_54_45_9574.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4ab12cec09f96856a1ae3d9047b0a470.jpg","text":"TemporaryFile(/tmp/multipartBody4600852291756217955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375413078,"filename":"image_11042025_12_55_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/11/54ca7ef4d7243beed0ddda1674d80c67.jpg","text":"TemporaryFile(/tmp/multipartBody6861115975851841685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375413078,"filename":"image_11042025_12_54_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/11/1be0f6416af841bed6baead3abb3a145.jpg","text":"TemporaryFile(/tmp/multipartBody6583090168070613905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375413078,"filename":"image_11042025_12_54_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/11/87ffc09c1fe92bf62b27bf0f6a050b27.jpg","text":"TemporaryFile(/tmp/multipartBody6558365518120784410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375413078,"filename":"image_11042025_12_55_06_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f3d0303ef7a62f61f44062ed866c68e0.jpg","text":"TemporaryFile(/tmp/multipartBody3420170176436944096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375413078,"filename":"image_11042025_12_55_15_9445.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351688227","file1":"1351688105","file0":"1351687990","file4":"1351688463","file5":"1351688510","file3":"1351688361"},"map_files_photo_id_array":[{"photo_id":"1351688510","filename":"file5"},{"photo_id":"1351688227","filename":"file2"},{"photo_id":"1351688463","filename":"file4"},{"photo_id":"1351688105","filename":"file1"},{"photo_id":"1351687990","filename":"file0"},{"photo_id":"1351688361","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351688105":["hashtag1","hashtag2"]},{"1351688510":["hashtag1","hashtag2"]},{"1351687990":["hashtag1","hashtag2"]},{"1351688227":["hashtag1","hashtag2"]},{"1351688361":["hashtag1","hashtag2"]},{"1351688463":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351688105, 1351688510, 1351687990, 1351688227, 1351688361, 1351688463)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.55225968360901 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 14:43:32.982347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/12/55/image_11042025_12_55_35_9473.jpg', '/home/pi/Desktop/images/11042025/12/55/image_11042025_12_55_45_10363.jpg', '/home/pi/Desktop/images/11042025/12/55/image_11042025_12_55_56_10351.jpg', '/home/pi/Desktop/images/11042025/12/55/image_11042025_12_56_05_9353.jpg', '/home/pi/Desktop/images/11042025/12/56/image_11042025_12_56_15_10456.jpg', '/home/pi/Desktop/images/11042025/12/56/image_11042025_12_56_25_9478.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/12/55/image_11042025_12_55_35_9473.jpg
/home/pi/Desktop/images/11042025/12/55/image_11042025_12_55_45_10363.jpg
/home/pi/Desktop/images/11042025/12/55/image_11042025_12_55_56_10351.jpg
/home/pi/Desktop/images/11042025/12/55/image_11042025_12_56_05_9353.jpg
/home/pi/Desktop/images/11042025/12/56/image_11042025_12_56_15_10456.jpg
/home/pi/Desktop/images/11042025/12/56/image_11042025_12_56_25_9478.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351689253","1351689195","1351689171","1351689228","1351689278","1351689314"],"photo_ids_order":["1351689171","1351689195","1351689228","1351689253","1351689278","1351689314"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/97e50b9d7b16229fb9372c78b9e15f83.jpg","text":"TemporaryFile(/tmp/multipartBody7060022819739638796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375473457,"filename":"image_11042025_12_56_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/11/5efbbd11d667b2e57b43a9611173ca3c.jpg","text":"TemporaryFile(/tmp/multipartBody3677283672305628057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375473457,"filename":"image_11042025_12_55_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/11/21ce2f5356d57c588aa9944611862276.jpg","text":"TemporaryFile(/tmp/multipartBody2791482535596266840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375473457,"filename":"image_11042025_12_55_35_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/11/8902658d3a3880ec7287814e1b735ac4.jpg","text":"TemporaryFile(/tmp/multipartBody8745287142196851439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375473457,"filename":"image_11042025_12_55_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/11/963019a6a075d9e3c88064bbae8e935c.jpg","text":"TemporaryFile(/tmp/multipartBody5368683272058940084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375473457,"filename":"image_11042025_12_56_15_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6e27304e1bc0b9b8871d545111e93998.jpg","text":"TemporaryFile(/tmp/multipartBody7637090567884450355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375473457,"filename":"image_11042025_12_56_25_9478.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351689228","file1":"1351689195","file0":"1351689171","file4":"1351689278","file5":"1351689314","file3":"1351689253"},"map_files_photo_id_array":[{"photo_id":"1351689314","filename":"file5"},{"photo_id":"1351689228","filename":"file2"},{"photo_id":"1351689278","filename":"file4"},{"photo_id":"1351689195","filename":"file1"},{"photo_id":"1351689171","filename":"file0"},{"photo_id":"1351689253","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351689253":["hashtag1","hashtag2"]},{"1351689195":["hashtag1","hashtag2"]},{"1351689171":["hashtag1","hashtag2"]},{"1351689228":["hashtag1","hashtag2"]},{"1351689278":["hashtag1","hashtag2"]},{"1351689314":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351689253, 1351689195, 1351689171, 1351689228, 1351689278, 1351689314)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.636582136154175 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 14:44:33.067560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/12/56/image_11042025_12_56_35_10362.jpg', '/home/pi/Desktop/images/11042025/12/56/image_11042025_12_56_46_10402.jpg', '/home/pi/Desktop/images/11042025/12/56/image_11042025_12_56_55_9331.jpg', '/home/pi/Desktop/images/11042025/12/56/image_11042025_12_57_05_10366.jpg', '/home/pi/Desktop/images/11042025/12/57/image_11042025_12_57_15_9477.jpg', '/home/pi/Desktop/images/11042025/12/57/image_11042025_12_57_25_10373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/12/56/image_11042025_12_56_35_10362.jpg
/home/pi/Desktop/images/11042025/12/56/image_11042025_12_56_46_10402.jpg
/home/pi/Desktop/images/11042025/12/56/image_11042025_12_56_55_9331.jpg
/home/pi/Desktop/images/11042025/12/56/image_11042025_12_57_05_10366.jpg
/home/pi/Desktop/images/11042025/12/57/image_11042025_12_57_15_9477.jpg
/home/pi/Desktop/images/11042025/12/57/image_11042025_12_57_25_10373.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351689787","1351690186","1351689882","1351689995","1351690077","1351690146"],"photo_ids_order":["1351689787","1351689882","1351689995","1351690077","1351690146","1351690186"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b15ae6adc8e2b240b9afbd0f8974532a.jpg","text":"TemporaryFile(/tmp/multipartBody3302268790571666557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375533539,"filename":"image_11042025_12_56_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/11/d07114da289cfc8124ed858e5155a746.jpg","text":"TemporaryFile(/tmp/multipartBody1239162644973367125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375533539,"filename":"image_11042025_12_57_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/11/33b8ead501c2387cf791beb9c0d0d725.jpg","text":"TemporaryFile(/tmp/multipartBody3821695233543964880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375533539,"filename":"image_11042025_12_56_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/11/2e2d1bdbfb858d57d0cd7501bdfd042b.jpg","text":"TemporaryFile(/tmp/multipartBody6915725492124753896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375533539,"filename":"image_11042025_12_56_55_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c12e54990effc3af8d91a325e3186a5f.jpg","text":"TemporaryFile(/tmp/multipartBody5102439996236620105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375533539,"filename":"image_11042025_12_57_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/11/87e83f89d8c8000e3abd024e557f713f.jpg","text":"TemporaryFile(/tmp/multipartBody2037413261793274554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375533539,"filename":"image_11042025_12_57_15_9477.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351689995","file1":"1351689882","file0":"1351689787","file4":"1351690146","file5":"1351690186","file3":"1351690077"},"map_files_photo_id_array":[{"photo_id":"1351690186","filename":"file5"},{"photo_id":"1351689995","filename":"file2"},{"photo_id":"1351690146","filename":"file4"},{"photo_id":"1351689882","filename":"file1"},{"photo_id":"1351689787","filename":"file0"},{"photo_id":"1351690077","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351689787":["hashtag1","hashtag2"]},{"1351690186":["hashtag1","hashtag2"]},{"1351689882":["hashtag1","hashtag2"]},{"1351689995":["hashtag1","hashtag2"]},{"1351690077":["hashtag1","hashtag2"]},{"1351690146":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351689787, 1351690186, 1351689882, 1351689995, 1351690077, 1351690146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.36282801628113 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 14:45:32.386405
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/12/57/image_11042025_12_57_36_10351.jpg', '/home/pi/Desktop/images/11042025/12/57/image_11042025_12_57_45_9470.jpg', '/home/pi/Desktop/images/11042025/12/57/image_11042025_12_57_55_9960.jpg', '/home/pi/Desktop/images/11042025/12/57/image_11042025_12_58_05_10355.jpg', '/home/pi/Desktop/images/11042025/12/58/image_11042025_12_58_15_9477.jpg', '/home/pi/Desktop/images/11042025/12/58/image_11042025_12_58_25_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/12/57/image_11042025_12_57_36_10351.jpg
/home/pi/Desktop/images/11042025/12/57/image_11042025_12_57_45_9470.jpg
/home/pi/Desktop/images/11042025/12/57/image_11042025_12_57_55_9960.jpg
/home/pi/Desktop/images/11042025/12/57/image_11042025_12_58_05_10355.jpg
/home/pi/Desktop/images/11042025/12/58/image_11042025_12_58_15_9477.jpg
/home/pi/Desktop/images/11042025/12/58/image_11042025_12_58_25_10352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351690943","1351690786","1351690555","1351691153","1351690688","1351690589"],"photo_ids_order":["1351690555","1351690589","1351690688","1351690786","1351690943","1351691153"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1b3570845799f99fd269d96df1199947.jpg","text":"TemporaryFile(/tmp/multipartBody4528105003970496630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375592854,"filename":"image_11042025_12_58_15_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/11/6f4345ebf6f88cd7e883e9bbe6da7f8b.jpg","text":"TemporaryFile(/tmp/multipartBody6508923427047972200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375592854,"filename":"image_11042025_12_58_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/11/ef15aedbaff3c9fa33e464a63b580149.jpg","text":"TemporaryFile(/tmp/multipartBody3832209736554195056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375592854,"filename":"image_11042025_12_57_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/11/e37a43f0a81e86015c59d6d5cbcd623f.jpg","text":"TemporaryFile(/tmp/multipartBody7567949802400346135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375592854,"filename":"image_11042025_12_58_25_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/381295ff25ff46faa9b3979845189959.jpg","text":"TemporaryFile(/tmp/multipartBody5837556479458975030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375592854,"filename":"image_11042025_12_57_55_9960.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/44c229243f9ead89e2faf0cc590f31f2.jpg","text":"TemporaryFile(/tmp/multipartBody4672423497236098720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375592854,"filename":"image_11042025_12_57_45_9470.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351690688","file1":"1351690589","file0":"1351690555","file4":"1351690943","file5":"1351691153","file3":"1351690786"},"map_files_photo_id_array":[{"photo_id":"1351691153","filename":"file5"},{"photo_id":"1351690688","filename":"file2"},{"photo_id":"1351690943","filename":"file4"},{"photo_id":"1351690589","filename":"file1"},{"photo_id":"1351690555","filename":"file0"},{"photo_id":"1351690786","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351690943":["hashtag1","hashtag2"]},{"1351690786":["hashtag1","hashtag2"]},{"1351690555":["hashtag1","hashtag2"]},{"1351691153":["hashtag1","hashtag2"]},{"1351690688":["hashtag1","hashtag2"]},{"1351690589":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351690943, 1351690786, 1351690555, 1351691153, 1351690688, 1351690589)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.98098707199097 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 14:46:32.457640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/12/58/image_11042025_12_58_36_10423.jpg', '/home/pi/Desktop/images/11042025/12/58/image_11042025_12_58_55_10351.jpg', '/home/pi/Desktop/images/11042025/12/58/image_11042025_12_59_05_9400.jpg', '/home/pi/Desktop/images/11042025/12/59/image_11042025_12_59_15_10363.jpg', '/home/pi/Desktop/images/11042025/12/59/image_11042025_12_59_26_10486.jpg', '/home/pi/Desktop/images/11042025/12/59/image_11042025_12_59_35_9354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/12/58/image_11042025_12_58_36_10423.jpg
/home/pi/Desktop/images/11042025/12/58/image_11042025_12_58_55_10351.jpg
/home/pi/Desktop/images/11042025/12/58/image_11042025_12_59_05_9400.jpg
/home/pi/Desktop/images/11042025/12/59/image_11042025_12_59_15_10363.jpg
/home/pi/Desktop/images/11042025/12/59/image_11042025_12_59_26_10486.jpg
/home/pi/Desktop/images/11042025/12/59/image_11042025_12_59_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":["1351691740","1351691770","1351691653","1351691694","1351691565","1351691593"],"photo_ids_order":["1351691565","1351691593","1351691653","1351691694","1351691740","1351691770"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4ee2b7fa372173e34224b122431eacbf.jpg","text":"TemporaryFile(/tmp/multipartBody1986355949359818460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375652922,"filename":"image_11042025_12_59_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/11/3959bfa38a829e4a812703bfc28e7632.jpg","text":"TemporaryFile(/tmp/multipartBody5131449170278874032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375652922,"filename":"image_11042025_12_59_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/11/01068cd5c31a1125996e3038245f23b2.jpg","text":"TemporaryFile(/tmp/multipartBody5108248803285354324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375652922,"filename":"image_11042025_12_59_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/11/341426f887395a08fa4b460b8e57cbbb.jpg","text":"TemporaryFile(/tmp/multipartBody6130305058455496812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375652922,"filename":"image_11042025_12_59_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/11/0169f7ccf730a318fd246e2082951eec.jpg","text":"TemporaryFile(/tmp/multipartBody8310132075000790238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375652922,"filename":"image_11042025_12_58_36_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4871f261d0b6db7c491907ee3bc81f52.jpg","text":"TemporaryFile(/tmp/multipartBody6121309887565801344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375652922,"filename":"image_11042025_12_58_55_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351691653","file1":"1351691593","file0":"1351691565","file4":"1351691740","file5":"1351691770","file3":"1351691694"},"map_files_photo_id_array":[{"photo_id":"1351691770","filename":"file5"},{"photo_id":"1351691653","filename":"file2"},{"photo_id":"1351691740","filename":"file4"},{"photo_id":"1351691593","filename":"file1"},{"photo_id":"1351691565","filename":"file0"},{"photo_id":"1351691694","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351691740":["hashtag1","hashtag2"]},{"1351691770":["hashtag1","hashtag2"]},{"1351691653":["hashtag1","hashtag2"]},{"1351691694":["hashtag1","hashtag2"]},{"1351691565":["hashtag1","hashtag2"]},{"1351691593":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351691740, 1351691770, 1351691653, 1351691694, 1351691565, 1351691593)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.83450698852539 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 14:47:32.727893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/12/59/image_11042025_12_59_45_10436.jpg', '/home/pi/Desktop/images/11042025/12/59/image_11042025_12_59_55_9393.jpg', '/home/pi/Desktop/images/11042025/13/01/image_11042025_13_01_15_10073.jpg', '/home/pi/Desktop/images/11042025/13/01/image_11042025_13_01_25_10376.jpg', '/home/pi/Desktop/images/11042025/13/01/image_11042025_13_01_36_10416.jpg', '/home/pi/Desktop/images/11042025/13/01/image_11042025_13_01_45_9455.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/12/59/image_11042025_12_59_45_10436.jpg
/home/pi/Desktop/images/11042025/12/59/image_11042025_12_59_55_9393.jpg
/home/pi/Desktop/images/11042025/13/01/image_11042025_13_01_15_10073.jpg
/home/pi/Desktop/images/11042025/13/01/image_11042025_13_01_25_10376.jpg
/home/pi/Desktop/images/11042025/13/01/image_11042025_13_01_36_10416.jpg
/home/pi/Desktop/images/11042025/13/01/image_11042025_13_01_45_9455.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351692096","1351692117","1351692113","1351692101","1351692052","1351692046"],"photo_ids_order":["1351692046","1351692052","1351692096","1351692101","1351692113","1351692117"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/abc9d3be617a47f98abc4beac40983b9.jpg","text":"TemporaryFile(/tmp/multipartBody8859886399546446654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375713337,"filename":"image_11042025_13_01_15_10073.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/77f234fab2c12d26544519f9167f2da7.jpg","text":"TemporaryFile(/tmp/multipartBody1530057793899943159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375713337,"filename":"image_11042025_13_01_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/11/e826ab292058520c54f3fc55d83335fb.jpg","text":"TemporaryFile(/tmp/multipartBody3184914575886797030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375713337,"filename":"image_11042025_13_01_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/11/f22ac2ff93bb15b9c5fdebba9d40da90.jpg","text":"TemporaryFile(/tmp/multipartBody3850974017475411766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375713337,"filename":"image_11042025_13_01_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/11/81d4ebc65345301ad149d0a44f21978b.jpg","text":"TemporaryFile(/tmp/multipartBody3583517852105724109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375713337,"filename":"image_11042025_12_59_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/11/cdf7ba8d5804ebb189fc3b33df31af92.jpg","text":"TemporaryFile(/tmp/multipartBody372785875128879207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375713337,"filename":"image_11042025_12_59_45_10436.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351692096","file1":"1351692052","file0":"1351692046","file4":"1351692113","file5":"1351692117","file3":"1351692101"},"map_files_photo_id_array":[{"photo_id":"1351692117","filename":"file5"},{"photo_id":"1351692096","filename":"file2"},{"photo_id":"1351692113","filename":"file4"},{"photo_id":"1351692052","filename":"file1"},{"photo_id":"1351692046","filename":"file0"},{"photo_id":"1351692101","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351692096":["hashtag1","hashtag2"]},{"1351692117":["hashtag1","hashtag2"]},{"1351692113":["hashtag1","hashtag2"]},{"1351692101":["hashtag1","hashtag2"]},{"1351692052":["hashtag1","hashtag2"]},{"1351692046":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351692096, 1351692117, 1351692113, 1351692101, 1351692052, 1351692046)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.256669759750366 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 14:48:32.912770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/13/01/image_11042025_13_01_55_10453.jpg', '/home/pi/Desktop/images/11042025/13/02/image_11042025_13_02_15_10452.jpg', '/home/pi/Desktop/images/11042025/13/02/image_11042025_13_02_26_10361.jpg', '/home/pi/Desktop/images/11042025/13/02/image_11042025_13_02_35_9348.jpg', '/home/pi/Desktop/images/11042025/13/02/image_11042025_13_02_45_10364.jpg', '/home/pi/Desktop/images/11042025/13/02/image_11042025_13_02_55_9445.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/13/01/image_11042025_13_01_55_10453.jpg
/home/pi/Desktop/images/11042025/13/02/image_11042025_13_02_15_10452.jpg
/home/pi/Desktop/images/11042025/13/02/image_11042025_13_02_26_10361.jpg
/home/pi/Desktop/images/11042025/13/02/image_11042025_13_02_35_9348.jpg
/home/pi/Desktop/images/11042025/13/02/image_11042025_13_02_45_10364.jpg
/home/pi/Desktop/images/11042025/13/02/image_11042025_13_02_55_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":["1351692528","1351692603","1351692674","1351692725","1351692416","1351692469"],"photo_ids_order":["1351692416","1351692469","1351692528","1351692603","1351692674","1351692725"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/480e998efedae1859b679b15f57b7c93.jpg","text":"TemporaryFile(/tmp/multipartBody962362653458769780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375773384,"filename":"image_11042025_13_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/11/374120c74c3576bc9a23a1dfcdd463dc.jpg","text":"TemporaryFile(/tmp/multipartBody4187380812533954378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375773384,"filename":"image_11042025_13_02_35_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/92901c29a3e61b6abf80fb27900227f9.jpg","text":"TemporaryFile(/tmp/multipartBody6820499496393570996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375773384,"filename":"image_11042025_13_02_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/11/628e9f3574c5592fd02c57798dc37920.jpg","text":"TemporaryFile(/tmp/multipartBody1281115626264489008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375773384,"filename":"image_11042025_13_02_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/11/09678f3ec7919f465e173fb1cf55c6f1.jpg","text":"TemporaryFile(/tmp/multipartBody6918157815813260131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375773384,"filename":"image_11042025_13_01_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/11/7434e3f15373544f1f9ee85967a92316.jpg","text":"TemporaryFile(/tmp/multipartBody3493674061193680501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375773384,"filename":"image_11042025_13_02_15_10452.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351692528","file1":"1351692469","file0":"1351692416","file4":"1351692674","file5":"1351692725","file3":"1351692603"},"map_files_photo_id_array":[{"photo_id":"1351692725","filename":"file5"},{"photo_id":"1351692528","filename":"file2"},{"photo_id":"1351692674","filename":"file4"},{"photo_id":"1351692469","filename":"file1"},{"photo_id":"1351692416","filename":"file0"},{"photo_id":"1351692603","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351692528":["hashtag1","hashtag2"]},{"1351692603":["hashtag1","hashtag2"]},{"1351692674":["hashtag1","hashtag2"]},{"1351692725":["hashtag1","hashtag2"]},{"1351692416":["hashtag1","hashtag2"]},{"1351692469":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351692528, 1351692603, 1351692674, 1351692725, 1351692416, 1351692469)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.09843111038208 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 14:49:32.197255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/13/02/image_11042025_13_03_05_10348.jpg', '/home/pi/Desktop/images/11042025/13/03/image_11042025_13_03_16_10369.jpg', '/home/pi/Desktop/images/11042025/13/03/image_11042025_13_03_25_9460.jpg', '/home/pi/Desktop/images/11042025/13/03/image_11042025_13_03_35_10353.jpg', '/home/pi/Desktop/images/11042025/13/03/image_11042025_13_03_45_9486.jpg', '/home/pi/Desktop/images/11042025/13/03/image_11042025_13_03_55_10433.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/13/02/image_11042025_13_03_05_10348.jpg
/home/pi/Desktop/images/11042025/13/03/image_11042025_13_03_16_10369.jpg
/home/pi/Desktop/images/11042025/13/03/image_11042025_13_03_25_9460.jpg
/home/pi/Desktop/images/11042025/13/03/image_11042025_13_03_35_10353.jpg
/home/pi/Desktop/images/11042025/13/03/image_11042025_13_03_45_9486.jpg
/home/pi/Desktop/images/11042025/13/03/image_11042025_13_03_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":["1351693076","1351693481","1351693661","1351693136","1351693921","1351693263"],"photo_ids_order":["1351693076","1351693136","1351693263","1351693481","1351693661","1351693921"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7661044d918b8256e89b5cc1abb4938e.jpg","text":"TemporaryFile(/tmp/multipartBody4527941064107038977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375832652,"filename":"image_11042025_13_03_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/11/75c24ececcd9e90e248a615c867740a0.jpg","text":"TemporaryFile(/tmp/multipartBody4726524464434005205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375832652,"filename":"image_11042025_13_03_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/11/3afba9dd62a9f689eb1e84316bc9b1be.jpg","text":"TemporaryFile(/tmp/multipartBody3785454263949478022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375832652,"filename":"image_11042025_13_03_45_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/11/1b889d115c90c6a15a576f0012de3d36.jpg","text":"TemporaryFile(/tmp/multipartBody2753014679696486872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375832652,"filename":"image_11042025_13_03_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/11/99a274d0dbd74eca6387b113ac637f9e.jpg","text":"TemporaryFile(/tmp/multipartBody7928118519822856990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375832652,"filename":"image_11042025_13_03_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/11/c37ddb921a1ab7c785d9a302b611c436.jpg","text":"TemporaryFile(/tmp/multipartBody1522790750439320439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375832652,"filename":"image_11042025_13_03_25_9460.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351693263","file1":"1351693136","file0":"1351693076","file4":"1351693661","file5":"1351693921","file3":"1351693481"},"map_files_photo_id_array":[{"photo_id":"1351693921","filename":"file5"},{"photo_id":"1351693263","filename":"file2"},{"photo_id":"1351693661","filename":"file4"},{"photo_id":"1351693136","filename":"file1"},{"photo_id":"1351693076","filename":"file0"},{"photo_id":"1351693481","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351693076":["hashtag1","hashtag2"]},{"1351693481":["hashtag1","hashtag2"]},{"1351693661":["hashtag1","hashtag2"]},{"1351693136":["hashtag1","hashtag2"]},{"1351693921":["hashtag1","hashtag2"]},{"1351693263":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351693076, 1351693481, 1351693661, 1351693136, 1351693921, 1351693263)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.31519865989685 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 14:50:32.403177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/13/03/image_11042025_13_04_05_9582.jpg', '/home/pi/Desktop/images/11042025/13/04/image_11042025_13_04_15_10365.jpg', '/home/pi/Desktop/images/11042025/13/04/image_11042025_13_04_26_10362.jpg', '/home/pi/Desktop/images/11042025/13/04/image_11042025_13_04_35_9341.jpg', '/home/pi/Desktop/images/11042025/13/04/image_11042025_13_04_45_10375.jpg', '/home/pi/Desktop/images/11042025/13/04/image_11042025_13_04_56_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/13/03/image_11042025_13_04_05_9582.jpg
/home/pi/Desktop/images/11042025/13/04/image_11042025_13_04_15_10365.jpg
/home/pi/Desktop/images/11042025/13/04/image_11042025_13_04_26_10362.jpg
/home/pi/Desktop/images/11042025/13/04/image_11042025_13_04_35_9341.jpg
/home/pi/Desktop/images/11042025/13/04/image_11042025_13_04_45_10375.jpg
/home/pi/Desktop/images/11042025/13/04/image_11042025_13_04_56_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":["1351694427","1351694294","1351694251","1351694176","1351694397","1351694352"],"photo_ids_order":["1351694176","1351694251","1351694294","1351694352","1351694397","1351694427"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e90811e4a076b8e993e5904103142c40.jpg","text":"TemporaryFile(/tmp/multipartBody4971925112225591785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375892874,"filename":"image_11042025_13_04_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/11/fa1e58a6d6c3f5dcab6bb64ff84c42d1.jpg","text":"TemporaryFile(/tmp/multipartBody1834239678951023954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375892874,"filename":"image_11042025_13_04_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/11/e74943379920853cd633d7067945cfb9.jpg","text":"TemporaryFile(/tmp/multipartBody961578698135719461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375892874,"filename":"image_11042025_13_04_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/11/7e437ab49edad734f819bd7eb77ecc1b.jpg","text":"TemporaryFile(/tmp/multipartBody1942562521990400549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375892874,"filename":"image_11042025_13_04_05_9582.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4a0029e4e9140b08c8aa95a9ecf98896.jpg","text":"TemporaryFile(/tmp/multipartBody7460191502223485860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375892874,"filename":"image_11042025_13_04_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/11/4fa28726910fcb223e0d94acb96ca2cd.jpg","text":"TemporaryFile(/tmp/multipartBody2972131547999604833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375892874,"filename":"image_11042025_13_04_35_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351694294","file1":"1351694251","file0":"1351694176","file4":"1351694397","file5":"1351694427","file3":"1351694352"},"map_files_photo_id_array":[{"photo_id":"1351694427","filename":"file5"},{"photo_id":"1351694294","filename":"file2"},{"photo_id":"1351694397","filename":"file4"},{"photo_id":"1351694251","filename":"file1"},{"photo_id":"1351694176","filename":"file0"},{"photo_id":"1351694352","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351694427":["hashtag1","hashtag2"]},{"1351694294":["hashtag1","hashtag2"]},{"1351694251":["hashtag1","hashtag2"]},{"1351694176":["hashtag1","hashtag2"]},{"1351694397":["hashtag1","hashtag2"]},{"1351694352":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351694427, 1351694294, 1351694251, 1351694176, 1351694397, 1351694352)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.678964614868164 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 14:51:32.572037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/13/04/image_11042025_13_05_05_9383.jpg', '/home/pi/Desktop/images/11042025/13/05/image_11042025_13_05_15_10357.jpg', '/home/pi/Desktop/images/11042025/13/05/image_11042025_13_05_25_9458.jpg', '/home/pi/Desktop/images/11042025/13/05/image_11042025_13_05_35_10347.jpg', '/home/pi/Desktop/images/11042025/13/05/image_11042025_13_05_46_10373.jpg', '/home/pi/Desktop/images/11042025/13/05/image_11042025_13_06_05_10374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/13/04/image_11042025_13_05_05_9383.jpg
/home/pi/Desktop/images/11042025/13/05/image_11042025_13_05_15_10357.jpg
/home/pi/Desktop/images/11042025/13/05/image_11042025_13_05_25_9458.jpg
/home/pi/Desktop/images/11042025/13/05/image_11042025_13_05_35_10347.jpg
/home/pi/Desktop/images/11042025/13/05/image_11042025_13_05_46_10373.jpg
/home/pi/Desktop/images/11042025/13/05/image_11042025_13_06_05_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":["1351694978","1351694770","1351694717","1351694691","1351695377","1351695170"],"photo_ids_order":["1351694691","1351694717","1351694770","1351694978","1351695170","1351695377"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/db46f0fc2a539f61f178f8b014cfd91f.jpg","text":"TemporaryFile(/tmp/multipartBody4347916884765355476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375953038,"filename":"image_11042025_13_05_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/11/5a90f48a21ba3c2adc7f1e0a63496e3e.jpg","text":"TemporaryFile(/tmp/multipartBody2116439585239463586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375953038,"filename":"image_11042025_13_05_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/11/6a61114f73098a17542d31ec718c0bbf.jpg","text":"TemporaryFile(/tmp/multipartBody3458666950887981918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375953038,"filename":"image_11042025_13_05_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/11/c0b8a95265418e6eecc83ecb149b0895.jpg","text":"TemporaryFile(/tmp/multipartBody1016950165676167217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375953038,"filename":"image_11042025_13_05_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/11/208cf2417a82919324dc08db993a56eb.jpg","text":"TemporaryFile(/tmp/multipartBody5883587030069578502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375953038,"filename":"image_11042025_13_06_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/11/3fb05f5223bbd38788c5b1abc7672d37.jpg","text":"TemporaryFile(/tmp/multipartBody8587738165049155054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744375953038,"filename":"image_11042025_13_05_46_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351694770","file1":"1351694717","file0":"1351694691","file4":"1351695170","file5":"1351695377","file3":"1351694978"},"map_files_photo_id_array":[{"photo_id":"1351695377","filename":"file5"},{"photo_id":"1351694770","filename":"file2"},{"photo_id":"1351695170","filename":"file4"},{"photo_id":"1351694717","filename":"file1"},{"photo_id":"1351694691","filename":"file0"},{"photo_id":"1351694978","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351694978":["hashtag1","hashtag2"]},{"1351694770":["hashtag1","hashtag2"]},{"1351694717":["hashtag1","hashtag2"]},{"1351694691":["hashtag1","hashtag2"]},{"1351695377":["hashtag1","hashtag2"]},{"1351695170":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351694978, 1351694770, 1351694717, 1351694691, 1351695377, 1351695170)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.9336142539978 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 14:52:32.726687
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/13/06/image_11042025_13_06_25_10344.jpg', '/home/pi/Desktop/images/11042025/13/06/image_11042025_13_06_55_10395.jpg', '/home/pi/Desktop/images/11042025/13/06/image_11042025_13_07_05_9461.jpg', '/home/pi/Desktop/images/11042025/13/07/image_11042025_13_07_35_9358.jpg', '/home/pi/Desktop/images/11042025/13/07/image_11042025_13_07_45_10463.jpg', '/home/pi/Desktop/images/11042025/13/07/image_11042025_13_07_55_9474.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/13/06/image_11042025_13_06_25_10344.jpg
/home/pi/Desktop/images/11042025/13/06/image_11042025_13_06_55_10395.jpg
/home/pi/Desktop/images/11042025/13/06/image_11042025_13_07_05_9461.jpg
/home/pi/Desktop/images/11042025/13/07/image_11042025_13_07_35_9358.jpg
/home/pi/Desktop/images/11042025/13/07/image_11042025_13_07_45_10463.jpg
/home/pi/Desktop/images/11042025/13/07/image_11042025_13_07_55_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":["1351695650","1351695646","1351695643","1351695648","1351695633","1351695653"],"photo_ids_order":["1351695633","1351695643","1351695646","1351695648","1351695650","1351695653"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/261a87caef94405b82b7f57ff5fa5da8.jpg","text":"TemporaryFile(/tmp/multipartBody2501855846548149412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376013212,"filename":"image_11042025_13_07_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/11/6b2901178ddbb992f53e6fb3ee4258aa.jpg","text":"TemporaryFile(/tmp/multipartBody2683886448229348086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376013212,"filename":"image_11042025_13_07_05_9461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/87d6cfd00566e65dd3a7620e160f0220.jpg","text":"TemporaryFile(/tmp/multipartBody8919565069966795361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376013212,"filename":"image_11042025_13_06_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/11/00934c1b6afff9711a0d727157856427.jpg","text":"TemporaryFile(/tmp/multipartBody1194633266015383988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376013212,"filename":"image_11042025_13_07_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/11/d709caf38b91adfa107d0e47a1969149.jpg","text":"TemporaryFile(/tmp/multipartBody5680683451646584595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376013212,"filename":"image_11042025_13_06_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/11/de8d1d67fb9b6d9343eb22f9af3b17f9.jpg","text":"TemporaryFile(/tmp/multipartBody531351025429646226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376013212,"filename":"image_11042025_13_07_55_9474.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351695646","file1":"1351695643","file0":"1351695633","file4":"1351695650","file5":"1351695653","file3":"1351695648"},"map_files_photo_id_array":[{"photo_id":"1351695653","filename":"file5"},{"photo_id":"1351695646","filename":"file2"},{"photo_id":"1351695650","filename":"file4"},{"photo_id":"1351695643","filename":"file1"},{"photo_id":"1351695633","filename":"file0"},{"photo_id":"1351695648","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351695650":["hashtag1","hashtag2"]},{"1351695646":["hashtag1","hashtag2"]},{"1351695643":["hashtag1","hashtag2"]},{"1351695648":["hashtag1","hashtag2"]},{"1351695633":["hashtag1","hashtag2"]},{"1351695653":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351695650, 1351695646, 1351695643, 1351695648, 1351695633, 1351695653)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.962883710861206 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 14:53:33.019995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/13/07/image_11042025_13_08_05_10396.jpg', '/home/pi/Desktop/images/11042025/13/08/image_11042025_13_08_16_10365.jpg', '/home/pi/Desktop/images/11042025/13/08/image_11042025_13_08_25_9365.jpg', '/home/pi/Desktop/images/11042025/13/08/image_11042025_13_08_35_10374.jpg', '/home/pi/Desktop/images/11042025/13/08/image_11042025_13_08_45_9405.jpg', '/home/pi/Desktop/images/11042025/13/08/image_11042025_13_08_55_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/13/07/image_11042025_13_08_05_10396.jpg
/home/pi/Desktop/images/11042025/13/08/image_11042025_13_08_16_10365.jpg
/home/pi/Desktop/images/11042025/13/08/image_11042025_13_08_25_9365.jpg
/home/pi/Desktop/images/11042025/13/08/image_11042025_13_08_35_10374.jpg
/home/pi/Desktop/images/11042025/13/08/image_11042025_13_08_45_9405.jpg
/home/pi/Desktop/images/11042025/13/08/image_11042025_13_08_55_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":["1351695710","1351695691","1351695700","1351695696","1351695714","1351695705"],"photo_ids_order":["1351695691","1351695696","1351695700","1351695705","1351695710","1351695714"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8a02ce6596c8327f4dba231c40391417.jpg","text":"TemporaryFile(/tmp/multipartBody1832094690265556222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376073481,"filename":"image_11042025_13_08_45_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/397bcd9e60f9ab74afaa28de86d21f8d.jpg","text":"TemporaryFile(/tmp/multipartBody3190721189718500555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376073481,"filename":"image_11042025_13_08_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/11/77eb679b837f5ba6fde6a10a96c28c42.jpg","text":"TemporaryFile(/tmp/multipartBody8183315205909457048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376073481,"filename":"image_11042025_13_08_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/11/7c5106f4900fa36d3f978d8e54e461f4.jpg","text":"TemporaryFile(/tmp/multipartBody989697830052348489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376073481,"filename":"image_11042025_13_08_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/11/e1a47d6fbeba14eb62c4ea988f6cff34.jpg","text":"TemporaryFile(/tmp/multipartBody3992990543072046327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376073481,"filename":"image_11042025_13_08_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/11/eff7249cc90dbb5fb329673e3d72cd64.jpg","text":"TemporaryFile(/tmp/multipartBody5428969704297520477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376073481,"filename":"image_11042025_13_08_35_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351695700","file1":"1351695696","file0":"1351695691","file4":"1351695710","file5":"1351695714","file3":"1351695705"},"map_files_photo_id_array":[{"photo_id":"1351695714","filename":"file5"},{"photo_id":"1351695700","filename":"file2"},{"photo_id":"1351695710","filename":"file4"},{"photo_id":"1351695696","filename":"file1"},{"photo_id":"1351695691","filename":"file0"},{"photo_id":"1351695705","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351695710":["hashtag1","hashtag2"]},{"1351695691":["hashtag1","hashtag2"]},{"1351695700":["hashtag1","hashtag2"]},{"1351695696":["hashtag1","hashtag2"]},{"1351695714":["hashtag1","hashtag2"]},{"1351695705":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351695710, 1351695691, 1351695700, 1351695696, 1351695714, 1351695705)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.06752276420593 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 14:54:32.217967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/13/08/image_11042025_13_09_06_10368.jpg', '/home/pi/Desktop/images/11042025/13/09/image_11042025_13_09_15_9339.jpg', '/home/pi/Desktop/images/11042025/13/09/image_11042025_13_09_25_10349.jpg', '/home/pi/Desktop/images/11042025/13/09/image_11042025_13_09_36_10355.jpg', '/home/pi/Desktop/images/11042025/13/09/image_11042025_13_09_45_9352.jpg', '/home/pi/Desktop/images/11042025/13/09/image_11042025_13_09_55_10419.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/13/08/image_11042025_13_09_06_10368.jpg
/home/pi/Desktop/images/11042025/13/09/image_11042025_13_09_15_9339.jpg
/home/pi/Desktop/images/11042025/13/09/image_11042025_13_09_25_10349.jpg
/home/pi/Desktop/images/11042025/13/09/image_11042025_13_09_36_10355.jpg
/home/pi/Desktop/images/11042025/13/09/image_11042025_13_09_45_9352.jpg
/home/pi/Desktop/images/11042025/13/09/image_11042025_13_09_55_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":["1351696301","1351696324","1351696228","1351696188","1351696347","1351696253"],"photo_ids_order":["1351696188","1351696228","1351696253","1351696301","1351696324","1351696347"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7b8d0e47addf412d461b0b8ed8c32c76.jpg","text":"TemporaryFile(/tmp/multipartBody8555115034598984660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376132680,"filename":"image_11042025_13_09_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/11/c8e755ecf8abf69176d18ea22a888780.jpg","text":"TemporaryFile(/tmp/multipartBody221202570717345343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376132680,"filename":"image_11042025_13_09_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/11/877d802eee024cacf140a4c56e962b7f.jpg","text":"TemporaryFile(/tmp/multipartBody4015840255605173212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376132680,"filename":"image_11042025_13_09_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/11/7f1806b52acaee08c5c93b10abc028e9.jpg","text":"TemporaryFile(/tmp/multipartBody3820664170874253698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376132680,"filename":"image_11042025_13_09_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/11/7c4979f47e1293ae0659a19e74bf759a.jpg","text":"TemporaryFile(/tmp/multipartBody2150162607672249892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376132680,"filename":"image_11042025_13_09_55_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/27a92167e3bc79d36afc4f259f603783.jpg","text":"TemporaryFile(/tmp/multipartBody6661768869748163380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376132680,"filename":"image_11042025_13_09_25_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351696253","file1":"1351696228","file0":"1351696188","file4":"1351696324","file5":"1351696347","file3":"1351696301"},"map_files_photo_id_array":[{"photo_id":"1351696347","filename":"file5"},{"photo_id":"1351696253","filename":"file2"},{"photo_id":"1351696324","filename":"file4"},{"photo_id":"1351696228","filename":"file1"},{"photo_id":"1351696188","filename":"file0"},{"photo_id":"1351696301","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351696301":["hashtag1","hashtag2"]},{"1351696324":["hashtag1","hashtag2"]},{"1351696228":["hashtag1","hashtag2"]},{"1351696188":["hashtag1","hashtag2"]},{"1351696347":["hashtag1","hashtag2"]},{"1351696253":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351696301, 1351696324, 1351696228, 1351696188, 1351696347, 1351696253)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.596261739730835 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 14:55:32.410009
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/13/09/image_11042025_13_10_05_9466.jpg', '/home/pi/Desktop/images/11042025/13/10/image_11042025_13_10_15_10376.jpg', '/home/pi/Desktop/images/11042025/13/10/image_11042025_13_10_26_10378.jpg', '/home/pi/Desktop/images/11042025/13/10/image_11042025_13_10_56_10371.jpg', '/home/pi/Desktop/images/11042025/13/10/image_11042025_13_11_05_9444.jpg', '/home/pi/Desktop/images/11042025/13/11/image_11042025_13_11_15_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/13/09/image_11042025_13_10_05_9466.jpg
/home/pi/Desktop/images/11042025/13/10/image_11042025_13_10_15_10376.jpg
/home/pi/Desktop/images/11042025/13/10/image_11042025_13_10_26_10378.jpg
/home/pi/Desktop/images/11042025/13/10/image_11042025_13_10_56_10371.jpg
/home/pi/Desktop/images/11042025/13/10/image_11042025_13_11_05_9444.jpg
/home/pi/Desktop/images/11042025/13/11/image_11042025_13_11_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":["1351696735","1351696878","1351696557","1351696863","1351696836","1351696586"],"photo_ids_order":["1351696557","1351696586","1351696735","1351696836","1351696863","1351696878"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f9ca69cd4485f2b17285735e679d273e.jpg","text":"TemporaryFile(/tmp/multipartBody3955962297800595451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376192874,"filename":"image_11042025_13_10_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/11/564e8ef2193a430a52263c660c6d0d60.jpg","text":"TemporaryFile(/tmp/multipartBody3622301061764027276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376192874,"filename":"image_11042025_13_11_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/11/3ea52de202b49a79e6e59ccca36f6f90.jpg","text":"TemporaryFile(/tmp/multipartBody3543943515747962710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376192874,"filename":"image_11042025_13_10_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/11/ea4e16dfe7d63f030464d35adaf0c6b3.jpg","text":"TemporaryFile(/tmp/multipartBody6904351765461746214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376192874,"filename":"image_11042025_13_11_05_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3440ab7ee63aa03888f9addf8e6cb233.jpg","text":"TemporaryFile(/tmp/multipartBody1149680542878128607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376192874,"filename":"image_11042025_13_10_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/11/71cca7bc3d53a0fbeee0113452aa69b7.jpg","text":"TemporaryFile(/tmp/multipartBody6703475651880830288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376192874,"filename":"image_11042025_13_10_15_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351696735","file1":"1351696586","file0":"1351696557","file4":"1351696863","file5":"1351696878","file3":"1351696836"},"map_files_photo_id_array":[{"photo_id":"1351696878","filename":"file5"},{"photo_id":"1351696735","filename":"file2"},{"photo_id":"1351696863","filename":"file4"},{"photo_id":"1351696586","filename":"file1"},{"photo_id":"1351696557","filename":"file0"},{"photo_id":"1351696836","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351696735":["hashtag1","hashtag2"]},{"1351696878":["hashtag1","hashtag2"]},{"1351696557":["hashtag1","hashtag2"]},{"1351696863":["hashtag1","hashtag2"]},{"1351696836":["hashtag1","hashtag2"]},{"1351696586":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351696735, 1351696878, 1351696557, 1351696863, 1351696836, 1351696586)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.530311584472656 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 14:56:32.769035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/13/11/image_11042025_13_11_25_9459.jpg', '/home/pi/Desktop/images/11042025/13/11/image_11042025_13_11_46_10407.jpg', '/home/pi/Desktop/images/11042025/13/11/image_11042025_13_11_55_9440.jpg', '/home/pi/Desktop/images/11042025/13/11/image_11042025_13_12_05_10360.jpg', '/home/pi/Desktop/images/11042025/13/12/image_11042025_13_12_15_9471.jpg', '/home/pi/Desktop/images/11042025/13/12/image_11042025_13_12_25_10381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/13/11/image_11042025_13_11_25_9459.jpg
/home/pi/Desktop/images/11042025/13/11/image_11042025_13_11_46_10407.jpg
/home/pi/Desktop/images/11042025/13/11/image_11042025_13_11_55_9440.jpg
/home/pi/Desktop/images/11042025/13/11/image_11042025_13_12_05_10360.jpg
/home/pi/Desktop/images/11042025/13/12/image_11042025_13_12_15_9471.jpg
/home/pi/Desktop/images/11042025/13/12/image_11042025_13_12_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":["1351697068","1351697124","1351697093","1351697132","1351697126","1351697129"],"photo_ids_order":["1351697068","1351697093","1351697124","1351697126","1351697129","1351697132"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/bcd213f540578920d17137fc3d20f1eb.jpg","text":"TemporaryFile(/tmp/multipartBody7257016121594069195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376253276,"filename":"image_11042025_13_11_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/11/9ec19081e42c42c986df09b6d43793a2.jpg","text":"TemporaryFile(/tmp/multipartBody2512771634689412568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376253276,"filename":"image_11042025_13_11_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/11/5354c9a0830c67ec3c4ff5c77a1a7c55.jpg","text":"TemporaryFile(/tmp/multipartBody4611115773972851350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376253276,"filename":"image_11042025_13_11_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/11/277722ae15dd79a9e0561effd6ebfacf.jpg","text":"TemporaryFile(/tmp/multipartBody2286844375246104437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376253276,"filename":"image_11042025_13_12_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/11/db7810adc4b40cbdcff4a0113ba8b8c0.jpg","text":"TemporaryFile(/tmp/multipartBody5307385614718910154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376253276,"filename":"image_11042025_13_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/11/42e1702744753873bc612193f9e3cfde.jpg","text":"TemporaryFile(/tmp/multipartBody8984072724945801708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376253276,"filename":"image_11042025_13_12_15_9471.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351697124","file1":"1351697093","file0":"1351697068","file4":"1351697129","file5":"1351697132","file3":"1351697126"},"map_files_photo_id_array":[{"photo_id":"1351697132","filename":"file5"},{"photo_id":"1351697124","filename":"file2"},{"photo_id":"1351697129","filename":"file4"},{"photo_id":"1351697093","filename":"file1"},{"photo_id":"1351697068","filename":"file0"},{"photo_id":"1351697126","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351697068":["hashtag1","hashtag2"]},{"1351697124":["hashtag1","hashtag2"]},{"1351697093":["hashtag1","hashtag2"]},{"1351697132":["hashtag1","hashtag2"]},{"1351697126":["hashtag1","hashtag2"]},{"1351697129":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351697068, 1351697124, 1351697093, 1351697132, 1351697126, 1351697129)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.3099160194397 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 14:57:32.904710
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/13/12/image_11042025_13_12_56_10360.jpg', '/home/pi/Desktop/images/11042025/13/12/image_11042025_13_13_05_9355.jpg', '/home/pi/Desktop/images/11042025/13/13/image_11042025_13_13_15_10391.jpg', '/home/pi/Desktop/images/11042025/13/13/image_11042025_13_13_25_9497.jpg', '/home/pi/Desktop/images/11042025/13/13/image_11042025_13_13_35_10362.jpg', '/home/pi/Desktop/images/11042025/13/13/image_11042025_13_13_55_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/13/12/image_11042025_13_12_56_10360.jpg
/home/pi/Desktop/images/11042025/13/12/image_11042025_13_13_05_9355.jpg
/home/pi/Desktop/images/11042025/13/13/image_11042025_13_13_15_10391.jpg
/home/pi/Desktop/images/11042025/13/13/image_11042025_13_13_25_9497.jpg
/home/pi/Desktop/images/11042025/13/13/image_11042025_13_13_35_10362.jpg
/home/pi/Desktop/images/11042025/13/13/image_11042025_13_13_55_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-11 14:59:03.957066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/13/12/image_11042025_13_12_56_10360.jpg', '/home/pi/Desktop/images/11042025/13/12/image_11042025_13_13_05_9355.jpg', '/home/pi/Desktop/images/11042025/13/13/image_11042025_13_13_15_10391.jpg', '/home/pi/Desktop/images/11042025/13/13/image_11042025_13_13_25_9497.jpg', '/home/pi/Desktop/images/11042025/13/13/image_11042025_13_13_35_10362.jpg', '/home/pi/Desktop/images/11042025/13/13/image_11042025_13_13_55_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/13/12/image_11042025_13_12_56_10360.jpg
/home/pi/Desktop/images/11042025/13/12/image_11042025_13_13_05_9355.jpg
/home/pi/Desktop/images/11042025/13/13/image_11042025_13_13_15_10391.jpg
/home/pi/Desktop/images/11042025/13/13/image_11042025_13_13_25_9497.jpg
/home/pi/Desktop/images/11042025/13/13/image_11042025_13_13_35_10362.jpg
/home/pi/Desktop/images/11042025/13/13/image_11042025_13_13_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":["1351699166","1351699139","1351699124","1351699153","1351699063","1351699102"],"photo_ids_order":["1351699063","1351699102","1351699124","1351699139","1351699153","1351699166"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/67e2838f50ff0472560b9e87c58744e7.jpg","text":"TemporaryFile(/tmp/multipartBody6874183953143523987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376405009,"filename":"image_11042025_13_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/11/22ac2d0eabcd41699e981c5b3c351aea.jpg","text":"TemporaryFile(/tmp/multipartBody4972221757666361904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376405009,"filename":"image_11042025_13_13_25_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/11/68aef30d6b86b8af1bfe12a8f8bd5875.jpg","text":"TemporaryFile(/tmp/multipartBody6885722581967514821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376405009,"filename":"image_11042025_13_13_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/11/89c02049fba8c9e4a2cd38da38d5ab45.jpg","text":"TemporaryFile(/tmp/multipartBody3473672941740374008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376405009,"filename":"image_11042025_13_13_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/11/c0aedfad4b2f42b69d70781543a06a8e.jpg","text":"TemporaryFile(/tmp/multipartBody3037975424619350179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376405009,"filename":"image_11042025_13_12_56_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6b5c26a805163f33c711f563db257842.jpg","text":"TemporaryFile(/tmp/multipartBody4859612287703122906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376405009,"filename":"image_11042025_13_13_05_9355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351699124","file1":"1351699102","file0":"1351699063","file4":"1351699153","file5":"1351699166","file3":"1351699139"},"map_files_photo_id_array":[{"photo_id":"1351699166","filename":"file5"},{"photo_id":"1351699124","filename":"file2"},{"photo_id":"1351699153","filename":"file4"},{"photo_id":"1351699102","filename":"file1"},{"photo_id":"1351699063","filename":"file0"},{"photo_id":"1351699139","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351699166":["hashtag1","hashtag2"]},{"1351699139":["hashtag1","hashtag2"]},{"1351699124":["hashtag1","hashtag2"]},{"1351699153":["hashtag1","hashtag2"]},{"1351699063":["hashtag1","hashtag2"]},{"1351699102":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351699166, 1351699139, 1351699124, 1351699153, 1351699063, 1351699102)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.43012714385986 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 14:59:52.685067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/13/14/image_11042025_13_14_15_9337.jpg', '/home/pi/Desktop/images/11042025/13/14/image_11042025_13_14_36_10363.jpg', '/home/pi/Desktop/images/11042025/13/15/image_11042025_13_15_25_10373.jpg', '/home/pi/Desktop/images/11042025/13/15/image_11042025_13_15_35_9488.jpg', '/home/pi/Desktop/images/11042025/13/15/image_11042025_13_15_45_10374.jpg', '/home/pi/Desktop/images/11042025/13/15/image_11042025_13_15_56_10345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/13/14/image_11042025_13_14_15_9337.jpg
/home/pi/Desktop/images/11042025/13/14/image_11042025_13_14_36_10363.jpg
/home/pi/Desktop/images/11042025/13/15/image_11042025_13_15_25_10373.jpg
/home/pi/Desktop/images/11042025/13/15/image_11042025_13_15_35_9488.jpg
/home/pi/Desktop/images/11042025/13/15/image_11042025_13_15_45_10374.jpg
/home/pi/Desktop/images/11042025/13/15/image_11042025_13_15_56_10345.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351699287","1351699236","1351699241","1351699271","1351699226","1351699278"],"photo_ids_order":["1351699226","1351699236","1351699241","1351699271","1351699278","1351699287"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7f79875135ee698d1f52f346006566b0.jpg","text":"TemporaryFile(/tmp/multipartBody3923097816669498439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376453150,"filename":"image_11042025_13_15_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/11/e248ae5bc6d4eaf3b814f919cb446da2.jpg","text":"TemporaryFile(/tmp/multipartBody4212064988259965351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376453150,"filename":"image_11042025_13_14_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/11/e77c5af6ef6c55a57772c4f00e6dc88e.jpg","text":"TemporaryFile(/tmp/multipartBody5299354273053473279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376453150,"filename":"image_11042025_13_15_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/11/79882a01bcd523dd7613633e848e2e3e.jpg","text":"TemporaryFile(/tmp/multipartBody2991044277543179010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376453150,"filename":"image_11042025_13_15_35_9488.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1543d01cff2669863cc3ff43d2a0bf23.jpg","text":"TemporaryFile(/tmp/multipartBody6006654028608205047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376453150,"filename":"image_11042025_13_14_15_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/cbf98ea3ca834591f787362307fdb6d5.jpg","text":"TemporaryFile(/tmp/multipartBody8128249850630547835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376453150,"filename":"image_11042025_13_15_45_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351699241","file1":"1351699236","file0":"1351699226","file4":"1351699278","file5":"1351699287","file3":"1351699271"},"map_files_photo_id_array":[{"photo_id":"1351699287","filename":"file5"},{"photo_id":"1351699241","filename":"file2"},{"photo_id":"1351699278","filename":"file4"},{"photo_id":"1351699236","filename":"file1"},{"photo_id":"1351699226","filename":"file0"},{"photo_id":"1351699271","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351699287":["hashtag1","hashtag2"]},{"1351699236":["hashtag1","hashtag2"]},{"1351699241":["hashtag1","hashtag2"]},{"1351699271":["hashtag1","hashtag2"]},{"1351699226":["hashtag1","hashtag2"]},{"1351699278":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351699287, 1351699236, 1351699241, 1351699271, 1351699226, 1351699278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.06607794761658 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 15:00:32.864581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/13/15/image_11042025_13_16_05_9350.jpg', '/home/pi/Desktop/images/11042025/13/16/image_11042025_13_16_26_10401.jpg', '/home/pi/Desktop/images/11042025/13/17/image_11042025_13_17_16_10365.jpg', '/home/pi/Desktop/images/11042025/13/17/image_11042025_13_17_35_10347.jpg', '/home/pi/Desktop/images/11042025/13/17/image_11042025_13_17_46_10372.jpg', '/home/pi/Desktop/images/11042025/13/17/image_11042025_13_17_55_9360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/13/15/image_11042025_13_16_05_9350.jpg
/home/pi/Desktop/images/11042025/13/16/image_11042025_13_16_26_10401.jpg
/home/pi/Desktop/images/11042025/13/17/image_11042025_13_17_16_10365.jpg
/home/pi/Desktop/images/11042025/13/17/image_11042025_13_17_35_10347.jpg
/home/pi/Desktop/images/11042025/13/17/image_11042025_13_17_46_10372.jpg
/home/pi/Desktop/images/11042025/13/17/image_11042025_13_17_55_9360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351699338","1351699425","1351699347","1351699326","1351699472","1351699315"],"photo_ids_order":["1351699315","1351699326","1351699338","1351699347","1351699425","1351699472"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a746d502a08330b9743453e84ef21c52.jpg","text":"TemporaryFile(/tmp/multipartBody6896468128732534886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376493319,"filename":"image_11042025_13_17_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/11/7da567cd38ca9735534e8645249017e3.jpg","text":"TemporaryFile(/tmp/multipartBody5349214761760698976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376493319,"filename":"image_11042025_13_17_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/11/cb41e45c06bbbe07c72d595e60d673d2.jpg","text":"TemporaryFile(/tmp/multipartBody321187873048295531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376493319,"filename":"image_11042025_13_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/11/3f0db8378fabb57dee577de99b1241ee.jpg","text":"TemporaryFile(/tmp/multipartBody5234793003313536483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376493319,"filename":"image_11042025_13_16_26_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/09d45c95ea35240c85dcebca53fa187c.jpg","text":"TemporaryFile(/tmp/multipartBody5836583787567190705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376493319,"filename":"image_11042025_13_17_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/11/fe25d19bbb5a36f7b3c1808c5159feea.jpg","text":"TemporaryFile(/tmp/multipartBody4171263920611027506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376493319,"filename":"image_11042025_13_16_05_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351699338","file1":"1351699326","file0":"1351699315","file4":"1351699425","file5":"1351699472","file3":"1351699347"},"map_files_photo_id_array":[{"photo_id":"1351699472","filename":"file5"},{"photo_id":"1351699338","filename":"file2"},{"photo_id":"1351699425","filename":"file4"},{"photo_id":"1351699326","filename":"file1"},{"photo_id":"1351699315","filename":"file0"},{"photo_id":"1351699347","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351699338":["hashtag1","hashtag2"]},{"1351699425":["hashtag1","hashtag2"]},{"1351699347":["hashtag1","hashtag2"]},{"1351699326":["hashtag1","hashtag2"]},{"1351699472":["hashtag1","hashtag2"]},{"1351699315":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351699338, 1351699425, 1351699347, 1351699326, 1351699472, 1351699315)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.53148174285889 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 15:01:33.095036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/13/18/image_11042025_13_18_15_9409.jpg', '/home/pi/Desktop/images/11042025/13/18/image_11042025_13_18_25_10373.jpg', '/home/pi/Desktop/images/11042025/13/18/image_11042025_13_18_36_10483.jpg', '/home/pi/Desktop/images/11042025/13/18/image_11042025_13_18_45_9469.jpg', '/home/pi/Desktop/images/11042025/13/18/image_11042025_13_18_56_10376.jpg', '/home/pi/Desktop/images/11042025/13/19/image_11042025_13_19_35_9364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/13/18/image_11042025_13_18_15_9409.jpg
/home/pi/Desktop/images/11042025/13/18/image_11042025_13_18_25_10373.jpg
/home/pi/Desktop/images/11042025/13/18/image_11042025_13_18_36_10483.jpg
/home/pi/Desktop/images/11042025/13/18/image_11042025_13_18_45_9469.jpg
/home/pi/Desktop/images/11042025/13/18/image_11042025_13_18_56_10376.jpg
/home/pi/Desktop/images/11042025/13/19/image_11042025_13_19_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":["1351700132","1351700059","1351699904","1351699981","1351700169","1351700109"],"photo_ids_order":["1351699904","1351699981","1351700059","1351700109","1351700132","1351700169"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2b90c4b01b87a3f5cdbd7ed5bee4da26.jpg","text":"TemporaryFile(/tmp/multipartBody1935852937498759393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376553563,"filename":"image_11042025_13_18_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/11/ce838a2ddcec0720d34e2960c143391a.jpg","text":"TemporaryFile(/tmp/multipartBody1994648538011448537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376553563,"filename":"image_11042025_13_18_36_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/11/1cd8e07161d263494b902afa8458b7b0.jpg","text":"TemporaryFile(/tmp/multipartBody2905147614636936816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376553563,"filename":"image_11042025_13_18_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/11/e28f13bb83fe41b2701fd774e05c5852.jpg","text":"TemporaryFile(/tmp/multipartBody8410076627326791994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376553563,"filename":"image_11042025_13_18_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/11/0903771ff73006d257cc3958c19a6de8.jpg","text":"TemporaryFile(/tmp/multipartBody3089351422949764072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376553563,"filename":"image_11042025_13_19_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/11/7bd4be71716c252333788bf64c78d62e.jpg","text":"TemporaryFile(/tmp/multipartBody3066667802784137653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376553563,"filename":"image_11042025_13_18_45_9469.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351700059","file1":"1351699981","file0":"1351699904","file4":"1351700132","file5":"1351700169","file3":"1351700109"},"map_files_photo_id_array":[{"photo_id":"1351700169","filename":"file5"},{"photo_id":"1351700059","filename":"file2"},{"photo_id":"1351700132","filename":"file4"},{"photo_id":"1351699981","filename":"file1"},{"photo_id":"1351699904","filename":"file0"},{"photo_id":"1351700109","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351700132":["hashtag1","hashtag2"]},{"1351700059":["hashtag1","hashtag2"]},{"1351699904":["hashtag1","hashtag2"]},{"1351699981":["hashtag1","hashtag2"]},{"1351700169":["hashtag1","hashtag2"]},{"1351700109":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351700132, 1351700059, 1351699904, 1351699981, 1351700169, 1351700109)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.773993253707886 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 15:02:32.392584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/13/19/image_11042025_13_19_45_10360.jpg', '/home/pi/Desktop/images/11042025/13/19/image_11042025_13_19_55_9488.jpg', '/home/pi/Desktop/images/11042025/13/19/image_11042025_13_20_05_10364.jpg', '/home/pi/Desktop/images/11042025/13/20/image_11042025_13_20_55_10381.jpg', '/home/pi/Desktop/images/11042025/13/21/image_11042025_13_21_15_9351.jpg', '/home/pi/Desktop/images/11042025/13/21/image_11042025_13_21_25_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/13/19/image_11042025_13_19_45_10360.jpg
/home/pi/Desktop/images/11042025/13/19/image_11042025_13_19_55_9488.jpg
/home/pi/Desktop/images/11042025/13/19/image_11042025_13_20_05_10364.jpg
/home/pi/Desktop/images/11042025/13/20/image_11042025_13_20_55_10381.jpg
/home/pi/Desktop/images/11042025/13/21/image_11042025_13_21_15_9351.jpg
/home/pi/Desktop/images/11042025/13/21/image_11042025_13_21_25_10367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351700426","1351700467","1351700374","1351700524","1351700571","1351700340"],"photo_ids_order":["1351700340","1351700374","1351700426","1351700467","1351700524","1351700571"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ba99af82fa24521ea5be21bfbd9785b4.jpg","text":"TemporaryFile(/tmp/multipartBody1835501693905788499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376612935,"filename":"image_11042025_13_20_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/11/cb4b90929cb308d0a1a1a3a7f5930c70.jpg","text":"TemporaryFile(/tmp/multipartBody7230216131725651173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376612935,"filename":"image_11042025_13_20_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/11/3a1126e9ee3f20e803fd5dbc6705f5b5.jpg","text":"TemporaryFile(/tmp/multipartBody2710918136608535895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376612935,"filename":"image_11042025_13_19_55_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/11/5112f8c9abac4d33787a7cf56c87a0a4.jpg","text":"TemporaryFile(/tmp/multipartBody1632103101500653335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376612935,"filename":"image_11042025_13_21_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/11/4fc5bc7df1031d46a24eda792112baae.jpg","text":"TemporaryFile(/tmp/multipartBody7996180345773570638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376612935,"filename":"image_11042025_13_21_25_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/32f08d00310571bc6e6d0980f4077fe4.jpg","text":"TemporaryFile(/tmp/multipartBody7980827128528617376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376612935,"filename":"image_11042025_13_19_45_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351700426","file1":"1351700374","file0":"1351700340","file4":"1351700524","file5":"1351700571","file3":"1351700467"},"map_files_photo_id_array":[{"photo_id":"1351700571","filename":"file5"},{"photo_id":"1351700426","filename":"file2"},{"photo_id":"1351700524","filename":"file4"},{"photo_id":"1351700374","filename":"file1"},{"photo_id":"1351700340","filename":"file0"},{"photo_id":"1351700467","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351700426":["hashtag1","hashtag2"]},{"1351700467":["hashtag1","hashtag2"]},{"1351700374":["hashtag1","hashtag2"]},{"1351700524":["hashtag1","hashtag2"]},{"1351700571":["hashtag1","hashtag2"]},{"1351700340":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351700426, 1351700467, 1351700374, 1351700524, 1351700571, 1351700340)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.694499492645264 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 15:03:32.474542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/13/21/image_11042025_13_21_35_9679.jpg', '/home/pi/Desktop/images/11042025/13/21/image_11042025_13_21_45_10367.jpg', '/home/pi/Desktop/images/11042025/13/21/image_11042025_13_21_55_9472.jpg', '/home/pi/Desktop/images/11042025/13/21/image_11042025_13_22_05_10362.jpg', '/home/pi/Desktop/images/11042025/13/22/image_11042025_13_22_16_10369.jpg', '/home/pi/Desktop/images/11042025/13/22/image_11042025_13_22_25_9407.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/13/21/image_11042025_13_21_35_9679.jpg
/home/pi/Desktop/images/11042025/13/21/image_11042025_13_21_45_10367.jpg
/home/pi/Desktop/images/11042025/13/21/image_11042025_13_21_55_9472.jpg
/home/pi/Desktop/images/11042025/13/21/image_11042025_13_22_05_10362.jpg
/home/pi/Desktop/images/11042025/13/22/image_11042025_13_22_16_10369.jpg
/home/pi/Desktop/images/11042025/13/22/image_11042025_13_22_25_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":["1351701067","1351701097","1351700952","1351701024","1351701000","1351701146"],"photo_ids_order":["1351700952","1351701000","1351701024","1351701067","1351701097","1351701146"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/213c9a4a842a7347eca3a45b70571209.jpg","text":"TemporaryFile(/tmp/multipartBody7617453121189719743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376672938,"filename":"image_11042025_13_22_05_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9b7ba268839085de1a6d0d5f83da8d3a.jpg","text":"TemporaryFile(/tmp/multipartBody5945056447281345910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376672938,"filename":"image_11042025_13_22_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/11/a71850b20d01e60240265cb11abd39fd.jpg","text":"TemporaryFile(/tmp/multipartBody6005012988826271824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376672938,"filename":"image_11042025_13_21_35_9679.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/22bb286f68f2477fc4d5e233ae08ba13.jpg","text":"TemporaryFile(/tmp/multipartBody6490957691179517193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376672938,"filename":"image_11042025_13_21_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/11/79533826bb1efc562b3b3d5845c0c4e9.jpg","text":"TemporaryFile(/tmp/multipartBody3294672171406746084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376672938,"filename":"image_11042025_13_21_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/11/a599a068e38751e48a8637897bd0f5dc.jpg","text":"TemporaryFile(/tmp/multipartBody2102560609427077044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376672938,"filename":"image_11042025_13_22_25_9407.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351701024","file1":"1351701000","file0":"1351700952","file4":"1351701097","file5":"1351701146","file3":"1351701067"},"map_files_photo_id_array":[{"photo_id":"1351701146","filename":"file5"},{"photo_id":"1351701024","filename":"file2"},{"photo_id":"1351701097","filename":"file4"},{"photo_id":"1351701000","filename":"file1"},{"photo_id":"1351700952","filename":"file0"},{"photo_id":"1351701067","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351701067":["hashtag1","hashtag2"]},{"1351701097":["hashtag1","hashtag2"]},{"1351700952":["hashtag1","hashtag2"]},{"1351701024":["hashtag1","hashtag2"]},{"1351701000":["hashtag1","hashtag2"]},{"1351701146":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351701067, 1351701097, 1351700952, 1351701024, 1351701000, 1351701146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.911031246185303 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 15:04:32.606670
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/13/22/image_11042025_13_22_35_10371.jpg', '/home/pi/Desktop/images/11042025/13/22/image_11042025_13_22_46_10363.jpg', '/home/pi/Desktop/images/11042025/13/22/image_11042025_13_22_55_9463.jpg', '/home/pi/Desktop/images/11042025/13/22/image_11042025_13_23_06_10359.jpg', '/home/pi/Desktop/images/11042025/13/23/image_11042025_13_23_15_9337.jpg', '/home/pi/Desktop/images/11042025/13/23/image_11042025_13_23_25_10447.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/13/22/image_11042025_13_22_35_10371.jpg
/home/pi/Desktop/images/11042025/13/22/image_11042025_13_22_46_10363.jpg
/home/pi/Desktop/images/11042025/13/22/image_11042025_13_22_55_9463.jpg
/home/pi/Desktop/images/11042025/13/22/image_11042025_13_23_06_10359.jpg
/home/pi/Desktop/images/11042025/13/23/image_11042025_13_23_15_9337.jpg
/home/pi/Desktop/images/11042025/13/23/image_11042025_13_23_25_10447.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351701853","1351701655","1351701804","1351701906","1351701683","1351701609"],"photo_ids_order":["1351701609","1351701655","1351701683","1351701804","1351701853","1351701906"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ac210edffb2795e5fd8b048bbf2a1df5.jpg","text":"TemporaryFile(/tmp/multipartBody7112151028027445778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376733063,"filename":"image_11042025_13_23_15_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3c04148a8c78c6cd13c3d5fea65466f2.jpg","text":"TemporaryFile(/tmp/multipartBody3051347641788824353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376733063,"filename":"image_11042025_13_22_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/11/18941f26d1d0d47d063090324d5101c7.jpg","text":"TemporaryFile(/tmp/multipartBody5940209917900358001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376733063,"filename":"image_11042025_13_23_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/11/276eb76f068127ab59254b982ddb2549.jpg","text":"TemporaryFile(/tmp/multipartBody4116040731255689250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376733063,"filename":"image_11042025_13_23_25_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c86cb320a97eb07592eeb1ba2ba7087f.jpg","text":"TemporaryFile(/tmp/multipartBody9222005510411328185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376733063,"filename":"image_11042025_13_22_55_9463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e0f1aa42a613ba49196434bf1729aa39.jpg","text":"TemporaryFile(/tmp/multipartBody2233626565564768297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376733063,"filename":"image_11042025_13_22_35_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351701683","file1":"1351701655","file0":"1351701609","file4":"1351701853","file5":"1351701906","file3":"1351701804"},"map_files_photo_id_array":[{"photo_id":"1351701906","filename":"file5"},{"photo_id":"1351701683","filename":"file2"},{"photo_id":"1351701853","filename":"file4"},{"photo_id":"1351701655","filename":"file1"},{"photo_id":"1351701609","filename":"file0"},{"photo_id":"1351701804","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351701853":["hashtag1","hashtag2"]},{"1351701655":["hashtag1","hashtag2"]},{"1351701804":["hashtag1","hashtag2"]},{"1351701906":["hashtag1","hashtag2"]},{"1351701683":["hashtag1","hashtag2"]},{"1351701609":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351701853, 1351701655, 1351701804, 1351701906, 1351701683, 1351701609)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.992032289505005 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 15:05:32.928289
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/13/23/image_11042025_13_23_35_9475.jpg', '/home/pi/Desktop/images/11042025/13/23/image_11042025_13_23_45_10364.jpg', '/home/pi/Desktop/images/11042025/13/23/image_11042025_13_23_56_10365.jpg', '/home/pi/Desktop/images/11042025/13/23/image_11042025_13_24_05_9429.jpg', '/home/pi/Desktop/images/11042025/13/24/image_11042025_13_24_25_9383.jpg', '/home/pi/Desktop/images/11042025/13/24/image_11042025_13_24_55_9463.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/13/23/image_11042025_13_23_35_9475.jpg
/home/pi/Desktop/images/11042025/13/23/image_11042025_13_23_45_10364.jpg
/home/pi/Desktop/images/11042025/13/23/image_11042025_13_23_56_10365.jpg
/home/pi/Desktop/images/11042025/13/23/image_11042025_13_24_05_9429.jpg
/home/pi/Desktop/images/11042025/13/24/image_11042025_13_24_25_9383.jpg
/home/pi/Desktop/images/11042025/13/24/image_11042025_13_24_55_9463.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351702450","1351702300","1351702212","1351702151","1351702070","1351702573"],"photo_ids_order":["1351702070","1351702151","1351702212","1351702300","1351702450","1351702573"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/af617ceea99e770fd4a55fb0f0853049.jpg","text":"TemporaryFile(/tmp/multipartBody2520249495137708340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376793393,"filename":"image_11042025_13_24_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/11/41eac90cf1a3552ffba54bd089c43d6d.jpg","text":"TemporaryFile(/tmp/multipartBody4222487368989508657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376793393,"filename":"image_11042025_13_24_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/11/caab7e8e3227281c63cb741ae5da7cfe.jpg","text":"TemporaryFile(/tmp/multipartBody409994515029398636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376793393,"filename":"image_11042025_13_23_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/11/3a78dffad4e5d33d6290060716eda08c.jpg","text":"TemporaryFile(/tmp/multipartBody6998574701744837115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376793393,"filename":"image_11042025_13_23_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/11/57a95d74440794a2f5f838f7de12bd78.jpg","text":"TemporaryFile(/tmp/multipartBody7614380845698974200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376793393,"filename":"image_11042025_13_23_35_9475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/faedba4d958d6538ba3b2150f06b4b21.jpg","text":"TemporaryFile(/tmp/multipartBody333689150934205283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376793393,"filename":"image_11042025_13_24_55_9463.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351702212","file1":"1351702151","file0":"1351702070","file4":"1351702450","file5":"1351702573","file3":"1351702300"},"map_files_photo_id_array":[{"photo_id":"1351702573","filename":"file5"},{"photo_id":"1351702212","filename":"file2"},{"photo_id":"1351702450","filename":"file4"},{"photo_id":"1351702151","filename":"file1"},{"photo_id":"1351702070","filename":"file0"},{"photo_id":"1351702300","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351702450":["hashtag1","hashtag2"]},{"1351702300":["hashtag1","hashtag2"]},{"1351702212":["hashtag1","hashtag2"]},{"1351702151":["hashtag1","hashtag2"]},{"1351702070":["hashtag1","hashtag2"]},{"1351702573":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351702450, 1351702300, 1351702212, 1351702151, 1351702070, 1351702573)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.26451349258423 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 15:06:33.178598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/13/25/image_11042025_13_25_25_10419.jpg', '/home/pi/Desktop/images/11042025/13/25/image_11042025_13_25_36_10359.jpg', '/home/pi/Desktop/images/11042025/13/25/image_11042025_13_25_45_9472.jpg', '/home/pi/Desktop/images/11042025/13/25/image_11042025_13_25_56_10417.jpg', '/home/pi/Desktop/images/11042025/13/25/image_11042025_13_26_05_9425.jpg', '/home/pi/Desktop/images/11042025/13/26/image_11042025_13_26_15_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/13/25/image_11042025_13_25_25_10419.jpg
/home/pi/Desktop/images/11042025/13/25/image_11042025_13_25_36_10359.jpg
/home/pi/Desktop/images/11042025/13/25/image_11042025_13_25_45_9472.jpg
/home/pi/Desktop/images/11042025/13/25/image_11042025_13_25_56_10417.jpg
/home/pi/Desktop/images/11042025/13/25/image_11042025_13_26_05_9425.jpg
/home/pi/Desktop/images/11042025/13/26/image_11042025_13_26_15_10360.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":["1351703076","1351703040","1351702903","1351703288","1351703480","1351703381"],"photo_ids_order":["1351702903","1351703040","1351703076","1351703288","1351703381","1351703480"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f530fcc12995520f9262cb9dde0319f7.jpg","text":"TemporaryFile(/tmp/multipartBody3179077019295072819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376853637,"filename":"image_11042025_13_25_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/11/2a62aa37997d2b63223b47ffbc73e0b4.jpg","text":"TemporaryFile(/tmp/multipartBody2425217633725805584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376853637,"filename":"image_11042025_13_25_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/11/e30660c7214c07dc06ada6a31f0624d9.jpg","text":"TemporaryFile(/tmp/multipartBody8577440450641535113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376853637,"filename":"image_11042025_13_25_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/11/bebe839023e56adee7f06a1da0581e7e.jpg","text":"TemporaryFile(/tmp/multipartBody916602771120694741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376853637,"filename":"image_11042025_13_25_56_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/69262600f296e5c87ebe7375a1af8179.jpg","text":"TemporaryFile(/tmp/multipartBody4768162132622737062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376853637,"filename":"image_11042025_13_26_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/11/00e10148d19c2c4f9846efa44e6a5100.jpg","text":"TemporaryFile(/tmp/multipartBody6404651601240503485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376853637,"filename":"image_11042025_13_26_05_9425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351703076","file1":"1351703040","file0":"1351702903","file4":"1351703381","file5":"1351703480","file3":"1351703288"},"map_files_photo_id_array":[{"photo_id":"1351703480","filename":"file5"},{"photo_id":"1351703076","filename":"file2"},{"photo_id":"1351703381","filename":"file4"},{"photo_id":"1351703040","filename":"file1"},{"photo_id":"1351702903","filename":"file0"},{"photo_id":"1351703288","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351703076":["hashtag1","hashtag2"]},{"1351703040":["hashtag1","hashtag2"]},{"1351702903":["hashtag1","hashtag2"]},{"1351703288":["hashtag1","hashtag2"]},{"1351703480":["hashtag1","hashtag2"]},{"1351703381":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351703076, 1351703040, 1351702903, 1351703288, 1351703480, 1351703381)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 67.70455598831177 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 15:07:42.278960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/13/26/image_11042025_13_26_26_10370.jpg', '/home/pi/Desktop/images/11042025/13/26/image_11042025_13_26_35_9439.jpg', '/home/pi/Desktop/images/11042025/13/26/image_11042025_13_26_46_10460.jpg', '/home/pi/Desktop/images/11042025/13/26/image_11042025_13_26_55_9455.jpg', '/home/pi/Desktop/images/11042025/13/26/image_11042025_13_27_05_10432.jpg', '/home/pi/Desktop/images/11042025/13/27/image_11042025_13_27_15_9408.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/13/26/image_11042025_13_26_26_10370.jpg
/home/pi/Desktop/images/11042025/13/26/image_11042025_13_26_35_9439.jpg
/home/pi/Desktop/images/11042025/13/26/image_11042025_13_26_46_10460.jpg
/home/pi/Desktop/images/11042025/13/26/image_11042025_13_26_55_9455.jpg
/home/pi/Desktop/images/11042025/13/26/image_11042025_13_27_05_10432.jpg
/home/pi/Desktop/images/11042025/13/27/image_11042025_13_27_15_9408.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351703894","1351703654","1351703843","1351703723","1351703794","1351703947"],"photo_ids_order":["1351703654","1351703723","1351703794","1351703843","1351703894","1351703947"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3466d898fbcebd5fc587a412ee6ac0c5.jpg","text":"TemporaryFile(/tmp/multipartBody3824505663001464597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376922734,"filename":"image_11042025_13_27_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/11/67fbe51add0ae08c23d83374680d6062.jpg","text":"TemporaryFile(/tmp/multipartBody1887962386555039278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376922734,"filename":"image_11042025_13_26_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/11/01fcb3eb9483e4a9ab7017701d932f67.jpg","text":"TemporaryFile(/tmp/multipartBody4939172882623866217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376922734,"filename":"image_11042025_13_26_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/11/f4c9904fa7441b0a0de71474b08619a9.jpg","text":"TemporaryFile(/tmp/multipartBody8346983743130856154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376922734,"filename":"image_11042025_13_26_35_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/09ff9ac5be5449d84dbfaaa432d35f8b.jpg","text":"TemporaryFile(/tmp/multipartBody4346864520477969335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376922734,"filename":"image_11042025_13_26_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/11/51651b26bbc1fb24038f92c406d111a1.jpg","text":"TemporaryFile(/tmp/multipartBody2136829134812641445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376922734,"filename":"image_11042025_13_27_15_9408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351703794","file1":"1351703723","file0":"1351703654","file4":"1351703894","file5":"1351703947","file3":"1351703843"},"map_files_photo_id_array":[{"photo_id":"1351703947","filename":"file5"},{"photo_id":"1351703794","filename":"file2"},{"photo_id":"1351703894","filename":"file4"},{"photo_id":"1351703723","filename":"file1"},{"photo_id":"1351703654","filename":"file0"},{"photo_id":"1351703843","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351703894":["hashtag1","hashtag2"]},{"1351703654":["hashtag1","hashtag2"]},{"1351703843":["hashtag1","hashtag2"]},{"1351703723":["hashtag1","hashtag2"]},{"1351703794":["hashtag1","hashtag2"]},{"1351703947":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351703894, 1351703654, 1351703843, 1351703723, 1351703794, 1351703947)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.66262626647949 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 15:08:32.551599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/13/27/image_11042025_13_27_25_10359.jpg', '/home/pi/Desktop/images/11042025/13/27/image_11042025_13_27_36_10362.jpg', '/home/pi/Desktop/images/11042025/13/27/image_11042025_13_27_45_9368.jpg', '/home/pi/Desktop/images/11042025/13/27/image_11042025_13_27_55_10438.jpg', '/home/pi/Desktop/images/11042025/13/27/image_11042025_13_28_05_9408.jpg', '/home/pi/Desktop/images/11042025/13/28/image_11042025_13_28_26_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/13/27/image_11042025_13_27_25_10359.jpg
/home/pi/Desktop/images/11042025/13/27/image_11042025_13_27_36_10362.jpg
/home/pi/Desktop/images/11042025/13/27/image_11042025_13_27_45_9368.jpg
/home/pi/Desktop/images/11042025/13/27/image_11042025_13_27_55_10438.jpg
/home/pi/Desktop/images/11042025/13/27/image_11042025_13_28_05_9408.jpg
/home/pi/Desktop/images/11042025/13/28/image_11042025_13_28_26_10360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351704279","1351704228","1351704129","1351704304","1351704189","1351704081"],"photo_ids_order":["1351704081","1351704129","1351704189","1351704228","1351704279","1351704304"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f72d854b58417529dcdd59123313fee5.jpg","text":"TemporaryFile(/tmp/multipartBody4277002249485623224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376973018,"filename":"image_11042025_13_28_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/11/05ce4d7f45017d0a0be1682a86e0782e.jpg","text":"TemporaryFile(/tmp/multipartBody9141392496552354834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376973018,"filename":"image_11042025_13_27_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/11/b5368e816bb5437db00a083ca13d7e8c.jpg","text":"TemporaryFile(/tmp/multipartBody2879810951584077215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376973018,"filename":"image_11042025_13_27_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/11/61ea0f1762ce85c961ba6d4b326ccc57.jpg","text":"TemporaryFile(/tmp/multipartBody1845940930293352575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376973018,"filename":"image_11042025_13_28_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/11/63f9a8a11ad9b364c8aca1cd8a3fdf8d.jpg","text":"TemporaryFile(/tmp/multipartBody2746922798137178720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376973018,"filename":"image_11042025_13_27_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/11/741eded335c1d6f27076d05db8f5c9ec.jpg","text":"TemporaryFile(/tmp/multipartBody8989090846515497134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744376973018,"filename":"image_11042025_13_27_25_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351704189","file1":"1351704129","file0":"1351704081","file4":"1351704279","file5":"1351704304","file3":"1351704228"},"map_files_photo_id_array":[{"photo_id":"1351704304","filename":"file5"},{"photo_id":"1351704189","filename":"file2"},{"photo_id":"1351704279","filename":"file4"},{"photo_id":"1351704129","filename":"file1"},{"photo_id":"1351704081","filename":"file0"},{"photo_id":"1351704228","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351704279":["hashtag1","hashtag2"]},{"1351704228":["hashtag1","hashtag2"]},{"1351704129":["hashtag1","hashtag2"]},{"1351704304":["hashtag1","hashtag2"]},{"1351704189":["hashtag1","hashtag2"]},{"1351704081":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351704279, 1351704228, 1351704129, 1351704304, 1351704189, 1351704081)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.439478635787964 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 15:09:32.774800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/13/28/image_11042025_13_28_35_9468.jpg', '/home/pi/Desktop/images/11042025/13/28/image_11042025_13_28_45_10398.jpg', '/home/pi/Desktop/images/11042025/13/28/image_11042025_13_28_55_9473.jpg', '/home/pi/Desktop/images/11042025/13/28/image_11042025_13_29_05_10372.jpg', '/home/pi/Desktop/images/11042025/13/29/image_11042025_13_29_16_10362.jpg', '/home/pi/Desktop/images/11042025/13/29/image_11042025_13_29_25_9352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/13/28/image_11042025_13_28_35_9468.jpg
/home/pi/Desktop/images/11042025/13/28/image_11042025_13_28_45_10398.jpg
/home/pi/Desktop/images/11042025/13/28/image_11042025_13_28_55_9473.jpg
/home/pi/Desktop/images/11042025/13/28/image_11042025_13_29_05_10372.jpg
/home/pi/Desktop/images/11042025/13/29/image_11042025_13_29_16_10362.jpg
/home/pi/Desktop/images/11042025/13/29/image_11042025_13_29_25_9352.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":["1351705070","1351704905","1351705132","1351704727","1351704678","1351705011"],"photo_ids_order":["1351704678","1351704727","1351704905","1351705011","1351705070","1351705132"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/23b3ea0521d1e73b2dab41556f2acc8f.jpg","text":"TemporaryFile(/tmp/multipartBody5648577696440740599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377033247,"filename":"image_11042025_13_29_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/11/18e5e8bbd949989d44f155d3af6f8c0a.jpg","text":"TemporaryFile(/tmp/multipartBody4234024693836931779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377033247,"filename":"image_11042025_13_28_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/11/838f6b4f4ae3de4955cdef7b2b585dd0.jpg","text":"TemporaryFile(/tmp/multipartBody6344309738023816787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377033247,"filename":"image_11042025_13_29_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/11/cd7e5732842526dd169baf6e15bda5a1.jpg","text":"TemporaryFile(/tmp/multipartBody2573518764770978009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377033247,"filename":"image_11042025_13_28_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/11/8cb079062338e3e5da980eb0c222560f.jpg","text":"TemporaryFile(/tmp/multipartBody2398291749688872603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377033247,"filename":"image_11042025_13_28_35_9468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2a3c95e199ed2c803a45d6c4dbdaf2aa.jpg","text":"TemporaryFile(/tmp/multipartBody1586010449470200122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377033247,"filename":"image_11042025_13_29_05_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351704905","file1":"1351704727","file0":"1351704678","file4":"1351705070","file5":"1351705132","file3":"1351705011"},"map_files_photo_id_array":[{"photo_id":"1351705132","filename":"file5"},{"photo_id":"1351704905","filename":"file2"},{"photo_id":"1351705070","filename":"file4"},{"photo_id":"1351704727","filename":"file1"},{"photo_id":"1351704678","filename":"file0"},{"photo_id":"1351705011","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351705070":["hashtag1","hashtag2"]},{"1351704905":["hashtag1","hashtag2"]},{"1351705132":["hashtag1","hashtag2"]},{"1351704727":["hashtag1","hashtag2"]},{"1351704678":["hashtag1","hashtag2"]},{"1351705011":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351705070, 1351704905, 1351705132, 1351704727, 1351704678, 1351705011)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.38425588607788 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 15:10:43.007602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/13/29/image_11042025_13_29_35_10353.jpg', '/home/pi/Desktop/images/11042025/13/29/image_11042025_13_29_46_10340.jpg', '/home/pi/Desktop/images/11042025/13/29/image_11042025_13_29_55_9357.jpg', '/home/pi/Desktop/images/11042025/13/29/image_11042025_13_30_05_10437.jpg', '/home/pi/Desktop/images/11042025/13/30/image_11042025_13_30_15_9527.jpg', '/home/pi/Desktop/images/11042025/13/30/image_11042025_13_30_25_10436.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/13/29/image_11042025_13_29_35_10353.jpg
/home/pi/Desktop/images/11042025/13/29/image_11042025_13_29_46_10340.jpg
/home/pi/Desktop/images/11042025/13/29/image_11042025_13_29_55_9357.jpg
/home/pi/Desktop/images/11042025/13/29/image_11042025_13_30_05_10437.jpg
/home/pi/Desktop/images/11042025/13/30/image_11042025_13_30_15_9527.jpg
/home/pi/Desktop/images/11042025/13/30/image_11042025_13_30_25_10436.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351705419","1351705379","1351705325","1351705340","1351705476","1351705299"],"photo_ids_order":["1351705299","1351705325","1351705340","1351705379","1351705419","1351705476"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/bd1bd14ed35d111fd0e2379913a8197c.jpg","text":"TemporaryFile(/tmp/multipartBody5313496860244821331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377103475,"filename":"image_11042025_13_30_15_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/11/c842406dcc2e795f8f074c6a8dc6f1e8.jpg","text":"TemporaryFile(/tmp/multipartBody6531348612579822165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377103475,"filename":"image_11042025_13_30_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/11/cf44538b24e468210e87ba7e0a764e29.jpg","text":"TemporaryFile(/tmp/multipartBody5352630402613861941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377103475,"filename":"image_11042025_13_29_46_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8a580c13323804b0e166218472bc4396.jpg","text":"TemporaryFile(/tmp/multipartBody3467431222859250034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377103475,"filename":"image_11042025_13_29_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/11/2dc4d0362175c47719bf83bd61e6a237.jpg","text":"TemporaryFile(/tmp/multipartBody518293117098845358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377103475,"filename":"image_11042025_13_30_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/11/2cbe0d5fc2348da71ccd7e1a2827a9f2.jpg","text":"TemporaryFile(/tmp/multipartBody6777926766025133614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377103475,"filename":"image_11042025_13_29_35_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351705340","file1":"1351705325","file0":"1351705299","file4":"1351705419","file5":"1351705476","file3":"1351705379"},"map_files_photo_id_array":[{"photo_id":"1351705476","filename":"file5"},{"photo_id":"1351705340","filename":"file2"},{"photo_id":"1351705419","filename":"file4"},{"photo_id":"1351705325","filename":"file1"},{"photo_id":"1351705299","filename":"file0"},{"photo_id":"1351705379","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351705419":["hashtag1","hashtag2"]},{"1351705379":["hashtag1","hashtag2"]},{"1351705325":["hashtag1","hashtag2"]},{"1351705340":["hashtag1","hashtag2"]},{"1351705476":["hashtag1","hashtag2"]},{"1351705299":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351705419, 1351705379, 1351705325, 1351705340, 1351705476, 1351705299)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.11437630653381 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 15:11:32.219313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/13/30/image_11042025_13_30_35_9462.jpg', '/home/pi/Desktop/images/11042025/13/30/image_11042025_13_30_45_10378.jpg', '/home/pi/Desktop/images/11042025/13/30/image_11042025_13_31_05_9462.jpg', '/home/pi/Desktop/images/11042025/13/31/image_11042025_13_31_15_10361.jpg', '/home/pi/Desktop/images/11042025/13/31/image_11042025_13_31_25_9403.jpg', '/home/pi/Desktop/images/11042025/13/31/image_11042025_13_31_46_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/13/30/image_11042025_13_30_35_9462.jpg
/home/pi/Desktop/images/11042025/13/30/image_11042025_13_30_45_10378.jpg
/home/pi/Desktop/images/11042025/13/30/image_11042025_13_31_05_9462.jpg
/home/pi/Desktop/images/11042025/13/31/image_11042025_13_31_15_10361.jpg
/home/pi/Desktop/images/11042025/13/31/image_11042025_13_31_25_9403.jpg
/home/pi/Desktop/images/11042025/13/31/image_11042025_13_31_46_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351705649","1351705823","1351705789","1351705750","1351705732","1351705680"],"photo_ids_order":["1351705649","1351705680","1351705732","1351705750","1351705789","1351705823"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c201276fd270dc8047e978b72c32c67b.jpg","text":"TemporaryFile(/tmp/multipartBody8629574610630983212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377152685,"filename":"image_11042025_13_30_35_9462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/55e1f9274c790bf954cbbebdd140d33d.jpg","text":"TemporaryFile(/tmp/multipartBody4621649077775347523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377152685,"filename":"image_11042025_13_31_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/11/bc9c83e4021f7640aa5b55996338cfe3.jpg","text":"TemporaryFile(/tmp/multipartBody1121534134609426255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377152685,"filename":"image_11042025_13_31_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/11/4cae88d3f5eeae32004ab9835f12a12e.jpg","text":"TemporaryFile(/tmp/multipartBody4410796207633896784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377152685,"filename":"image_11042025_13_31_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/11/d44e24e8b6eee32ed6922f326bfb8055.jpg","text":"TemporaryFile(/tmp/multipartBody633991272928996650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377152685,"filename":"image_11042025_13_31_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/11/46de98ce5f81dbae4e789de6eb8ff4c4.jpg","text":"TemporaryFile(/tmp/multipartBody1818302868487114650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377152685,"filename":"image_11042025_13_30_45_10378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351705732","file1":"1351705680","file0":"1351705649","file4":"1351705789","file5":"1351705823","file3":"1351705750"},"map_files_photo_id_array":[{"photo_id":"1351705823","filename":"file5"},{"photo_id":"1351705732","filename":"file2"},{"photo_id":"1351705789","filename":"file4"},{"photo_id":"1351705680","filename":"file1"},{"photo_id":"1351705649","filename":"file0"},{"photo_id":"1351705750","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351705649":["hashtag1","hashtag2"]},{"1351705823":["hashtag1","hashtag2"]},{"1351705789":["hashtag1","hashtag2"]},{"1351705750":["hashtag1","hashtag2"]},{"1351705732":["hashtag1","hashtag2"]},{"1351705680":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351705649, 1351705823, 1351705789, 1351705750, 1351705732, 1351705680)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.50069832801819 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 15:12:32.641689
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/13/31/image_11042025_13_31_55_9426.jpg', '/home/pi/Desktop/images/11042025/13/31/image_11042025_13_32_05_10371.jpg', '/home/pi/Desktop/images/11042025/13/32/image_11042025_13_32_15_9493.jpg', '/home/pi/Desktop/images/11042025/13/32/image_11042025_13_32_25_10359.jpg', '/home/pi/Desktop/images/11042025/13/32/image_11042025_13_32_36_10378.jpg', '/home/pi/Desktop/images/11042025/13/32/image_11042025_13_32_45_9438.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/13/31/image_11042025_13_31_55_9426.jpg
/home/pi/Desktop/images/11042025/13/31/image_11042025_13_32_05_10371.jpg
/home/pi/Desktop/images/11042025/13/32/image_11042025_13_32_15_9493.jpg
/home/pi/Desktop/images/11042025/13/32/image_11042025_13_32_25_10359.jpg
/home/pi/Desktop/images/11042025/13/32/image_11042025_13_32_36_10378.jpg
/home/pi/Desktop/images/11042025/13/32/image_11042025_13_32_45_9438.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351706368","1351706107","1351706163","1351706310","1351706255","1351706198"],"photo_ids_order":["1351706107","1351706163","1351706198","1351706255","1351706310","1351706368"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/26151fd66d33b616ade4262c4dfa1f05.jpg","text":"TemporaryFile(/tmp/multipartBody4225553560505382597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377213218,"filename":"image_11042025_13_32_45_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f50a726f53a055ba10f25e8370fb7370.jpg","text":"TemporaryFile(/tmp/multipartBody3242297456847679863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377213218,"filename":"image_11042025_13_31_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/11/faa9d85b50d5067b4b8267415c851b80.jpg","text":"TemporaryFile(/tmp/multipartBody1173161265698534314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377213218,"filename":"image_11042025_13_32_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/11/0dd679ade3a46df9b620d7e1b1e2cb30.jpg","text":"TemporaryFile(/tmp/multipartBody8317648022847276995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377213218,"filename":"image_11042025_13_32_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/11/a04466055ed3e3ca2134a0b09fc66c48.jpg","text":"TemporaryFile(/tmp/multipartBody4548101810169759827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377213218,"filename":"image_11042025_13_32_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/11/ac5a043733f6c7f07300d472475dc808.jpg","text":"TemporaryFile(/tmp/multipartBody2441014696732242844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377213218,"filename":"image_11042025_13_32_15_9493.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351706198","file1":"1351706163","file0":"1351706107","file4":"1351706310","file5":"1351706368","file3":"1351706255"},"map_files_photo_id_array":[{"photo_id":"1351706368","filename":"file5"},{"photo_id":"1351706198","filename":"file2"},{"photo_id":"1351706310","filename":"file4"},{"photo_id":"1351706163","filename":"file1"},{"photo_id":"1351706107","filename":"file0"},{"photo_id":"1351706255","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351706368":["hashtag1","hashtag2"]},{"1351706107":["hashtag1","hashtag2"]},{"1351706163":["hashtag1","hashtag2"]},{"1351706310":["hashtag1","hashtag2"]},{"1351706255":["hashtag1","hashtag2"]},{"1351706198":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351706368, 1351706107, 1351706163, 1351706310, 1351706255, 1351706198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.24398231506348 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 15:13:32.489756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/13/32/image_11042025_13_32_55_10361.jpg', '/home/pi/Desktop/images/11042025/13/32/image_11042025_13_33_05_9450.jpg', '/home/pi/Desktop/images/11042025/13/33/image_11042025_13_33_15_10356.jpg', '/home/pi/Desktop/images/11042025/13/33/image_11042025_13_33_26_10371.jpg', '/home/pi/Desktop/images/11042025/13/33/image_11042025_13_33_35_9362.jpg', '/home/pi/Desktop/images/11042025/13/33/image_11042025_13_33_45_10377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/13/32/image_11042025_13_32_55_10361.jpg
/home/pi/Desktop/images/11042025/13/32/image_11042025_13_33_05_9450.jpg
/home/pi/Desktop/images/11042025/13/33/image_11042025_13_33_15_10356.jpg
/home/pi/Desktop/images/11042025/13/33/image_11042025_13_33_26_10371.jpg
/home/pi/Desktop/images/11042025/13/33/image_11042025_13_33_35_9362.jpg
/home/pi/Desktop/images/11042025/13/33/image_11042025_13_33_45_10377.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351706954","1351706895","1351706877","1351706928","1351707041","1351706993"],"photo_ids_order":["1351706877","1351706895","1351706928","1351706954","1351706993","1351707041"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0858a30610710b0bcb6acd70c6e512ba.jpg","text":"TemporaryFile(/tmp/multipartBody6154977864015397562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377272941,"filename":"image_11042025_13_33_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/11/34bb490b0680a2459c837fc484334385.jpg","text":"TemporaryFile(/tmp/multipartBody3476791798023902097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377272941,"filename":"image_11042025_13_33_05_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/11/d0fe0344a25d96f62edafe4ab06f6213.jpg","text":"TemporaryFile(/tmp/multipartBody8478978925161623210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377272941,"filename":"image_11042025_13_32_55_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/aab3eef5396f2c674260aedc7023f8c9.jpg","text":"TemporaryFile(/tmp/multipartBody2036725474906286267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377272941,"filename":"image_11042025_13_33_15_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/dbb61ee6f1381971e18c95d73b2d7d69.jpg","text":"TemporaryFile(/tmp/multipartBody9211385307516574099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377272941,"filename":"image_11042025_13_33_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/11/67c0a96bb5f4420555d699409a4558a8.jpg","text":"TemporaryFile(/tmp/multipartBody2070325559410493847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377272941,"filename":"image_11042025_13_33_35_9362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351706928","file1":"1351706895","file0":"1351706877","file4":"1351706993","file5":"1351707041","file3":"1351706954"},"map_files_photo_id_array":[{"photo_id":"1351707041","filename":"file5"},{"photo_id":"1351706928","filename":"file2"},{"photo_id":"1351706993","filename":"file4"},{"photo_id":"1351706895","filename":"file1"},{"photo_id":"1351706877","filename":"file0"},{"photo_id":"1351706954","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351706954":["hashtag1","hashtag2"]},{"1351706895":["hashtag1","hashtag2"]},{"1351706877":["hashtag1","hashtag2"]},{"1351706928":["hashtag1","hashtag2"]},{"1351707041":["hashtag1","hashtag2"]},{"1351706993":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351706954, 1351706895, 1351706877, 1351706928, 1351707041, 1351706993)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.33975648880005 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 15:14:32.747253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/13/33/image_11042025_13_33_56_10362.jpg', '/home/pi/Desktop/images/11042025/13/33/image_11042025_13_34_05_9424.jpg', '/home/pi/Desktop/images/11042025/13/34/image_11042025_13_34_15_10356.jpg', '/home/pi/Desktop/images/11042025/13/34/image_11042025_13_34_25_9410.jpg', '/home/pi/Desktop/images/11042025/13/34/image_11042025_13_34_35_10352.jpg', '/home/pi/Desktop/images/11042025/13/34/image_11042025_13_34_46_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/13/33/image_11042025_13_33_56_10362.jpg
/home/pi/Desktop/images/11042025/13/33/image_11042025_13_34_05_9424.jpg
/home/pi/Desktop/images/11042025/13/34/image_11042025_13_34_15_10356.jpg
/home/pi/Desktop/images/11042025/13/34/image_11042025_13_34_25_9410.jpg
/home/pi/Desktop/images/11042025/13/34/image_11042025_13_34_35_10352.jpg
/home/pi/Desktop/images/11042025/13/34/image_11042025_13_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":["1351707763","1351707643","1351707591","1351707735","1351707698","1351707554"],"photo_ids_order":["1351707554","1351707591","1351707643","1351707698","1351707735","1351707763"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2020e5a5116cf79ce8dd77aef0b4cf2b.jpg","text":"TemporaryFile(/tmp/multipartBody6443157346957633405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377333206,"filename":"image_11042025_13_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/11/ee245d9c46b40a4e04f1600d0f896d05.jpg","text":"TemporaryFile(/tmp/multipartBody7510518997264797302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377333206,"filename":"image_11042025_13_34_15_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1158141aa61a0743b4b1be4dc112b307.jpg","text":"TemporaryFile(/tmp/multipartBody6034597805417218673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377333206,"filename":"image_11042025_13_34_05_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/254444c60e92cb868b38783e4c8f771b.jpg","text":"TemporaryFile(/tmp/multipartBody7768290088156340615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377333206,"filename":"image_11042025_13_34_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/11/7a66864ae8b546b8242a1d6dfe0ad024.jpg","text":"TemporaryFile(/tmp/multipartBody1688298058840620449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377333206,"filename":"image_11042025_13_34_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/11/1f0d2a7bd5c2dcedd324bd646edf6e08.jpg","text":"TemporaryFile(/tmp/multipartBody5671783840348118302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377333206,"filename":"image_11042025_13_33_56_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351707643","file1":"1351707591","file0":"1351707554","file4":"1351707735","file5":"1351707763","file3":"1351707698"},"map_files_photo_id_array":[{"photo_id":"1351707763","filename":"file5"},{"photo_id":"1351707643","filename":"file2"},{"photo_id":"1351707735","filename":"file4"},{"photo_id":"1351707591","filename":"file1"},{"photo_id":"1351707554","filename":"file0"},{"photo_id":"1351707698","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351707763":["hashtag1","hashtag2"]},{"1351707643":["hashtag1","hashtag2"]},{"1351707591":["hashtag1","hashtag2"]},{"1351707735":["hashtag1","hashtag2"]},{"1351707698":["hashtag1","hashtag2"]},{"1351707554":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351707763, 1351707643, 1351707591, 1351707735, 1351707698, 1351707554)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.13962244987488 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 15:15:32.960081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/13/34/image_11042025_13_34_55_9444.jpg', '/home/pi/Desktop/images/11042025/13/34/image_11042025_13_35_05_10378.jpg', '/home/pi/Desktop/images/11042025/13/35/image_11042025_13_35_36_10374.jpg', '/home/pi/Desktop/images/11042025/13/35/image_11042025_13_35_45_9362.jpg', '/home/pi/Desktop/images/11042025/13/35/image_11042025_13_35_55_10343.jpg', '/home/pi/Desktop/images/11042025/13/35/image_11042025_13_36_05_9501.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/13/34/image_11042025_13_34_55_9444.jpg
/home/pi/Desktop/images/11042025/13/34/image_11042025_13_35_05_10378.jpg
/home/pi/Desktop/images/11042025/13/35/image_11042025_13_35_36_10374.jpg
/home/pi/Desktop/images/11042025/13/35/image_11042025_13_35_45_9362.jpg
/home/pi/Desktop/images/11042025/13/35/image_11042025_13_35_55_10343.jpg
/home/pi/Desktop/images/11042025/13/35/image_11042025_13_36_05_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":["1351708045","1351708252","1351708152","1351708320","1351708202","1351708297"],"photo_ids_order":["1351708045","1351708152","1351708202","1351708252","1351708297","1351708320"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c0d59a6412b64a520f1b4a59d25c304b.jpg","text":"TemporaryFile(/tmp/multipartBody2628363976705014555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377393422,"filename":"image_11042025_13_34_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/11/ad49d71ad6cc55bd8562f7ea44b0f519.jpg","text":"TemporaryFile(/tmp/multipartBody6775647770584791601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377393422,"filename":"image_11042025_13_35_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/11/f5b39e7219993311ee68b89ba67dfb22.jpg","text":"TemporaryFile(/tmp/multipartBody419110637746353362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377393422,"filename":"image_11042025_13_35_05_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e2df88d49f60ad5502004f6fde47849e.jpg","text":"TemporaryFile(/tmp/multipartBody3992617303892198653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377393422,"filename":"image_11042025_13_36_05_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/11/284e7b5019ce7da87802c9d575a1ea96.jpg","text":"TemporaryFile(/tmp/multipartBody2640561557717826059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377393422,"filename":"image_11042025_13_35_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/11/7f5c4c94950c5dfb2b90864c08ba608b.jpg","text":"TemporaryFile(/tmp/multipartBody2943040974663770596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377393422,"filename":"image_11042025_13_35_55_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351708202","file1":"1351708152","file0":"1351708045","file4":"1351708297","file5":"1351708320","file3":"1351708252"},"map_files_photo_id_array":[{"photo_id":"1351708320","filename":"file5"},{"photo_id":"1351708202","filename":"file2"},{"photo_id":"1351708297","filename":"file4"},{"photo_id":"1351708152","filename":"file1"},{"photo_id":"1351708045","filename":"file0"},{"photo_id":"1351708252","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351708045":["hashtag1","hashtag2"]},{"1351708252":["hashtag1","hashtag2"]},{"1351708152":["hashtag1","hashtag2"]},{"1351708320":["hashtag1","hashtag2"]},{"1351708202":["hashtag1","hashtag2"]},{"1351708297":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351708045, 1351708252, 1351708152, 1351708320, 1351708202, 1351708297)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.20167803764343 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 15:16:32.277525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/13/36/image_11042025_13_36_15_10357.jpg', '/home/pi/Desktop/images/11042025/13/36/image_11042025_13_36_26_10424.jpg', '/home/pi/Desktop/images/11042025/13/36/image_11042025_13_36_35_9348.jpg', '/home/pi/Desktop/images/11042025/13/36/image_11042025_13_36_45_10385.jpg', '/home/pi/Desktop/images/11042025/13/36/image_11042025_13_36_55_9378.jpg', '/home/pi/Desktop/images/11042025/13/36/image_11042025_13_37_05_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/13/36/image_11042025_13_36_15_10357.jpg
/home/pi/Desktop/images/11042025/13/36/image_11042025_13_36_26_10424.jpg
/home/pi/Desktop/images/11042025/13/36/image_11042025_13_36_35_9348.jpg
/home/pi/Desktop/images/11042025/13/36/image_11042025_13_36_45_10385.jpg
/home/pi/Desktop/images/11042025/13/36/image_11042025_13_36_55_9378.jpg
/home/pi/Desktop/images/11042025/13/36/image_11042025_13_37_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":["1351708575","1351708507","1351708617","1351708535","1351708597","1351708489"],"photo_ids_order":["1351708489","1351708507","1351708535","1351708575","1351708597","1351708617"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/34fd11ffb90fccb03abfd5ddf668544a.jpg","text":"TemporaryFile(/tmp/multipartBody5802602223597042572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377452734,"filename":"image_11042025_13_36_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/11/95492e5f632e1d5c90a2682f196a14ca.jpg","text":"TemporaryFile(/tmp/multipartBody8098510195872311421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377452734,"filename":"image_11042025_13_36_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/11/f7ac37564964474fc246849f26da4b61.jpg","text":"TemporaryFile(/tmp/multipartBody2602283224636273262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377452734,"filename":"image_11042025_13_37_05_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f2f6845e0588993d47e028112428213f.jpg","text":"TemporaryFile(/tmp/multipartBody4701271632440246021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377452734,"filename":"image_11042025_13_36_35_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c9c34d2cbb51ebf184c9a3431c462c86.jpg","text":"TemporaryFile(/tmp/multipartBody1039017947475528129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377452734,"filename":"image_11042025_13_36_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/11/94d64232502feb7ff87fc90311a299e5.jpg","text":"TemporaryFile(/tmp/multipartBody9098623790526022636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377452734,"filename":"image_11042025_13_36_15_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351708535","file1":"1351708507","file0":"1351708489","file4":"1351708597","file5":"1351708617","file3":"1351708575"},"map_files_photo_id_array":[{"photo_id":"1351708617","filename":"file5"},{"photo_id":"1351708535","filename":"file2"},{"photo_id":"1351708597","filename":"file4"},{"photo_id":"1351708507","filename":"file1"},{"photo_id":"1351708489","filename":"file0"},{"photo_id":"1351708575","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351708575":["hashtag1","hashtag2"]},{"1351708507":["hashtag1","hashtag2"]},{"1351708617":["hashtag1","hashtag2"]},{"1351708535":["hashtag1","hashtag2"]},{"1351708597":["hashtag1","hashtag2"]},{"1351708489":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351708575, 1351708507, 1351708617, 1351708535, 1351708597, 1351708489)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.4667387008667 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 15:17:32.593445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/13/37/image_11042025_13_37_15_10419.jpg', '/home/pi/Desktop/images/11042025/13/37/image_11042025_13_37_25_9493.jpg', '/home/pi/Desktop/images/11042025/13/37/image_11042025_13_37_35_10411.jpg', '/home/pi/Desktop/images/11042025/13/37/image_11042025_13_37_45_9472.jpg', '/home/pi/Desktop/images/11042025/13/37/image_11042025_13_37_55_10448.jpg', '/home/pi/Desktop/images/11042025/13/37/image_11042025_13_38_06_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/13/37/image_11042025_13_37_15_10419.jpg
/home/pi/Desktop/images/11042025/13/37/image_11042025_13_37_25_9493.jpg
/home/pi/Desktop/images/11042025/13/37/image_11042025_13_37_35_10411.jpg
/home/pi/Desktop/images/11042025/13/37/image_11042025_13_37_45_9472.jpg
/home/pi/Desktop/images/11042025/13/37/image_11042025_13_37_55_10448.jpg
/home/pi/Desktop/images/11042025/13/37/image_11042025_13_38_06_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":["1351708840","1351708860","1351708812","1351708914","1351708898","1351708871"],"photo_ids_order":["1351708812","1351708840","1351708860","1351708871","1351708898","1351708914"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/cbfbfdc8c0bc6c20c4f399de555c3965.jpg","text":"TemporaryFile(/tmp/multipartBody3000707698423498337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377513049,"filename":"image_11042025_13_37_25_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/11/0ba3cc6a5cf773b0c2818f114e2a5aee.jpg","text":"TemporaryFile(/tmp/multipartBody2103351264756209079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377513049,"filename":"image_11042025_13_37_35_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/bc8e35e31d4f799e0e90969f0879d0d5.jpg","text":"TemporaryFile(/tmp/multipartBody1055236445030614578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377513049,"filename":"image_11042025_13_37_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/11/6c6ce8b7f998ae0a453eb4af5ad1ea80.jpg","text":"TemporaryFile(/tmp/multipartBody2714198552239719277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377513049,"filename":"image_11042025_13_38_06_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4de03a12aeaf74f007797755a03f5627.jpg","text":"TemporaryFile(/tmp/multipartBody4415356995920466642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377513049,"filename":"image_11042025_13_37_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/11/00c0191a79f897b67e2be9e7cc7f67f0.jpg","text":"TemporaryFile(/tmp/multipartBody6110476178131104926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377513049,"filename":"image_11042025_13_37_45_9472.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351708860","file1":"1351708840","file0":"1351708812","file4":"1351708898","file5":"1351708914","file3":"1351708871"},"map_files_photo_id_array":[{"photo_id":"1351708914","filename":"file5"},{"photo_id":"1351708860","filename":"file2"},{"photo_id":"1351708898","filename":"file4"},{"photo_id":"1351708840","filename":"file1"},{"photo_id":"1351708812","filename":"file0"},{"photo_id":"1351708871","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351708840":["hashtag1","hashtag2"]},{"1351708860":["hashtag1","hashtag2"]},{"1351708812":["hashtag1","hashtag2"]},{"1351708914":["hashtag1","hashtag2"]},{"1351708898":["hashtag1","hashtag2"]},{"1351708871":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351708840, 1351708860, 1351708812, 1351708914, 1351708898, 1351708871)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.61657428741455 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 15:18:32.807520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/13/38/image_11042025_13_38_15_9336.jpg', '/home/pi/Desktop/images/11042025/13/38/image_11042025_13_38_35_9327.jpg', '/home/pi/Desktop/images/11042025/13/38/image_11042025_13_38_45_10372.jpg', '/home/pi/Desktop/images/11042025/13/38/image_11042025_13_38_56_10426.jpg', '/home/pi/Desktop/images/11042025/13/38/image_11042025_13_39_05_9369.jpg', '/home/pi/Desktop/images/11042025/13/39/image_11042025_13_39_15_10343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/13/38/image_11042025_13_38_15_9336.jpg
/home/pi/Desktop/images/11042025/13/38/image_11042025_13_38_35_9327.jpg
/home/pi/Desktop/images/11042025/13/38/image_11042025_13_38_45_10372.jpg
/home/pi/Desktop/images/11042025/13/38/image_11042025_13_38_56_10426.jpg
/home/pi/Desktop/images/11042025/13/38/image_11042025_13_39_05_9369.jpg
/home/pi/Desktop/images/11042025/13/39/image_11042025_13_39_15_10343.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351709139","1351709375","1351709240","1351709183","1351709321","1351709284"],"photo_ids_order":["1351709139","1351709183","1351709240","1351709284","1351709321","1351709375"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2b56477e97ae020be163b908e1a3eeba.jpg","text":"TemporaryFile(/tmp/multipartBody7423337286311456894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377573278,"filename":"image_11042025_13_38_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/11/8c5ed742b62e09b80285da011544ff15.jpg","text":"TemporaryFile(/tmp/multipartBody6182166244113733100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377573278,"filename":"image_11042025_13_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/11/bcbcc9fc88edbea769ff04e95eeb4d02.jpg","text":"TemporaryFile(/tmp/multipartBody3661738038331685547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377573278,"filename":"image_11042025_13_38_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/11/f2e7b48954de12d6250b7062ee2ff675.jpg","text":"TemporaryFile(/tmp/multipartBody6373234002549916723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377573278,"filename":"image_11042025_13_38_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/11/1acbc230c347fb92f13db3bac0d31b2e.jpg","text":"TemporaryFile(/tmp/multipartBody8463027710699408469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377573278,"filename":"image_11042025_13_39_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/11/239afffb485c79e4a9030ecfdf6c246b.jpg","text":"TemporaryFile(/tmp/multipartBody535745478922444027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377573278,"filename":"image_11042025_13_38_56_10426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351709240","file1":"1351709183","file0":"1351709139","file4":"1351709321","file5":"1351709375","file3":"1351709284"},"map_files_photo_id_array":[{"photo_id":"1351709375","filename":"file5"},{"photo_id":"1351709240","filename":"file2"},{"photo_id":"1351709321","filename":"file4"},{"photo_id":"1351709183","filename":"file1"},{"photo_id":"1351709139","filename":"file0"},{"photo_id":"1351709284","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351709139":["hashtag1","hashtag2"]},{"1351709375":["hashtag1","hashtag2"]},{"1351709240":["hashtag1","hashtag2"]},{"1351709183":["hashtag1","hashtag2"]},{"1351709321":["hashtag1","hashtag2"]},{"1351709284":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351709139, 1351709375, 1351709240, 1351709183, 1351709321, 1351709284)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.642900705337524 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 15:19:33.022214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/13/39/image_11042025_13_39_26_10434.jpg', '/home/pi/Desktop/images/11042025/13/39/image_11042025_13_39_35_9349.jpg', '/home/pi/Desktop/images/11042025/13/39/image_11042025_13_39_45_10374.jpg', '/home/pi/Desktop/images/11042025/13/39/image_11042025_13_39_55_9510.jpg', '/home/pi/Desktop/images/11042025/13/39/image_11042025_13_40_05_10477.jpg', '/home/pi/Desktop/images/11042025/13/40/image_11042025_13_40_15_9412.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/13/39/image_11042025_13_39_26_10434.jpg
/home/pi/Desktop/images/11042025/13/39/image_11042025_13_39_35_9349.jpg
/home/pi/Desktop/images/11042025/13/39/image_11042025_13_39_45_10374.jpg
/home/pi/Desktop/images/11042025/13/39/image_11042025_13_39_55_9510.jpg
/home/pi/Desktop/images/11042025/13/39/image_11042025_13_40_05_10477.jpg
/home/pi/Desktop/images/11042025/13/40/image_11042025_13_40_15_9412.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351709982","1351709800","1351709979","1351709892","1351709931","1351709847"],"photo_ids_order":["1351709800","1351709847","1351709892","1351709931","1351709979","1351709982"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1731a8692a99644d14d0982a39b964f7.jpg","text":"TemporaryFile(/tmp/multipartBody6837501256277537995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377633480,"filename":"image_11042025_13_40_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/11/5c6bbde0dae8ab6c361a2b645abb04f3.jpg","text":"TemporaryFile(/tmp/multipartBody4299622077373610199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377633480,"filename":"image_11042025_13_39_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/11/3370de9d4fd6231e0d81747392a2e228.jpg","text":"TemporaryFile(/tmp/multipartBody1176476795762717184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377633480,"filename":"image_11042025_13_40_05_10477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0cf48c191b17a961a4a4e6dfe76f2ca9.jpg","text":"TemporaryFile(/tmp/multipartBody9069101883639245060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377633480,"filename":"image_11042025_13_39_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/11/7692441b762611f069ea8b37deb7c0cf.jpg","text":"TemporaryFile(/tmp/multipartBody6021113769912013993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377633480,"filename":"image_11042025_13_39_55_9510.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e24e5b23ea334b1fbbe02abaa97f5de2.jpg","text":"TemporaryFile(/tmp/multipartBody4796102810980118945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377633480,"filename":"image_11042025_13_39_35_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351709892","file1":"1351709847","file0":"1351709800","file4":"1351709979","file5":"1351709982","file3":"1351709931"},"map_files_photo_id_array":[{"photo_id":"1351709982","filename":"file5"},{"photo_id":"1351709892","filename":"file2"},{"photo_id":"1351709979","filename":"file4"},{"photo_id":"1351709847","filename":"file1"},{"photo_id":"1351709800","filename":"file0"},{"photo_id":"1351709931","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351709982":["hashtag1","hashtag2"]},{"1351709800":["hashtag1","hashtag2"]},{"1351709979":["hashtag1","hashtag2"]},{"1351709892":["hashtag1","hashtag2"]},{"1351709931":["hashtag1","hashtag2"]},{"1351709847":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351709982, 1351709800, 1351709979, 1351709892, 1351709931, 1351709847)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.26433515548706 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 15:20:32.208262
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/13/40/image_11042025_13_40_25_10363.jpg', '/home/pi/Desktop/images/11042025/13/40/image_11042025_13_40_36_10354.jpg', '/home/pi/Desktop/images/11042025/13/40/image_11042025_13_40_45_9360.jpg', '/home/pi/Desktop/images/11042025/13/40/image_11042025_13_40_55_10343.jpg', '/home/pi/Desktop/images/11042025/13/41/image_11042025_13_41_15_9336.jpg', '/home/pi/Desktop/images/11042025/13/41/image_11042025_13_41_25_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/13/40/image_11042025_13_40_25_10363.jpg
/home/pi/Desktop/images/11042025/13/40/image_11042025_13_40_36_10354.jpg
/home/pi/Desktop/images/11042025/13/40/image_11042025_13_40_45_9360.jpg
/home/pi/Desktop/images/11042025/13/40/image_11042025_13_40_55_10343.jpg
/home/pi/Desktop/images/11042025/13/41/image_11042025_13_41_15_9336.jpg
/home/pi/Desktop/images/11042025/13/41/image_11042025_13_41_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":["1351710307","1351710502","1351710438","1351710482","1351710347","1351710391"],"photo_ids_order":["1351710307","1351710347","1351710391","1351710438","1351710482","1351710502"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8869735ec7007dab297ca5ab4afa33e4.jpg","text":"TemporaryFile(/tmp/multipartBody7448090689949623207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377692663,"filename":"image_11042025_13_40_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/11/f27447e2e9f6ab8bf540b93aee1c842f.jpg","text":"TemporaryFile(/tmp/multipartBody6403213530059258778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377692663,"filename":"image_11042025_13_41_25_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/aa8d63446bebc0eea42a8259e715cdb7.jpg","text":"TemporaryFile(/tmp/multipartBody4754500716960225907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377692663,"filename":"image_11042025_13_40_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/11/012063a682907271024d8ac097921a70.jpg","text":"TemporaryFile(/tmp/multipartBody911302863462686213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377692663,"filename":"image_11042025_13_41_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/11/e2a97b7b8961ad19c2f6298542117482.jpg","text":"TemporaryFile(/tmp/multipartBody2894410439493840262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377692663,"filename":"image_11042025_13_40_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/11/19ad5e7413e773dd883cf2fc415eb62f.jpg","text":"TemporaryFile(/tmp/multipartBody8396631958727413367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377692663,"filename":"image_11042025_13_40_45_9360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351710391","file1":"1351710347","file0":"1351710307","file4":"1351710482","file5":"1351710502","file3":"1351710438"},"map_files_photo_id_array":[{"photo_id":"1351710502","filename":"file5"},{"photo_id":"1351710391","filename":"file2"},{"photo_id":"1351710482","filename":"file4"},{"photo_id":"1351710347","filename":"file1"},{"photo_id":"1351710307","filename":"file0"},{"photo_id":"1351710438","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351710307":["hashtag1","hashtag2"]},{"1351710502":["hashtag1","hashtag2"]},{"1351710438":["hashtag1","hashtag2"]},{"1351710482":["hashtag1","hashtag2"]},{"1351710347":["hashtag1","hashtag2"]},{"1351710391":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351710307, 1351710502, 1351710438, 1351710482, 1351710347, 1351710391)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.34862279891968 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 15:21:32.470332
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/13/41/image_11042025_13_41_35_9505.jpg', '/home/pi/Desktop/images/11042025/13/41/image_11042025_13_41_45_10375.jpg', '/home/pi/Desktop/images/11042025/13/41/image_11042025_13_41_56_10450.jpg', '/home/pi/Desktop/images/11042025/13/41/image_11042025_13_42_05_9341.jpg', '/home/pi/Desktop/images/11042025/13/42/image_11042025_13_42_15_10407.jpg', '/home/pi/Desktop/images/11042025/13/42/image_11042025_13_42_26_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/13/41/image_11042025_13_41_35_9505.jpg
/home/pi/Desktop/images/11042025/13/41/image_11042025_13_41_45_10375.jpg
/home/pi/Desktop/images/11042025/13/41/image_11042025_13_41_56_10450.jpg
/home/pi/Desktop/images/11042025/13/41/image_11042025_13_42_05_9341.jpg
/home/pi/Desktop/images/11042025/13/42/image_11042025_13_42_15_10407.jpg
/home/pi/Desktop/images/11042025/13/42/image_11042025_13_42_26_10363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351711194","1351711137","1351711103","1351711063","1351710883","1351711015"],"photo_ids_order":["1351710883","1351711015","1351711063","1351711103","1351711137","1351711194"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0c7d52a97cc8bdc42ad49c84942ca24b.jpg","text":"TemporaryFile(/tmp/multipartBody9055397574177064981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377752935,"filename":"image_11042025_13_42_26_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/84fd5b29dc7ab9301086b0e9dc0cb14d.jpg","text":"TemporaryFile(/tmp/multipartBody7327484970949631721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377752935,"filename":"image_11042025_13_42_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/11/bcc22370e6592aaf9efff4eae23d6052.jpg","text":"TemporaryFile(/tmp/multipartBody3476950450535538059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377752935,"filename":"image_11042025_13_42_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/11/f345171ea796a539732566c31cd6f53d.jpg","text":"TemporaryFile(/tmp/multipartBody785058733484835440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377752935,"filename":"image_11042025_13_41_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/11/59a02026781c9485a5b6cda8f91af4f7.jpg","text":"TemporaryFile(/tmp/multipartBody1860287214408350511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377752935,"filename":"image_11042025_13_41_35_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/11/678640000ca43697b15ccd20742b0058.jpg","text":"TemporaryFile(/tmp/multipartBody2709768167938107550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377752935,"filename":"image_11042025_13_41_45_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351711063","file1":"1351711015","file0":"1351710883","file4":"1351711137","file5":"1351711194","file3":"1351711103"},"map_files_photo_id_array":[{"photo_id":"1351711194","filename":"file5"},{"photo_id":"1351711063","filename":"file2"},{"photo_id":"1351711137","filename":"file4"},{"photo_id":"1351711015","filename":"file1"},{"photo_id":"1351710883","filename":"file0"},{"photo_id":"1351711103","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351711194":["hashtag1","hashtag2"]},{"1351711137":["hashtag1","hashtag2"]},{"1351711103":["hashtag1","hashtag2"]},{"1351711063":["hashtag1","hashtag2"]},{"1351710883":["hashtag1","hashtag2"]},{"1351711015":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351711194, 1351711137, 1351711103, 1351711063, 1351710883, 1351711015)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.107800006866455 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 15:22:32.526423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/13/42/image_11042025_13_42_35_9465.jpg', '/home/pi/Desktop/images/11042025/13/42/image_11042025_13_42_46_10370.jpg', '/home/pi/Desktop/images/11042025/13/42/image_11042025_13_42_55_9367.jpg', '/home/pi/Desktop/images/11042025/13/42/image_11042025_13_43_05_10384.jpg', '/home/pi/Desktop/images/11042025/13/43/image_11042025_13_43_16_10371.jpg', '/home/pi/Desktop/images/11042025/13/43/image_11042025_13_43_25_9371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/13/42/image_11042025_13_42_35_9465.jpg
/home/pi/Desktop/images/11042025/13/42/image_11042025_13_42_46_10370.jpg
/home/pi/Desktop/images/11042025/13/42/image_11042025_13_42_55_9367.jpg
/home/pi/Desktop/images/11042025/13/42/image_11042025_13_43_05_10384.jpg
/home/pi/Desktop/images/11042025/13/43/image_11042025_13_43_16_10371.jpg
/home/pi/Desktop/images/11042025/13/43/image_11042025_13_43_25_9371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351711458","1351711433","1351711301","1351711366","1351711395","1351711327"],"photo_ids_order":["1351711301","1351711327","1351711366","1351711395","1351711433","1351711458"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/aa8fd7c8928ffa0b2af6bfc299b54aee.jpg","text":"TemporaryFile(/tmp/multipartBody5544521986261610265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377812992,"filename":"image_11042025_13_43_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/11/d261311089a857c8a124636d1cf16b6f.jpg","text":"TemporaryFile(/tmp/multipartBody7191791925963936848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377812992,"filename":"image_11042025_13_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/11/7b600a9223c91df13d2eb51c4e8895c4.jpg","text":"TemporaryFile(/tmp/multipartBody4977644641988137780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377812992,"filename":"image_11042025_13_42_35_9465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/903ebca92cc23be598000db198780b9b.jpg","text":"TemporaryFile(/tmp/multipartBody7530233719841855710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377812992,"filename":"image_11042025_13_42_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/11/57e976feaca8c494db4d9c4d3a8a2211.jpg","text":"TemporaryFile(/tmp/multipartBody8628290346656002450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377812992,"filename":"image_11042025_13_43_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/11/93234a40058b7064c7b489b7765a2b49.jpg","text":"TemporaryFile(/tmp/multipartBody4938894885055643016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377812992,"filename":"image_11042025_13_42_46_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351711366","file1":"1351711327","file0":"1351711301","file4":"1351711433","file5":"1351711458","file3":"1351711395"},"map_files_photo_id_array":[{"photo_id":"1351711458","filename":"file5"},{"photo_id":"1351711366","filename":"file2"},{"photo_id":"1351711433","filename":"file4"},{"photo_id":"1351711327","filename":"file1"},{"photo_id":"1351711301","filename":"file0"},{"photo_id":"1351711395","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351711458":["hashtag1","hashtag2"]},{"1351711433":["hashtag1","hashtag2"]},{"1351711301":["hashtag1","hashtag2"]},{"1351711366":["hashtag1","hashtag2"]},{"1351711395":["hashtag1","hashtag2"]},{"1351711327":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351711458, 1351711433, 1351711301, 1351711366, 1351711395, 1351711327)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.22267532348633 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 15:23:32.788347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/13/43/image_11042025_13_43_55_10452.jpg', '/home/pi/Desktop/images/11042025/13/43/image_11042025_13_44_06_10359.jpg', '/home/pi/Desktop/images/11042025/13/44/image_11042025_13_44_15_9357.jpg', '/home/pi/Desktop/images/11042025/13/44/image_11042025_13_44_25_10365.jpg', '/home/pi/Desktop/images/11042025/13/44/image_11042025_13_44_35_9517.jpg', '/home/pi/Desktop/images/11042025/13/44/image_11042025_13_44_45_10382.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/13/43/image_11042025_13_43_55_10452.jpg
/home/pi/Desktop/images/11042025/13/43/image_11042025_13_44_06_10359.jpg
/home/pi/Desktop/images/11042025/13/44/image_11042025_13_44_15_9357.jpg
/home/pi/Desktop/images/11042025/13/44/image_11042025_13_44_25_10365.jpg
/home/pi/Desktop/images/11042025/13/44/image_11042025_13_44_35_9517.jpg
/home/pi/Desktop/images/11042025/13/44/image_11042025_13_44_45_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":["1351711673","1351711724","1351711753","1351711840","1351711801","1351711702"],"photo_ids_order":["1351711673","1351711702","1351711724","1351711753","1351711801","1351711840"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5f0e63057fa7b41efdfe864985acc504.jpg","text":"TemporaryFile(/tmp/multipartBody4007504423884782337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377873241,"filename":"image_11042025_13_43_55_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/529a2caf5b7c219e1cc6c5bd043bdc2f.jpg","text":"TemporaryFile(/tmp/multipartBody2551444101006800520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377873241,"filename":"image_11042025_13_44_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/11/3a997933b2b9a76076afb5ad06c2b0df.jpg","text":"TemporaryFile(/tmp/multipartBody4653096384856853139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377873241,"filename":"image_11042025_13_44_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/11/d6f66f4eecf60828d520fa1d4eb010b1.jpg","text":"TemporaryFile(/tmp/multipartBody3437234287417117229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377873241,"filename":"image_11042025_13_44_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/11/4ba5f22f79c530576bee1e10a69f7c10.jpg","text":"TemporaryFile(/tmp/multipartBody2900923842452294745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377873241,"filename":"image_11042025_13_44_35_9517.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b65e1374ea75a1ec7f31512a507d740a.jpg","text":"TemporaryFile(/tmp/multipartBody2419922501356754032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377873241,"filename":"image_11042025_13_44_06_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351711724","file1":"1351711702","file0":"1351711673","file4":"1351711801","file5":"1351711840","file3":"1351711753"},"map_files_photo_id_array":[{"photo_id":"1351711840","filename":"file5"},{"photo_id":"1351711724","filename":"file2"},{"photo_id":"1351711801","filename":"file4"},{"photo_id":"1351711702","filename":"file1"},{"photo_id":"1351711673","filename":"file0"},{"photo_id":"1351711753","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351711673":["hashtag1","hashtag2"]},{"1351711724":["hashtag1","hashtag2"]},{"1351711753":["hashtag1","hashtag2"]},{"1351711840":["hashtag1","hashtag2"]},{"1351711801":["hashtag1","hashtag2"]},{"1351711702":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351711673, 1351711724, 1351711753, 1351711840, 1351711801, 1351711702)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.23717427253723 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 15:24:33.068843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/13/44/image_11042025_13_44_56_10350.jpg', '/home/pi/Desktop/images/11042025/13/44/image_11042025_13_45_05_9450.jpg', '/home/pi/Desktop/images/11042025/13/45/image_11042025_13_45_15_10355.jpg', '/home/pi/Desktop/images/11042025/13/45/image_11042025_13_45_25_9444.jpg', '/home/pi/Desktop/images/11042025/13/45/image_11042025_13_45_35_10367.jpg', '/home/pi/Desktop/images/11042025/13/45/image_11042025_13_45_46_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/13/44/image_11042025_13_44_56_10350.jpg
/home/pi/Desktop/images/11042025/13/44/image_11042025_13_45_05_9450.jpg
/home/pi/Desktop/images/11042025/13/45/image_11042025_13_45_15_10355.jpg
/home/pi/Desktop/images/11042025/13/45/image_11042025_13_45_25_9444.jpg
/home/pi/Desktop/images/11042025/13/45/image_11042025_13_45_35_10367.jpg
/home/pi/Desktop/images/11042025/13/45/image_11042025_13_45_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":["1351712325","1351712433","1351712214","1351712264","1351712482","1351712376"],"photo_ids_order":["1351712214","1351712264","1351712325","1351712376","1351712433","1351712482"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a98b04edbacfc3acf23322000c3743ed.jpg","text":"TemporaryFile(/tmp/multipartBody1266610297802387063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377933615,"filename":"image_11042025_13_45_15_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e1d835c43d69cfc21e99306caf1f4d42.jpg","text":"TemporaryFile(/tmp/multipartBody2279643585561018581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377933615,"filename":"image_11042025_13_45_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/11/2631974c084e1cbed48c31b78eb2faed.jpg","text":"TemporaryFile(/tmp/multipartBody4887875171544561772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377933615,"filename":"image_11042025_13_44_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/11/359d0039de68809577053ba2a50c94c9.jpg","text":"TemporaryFile(/tmp/multipartBody5067563239272066005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377933615,"filename":"image_11042025_13_45_05_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/11/1de746c1802fb35f4dfd07260bb07556.jpg","text":"TemporaryFile(/tmp/multipartBody7385073966193106104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377933615,"filename":"image_11042025_13_45_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/11/15be0a2cfba471f5e6b6860f11c1c5d7.jpg","text":"TemporaryFile(/tmp/multipartBody3185732108797997901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377933615,"filename":"image_11042025_13_45_25_9444.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351712325","file1":"1351712264","file0":"1351712214","file4":"1351712433","file5":"1351712482","file3":"1351712376"},"map_files_photo_id_array":[{"photo_id":"1351712482","filename":"file5"},{"photo_id":"1351712325","filename":"file2"},{"photo_id":"1351712433","filename":"file4"},{"photo_id":"1351712264","filename":"file1"},{"photo_id":"1351712214","filename":"file0"},{"photo_id":"1351712376","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351712325":["hashtag1","hashtag2"]},{"1351712433":["hashtag1","hashtag2"]},{"1351712214":["hashtag1","hashtag2"]},{"1351712264":["hashtag1","hashtag2"]},{"1351712482":["hashtag1","hashtag2"]},{"1351712376":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351712325, 1351712433, 1351712214, 1351712264, 1351712482, 1351712376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.906819343566895 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 15:25:32.269610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/13/45/image_11042025_13_45_55_9452.jpg', '/home/pi/Desktop/images/11042025/13/45/image_11042025_13_46_05_10409.jpg', '/home/pi/Desktop/images/11042025/13/46/image_11042025_13_46_15_9370.jpg', '/home/pi/Desktop/images/11042025/13/46/image_11042025_13_46_25_10362.jpg', '/home/pi/Desktop/images/11042025/13/46/image_11042025_13_46_36_10350.jpg', '/home/pi/Desktop/images/11042025/13/46/image_11042025_13_46_45_9447.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/13/45/image_11042025_13_45_55_9452.jpg
/home/pi/Desktop/images/11042025/13/45/image_11042025_13_46_05_10409.jpg
/home/pi/Desktop/images/11042025/13/46/image_11042025_13_46_15_9370.jpg
/home/pi/Desktop/images/11042025/13/46/image_11042025_13_46_25_10362.jpg
/home/pi/Desktop/images/11042025/13/46/image_11042025_13_46_36_10350.jpg
/home/pi/Desktop/images/11042025/13/46/image_11042025_13_46_45_9447.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351713003","1351712978","1351712930","1351712896","1351712830","1351712952"],"photo_ids_order":["1351712830","1351712896","1351712930","1351712952","1351712978","1351713003"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8d12464a6fca30960bd1aa39d3e229e6.jpg","text":"TemporaryFile(/tmp/multipartBody460051709860641585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377992776,"filename":"image_11042025_13_46_45_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/78815f4bea56b7310e389de1976924ac.jpg","text":"TemporaryFile(/tmp/multipartBody6554240652435697881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377992776,"filename":"image_11042025_13_46_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/11/cfdcaa382a3bcf83663b017ee8b8dd18.jpg","text":"TemporaryFile(/tmp/multipartBody3034320468058835954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377992776,"filename":"image_11042025_13_46_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/11/6fd5eb90a4f03e2231ef701190938b81.jpg","text":"TemporaryFile(/tmp/multipartBody7175523642263810556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377992776,"filename":"image_11042025_13_46_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/11/e93a43f4ac3ddb1292012f85ba566f11.jpg","text":"TemporaryFile(/tmp/multipartBody4665748668664490663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377992776,"filename":"image_11042025_13_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/11/a04a185e98d67c5c0caf768e6c5629fa.jpg","text":"TemporaryFile(/tmp/multipartBody4048013728533562911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744377992776,"filename":"image_11042025_13_46_25_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351712930","file1":"1351712896","file0":"1351712830","file4":"1351712978","file5":"1351713003","file3":"1351712952"},"map_files_photo_id_array":[{"photo_id":"1351713003","filename":"file5"},{"photo_id":"1351712930","filename":"file2"},{"photo_id":"1351712978","filename":"file4"},{"photo_id":"1351712896","filename":"file1"},{"photo_id":"1351712830","filename":"file0"},{"photo_id":"1351712952","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351713003":["hashtag1","hashtag2"]},{"1351712978":["hashtag1","hashtag2"]},{"1351712930":["hashtag1","hashtag2"]},{"1351712896":["hashtag1","hashtag2"]},{"1351712830":["hashtag1","hashtag2"]},{"1351712952":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351713003, 1351712978, 1351712930, 1351712896, 1351712830, 1351712952)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.770527362823486 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 15:26:32.528935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/13/46/image_11042025_13_46_55_10351.jpg', '/home/pi/Desktop/images/11042025/13/46/image_11042025_13_47_05_9436.jpg', '/home/pi/Desktop/images/11042025/13/47/image_11042025_13_47_15_10363.jpg', '/home/pi/Desktop/images/11042025/13/47/image_11042025_13_47_26_10368.jpg', '/home/pi/Desktop/images/11042025/13/47/image_11042025_13_47_35_9473.jpg', '/home/pi/Desktop/images/11042025/13/47/image_11042025_13_47_45_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/13/46/image_11042025_13_46_55_10351.jpg
/home/pi/Desktop/images/11042025/13/46/image_11042025_13_47_05_9436.jpg
/home/pi/Desktop/images/11042025/13/47/image_11042025_13_47_15_10363.jpg
/home/pi/Desktop/images/11042025/13/47/image_11042025_13_47_26_10368.jpg
/home/pi/Desktop/images/11042025/13/47/image_11042025_13_47_35_9473.jpg
/home/pi/Desktop/images/11042025/13/47/image_11042025_13_47_45_10375.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351713470","1351713293","1351713194","1351713416","1351713166","1351713345"],"photo_ids_order":["1351713166","1351713194","1351713293","1351713345","1351713416","1351713470"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/04842c5079246ca0ab280dad150191ad.jpg","text":"TemporaryFile(/tmp/multipartBody1933795822442990071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378052999,"filename":"image_11042025_13_47_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/11/498873e6ab1c50bca7ed4f98fb8e33ee.jpg","text":"TemporaryFile(/tmp/multipartBody8632080962181197582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378052999,"filename":"image_11042025_13_47_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/11/8078bf48f6e9c4c44b8259aa884b0632.jpg","text":"TemporaryFile(/tmp/multipartBody4823680495297038569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378052999,"filename":"image_11042025_13_47_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/11/866c1af8ef3f046dede01e2986b2a1be.jpg","text":"TemporaryFile(/tmp/multipartBody305369516161651760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378052999,"filename":"image_11042025_13_47_35_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/11/7a76f2e72c242cee8b2aac13d75f8192.jpg","text":"TemporaryFile(/tmp/multipartBody544826079168338961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378052999,"filename":"image_11042025_13_46_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/11/88cb552cbc6a9bd9f7969f00f637a993.jpg","text":"TemporaryFile(/tmp/multipartBody4398548992098143615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378052999,"filename":"image_11042025_13_47_26_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351713293","file1":"1351713194","file0":"1351713166","file4":"1351713416","file5":"1351713470","file3":"1351713345"},"map_files_photo_id_array":[{"photo_id":"1351713470","filename":"file5"},{"photo_id":"1351713293","filename":"file2"},{"photo_id":"1351713416","filename":"file4"},{"photo_id":"1351713194","filename":"file1"},{"photo_id":"1351713166","filename":"file0"},{"photo_id":"1351713345","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351713470":["hashtag1","hashtag2"]},{"1351713293":["hashtag1","hashtag2"]},{"1351713194":["hashtag1","hashtag2"]},{"1351713416":["hashtag1","hashtag2"]},{"1351713166":["hashtag1","hashtag2"]},{"1351713345":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351713470, 1351713293, 1351713194, 1351713416, 1351713166, 1351713345)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.87153363227844 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 15:27:32.634152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/13/47/image_11042025_13_47_55_9468.jpg', '/home/pi/Desktop/images/11042025/13/47/image_11042025_13_48_05_10388.jpg', '/home/pi/Desktop/images/11042025/13/48/image_11042025_13_48_16_10440.jpg', '/home/pi/Desktop/images/11042025/13/48/image_11042025_13_48_25_9464.jpg', '/home/pi/Desktop/images/11042025/13/48/image_11042025_13_48_36_10364.jpg', '/home/pi/Desktop/images/11042025/13/48/image_11042025_13_48_45_9344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/13/47/image_11042025_13_47_55_9468.jpg
/home/pi/Desktop/images/11042025/13/47/image_11042025_13_48_05_10388.jpg
/home/pi/Desktop/images/11042025/13/48/image_11042025_13_48_16_10440.jpg
/home/pi/Desktop/images/11042025/13/48/image_11042025_13_48_25_9464.jpg
/home/pi/Desktop/images/11042025/13/48/image_11042025_13_48_36_10364.jpg
/home/pi/Desktop/images/11042025/13/48/image_11042025_13_48_45_9344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351713866","1351714103","1351714171","1351714219","1351714290","1351713948"],"photo_ids_order":["1351713866","1351713948","1351714103","1351714171","1351714219","1351714290"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f28d432cb1ed7c42d491850d94c6546f.jpg","text":"TemporaryFile(/tmp/multipartBody5256599534661813013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378113099,"filename":"image_11042025_13_47_55_9468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f453bb60e9d721f8724a028c5cad977f.jpg","text":"TemporaryFile(/tmp/multipartBody2413170869703533392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378113099,"filename":"image_11042025_13_48_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/11/0248fa3e49b57cb6579358debca502fc.jpg","text":"TemporaryFile(/tmp/multipartBody6607443540500161468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378113099,"filename":"image_11042025_13_48_25_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/11/a5feea4151d497c6811e53b19e64253c.jpg","text":"TemporaryFile(/tmp/multipartBody74273209892392211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378113099,"filename":"image_11042025_13_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/11/196fb5e68c821fad7e882c761b368329.jpg","text":"TemporaryFile(/tmp/multipartBody5431287441866187288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378113099,"filename":"image_11042025_13_48_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/11/347aaeb9d853ea50adfcd8ee2e2c1b00.jpg","text":"TemporaryFile(/tmp/multipartBody4692012072795337166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378113099,"filename":"image_11042025_13_48_05_10388.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351714103","file1":"1351713948","file0":"1351713866","file4":"1351714219","file5":"1351714290","file3":"1351714171"},"map_files_photo_id_array":[{"photo_id":"1351714290","filename":"file5"},{"photo_id":"1351714103","filename":"file2"},{"photo_id":"1351714219","filename":"file4"},{"photo_id":"1351713948","filename":"file1"},{"photo_id":"1351713866","filename":"file0"},{"photo_id":"1351714171","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351713866":["hashtag1","hashtag2"]},{"1351714103":["hashtag1","hashtag2"]},{"1351714171":["hashtag1","hashtag2"]},{"1351714219":["hashtag1","hashtag2"]},{"1351714290":["hashtag1","hashtag2"]},{"1351713948":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351713866, 1351714103, 1351714171, 1351714219, 1351714290, 1351713948)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.47166442871094 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 15:28:32.872716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/13/48/image_11042025_13_48_55_10391.jpg', '/home/pi/Desktop/images/11042025/13/48/image_11042025_13_49_06_10363.jpg', '/home/pi/Desktop/images/11042025/13/49/image_11042025_13_49_15_9358.jpg', '/home/pi/Desktop/images/11042025/13/49/image_11042025_13_49_25_10468.jpg', '/home/pi/Desktop/images/11042025/13/49/image_11042025_13_49_35_9422.jpg', '/home/pi/Desktop/images/11042025/13/49/image_11042025_13_49_45_10379.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/13/48/image_11042025_13_48_55_10391.jpg
/home/pi/Desktop/images/11042025/13/48/image_11042025_13_49_06_10363.jpg
/home/pi/Desktop/images/11042025/13/49/image_11042025_13_49_15_9358.jpg
/home/pi/Desktop/images/11042025/13/49/image_11042025_13_49_25_10468.jpg
/home/pi/Desktop/images/11042025/13/49/image_11042025_13_49_35_9422.jpg
/home/pi/Desktop/images/11042025/13/49/image_11042025_13_49_45_10379.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3889496326446533 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 15:28:42.840297
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/13/48/image_11042025_13_48_55_10391.jpg', '/home/pi/Desktop/images/11042025/13/48/image_11042025_13_49_06_10363.jpg', '/home/pi/Desktop/images/11042025/13/49/image_11042025_13_49_15_9358.jpg', '/home/pi/Desktop/images/11042025/13/49/image_11042025_13_49_25_10468.jpg', '/home/pi/Desktop/images/11042025/13/49/image_11042025_13_49_35_9422.jpg', '/home/pi/Desktop/images/11042025/13/49/image_11042025_13_49_45_10379.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/13/48/image_11042025_13_48_55_10391.jpg
/home/pi/Desktop/images/11042025/13/48/image_11042025_13_49_06_10363.jpg
/home/pi/Desktop/images/11042025/13/49/image_11042025_13_49_15_9358.jpg
/home/pi/Desktop/images/11042025/13/49/image_11042025_13_49_25_10468.jpg
/home/pi/Desktop/images/11042025/13/49/image_11042025_13_49_35_9422.jpg
/home/pi/Desktop/images/11042025/13/49/image_11042025_13_49_45_10379.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351714808","1351714622","1351714690","1351714657","1351714773","1351714556"],"photo_ids_order":["1351714556","1351714622","1351714657","1351714690","1351714773","1351714808"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/93b047dc78f356b8292b4707eaac33d4.jpg","text":"TemporaryFile(/tmp/multipartBody2651579302194929216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378183438,"filename":"image_11042025_13_49_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/11/ca08293225f1697b685ef61dd444a1d5.jpg","text":"TemporaryFile(/tmp/multipartBody4983404761748252331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378183438,"filename":"image_11042025_13_49_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/11/16c8c4cf60818729b34f6b640e395ae4.jpg","text":"TemporaryFile(/tmp/multipartBody5073702426623380423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378183438,"filename":"image_11042025_13_49_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/11/4be3de116c80215f4411c945467d8b76.jpg","text":"TemporaryFile(/tmp/multipartBody4211582030216023784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378183438,"filename":"image_11042025_13_49_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/11/3c4e74ab44caba9902b64d41aa16ea76.jpg","text":"TemporaryFile(/tmp/multipartBody1451073595187536890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378183438,"filename":"image_11042025_13_49_35_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0453a4187cffcf820cffc9ed26dbc560.jpg","text":"TemporaryFile(/tmp/multipartBody2633473023281604888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378183438,"filename":"image_11042025_13_48_55_10391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351714657","file1":"1351714622","file0":"1351714556","file4":"1351714773","file5":"1351714808","file3":"1351714690"},"map_files_photo_id_array":[{"photo_id":"1351714808","filename":"file5"},{"photo_id":"1351714657","filename":"file2"},{"photo_id":"1351714773","filename":"file4"},{"photo_id":"1351714622","filename":"file1"},{"photo_id":"1351714556","filename":"file0"},{"photo_id":"1351714690","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351714808":["hashtag1","hashtag2"]},{"1351714622":["hashtag1","hashtag2"]},{"1351714690":["hashtag1","hashtag2"]},{"1351714657":["hashtag1","hashtag2"]},{"1351714773":["hashtag1","hashtag2"]},{"1351714556":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351714808, 1351714622, 1351714690, 1351714657, 1351714773, 1351714556)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.63175344467163 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 15:29:33.131399
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/13/49/image_11042025_13_49_56_10368.jpg', '/home/pi/Desktop/images/11042025/13/49/image_11042025_13_50_05_9450.jpg', '/home/pi/Desktop/images/11042025/13/50/image_11042025_13_50_15_10382.jpg', '/home/pi/Desktop/images/11042025/13/50/image_11042025_13_50_25_9416.jpg', '/home/pi/Desktop/images/11042025/13/50/image_11042025_13_50_35_10357.jpg', '/home/pi/Desktop/images/11042025/13/50/image_11042025_13_50_46_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/13/49/image_11042025_13_49_56_10368.jpg
/home/pi/Desktop/images/11042025/13/49/image_11042025_13_50_05_9450.jpg
/home/pi/Desktop/images/11042025/13/50/image_11042025_13_50_15_10382.jpg
/home/pi/Desktop/images/11042025/13/50/image_11042025_13_50_25_9416.jpg
/home/pi/Desktop/images/11042025/13/50/image_11042025_13_50_35_10357.jpg
/home/pi/Desktop/images/11042025/13/50/image_11042025_13_50_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":["1351715992","1351715842","1351715908","1351715339","1351715593","1351715098"],"photo_ids_order":["1351715098","1351715339","1351715593","1351715842","1351715908","1351715992"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ed7f2e9f86cca76a903b246bd3cb779f.jpg","text":"TemporaryFile(/tmp/multipartBody2094821702984518103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378233586,"filename":"image_11042025_13_50_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/11/e8fcaf951f4bfa6c3b61b445009ec870.jpg","text":"TemporaryFile(/tmp/multipartBody979273759007158978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378233586,"filename":"image_11042025_13_50_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/11/4c7f86e423ad415fda17e7a715c17936.jpg","text":"TemporaryFile(/tmp/multipartBody4606378034588877848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378233586,"filename":"image_11042025_13_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/11/5a01d488726a29217b45a0bfba242f4f.jpg","text":"TemporaryFile(/tmp/multipartBody5625986546362702639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378233586,"filename":"image_11042025_13_50_05_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/11/ee2f3a229dbeff7e83fb645c1c4ca79b.jpg","text":"TemporaryFile(/tmp/multipartBody1634601000840215423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378233586,"filename":"image_11042025_13_50_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/11/ebb49b26b9961adbc9173e96334dd59d.jpg","text":"TemporaryFile(/tmp/multipartBody7621653014181045641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378233586,"filename":"image_11042025_13_49_56_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351715593","file1":"1351715339","file0":"1351715098","file4":"1351715908","file5":"1351715992","file3":"1351715842"},"map_files_photo_id_array":[{"photo_id":"1351715992","filename":"file5"},{"photo_id":"1351715593","filename":"file2"},{"photo_id":"1351715908","filename":"file4"},{"photo_id":"1351715339","filename":"file1"},{"photo_id":"1351715098","filename":"file0"},{"photo_id":"1351715842","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351715992":["hashtag1","hashtag2"]},{"1351715842":["hashtag1","hashtag2"]},{"1351715908":["hashtag1","hashtag2"]},{"1351715339":["hashtag1","hashtag2"]},{"1351715593":["hashtag1","hashtag2"]},{"1351715098":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351715992, 1351715842, 1351715908, 1351715339, 1351715593, 1351715098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.64866089820862 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 15:30:32.385504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/13/50/image_11042025_13_50_55_9373.jpg', '/home/pi/Desktop/images/11042025/13/50/image_11042025_13_51_05_10430.jpg', '/home/pi/Desktop/images/11042025/13/51/image_11042025_13_51_15_9459.jpg', '/home/pi/Desktop/images/11042025/13/51/image_11042025_13_51_25_10373.jpg', '/home/pi/Desktop/images/11042025/13/51/image_11042025_13_51_36_10348.jpg', '/home/pi/Desktop/images/11042025/13/51/image_11042025_13_51_45_9342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/13/50/image_11042025_13_50_55_9373.jpg
/home/pi/Desktop/images/11042025/13/50/image_11042025_13_51_05_10430.jpg
/home/pi/Desktop/images/11042025/13/51/image_11042025_13_51_15_9459.jpg
/home/pi/Desktop/images/11042025/13/51/image_11042025_13_51_25_10373.jpg
/home/pi/Desktop/images/11042025/13/51/image_11042025_13_51_36_10348.jpg
/home/pi/Desktop/images/11042025/13/51/image_11042025_13_51_45_9342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351716340","1351716334","1351716249","1351716339","1351716296","1351716338"],"photo_ids_order":["1351716249","1351716296","1351716334","1351716338","1351716339","1351716340"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ac92c7aef67bbc5f62c5d59fceaff7ce.jpg","text":"TemporaryFile(/tmp/multipartBody2635979745551489795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378292839,"filename":"image_11042025_13_51_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/11/5ebf0b19bd21bfeb60a97599d1daa47f.jpg","text":"TemporaryFile(/tmp/multipartBody6662314161788917184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378292839,"filename":"image_11042025_13_51_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/11/3a569638011d058452b8521c976ff322.jpg","text":"TemporaryFile(/tmp/multipartBody5514770125667704486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378292839,"filename":"image_11042025_13_50_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/11/18c7216de42e690c43f7f0d93add413b.jpg","text":"TemporaryFile(/tmp/multipartBody1889513827259237810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378292839,"filename":"image_11042025_13_51_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/11/c3b0f4303dd5a7219b155b39ac4ed7d6.jpg","text":"TemporaryFile(/tmp/multipartBody7265668342060576031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378292839,"filename":"image_11042025_13_51_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/11/5c3ce5947659c5218d6a84433c3b5fb4.jpg","text":"TemporaryFile(/tmp/multipartBody2835651328301156667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378292839,"filename":"image_11042025_13_51_25_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351716334","file1":"1351716296","file0":"1351716249","file4":"1351716339","file5":"1351716340","file3":"1351716338"},"map_files_photo_id_array":[{"photo_id":"1351716340","filename":"file5"},{"photo_id":"1351716334","filename":"file2"},{"photo_id":"1351716339","filename":"file4"},{"photo_id":"1351716296","filename":"file1"},{"photo_id":"1351716249","filename":"file0"},{"photo_id":"1351716338","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351716340":["hashtag1","hashtag2"]},{"1351716334":["hashtag1","hashtag2"]},{"1351716249":["hashtag1","hashtag2"]},{"1351716339":["hashtag1","hashtag2"]},{"1351716296":["hashtag1","hashtag2"]},{"1351716338":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351716340, 1351716334, 1351716249, 1351716339, 1351716296, 1351716338)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.116337299346924 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 15:31:32.466641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/13/51/image_11042025_13_51_55_10390.jpg', '/home/pi/Desktop/images/11042025/13/51/image_11042025_13_52_06_10384.jpg', '/home/pi/Desktop/images/11042025/13/52/image_11042025_13_52_15_9348.jpg', '/home/pi/Desktop/images/11042025/13/52/image_11042025_13_52_25_10358.jpg', '/home/pi/Desktop/images/11042025/13/52/image_11042025_13_52_35_9442.jpg', '/home/pi/Desktop/images/11042025/13/52/image_11042025_13_52_45_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/13/51/image_11042025_13_51_55_10390.jpg
/home/pi/Desktop/images/11042025/13/51/image_11042025_13_52_06_10384.jpg
/home/pi/Desktop/images/11042025/13/52/image_11042025_13_52_15_9348.jpg
/home/pi/Desktop/images/11042025/13/52/image_11042025_13_52_25_10358.jpg
/home/pi/Desktop/images/11042025/13/52/image_11042025_13_52_35_9442.jpg
/home/pi/Desktop/images/11042025/13/52/image_11042025_13_52_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":["1351716996","1351716663","1351716843","1351717087","1351717048","1351716925"],"photo_ids_order":["1351716663","1351716843","1351716925","1351716996","1351717048","1351717087"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ae11d2a1996be8cdd0f5ae6601af37fb.jpg","text":"TemporaryFile(/tmp/multipartBody643501212930423385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378352934,"filename":"image_11042025_13_52_25_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4259af7e2c77bbfc47addc244c9c65a9.jpg","text":"TemporaryFile(/tmp/multipartBody8213994420110129729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378352934,"filename":"image_11042025_13_51_55_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f1f14027f204a469b9ea41307eb4e832.jpg","text":"TemporaryFile(/tmp/multipartBody7070804383921719192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378352934,"filename":"image_11042025_13_52_06_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1c1d506f1e818e6f2433fef80fd210b1.jpg","text":"TemporaryFile(/tmp/multipartBody4626796625603050557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378352934,"filename":"image_11042025_13_52_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/11/b41e6b3786359d8147624546ab9c2e57.jpg","text":"TemporaryFile(/tmp/multipartBody1302794479518130121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378352934,"filename":"image_11042025_13_52_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/11/f60e2bd5152f2c3746cfeb975575985e.jpg","text":"TemporaryFile(/tmp/multipartBody6648220954196006214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378352934,"filename":"image_11042025_13_52_15_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351716925","file1":"1351716843","file0":"1351716663","file4":"1351717048","file5":"1351717087","file3":"1351716996"},"map_files_photo_id_array":[{"photo_id":"1351717087","filename":"file5"},{"photo_id":"1351716925","filename":"file2"},{"photo_id":"1351717048","filename":"file4"},{"photo_id":"1351716843","filename":"file1"},{"photo_id":"1351716663","filename":"file0"},{"photo_id":"1351716996","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351716996":["hashtag1","hashtag2"]},{"1351716663":["hashtag1","hashtag2"]},{"1351716843":["hashtag1","hashtag2"]},{"1351717087":["hashtag1","hashtag2"]},{"1351717048":["hashtag1","hashtag2"]},{"1351716925":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351716996, 1351716663, 1351716843, 1351717087, 1351717048, 1351716925)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.58740210533142 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 15:32:32.674029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/13/52/image_11042025_13_52_56_10352.jpg', '/home/pi/Desktop/images/11042025/13/52/image_11042025_13_53_05_9355.jpg', '/home/pi/Desktop/images/11042025/13/53/image_11042025_13_53_15_10404.jpg', '/home/pi/Desktop/images/11042025/13/53/image_11042025_13_53_26_10368.jpg', '/home/pi/Desktop/images/11042025/13/53/image_11042025_13_53_35_9376.jpg', '/home/pi/Desktop/images/11042025/13/53/image_11042025_13_53_45_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/13/52/image_11042025_13_52_56_10352.jpg
/home/pi/Desktop/images/11042025/13/52/image_11042025_13_53_05_9355.jpg
/home/pi/Desktop/images/11042025/13/53/image_11042025_13_53_15_10404.jpg
/home/pi/Desktop/images/11042025/13/53/image_11042025_13_53_26_10368.jpg
/home/pi/Desktop/images/11042025/13/53/image_11042025_13_53_35_9376.jpg
/home/pi/Desktop/images/11042025/13/53/image_11042025_13_53_45_10351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351717887","1351717568","1351717814","1351717651","1351717735","1351717603"],"photo_ids_order":["1351717568","1351717603","1351717651","1351717735","1351717814","1351717887"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c65ef0c205712a4c7fca0ea1abf3877f.jpg","text":"TemporaryFile(/tmp/multipartBody1914090639330661209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378413132,"filename":"image_11042025_13_53_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/11/996e9e33597fbe040e6cdc995273f67a.jpg","text":"TemporaryFile(/tmp/multipartBody3271282992596744117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378413132,"filename":"image_11042025_13_52_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/11/a8764a8ab825d612620990aeaaa336a1.jpg","text":"TemporaryFile(/tmp/multipartBody750473523277867128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378413132,"filename":"image_11042025_13_53_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/11/d8a7f5a73d0969b5ef714edc00c84268.jpg","text":"TemporaryFile(/tmp/multipartBody6046364694909727011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378413132,"filename":"image_11042025_13_53_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/11/d1ffb6efc81a455b5930b6aaf3138d8e.jpg","text":"TemporaryFile(/tmp/multipartBody8411144600109131543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378413132,"filename":"image_11042025_13_53_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/11/20287e671dd2c4d6876327323d9ee336.jpg","text":"TemporaryFile(/tmp/multipartBody25287384590351394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378413132,"filename":"image_11042025_13_53_05_9355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351717651","file1":"1351717603","file0":"1351717568","file4":"1351717814","file5":"1351717887","file3":"1351717735"},"map_files_photo_id_array":[{"photo_id":"1351717887","filename":"file5"},{"photo_id":"1351717651","filename":"file2"},{"photo_id":"1351717814","filename":"file4"},{"photo_id":"1351717603","filename":"file1"},{"photo_id":"1351717568","filename":"file0"},{"photo_id":"1351717735","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351717887":["hashtag1","hashtag2"]},{"1351717568":["hashtag1","hashtag2"]},{"1351717814":["hashtag1","hashtag2"]},{"1351717651":["hashtag1","hashtag2"]},{"1351717735":["hashtag1","hashtag2"]},{"1351717603":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351717887, 1351717568, 1351717814, 1351717651, 1351717735, 1351717603)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.558114767074585 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 15:33:32.949131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/13/53/image_11042025_13_53_55_9393.jpg', '/home/pi/Desktop/images/11042025/13/53/image_11042025_13_54_05_10375.jpg', '/home/pi/Desktop/images/11042025/13/54/image_11042025_13_54_16_10427.jpg', '/home/pi/Desktop/images/11042025/13/54/image_11042025_13_54_25_9428.jpg', '/home/pi/Desktop/images/11042025/13/54/image_11042025_13_54_35_10367.jpg', '/home/pi/Desktop/images/11042025/13/54/image_11042025_13_54_45_9415.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/13/53/image_11042025_13_53_55_9393.jpg
/home/pi/Desktop/images/11042025/13/53/image_11042025_13_54_05_10375.jpg
/home/pi/Desktop/images/11042025/13/54/image_11042025_13_54_16_10427.jpg
/home/pi/Desktop/images/11042025/13/54/image_11042025_13_54_25_9428.jpg
/home/pi/Desktop/images/11042025/13/54/image_11042025_13_54_35_10367.jpg
/home/pi/Desktop/images/11042025/13/54/image_11042025_13_54_45_9415.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351718439","1351718498","1351718336","1351718246","1351718210","1351718557"],"photo_ids_order":["1351718210","1351718246","1351718336","1351718439","1351718498","1351718557"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/80b11281962547078faa2e23690b48c0.jpg","text":"TemporaryFile(/tmp/multipartBody4225721365735011932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378473406,"filename":"image_11042025_13_54_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/11/ce7e56c54c616fd5fa6532a77cef21f1.jpg","text":"TemporaryFile(/tmp/multipartBody761503905009980745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378473406,"filename":"image_11042025_13_54_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/11/1b1ceac16558792c48550b0a179f8f8c.jpg","text":"TemporaryFile(/tmp/multipartBody5183661466784129230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378473406,"filename":"image_11042025_13_54_16_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9d497b633a76ddc1fc6bf54a2891328e.jpg","text":"TemporaryFile(/tmp/multipartBody561778956707575203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378473406,"filename":"image_11042025_13_54_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/11/aaa24f6c24ade85bec03b7a09ea1d192.jpg","text":"TemporaryFile(/tmp/multipartBody4003594374828614764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378473406,"filename":"image_11042025_13_53_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/11/ca1b2473ddff853414876f9d6ffc0986.jpg","text":"TemporaryFile(/tmp/multipartBody5501295568023379636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378473406,"filename":"image_11042025_13_54_45_9415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351718336","file1":"1351718246","file0":"1351718210","file4":"1351718498","file5":"1351718557","file3":"1351718439"},"map_files_photo_id_array":[{"photo_id":"1351718557","filename":"file5"},{"photo_id":"1351718336","filename":"file2"},{"photo_id":"1351718498","filename":"file4"},{"photo_id":"1351718246","filename":"file1"},{"photo_id":"1351718210","filename":"file0"},{"photo_id":"1351718439","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351718439":["hashtag1","hashtag2"]},{"1351718498":["hashtag1","hashtag2"]},{"1351718336":["hashtag1","hashtag2"]},{"1351718246":["hashtag1","hashtag2"]},{"1351718210":["hashtag1","hashtag2"]},{"1351718557":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351718439, 1351718498, 1351718336, 1351718246, 1351718210, 1351718557)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.97136092185974 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 15:34:32.179963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/13/55/image_11042025_13_55_15_9520.jpg', '/home/pi/Desktop/images/11042025/13/55/image_11042025_13_55_26_10608.jpg', '/home/pi/Desktop/images/11042025/13/55/image_11042025_13_55_35_9426.jpg', '/home/pi/Desktop/images/11042025/13/55/image_11042025_13_55_45_10357.jpg', '/home/pi/Desktop/images/11042025/13/55/image_11042025_13_56_05_10363.jpg', '/home/pi/Desktop/images/11042025/13/56/image_11042025_13_56_16_10384.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/13/55/image_11042025_13_55_15_9520.jpg
/home/pi/Desktop/images/11042025/13/55/image_11042025_13_55_26_10608.jpg
/home/pi/Desktop/images/11042025/13/55/image_11042025_13_55_35_9426.jpg
/home/pi/Desktop/images/11042025/13/55/image_11042025_13_55_45_10357.jpg
/home/pi/Desktop/images/11042025/13/55/image_11042025_13_56_05_10363.jpg
/home/pi/Desktop/images/11042025/13/56/image_11042025_13_56_16_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":["1351719845","1351719601","1351719693","1351719090","1351719360","1351719225"],"photo_ids_order":["1351719090","1351719225","1351719360","1351719601","1351719693","1351719845"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2231a945a53f48c8b251a4a78f52e55a.jpg","text":"TemporaryFile(/tmp/multipartBody2554298482706242580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378532640,"filename":"image_11042025_13_56_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/11/6a626e499b65a7d6ffcb3c25eff303a2.jpg","text":"TemporaryFile(/tmp/multipartBody7093053703724636230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378532640,"filename":"image_11042025_13_55_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/11/a13219646146dd4a0d441f49fb2da695.jpg","text":"TemporaryFile(/tmp/multipartBody5735772968808603668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378532640,"filename":"image_11042025_13_56_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/11/da9ef0937e7cfc75ecce9fd24406cead.jpg","text":"TemporaryFile(/tmp/multipartBody2343364238495872423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378532640,"filename":"image_11042025_13_55_15_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/11/2b5023d88da5d664ecfd8bed90f130b3.jpg","text":"TemporaryFile(/tmp/multipartBody3071979987556923873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378532640,"filename":"image_11042025_13_55_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/11/8c06f5c66315e31c84aac4ba21b4de27.jpg","text":"TemporaryFile(/tmp/multipartBody1728377840830278462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378532640,"filename":"image_11042025_13_55_26_10608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351719360","file1":"1351719225","file0":"1351719090","file4":"1351719693","file5":"1351719845","file3":"1351719601"},"map_files_photo_id_array":[{"photo_id":"1351719845","filename":"file5"},{"photo_id":"1351719360","filename":"file2"},{"photo_id":"1351719693","filename":"file4"},{"photo_id":"1351719225","filename":"file1"},{"photo_id":"1351719090","filename":"file0"},{"photo_id":"1351719601","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351719845":["hashtag1","hashtag2"]},{"1351719601":["hashtag1","hashtag2"]},{"1351719693":["hashtag1","hashtag2"]},{"1351719090":["hashtag1","hashtag2"]},{"1351719360":["hashtag1","hashtag2"]},{"1351719225":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351719845, 1351719601, 1351719693, 1351719090, 1351719360, 1351719225)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.0688099861145 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 15:35:32.422599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/13/56/image_11042025_13_56_25_9343.jpg', '/home/pi/Desktop/images/11042025/13/56/image_11042025_13_56_35_10345.jpg', '/home/pi/Desktop/images/11042025/13/56/image_11042025_13_56_46_10357.jpg', '/home/pi/Desktop/images/11042025/13/56/image_11042025_13_56_55_9410.jpg', '/home/pi/Desktop/images/11042025/13/56/image_11042025_13_57_05_10364.jpg', '/home/pi/Desktop/images/11042025/13/57/image_11042025_13_57_15_9371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/13/56/image_11042025_13_56_25_9343.jpg
/home/pi/Desktop/images/11042025/13/56/image_11042025_13_56_35_10345.jpg
/home/pi/Desktop/images/11042025/13/56/image_11042025_13_56_46_10357.jpg
/home/pi/Desktop/images/11042025/13/56/image_11042025_13_56_55_9410.jpg
/home/pi/Desktop/images/11042025/13/56/image_11042025_13_57_05_10364.jpg
/home/pi/Desktop/images/11042025/13/57/image_11042025_13_57_15_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":["1351720422","1351720466","1351720513","1351720315","1351720374","1351720248"],"photo_ids_order":["1351720248","1351720315","1351720374","1351720422","1351720466","1351720513"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7d4e4b72c3ba1dc16a53aadc3d734b0d.jpg","text":"TemporaryFile(/tmp/multipartBody4702355545038806960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378592885,"filename":"image_11042025_13_56_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/11/cd2b16338d4b3d6625ea06afe0ce6fd1.jpg","text":"TemporaryFile(/tmp/multipartBody2872871065227327254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378592885,"filename":"image_11042025_13_57_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/11/171ada2041a2c08f87a3f44768ffbb91.jpg","text":"TemporaryFile(/tmp/multipartBody3460530981302970437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378592885,"filename":"image_11042025_13_57_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/11/3ea281c939a03b4926013f46477280a1.jpg","text":"TemporaryFile(/tmp/multipartBody291848968226153796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378592885,"filename":"image_11042025_13_56_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/11/66cd806684e2be74e9b011f1f08f23a9.jpg","text":"TemporaryFile(/tmp/multipartBody976996479312855877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378592885,"filename":"image_11042025_13_56_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/11/e35206596f3a1fd6de71c51b8eb39306.jpg","text":"TemporaryFile(/tmp/multipartBody6614249382816548577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378592885,"filename":"image_11042025_13_56_25_9343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351720374","file1":"1351720315","file0":"1351720248","file4":"1351720466","file5":"1351720513","file3":"1351720422"},"map_files_photo_id_array":[{"photo_id":"1351720513","filename":"file5"},{"photo_id":"1351720374","filename":"file2"},{"photo_id":"1351720466","filename":"file4"},{"photo_id":"1351720315","filename":"file1"},{"photo_id":"1351720248","filename":"file0"},{"photo_id":"1351720422","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351720422":["hashtag1","hashtag2"]},{"1351720466":["hashtag1","hashtag2"]},{"1351720513":["hashtag1","hashtag2"]},{"1351720315":["hashtag1","hashtag2"]},{"1351720374":["hashtag1","hashtag2"]},{"1351720248":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351720422, 1351720466, 1351720513, 1351720315, 1351720374, 1351720248)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.69486331939697 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 15:36:32.669622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/13/57/image_11042025_13_57_25_10360.jpg', '/home/pi/Desktop/images/11042025/13/57/image_11042025_13_57_36_10368.jpg', '/home/pi/Desktop/images/11042025/13/57/image_11042025_13_57_45_9358.jpg', '/home/pi/Desktop/images/11042025/13/57/image_11042025_13_57_55_10383.jpg', '/home/pi/Desktop/images/11042025/13/58/image_11042025_13_58_15_9420.jpg', '/home/pi/Desktop/images/11042025/13/58/image_11042025_13_58_25_10346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/13/57/image_11042025_13_57_25_10360.jpg
/home/pi/Desktop/images/11042025/13/57/image_11042025_13_57_36_10368.jpg
/home/pi/Desktop/images/11042025/13/57/image_11042025_13_57_45_9358.jpg
/home/pi/Desktop/images/11042025/13/57/image_11042025_13_57_55_10383.jpg
/home/pi/Desktop/images/11042025/13/58/image_11042025_13_58_15_9420.jpg
/home/pi/Desktop/images/11042025/13/58/image_11042025_13_58_25_10346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351720943","1351721089","1351721230","1351721014","1351721166","1351721270"],"photo_ids_order":["1351720943","1351721014","1351721089","1351721166","1351721230","1351721270"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6e0db2f1a3db16a4d4e75394b09460f2.jpg","text":"TemporaryFile(/tmp/multipartBody4447211339539957402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378653141,"filename":"image_11042025_13_57_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/11/a9239cc5a1761850983ad993a42e6378.jpg","text":"TemporaryFile(/tmp/multipartBody5307564877170796955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378653141,"filename":"image_11042025_13_57_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/11/88698123e812f339194f069a9bd30ad9.jpg","text":"TemporaryFile(/tmp/multipartBody799971555027025819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378653141,"filename":"image_11042025_13_58_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/11/5ab0aae6289a99eafc3a6f72b2f59d40.jpg","text":"TemporaryFile(/tmp/multipartBody4107803060735763093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378653141,"filename":"image_11042025_13_57_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/11/5cdfd92e3c5616cbbd73e2eabba1a43b.jpg","text":"TemporaryFile(/tmp/multipartBody1394672168326652378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378653141,"filename":"image_11042025_13_57_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/11/27a238ef28be088f2965a5bf811b8e2b.jpg","text":"TemporaryFile(/tmp/multipartBody3802929560152452630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378653141,"filename":"image_11042025_13_58_25_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351721089","file1":"1351721014","file0":"1351720943","file4":"1351721230","file5":"1351721270","file3":"1351721166"},"map_files_photo_id_array":[{"photo_id":"1351721270","filename":"file5"},{"photo_id":"1351721089","filename":"file2"},{"photo_id":"1351721230","filename":"file4"},{"photo_id":"1351721014","filename":"file1"},{"photo_id":"1351720943","filename":"file0"},{"photo_id":"1351721166","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351720943":["hashtag1","hashtag2"]},{"1351721089":["hashtag1","hashtag2"]},{"1351721230":["hashtag1","hashtag2"]},{"1351721014":["hashtag1","hashtag2"]},{"1351721166":["hashtag1","hashtag2"]},{"1351721270":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351720943, 1351721089, 1351721230, 1351721014, 1351721166, 1351721270)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.48137068748474 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 15:37:32.709988
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/13/58/image_11042025_13_58_35_9412.jpg', '/home/pi/Desktop/images/11042025/13/58/image_11042025_13_58_45_10371.jpg', '/home/pi/Desktop/images/11042025/13/58/image_11042025_13_58_56_10347.jpg', '/home/pi/Desktop/images/11042025/13/58/image_11042025_13_59_05_9367.jpg', '/home/pi/Desktop/images/11042025/13/59/image_11042025_13_59_15_10378.jpg', '/home/pi/Desktop/images/11042025/13/59/image_11042025_13_59_26_10347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/13/58/image_11042025_13_58_35_9412.jpg
/home/pi/Desktop/images/11042025/13/58/image_11042025_13_58_45_10371.jpg
/home/pi/Desktop/images/11042025/13/58/image_11042025_13_58_56_10347.jpg
/home/pi/Desktop/images/11042025/13/58/image_11042025_13_59_05_9367.jpg
/home/pi/Desktop/images/11042025/13/59/image_11042025_13_59_15_10378.jpg
/home/pi/Desktop/images/11042025/13/59/image_11042025_13_59_26_10347.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351721642","1351721632","1351721620","1351721568","1351721661","1351721523"],"photo_ids_order":["1351721523","1351721568","1351721620","1351721632","1351721642","1351721661"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7cb1203adbd116385dd0560aa576e259.jpg","text":"TemporaryFile(/tmp/multipartBody89930021472527237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378713231,"filename":"image_11042025_13_59_15_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/66d7b16200d2fd9fa8c9a286c3556251.jpg","text":"TemporaryFile(/tmp/multipartBody6414735371195275468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378713231,"filename":"image_11042025_13_59_05_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c81cabfe0a5a9d050c57b305c01e6e13.jpg","text":"TemporaryFile(/tmp/multipartBody5135733655249127476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378713231,"filename":"image_11042025_13_58_56_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e97db17a11dc311876e75a146704ca3e.jpg","text":"TemporaryFile(/tmp/multipartBody1576613906844091661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378713231,"filename":"image_11042025_13_58_45_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8e84c6f1693b09eb8d7387bfda219f22.jpg","text":"TemporaryFile(/tmp/multipartBody2090261448229805187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378713231,"filename":"image_11042025_13_59_26_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1badba030d3940195c40bda687d659ec.jpg","text":"TemporaryFile(/tmp/multipartBody815277280689818654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378713231,"filename":"image_11042025_13_58_35_9412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351721620","file1":"1351721568","file0":"1351721523","file4":"1351721642","file5":"1351721661","file3":"1351721632"},"map_files_photo_id_array":[{"photo_id":"1351721661","filename":"file5"},{"photo_id":"1351721620","filename":"file2"},{"photo_id":"1351721642","filename":"file4"},{"photo_id":"1351721568","filename":"file1"},{"photo_id":"1351721523","filename":"file0"},{"photo_id":"1351721632","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351721642":["hashtag1","hashtag2"]},{"1351721632":["hashtag1","hashtag2"]},{"1351721620":["hashtag1","hashtag2"]},{"1351721568":["hashtag1","hashtag2"]},{"1351721661":["hashtag1","hashtag2"]},{"1351721523":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351721642, 1351721632, 1351721620, 1351721568, 1351721661, 1351721523)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.243013858795166 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 15:38:33.049162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/13/59/image_11042025_13_59_35_9458.jpg', '/home/pi/Desktop/images/11042025/13/59/image_11042025_13_59_46_10467.jpg', '/home/pi/Desktop/images/11042025/13/59/image_11042025_13_59_55_9456.jpg', '/home/pi/Desktop/images/11042025/14/00/image_11042025_14_00_16_10073.jpg', '/home/pi/Desktop/images/11042025/14/00/image_11042025_14_00_26_10377.jpg', '/home/pi/Desktop/images/11042025/14/00/image_11042025_14_00_37_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/13/59/image_11042025_13_59_35_9458.jpg
/home/pi/Desktop/images/11042025/13/59/image_11042025_13_59_46_10467.jpg
/home/pi/Desktop/images/11042025/13/59/image_11042025_13_59_55_9456.jpg
/home/pi/Desktop/images/11042025/14/00/image_11042025_14_00_16_10073.jpg
/home/pi/Desktop/images/11042025/14/00/image_11042025_14_00_26_10377.jpg
/home/pi/Desktop/images/11042025/14/00/image_11042025_14_00_37_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":["1351722014","1351721945","1351721810","1351722084","1351721905","1351722150"],"photo_ids_order":["1351721810","1351721905","1351721945","1351722014","1351722084","1351722150"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b586f479eef5fa0ec48e63405c9073d0.jpg","text":"TemporaryFile(/tmp/multipartBody532399541231594175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378773759,"filename":"image_11042025_14_00_16_10073.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5c6019959fb583e33e5abe4562e299a3.jpg","text":"TemporaryFile(/tmp/multipartBody6174208565899565586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378773759,"filename":"image_11042025_13_59_55_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a0b6f5bf545d78593583fb2815704d06.jpg","text":"TemporaryFile(/tmp/multipartBody5413412242305995609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378773759,"filename":"image_11042025_13_59_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/11/91b5bdd92d29be2e71dc80ecc889a0d0.jpg","text":"TemporaryFile(/tmp/multipartBody4913947441960198945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378773759,"filename":"image_11042025_14_00_26_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/cb94d5ff4f51c620ff7473d1e4e9f210.jpg","text":"TemporaryFile(/tmp/multipartBody3341047445070561908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378773759,"filename":"image_11042025_13_59_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/11/b920a6072abc08002ce4571517412267.jpg","text":"TemporaryFile(/tmp/multipartBody6808378280213793137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378773759,"filename":"image_11042025_14_00_37_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351721945","file1":"1351721905","file0":"1351721810","file4":"1351722084","file5":"1351722150","file3":"1351722014"},"map_files_photo_id_array":[{"photo_id":"1351722150","filename":"file5"},{"photo_id":"1351721945","filename":"file2"},{"photo_id":"1351722084","filename":"file4"},{"photo_id":"1351721905","filename":"file1"},{"photo_id":"1351721810","filename":"file0"},{"photo_id":"1351722014","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351722014":["hashtag1","hashtag2"]},{"1351721945":["hashtag1","hashtag2"]},{"1351721810":["hashtag1","hashtag2"]},{"1351722084":["hashtag1","hashtag2"]},{"1351721905":["hashtag1","hashtag2"]},{"1351722150":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351722014, 1351721945, 1351721810, 1351722084, 1351721905, 1351722150)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.24937391281128 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 15:39:33.194863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/14/00/image_11042025_14_00_46_9436.jpg', '/home/pi/Desktop/images/11042025/14/00/image_11042025_14_00_56_10350.jpg', '/home/pi/Desktop/images/11042025/14/00/image_11042025_14_01_06_9492.jpg', '/home/pi/Desktop/images/11042025/14/01/image_11042025_14_01_16_10351.jpg', '/home/pi/Desktop/images/11042025/14/01/image_11042025_14_01_27_10381.jpg', '/home/pi/Desktop/images/11042025/14/01/image_11042025_14_01_36_9429.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/14/00/image_11042025_14_00_46_9436.jpg
/home/pi/Desktop/images/11042025/14/00/image_11042025_14_00_56_10350.jpg
/home/pi/Desktop/images/11042025/14/00/image_11042025_14_01_06_9492.jpg
/home/pi/Desktop/images/11042025/14/01/image_11042025_14_01_16_10351.jpg
/home/pi/Desktop/images/11042025/14/01/image_11042025_14_01_27_10381.jpg
/home/pi/Desktop/images/11042025/14/01/image_11042025_14_01_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":["1351722874","1351723117","1351722772","1351723035","1351723169","1351722644"],"photo_ids_order":["1351722644","1351722772","1351722874","1351723035","1351723117","1351723169"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9bfc00557e5067b7bc66363c4ad44d62.jpg","text":"TemporaryFile(/tmp/multipartBody710222032675257217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378833655,"filename":"image_11042025_14_01_06_9492.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4ca810d1a2d06755c647333aefe6bd57.jpg","text":"TemporaryFile(/tmp/multipartBody2645938530429238228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378833655,"filename":"image_11042025_14_01_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/11/9b0db6752113afb27f56fac7cf36cb30.jpg","text":"TemporaryFile(/tmp/multipartBody3294316110243897268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378833655,"filename":"image_11042025_14_00_56_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c55c28dc5f88b1f506f3af6e48a6af96.jpg","text":"TemporaryFile(/tmp/multipartBody7875060343495760843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378833655,"filename":"image_11042025_14_01_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/11/30f03312506b86dccc319ca285b34663.jpg","text":"TemporaryFile(/tmp/multipartBody4492255048313056716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378833655,"filename":"image_11042025_14_01_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/11/d640d39c8c193f45235ea606abedeac8.jpg","text":"TemporaryFile(/tmp/multipartBody5417372604793349878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378833655,"filename":"image_11042025_14_00_46_9436.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351722874","file1":"1351722772","file0":"1351722644","file4":"1351723117","file5":"1351723169","file3":"1351723035"},"map_files_photo_id_array":[{"photo_id":"1351723169","filename":"file5"},{"photo_id":"1351722874","filename":"file2"},{"photo_id":"1351723117","filename":"file4"},{"photo_id":"1351722772","filename":"file1"},{"photo_id":"1351722644","filename":"file0"},{"photo_id":"1351723035","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351722874":["hashtag1","hashtag2"]},{"1351723117":["hashtag1","hashtag2"]},{"1351722772":["hashtag1","hashtag2"]},{"1351723035":["hashtag1","hashtag2"]},{"1351723169":["hashtag1","hashtag2"]},{"1351722644":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351722874, 1351723117, 1351722772, 1351723035, 1351723169, 1351722644)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.79238295555115 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 15:40:32.405001
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/14/01/image_11042025_14_01_46_10384.jpg', '/home/pi/Desktop/images/11042025/14/01/image_11042025_14_01_56_9416.jpg', '/home/pi/Desktop/images/11042025/14/01/image_11042025_14_02_06_10350.jpg', '/home/pi/Desktop/images/11042025/14/02/image_11042025_14_02_17_10351.jpg', '/home/pi/Desktop/images/11042025/14/02/image_11042025_14_02_26_9481.jpg', '/home/pi/Desktop/images/11042025/14/02/image_11042025_14_02_36_10349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/14/01/image_11042025_14_01_46_10384.jpg
/home/pi/Desktop/images/11042025/14/01/image_11042025_14_01_56_9416.jpg
/home/pi/Desktop/images/11042025/14/01/image_11042025_14_02_06_10350.jpg
/home/pi/Desktop/images/11042025/14/02/image_11042025_14_02_17_10351.jpg
/home/pi/Desktop/images/11042025/14/02/image_11042025_14_02_26_9481.jpg
/home/pi/Desktop/images/11042025/14/02/image_11042025_14_02_36_10349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351723882","1351723684","1351723618","1351723749","1351723527","1351723799"],"photo_ids_order":["1351723527","1351723618","1351723684","1351723749","1351723799","1351723882"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/88cf27fdcf229f750d515b2e20a0b4b3.jpg","text":"TemporaryFile(/tmp/multipartBody5416861285326659989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378892863,"filename":"image_11042025_14_02_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/11/dc5304b554f3235f96e2bdbb505aedff.jpg","text":"TemporaryFile(/tmp/multipartBody5537931254711917808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378892863,"filename":"image_11042025_14_02_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/11/cbc0ebf5c051c2d9ee90c719711022fb.jpg","text":"TemporaryFile(/tmp/multipartBody181393488636830481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378892863,"filename":"image_11042025_14_01_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/11/6971885dd2803049f947fb3bbfe9752d.jpg","text":"TemporaryFile(/tmp/multipartBody356523354351860703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378892863,"filename":"image_11042025_14_02_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/11/5814cc97fa1e9fc1344fd864b1fa4496.jpg","text":"TemporaryFile(/tmp/multipartBody3883270081235916839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378892863,"filename":"image_11042025_14_01_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/11/31aa8e66ff4e051b54a29a26844c506b.jpg","text":"TemporaryFile(/tmp/multipartBody5348022237749956541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378892863,"filename":"image_11042025_14_02_26_9481.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351723684","file1":"1351723618","file0":"1351723527","file4":"1351723799","file5":"1351723882","file3":"1351723749"},"map_files_photo_id_array":[{"photo_id":"1351723882","filename":"file5"},{"photo_id":"1351723684","filename":"file2"},{"photo_id":"1351723799","filename":"file4"},{"photo_id":"1351723618","filename":"file1"},{"photo_id":"1351723527","filename":"file0"},{"photo_id":"1351723749","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351723882":["hashtag1","hashtag2"]},{"1351723684":["hashtag1","hashtag2"]},{"1351723618":["hashtag1","hashtag2"]},{"1351723749":["hashtag1","hashtag2"]},{"1351723527":["hashtag1","hashtag2"]},{"1351723799":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351723882, 1351723684, 1351723618, 1351723749, 1351723527, 1351723799)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.9026153087616 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 15:41:32.601384
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/14/02/image_11042025_14_02_46_9475.jpg', '/home/pi/Desktop/images/11042025/14/02/image_11042025_14_02_56_10465.jpg', '/home/pi/Desktop/images/11042025/14/02/image_11042025_14_03_07_10339.jpg', '/home/pi/Desktop/images/11042025/14/03/image_11042025_14_03_16_9426.jpg', '/home/pi/Desktop/images/11042025/14/03/image_11042025_14_03_26_10374.jpg', '/home/pi/Desktop/images/11042025/14/03/image_11042025_14_03_36_9397.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/14/02/image_11042025_14_02_46_9475.jpg
/home/pi/Desktop/images/11042025/14/02/image_11042025_14_02_56_10465.jpg
/home/pi/Desktop/images/11042025/14/02/image_11042025_14_03_07_10339.jpg
/home/pi/Desktop/images/11042025/14/03/image_11042025_14_03_16_9426.jpg
/home/pi/Desktop/images/11042025/14/03/image_11042025_14_03_26_10374.jpg
/home/pi/Desktop/images/11042025/14/03/image_11042025_14_03_36_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.37497639656066895 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 15:41:42.593827
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/14/02/image_11042025_14_02_46_9475.jpg', '/home/pi/Desktop/images/11042025/14/02/image_11042025_14_02_56_10465.jpg', '/home/pi/Desktop/images/11042025/14/02/image_11042025_14_03_07_10339.jpg', '/home/pi/Desktop/images/11042025/14/03/image_11042025_14_03_16_9426.jpg', '/home/pi/Desktop/images/11042025/14/03/image_11042025_14_03_26_10374.jpg', '/home/pi/Desktop/images/11042025/14/03/image_11042025_14_03_36_9397.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/14/02/image_11042025_14_02_46_9475.jpg
/home/pi/Desktop/images/11042025/14/02/image_11042025_14_02_56_10465.jpg
/home/pi/Desktop/images/11042025/14/02/image_11042025_14_03_07_10339.jpg
/home/pi/Desktop/images/11042025/14/03/image_11042025_14_03_16_9426.jpg
/home/pi/Desktop/images/11042025/14/03/image_11042025_14_03_26_10374.jpg
/home/pi/Desktop/images/11042025/14/03/image_11042025_14_03_36_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":["1351724286","1351724259","1351724310","1351724354","1351724228","1351724332"],"photo_ids_order":["1351724228","1351724259","1351724286","1351724310","1351724332","1351724354"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c3af5b0a17d0f4c5fbe710ae392ebc8b.jpg","text":"TemporaryFile(/tmp/multipartBody2008501311586573071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378963067,"filename":"image_11042025_14_03_07_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/029417058e3d2562896920a3911bc5fa.jpg","text":"TemporaryFile(/tmp/multipartBody6573666787626800826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378963067,"filename":"image_11042025_14_02_56_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/fc638bb1437f5954b80647048e82379a.jpg","text":"TemporaryFile(/tmp/multipartBody273791343198768885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378963067,"filename":"image_11042025_14_03_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/11/ea1bd564ce0c29bd2f9daf9989fbfc4f.jpg","text":"TemporaryFile(/tmp/multipartBody4698912763766273350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378963067,"filename":"image_11042025_14_03_36_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c58025497bbbdc2f7d6aef721d3afec8.jpg","text":"TemporaryFile(/tmp/multipartBody47342500652777479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378963067,"filename":"image_11042025_14_02_46_9475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e14746de44cd4106556b7a7e605ee899.jpg","text":"TemporaryFile(/tmp/multipartBody7656314524910108355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744378963067,"filename":"image_11042025_14_03_26_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351724286","file1":"1351724259","file0":"1351724228","file4":"1351724332","file5":"1351724354","file3":"1351724310"},"map_files_photo_id_array":[{"photo_id":"1351724354","filename":"file5"},{"photo_id":"1351724286","filename":"file2"},{"photo_id":"1351724332","filename":"file4"},{"photo_id":"1351724259","filename":"file1"},{"photo_id":"1351724228","filename":"file0"},{"photo_id":"1351724310","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351724286":["hashtag1","hashtag2"]},{"1351724259":["hashtag1","hashtag2"]},{"1351724310":["hashtag1","hashtag2"]},{"1351724354":["hashtag1","hashtag2"]},{"1351724228":["hashtag1","hashtag2"]},{"1351724332":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351724286, 1351724259, 1351724310, 1351724354, 1351724228, 1351724332)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.089653730392456 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 15:42:32.756976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/14/03/image_11042025_14_03_46_10356.jpg', '/home/pi/Desktop/images/11042025/14/03/image_11042025_14_03_57_10366.jpg', '/home/pi/Desktop/images/11042025/14/03/image_11042025_14_04_06_9448.jpg', '/home/pi/Desktop/images/11042025/14/04/image_11042025_14_04_16_10369.jpg', '/home/pi/Desktop/images/11042025/14/04/image_11042025_14_04_26_9413.jpg', '/home/pi/Desktop/images/11042025/14/04/image_11042025_14_04_36_10379.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/14/03/image_11042025_14_03_46_10356.jpg
/home/pi/Desktop/images/11042025/14/03/image_11042025_14_03_57_10366.jpg
/home/pi/Desktop/images/11042025/14/03/image_11042025_14_04_06_9448.jpg
/home/pi/Desktop/images/11042025/14/04/image_11042025_14_04_16_10369.jpg
/home/pi/Desktop/images/11042025/14/04/image_11042025_14_04_26_9413.jpg
/home/pi/Desktop/images/11042025/14/04/image_11042025_14_04_36_10379.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351724670","1351724589","1351724613","1351724480","1351724641","1351724539"],"photo_ids_order":["1351724480","1351724539","1351724589","1351724613","1351724641","1351724670"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6d2c972946126608206b3501e252c234.jpg","text":"TemporaryFile(/tmp/multipartBody8615656129450069731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744379013219,"filename":"image_11042025_14_04_36_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d44aa60b53c42e150660d07ccac8d6f1.jpg","text":"TemporaryFile(/tmp/multipartBody7345162284574195125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744379013219,"filename":"image_11042025_14_04_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/11/1d973acb55cfb4afdddebb43ce563bb7.jpg","text":"TemporaryFile(/tmp/multipartBody7971353612064717256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744379013219,"filename":"image_11042025_14_04_16_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/864daad73fe0518433921670a5665e24.jpg","text":"TemporaryFile(/tmp/multipartBody3797536766688792274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744379013219,"filename":"image_11042025_14_03_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/11/47b84e3c1dbdb4e4f37bc1b553aeb177.jpg","text":"TemporaryFile(/tmp/multipartBody6352792422710444596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744379013219,"filename":"image_11042025_14_04_26_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/010d81cce8626271104f1bc18041c2d6.jpg","text":"TemporaryFile(/tmp/multipartBody4321405725064961306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744379013219,"filename":"image_11042025_14_03_57_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351724589","file1":"1351724539","file0":"1351724480","file4":"1351724641","file5":"1351724670","file3":"1351724613"},"map_files_photo_id_array":[{"photo_id":"1351724670","filename":"file5"},{"photo_id":"1351724589","filename":"file2"},{"photo_id":"1351724641","filename":"file4"},{"photo_id":"1351724539","filename":"file1"},{"photo_id":"1351724480","filename":"file0"},{"photo_id":"1351724613","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351724670":["hashtag1","hashtag2"]},{"1351724589":["hashtag1","hashtag2"]},{"1351724613":["hashtag1","hashtag2"]},{"1351724480":["hashtag1","hashtag2"]},{"1351724641":["hashtag1","hashtag2"]},{"1351724539":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351724670, 1351724589, 1351724613, 1351724480, 1351724641, 1351724539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.904279470443726 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 15:43:33.102020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/14/04/image_11042025_14_04_47_10390.jpg', '/home/pi/Desktop/images/11042025/14/04/image_11042025_14_04_56_9449.jpg', '/home/pi/Desktop/images/11042025/14/04/image_11042025_14_05_06_10389.jpg', '/home/pi/Desktop/images/11042025/14/05/image_11042025_14_05_16_9401.jpg', '/home/pi/Desktop/images/11042025/14/05/image_11042025_14_05_26_10480.jpg', '/home/pi/Desktop/images/11042025/14/05/image_11042025_14_05_46_9469.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/14/04/image_11042025_14_04_47_10390.jpg
/home/pi/Desktop/images/11042025/14/04/image_11042025_14_04_56_9449.jpg
/home/pi/Desktop/images/11042025/14/04/image_11042025_14_05_06_10389.jpg
/home/pi/Desktop/images/11042025/14/05/image_11042025_14_05_16_9401.jpg
/home/pi/Desktop/images/11042025/14/05/image_11042025_14_05_26_10480.jpg
/home/pi/Desktop/images/11042025/14/05/image_11042025_14_05_46_9469.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351725180","1351725420","1351724940","1351725047","1351725323","1351725319"],"photo_ids_order":["1351724940","1351725047","1351725180","1351725319","1351725323","1351725420"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8098aef161bfa51d35e95c9e8df02ad3.jpg","text":"TemporaryFile(/tmp/multipartBody1343870318834855394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744379073562,"filename":"image_11042025_14_05_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/11/f733544ba1712b2eb5dd0f5f1c78866c.jpg","text":"TemporaryFile(/tmp/multipartBody8786493077825621643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744379073562,"filename":"image_11042025_14_05_46_9469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/529aa93b3e9cffcec8714366a89c5a8c.jpg","text":"TemporaryFile(/tmp/multipartBody7491394144588806723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744379073562,"filename":"image_11042025_14_04_47_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5525bbd4dc81567b56ce2a10c250cc79.jpg","text":"TemporaryFile(/tmp/multipartBody3426636755491831025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744379073562,"filename":"image_11042025_14_04_56_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/99e5904472c3ab5351ca67b0883c0e48.jpg","text":"TemporaryFile(/tmp/multipartBody7032398602468142122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744379073562,"filename":"image_11042025_14_05_26_10480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b757826dd78d727a903c07f1cd658c04.jpg","text":"TemporaryFile(/tmp/multipartBody29862884017185518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744379073562,"filename":"image_11042025_14_05_16_9401.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351725180","file1":"1351725047","file0":"1351724940","file4":"1351725323","file5":"1351725420","file3":"1351725319"},"map_files_photo_id_array":[{"photo_id":"1351725420","filename":"file5"},{"photo_id":"1351725180","filename":"file2"},{"photo_id":"1351725323","filename":"file4"},{"photo_id":"1351725047","filename":"file1"},{"photo_id":"1351724940","filename":"file0"},{"photo_id":"1351725319","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351725180":["hashtag1","hashtag2"]},{"1351725420":["hashtag1","hashtag2"]},{"1351724940":["hashtag1","hashtag2"]},{"1351725047":["hashtag1","hashtag2"]},{"1351725323":["hashtag1","hashtag2"]},{"1351725319":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351725180, 1351725420, 1351724940, 1351725047, 1351725323, 1351725319)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.08843398094177 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 15:44:32.165994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/14/05/image_11042025_14_05_57_10395.jpg', '/home/pi/Desktop/images/11042025/14/05/image_11042025_14_06_06_9384.jpg', '/home/pi/Desktop/images/11042025/14/06/image_11042025_14_06_16_10344.jpg', '/home/pi/Desktop/images/11042025/14/06/image_11042025_14_06_27_10351.jpg', '/home/pi/Desktop/images/11042025/14/06/image_11042025_14_06_36_9432.jpg', '/home/pi/Desktop/images/11042025/14/06/image_11042025_14_06_46_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/14/05/image_11042025_14_05_57_10395.jpg
/home/pi/Desktop/images/11042025/14/05/image_11042025_14_06_06_9384.jpg
/home/pi/Desktop/images/11042025/14/06/image_11042025_14_06_16_10344.jpg
/home/pi/Desktop/images/11042025/14/06/image_11042025_14_06_27_10351.jpg
/home/pi/Desktop/images/11042025/14/06/image_11042025_14_06_36_9432.jpg
/home/pi/Desktop/images/11042025/14/06/image_11042025_14_06_46_10351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351726005","1351726175","1351726043","1351726028","1351725976","1351726113"],"photo_ids_order":["1351725976","1351726005","1351726028","1351726043","1351726113","1351726175"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/dc7b14efc1e034eb7b4ecce80f5fb7bb.jpg","text":"TemporaryFile(/tmp/multipartBody3716842007801943540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744379132636,"filename":"image_11042025_14_06_06_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/05f9ec7eee41da62fe73abce4de14a57.jpg","text":"TemporaryFile(/tmp/multipartBody1763984101177580869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744379132636,"filename":"image_11042025_14_06_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/11/71cf9170f61db85762c937c6500f7a3b.jpg","text":"TemporaryFile(/tmp/multipartBody8631274774639677871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744379132636,"filename":"image_11042025_14_06_27_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1445ba56f7baab62a73c0664f675ee4f.jpg","text":"TemporaryFile(/tmp/multipartBody1564427370475728413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744379132636,"filename":"image_11042025_14_06_16_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b33ffd45432328facf4c5af90dd5ef78.jpg","text":"TemporaryFile(/tmp/multipartBody8849117846307266140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744379132636,"filename":"image_11042025_14_05_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/11/c42e16a9375601dd734976c7aa0982d8.jpg","text":"TemporaryFile(/tmp/multipartBody1377276835327900231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744379132636,"filename":"image_11042025_14_06_36_9432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351726028","file1":"1351726005","file0":"1351725976","file4":"1351726113","file5":"1351726175","file3":"1351726043"},"map_files_photo_id_array":[{"photo_id":"1351726175","filename":"file5"},{"photo_id":"1351726028","filename":"file2"},{"photo_id":"1351726113","filename":"file4"},{"photo_id":"1351726005","filename":"file1"},{"photo_id":"1351725976","filename":"file0"},{"photo_id":"1351726043","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351726005":["hashtag1","hashtag2"]},{"1351726175":["hashtag1","hashtag2"]},{"1351726043":["hashtag1","hashtag2"]},{"1351726028":["hashtag1","hashtag2"]},{"1351725976":["hashtag1","hashtag2"]},{"1351726113":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351726005, 1351726175, 1351726043, 1351726028, 1351725976, 1351726113)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.42323279380798 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 15:45:32.443393
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/14/06/image_11042025_14_07_06_10473.jpg', '/home/pi/Desktop/images/11042025/14/07/image_11042025_14_07_17_10369.jpg', '/home/pi/Desktop/images/11042025/14/07/image_11042025_14_07_26_9397.jpg', '/home/pi/Desktop/images/11042025/14/07/image_11042025_14_07_36_10366.jpg', '/home/pi/Desktop/images/11042025/14/07/image_11042025_14_07_46_9376.jpg', '/home/pi/Desktop/images/11042025/14/07/image_11042025_14_07_56_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/14/06/image_11042025_14_07_06_10473.jpg
/home/pi/Desktop/images/11042025/14/07/image_11042025_14_07_17_10369.jpg
/home/pi/Desktop/images/11042025/14/07/image_11042025_14_07_26_9397.jpg
/home/pi/Desktop/images/11042025/14/07/image_11042025_14_07_36_10366.jpg
/home/pi/Desktop/images/11042025/14/07/image_11042025_14_07_46_9376.jpg
/home/pi/Desktop/images/11042025/14/07/image_11042025_14_07_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":["1351727147","1351727036","1351727125","1351726987","1351726912","1351727223"],"photo_ids_order":["1351726912","1351726987","1351727036","1351727125","1351727147","1351727223"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/bdce42c46685ed78c197ef0c5f671b5e.jpg","text":"TemporaryFile(/tmp/multipartBody7521386882155344261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744379192908,"filename":"image_11042025_14_07_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/11/eaad235de1ddcf85842a5b8313956ed4.jpg","text":"TemporaryFile(/tmp/multipartBody7503512444354234154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744379192908,"filename":"image_11042025_14_07_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/11/33ac14f7520377df0e3c1377ad4ec1c1.jpg","text":"TemporaryFile(/tmp/multipartBody7806708530757913788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744379192908,"filename":"image_11042025_14_07_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/11/58900b5b896cefbf6ee079c297c8800a.jpg","text":"TemporaryFile(/tmp/multipartBody292639784656485347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744379192908,"filename":"image_11042025_14_07_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/11/cfe24843a089411aa6cacef3c8e151a3.jpg","text":"TemporaryFile(/tmp/multipartBody8407523991200770043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744379192908,"filename":"image_11042025_14_07_06_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/11/a2b16c0c3cedb28bf9dd2db1b8ee3ec1.jpg","text":"TemporaryFile(/tmp/multipartBody1066742817454957877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744379192908,"filename":"image_11042025_14_07_56_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351727036","file1":"1351726987","file0":"1351726912","file4":"1351727147","file5":"1351727223","file3":"1351727125"},"map_files_photo_id_array":[{"photo_id":"1351727223","filename":"file5"},{"photo_id":"1351727036","filename":"file2"},{"photo_id":"1351727147","filename":"file4"},{"photo_id":"1351726987","filename":"file1"},{"photo_id":"1351726912","filename":"file0"},{"photo_id":"1351727125","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351727147":["hashtag1","hashtag2"]},{"1351727036":["hashtag1","hashtag2"]},{"1351727125":["hashtag1","hashtag2"]},{"1351726987":["hashtag1","hashtag2"]},{"1351726912":["hashtag1","hashtag2"]},{"1351727223":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351727147, 1351727036, 1351727125, 1351726987, 1351726912, 1351727223)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.26422309875488 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 15:46:32.527024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/14/07/image_11042025_14_08_07_10357.jpg', '/home/pi/Desktop/images/11042025/14/08/image_11042025_14_08_16_9419.jpg', '/home/pi/Desktop/images/11042025/14/08/image_11042025_14_08_37_10351.jpg', '/home/pi/Desktop/images/11042025/14/08/image_11042025_14_08_46_9349.jpg', '/home/pi/Desktop/images/11042025/14/08/image_11042025_14_08_56_10402.jpg', '/home/pi/Desktop/images/11042025/14/08/image_11042025_14_09_06_9381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/14/07/image_11042025_14_08_07_10357.jpg
/home/pi/Desktop/images/11042025/14/08/image_11042025_14_08_16_9419.jpg
/home/pi/Desktop/images/11042025/14/08/image_11042025_14_08_37_10351.jpg
/home/pi/Desktop/images/11042025/14/08/image_11042025_14_08_46_9349.jpg
/home/pi/Desktop/images/11042025/14/08/image_11042025_14_08_56_10402.jpg
/home/pi/Desktop/images/11042025/14/08/image_11042025_14_09_06_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":["1351727765","1351727729","1351727862","1351727712","1351727817","1351727660"],"photo_ids_order":["1351727660","1351727712","1351727729","1351727765","1351727817","1351727862"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f39b636058910bcacc4dcb91892dc0c4.jpg","text":"TemporaryFile(/tmp/multipartBody866384418244296856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744379252987,"filename":"image_11042025_14_08_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/11/64acb1418833ed6197777670d61a4a6b.jpg","text":"TemporaryFile(/tmp/multipartBody8244140728033697869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744379252987,"filename":"image_11042025_14_08_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/11/ff4370e9f8290a329a95b191d7447fe8.jpg","text":"TemporaryFile(/tmp/multipartBody701391728353511905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744379252987,"filename":"image_11042025_14_09_06_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7df24c2e6ce7330abc82734e2d19effa.jpg","text":"TemporaryFile(/tmp/multipartBody3898935209788550943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744379252987,"filename":"image_11042025_14_08_16_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5c99222db9d33cedf61a4f9b3d990ac4.jpg","text":"TemporaryFile(/tmp/multipartBody5733293881327499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744379252987,"filename":"image_11042025_14_08_56_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7585658954274bae669a4b5315b5add2.jpg","text":"TemporaryFile(/tmp/multipartBody6198227167557908409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744379252987,"filename":"image_11042025_14_08_07_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351727729","file1":"1351727712","file0":"1351727660","file4":"1351727817","file5":"1351727862","file3":"1351727765"},"map_files_photo_id_array":[{"photo_id":"1351727862","filename":"file5"},{"photo_id":"1351727729","filename":"file2"},{"photo_id":"1351727817","filename":"file4"},{"photo_id":"1351727712","filename":"file1"},{"photo_id":"1351727660","filename":"file0"},{"photo_id":"1351727765","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351727765":["hashtag1","hashtag2"]},{"1351727729":["hashtag1","hashtag2"]},{"1351727862":["hashtag1","hashtag2"]},{"1351727712":["hashtag1","hashtag2"]},{"1351727817":["hashtag1","hashtag2"]},{"1351727660":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351727765, 1351727729, 1351727862, 1351727712, 1351727817, 1351727660)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.09196853637695 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 15:47:32.731149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/14/09/image_11042025_14_09_16_10456.jpg', '/home/pi/Desktop/images/11042025/14/09/image_11042025_14_09_27_10372.jpg', '/home/pi/Desktop/images/11042025/14/09/image_11042025_14_09_36_9389.jpg', '/home/pi/Desktop/images/11042025/14/09/image_11042025_14_09_46_10393.jpg', '/home/pi/Desktop/images/11042025/14/09/image_11042025_14_09_56_9449.jpg', '/home/pi/Desktop/images/11042025/14/09/image_11042025_14_10_06_10380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/14/09/image_11042025_14_09_16_10456.jpg
/home/pi/Desktop/images/11042025/14/09/image_11042025_14_09_27_10372.jpg
/home/pi/Desktop/images/11042025/14/09/image_11042025_14_09_36_9389.jpg
/home/pi/Desktop/images/11042025/14/09/image_11042025_14_09_46_10393.jpg
/home/pi/Desktop/images/11042025/14/09/image_11042025_14_09_56_9449.jpg
/home/pi/Desktop/images/11042025/14/09/image_11042025_14_10_06_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":["1351728434","1351728487","1351728454","1351728037","1351728398","1351728206"],"photo_ids_order":["1351728037","1351728206","1351728398","1351728434","1351728454","1351728487"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a6b53bf3a76deec07502949afeeaf0a1.jpg","text":"TemporaryFile(/tmp/multipartBody2644870423509775385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744379313244,"filename":"image_11042025_14_09_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/11/b81af76de7a5665889507e0335fdeb8f.jpg","text":"TemporaryFile(/tmp/multipartBody3982335855261239934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744379313244,"filename":"image_11042025_14_10_06_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e31a1e2869ac4e2bdfb5a12a2ce59adf.jpg","text":"TemporaryFile(/tmp/multipartBody8255076573061445033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744379313244,"filename":"image_11042025_14_09_56_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/201ec0a0598c6efe71150669dca0c417.jpg","text":"TemporaryFile(/tmp/multipartBody3048653542590474643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744379313244,"filename":"image_11042025_14_09_16_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/54f1c28eddd54d05548241546b02dec5.jpg","text":"TemporaryFile(/tmp/multipartBody5819362859014272350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744379313244,"filename":"image_11042025_14_09_36_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/11/5fa4a907f66b0aa67a0a98dd1b91ad81.jpg","text":"TemporaryFile(/tmp/multipartBody4981397997240557904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744379313244,"filename":"image_11042025_14_09_27_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351728398","file1":"1351728206","file0":"1351728037","file4":"1351728454","file5":"1351728487","file3":"1351728434"},"map_files_photo_id_array":[{"photo_id":"1351728487","filename":"file5"},{"photo_id":"1351728398","filename":"file2"},{"photo_id":"1351728454","filename":"file4"},{"photo_id":"1351728206","filename":"file1"},{"photo_id":"1351728037","filename":"file0"},{"photo_id":"1351728434","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351728434":["hashtag1","hashtag2"]},{"1351728487":["hashtag1","hashtag2"]},{"1351728454":["hashtag1","hashtag2"]},{"1351728037":["hashtag1","hashtag2"]},{"1351728398":["hashtag1","hashtag2"]},{"1351728206":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351728434, 1351728487, 1351728454, 1351728037, 1351728398, 1351728206)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.791163206100464 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 15:48:32.954907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/14/10/image_11042025_14_10_17_10376.jpg', '/home/pi/Desktop/images/11042025/14/10/image_11042025_14_10_26_9473.jpg', '/home/pi/Desktop/images/11042025/14/10/image_11042025_14_10_37_10383.jpg', '/home/pi/Desktop/images/11042025/14/10/image_11042025_14_10_46_9426.jpg', '/home/pi/Desktop/images/11042025/14/10/image_11042025_14_10_56_10360.jpg', '/home/pi/Desktop/images/11042025/14/11/image_11042025_14_11_26_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/14/10/image_11042025_14_10_17_10376.jpg
/home/pi/Desktop/images/11042025/14/10/image_11042025_14_10_26_9473.jpg
/home/pi/Desktop/images/11042025/14/10/image_11042025_14_10_37_10383.jpg
/home/pi/Desktop/images/11042025/14/10/image_11042025_14_10_46_9426.jpg
/home/pi/Desktop/images/11042025/14/10/image_11042025_14_10_56_10360.jpg
/home/pi/Desktop/images/11042025/14/11/image_11042025_14_11_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":["1351728763","1351728736","1351728756","1351728732","1351728830","1351728752"],"photo_ids_order":["1351728732","1351728736","1351728752","1351728756","1351728763","1351728830"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/258a6d0dc92c86e2a1f4bb618d95aa23.jpg","text":"TemporaryFile(/tmp/multipartBody2305982685304428858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744379373419,"filename":"image_11042025_14_10_56_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ddac526aa12d06a5d21222c6fb22900b.jpg","text":"TemporaryFile(/tmp/multipartBody1841889117041117550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744379373419,"filename":"image_11042025_14_10_26_9473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5b5ffc4dfb48824d8d5c6cbcad9ebaf0.jpg","text":"TemporaryFile(/tmp/multipartBody6723855944176707438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744379373419,"filename":"image_11042025_14_10_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/11/3c539a5a74ac8b44eaa77ae1a11ff1eb.jpg","text":"TemporaryFile(/tmp/multipartBody1745715914747359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744379373419,"filename":"image_11042025_14_10_17_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c521de29b1f5e177a3c5c759b95fb57c.jpg","text":"TemporaryFile(/tmp/multipartBody1988584815390994938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744379373419,"filename":"image_11042025_14_11_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/11/f27d457945b8b5d0618ea863512aea20.jpg","text":"TemporaryFile(/tmp/multipartBody5591588586541785352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744379373419,"filename":"image_11042025_14_10_37_10383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351728752","file1":"1351728736","file0":"1351728732","file4":"1351728763","file5":"1351728830","file3":"1351728756"},"map_files_photo_id_array":[{"photo_id":"1351728830","filename":"file5"},{"photo_id":"1351728752","filename":"file2"},{"photo_id":"1351728763","filename":"file4"},{"photo_id":"1351728736","filename":"file1"},{"photo_id":"1351728732","filename":"file0"},{"photo_id":"1351728756","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351728763":["hashtag1","hashtag2"]},{"1351728736":["hashtag1","hashtag2"]},{"1351728756":["hashtag1","hashtag2"]},{"1351728732":["hashtag1","hashtag2"]},{"1351728830":["hashtag1","hashtag2"]},{"1351728752":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351728763, 1351728736, 1351728756, 1351728732, 1351728830, 1351728752)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.93436098098755 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 15:49:32.264833
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/14/11/image_11042025_14_11_36_9454.jpg', '/home/pi/Desktop/images/11042025/14/11/image_11042025_14_11_46_10364.jpg', '/home/pi/Desktop/images/11042025/14/11/image_11042025_14_11_57_10387.jpg', '/home/pi/Desktop/images/11042025/14/11/image_11042025_14_12_06_9452.jpg', '/home/pi/Desktop/images/11042025/14/12/image_11042025_14_12_16_10349.jpg', '/home/pi/Desktop/images/11042025/14/12/image_11042025_14_12_26_9450.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/14/11/image_11042025_14_11_36_9454.jpg
/home/pi/Desktop/images/11042025/14/11/image_11042025_14_11_46_10364.jpg
/home/pi/Desktop/images/11042025/14/11/image_11042025_14_11_57_10387.jpg
/home/pi/Desktop/images/11042025/14/11/image_11042025_14_12_06_9452.jpg
/home/pi/Desktop/images/11042025/14/12/image_11042025_14_12_16_10349.jpg
/home/pi/Desktop/images/11042025/14/12/image_11042025_14_12_26_9450.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351729162","1351729041","1351729133","1351728971","1351729109","1351729078"],"photo_ids_order":["1351728971","1351729041","1351729078","1351729109","1351729133","1351729162"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b5610f187b3b77d54b0084758b24b4dd.jpg","text":"TemporaryFile(/tmp/multipartBody8067659039870951479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744379432721,"filename":"image_11042025_14_12_26_9450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b80642f96d158bdef19e78b16f9ce964.jpg","text":"TemporaryFile(/tmp/multipartBody815511275013731863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744379432721,"filename":"image_11042025_14_11_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/11/224ed17e850d24b799848673bdc841aa.jpg","text":"TemporaryFile(/tmp/multipartBody5166533651248522333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744379432721,"filename":"image_11042025_14_12_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/11/3d722a2b655c155de65c39b87d6d711c.jpg","text":"TemporaryFile(/tmp/multipartBody2730737211221656961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744379432721,"filename":"image_11042025_14_11_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/11/91de1a06743a9df36c9dde4bf10c2f77.jpg","text":"TemporaryFile(/tmp/multipartBody8735915137393483062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744379432721,"filename":"image_11042025_14_12_06_9452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/12b92704465ba635fbf1209c25824f7d.jpg","text":"TemporaryFile(/tmp/multipartBody2450742839851374114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744379432721,"filename":"image_11042025_14_11_57_10387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351729078","file1":"1351729041","file0":"1351728971","file4":"1351729133","file5":"1351729162","file3":"1351729109"},"map_files_photo_id_array":[{"photo_id":"1351729162","filename":"file5"},{"photo_id":"1351729078","filename":"file2"},{"photo_id":"1351729133","filename":"file4"},{"photo_id":"1351729041","filename":"file1"},{"photo_id":"1351728971","filename":"file0"},{"photo_id":"1351729109","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351729162":["hashtag1","hashtag2"]},{"1351729041":["hashtag1","hashtag2"]},{"1351729133":["hashtag1","hashtag2"]},{"1351728971":["hashtag1","hashtag2"]},{"1351729109":["hashtag1","hashtag2"]},{"1351729078":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351729162, 1351729041, 1351729133, 1351728971, 1351729109, 1351729078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.62287354469299 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 15:50:32.493119
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/14/12/image_11042025_14_12_36_10368.jpg', '/home/pi/Desktop/images/11042025/14/12/image_11042025_14_12_56_9434.jpg', '/home/pi/Desktop/images/11042025/14/12/image_11042025_14_13_06_10337.jpg', '/home/pi/Desktop/images/11042025/14/13/image_11042025_14_13_16_9463.jpg', '/home/pi/Desktop/images/11042025/14/13/image_11042025_14_13_26_10412.jpg', '/home/pi/Desktop/images/11042025/14/13/image_11042025_14_13_37_10380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/14/12/image_11042025_14_12_36_10368.jpg
/home/pi/Desktop/images/11042025/14/12/image_11042025_14_12_56_9434.jpg
/home/pi/Desktop/images/11042025/14/12/image_11042025_14_13_06_10337.jpg
/home/pi/Desktop/images/11042025/14/13/image_11042025_14_13_16_9463.jpg
/home/pi/Desktop/images/11042025/14/13/image_11042025_14_13_26_10412.jpg
/home/pi/Desktop/images/11042025/14/13/image_11042025_14_13_37_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":["1351729507","1351729441","1351729614","1351729710","1351729559","1351729660"],"photo_ids_order":["1351729441","1351729507","1351729559","1351729614","1351729660","1351729710"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e5affab6551724fb92aae1e19c7c5dcb.jpg","text":"TemporaryFile(/tmp/multipartBody8356273527953911143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744379492973,"filename":"image_11042025_14_12_56_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b31015cdfd43fa9b8b80b9ccca02b065.jpg","text":"TemporaryFile(/tmp/multipartBody6178018961145011855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744379492973,"filename":"image_11042025_14_12_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/11/b0fec532445cd21b4c7e82fad89e43e4.jpg","text":"TemporaryFile(/tmp/multipartBody3717189378789081923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744379492973,"filename":"image_11042025_14_13_16_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/11/0e15d9a7e9979c466ccf46487409db0f.jpg","text":"TemporaryFile(/tmp/multipartBody2393292273995144621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744379492973,"filename":"image_11042025_14_13_37_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/94f9c754f42400405d4d92c8af7d8529.jpg","text":"TemporaryFile(/tmp/multipartBody5371432570060915104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744379492973,"filename":"image_11042025_14_13_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/11/764939186450256a98889b2ebfc00f04.jpg","text":"TemporaryFile(/tmp/multipartBody6388650671117942832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744379492973,"filename":"image_11042025_14_13_26_10412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351729559","file1":"1351729507","file0":"1351729441","file4":"1351729660","file5":"1351729710","file3":"1351729614"},"map_files_photo_id_array":[{"photo_id":"1351729710","filename":"file5"},{"photo_id":"1351729559","filename":"file2"},{"photo_id":"1351729660","filename":"file4"},{"photo_id":"1351729507","filename":"file1"},{"photo_id":"1351729441","filename":"file0"},{"photo_id":"1351729614","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351729507":["hashtag1","hashtag2"]},{"1351729441":["hashtag1","hashtag2"]},{"1351729614":["hashtag1","hashtag2"]},{"1351729710":["hashtag1","hashtag2"]},{"1351729559":["hashtag1","hashtag2"]},{"1351729660":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351729507, 1351729441, 1351729614, 1351729710, 1351729559, 1351729660)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.72263956069946 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 15:51:32.692912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/14/13/image_11042025_14_13_46_9396.jpg', '/home/pi/Desktop/images/11042025/14/13/image_11042025_14_13_56_10387.jpg', '/home/pi/Desktop/images/11042025/14/13/image_11042025_14_14_06_9399.jpg', '/home/pi/Desktop/images/11042025/14/14/image_11042025_14_14_16_10348.jpg', '/home/pi/Desktop/images/11042025/14/14/image_11042025_14_14_27_10400.jpg', '/home/pi/Desktop/images/11042025/14/14/image_11042025_14_14_46_10441.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/14/13/image_11042025_14_13_46_9396.jpg
/home/pi/Desktop/images/11042025/14/13/image_11042025_14_13_56_10387.jpg
/home/pi/Desktop/images/11042025/14/13/image_11042025_14_14_06_9399.jpg
/home/pi/Desktop/images/11042025/14/14/image_11042025_14_14_16_10348.jpg
/home/pi/Desktop/images/11042025/14/14/image_11042025_14_14_27_10400.jpg
/home/pi/Desktop/images/11042025/14/14/image_11042025_14_14_46_10441.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":["1351730194","1351730155","1351730134","1351730103","1351730180","1351730078"],"photo_ids_order":["1351730078","1351730103","1351730134","1351730155","1351730180","1351730194"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/34dd30c6aa0889ece518fe783b59e6d1.jpg","text":"TemporaryFile(/tmp/multipartBody1667839075981349366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744379553152,"filename":"image_11042025_14_14_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/11/0725fcd89d21fa4813c501991b662766.jpg","text":"TemporaryFile(/tmp/multipartBody9077930527468066334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744379553152,"filename":"image_11042025_14_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/11/9d5331873fe02cd1ad8a54e6fd05552d.jpg","text":"TemporaryFile(/tmp/multipartBody3829919813564680774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744379553152,"filename":"image_11042025_14_14_06_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9722481cd7552f350495aa26843e12ad.jpg","text":"TemporaryFile(/tmp/multipartBody1211397764240740609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744379553152,"filename":"image_11042025_14_13_56_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/aa0ff142182961f6d8255b0c76971003.jpg","text":"TemporaryFile(/tmp/multipartBody8122505416152043654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744379553152,"filename":"image_11042025_14_14_27_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/211b18bea338dc819ab1b56bbe6d6dd2.jpg","text":"TemporaryFile(/tmp/multipartBody4551518995695396201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744379553152,"filename":"image_11042025_14_13_46_9396.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351730134","file1":"1351730103","file0":"1351730078","file4":"1351730180","file5":"1351730194","file3":"1351730155"},"map_files_photo_id_array":[{"photo_id":"1351730194","filename":"file5"},{"photo_id":"1351730134","filename":"file2"},{"photo_id":"1351730180","filename":"file4"},{"photo_id":"1351730103","filename":"file1"},{"photo_id":"1351730078","filename":"file0"},{"photo_id":"1351730155","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351730194":["hashtag1","hashtag2"]},{"1351730155":["hashtag1","hashtag2"]},{"1351730134":["hashtag1","hashtag2"]},{"1351730103":["hashtag1","hashtag2"]},{"1351730180":["hashtag1","hashtag2"]},{"1351730078":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351730194, 1351730155, 1351730134, 1351730103, 1351730180, 1351730078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.574644804000854 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 15:52:42.901121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/14/14/image_11042025_14_14_56_9496.jpg', '/home/pi/Desktop/images/11042025/14/14/image_11042025_14_15_06_10370.jpg', '/home/pi/Desktop/images/11042025/14/15/image_11042025_14_15_26_9402.jpg', '/home/pi/Desktop/images/11042025/14/15/image_11042025_14_15_36_10390.jpg', '/home/pi/Desktop/images/11042025/14/15/image_11042025_14_15_46_9379.jpg', '/home/pi/Desktop/images/11042025/14/15/image_11042025_14_15_56_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/14/14/image_11042025_14_14_56_9496.jpg
/home/pi/Desktop/images/11042025/14/14/image_11042025_14_15_06_10370.jpg
/home/pi/Desktop/images/11042025/14/15/image_11042025_14_15_26_9402.jpg
/home/pi/Desktop/images/11042025/14/15/image_11042025_14_15_36_10390.jpg
/home/pi/Desktop/images/11042025/14/15/image_11042025_14_15_46_9379.jpg
/home/pi/Desktop/images/11042025/14/15/image_11042025_14_15_56_10362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351730286","1351730472","1351730553","1351730511","1351730427","1351730549"],"photo_ids_order":["1351730286","1351730427","1351730472","1351730511","1351730549","1351730553"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3d2aaf4ff02cceb1e903ff7ad17fcbb3.jpg","text":"TemporaryFile(/tmp/multipartBody3695506096979771644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744379623378,"filename":"image_11042025_14_14_56_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/11/3553b75220c60c02f7d803fe69ac8856.jpg","text":"TemporaryFile(/tmp/multipartBody514773268590438399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744379623378,"filename":"image_11042025_14_15_26_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b3dfa465f32a9b52d943d73a4ef744ed.jpg","text":"TemporaryFile(/tmp/multipartBody5505513557231446712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744379623378,"filename":"image_11042025_14_15_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/11/ec6328af1b3ac756871d6da2ebce077a.jpg","text":"TemporaryFile(/tmp/multipartBody2546180606035143052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744379623378,"filename":"image_11042025_14_15_36_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7ae9ab2d7a1cfb8bbb474299d5a72a69.jpg","text":"TemporaryFile(/tmp/multipartBody3902868403260873859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744379623378,"filename":"image_11042025_14_15_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/11/ab61bb6986e37cca32188be1bcd194d3.jpg","text":"TemporaryFile(/tmp/multipartBody4012400884109848838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744379623378,"filename":"image_11042025_14_15_46_9379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351730472","file1":"1351730427","file0":"1351730286","file4":"1351730549","file5":"1351730553","file3":"1351730511"},"map_files_photo_id_array":[{"photo_id":"1351730553","filename":"file5"},{"photo_id":"1351730472","filename":"file2"},{"photo_id":"1351730549","filename":"file4"},{"photo_id":"1351730427","filename":"file1"},{"photo_id":"1351730286","filename":"file0"},{"photo_id":"1351730511","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351730286":["hashtag1","hashtag2"]},{"1351730472":["hashtag1","hashtag2"]},{"1351730553":["hashtag1","hashtag2"]},{"1351730511":["hashtag1","hashtag2"]},{"1351730427":["hashtag1","hashtag2"]},{"1351730549":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351730286, 1351730472, 1351730553, 1351730511, 1351730427, 1351730549)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.39793658256531 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 15:53:43.068317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/14/15/image_11042025_14_16_07_10345.jpg', '/home/pi/Desktop/images/11042025/14/16/image_11042025_14_16_16_9355.jpg', '/home/pi/Desktop/images/11042025/14/16/image_11042025_14_16_37_10352.jpg', '/home/pi/Desktop/images/11042025/14/16/image_11042025_14_16_46_9437.jpg', '/home/pi/Desktop/images/11042025/14/16/image_11042025_14_16_56_10377.jpg', '/home/pi/Desktop/images/11042025/14/17/image_11042025_14_17_26_9364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/14/15/image_11042025_14_16_07_10345.jpg
/home/pi/Desktop/images/11042025/14/16/image_11042025_14_16_16_9355.jpg
/home/pi/Desktop/images/11042025/14/16/image_11042025_14_16_37_10352.jpg
/home/pi/Desktop/images/11042025/14/16/image_11042025_14_16_46_9437.jpg
/home/pi/Desktop/images/11042025/14/16/image_11042025_14_16_56_10377.jpg
/home/pi/Desktop/images/11042025/14/17/image_11042025_14_17_26_9364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351730813","1351730848","1351730883","1351730762","1351730936","1351730930"],"photo_ids_order":["1351730762","1351730813","1351730848","1351730883","1351730930","1351730936"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0589ae1f0c3ee3e2ffc7f1d01189c6e0.jpg","text":"TemporaryFile(/tmp/multipartBody8571342175065089091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744379683586,"filename":"image_11042025_14_16_16_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/14036b0e55f285a1e5707171445356f1.jpg","text":"TemporaryFile(/tmp/multipartBody8911488380481363780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744379683586,"filename":"image_11042025_14_16_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/11/5a155930752becf835a1ac9a226e0025.jpg","text":"TemporaryFile(/tmp/multipartBody2284878313833611578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744379683586,"filename":"image_11042025_14_16_46_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/bc9f5af1ea81ff45e47be80320df2908.jpg","text":"TemporaryFile(/tmp/multipartBody8438143686547562164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744379683586,"filename":"image_11042025_14_16_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/11/37e1a112e6fa0f1655f8818756dafde5.jpg","text":"TemporaryFile(/tmp/multipartBody1264949197270941967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744379683586,"filename":"image_11042025_14_17_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/11/ea3ac7dc8e65d79c17e28199dfcaeccf.jpg","text":"TemporaryFile(/tmp/multipartBody7088187901945469273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744379683586,"filename":"image_11042025_14_16_56_10377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351730848","file1":"1351730813","file0":"1351730762","file4":"1351730930","file5":"1351730936","file3":"1351730883"},"map_files_photo_id_array":[{"photo_id":"1351730936","filename":"file5"},{"photo_id":"1351730848","filename":"file2"},{"photo_id":"1351730930","filename":"file4"},{"photo_id":"1351730813","filename":"file1"},{"photo_id":"1351730762","filename":"file0"},{"photo_id":"1351730883","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351730813":["hashtag1","hashtag2"]},{"1351730848":["hashtag1","hashtag2"]},{"1351730883":["hashtag1","hashtag2"]},{"1351730762":["hashtag1","hashtag2"]},{"1351730936":["hashtag1","hashtag2"]},{"1351730930":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351730813, 1351730848, 1351730883, 1351730762, 1351730936, 1351730930)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.861576795578 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 15:54:32.250075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/14/17/image_11042025_14_17_36_10361.jpg', '/home/pi/Desktop/images/11042025/14/17/image_11042025_14_17_47_10361.jpg', '/home/pi/Desktop/images/11042025/14/17/image_11042025_14_17_56_9434.jpg', '/home/pi/Desktop/images/11042025/14/17/image_11042025_14_18_06_10362.jpg', '/home/pi/Desktop/images/11042025/14/18/image_11042025_14_18_16_9403.jpg', '/home/pi/Desktop/images/11042025/14/18/image_11042025_14_18_26_10451.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/14/17/image_11042025_14_17_36_10361.jpg
/home/pi/Desktop/images/11042025/14/17/image_11042025_14_17_47_10361.jpg
/home/pi/Desktop/images/11042025/14/17/image_11042025_14_17_56_9434.jpg
/home/pi/Desktop/images/11042025/14/17/image_11042025_14_18_06_10362.jpg
/home/pi/Desktop/images/11042025/14/18/image_11042025_14_18_16_9403.jpg
/home/pi/Desktop/images/11042025/14/18/image_11042025_14_18_26_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":["1351731159","1351731087","1351731053","1351731107","1351731029","1351731181"],"photo_ids_order":["1351731029","1351731053","1351731087","1351731107","1351731159","1351731181"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8196c17fd1b3b8f97cadf650ecc94a29.jpg","text":"TemporaryFile(/tmp/multipartBody4036340140817153999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744379732724,"filename":"image_11042025_14_18_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/11/44ecabc9a3465dbced2f2e347009fe59.jpg","text":"TemporaryFile(/tmp/multipartBody8489871751471317996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744379732724,"filename":"image_11042025_14_17_56_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b26d46c9720d2e539a7f750ebe90220e.jpg","text":"TemporaryFile(/tmp/multipartBody7087697087590848001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744379732724,"filename":"image_11042025_14_17_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/11/88ab3a3a62af96c9b83a8e7059a233d8.jpg","text":"TemporaryFile(/tmp/multipartBody7043541795227255048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744379732724,"filename":"image_11042025_14_18_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/11/04e50fb7e2adc98a205c7cd2973f5b23.jpg","text":"TemporaryFile(/tmp/multipartBody3234805505881769293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744379732724,"filename":"image_11042025_14_17_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/11/6aecd7cd4c71d7fd5fb32c606e4fdfee.jpg","text":"TemporaryFile(/tmp/multipartBody5187518874814533767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744379732724,"filename":"image_11042025_14_18_26_10451.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351731087","file1":"1351731053","file0":"1351731029","file4":"1351731159","file5":"1351731181","file3":"1351731107"},"map_files_photo_id_array":[{"photo_id":"1351731181","filename":"file5"},{"photo_id":"1351731087","filename":"file2"},{"photo_id":"1351731159","filename":"file4"},{"photo_id":"1351731053","filename":"file1"},{"photo_id":"1351731029","filename":"file0"},{"photo_id":"1351731107","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351731159":["hashtag1","hashtag2"]},{"1351731087":["hashtag1","hashtag2"]},{"1351731053":["hashtag1","hashtag2"]},{"1351731107":["hashtag1","hashtag2"]},{"1351731029":["hashtag1","hashtag2"]},{"1351731181":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351731159, 1351731087, 1351731053, 1351731107, 1351731029, 1351731181)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.90398406982422 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 15:55:32.490683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/14/18/image_11042025_14_18_37_10402.jpg', '/home/pi/Desktop/images/11042025/14/18/image_11042025_14_18_46_9363.jpg', '/home/pi/Desktop/images/11042025/14/18/image_11042025_14_18_56_10363.jpg', '/home/pi/Desktop/images/11042025/14/18/image_11042025_14_19_06_9427.jpg', '/home/pi/Desktop/images/11042025/14/19/image_11042025_14_19_16_10354.jpg', '/home/pi/Desktop/images/11042025/14/19/image_11042025_14_19_27_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/14/18/image_11042025_14_18_37_10402.jpg
/home/pi/Desktop/images/11042025/14/18/image_11042025_14_18_46_9363.jpg
/home/pi/Desktop/images/11042025/14/18/image_11042025_14_18_56_10363.jpg
/home/pi/Desktop/images/11042025/14/18/image_11042025_14_19_06_9427.jpg
/home/pi/Desktop/images/11042025/14/19/image_11042025_14_19_16_10354.jpg
/home/pi/Desktop/images/11042025/14/19/image_11042025_14_19_27_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":["1351731273","1351731249","1351731287","1351731306","1351731257","1351731335"],"photo_ids_order":["1351731249","1351731257","1351731273","1351731287","1351731306","1351731335"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/bfb84016c98aefe3ea15d68e2ecfdc33.jpg","text":"TemporaryFile(/tmp/multipartBody1712733699437431689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744379792966,"filename":"image_11042025_14_18_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/11/e5ae5b459a28c4f0f5499edf4eb29e42.jpg","text":"TemporaryFile(/tmp/multipartBody7186483327286325093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744379792966,"filename":"image_11042025_14_18_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/11/68b849a89dbdc38cde4dc73047d844df.jpg","text":"TemporaryFile(/tmp/multipartBody5706893534325676666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744379792966,"filename":"image_11042025_14_19_06_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/13420879570e8076574a4078073b8e85.jpg","text":"TemporaryFile(/tmp/multipartBody2107929128230712919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744379792966,"filename":"image_11042025_14_19_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/11/12efa70a7438440305c09511a059c121.jpg","text":"TemporaryFile(/tmp/multipartBody1091794691719467293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744379792966,"filename":"image_11042025_14_18_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/11/a735bd350c49a4a3379d19a517bbc48a.jpg","text":"TemporaryFile(/tmp/multipartBody3101278183699722299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744379792966,"filename":"image_11042025_14_19_27_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351731273","file1":"1351731257","file0":"1351731249","file4":"1351731306","file5":"1351731335","file3":"1351731287"},"map_files_photo_id_array":[{"photo_id":"1351731335","filename":"file5"},{"photo_id":"1351731273","filename":"file2"},{"photo_id":"1351731306","filename":"file4"},{"photo_id":"1351731257","filename":"file1"},{"photo_id":"1351731249","filename":"file0"},{"photo_id":"1351731287","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351731273":["hashtag1","hashtag2"]},{"1351731249":["hashtag1","hashtag2"]},{"1351731287":["hashtag1","hashtag2"]},{"1351731306":["hashtag1","hashtag2"]},{"1351731257":["hashtag1","hashtag2"]},{"1351731335":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351731273, 1351731249, 1351731287, 1351731306, 1351731257, 1351731335)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.470744609832764 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 15:56:32.892746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/14/19/image_11042025_14_19_36_9366.jpg', '/home/pi/Desktop/images/11042025/14/19/image_11042025_14_19_46_10367.jpg', '/home/pi/Desktop/images/11042025/14/19/image_11042025_14_19_57_10376.jpg', '/home/pi/Desktop/images/11042025/14/19/image_11042025_14_20_06_9345.jpg', '/home/pi/Desktop/images/11042025/14/20/image_11042025_14_20_16_10338.jpg', '/home/pi/Desktop/images/11042025/14/20/image_11042025_14_20_27_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/14/19/image_11042025_14_19_36_9366.jpg
/home/pi/Desktop/images/11042025/14/19/image_11042025_14_19_46_10367.jpg
/home/pi/Desktop/images/11042025/14/19/image_11042025_14_19_57_10376.jpg
/home/pi/Desktop/images/11042025/14/19/image_11042025_14_20_06_9345.jpg
/home/pi/Desktop/images/11042025/14/20/image_11042025_14_20_16_10338.jpg
/home/pi/Desktop/images/11042025/14/20/image_11042025_14_20_27_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":["1351732257","1351732020","1351731834","1351732187","1351731932","1351732117"],"photo_ids_order":["1351731834","1351731932","1351732020","1351732117","1351732187","1351732257"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/239598136c549eeb36f2577d182f76ea.jpg","text":"TemporaryFile(/tmp/multipartBody6711193535027497994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744379853355,"filename":"image_11042025_14_20_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/11/de074738eb0121af95ac5dacbf4c8bc0.jpg","text":"TemporaryFile(/tmp/multipartBody8067506761503513180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744379853355,"filename":"image_11042025_14_19_57_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/92beeff7a3a96c6d0e69ee6785ad1236.jpg","text":"TemporaryFile(/tmp/multipartBody7236493904368761035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744379853355,"filename":"image_11042025_14_19_36_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/11/df95504329b8014a68d47dc72f0b9f0b.jpg","text":"TemporaryFile(/tmp/multipartBody357306479335141527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744379853355,"filename":"image_11042025_14_20_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/11/e223b005b321f2a8f4c32f080b6a05da.jpg","text":"TemporaryFile(/tmp/multipartBody4359596948040884671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744379853355,"filename":"image_11042025_14_19_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/11/7024fba676d6b6262b6f2724164e236f.jpg","text":"TemporaryFile(/tmp/multipartBody1165943000124496099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744379853355,"filename":"image_11042025_14_20_06_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351732020","file1":"1351731932","file0":"1351731834","file4":"1351732187","file5":"1351732257","file3":"1351732117"},"map_files_photo_id_array":[{"photo_id":"1351732257","filename":"file5"},{"photo_id":"1351732020","filename":"file2"},{"photo_id":"1351732187","filename":"file4"},{"photo_id":"1351731932","filename":"file1"},{"photo_id":"1351731834","filename":"file0"},{"photo_id":"1351732117","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351732257":["hashtag1","hashtag2"]},{"1351732020":["hashtag1","hashtag2"]},{"1351731834":["hashtag1","hashtag2"]},{"1351732187":["hashtag1","hashtag2"]},{"1351731932":["hashtag1","hashtag2"]},{"1351732117":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351732257, 1351732020, 1351731834, 1351732187, 1351731932, 1351732117)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.774078607559204 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 15:57:33.039398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/14/20/image_11042025_14_20_36_9364.jpg', '/home/pi/Desktop/images/11042025/14/20/image_11042025_14_20_46_10359.jpg', '/home/pi/Desktop/images/11042025/14/20/image_11042025_14_20_56_9397.jpg', '/home/pi/Desktop/images/11042025/14/20/image_11042025_14_21_06_10384.jpg', '/home/pi/Desktop/images/11042025/14/21/image_11042025_14_21_17_10422.jpg', '/home/pi/Desktop/images/11042025/14/21/image_11042025_14_21_26_9432.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/14/20/image_11042025_14_20_36_9364.jpg
/home/pi/Desktop/images/11042025/14/20/image_11042025_14_20_46_10359.jpg
/home/pi/Desktop/images/11042025/14/20/image_11042025_14_20_56_9397.jpg
/home/pi/Desktop/images/11042025/14/20/image_11042025_14_21_06_10384.jpg
/home/pi/Desktop/images/11042025/14/21/image_11042025_14_21_17_10422.jpg
/home/pi/Desktop/images/11042025/14/21/image_11042025_14_21_26_9432.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-11 15:59:03.540280
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/14/20/image_11042025_14_20_36_9364.jpg', '/home/pi/Desktop/images/11042025/14/20/image_11042025_14_20_46_10359.jpg', '/home/pi/Desktop/images/11042025/14/20/image_11042025_14_20_56_9397.jpg', '/home/pi/Desktop/images/11042025/14/20/image_11042025_14_21_06_10384.jpg', '/home/pi/Desktop/images/11042025/14/21/image_11042025_14_21_17_10422.jpg', '/home/pi/Desktop/images/11042025/14/21/image_11042025_14_21_26_9432.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/14/20/image_11042025_14_20_36_9364.jpg
/home/pi/Desktop/images/11042025/14/20/image_11042025_14_20_46_10359.jpg
/home/pi/Desktop/images/11042025/14/20/image_11042025_14_20_56_9397.jpg
/home/pi/Desktop/images/11042025/14/20/image_11042025_14_21_06_10384.jpg
/home/pi/Desktop/images/11042025/14/21/image_11042025_14_21_17_10422.jpg
/home/pi/Desktop/images/11042025/14/21/image_11042025_14_21_26_9432.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351733412","1351733549","1351733453","1351733612","1351733647","1351733506"],"photo_ids_order":["1351733412","1351733453","1351733506","1351733549","1351733612","1351733647"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/58f04cda41ea5fec607e4dd5519f9c33.jpg","text":"TemporaryFile(/tmp/multipartBody5686212824351080384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380004345,"filename":"image_11042025_14_20_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/11/8846230fbbae9b05462487902c03c17b.jpg","text":"TemporaryFile(/tmp/multipartBody4224552637065462255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380004345,"filename":"image_11042025_14_21_06_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/71841e597ac99fc1129320f74357866d.jpg","text":"TemporaryFile(/tmp/multipartBody6227306328185535380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380004345,"filename":"image_11042025_14_20_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/11/be52865460a8d021648b29373a5364bc.jpg","text":"TemporaryFile(/tmp/multipartBody1721058476548903133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380004345,"filename":"image_11042025_14_21_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/11/55f58ec89bb62bfad02a845cfd414598.jpg","text":"TemporaryFile(/tmp/multipartBody766592950334310970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380004345,"filename":"image_11042025_14_21_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/11/9d2d62840005d9c34dd57209a0442135.jpg","text":"TemporaryFile(/tmp/multipartBody2197666540388262044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380004345,"filename":"image_11042025_14_20_56_9397.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351733506","file1":"1351733453","file0":"1351733412","file4":"1351733612","file5":"1351733647","file3":"1351733549"},"map_files_photo_id_array":[{"photo_id":"1351733647","filename":"file5"},{"photo_id":"1351733506","filename":"file2"},{"photo_id":"1351733612","filename":"file4"},{"photo_id":"1351733453","filename":"file1"},{"photo_id":"1351733412","filename":"file0"},{"photo_id":"1351733549","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351733412":["hashtag1","hashtag2"]},{"1351733549":["hashtag1","hashtag2"]},{"1351733453":["hashtag1","hashtag2"]},{"1351733612":["hashtag1","hashtag2"]},{"1351733647":["hashtag1","hashtag2"]},{"1351733506":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351733412, 1351733549, 1351733453, 1351733612, 1351733647, 1351733506)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.75650143623352 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 15:59:52.407615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/14/21/image_11042025_14_21_36_10361.jpg', '/home/pi/Desktop/images/11042025/14/21/image_11042025_14_21_46_9420.jpg', '/home/pi/Desktop/images/11042025/14/21/image_11042025_14_22_07_10354.jpg', '/home/pi/Desktop/images/11042025/14/22/image_11042025_14_22_16_9340.jpg', '/home/pi/Desktop/images/11042025/14/22/image_11042025_14_22_26_10361.jpg', '/home/pi/Desktop/images/11042025/14/22/image_11042025_14_22_37_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/14/21/image_11042025_14_21_36_10361.jpg
/home/pi/Desktop/images/11042025/14/21/image_11042025_14_21_46_9420.jpg
/home/pi/Desktop/images/11042025/14/21/image_11042025_14_22_07_10354.jpg
/home/pi/Desktop/images/11042025/14/22/image_11042025_14_22_16_9340.jpg
/home/pi/Desktop/images/11042025/14/22/image_11042025_14_22_26_10361.jpg
/home/pi/Desktop/images/11042025/14/22/image_11042025_14_22_37_10350.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351734188","1351733891","1351734073","1351734244","1351733977","1351733842"],"photo_ids_order":["1351733842","1351733891","1351733977","1351734073","1351734188","1351734244"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7b514c68d0bcd99380e784cc415491af.jpg","text":"TemporaryFile(/tmp/multipartBody6818766062564908930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380052881,"filename":"image_11042025_14_22_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/11/3224b2d7910b0bd21dad682dd709fafc.jpg","text":"TemporaryFile(/tmp/multipartBody5424671782631356280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380052881,"filename":"image_11042025_14_21_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/11/77b7bbdd01a2a6f77dfe27b1c7912cd8.jpg","text":"TemporaryFile(/tmp/multipartBody3604414608187506709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380052881,"filename":"image_11042025_14_22_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/11/a6ac19ee4f849fea392116aca1224827.jpg","text":"TemporaryFile(/tmp/multipartBody7559024323559738938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380052881,"filename":"image_11042025_14_22_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/11/8bf22210e2c0d78bd6a90401ec179c32.jpg","text":"TemporaryFile(/tmp/multipartBody5512110139774074628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380052881,"filename":"image_11042025_14_22_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/11/21e4e74c6637e620b33a8f2564c4b8b5.jpg","text":"TemporaryFile(/tmp/multipartBody7204936408966661589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380052881,"filename":"image_11042025_14_21_36_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351733977","file1":"1351733891","file0":"1351733842","file4":"1351734188","file5":"1351734244","file3":"1351734073"},"map_files_photo_id_array":[{"photo_id":"1351734244","filename":"file5"},{"photo_id":"1351733977","filename":"file2"},{"photo_id":"1351734188","filename":"file4"},{"photo_id":"1351733891","filename":"file1"},{"photo_id":"1351733842","filename":"file0"},{"photo_id":"1351734073","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351734188":["hashtag1","hashtag2"]},{"1351733891":["hashtag1","hashtag2"]},{"1351734073":["hashtag1","hashtag2"]},{"1351734244":["hashtag1","hashtag2"]},{"1351733977":["hashtag1","hashtag2"]},{"1351733842":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351734188, 1351733891, 1351734073, 1351734244, 1351733977, 1351733842)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.163710594177246 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 16:00:42.614703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/14/22/image_11042025_14_22_46_9423.jpg', '/home/pi/Desktop/images/11042025/14/22/image_11042025_14_22_57_10411.jpg', '/home/pi/Desktop/images/11042025/14/22/image_11042025_14_23_06_9402.jpg', '/home/pi/Desktop/images/11042025/14/23/image_11042025_14_23_16_10340.jpg', '/home/pi/Desktop/images/11042025/14/23/image_11042025_14_23_27_10357.jpg', '/home/pi/Desktop/images/11042025/14/23/image_11042025_14_23_36_9395.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/14/22/image_11042025_14_22_46_9423.jpg
/home/pi/Desktop/images/11042025/14/22/image_11042025_14_22_57_10411.jpg
/home/pi/Desktop/images/11042025/14/22/image_11042025_14_23_06_9402.jpg
/home/pi/Desktop/images/11042025/14/23/image_11042025_14_23_16_10340.jpg
/home/pi/Desktop/images/11042025/14/23/image_11042025_14_23_27_10357.jpg
/home/pi/Desktop/images/11042025/14/23/image_11042025_14_23_36_9395.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351734402","1351734572","1351734710","1351734679","1351734460","1351734502"],"photo_ids_order":["1351734402","1351734460","1351734502","1351734572","1351734679","1351734710"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d195e753485265efe0eacfbbe63b24ae.jpg","text":"TemporaryFile(/tmp/multipartBody38900434843190963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380103104,"filename":"image_11042025_14_22_46_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2490f97355060c48466b783919bc50ad.jpg","text":"TemporaryFile(/tmp/multipartBody8277254969308574486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380103104,"filename":"image_11042025_14_23_16_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/301f1d9f6e9a48793b760af4c005c3ec.jpg","text":"TemporaryFile(/tmp/multipartBody5743868673488683782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380103104,"filename":"image_11042025_14_23_36_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/51f1a43035ba6cc4600aa087399d2126.jpg","text":"TemporaryFile(/tmp/multipartBody6195520875149695386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380103104,"filename":"image_11042025_14_23_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/11/93c7b0c50b650489bcea002f831e92fd.jpg","text":"TemporaryFile(/tmp/multipartBody1257201148063072586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380103104,"filename":"image_11042025_14_22_57_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/bc7da575f903b7c0149125b38a70e2ca.jpg","text":"TemporaryFile(/tmp/multipartBody4132705255147752938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380103104,"filename":"image_11042025_14_23_06_9402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351734502","file1":"1351734460","file0":"1351734402","file4":"1351734679","file5":"1351734710","file3":"1351734572"},"map_files_photo_id_array":[{"photo_id":"1351734710","filename":"file5"},{"photo_id":"1351734502","filename":"file2"},{"photo_id":"1351734679","filename":"file4"},{"photo_id":"1351734460","filename":"file1"},{"photo_id":"1351734402","filename":"file0"},{"photo_id":"1351734572","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351734402":["hashtag1","hashtag2"]},{"1351734572":["hashtag1","hashtag2"]},{"1351734710":["hashtag1","hashtag2"]},{"1351734679":["hashtag1","hashtag2"]},{"1351734460":["hashtag1","hashtag2"]},{"1351734502":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351734402, 1351734572, 1351734710, 1351734679, 1351734460, 1351734502)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.38160467147827 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 16:01:33.059262
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/14/23/image_11042025_14_23_46_10354.jpg', '/home/pi/Desktop/images/11042025/14/23/image_11042025_14_23_56_9433.jpg', '/home/pi/Desktop/images/11042025/14/23/image_11042025_14_24_06_10371.jpg', '/home/pi/Desktop/images/11042025/14/24/image_11042025_14_24_17_10355.jpg', '/home/pi/Desktop/images/11042025/14/24/image_11042025_14_24_26_9368.jpg', '/home/pi/Desktop/images/11042025/14/24/image_11042025_14_24_36_10422.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/14/23/image_11042025_14_23_46_10354.jpg
/home/pi/Desktop/images/11042025/14/23/image_11042025_14_23_56_9433.jpg
/home/pi/Desktop/images/11042025/14/23/image_11042025_14_24_06_10371.jpg
/home/pi/Desktop/images/11042025/14/24/image_11042025_14_24_17_10355.jpg
/home/pi/Desktop/images/11042025/14/24/image_11042025_14_24_26_9368.jpg
/home/pi/Desktop/images/11042025/14/24/image_11042025_14_24_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":["1351734906","1351734866","1351734830","1351734752","1351734806","1351734783"],"photo_ids_order":["1351734752","1351734783","1351734806","1351734830","1351734866","1351734906"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/dfc47d823bcf79edc361fa67ef00b564.jpg","text":"TemporaryFile(/tmp/multipartBody9128161617884088251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380153517,"filename":"image_11042025_14_24_36_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/708fc349c2de5c4ba99fa61fbe115991.jpg","text":"TemporaryFile(/tmp/multipartBody4152487283402551256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380153517,"filename":"image_11042025_14_24_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/11/75564348ceecaefbe1185b30b521ebb8.jpg","text":"TemporaryFile(/tmp/multipartBody7077974388418039564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380153517,"filename":"image_11042025_14_24_17_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9002e6edd16c9146777c77613bd04702.jpg","text":"TemporaryFile(/tmp/multipartBody6065153126404314212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380153517,"filename":"image_11042025_14_23_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/11/e4feddfa2906d1da1c2d7d939b74803d.jpg","text":"TemporaryFile(/tmp/multipartBody5470798933161885417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380153517,"filename":"image_11042025_14_24_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/11/bac2055b8ccf1674944ac447bd04fac4.jpg","text":"TemporaryFile(/tmp/multipartBody8909040685830045706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380153517,"filename":"image_11042025_14_23_56_9433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351734806","file1":"1351734783","file0":"1351734752","file4":"1351734866","file5":"1351734906","file3":"1351734830"},"map_files_photo_id_array":[{"photo_id":"1351734906","filename":"file5"},{"photo_id":"1351734806","filename":"file2"},{"photo_id":"1351734866","filename":"file4"},{"photo_id":"1351734783","filename":"file1"},{"photo_id":"1351734752","filename":"file0"},{"photo_id":"1351734830","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351734906":["hashtag1","hashtag2"]},{"1351734866":["hashtag1","hashtag2"]},{"1351734830":["hashtag1","hashtag2"]},{"1351734752":["hashtag1","hashtag2"]},{"1351734806":["hashtag1","hashtag2"]},{"1351734783":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351734906, 1351734866, 1351734830, 1351734752, 1351734806, 1351734783)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.74068474769592 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 16:02:32.199815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/14/24/image_11042025_14_24_56_9372.jpg', '/home/pi/Desktop/images/11042025/14/24/image_11042025_14_25_06_10359.jpg', '/home/pi/Desktop/images/11042025/14/25/image_11042025_14_25_16_9485.jpg', '/home/pi/Desktop/images/11042025/14/25/image_11042025_14_25_26_10365.jpg', '/home/pi/Desktop/images/11042025/14/25/image_11042025_14_25_37_10361.jpg', '/home/pi/Desktop/images/11042025/14/25/image_11042025_14_25_46_9348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/14/24/image_11042025_14_24_56_9372.jpg
/home/pi/Desktop/images/11042025/14/24/image_11042025_14_25_06_10359.jpg
/home/pi/Desktop/images/11042025/14/25/image_11042025_14_25_16_9485.jpg
/home/pi/Desktop/images/11042025/14/25/image_11042025_14_25_26_10365.jpg
/home/pi/Desktop/images/11042025/14/25/image_11042025_14_25_37_10361.jpg
/home/pi/Desktop/images/11042025/14/25/image_11042025_14_25_46_9348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351735235","1351735157","1351735259","1351735150","1351735153","1351735249"],"photo_ids_order":["1351735150","1351735153","1351735157","1351735235","1351735249","1351735259"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/91b6ea696d3dee883e7a0902c0f4b55f.jpg","text":"TemporaryFile(/tmp/multipartBody4756931137798075589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380212659,"filename":"image_11042025_14_25_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/11/968df933484271359a8d5f31c5ac732a.jpg","text":"TemporaryFile(/tmp/multipartBody5443748732647596377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380212659,"filename":"image_11042025_14_25_16_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/11/6467154fca69e947bbf2f827ffb3cd89.jpg","text":"TemporaryFile(/tmp/multipartBody7430667186380732132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380212659,"filename":"image_11042025_14_25_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/11/6656cd7a3a52730747ee888ad2f081ec.jpg","text":"TemporaryFile(/tmp/multipartBody1184937173759620550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380212659,"filename":"image_11042025_14_24_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/11/d127b0febfc295d9281d3c9a3050353c.jpg","text":"TemporaryFile(/tmp/multipartBody6642464372953927101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380212659,"filename":"image_11042025_14_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/11/923b09662284bb1844494b91a2c1b8b3.jpg","text":"TemporaryFile(/tmp/multipartBody4112536582427582885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380212659,"filename":"image_11042025_14_25_37_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351735157","file1":"1351735153","file0":"1351735150","file4":"1351735249","file5":"1351735259","file3":"1351735235"},"map_files_photo_id_array":[{"photo_id":"1351735259","filename":"file5"},{"photo_id":"1351735157","filename":"file2"},{"photo_id":"1351735249","filename":"file4"},{"photo_id":"1351735153","filename":"file1"},{"photo_id":"1351735150","filename":"file0"},{"photo_id":"1351735235","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351735235":["hashtag1","hashtag2"]},{"1351735157":["hashtag1","hashtag2"]},{"1351735259":["hashtag1","hashtag2"]},{"1351735150":["hashtag1","hashtag2"]},{"1351735153":["hashtag1","hashtag2"]},{"1351735249":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351735235, 1351735157, 1351735259, 1351735150, 1351735153, 1351735249)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.83208107948303 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 16:03:32.636292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/14/25/image_11042025_14_25_56_10364.jpg', '/home/pi/Desktop/images/11042025/14/25/image_11042025_14_26_07_10391.jpg', '/home/pi/Desktop/images/11042025/14/26/image_11042025_14_26_16_9367.jpg', '/home/pi/Desktop/images/11042025/14/26/image_11042025_14_26_46_10458.jpg', '/home/pi/Desktop/images/11042025/14/26/image_11042025_14_26_57_10402.jpg', '/home/pi/Desktop/images/11042025/14/26/image_11042025_14_27_06_9426.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/14/25/image_11042025_14_25_56_10364.jpg
/home/pi/Desktop/images/11042025/14/25/image_11042025_14_26_07_10391.jpg
/home/pi/Desktop/images/11042025/14/26/image_11042025_14_26_16_9367.jpg
/home/pi/Desktop/images/11042025/14/26/image_11042025_14_26_46_10458.jpg
/home/pi/Desktop/images/11042025/14/26/image_11042025_14_26_57_10402.jpg
/home/pi/Desktop/images/11042025/14/26/image_11042025_14_27_06_9426.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351735406","1351735375","1351735576","1351735423","1351735496","1351735451"],"photo_ids_order":["1351735375","1351735406","1351735423","1351735451","1351735496","1351735576"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/eacc5663adf60679e94409158587846e.jpg","text":"TemporaryFile(/tmp/multipartBody7809294010027289676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380273099,"filename":"image_11042025_14_26_07_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d63ad35dbcd68dec49f9289ae416f442.jpg","text":"TemporaryFile(/tmp/multipartBody5187504162780113283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380273099,"filename":"image_11042025_14_25_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/11/c3b587717f814736c16cfc19d0856b46.jpg","text":"TemporaryFile(/tmp/multipartBody3773069508072908092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380273099,"filename":"image_11042025_14_27_06_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/de12a6de9b63819c462806bfabf92bdd.jpg","text":"TemporaryFile(/tmp/multipartBody4601210293376507865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380273099,"filename":"image_11042025_14_26_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/11/f550057b9ad4e42fe6f2d3e1383bacd7.jpg","text":"TemporaryFile(/tmp/multipartBody3293317604497508399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380273099,"filename":"image_11042025_14_26_57_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/11/8ee37c2c2485b6302a26bab04b6c7a10.jpg","text":"TemporaryFile(/tmp/multipartBody8887213880390755757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380273099,"filename":"image_11042025_14_26_46_10458.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351735423","file1":"1351735406","file0":"1351735375","file4":"1351735496","file5":"1351735576","file3":"1351735451"},"map_files_photo_id_array":[{"photo_id":"1351735576","filename":"file5"},{"photo_id":"1351735423","filename":"file2"},{"photo_id":"1351735496","filename":"file4"},{"photo_id":"1351735406","filename":"file1"},{"photo_id":"1351735375","filename":"file0"},{"photo_id":"1351735451","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351735406":["hashtag1","hashtag2"]},{"1351735375":["hashtag1","hashtag2"]},{"1351735576":["hashtag1","hashtag2"]},{"1351735423":["hashtag1","hashtag2"]},{"1351735496":["hashtag1","hashtag2"]},{"1351735451":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351735406, 1351735375, 1351735576, 1351735423, 1351735496, 1351735451)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.34099721908569 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 16:04:32.729253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/14/27/image_11042025_14_27_17_10367.jpg', '/home/pi/Desktop/images/11042025/14/27/image_11042025_14_27_26_9476.jpg', '/home/pi/Desktop/images/11042025/14/27/image_11042025_14_27_36_10361.jpg', '/home/pi/Desktop/images/11042025/14/27/image_11042025_14_27_47_10361.jpg', '/home/pi/Desktop/images/11042025/14/27/image_11042025_14_27_56_9437.jpg', '/home/pi/Desktop/images/11042025/14/28/image_11042025_14_28_16_9376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/14/27/image_11042025_14_27_17_10367.jpg
/home/pi/Desktop/images/11042025/14/27/image_11042025_14_27_26_9476.jpg
/home/pi/Desktop/images/11042025/14/27/image_11042025_14_27_36_10361.jpg
/home/pi/Desktop/images/11042025/14/27/image_11042025_14_27_47_10361.jpg
/home/pi/Desktop/images/11042025/14/27/image_11042025_14_27_56_9437.jpg
/home/pi/Desktop/images/11042025/14/28/image_11042025_14_28_16_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":["1351735943","1351736059","1351736014","1351735966","1351736157","1351736112"],"photo_ids_order":["1351735943","1351735966","1351736014","1351736059","1351736112","1351736157"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3ce488a712e42db2442d2fce93f0bd7b.jpg","text":"TemporaryFile(/tmp/multipartBody7418589829465415233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380333184,"filename":"image_11042025_14_27_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/11/50fe09ec97747e2939e6240336e48486.jpg","text":"TemporaryFile(/tmp/multipartBody1995300367078569297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380333184,"filename":"image_11042025_14_27_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/11/c5a7d3bef09938bffb149945b65f0a79.jpg","text":"TemporaryFile(/tmp/multipartBody8479459531600893864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380333184,"filename":"image_11042025_14_27_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/11/cf8092566df73216a6be4bd97c2ea4a2.jpg","text":"TemporaryFile(/tmp/multipartBody8849604072419183093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380333184,"filename":"image_11042025_14_27_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/11/fb13ac03f5e61284068eb6435532acf3.jpg","text":"TemporaryFile(/tmp/multipartBody208785038001740789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380333184,"filename":"image_11042025_14_28_16_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6bc3639b428e06d335ba1e79679641a8.jpg","text":"TemporaryFile(/tmp/multipartBody1733076717218403766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380333184,"filename":"image_11042025_14_27_56_9437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351736014","file1":"1351735966","file0":"1351735943","file4":"1351736112","file5":"1351736157","file3":"1351736059"},"map_files_photo_id_array":[{"photo_id":"1351736157","filename":"file5"},{"photo_id":"1351736014","filename":"file2"},{"photo_id":"1351736112","filename":"file4"},{"photo_id":"1351735966","filename":"file1"},{"photo_id":"1351735943","filename":"file0"},{"photo_id":"1351736059","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351735943":["hashtag1","hashtag2"]},{"1351736059":["hashtag1","hashtag2"]},{"1351736014":["hashtag1","hashtag2"]},{"1351735966":["hashtag1","hashtag2"]},{"1351736157":["hashtag1","hashtag2"]},{"1351736112":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351735943, 1351736059, 1351736014, 1351735966, 1351736157, 1351736112)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.27470326423645 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 16:05:32.963088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/14/28/image_11042025_14_28_26_10362.jpg', '/home/pi/Desktop/images/11042025/14/28/image_11042025_14_28_37_10366.jpg', '/home/pi/Desktop/images/11042025/14/28/image_11042025_14_28_46_9447.jpg', '/home/pi/Desktop/images/11042025/14/28/image_11042025_14_28_56_10366.jpg', '/home/pi/Desktop/images/11042025/14/28/image_11042025_14_29_06_9382.jpg', '/home/pi/Desktop/images/11042025/14/29/image_11042025_14_29_16_10426.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/14/28/image_11042025_14_28_26_10362.jpg
/home/pi/Desktop/images/11042025/14/28/image_11042025_14_28_37_10366.jpg
/home/pi/Desktop/images/11042025/14/28/image_11042025_14_28_46_9447.jpg
/home/pi/Desktop/images/11042025/14/28/image_11042025_14_28_56_10366.jpg
/home/pi/Desktop/images/11042025/14/28/image_11042025_14_29_06_9382.jpg
/home/pi/Desktop/images/11042025/14/29/image_11042025_14_29_16_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":["1351736494","1351736422","1351736544","1351736439","1351736616","1351736465"],"photo_ids_order":["1351736422","1351736439","1351736465","1351736494","1351736544","1351736616"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c29cf9050b27db0ebe6a65044fd13951.jpg","text":"TemporaryFile(/tmp/multipartBody7783841415062261821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380393419,"filename":"image_11042025_14_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/11/c019de71d333af6f697a3bada18628ed.jpg","text":"TemporaryFile(/tmp/multipartBody8355831216420106580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380393419,"filename":"image_11042025_14_28_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/11/0c79e50b33b2c03a020bdf01e8b2f7b4.jpg","text":"TemporaryFile(/tmp/multipartBody1192591980141777894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380393419,"filename":"image_11042025_14_29_06_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0294565cc25c058e8b8c9806b8111e82.jpg","text":"TemporaryFile(/tmp/multipartBody7954209276005800434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380393419,"filename":"image_11042025_14_28_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/11/77fd333ec6bdea5529fd0d1f187b7bc0.jpg","text":"TemporaryFile(/tmp/multipartBody751720937456557267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380393419,"filename":"image_11042025_14_29_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/11/bf913578eb02eb2d36e461b5a0284924.jpg","text":"TemporaryFile(/tmp/multipartBody1700346135630971751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380393419,"filename":"image_11042025_14_28_46_9447.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351736465","file1":"1351736439","file0":"1351736422","file4":"1351736544","file5":"1351736616","file3":"1351736494"},"map_files_photo_id_array":[{"photo_id":"1351736616","filename":"file5"},{"photo_id":"1351736465","filename":"file2"},{"photo_id":"1351736544","filename":"file4"},{"photo_id":"1351736439","filename":"file1"},{"photo_id":"1351736422","filename":"file0"},{"photo_id":"1351736494","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351736494":["hashtag1","hashtag2"]},{"1351736422":["hashtag1","hashtag2"]},{"1351736544":["hashtag1","hashtag2"]},{"1351736439":["hashtag1","hashtag2"]},{"1351736616":["hashtag1","hashtag2"]},{"1351736465":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351736494, 1351736422, 1351736544, 1351736439, 1351736616, 1351736465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.38475513458252 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 16:06:32.172175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/14/29/image_11042025_14_29_27_10359.jpg', '/home/pi/Desktop/images/11042025/14/29/image_11042025_14_29_36_9391.jpg', '/home/pi/Desktop/images/11042025/14/29/image_11042025_14_29_46_10405.jpg', '/home/pi/Desktop/images/11042025/14/29/image_11042025_14_29_56_9423.jpg', '/home/pi/Desktop/images/11042025/14/29/image_11042025_14_30_06_10353.jpg', '/home/pi/Desktop/images/11042025/14/30/image_11042025_14_30_17_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/14/29/image_11042025_14_29_27_10359.jpg
/home/pi/Desktop/images/11042025/14/29/image_11042025_14_29_36_9391.jpg
/home/pi/Desktop/images/11042025/14/29/image_11042025_14_29_46_10405.jpg
/home/pi/Desktop/images/11042025/14/29/image_11042025_14_29_56_9423.jpg
/home/pi/Desktop/images/11042025/14/29/image_11042025_14_30_06_10353.jpg
/home/pi/Desktop/images/11042025/14/30/image_11042025_14_30_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":["1351736791","1351736764","1351736746","1351736740","1351736716","1351736850"],"photo_ids_order":["1351736716","1351736740","1351736746","1351736764","1351736791","1351736850"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c18b1cb1b4b080304ca784c8185c4263.jpg","text":"TemporaryFile(/tmp/multipartBody2365538631573156685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380452631,"filename":"image_11042025_14_30_06_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ff71d21f0b91d8cb202b9d357d78f0e0.jpg","text":"TemporaryFile(/tmp/multipartBody6279111433340994135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380452631,"filename":"image_11042025_14_29_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/11/67b2f03f9c16fca0feb4e0638cd57e38.jpg","text":"TemporaryFile(/tmp/multipartBody6032633438719187487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380452631,"filename":"image_11042025_14_29_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/11/db6a475b8a0e9297d4a59b9154129eb6.jpg","text":"TemporaryFile(/tmp/multipartBody4873887003994478558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380452631,"filename":"image_11042025_14_29_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/11/3681d55e3367ce604dd7d2a9d9175ef9.jpg","text":"TemporaryFile(/tmp/multipartBody770194533865689437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380452631,"filename":"image_11042025_14_29_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/11/eaff23eea40e8354eea1a5b675275b46.jpg","text":"TemporaryFile(/tmp/multipartBody5965616279939946755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380452631,"filename":"image_11042025_14_30_17_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351736746","file1":"1351736740","file0":"1351736716","file4":"1351736791","file5":"1351736850","file3":"1351736764"},"map_files_photo_id_array":[{"photo_id":"1351736850","filename":"file5"},{"photo_id":"1351736746","filename":"file2"},{"photo_id":"1351736791","filename":"file4"},{"photo_id":"1351736740","filename":"file1"},{"photo_id":"1351736716","filename":"file0"},{"photo_id":"1351736764","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351736791":["hashtag1","hashtag2"]},{"1351736764":["hashtag1","hashtag2"]},{"1351736746":["hashtag1","hashtag2"]},{"1351736740":["hashtag1","hashtag2"]},{"1351736716":["hashtag1","hashtag2"]},{"1351736850":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351736791, 1351736764, 1351736746, 1351736740, 1351736716, 1351736850)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.50548458099365 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 16:07:32.449853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/14/30/image_11042025_14_30_26_9356.jpg', '/home/pi/Desktop/images/11042025/14/30/image_11042025_14_30_36_10442.jpg', '/home/pi/Desktop/images/11042025/14/30/image_11042025_14_30_47_10357.jpg', '/home/pi/Desktop/images/11042025/14/30/image_11042025_14_30_56_9438.jpg', '/home/pi/Desktop/images/11042025/14/30/image_11042025_14_31_06_10349.jpg', '/home/pi/Desktop/images/11042025/14/31/image_11042025_14_31_16_9480.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/14/30/image_11042025_14_30_26_9356.jpg
/home/pi/Desktop/images/11042025/14/30/image_11042025_14_30_36_10442.jpg
/home/pi/Desktop/images/11042025/14/30/image_11042025_14_30_47_10357.jpg
/home/pi/Desktop/images/11042025/14/30/image_11042025_14_30_56_9438.jpg
/home/pi/Desktop/images/11042025/14/30/image_11042025_14_31_06_10349.jpg
/home/pi/Desktop/images/11042025/14/31/image_11042025_14_31_16_9480.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351737349","1351737304","1351737420","1351737473","1351737493","1351737385"],"photo_ids_order":["1351737304","1351737349","1351737385","1351737420","1351737473","1351737493"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d6622012ff096b0762b8319ddedd1c59.jpg","text":"TemporaryFile(/tmp/multipartBody6610277650197695030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380512926,"filename":"image_11042025_14_30_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/11/af0c9a9bd3a3b4ce9fde901b5eeb4037.jpg","text":"TemporaryFile(/tmp/multipartBody8573530036802068116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380512926,"filename":"image_11042025_14_30_26_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/276326b28f6651efdda1f5a653f5c547.jpg","text":"TemporaryFile(/tmp/multipartBody2435132114845200132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380512926,"filename":"image_11042025_14_30_56_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e953c767692f25fa6677b111a95829b7.jpg","text":"TemporaryFile(/tmp/multipartBody6044211339574341431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380512926,"filename":"image_11042025_14_31_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/11/7d4a977addd6b99543925647dd8cda82.jpg","text":"TemporaryFile(/tmp/multipartBody4609525320855615229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380512926,"filename":"image_11042025_14_31_16_9480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5d5f4d677310fe945a54893cf72aadce.jpg","text":"TemporaryFile(/tmp/multipartBody8445801320208633301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380512926,"filename":"image_11042025_14_30_47_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351737385","file1":"1351737349","file0":"1351737304","file4":"1351737473","file5":"1351737493","file3":"1351737420"},"map_files_photo_id_array":[{"photo_id":"1351737493","filename":"file5"},{"photo_id":"1351737385","filename":"file2"},{"photo_id":"1351737473","filename":"file4"},{"photo_id":"1351737349","filename":"file1"},{"photo_id":"1351737304","filename":"file0"},{"photo_id":"1351737420","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351737349":["hashtag1","hashtag2"]},{"1351737304":["hashtag1","hashtag2"]},{"1351737420":["hashtag1","hashtag2"]},{"1351737473":["hashtag1","hashtag2"]},{"1351737493":["hashtag1","hashtag2"]},{"1351737385":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351737349, 1351737304, 1351737420, 1351737473, 1351737493, 1351737385)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.39642143249512 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 16:08:32.660543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/14/31/image_11042025_14_31_26_10374.jpg', '/home/pi/Desktop/images/11042025/14/31/image_11042025_14_31_37_10343.jpg', '/home/pi/Desktop/images/11042025/14/31/image_11042025_14_31_46_9453.jpg', '/home/pi/Desktop/images/11042025/14/31/image_11042025_14_31_57_10470.jpg', '/home/pi/Desktop/images/11042025/14/31/image_11042025_14_32_06_9419.jpg', '/home/pi/Desktop/images/11042025/14/32/image_11042025_14_32_16_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/14/31/image_11042025_14_31_26_10374.jpg
/home/pi/Desktop/images/11042025/14/31/image_11042025_14_31_37_10343.jpg
/home/pi/Desktop/images/11042025/14/31/image_11042025_14_31_46_9453.jpg
/home/pi/Desktop/images/11042025/14/31/image_11042025_14_31_57_10470.jpg
/home/pi/Desktop/images/11042025/14/31/image_11042025_14_32_06_9419.jpg
/home/pi/Desktop/images/11042025/14/32/image_11042025_14_32_16_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":["1351737739","1351737625","1351737744","1351737668","1351737632","1351737710"],"photo_ids_order":["1351737625","1351737632","1351737668","1351737710","1351737739","1351737744"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/25981c4d29f567f3a98c09033b0e3b13.jpg","text":"TemporaryFile(/tmp/multipartBody5089959788969189338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380573117,"filename":"image_11042025_14_32_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/11/2c9c563132fe579bdb7141106c7fd2d5.jpg","text":"TemporaryFile(/tmp/multipartBody7858487364780384594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380573117,"filename":"image_11042025_14_31_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/11/6f52affaaf89f982c3f812fe0851d78a.jpg","text":"TemporaryFile(/tmp/multipartBody5843526845912185082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380573117,"filename":"image_11042025_14_32_16_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0bf1c39b9c80e96ba5be26879d15a982.jpg","text":"TemporaryFile(/tmp/multipartBody3598297857276912132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380573117,"filename":"image_11042025_14_31_46_9453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/be83b1895e4cd74a248ff30368877ae7.jpg","text":"TemporaryFile(/tmp/multipartBody3983485633627651955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380573117,"filename":"image_11042025_14_31_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/11/960fbb87ea08f1df5ce9fb9722ed61ab.jpg","text":"TemporaryFile(/tmp/multipartBody4270028301182772734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380573117,"filename":"image_11042025_14_31_57_10470.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351737668","file1":"1351737632","file0":"1351737625","file4":"1351737739","file5":"1351737744","file3":"1351737710"},"map_files_photo_id_array":[{"photo_id":"1351737744","filename":"file5"},{"photo_id":"1351737668","filename":"file2"},{"photo_id":"1351737739","filename":"file4"},{"photo_id":"1351737632","filename":"file1"},{"photo_id":"1351737625","filename":"file0"},{"photo_id":"1351737710","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351737739":["hashtag1","hashtag2"]},{"1351737625":["hashtag1","hashtag2"]},{"1351737744":["hashtag1","hashtag2"]},{"1351737668":["hashtag1","hashtag2"]},{"1351737632":["hashtag1","hashtag2"]},{"1351737710":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351737739, 1351737625, 1351737744, 1351737668, 1351737632, 1351737710)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.70582556724548 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 16:09:32.768923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/14/32/image_11042025_14_32_26_9421.jpg', '/home/pi/Desktop/images/11042025/14/32/image_11042025_14_32_36_10356.jpg', '/home/pi/Desktop/images/11042025/14/32/image_11042025_14_32_47_10412.jpg', '/home/pi/Desktop/images/11042025/14/32/image_11042025_14_32_56_9447.jpg', '/home/pi/Desktop/images/11042025/14/32/image_11042025_14_33_06_10348.jpg', '/home/pi/Desktop/images/11042025/14/33/image_11042025_14_33_17_10335.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/14/32/image_11042025_14_32_26_9421.jpg
/home/pi/Desktop/images/11042025/14/32/image_11042025_14_32_36_10356.jpg
/home/pi/Desktop/images/11042025/14/32/image_11042025_14_32_47_10412.jpg
/home/pi/Desktop/images/11042025/14/32/image_11042025_14_32_56_9447.jpg
/home/pi/Desktop/images/11042025/14/32/image_11042025_14_33_06_10348.jpg
/home/pi/Desktop/images/11042025/14/33/image_11042025_14_33_17_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":["1351738164","1351738286","1351738208","1351738109","1351738252","1351738321"],"photo_ids_order":["1351738109","1351738164","1351738208","1351738252","1351738286","1351738321"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/529b870c9c51d52a0bf9056c43df148d.jpg","text":"TemporaryFile(/tmp/multipartBody5821298090802624417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380633226,"filename":"image_11042025_14_32_36_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/37ea4a62a71de9300f0a5cd529168970.jpg","text":"TemporaryFile(/tmp/multipartBody1290265313584079040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380633226,"filename":"image_11042025_14_33_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/11/f0c8a10b8b74c379d5125f564b87dc67.jpg","text":"TemporaryFile(/tmp/multipartBody6435516036563885959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380633226,"filename":"image_11042025_14_32_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/11/364af5d4bd5985d26a27c26a0867c155.jpg","text":"TemporaryFile(/tmp/multipartBody5412206189824006852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380633226,"filename":"image_11042025_14_32_26_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7c19412909bebe096d3efd558731b307.jpg","text":"TemporaryFile(/tmp/multipartBody930502791188200228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380633226,"filename":"image_11042025_14_32_56_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/11/503ddfebf95569cd71eb9d439e8919fa.jpg","text":"TemporaryFile(/tmp/multipartBody5032852607799798639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380633226,"filename":"image_11042025_14_33_17_10335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351738208","file1":"1351738164","file0":"1351738109","file4":"1351738286","file5":"1351738321","file3":"1351738252"},"map_files_photo_id_array":[{"photo_id":"1351738321","filename":"file5"},{"photo_id":"1351738208","filename":"file2"},{"photo_id":"1351738286","filename":"file4"},{"photo_id":"1351738164","filename":"file1"},{"photo_id":"1351738109","filename":"file0"},{"photo_id":"1351738252","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351738164":["hashtag1","hashtag2"]},{"1351738286":["hashtag1","hashtag2"]},{"1351738208":["hashtag1","hashtag2"]},{"1351738109":["hashtag1","hashtag2"]},{"1351738252":["hashtag1","hashtag2"]},{"1351738321":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351738164, 1351738286, 1351738208, 1351738109, 1351738252, 1351738321)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.69991326332092 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 16:10:33.048911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/14/33/image_11042025_14_33_26_9358.jpg', '/home/pi/Desktop/images/11042025/14/33/image_11042025_14_33_36_10375.jpg', '/home/pi/Desktop/images/11042025/14/33/image_11042025_14_33_46_9446.jpg', '/home/pi/Desktop/images/11042025/14/33/image_11042025_14_33_56_10374.jpg', '/home/pi/Desktop/images/11042025/14/33/image_11042025_14_34_07_10355.jpg', '/home/pi/Desktop/images/11042025/14/34/image_11042025_14_34_16_9353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/14/33/image_11042025_14_33_26_9358.jpg
/home/pi/Desktop/images/11042025/14/33/image_11042025_14_33_36_10375.jpg
/home/pi/Desktop/images/11042025/14/33/image_11042025_14_33_46_9446.jpg
/home/pi/Desktop/images/11042025/14/33/image_11042025_14_33_56_10374.jpg
/home/pi/Desktop/images/11042025/14/33/image_11042025_14_34_07_10355.jpg
/home/pi/Desktop/images/11042025/14/34/image_11042025_14_34_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":["1351738806","1351738704","1351739024","1351738934","1351738890","1351739082"],"photo_ids_order":["1351738704","1351738806","1351738890","1351738934","1351739024","1351739082"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f05aed3ef9dee647a3ae06501bb0354d.jpg","text":"TemporaryFile(/tmp/multipartBody6187676996695895019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380693523,"filename":"image_11042025_14_33_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/11/2d9c8022bbb2ca3319b56ccd308147c1.jpg","text":"TemporaryFile(/tmp/multipartBody3781825108236413177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380693523,"filename":"image_11042025_14_33_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/11/f12754ba6a7267094abc4765d09202d1.jpg","text":"TemporaryFile(/tmp/multipartBody7808183457806502273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380693523,"filename":"image_11042025_14_34_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/11/28f8d140887d22f3da61f85f46e15ff9.jpg","text":"TemporaryFile(/tmp/multipartBody7522189252934013662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380693523,"filename":"image_11042025_14_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/11/ea2a25a0075d22d8da5a9938e1993f90.jpg","text":"TemporaryFile(/tmp/multipartBody4165680178354299553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380693523,"filename":"image_11042025_14_33_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/11/77ccb2645f184b584b7083cf759fe679.jpg","text":"TemporaryFile(/tmp/multipartBody5603783562994344412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380693523,"filename":"image_11042025_14_34_16_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351738890","file1":"1351738806","file0":"1351738704","file4":"1351739024","file5":"1351739082","file3":"1351738934"},"map_files_photo_id_array":[{"photo_id":"1351739082","filename":"file5"},{"photo_id":"1351738890","filename":"file2"},{"photo_id":"1351739024","filename":"file4"},{"photo_id":"1351738806","filename":"file1"},{"photo_id":"1351738704","filename":"file0"},{"photo_id":"1351738934","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351738806":["hashtag1","hashtag2"]},{"1351738704":["hashtag1","hashtag2"]},{"1351739024":["hashtag1","hashtag2"]},{"1351738934":["hashtag1","hashtag2"]},{"1351738890":["hashtag1","hashtag2"]},{"1351739082":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351738806, 1351738704, 1351739024, 1351738934, 1351738890, 1351739082)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.70273566246033 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 16:11:33.241867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/14/34/image_11042025_14_34_26_10371.jpg', '/home/pi/Desktop/images/11042025/14/34/image_11042025_14_34_37_10366.jpg', '/home/pi/Desktop/images/11042025/14/34/image_11042025_14_34_46_9460.jpg', '/home/pi/Desktop/images/11042025/14/34/image_11042025_14_34_57_10442.jpg', '/home/pi/Desktop/images/11042025/14/34/image_11042025_14_35_06_9362.jpg', '/home/pi/Desktop/images/11042025/14/35/image_11042025_14_35_16_10324.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/14/34/image_11042025_14_34_26_10371.jpg
/home/pi/Desktop/images/11042025/14/34/image_11042025_14_34_37_10366.jpg
/home/pi/Desktop/images/11042025/14/34/image_11042025_14_34_46_9460.jpg
/home/pi/Desktop/images/11042025/14/34/image_11042025_14_34_57_10442.jpg
/home/pi/Desktop/images/11042025/14/34/image_11042025_14_35_06_9362.jpg
/home/pi/Desktop/images/11042025/14/35/image_11042025_14_35_16_10324.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351739427","1351739551","1351739389","1351739347","1351739521","1351739493"],"photo_ids_order":["1351739347","1351739389","1351739427","1351739493","1351739521","1351739551"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0dc79bcfb74fbfcaec7d7eef9f574d54.jpg","text":"TemporaryFile(/tmp/multipartBody8683595214851299673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380753703,"filename":"image_11042025_14_34_46_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/11/7c0c0bf7f35f4c4ee38eb1080f74d2bf.jpg","text":"TemporaryFile(/tmp/multipartBody6139627377417935616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380753703,"filename":"image_11042025_14_35_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/11/61c58ca14f4978e8d8faa66f60019dfc.jpg","text":"TemporaryFile(/tmp/multipartBody7639418937818748676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380753703,"filename":"image_11042025_14_34_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/11/a7bdcc711c8b73a991732df6fbc725a6.jpg","text":"TemporaryFile(/tmp/multipartBody3907045896463601123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380753703,"filename":"image_11042025_14_34_26_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8c81cf568118defbc81f67f9b46e2fba.jpg","text":"TemporaryFile(/tmp/multipartBody6826456372568564508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380753703,"filename":"image_11042025_14_35_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/11/843734c72a8d98d8617385e922555279.jpg","text":"TemporaryFile(/tmp/multipartBody1232900358627829319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380753703,"filename":"image_11042025_14_34_57_10442.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351739427","file1":"1351739389","file0":"1351739347","file4":"1351739521","file5":"1351739551","file3":"1351739493"},"map_files_photo_id_array":[{"photo_id":"1351739551","filename":"file5"},{"photo_id":"1351739427","filename":"file2"},{"photo_id":"1351739521","filename":"file4"},{"photo_id":"1351739389","filename":"file1"},{"photo_id":"1351739347","filename":"file0"},{"photo_id":"1351739493","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351739427":["hashtag1","hashtag2"]},{"1351739551":["hashtag1","hashtag2"]},{"1351739389":["hashtag1","hashtag2"]},{"1351739347":["hashtag1","hashtag2"]},{"1351739521":["hashtag1","hashtag2"]},{"1351739493":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351739427, 1351739551, 1351739389, 1351739347, 1351739521, 1351739493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.688228607177734 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 16:12:32.328904
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/14/35/image_11042025_14_35_27_10354.jpg', '/home/pi/Desktop/images/11042025/14/35/image_11042025_14_35_36_9353.jpg', '/home/pi/Desktop/images/11042025/14/35/image_11042025_14_35_46_10340.jpg', '/home/pi/Desktop/images/11042025/14/35/image_11042025_14_35_57_10360.jpg', '/home/pi/Desktop/images/11042025/14/35/image_11042025_14_36_06_9452.jpg', '/home/pi/Desktop/images/11042025/14/36/image_11042025_14_36_17_10445.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/14/35/image_11042025_14_35_27_10354.jpg
/home/pi/Desktop/images/11042025/14/35/image_11042025_14_35_36_9353.jpg
/home/pi/Desktop/images/11042025/14/35/image_11042025_14_35_46_10340.jpg
/home/pi/Desktop/images/11042025/14/35/image_11042025_14_35_57_10360.jpg
/home/pi/Desktop/images/11042025/14/35/image_11042025_14_36_06_9452.jpg
/home/pi/Desktop/images/11042025/14/36/image_11042025_14_36_17_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":["1351740012","1351739959","1351739923","1351740118","1351739988","1351740096"],"photo_ids_order":["1351739923","1351739959","1351739988","1351740012","1351740096","1351740118"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5692dc605bf8ff911b0b9deca5f485d5.jpg","text":"TemporaryFile(/tmp/multipartBody99820645535190260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380812795,"filename":"image_11042025_14_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/11/2a6926408606424f0b1f08660297f7bb.jpg","text":"TemporaryFile(/tmp/multipartBody7723878654478748453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380812795,"filename":"image_11042025_14_35_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/11/8066db8acd9727d2c71e031a489a89c0.jpg","text":"TemporaryFile(/tmp/multipartBody1678891756320255226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380812795,"filename":"image_11042025_14_35_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/11/6ba8c348c6c27decc414d73b24c7aa2b.jpg","text":"TemporaryFile(/tmp/multipartBody2761401433846555603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380812795,"filename":"image_11042025_14_36_17_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/11/cb749b5e52e01e1feb464e25719289a9.jpg","text":"TemporaryFile(/tmp/multipartBody2346327160680055724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380812795,"filename":"image_11042025_14_35_46_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a7eefdbaf7ce63f102b1f711ea2ec4da.jpg","text":"TemporaryFile(/tmp/multipartBody6696346549474883329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380812795,"filename":"image_11042025_14_36_06_9452.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351739988","file1":"1351739959","file0":"1351739923","file4":"1351740096","file5":"1351740118","file3":"1351740012"},"map_files_photo_id_array":[{"photo_id":"1351740118","filename":"file5"},{"photo_id":"1351739988","filename":"file2"},{"photo_id":"1351740096","filename":"file4"},{"photo_id":"1351739959","filename":"file1"},{"photo_id":"1351739923","filename":"file0"},{"photo_id":"1351740012","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351740012":["hashtag1","hashtag2"]},{"1351739959":["hashtag1","hashtag2"]},{"1351739923":["hashtag1","hashtag2"]},{"1351740118":["hashtag1","hashtag2"]},{"1351739988":["hashtag1","hashtag2"]},{"1351740096":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351740012, 1351739959, 1351739923, 1351740118, 1351739988, 1351740096)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.74468660354614 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 16:13:32.603993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/14/36/image_11042025_14_36_26_9447.jpg', '/home/pi/Desktop/images/11042025/14/36/image_11042025_14_36_36_10371.jpg', '/home/pi/Desktop/images/11042025/14/36/image_11042025_14_36_46_9433.jpg', '/home/pi/Desktop/images/11042025/14/36/image_11042025_14_37_07_10378.jpg', '/home/pi/Desktop/images/11042025/14/37/image_11042025_14_37_16_9415.jpg', '/home/pi/Desktop/images/11042025/14/37/image_11042025_14_37_26_10376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/14/36/image_11042025_14_36_26_9447.jpg
/home/pi/Desktop/images/11042025/14/36/image_11042025_14_36_36_10371.jpg
/home/pi/Desktop/images/11042025/14/36/image_11042025_14_36_46_9433.jpg
/home/pi/Desktop/images/11042025/14/36/image_11042025_14_37_07_10378.jpg
/home/pi/Desktop/images/11042025/14/37/image_11042025_14_37_16_9415.jpg
/home/pi/Desktop/images/11042025/14/37/image_11042025_14_37_26_10376.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351740768","1351740483","1351740833","1351740515","1351740694","1351740605"],"photo_ids_order":["1351740483","1351740515","1351740605","1351740694","1351740768","1351740833"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/80c99db063d2ef18bc53eecf122d9a65.jpg","text":"TemporaryFile(/tmp/multipartBody4968105336110103924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380873062,"filename":"image_11042025_14_37_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/11/4a000c87fcbbf7251d2d26f14ff44dda.jpg","text":"TemporaryFile(/tmp/multipartBody3291549053792702216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380873062,"filename":"image_11042025_14_36_26_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/00197bda599bcac28e128a19c17297a9.jpg","text":"TemporaryFile(/tmp/multipartBody6657640344505596964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380873062,"filename":"image_11042025_14_37_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/11/2905058ffe19c53fee17f984f3a378a8.jpg","text":"TemporaryFile(/tmp/multipartBody6820274453389686625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380873062,"filename":"image_11042025_14_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/11/9716990e979a139e4854aa3f24535917.jpg","text":"TemporaryFile(/tmp/multipartBody6682071125439735351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380873062,"filename":"image_11042025_14_37_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/11/ffc894fb2160c0e9eea68145d146f054.jpg","text":"TemporaryFile(/tmp/multipartBody7744980343119412400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380873062,"filename":"image_11042025_14_36_46_9433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351740605","file1":"1351740515","file0":"1351740483","file4":"1351740768","file5":"1351740833","file3":"1351740694"},"map_files_photo_id_array":[{"photo_id":"1351740833","filename":"file5"},{"photo_id":"1351740605","filename":"file2"},{"photo_id":"1351740768","filename":"file4"},{"photo_id":"1351740515","filename":"file1"},{"photo_id":"1351740483","filename":"file0"},{"photo_id":"1351740694","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351740768":["hashtag1","hashtag2"]},{"1351740483":["hashtag1","hashtag2"]},{"1351740833":["hashtag1","hashtag2"]},{"1351740515":["hashtag1","hashtag2"]},{"1351740694":["hashtag1","hashtag2"]},{"1351740605":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351740768, 1351740483, 1351740833, 1351740515, 1351740694, 1351740605)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.60246229171753 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 16:14:32.817386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/14/37/image_11042025_14_37_36_9415.jpg', '/home/pi/Desktop/images/11042025/14/37/image_11042025_14_37_46_10363.jpg', '/home/pi/Desktop/images/11042025/14/37/image_11042025_14_37_57_10383.jpg', '/home/pi/Desktop/images/11042025/14/38/image_11042025_14_38_16_10353.jpg', '/home/pi/Desktop/images/11042025/14/38/image_11042025_14_38_27_10377.jpg', '/home/pi/Desktop/images/11042025/14/38/image_11042025_14_38_36_9362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/14/37/image_11042025_14_37_36_9415.jpg
/home/pi/Desktop/images/11042025/14/37/image_11042025_14_37_46_10363.jpg
/home/pi/Desktop/images/11042025/14/37/image_11042025_14_37_57_10383.jpg
/home/pi/Desktop/images/11042025/14/38/image_11042025_14_38_16_10353.jpg
/home/pi/Desktop/images/11042025/14/38/image_11042025_14_38_27_10377.jpg
/home/pi/Desktop/images/11042025/14/38/image_11042025_14_38_36_9362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351741218","1351741035","1351741142","1351741226","1351741257","1351741242"],"photo_ids_order":["1351741035","1351741142","1351741218","1351741226","1351741242","1351741257"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1da48f707c1fd4ad8fba49dc5019cdb9.jpg","text":"TemporaryFile(/tmp/multipartBody506395428583739207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380933278,"filename":"image_11042025_14_37_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/11/953b369d867cd49a0e21970dc4f9d8af.jpg","text":"TemporaryFile(/tmp/multipartBody5076191813172767372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380933278,"filename":"image_11042025_14_37_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/11/3a24c79fc8c3d15e5ea50398457c2151.jpg","text":"TemporaryFile(/tmp/multipartBody7002014570650827621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380933278,"filename":"image_11042025_14_37_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/11/eb1e5eeeda429bf8b82ef211e14205b1.jpg","text":"TemporaryFile(/tmp/multipartBody744217729256518067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380933278,"filename":"image_11042025_14_38_16_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6b14a14453738e10c8197360950655ce.jpg","text":"TemporaryFile(/tmp/multipartBody7440242984483566508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380933278,"filename":"image_11042025_14_38_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/11/397658ba5b83c7879b5fb6971e12ccb0.jpg","text":"TemporaryFile(/tmp/multipartBody7243607038894360662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380933278,"filename":"image_11042025_14_38_27_10377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351741218","file1":"1351741142","file0":"1351741035","file4":"1351741242","file5":"1351741257","file3":"1351741226"},"map_files_photo_id_array":[{"photo_id":"1351741257","filename":"file5"},{"photo_id":"1351741218","filename":"file2"},{"photo_id":"1351741242","filename":"file4"},{"photo_id":"1351741142","filename":"file1"},{"photo_id":"1351741035","filename":"file0"},{"photo_id":"1351741226","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351741218":["hashtag1","hashtag2"]},{"1351741035":["hashtag1","hashtag2"]},{"1351741142":["hashtag1","hashtag2"]},{"1351741226":["hashtag1","hashtag2"]},{"1351741257":["hashtag1","hashtag2"]},{"1351741242":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351741218, 1351741035, 1351741142, 1351741226, 1351741257, 1351741242)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.845757722854614 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 16:15:32.980269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/14/38/image_11042025_14_38_46_10370.jpg', '/home/pi/Desktop/images/11042025/14/38/image_11042025_14_38_56_9403.jpg', '/home/pi/Desktop/images/11042025/14/38/image_11042025_14_39_06_10353.jpg', '/home/pi/Desktop/images/11042025/14/39/image_11042025_14_39_16_10076.jpg', '/home/pi/Desktop/images/11042025/14/39/image_11042025_14_39_27_10359.jpg', '/home/pi/Desktop/images/11042025/14/39/image_11042025_14_39_36_9349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/14/38/image_11042025_14_38_46_10370.jpg
/home/pi/Desktop/images/11042025/14/38/image_11042025_14_38_56_9403.jpg
/home/pi/Desktop/images/11042025/14/38/image_11042025_14_39_06_10353.jpg
/home/pi/Desktop/images/11042025/14/39/image_11042025_14_39_16_10076.jpg
/home/pi/Desktop/images/11042025/14/39/image_11042025_14_39_27_10359.jpg
/home/pi/Desktop/images/11042025/14/39/image_11042025_14_39_36_9349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351741406","1351741462","1351741450","1351741438","1351741470","1351741402"],"photo_ids_order":["1351741402","1351741406","1351741438","1351741450","1351741462","1351741470"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/88de9f1e6492ce721205a62bba6d89e3.jpg","text":"TemporaryFile(/tmp/multipartBody895138094438112971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380993435,"filename":"image_11042025_14_38_56_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9e01758d37668729797183ed5906753a.jpg","text":"TemporaryFile(/tmp/multipartBody2322147054629566506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380993435,"filename":"image_11042025_14_39_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/11/156c0a63911c82bc80124c6ebd804c75.jpg","text":"TemporaryFile(/tmp/multipartBody3226242412648025014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380993435,"filename":"image_11042025_14_39_16_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/11/c7eff53bd5f6ef317cc58966a5027c7a.jpg","text":"TemporaryFile(/tmp/multipartBody3436975097961019857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380993435,"filename":"image_11042025_14_39_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/11/39787b3b0b2052d4015c0e60027175fc.jpg","text":"TemporaryFile(/tmp/multipartBody7643385615553337087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380993435,"filename":"image_11042025_14_39_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/11/9c0de290c6986c1ced792cc2e626cc6f.jpg","text":"TemporaryFile(/tmp/multipartBody6807075557184636666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744380993435,"filename":"image_11042025_14_38_46_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351741438","file1":"1351741406","file0":"1351741402","file4":"1351741462","file5":"1351741470","file3":"1351741450"},"map_files_photo_id_array":[{"photo_id":"1351741470","filename":"file5"},{"photo_id":"1351741438","filename":"file2"},{"photo_id":"1351741462","filename":"file4"},{"photo_id":"1351741406","filename":"file1"},{"photo_id":"1351741402","filename":"file0"},{"photo_id":"1351741450","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351741406":["hashtag1","hashtag2"]},{"1351741462":["hashtag1","hashtag2"]},{"1351741450":["hashtag1","hashtag2"]},{"1351741438":["hashtag1","hashtag2"]},{"1351741470":["hashtag1","hashtag2"]},{"1351741402":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351741406, 1351741462, 1351741450, 1351741438, 1351741470, 1351741402)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.70597863197327 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 16:16:32.296195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/14/39/image_11042025_14_39_46_10437.jpg', '/home/pi/Desktop/images/11042025/14/39/image_11042025_14_39_56_9488.jpg', '/home/pi/Desktop/images/11042025/14/39/image_11042025_14_40_06_10355.jpg', '/home/pi/Desktop/images/11042025/14/40/image_11042025_14_40_17_10367.jpg', '/home/pi/Desktop/images/11042025/14/40/image_11042025_14_40_26_9358.jpg', '/home/pi/Desktop/images/11042025/14/40/image_11042025_14_40_36_10355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/14/39/image_11042025_14_39_46_10437.jpg
/home/pi/Desktop/images/11042025/14/39/image_11042025_14_39_56_9488.jpg
/home/pi/Desktop/images/11042025/14/39/image_11042025_14_40_06_10355.jpg
/home/pi/Desktop/images/11042025/14/40/image_11042025_14_40_17_10367.jpg
/home/pi/Desktop/images/11042025/14/40/image_11042025_14_40_26_9358.jpg
/home/pi/Desktop/images/11042025/14/40/image_11042025_14_40_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":["1351741821","1351741799","1351741817","1351741714","1351741839","1351741773"],"photo_ids_order":["1351741714","1351741773","1351741799","1351741817","1351741821","1351741839"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2c027fe846a460c101a9014da55501d1.jpg","text":"TemporaryFile(/tmp/multipartBody4809326514425830179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381052826,"filename":"image_11042025_14_40_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/11/7c10c64426323126a47ae2dfbedfc730.jpg","text":"TemporaryFile(/tmp/multipartBody6765430785140647490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381052826,"filename":"image_11042025_14_40_06_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/30617313ca95a2cc5ec67af9367271a1.jpg","text":"TemporaryFile(/tmp/multipartBody3285219718042718082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381052826,"filename":"image_11042025_14_40_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/11/98a2dc5b08503a33ea8dc5aec1f38a06.jpg","text":"TemporaryFile(/tmp/multipartBody8774388563658447755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381052826,"filename":"image_11042025_14_39_46_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/df56aa4e4e9f974efdc7faf57dfa05fd.jpg","text":"TemporaryFile(/tmp/multipartBody6855829105650168139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381052826,"filename":"image_11042025_14_40_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/11/be865953e9e049343a5a24fae8766b8c.jpg","text":"TemporaryFile(/tmp/multipartBody5111706255972477144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381052826,"filename":"image_11042025_14_39_56_9488.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351741799","file1":"1351741773","file0":"1351741714","file4":"1351741821","file5":"1351741839","file3":"1351741817"},"map_files_photo_id_array":[{"photo_id":"1351741839","filename":"file5"},{"photo_id":"1351741799","filename":"file2"},{"photo_id":"1351741821","filename":"file4"},{"photo_id":"1351741773","filename":"file1"},{"photo_id":"1351741714","filename":"file0"},{"photo_id":"1351741817","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351741821":["hashtag1","hashtag2"]},{"1351741799":["hashtag1","hashtag2"]},{"1351741817":["hashtag1","hashtag2"]},{"1351741714":["hashtag1","hashtag2"]},{"1351741839":["hashtag1","hashtag2"]},{"1351741773":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351741821, 1351741799, 1351741817, 1351741714, 1351741839, 1351741773)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.0354859828949 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 16:17:32.543039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/14/40/image_11042025_14_40_47_10376.jpg', '/home/pi/Desktop/images/11042025/14/40/image_11042025_14_40_56_9344.jpg', '/home/pi/Desktop/images/11042025/14/40/image_11042025_14_41_06_10353.jpg', '/home/pi/Desktop/images/11042025/14/41/image_11042025_14_41_26_10360.jpg', '/home/pi/Desktop/images/11042025/14/41/image_11042025_14_41_37_10365.jpg', '/home/pi/Desktop/images/11042025/14/41/image_11042025_14_41_46_9451.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/14/40/image_11042025_14_40_47_10376.jpg
/home/pi/Desktop/images/11042025/14/40/image_11042025_14_40_56_9344.jpg
/home/pi/Desktop/images/11042025/14/40/image_11042025_14_41_06_10353.jpg
/home/pi/Desktop/images/11042025/14/41/image_11042025_14_41_26_10360.jpg
/home/pi/Desktop/images/11042025/14/41/image_11042025_14_41_37_10365.jpg
/home/pi/Desktop/images/11042025/14/41/image_11042025_14_41_46_9451.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351741976","1351742006","1351742142","1351742217","1351742145","1351741962"],"photo_ids_order":["1351741962","1351741976","1351742006","1351742142","1351742145","1351742217"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/896b2737874a4d8a924697e4deb2866f.jpg","text":"TemporaryFile(/tmp/multipartBody5504357161134380123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381112999,"filename":"image_11042025_14_40_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/11/5c72d95ac6d43ca144f6b4594fdb767f.jpg","text":"TemporaryFile(/tmp/multipartBody5011729051440032598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381112999,"filename":"image_11042025_14_41_06_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0049793dfdb0ea85063377cebb521b18.jpg","text":"TemporaryFile(/tmp/multipartBody2255287741644483310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381112999,"filename":"image_11042025_14_41_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/11/e8d182c47ee7e4bc8fb16734e75a3126.jpg","text":"TemporaryFile(/tmp/multipartBody4278682037591825978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381112999,"filename":"image_11042025_14_41_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/11/b8d7b2b011de9fc9cacbf78ecc742e39.jpg","text":"TemporaryFile(/tmp/multipartBody5507071648900936746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381112999,"filename":"image_11042025_14_41_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/11/480f64710892c022c57dfd52eb3e15fa.jpg","text":"TemporaryFile(/tmp/multipartBody188903210506711463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381112999,"filename":"image_11042025_14_40_47_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351742006","file1":"1351741976","file0":"1351741962","file4":"1351742145","file5":"1351742217","file3":"1351742142"},"map_files_photo_id_array":[{"photo_id":"1351742217","filename":"file5"},{"photo_id":"1351742006","filename":"file2"},{"photo_id":"1351742145","filename":"file4"},{"photo_id":"1351741976","filename":"file1"},{"photo_id":"1351741962","filename":"file0"},{"photo_id":"1351742142","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351741976":["hashtag1","hashtag2"]},{"1351742006":["hashtag1","hashtag2"]},{"1351742142":["hashtag1","hashtag2"]},{"1351742217":["hashtag1","hashtag2"]},{"1351742145":["hashtag1","hashtag2"]},{"1351741962":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351741976, 1351742006, 1351742142, 1351742217, 1351742145, 1351741962)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.71936893463135 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 16:18:32.755736
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/14/41/image_11042025_14_41_56_10368.jpg', '/home/pi/Desktop/images/11042025/14/41/image_11042025_14_42_06_9398.jpg', '/home/pi/Desktop/images/11042025/14/42/image_11042025_14_42_16_10384.jpg', '/home/pi/Desktop/images/11042025/14/42/image_11042025_14_42_27_10349.jpg', '/home/pi/Desktop/images/11042025/14/42/image_11042025_14_42_36_9439.jpg', '/home/pi/Desktop/images/11042025/14/42/image_11042025_14_42_46_10473.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/14/41/image_11042025_14_41_56_10368.jpg
/home/pi/Desktop/images/11042025/14/41/image_11042025_14_42_06_9398.jpg
/home/pi/Desktop/images/11042025/14/42/image_11042025_14_42_16_10384.jpg
/home/pi/Desktop/images/11042025/14/42/image_11042025_14_42_27_10349.jpg
/home/pi/Desktop/images/11042025/14/42/image_11042025_14_42_36_9439.jpg
/home/pi/Desktop/images/11042025/14/42/image_11042025_14_42_46_10473.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351742386","1351742469","1351742379","1351742433","1351742409","1351742372"],"photo_ids_order":["1351742372","1351742379","1351742386","1351742409","1351742433","1351742469"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2d7bad2b83dcbd21e25d136a8e7099d7.jpg","text":"TemporaryFile(/tmp/multipartBody8566231922393431252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381173311,"filename":"image_11042025_14_42_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/11/f1d9de8b55f247ba01cbebbbfaed3323.jpg","text":"TemporaryFile(/tmp/multipartBody8966407571178858026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381173311,"filename":"image_11042025_14_42_46_10473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f0db6689af7d961c4820e7557b8698c6.jpg","text":"TemporaryFile(/tmp/multipartBody2522956391155836100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381173311,"filename":"image_11042025_14_42_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/11/f7c21c204447f00fbde921603bec3343.jpg","text":"TemporaryFile(/tmp/multipartBody3481904816720768099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381173311,"filename":"image_11042025_14_42_36_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/556a9ee3270939131482a4d1f414a43b.jpg","text":"TemporaryFile(/tmp/multipartBody6974693523468477662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381173311,"filename":"image_11042025_14_42_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/11/441f9575cc4af07c6afc0d325277b222.jpg","text":"TemporaryFile(/tmp/multipartBody1700339857735979621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381173311,"filename":"image_11042025_14_41_56_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351742386","file1":"1351742379","file0":"1351742372","file4":"1351742433","file5":"1351742469","file3":"1351742409"},"map_files_photo_id_array":[{"photo_id":"1351742469","filename":"file5"},{"photo_id":"1351742386","filename":"file2"},{"photo_id":"1351742433","filename":"file4"},{"photo_id":"1351742379","filename":"file1"},{"photo_id":"1351742372","filename":"file0"},{"photo_id":"1351742409","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351742386":["hashtag1","hashtag2"]},{"1351742469":["hashtag1","hashtag2"]},{"1351742379":["hashtag1","hashtag2"]},{"1351742433":["hashtag1","hashtag2"]},{"1351742409":["hashtag1","hashtag2"]},{"1351742372":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351742386, 1351742469, 1351742379, 1351742433, 1351742409, 1351742372)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.491170167922974 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 16:19:32.990357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/14/42/image_11042025_14_42_56_9506.jpg', '/home/pi/Desktop/images/11042025/14/42/image_11042025_14_43_06_10362.jpg', '/home/pi/Desktop/images/11042025/14/43/image_11042025_14_43_17_10359.jpg', '/home/pi/Desktop/images/11042025/14/43/image_11042025_14_43_26_9370.jpg', '/home/pi/Desktop/images/11042025/14/43/image_11042025_14_43_36_10433.jpg', '/home/pi/Desktop/images/11042025/14/43/image_11042025_14_43_46_9401.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/14/42/image_11042025_14_42_56_9506.jpg
/home/pi/Desktop/images/11042025/14/42/image_11042025_14_43_06_10362.jpg
/home/pi/Desktop/images/11042025/14/43/image_11042025_14_43_17_10359.jpg
/home/pi/Desktop/images/11042025/14/43/image_11042025_14_43_26_9370.jpg
/home/pi/Desktop/images/11042025/14/43/image_11042025_14_43_36_10433.jpg
/home/pi/Desktop/images/11042025/14/43/image_11042025_14_43_46_9401.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351742761","1351742878","1351742851","1351742638","1351742727","1351742798"],"photo_ids_order":["1351742638","1351742727","1351742761","1351742798","1351742851","1351742878"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d4e3036669b81aecb12175ef11f67629.jpg","text":"TemporaryFile(/tmp/multipartBody5741184737003268889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381233450,"filename":"image_11042025_14_43_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/11/436a8beb190e0bb5ce7177d55e631606.jpg","text":"TemporaryFile(/tmp/multipartBody7960520920820127377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381233450,"filename":"image_11042025_14_43_46_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d138be7ba2eac70eda367610c3ee2b76.jpg","text":"TemporaryFile(/tmp/multipartBody2878898859294076412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381233450,"filename":"image_11042025_14_43_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/11/8b15a56e0e98989b62ea6592ed9e5672.jpg","text":"TemporaryFile(/tmp/multipartBody2085871784784182200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381233450,"filename":"image_11042025_14_42_56_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/11/fabc0f58d8b87b3ff552276a9529ec6f.jpg","text":"TemporaryFile(/tmp/multipartBody895483013784777907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381233450,"filename":"image_11042025_14_43_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/11/a266dbcc875bbe04dfb76c1e7d68a10b.jpg","text":"TemporaryFile(/tmp/multipartBody1050467156791783284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381233450,"filename":"image_11042025_14_43_26_9370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351742761","file1":"1351742727","file0":"1351742638","file4":"1351742851","file5":"1351742878","file3":"1351742798"},"map_files_photo_id_array":[{"photo_id":"1351742878","filename":"file5"},{"photo_id":"1351742761","filename":"file2"},{"photo_id":"1351742851","filename":"file4"},{"photo_id":"1351742727","filename":"file1"},{"photo_id":"1351742638","filename":"file0"},{"photo_id":"1351742798","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351742761":["hashtag1","hashtag2"]},{"1351742878":["hashtag1","hashtag2"]},{"1351742851":["hashtag1","hashtag2"]},{"1351742638":["hashtag1","hashtag2"]},{"1351742727":["hashtag1","hashtag2"]},{"1351742798":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351742761, 1351742878, 1351742851, 1351742638, 1351742727, 1351742798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.475321531295776 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 16:20:33.136677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/14/43/image_11042025_14_43_56_10445.jpg', '/home/pi/Desktop/images/11042025/14/43/image_11042025_14_44_07_10356.jpg', '/home/pi/Desktop/images/11042025/14/44/image_11042025_14_44_16_9453.jpg', '/home/pi/Desktop/images/11042025/14/44/image_11042025_14_44_27_10355.jpg', '/home/pi/Desktop/images/11042025/14/44/image_11042025_14_44_36_9466.jpg', '/home/pi/Desktop/images/11042025/14/44/image_11042025_14_44_46_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/14/43/image_11042025_14_43_56_10445.jpg
/home/pi/Desktop/images/11042025/14/43/image_11042025_14_44_07_10356.jpg
/home/pi/Desktop/images/11042025/14/44/image_11042025_14_44_16_9453.jpg
/home/pi/Desktop/images/11042025/14/44/image_11042025_14_44_27_10355.jpg
/home/pi/Desktop/images/11042025/14/44/image_11042025_14_44_36_9466.jpg
/home/pi/Desktop/images/11042025/14/44/image_11042025_14_44_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":["1351743227","1351743175","1351743045","1351743129","1351743194","1351743083"],"photo_ids_order":["1351743045","1351743083","1351743129","1351743175","1351743194","1351743227"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e6f80b55e50bacc36ac1f4d06aa9cb3b.jpg","text":"TemporaryFile(/tmp/multipartBody7719518960912895926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381293598,"filename":"image_11042025_14_44_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/11/b1697af6a3c6443c2722d0faff253a3a.jpg","text":"TemporaryFile(/tmp/multipartBody3180959386953339433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381293598,"filename":"image_11042025_14_44_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/11/496cd6af96200a0a34615d886aaaf051.jpg","text":"TemporaryFile(/tmp/multipartBody3767606503608919022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381293598,"filename":"image_11042025_14_43_56_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8a530eefc19de341fb0e87ab8dd68f93.jpg","text":"TemporaryFile(/tmp/multipartBody2310380114921320793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381293598,"filename":"image_11042025_14_44_16_9453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/871cb6d5af855b3f1aa6271cedb6acf3.jpg","text":"TemporaryFile(/tmp/multipartBody5523195852565428881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381293598,"filename":"image_11042025_14_44_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/11/78c7f73d646cb5db63f9d4a34a2b54fd.jpg","text":"TemporaryFile(/tmp/multipartBody3834077186387237379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381293598,"filename":"image_11042025_14_44_07_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351743129","file1":"1351743083","file0":"1351743045","file4":"1351743194","file5":"1351743227","file3":"1351743175"},"map_files_photo_id_array":[{"photo_id":"1351743227","filename":"file5"},{"photo_id":"1351743129","filename":"file2"},{"photo_id":"1351743194","filename":"file4"},{"photo_id":"1351743083","filename":"file1"},{"photo_id":"1351743045","filename":"file0"},{"photo_id":"1351743175","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351743227":["hashtag1","hashtag2"]},{"1351743175":["hashtag1","hashtag2"]},{"1351743045":["hashtag1","hashtag2"]},{"1351743129":["hashtag1","hashtag2"]},{"1351743194":["hashtag1","hashtag2"]},{"1351743083":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351743227, 1351743175, 1351743045, 1351743129, 1351743194, 1351743083)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.90234136581421 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 16:21:32.471309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/14/44/image_11042025_14_44_57_10399.jpg', '/home/pi/Desktop/images/11042025/14/44/image_11042025_14_45_06_9342.jpg', '/home/pi/Desktop/images/11042025/14/45/image_11042025_14_45_17_10420.jpg', '/home/pi/Desktop/images/11042025/14/45/image_11042025_14_45_26_9382.jpg', '/home/pi/Desktop/images/11042025/14/45/image_11042025_14_45_36_10362.jpg', '/home/pi/Desktop/images/11042025/14/45/image_11042025_14_45_47_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/14/44/image_11042025_14_44_57_10399.jpg
/home/pi/Desktop/images/11042025/14/44/image_11042025_14_45_06_9342.jpg
/home/pi/Desktop/images/11042025/14/45/image_11042025_14_45_17_10420.jpg
/home/pi/Desktop/images/11042025/14/45/image_11042025_14_45_26_9382.jpg
/home/pi/Desktop/images/11042025/14/45/image_11042025_14_45_36_10362.jpg
/home/pi/Desktop/images/11042025/14/45/image_11042025_14_45_47_10369.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351743530","1351743605","1351743508","1351743570","1351743545","1351743632"],"photo_ids_order":["1351743508","1351743530","1351743545","1351743570","1351743605","1351743632"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5eccf1447715959b3b2af2c044ec5366.jpg","text":"TemporaryFile(/tmp/multipartBody5874893632672263344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381352927,"filename":"image_11042025_14_45_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/11/28827f0096590ee704ddf1fe28845d86.jpg","text":"TemporaryFile(/tmp/multipartBody6985845523960893491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381352927,"filename":"image_11042025_14_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/11/d90f0f51a99d6e891c000cb76adb69f6.jpg","text":"TemporaryFile(/tmp/multipartBody1162485070607241011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381352927,"filename":"image_11042025_14_44_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/11/a98f8916fe28ca14e3c42b965ff9fef1.jpg","text":"TemporaryFile(/tmp/multipartBody3531368713220436595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381352927,"filename":"image_11042025_14_45_26_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/11/168b1c0114e3a927e36ced5d130e6d2d.jpg","text":"TemporaryFile(/tmp/multipartBody7440829081302849105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381352927,"filename":"image_11042025_14_45_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/11/84ee6da5b3f0b37ab3cab51c01d3718c.jpg","text":"TemporaryFile(/tmp/multipartBody2611368753849115424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381352927,"filename":"image_11042025_14_45_47_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351743545","file1":"1351743530","file0":"1351743508","file4":"1351743605","file5":"1351743632","file3":"1351743570"},"map_files_photo_id_array":[{"photo_id":"1351743632","filename":"file5"},{"photo_id":"1351743545","filename":"file2"},{"photo_id":"1351743605","filename":"file4"},{"photo_id":"1351743530","filename":"file1"},{"photo_id":"1351743508","filename":"file0"},{"photo_id":"1351743570","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351743530":["hashtag1","hashtag2"]},{"1351743605":["hashtag1","hashtag2"]},{"1351743508":["hashtag1","hashtag2"]},{"1351743570":["hashtag1","hashtag2"]},{"1351743545":["hashtag1","hashtag2"]},{"1351743632":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351743530, 1351743605, 1351743508, 1351743570, 1351743545, 1351743632)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.571561336517334 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 16:22:32.557547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/14/45/image_11042025_14_45_56_9452.jpg', '/home/pi/Desktop/images/11042025/14/45/image_11042025_14_46_06_10372.jpg', '/home/pi/Desktop/images/11042025/14/46/image_11042025_14_46_16_9404.jpg', '/home/pi/Desktop/images/11042025/14/46/image_11042025_14_46_26_10373.jpg', '/home/pi/Desktop/images/11042025/14/46/image_11042025_14_46_37_10459.jpg', '/home/pi/Desktop/images/11042025/14/46/image_11042025_14_46_46_9406.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/14/45/image_11042025_14_45_56_9452.jpg
/home/pi/Desktop/images/11042025/14/45/image_11042025_14_46_06_10372.jpg
/home/pi/Desktop/images/11042025/14/46/image_11042025_14_46_16_9404.jpg
/home/pi/Desktop/images/11042025/14/46/image_11042025_14_46_26_10373.jpg
/home/pi/Desktop/images/11042025/14/46/image_11042025_14_46_37_10459.jpg
/home/pi/Desktop/images/11042025/14/46/image_11042025_14_46_46_9406.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351744087","1351743958","1351744140","1351743993","1351743999","1351744037"],"photo_ids_order":["1351743958","1351743993","1351743999","1351744037","1351744087","1351744140"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/10a7fb0d2f72770b533db05687affe93.jpg","text":"TemporaryFile(/tmp/multipartBody2119544970056702755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381413021,"filename":"image_11042025_14_46_37_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8454c27003835d7d786a968c698ac580.jpg","text":"TemporaryFile(/tmp/multipartBody8525806059016300069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381413021,"filename":"image_11042025_14_45_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/11/a6998b87819b7f0e2609e70e7fb27db4.jpg","text":"TemporaryFile(/tmp/multipartBody1445294049224357494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381413021,"filename":"image_11042025_14_46_46_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/01023114a1e4377cda562d1aac1b37bc.jpg","text":"TemporaryFile(/tmp/multipartBody1195181339076507582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381413021,"filename":"image_11042025_14_46_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/11/318841691907028c1ff43a3c4f59bfa2.jpg","text":"TemporaryFile(/tmp/multipartBody3622247401028334059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381413021,"filename":"image_11042025_14_46_16_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/73c21aef223af64cf278240073f91813.jpg","text":"TemporaryFile(/tmp/multipartBody5819595508102181968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381413021,"filename":"image_11042025_14_46_26_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351743999","file1":"1351743993","file0":"1351743958","file4":"1351744087","file5":"1351744140","file3":"1351744037"},"map_files_photo_id_array":[{"photo_id":"1351744140","filename":"file5"},{"photo_id":"1351743999","filename":"file2"},{"photo_id":"1351744087","filename":"file4"},{"photo_id":"1351743993","filename":"file1"},{"photo_id":"1351743958","filename":"file0"},{"photo_id":"1351744037","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351744087":["hashtag1","hashtag2"]},{"1351743958":["hashtag1","hashtag2"]},{"1351744140":["hashtag1","hashtag2"]},{"1351743993":["hashtag1","hashtag2"]},{"1351743999":["hashtag1","hashtag2"]},{"1351744037":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351744087, 1351743958, 1351744140, 1351743993, 1351743999, 1351744037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.17818069458008 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 16:23:32.794524
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/14/46/image_11042025_14_46_56_10361.jpg', '/home/pi/Desktop/images/11042025/14/46/image_11042025_14_47_06_9399.jpg', '/home/pi/Desktop/images/11042025/14/47/image_11042025_14_47_16_10350.jpg', '/home/pi/Desktop/images/11042025/14/47/image_11042025_14_47_27_10361.jpg', '/home/pi/Desktop/images/11042025/14/47/image_11042025_14_47_36_9457.jpg', '/home/pi/Desktop/images/11042025/14/47/image_11042025_14_47_46_10381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/14/46/image_11042025_14_46_56_10361.jpg
/home/pi/Desktop/images/11042025/14/46/image_11042025_14_47_06_9399.jpg
/home/pi/Desktop/images/11042025/14/47/image_11042025_14_47_16_10350.jpg
/home/pi/Desktop/images/11042025/14/47/image_11042025_14_47_27_10361.jpg
/home/pi/Desktop/images/11042025/14/47/image_11042025_14_47_36_9457.jpg
/home/pi/Desktop/images/11042025/14/47/image_11042025_14_47_46_10381.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351744525","1351744578","1351744506","1351744556","1351744628","1351744616"],"photo_ids_order":["1351744506","1351744525","1351744556","1351744578","1351744616","1351744628"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b714e9d0ad3107fb84e1c3c8732479ad.jpg","text":"TemporaryFile(/tmp/multipartBody3274962497585556304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381473248,"filename":"image_11042025_14_47_06_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e60c8f6e2cf97ba98e644e1cfc776aed.jpg","text":"TemporaryFile(/tmp/multipartBody6686361023249717376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381473248,"filename":"image_11042025_14_47_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/11/dc7c4c9ecec936cc3efa2ea016365992.jpg","text":"TemporaryFile(/tmp/multipartBody240199221655010525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381473248,"filename":"image_11042025_14_46_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/11/83d87950d2d54692f3a76cdcc261abeb.jpg","text":"TemporaryFile(/tmp/multipartBody6405865343124907141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381473248,"filename":"image_11042025_14_47_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/11/dbf554cf4d1988ce666f2da79fcc4280.jpg","text":"TemporaryFile(/tmp/multipartBody3213679170669683572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381473248,"filename":"image_11042025_14_47_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/11/8fd50bcc13ce7974448ff6d796f253a0.jpg","text":"TemporaryFile(/tmp/multipartBody6854560106130528662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381473248,"filename":"image_11042025_14_47_36_9457.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351744556","file1":"1351744525","file0":"1351744506","file4":"1351744616","file5":"1351744628","file3":"1351744578"},"map_files_photo_id_array":[{"photo_id":"1351744628","filename":"file5"},{"photo_id":"1351744556","filename":"file2"},{"photo_id":"1351744616","filename":"file4"},{"photo_id":"1351744525","filename":"file1"},{"photo_id":"1351744506","filename":"file0"},{"photo_id":"1351744578","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351744525":["hashtag1","hashtag2"]},{"1351744578":["hashtag1","hashtag2"]},{"1351744506":["hashtag1","hashtag2"]},{"1351744556":["hashtag1","hashtag2"]},{"1351744628":["hashtag1","hashtag2"]},{"1351744616":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351744525, 1351744578, 1351744506, 1351744556, 1351744628, 1351744616)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.20683741569519 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 16:24:33.073964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/14/47/image_11042025_14_47_56_9480.jpg', '/home/pi/Desktop/images/11042025/14/47/image_11042025_14_48_06_10369.jpg', '/home/pi/Desktop/images/11042025/14/48/image_11042025_14_48_17_10370.jpg', '/home/pi/Desktop/images/11042025/14/48/image_11042025_14_48_36_9999.jpg', '/home/pi/Desktop/images/11042025/14/48/image_11042025_14_48_46_10349.jpg', '/home/pi/Desktop/images/11042025/14/48/image_11042025_14_48_56_9436.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/14/47/image_11042025_14_47_56_9480.jpg
/home/pi/Desktop/images/11042025/14/47/image_11042025_14_48_06_10369.jpg
/home/pi/Desktop/images/11042025/14/48/image_11042025_14_48_17_10370.jpg
/home/pi/Desktop/images/11042025/14/48/image_11042025_14_48_36_9999.jpg
/home/pi/Desktop/images/11042025/14/48/image_11042025_14_48_46_10349.jpg
/home/pi/Desktop/images/11042025/14/48/image_11042025_14_48_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":["1351744951","1351744915","1351745043","1351744866","1351744889","1351744987"],"photo_ids_order":["1351744866","1351744889","1351744915","1351744951","1351744987","1351745043"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9cfa0070460f5aebaf1996ee410dd70b.jpg","text":"TemporaryFile(/tmp/multipartBody3410879669039976254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381533525,"filename":"image_11042025_14_48_36_9999.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5f15dfdb8490b18e42e029c4bd6e23d4.jpg","text":"TemporaryFile(/tmp/multipartBody3346592088534149159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381533525,"filename":"image_11042025_14_48_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/11/4f0855800024a0de1359430c443160af.jpg","text":"TemporaryFile(/tmp/multipartBody5149959249831427229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381533525,"filename":"image_11042025_14_48_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/11/2ec2dde706c16a2a29cc7a206ead2c56.jpg","text":"TemporaryFile(/tmp/multipartBody5512147372106191580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381533525,"filename":"image_11042025_14_47_56_9480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/498089a5f0953d8dcf43f3ddf4694a50.jpg","text":"TemporaryFile(/tmp/multipartBody3425131478479703256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381533525,"filename":"image_11042025_14_48_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/11/56cdbf5bdd07cddacdb58872bfe45c82.jpg","text":"TemporaryFile(/tmp/multipartBody2960119512415989723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381533525,"filename":"image_11042025_14_48_46_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351744915","file1":"1351744889","file0":"1351744866","file4":"1351744987","file5":"1351745043","file3":"1351744951"},"map_files_photo_id_array":[{"photo_id":"1351745043","filename":"file5"},{"photo_id":"1351744915","filename":"file2"},{"photo_id":"1351744987","filename":"file4"},{"photo_id":"1351744889","filename":"file1"},{"photo_id":"1351744866","filename":"file0"},{"photo_id":"1351744951","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351744951":["hashtag1","hashtag2"]},{"1351744915":["hashtag1","hashtag2"]},{"1351745043":["hashtag1","hashtag2"]},{"1351744866":["hashtag1","hashtag2"]},{"1351744889":["hashtag1","hashtag2"]},{"1351744987":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351744951, 1351744915, 1351745043, 1351744866, 1351744889, 1351744987)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.81664443016052 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 16:25:32.499422
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/14/48/image_11042025_14_49_06_10448.jpg', '/home/pi/Desktop/images/11042025/14/49/image_11042025_14_49_17_10351.jpg', '/home/pi/Desktop/images/11042025/14/49/image_11042025_14_49_26_9365.jpg', '/home/pi/Desktop/images/11042025/14/49/image_11042025_14_49_36_10354.jpg', '/home/pi/Desktop/images/11042025/14/49/image_11042025_14_49_47_10361.jpg', '/home/pi/Desktop/images/11042025/14/49/image_11042025_14_50_06_10471.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/14/48/image_11042025_14_49_06_10448.jpg
/home/pi/Desktop/images/11042025/14/49/image_11042025_14_49_17_10351.jpg
/home/pi/Desktop/images/11042025/14/49/image_11042025_14_49_26_9365.jpg
/home/pi/Desktop/images/11042025/14/49/image_11042025_14_49_36_10354.jpg
/home/pi/Desktop/images/11042025/14/49/image_11042025_14_49_47_10361.jpg
/home/pi/Desktop/images/11042025/14/49/image_11042025_14_50_06_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":["1351745490","1351745244","1351745349","1351745301","1351745417","1351745269"],"photo_ids_order":["1351745244","1351745269","1351745301","1351745349","1351745417","1351745490"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/862d43b913459fad3ab7b43f9b4ddde3.jpg","text":"TemporaryFile(/tmp/multipartBody2340004262218491726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381592972,"filename":"image_11042025_14_50_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/11/8de14b24dee6322079001140cc937a65.jpg","text":"TemporaryFile(/tmp/multipartBody5045553325542537124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381592972,"filename":"image_11042025_14_49_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/11/382289aa9ebac40715455b0f86d51d10.jpg","text":"TemporaryFile(/tmp/multipartBody3890832603689383798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381592972,"filename":"image_11042025_14_49_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/11/d34622a5de7aa53f5bb2bf8343295d7c.jpg","text":"TemporaryFile(/tmp/multipartBody6457288156182057702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381592972,"filename":"image_11042025_14_49_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/11/66a8504bdbcccb962fcb403ef9864823.jpg","text":"TemporaryFile(/tmp/multipartBody915833531222899206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381592972,"filename":"image_11042025_14_49_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/11/219bc7a425f17c7578a94e64b626104d.jpg","text":"TemporaryFile(/tmp/multipartBody837234479470508277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381592972,"filename":"image_11042025_14_49_17_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351745301","file1":"1351745269","file0":"1351745244","file4":"1351745417","file5":"1351745490","file3":"1351745349"},"map_files_photo_id_array":[{"photo_id":"1351745490","filename":"file5"},{"photo_id":"1351745301","filename":"file2"},{"photo_id":"1351745417","filename":"file4"},{"photo_id":"1351745269","filename":"file1"},{"photo_id":"1351745244","filename":"file0"},{"photo_id":"1351745349","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351745490":["hashtag1","hashtag2"]},{"1351745244":["hashtag1","hashtag2"]},{"1351745349":["hashtag1","hashtag2"]},{"1351745301":["hashtag1","hashtag2"]},{"1351745417":["hashtag1","hashtag2"]},{"1351745269":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351745490, 1351745244, 1351745349, 1351745301, 1351745417, 1351745269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.26394033432007 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 16:26:32.606494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/14/50/image_11042025_14_50_16_9408.jpg', '/home/pi/Desktop/images/11042025/14/50/image_11042025_14_50_26_10377.jpg', '/home/pi/Desktop/images/11042025/14/50/image_11042025_14_50_37_10360.jpg', '/home/pi/Desktop/images/11042025/14/50/image_11042025_14_50_46_9443.jpg', '/home/pi/Desktop/images/11042025/14/50/image_11042025_14_50_56_10380.jpg', '/home/pi/Desktop/images/11042025/14/50/image_11042025_14_51_06_9388.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/14/50/image_11042025_14_50_16_9408.jpg
/home/pi/Desktop/images/11042025/14/50/image_11042025_14_50_26_10377.jpg
/home/pi/Desktop/images/11042025/14/50/image_11042025_14_50_37_10360.jpg
/home/pi/Desktop/images/11042025/14/50/image_11042025_14_50_46_9443.jpg
/home/pi/Desktop/images/11042025/14/50/image_11042025_14_50_56_10380.jpg
/home/pi/Desktop/images/11042025/14/50/image_11042025_14_51_06_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":["1351745920","1351745798","1351745870","1351745738","1351745819","1351745689"],"photo_ids_order":["1351745689","1351745738","1351745798","1351745819","1351745870","1351745920"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f0846bd3b34046466288419d68364de8.jpg","text":"TemporaryFile(/tmp/multipartBody2235800046518770556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381653069,"filename":"image_11042025_14_51_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/11/806c8f681957097471ba87602d7c75b8.jpg","text":"TemporaryFile(/tmp/multipartBody5513126159069632126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381653069,"filename":"image_11042025_14_50_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/11/bf69ee074537e53eb574252d588d2b49.jpg","text":"TemporaryFile(/tmp/multipartBody3722898249319816090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381653069,"filename":"image_11042025_14_50_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/11/c912f4e3d134fd5be046ebeb87e03f3f.jpg","text":"TemporaryFile(/tmp/multipartBody8572420790866499474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381653069,"filename":"image_11042025_14_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/11/052388b2aa40a1a9f650adae4f779e6e.jpg","text":"TemporaryFile(/tmp/multipartBody189879660803322246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381653069,"filename":"image_11042025_14_50_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/11/7c402cb5a83e4b6267efd108221670bd.jpg","text":"TemporaryFile(/tmp/multipartBody6827371327570093993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381653069,"filename":"image_11042025_14_50_16_9408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351745798","file1":"1351745738","file0":"1351745689","file4":"1351745870","file5":"1351745920","file3":"1351745819"},"map_files_photo_id_array":[{"photo_id":"1351745920","filename":"file5"},{"photo_id":"1351745798","filename":"file2"},{"photo_id":"1351745870","filename":"file4"},{"photo_id":"1351745738","filename":"file1"},{"photo_id":"1351745689","filename":"file0"},{"photo_id":"1351745819","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351745920":["hashtag1","hashtag2"]},{"1351745798":["hashtag1","hashtag2"]},{"1351745870":["hashtag1","hashtag2"]},{"1351745738":["hashtag1","hashtag2"]},{"1351745819":["hashtag1","hashtag2"]},{"1351745689":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351745920, 1351745798, 1351745870, 1351745738, 1351745819, 1351745689)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.780540227890015 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 16:27:32.991968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/14/51/image_11042025_14_51_16_10355.jpg', '/home/pi/Desktop/images/11042025/14/51/image_11042025_14_51_27_10403.jpg', '/home/pi/Desktop/images/11042025/14/51/image_11042025_14_51_46_10364.jpg', '/home/pi/Desktop/images/11042025/14/51/image_11042025_14_51_57_10382.jpg', '/home/pi/Desktop/images/11042025/14/51/image_11042025_14_52_06_9359.jpg', '/home/pi/Desktop/images/11042025/14/52/image_11042025_14_52_16_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/14/51/image_11042025_14_51_16_10355.jpg
/home/pi/Desktop/images/11042025/14/51/image_11042025_14_51_27_10403.jpg
/home/pi/Desktop/images/11042025/14/51/image_11042025_14_51_46_10364.jpg
/home/pi/Desktop/images/11042025/14/51/image_11042025_14_51_57_10382.jpg
/home/pi/Desktop/images/11042025/14/51/image_11042025_14_52_06_9359.jpg
/home/pi/Desktop/images/11042025/14/52/image_11042025_14_52_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":["1351746627","1351746549","1351746717","1351746499","1351746673","1351746454"],"photo_ids_order":["1351746454","1351746499","1351746549","1351746627","1351746673","1351746717"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0937e03c388b81dc97df06513f119f1d.jpg","text":"TemporaryFile(/tmp/multipartBody4810954064851746741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381713447,"filename":"image_11042025_14_51_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/11/7c1a0fa701e360a4f3e8c292a0949887.jpg","text":"TemporaryFile(/tmp/multipartBody26325243962374281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381713447,"filename":"image_11042025_14_51_46_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ea5e009eac51880186e8e83fc75a0a10.jpg","text":"TemporaryFile(/tmp/multipartBody3608084950278099033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381713447,"filename":"image_11042025_14_52_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/11/3eb3d952e2c272a52ce954a83b49a682.jpg","text":"TemporaryFile(/tmp/multipartBody8275887871522939025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381713447,"filename":"image_11042025_14_51_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/11/e658e20f834c1f201ee8512c762df477.jpg","text":"TemporaryFile(/tmp/multipartBody5244132916752559869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381713447,"filename":"image_11042025_14_52_06_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7290088d50609426caabaa5de8b3e2cd.jpg","text":"TemporaryFile(/tmp/multipartBody3253809119908618814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381713447,"filename":"image_11042025_14_51_16_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351746549","file1":"1351746499","file0":"1351746454","file4":"1351746673","file5":"1351746717","file3":"1351746627"},"map_files_photo_id_array":[{"photo_id":"1351746717","filename":"file5"},{"photo_id":"1351746549","filename":"file2"},{"photo_id":"1351746673","filename":"file4"},{"photo_id":"1351746499","filename":"file1"},{"photo_id":"1351746454","filename":"file0"},{"photo_id":"1351746627","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351746627":["hashtag1","hashtag2"]},{"1351746549":["hashtag1","hashtag2"]},{"1351746717":["hashtag1","hashtag2"]},{"1351746499":["hashtag1","hashtag2"]},{"1351746673":["hashtag1","hashtag2"]},{"1351746454":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351746627, 1351746549, 1351746717, 1351746499, 1351746673, 1351746454)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.12649488449097 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 16:28:33.152842
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/14/52/image_11042025_14_52_26_9478.jpg', '/home/pi/Desktop/images/11042025/14/52/image_11042025_14_52_36_10359.jpg', '/home/pi/Desktop/images/11042025/14/52/image_11042025_14_52_47_10357.jpg', '/home/pi/Desktop/images/11042025/14/52/image_11042025_14_52_56_9419.jpg', '/home/pi/Desktop/images/11042025/14/52/image_11042025_14_53_07_10454.jpg', '/home/pi/Desktop/images/11042025/14/53/image_11042025_14_53_16_9361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/14/52/image_11042025_14_52_26_9478.jpg
/home/pi/Desktop/images/11042025/14/52/image_11042025_14_52_36_10359.jpg
/home/pi/Desktop/images/11042025/14/52/image_11042025_14_52_47_10357.jpg
/home/pi/Desktop/images/11042025/14/52/image_11042025_14_52_56_9419.jpg
/home/pi/Desktop/images/11042025/14/52/image_11042025_14_53_07_10454.jpg
/home/pi/Desktop/images/11042025/14/53/image_11042025_14_53_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":["1351747227","1351747008","1351747282","1351746952","1351747062","1351747164"],"photo_ids_order":["1351746952","1351747008","1351747062","1351747164","1351747227","1351747282"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b87d9f07452831be77614efe5927ad37.jpg","text":"TemporaryFile(/tmp/multipartBody1653021279789340888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381773611,"filename":"image_11042025_14_53_07_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/11/253a1c737d5daeec808a630a508ebf96.jpg","text":"TemporaryFile(/tmp/multipartBody7739042980559409174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381773611,"filename":"image_11042025_14_52_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/11/5b60235306b7d15394cd9f0950659eb7.jpg","text":"TemporaryFile(/tmp/multipartBody3215880791078220804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381773611,"filename":"image_11042025_14_53_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/11/a405ffe8ce37bec40c6d596448d99e8b.jpg","text":"TemporaryFile(/tmp/multipartBody6922638883549371163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381773611,"filename":"image_11042025_14_52_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/11/93741b2beb215b85a27b264d561aadbc.jpg","text":"TemporaryFile(/tmp/multipartBody2641171865576165856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381773611,"filename":"image_11042025_14_52_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/11/78197a30ec154efb5a19c4dfff3994ac.jpg","text":"TemporaryFile(/tmp/multipartBody1393946137660786058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381773611,"filename":"image_11042025_14_52_56_9419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351747062","file1":"1351747008","file0":"1351746952","file4":"1351747227","file5":"1351747282","file3":"1351747164"},"map_files_photo_id_array":[{"photo_id":"1351747282","filename":"file5"},{"photo_id":"1351747062","filename":"file2"},{"photo_id":"1351747227","filename":"file4"},{"photo_id":"1351747008","filename":"file1"},{"photo_id":"1351746952","filename":"file0"},{"photo_id":"1351747164","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351747227":["hashtag1","hashtag2"]},{"1351747008":["hashtag1","hashtag2"]},{"1351747282":["hashtag1","hashtag2"]},{"1351746952":["hashtag1","hashtag2"]},{"1351747062":["hashtag1","hashtag2"]},{"1351747164":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351747227, 1351747008, 1351747282, 1351746952, 1351747062, 1351747164)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.31488513946533 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 16:29:32.221719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/14/53/image_11042025_14_53_26_10373.jpg', '/home/pi/Desktop/images/11042025/14/53/image_11042025_14_53_37_10411.jpg', '/home/pi/Desktop/images/11042025/14/53/image_11042025_14_53_46_9351.jpg', '/home/pi/Desktop/images/11042025/14/53/image_11042025_14_53_56_10358.jpg', '/home/pi/Desktop/images/11042025/14/53/image_11042025_14_54_06_9405.jpg', '/home/pi/Desktop/images/11042025/14/54/image_11042025_14_54_16_10379.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/14/53/image_11042025_14_53_26_10373.jpg
/home/pi/Desktop/images/11042025/14/53/image_11042025_14_53_37_10411.jpg
/home/pi/Desktop/images/11042025/14/53/image_11042025_14_53_46_9351.jpg
/home/pi/Desktop/images/11042025/14/53/image_11042025_14_53_56_10358.jpg
/home/pi/Desktop/images/11042025/14/53/image_11042025_14_54_06_9405.jpg
/home/pi/Desktop/images/11042025/14/54/image_11042025_14_54_16_10379.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351747793","1351747733","1351747838","1351747888","1351747867","1351747683"],"photo_ids_order":["1351747683","1351747733","1351747793","1351747838","1351747867","1351747888"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c311f8b2503910fac090d9a4844c6452.jpg","text":"TemporaryFile(/tmp/multipartBody7929415617424015803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381832697,"filename":"image_11042025_14_53_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/11/6b9dadcb99c79080816d2bf749b687ef.jpg","text":"TemporaryFile(/tmp/multipartBody7497209469634780788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381832697,"filename":"image_11042025_14_53_37_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9a45c8ab25102f68188ce99d748c6899.jpg","text":"TemporaryFile(/tmp/multipartBody4556300335225358267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381832697,"filename":"image_11042025_14_53_56_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/bc900c64965dca62fbcda87ebb8b0a7e.jpg","text":"TemporaryFile(/tmp/multipartBody4954582906347347927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381832697,"filename":"image_11042025_14_54_16_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/cd1bc054a5355b7d22b3c63811f54da0.jpg","text":"TemporaryFile(/tmp/multipartBody3819610017763091847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381832697,"filename":"image_11042025_14_54_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/11/c99f6f3c1eca78485719cef5d16efe1b.jpg","text":"TemporaryFile(/tmp/multipartBody10537531282879857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381832697,"filename":"image_11042025_14_53_26_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351747793","file1":"1351747733","file0":"1351747683","file4":"1351747867","file5":"1351747888","file3":"1351747838"},"map_files_photo_id_array":[{"photo_id":"1351747888","filename":"file5"},{"photo_id":"1351747793","filename":"file2"},{"photo_id":"1351747867","filename":"file4"},{"photo_id":"1351747733","filename":"file1"},{"photo_id":"1351747683","filename":"file0"},{"photo_id":"1351747838","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351747793":["hashtag1","hashtag2"]},{"1351747733":["hashtag1","hashtag2"]},{"1351747838":["hashtag1","hashtag2"]},{"1351747888":["hashtag1","hashtag2"]},{"1351747867":["hashtag1","hashtag2"]},{"1351747683":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351747793, 1351747733, 1351747838, 1351747888, 1351747867, 1351747683)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.52771592140198 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 16:30:32.407308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/14/54/image_11042025_14_54_27_10359.jpg', '/home/pi/Desktop/images/11042025/14/54/image_11042025_14_54_36_9411.jpg', '/home/pi/Desktop/images/11042025/14/54/image_11042025_14_54_46_10389.jpg', '/home/pi/Desktop/images/11042025/14/54/image_11042025_14_54_57_10360.jpg', '/home/pi/Desktop/images/11042025/14/54/image_11042025_14_55_06_9389.jpg', '/home/pi/Desktop/images/11042025/14/55/image_11042025_14_55_16_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/14/54/image_11042025_14_54_27_10359.jpg
/home/pi/Desktop/images/11042025/14/54/image_11042025_14_54_36_9411.jpg
/home/pi/Desktop/images/11042025/14/54/image_11042025_14_54_46_10389.jpg
/home/pi/Desktop/images/11042025/14/54/image_11042025_14_54_57_10360.jpg
/home/pi/Desktop/images/11042025/14/54/image_11042025_14_55_06_9389.jpg
/home/pi/Desktop/images/11042025/14/55/image_11042025_14_55_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":["1351748156","1351748254","1351748206","1351748097","1351748325","1351748400"],"photo_ids_order":["1351748097","1351748156","1351748206","1351748254","1351748325","1351748400"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/cfe91090f20de80292662419b3b6b51c.jpg","text":"TemporaryFile(/tmp/multipartBody6354519286030114430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381892867,"filename":"image_11042025_14_54_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/11/d3b147888a4833bdb8f46ae41d9e9b17.jpg","text":"TemporaryFile(/tmp/multipartBody1504517317920161661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381892867,"filename":"image_11042025_14_54_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/11/2f0044b0ba34e21a061fd1a1fd202a69.jpg","text":"TemporaryFile(/tmp/multipartBody2318510106143018479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381892867,"filename":"image_11042025_14_54_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/11/ee8604f165274526be7605c27f1a406c.jpg","text":"TemporaryFile(/tmp/multipartBody3921291429126525164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381892867,"filename":"image_11042025_14_54_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/11/8b13096520103f83b4550fb1a52346fd.jpg","text":"TemporaryFile(/tmp/multipartBody380904415246577100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381892867,"filename":"image_11042025_14_55_06_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0103bb3863708aad679495717c51e399.jpg","text":"TemporaryFile(/tmp/multipartBody3652203890223938527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381892867,"filename":"image_11042025_14_55_16_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351748206","file1":"1351748156","file0":"1351748097","file4":"1351748325","file5":"1351748400","file3":"1351748254"},"map_files_photo_id_array":[{"photo_id":"1351748400","filename":"file5"},{"photo_id":"1351748206","filename":"file2"},{"photo_id":"1351748325","filename":"file4"},{"photo_id":"1351748156","filename":"file1"},{"photo_id":"1351748097","filename":"file0"},{"photo_id":"1351748254","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351748156":["hashtag1","hashtag2"]},{"1351748254":["hashtag1","hashtag2"]},{"1351748206":["hashtag1","hashtag2"]},{"1351748097":["hashtag1","hashtag2"]},{"1351748325":["hashtag1","hashtag2"]},{"1351748400":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351748156, 1351748254, 1351748206, 1351748097, 1351748325, 1351748400)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.943610191345215 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 16:31:32.645449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/14/55/image_11042025_14_55_26_9444.jpg', '/home/pi/Desktop/images/11042025/14/55/image_11042025_14_55_36_10363.jpg', '/home/pi/Desktop/images/11042025/14/55/image_11042025_14_55_47_10351.jpg', '/home/pi/Desktop/images/11042025/14/55/image_11042025_14_55_56_9435.jpg', '/home/pi/Desktop/images/11042025/14/55/image_11042025_14_56_06_10357.jpg', '/home/pi/Desktop/images/11042025/14/56/image_11042025_14_56_16_9438.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/14/55/image_11042025_14_55_26_9444.jpg
/home/pi/Desktop/images/11042025/14/55/image_11042025_14_55_36_10363.jpg
/home/pi/Desktop/images/11042025/14/55/image_11042025_14_55_47_10351.jpg
/home/pi/Desktop/images/11042025/14/55/image_11042025_14_55_56_9435.jpg
/home/pi/Desktop/images/11042025/14/55/image_11042025_14_56_06_10357.jpg
/home/pi/Desktop/images/11042025/14/56/image_11042025_14_56_16_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":["1351748848","1351748761","1351748722","1351748940","1351748891","1351748802"],"photo_ids_order":["1351748722","1351748761","1351748802","1351748848","1351748891","1351748940"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f1d5f164f2ad70e6de673270a0d92b36.jpg","text":"TemporaryFile(/tmp/multipartBody4986471472386326929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381953111,"filename":"image_11042025_14_55_56_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f87283b684358d18a5dca9eff4b23b57.jpg","text":"TemporaryFile(/tmp/multipartBody5827375880215008102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381953111,"filename":"image_11042025_14_55_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/11/4f809d004511817b57ccf4f78120a2ae.jpg","text":"TemporaryFile(/tmp/multipartBody4909222090053515660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381953111,"filename":"image_11042025_14_55_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/11/0e83fb1ef8f35de04ee0dc2c891b673e.jpg","text":"TemporaryFile(/tmp/multipartBody1804021940850711239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381953111,"filename":"image_11042025_14_56_16_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e60b90646ac484127edcbd9c643c8ac3.jpg","text":"TemporaryFile(/tmp/multipartBody7763164514357135236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381953111,"filename":"image_11042025_14_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/11/c73f58a3c6167d75ece790493be17445.jpg","text":"TemporaryFile(/tmp/multipartBody3627645970327380613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744381953111,"filename":"image_11042025_14_55_47_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351748802","file1":"1351748761","file0":"1351748722","file4":"1351748891","file5":"1351748940","file3":"1351748848"},"map_files_photo_id_array":[{"photo_id":"1351748940","filename":"file5"},{"photo_id":"1351748802","filename":"file2"},{"photo_id":"1351748891","filename":"file4"},{"photo_id":"1351748761","filename":"file1"},{"photo_id":"1351748722","filename":"file0"},{"photo_id":"1351748848","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351748848":["hashtag1","hashtag2"]},{"1351748761":["hashtag1","hashtag2"]},{"1351748722":["hashtag1","hashtag2"]},{"1351748940":["hashtag1","hashtag2"]},{"1351748891":["hashtag1","hashtag2"]},{"1351748802":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351748848, 1351748761, 1351748722, 1351748940, 1351748891, 1351748802)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.074289083480835 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 16:32:32.834163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/14/56/image_11042025_14_56_26_10374.jpg', '/home/pi/Desktop/images/11042025/14/56/image_11042025_14_56_37_10371.jpg', '/home/pi/Desktop/images/11042025/14/56/image_11042025_14_56_46_9386.jpg', '/home/pi/Desktop/images/11042025/14/56/image_11042025_14_56_56_10368.jpg', '/home/pi/Desktop/images/11042025/14/56/image_11042025_14_57_07_10362.jpg', '/home/pi/Desktop/images/11042025/14/57/image_11042025_14_57_16_9643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/14/56/image_11042025_14_56_26_10374.jpg
/home/pi/Desktop/images/11042025/14/56/image_11042025_14_56_37_10371.jpg
/home/pi/Desktop/images/11042025/14/56/image_11042025_14_56_46_9386.jpg
/home/pi/Desktop/images/11042025/14/56/image_11042025_14_56_56_10368.jpg
/home/pi/Desktop/images/11042025/14/56/image_11042025_14_57_07_10362.jpg
/home/pi/Desktop/images/11042025/14/57/image_11042025_14_57_16_9643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351749616","1351749538","1351749591","1351749570","1351749378","1351749407"],"photo_ids_order":["1351749378","1351749407","1351749538","1351749570","1351749591","1351749616"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/72cc6d08b623aed669bb3127cd9e51e6.jpg","text":"TemporaryFile(/tmp/multipartBody4185736761335261701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744382013322,"filename":"image_11042025_14_57_16_9643.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e093eb676dff850b12a53a7e33841ec7.jpg","text":"TemporaryFile(/tmp/multipartBody4417785949968998307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744382013322,"filename":"image_11042025_14_56_46_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/04f24aff02153e7c935083eff01d0120.jpg","text":"TemporaryFile(/tmp/multipartBody4754004056727965370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744382013322,"filename":"image_11042025_14_57_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/11/03186f1732512d424bacb093126586d2.jpg","text":"TemporaryFile(/tmp/multipartBody5359040692457821750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744382013322,"filename":"image_11042025_14_56_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/11/a309b5ce3c7ada88152aaf881d91641c.jpg","text":"TemporaryFile(/tmp/multipartBody7514325686008491569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744382013322,"filename":"image_11042025_14_56_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/11/807d9bbe0277fd31edec9f26b9223186.jpg","text":"TemporaryFile(/tmp/multipartBody4601897940837886043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744382013322,"filename":"image_11042025_14_56_37_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351749538","file1":"1351749407","file0":"1351749378","file4":"1351749591","file5":"1351749616","file3":"1351749570"},"map_files_photo_id_array":[{"photo_id":"1351749616","filename":"file5"},{"photo_id":"1351749538","filename":"file2"},{"photo_id":"1351749591","filename":"file4"},{"photo_id":"1351749407","filename":"file1"},{"photo_id":"1351749378","filename":"file0"},{"photo_id":"1351749570","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351749616":["hashtag1","hashtag2"]},{"1351749538":["hashtag1","hashtag2"]},{"1351749591":["hashtag1","hashtag2"]},{"1351749570":["hashtag1","hashtag2"]},{"1351749378":["hashtag1","hashtag2"]},{"1351749407":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351749616, 1351749538, 1351749591, 1351749570, 1351749378, 1351749407)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.47906184196472 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 16:33:33.225951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/14/57/image_11042025_14_57_27_10380.jpg', '/home/pi/Desktop/images/11042025/14/57/image_11042025_14_57_36_9398.jpg', '/home/pi/Desktop/images/11042025/14/57/image_11042025_14_57_46_10355.jpg', '/home/pi/Desktop/images/11042025/14/57/image_11042025_14_57_56_9388.jpg', '/home/pi/Desktop/images/11042025/14/57/image_11042025_14_58_06_10360.jpg', '/home/pi/Desktop/images/11042025/14/58/image_11042025_14_58_17_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/14/57/image_11042025_14_57_27_10380.jpg
/home/pi/Desktop/images/11042025/14/57/image_11042025_14_57_36_9398.jpg
/home/pi/Desktop/images/11042025/14/57/image_11042025_14_57_46_10355.jpg
/home/pi/Desktop/images/11042025/14/57/image_11042025_14_57_56_9388.jpg
/home/pi/Desktop/images/11042025/14/57/image_11042025_14_58_06_10360.jpg
/home/pi/Desktop/images/11042025/14/58/image_11042025_14_58_17_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351749827","1351749793","1351749918","1351749768","1351749741","1351749872"],"photo_ids_order":["1351749741","1351749768","1351749793","1351749827","1351749872","1351749918"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3f2070fb59f929f315a643e267b0dc18.jpg","text":"TemporaryFile(/tmp/multipartBody2937311215561718722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744382073699,"filename":"image_11042025_14_57_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/11/5ef4b3d3d1806762ac5cd8827463b022.jpg","text":"TemporaryFile(/tmp/multipartBody3338994660169713137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744382073699,"filename":"image_11042025_14_57_46_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0800c33a51ada06094692020da6407d4.jpg","text":"TemporaryFile(/tmp/multipartBody3112282996013321960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744382073699,"filename":"image_11042025_14_58_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/11/02bbfeb212b4566c3d5014dbfd6f7563.jpg","text":"TemporaryFile(/tmp/multipartBody8827471652547951780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744382073699,"filename":"image_11042025_14_57_36_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/78d885297fbde63f83a5d5f8e0a625c6.jpg","text":"TemporaryFile(/tmp/multipartBody5855193931506221307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744382073699,"filename":"image_11042025_14_57_27_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1f67fca511f6020bbd5b09f16cd78fbd.jpg","text":"TemporaryFile(/tmp/multipartBody5286153846625499264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744382073699,"filename":"image_11042025_14_58_06_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351749793","file1":"1351749768","file0":"1351749741","file4":"1351749872","file5":"1351749918","file3":"1351749827"},"map_files_photo_id_array":[{"photo_id":"1351749918","filename":"file5"},{"photo_id":"1351749793","filename":"file2"},{"photo_id":"1351749872","filename":"file4"},{"photo_id":"1351749768","filename":"file1"},{"photo_id":"1351749741","filename":"file0"},{"photo_id":"1351749827","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351749827":["hashtag1","hashtag2"]},{"1351749793":["hashtag1","hashtag2"]},{"1351749918":["hashtag1","hashtag2"]},{"1351749768":["hashtag1","hashtag2"]},{"1351749741":["hashtag1","hashtag2"]},{"1351749872":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351749827, 1351749793, 1351749918, 1351749768, 1351749741, 1351749872)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 245.61168098449707 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 16:37:43.000444
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/14/58/image_11042025_14_58_26_9453.jpg', '/home/pi/Desktop/images/11042025/14/58/image_11042025_14_58_36_10373.jpg', '/home/pi/Desktop/images/11042025/14/58/image_11042025_14_58_46_9475.jpg', '/home/pi/Desktop/images/11042025/14/58/image_11042025_14_58_56_10365.jpg', '/home/pi/Desktop/images/11042025/14/58/image_11042025_14_59_07_10419.jpg', '/home/pi/Desktop/images/11042025/14/59/image_11042025_14_59_16_9391.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/14/58/image_11042025_14_58_26_9453.jpg
/home/pi/Desktop/images/11042025/14/58/image_11042025_14_58_36_10373.jpg
/home/pi/Desktop/images/11042025/14/58/image_11042025_14_58_46_9475.jpg
/home/pi/Desktop/images/11042025/14/58/image_11042025_14_58_56_10365.jpg
/home/pi/Desktop/images/11042025/14/58/image_11042025_14_59_07_10419.jpg
/home/pi/Desktop/images/11042025/14/59/image_11042025_14_59_16_9391.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351751408","1351751799","1351751523","1351751334","1351751930","1351751615"],"photo_ids_order":["1351751334","1351751408","1351751523","1351751615","1351751799","1351751930"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/27bc93d8f7c93301a2d6e75e713c1ada.jpg","text":"TemporaryFile(/tmp/multipartBody5126474123626682660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744382323453,"filename":"image_11042025_14_58_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/11/12c429cb2b7df680c2c5dbeef31bc8cb.jpg","text":"TemporaryFile(/tmp/multipartBody4298680045699576586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744382323453,"filename":"image_11042025_14_59_07_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/cc73edd571b29dc19e3639daea04adb9.jpg","text":"TemporaryFile(/tmp/multipartBody2343835010846854184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744382323453,"filename":"image_11042025_14_58_46_9475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/235590c889e4f954e091590b71007ca0.jpg","text":"TemporaryFile(/tmp/multipartBody716005207656670860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744382323453,"filename":"image_11042025_14_58_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/11/4160ed5d5a893ae08191aa125086248c.jpg","text":"TemporaryFile(/tmp/multipartBody7591858850661265149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744382323453,"filename":"image_11042025_14_59_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/11/16a33890d98cd0069bada928228c7e5d.jpg","text":"TemporaryFile(/tmp/multipartBody5241503570708733949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744382323453,"filename":"image_11042025_14_58_56_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351751523","file1":"1351751408","file0":"1351751334","file4":"1351751799","file5":"1351751930","file3":"1351751615"},"map_files_photo_id_array":[{"photo_id":"1351751930","filename":"file5"},{"photo_id":"1351751523","filename":"file2"},{"photo_id":"1351751799","filename":"file4"},{"photo_id":"1351751408","filename":"file1"},{"photo_id":"1351751334","filename":"file0"},{"photo_id":"1351751615","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351751408":["hashtag1","hashtag2"]},{"1351751799":["hashtag1","hashtag2"]},{"1351751523":["hashtag1","hashtag2"]},{"1351751334":["hashtag1","hashtag2"]},{"1351751930":["hashtag1","hashtag2"]},{"1351751615":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351751408, 1351751799, 1351751523, 1351751334, 1351751930, 1351751615)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.89079403877258 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 16:38:33.133717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/14/59/image_11042025_14_59_26_10364.jpg', '/home/pi/Desktop/images/11042025/14/59/image_11042025_14_59_36_9526.jpg', '/home/pi/Desktop/images/11042025/14/59/image_11042025_14_59_56_9481.jpg', '/home/pi/Desktop/images/11042025/15/00/image_11042025_15_00_16_10072.jpg', '/home/pi/Desktop/images/11042025/15/00/image_11042025_15_00_46_9457.jpg', '/home/pi/Desktop/images/11042025/15/00/image_11042025_15_00_56_10445.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/14/59/image_11042025_14_59_26_10364.jpg
/home/pi/Desktop/images/11042025/14/59/image_11042025_14_59_36_9526.jpg
/home/pi/Desktop/images/11042025/14/59/image_11042025_14_59_56_9481.jpg
/home/pi/Desktop/images/11042025/15/00/image_11042025_15_00_16_10072.jpg
/home/pi/Desktop/images/11042025/15/00/image_11042025_15_00_46_9457.jpg
/home/pi/Desktop/images/11042025/15/00/image_11042025_15_00_56_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":["1351752265","1351752160","1351752189","1351752354","1351752312","1351752221"],"photo_ids_order":["1351752160","1351752189","1351752221","1351752265","1351752312","1351752354"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7670243e489ceb1c7f89dff88cf50587.jpg","text":"TemporaryFile(/tmp/multipartBody4104084711140679720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744382373601,"filename":"image_11042025_15_00_16_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/11/8f2102e6c19c8856d7245b0803a48b69.jpg","text":"TemporaryFile(/tmp/multipartBody515949327481867351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744382373601,"filename":"image_11042025_14_59_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/11/c318125f084694cff83d771ebb4509ad.jpg","text":"TemporaryFile(/tmp/multipartBody5162509404250557203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744382373601,"filename":"image_11042025_14_59_36_9526.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9c8e5e1b9e7d6d12046706f8ae4dbff7.jpg","text":"TemporaryFile(/tmp/multipartBody7267901852492160673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744382373601,"filename":"image_11042025_15_00_56_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/75c6ba4ad1e817410270b03091dfff0f.jpg","text":"TemporaryFile(/tmp/multipartBody4965505459505785925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744382373601,"filename":"image_11042025_15_00_46_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/11/d36d1cdb6e6ab12b2c06f0fd57a834a4.jpg","text":"TemporaryFile(/tmp/multipartBody198754097705671338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744382373601,"filename":"image_11042025_14_59_56_9481.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351752221","file1":"1351752189","file0":"1351752160","file4":"1351752312","file5":"1351752354","file3":"1351752265"},"map_files_photo_id_array":[{"photo_id":"1351752354","filename":"file5"},{"photo_id":"1351752221","filename":"file2"},{"photo_id":"1351752312","filename":"file4"},{"photo_id":"1351752189","filename":"file1"},{"photo_id":"1351752160","filename":"file0"},{"photo_id":"1351752265","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351752265":["hashtag1","hashtag2"]},{"1351752160":["hashtag1","hashtag2"]},{"1351752189":["hashtag1","hashtag2"]},{"1351752354":["hashtag1","hashtag2"]},{"1351752312":["hashtag1","hashtag2"]},{"1351752221":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351752265, 1351752160, 1351752189, 1351752354, 1351752312, 1351752221)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.56425619125366 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 16:39:32.376822
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/15/00/image_11042025_15_01_06_9342.jpg', '/home/pi/Desktop/images/11042025/15/01/image_11042025_15_01_26_10379.jpg', '/home/pi/Desktop/images/11042025/15/01/image_11042025_15_01_46_10372.jpg', '/home/pi/Desktop/images/11042025/15/01/image_11042025_15_01_56_9396.jpg', '/home/pi/Desktop/images/11042025/15/01/image_11042025_15_02_06_10430.jpg', '/home/pi/Desktop/images/11042025/15/02/image_11042025_15_02_17_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/15/00/image_11042025_15_01_06_9342.jpg
/home/pi/Desktop/images/11042025/15/01/image_11042025_15_01_26_10379.jpg
/home/pi/Desktop/images/11042025/15/01/image_11042025_15_01_46_10372.jpg
/home/pi/Desktop/images/11042025/15/01/image_11042025_15_01_56_9396.jpg
/home/pi/Desktop/images/11042025/15/01/image_11042025_15_02_06_10430.jpg
/home/pi/Desktop/images/11042025/15/02/image_11042025_15_02_17_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351752661","1351752742","1351752838","1351752974","1351752920","1351752716"],"photo_ids_order":["1351752661","1351752716","1351752742","1351752838","1351752920","1351752974"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/dcd32948ea2ae9ba02fa43f0f3efe038.jpg","text":"TemporaryFile(/tmp/multipartBody6594599088401474919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744382432859,"filename":"image_11042025_15_01_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/11/6ec8cd62cf4b7c334097ad2e8972faff.jpg","text":"TemporaryFile(/tmp/multipartBody3690131230482256585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744382432859,"filename":"image_11042025_15_01_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/11/c421e85a2772e504457820af7e1c8086.jpg","text":"TemporaryFile(/tmp/multipartBody8244703443896849925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744382432859,"filename":"image_11042025_15_01_56_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1dfebbdcb37b3c763b1e5d5bab0bc5da.jpg","text":"TemporaryFile(/tmp/multipartBody1108532976547358661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744382432859,"filename":"image_11042025_15_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/11/e928d57b7a756088dae6cbebef5f6ef6.jpg","text":"TemporaryFile(/tmp/multipartBody1463329631733639798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744382432859,"filename":"image_11042025_15_02_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/11/efee891e53ca445157e3ffbe6db76c95.jpg","text":"TemporaryFile(/tmp/multipartBody1308194800691455216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744382432859,"filename":"image_11042025_15_01_26_10379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351752742","file1":"1351752716","file0":"1351752661","file4":"1351752920","file5":"1351752974","file3":"1351752838"},"map_files_photo_id_array":[{"photo_id":"1351752974","filename":"file5"},{"photo_id":"1351752742","filename":"file2"},{"photo_id":"1351752920","filename":"file4"},{"photo_id":"1351752716","filename":"file1"},{"photo_id":"1351752661","filename":"file0"},{"photo_id":"1351752838","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351752661":["hashtag1","hashtag2"]},{"1351752742":["hashtag1","hashtag2"]},{"1351752838":["hashtag1","hashtag2"]},{"1351752974":["hashtag1","hashtag2"]},{"1351752920":["hashtag1","hashtag2"]},{"1351752716":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351752661, 1351752742, 1351752838, 1351752974, 1351752920, 1351752716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.304293155670166 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 16:40:32.653743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/15/02/image_11042025_15_02_26_9393.jpg', '/home/pi/Desktop/images/11042025/15/02/image_11042025_15_02_46_9440.jpg', '/home/pi/Desktop/images/11042025/15/02/image_11042025_15_02_56_10371.jpg', '/home/pi/Desktop/images/11042025/15/02/image_11042025_15_03_06_10391.jpg', '/home/pi/Desktop/images/11042025/15/03/image_11042025_15_03_16_9392.jpg', '/home/pi/Desktop/images/11042025/15/03/image_11042025_15_03_26_10438.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/15/02/image_11042025_15_02_26_9393.jpg
/home/pi/Desktop/images/11042025/15/02/image_11042025_15_02_46_9440.jpg
/home/pi/Desktop/images/11042025/15/02/image_11042025_15_02_56_10371.jpg
/home/pi/Desktop/images/11042025/15/02/image_11042025_15_03_06_10391.jpg
/home/pi/Desktop/images/11042025/15/03/image_11042025_15_03_16_9392.jpg
/home/pi/Desktop/images/11042025/15/03/image_11042025_15_03_26_10438.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.37354445457458496 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 16:40:42.663509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/15/02/image_11042025_15_02_26_9393.jpg', '/home/pi/Desktop/images/11042025/15/02/image_11042025_15_02_46_9440.jpg', '/home/pi/Desktop/images/11042025/15/02/image_11042025_15_02_56_10371.jpg', '/home/pi/Desktop/images/11042025/15/02/image_11042025_15_03_06_10391.jpg', '/home/pi/Desktop/images/11042025/15/03/image_11042025_15_03_16_9392.jpg', '/home/pi/Desktop/images/11042025/15/03/image_11042025_15_03_26_10438.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/15/02/image_11042025_15_02_26_9393.jpg
/home/pi/Desktop/images/11042025/15/02/image_11042025_15_02_46_9440.jpg
/home/pi/Desktop/images/11042025/15/02/image_11042025_15_02_56_10371.jpg
/home/pi/Desktop/images/11042025/15/02/image_11042025_15_03_06_10391.jpg
/home/pi/Desktop/images/11042025/15/03/image_11042025_15_03_16_9392.jpg
/home/pi/Desktop/images/11042025/15/03/image_11042025_15_03_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":["1351753994","1351753799","1351754197","1351754102","1351753957","1351753846"],"photo_ids_order":["1351753799","1351753846","1351753957","1351753994","1351754102","1351754197"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/94b7875153d56f096af675849cf1585f.jpg","text":"TemporaryFile(/tmp/multipartBody7325091016403360405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744382503119,"filename":"image_11042025_15_03_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/11/0b011147964e25e4646801d2d40380a8.jpg","text":"TemporaryFile(/tmp/multipartBody3881438026767405297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744382503119,"filename":"image_11042025_15_02_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/11/98866cedd2f35e73c3b7df4027de86a8.jpg","text":"TemporaryFile(/tmp/multipartBody2523558748448103734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744382503119,"filename":"image_11042025_15_03_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/11/0bee3db95d9a9205044010b6d0bc8eb0.jpg","text":"TemporaryFile(/tmp/multipartBody6207932292304822618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744382503119,"filename":"image_11042025_15_03_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/11/ee453d8cf630835ff8435ab65a0b66f9.jpg","text":"TemporaryFile(/tmp/multipartBody9123775384387129551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744382503119,"filename":"image_11042025_15_02_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/11/569549f466e25e4aabc29548af1b673a.jpg","text":"TemporaryFile(/tmp/multipartBody2561876859715610845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744382503119,"filename":"image_11042025_15_02_46_9440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351753957","file1":"1351753846","file0":"1351753799","file4":"1351754102","file5":"1351754197","file3":"1351753994"},"map_files_photo_id_array":[{"photo_id":"1351754197","filename":"file5"},{"photo_id":"1351753957","filename":"file2"},{"photo_id":"1351754102","filename":"file4"},{"photo_id":"1351753846","filename":"file1"},{"photo_id":"1351753799","filename":"file0"},{"photo_id":"1351753994","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351753994":["hashtag1","hashtag2"]},{"1351753799":["hashtag1","hashtag2"]},{"1351754197":["hashtag1","hashtag2"]},{"1351754102":["hashtag1","hashtag2"]},{"1351753957":["hashtag1","hashtag2"]},{"1351753846":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351753994, 1351753799, 1351754197, 1351754102, 1351753957, 1351753846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.003302335739136 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 16:41:42.995069
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/15/03/image_11042025_15_03_36_9362.jpg', '/home/pi/Desktop/images/11042025/15/03/image_11042025_15_03_46_10368.jpg', '/home/pi/Desktop/images/11042025/15/03/image_11042025_15_03_56_10362.jpg', '/home/pi/Desktop/images/11042025/15/03/image_11042025_15_04_06_9460.jpg', '/home/pi/Desktop/images/11042025/15/04/image_11042025_15_04_16_10351.jpg', '/home/pi/Desktop/images/11042025/15/04/image_11042025_15_04_27_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/15/03/image_11042025_15_03_36_9362.jpg
/home/pi/Desktop/images/11042025/15/03/image_11042025_15_03_46_10368.jpg
/home/pi/Desktop/images/11042025/15/03/image_11042025_15_03_56_10362.jpg
/home/pi/Desktop/images/11042025/15/03/image_11042025_15_04_06_9460.jpg
/home/pi/Desktop/images/11042025/15/04/image_11042025_15_04_16_10351.jpg
/home/pi/Desktop/images/11042025/15/04/image_11042025_15_04_27_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.37904858589172363 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 16:41:52.966188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/15/03/image_11042025_15_03_36_9362.jpg', '/home/pi/Desktop/images/11042025/15/03/image_11042025_15_03_46_10368.jpg', '/home/pi/Desktop/images/11042025/15/03/image_11042025_15_03_56_10362.jpg', '/home/pi/Desktop/images/11042025/15/03/image_11042025_15_04_06_9460.jpg', '/home/pi/Desktop/images/11042025/15/04/image_11042025_15_04_16_10351.jpg', '/home/pi/Desktop/images/11042025/15/04/image_11042025_15_04_27_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/15/03/image_11042025_15_03_36_9362.jpg
/home/pi/Desktop/images/11042025/15/03/image_11042025_15_03_46_10368.jpg
/home/pi/Desktop/images/11042025/15/03/image_11042025_15_03_56_10362.jpg
/home/pi/Desktop/images/11042025/15/03/image_11042025_15_04_06_9460.jpg
/home/pi/Desktop/images/11042025/15/04/image_11042025_15_04_16_10351.jpg
/home/pi/Desktop/images/11042025/15/04/image_11042025_15_04_27_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":["1351754535","1351754483","1351754654","1351754593","1351754434","1351754707"],"photo_ids_order":["1351754434","1351754483","1351754535","1351754593","1351754654","1351754707"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/81bc306da0cbdf3cf866e80f9095552e.jpg","text":"TemporaryFile(/tmp/multipartBody656304599147559944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744382573424,"filename":"image_11042025_15_03_56_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5a44205d31de173b8317b172a6eb1f07.jpg","text":"TemporaryFile(/tmp/multipartBody6172094181609858197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744382573424,"filename":"image_11042025_15_03_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/11/e4124c991e473f4e30afea15a548836c.jpg","text":"TemporaryFile(/tmp/multipartBody6484301539028120625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744382573424,"filename":"image_11042025_15_04_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/11/8b816e38603166eff4b2d16f4d099d31.jpg","text":"TemporaryFile(/tmp/multipartBody1748545526989785009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744382573424,"filename":"image_11042025_15_04_06_9460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/eca6ff883aaeaacd3d627d60e515af2a.jpg","text":"TemporaryFile(/tmp/multipartBody1821031470506006206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744382573424,"filename":"image_11042025_15_03_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/11/a36aa2eb78ff56a71a951f1a63049bc1.jpg","text":"TemporaryFile(/tmp/multipartBody277906051449567914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744382573424,"filename":"image_11042025_15_04_27_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351754535","file1":"1351754483","file0":"1351754434","file4":"1351754654","file5":"1351754707","file3":"1351754593"},"map_files_photo_id_array":[{"photo_id":"1351754707","filename":"file5"},{"photo_id":"1351754535","filename":"file2"},{"photo_id":"1351754654","filename":"file4"},{"photo_id":"1351754483","filename":"file1"},{"photo_id":"1351754434","filename":"file0"},{"photo_id":"1351754593","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351754535":["hashtag1","hashtag2"]},{"1351754483":["hashtag1","hashtag2"]},{"1351754654":["hashtag1","hashtag2"]},{"1351754593":["hashtag1","hashtag2"]},{"1351754434":["hashtag1","hashtag2"]},{"1351754707":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351754535, 1351754483, 1351754654, 1351754593, 1351754434, 1351754707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.292304277420044 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 16:42:43.141703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/15/04/image_11042025_15_04_36_9479.jpg', '/home/pi/Desktop/images/11042025/15/04/image_11042025_15_04_46_10374.jpg', '/home/pi/Desktop/images/11042025/15/04/image_11042025_15_04_56_9435.jpg', '/home/pi/Desktop/images/11042025/15/04/image_11042025_15_05_06_10386.jpg', '/home/pi/Desktop/images/11042025/15/05/image_11042025_15_05_17_10368.jpg', '/home/pi/Desktop/images/11042025/15/05/image_11042025_15_05_26_9437.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/15/04/image_11042025_15_04_36_9479.jpg
/home/pi/Desktop/images/11042025/15/04/image_11042025_15_04_46_10374.jpg
/home/pi/Desktop/images/11042025/15/04/image_11042025_15_04_56_9435.jpg
/home/pi/Desktop/images/11042025/15/04/image_11042025_15_05_06_10386.jpg
/home/pi/Desktop/images/11042025/15/05/image_11042025_15_05_17_10368.jpg
/home/pi/Desktop/images/11042025/15/05/image_11042025_15_05_26_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":["1351755058","1351755096","1351755234","1351755159","1351755132","1351755054"],"photo_ids_order":["1351755054","1351755058","1351755096","1351755132","1351755159","1351755234"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/25b3aea2a6268d1c4d92b2087f33f391.jpg","text":"TemporaryFile(/tmp/multipartBody4312713228307679072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744382623597,"filename":"image_11042025_15_04_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/11/ee5bceac01770b1970aa668a53f633a1.jpg","text":"TemporaryFile(/tmp/multipartBody823143180147911092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744382623597,"filename":"image_11042025_15_04_56_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2789e3a0270822d57cb388886ab7276d.jpg","text":"TemporaryFile(/tmp/multipartBody535051504296960248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744382623597,"filename":"image_11042025_15_05_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/11/2581410604830bb4b0b351b425fecb02.jpg","text":"TemporaryFile(/tmp/multipartBody962022208541463801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744382623597,"filename":"image_11042025_15_05_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/11/058fdde4906b7d5a3ce913574c877824.jpg","text":"TemporaryFile(/tmp/multipartBody6780880642501905311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744382623597,"filename":"image_11042025_15_05_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/11/3a4d841b47bac2e94c696eb329457f7a.jpg","text":"TemporaryFile(/tmp/multipartBody4194039356980318815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744382623597,"filename":"image_11042025_15_04_36_9479.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351755096","file1":"1351755058","file0":"1351755054","file4":"1351755159","file5":"1351755234","file3":"1351755132"},"map_files_photo_id_array":[{"photo_id":"1351755234","filename":"file5"},{"photo_id":"1351755096","filename":"file2"},{"photo_id":"1351755159","filename":"file4"},{"photo_id":"1351755058","filename":"file1"},{"photo_id":"1351755054","filename":"file0"},{"photo_id":"1351755132","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351755058":["hashtag1","hashtag2"]},{"1351755096":["hashtag1","hashtag2"]},{"1351755234":["hashtag1","hashtag2"]},{"1351755159":["hashtag1","hashtag2"]},{"1351755132":["hashtag1","hashtag2"]},{"1351755054":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351755058, 1351755096, 1351755234, 1351755159, 1351755132, 1351755054)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.65436768531799 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 16:43:42.328637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/15/05/image_11042025_15_05_36_10360.jpg', '/home/pi/Desktop/images/11042025/15/05/image_11042025_15_05_46_9495.jpg', '/home/pi/Desktop/images/11042025/15/05/image_11042025_15_05_56_10375.jpg', '/home/pi/Desktop/images/11042025/15/05/image_11042025_15_06_07_10356.jpg', '/home/pi/Desktop/images/11042025/15/06/image_11042025_15_06_16_9364.jpg', '/home/pi/Desktop/images/11042025/15/06/image_11042025_15_06_26_10348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/15/05/image_11042025_15_05_36_10360.jpg
/home/pi/Desktop/images/11042025/15/05/image_11042025_15_05_46_9495.jpg
/home/pi/Desktop/images/11042025/15/05/image_11042025_15_05_56_10375.jpg
/home/pi/Desktop/images/11042025/15/05/image_11042025_15_06_07_10356.jpg
/home/pi/Desktop/images/11042025/15/06/image_11042025_15_06_16_9364.jpg
/home/pi/Desktop/images/11042025/15/06/image_11042025_15_06_26_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":["1351756040","1351755782","1351755638","1351755902","1351755763","1351755373"],"photo_ids_order":["1351755373","1351755638","1351755763","1351755782","1351755902","1351756040"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b65e7460830836558c9af79efd0f7048.jpg","text":"TemporaryFile(/tmp/multipartBody5262259203348261337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744382682783,"filename":"image_11042025_15_06_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/11/9d01e5cb8ac3f0ebc98b1e0fd88eb4d1.jpg","text":"TemporaryFile(/tmp/multipartBody6916474533909724444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744382682783,"filename":"image_11042025_15_06_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/11/380f2050c7844734d1e11259f345636a.jpg","text":"TemporaryFile(/tmp/multipartBody3417856985912930431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744382682783,"filename":"image_11042025_15_05_46_9495.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/921e7ae65f3244c2c98c8ca626706f2a.jpg","text":"TemporaryFile(/tmp/multipartBody6331671051022437410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744382682783,"filename":"image_11042025_15_06_16_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c60188638514287966c0cc71fbc0fc05.jpg","text":"TemporaryFile(/tmp/multipartBody7809177577702830795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744382682783,"filename":"image_11042025_15_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/11/7dc6f865602c866eb40d43de73bf774b.jpg","text":"TemporaryFile(/tmp/multipartBody3113398577652312276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744382682783,"filename":"image_11042025_15_05_36_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351755763","file1":"1351755638","file0":"1351755373","file4":"1351755902","file5":"1351756040","file3":"1351755782"},"map_files_photo_id_array":[{"photo_id":"1351756040","filename":"file5"},{"photo_id":"1351755763","filename":"file2"},{"photo_id":"1351755902","filename":"file4"},{"photo_id":"1351755638","filename":"file1"},{"photo_id":"1351755373","filename":"file0"},{"photo_id":"1351755782","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351756040":["hashtag1","hashtag2"]},{"1351755782":["hashtag1","hashtag2"]},{"1351755638":["hashtag1","hashtag2"]},{"1351755902":["hashtag1","hashtag2"]},{"1351755763":["hashtag1","hashtag2"]},{"1351755373":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351756040, 1351755782, 1351755638, 1351755902, 1351755763, 1351755373)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.729856967926025 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 16:44:32.640209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/15/06/image_11042025_15_06_36_9424.jpg', '/home/pi/Desktop/images/11042025/15/06/image_11042025_15_06_46_10371.jpg', '/home/pi/Desktop/images/11042025/15/06/image_11042025_15_06_57_10366.jpg', '/home/pi/Desktop/images/11042025/15/06/image_11042025_15_07_06_9338.jpg', '/home/pi/Desktop/images/11042025/15/07/image_11042025_15_07_16_10371.jpg', '/home/pi/Desktop/images/11042025/15/07/image_11042025_15_07_46_10355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/15/06/image_11042025_15_06_36_9424.jpg
/home/pi/Desktop/images/11042025/15/06/image_11042025_15_06_46_10371.jpg
/home/pi/Desktop/images/11042025/15/06/image_11042025_15_06_57_10366.jpg
/home/pi/Desktop/images/11042025/15/06/image_11042025_15_07_06_9338.jpg
/home/pi/Desktop/images/11042025/15/07/image_11042025_15_07_16_10371.jpg
/home/pi/Desktop/images/11042025/15/07/image_11042025_15_07_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":["1351756661","1351756655","1351756681","1351756723","1351756561","1351756667"],"photo_ids_order":["1351756561","1351756655","1351756661","1351756667","1351756681","1351756723"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d5f55dc3b6e57ea289afdf6835dc9564.jpg","text":"TemporaryFile(/tmp/multipartBody1592701226629276451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744382733092,"filename":"image_11042025_15_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/11/45e81d9321e823898c9aa39ad9c4a36e.jpg","text":"TemporaryFile(/tmp/multipartBody7815402100086149684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744382733092,"filename":"image_11042025_15_06_46_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/08a512a9cf112db7c5f2b156ef655494.jpg","text":"TemporaryFile(/tmp/multipartBody2459137182818107812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744382733092,"filename":"image_11042025_15_07_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/11/76def0238d36ae5775cb9abda5e5c6ca.jpg","text":"TemporaryFile(/tmp/multipartBody3314342912664063196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744382733092,"filename":"image_11042025_15_07_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/11/d4befc6ee4a6e46453772f837271be72.jpg","text":"TemporaryFile(/tmp/multipartBody6281857647604775561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744382733092,"filename":"image_11042025_15_06_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/11/1848ac1f013b633615080b527bbc46f7.jpg","text":"TemporaryFile(/tmp/multipartBody7538417698532632639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744382733092,"filename":"image_11042025_15_07_06_9338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351756661","file1":"1351756655","file0":"1351756561","file4":"1351756681","file5":"1351756723","file3":"1351756667"},"map_files_photo_id_array":[{"photo_id":"1351756723","filename":"file5"},{"photo_id":"1351756661","filename":"file2"},{"photo_id":"1351756681","filename":"file4"},{"photo_id":"1351756655","filename":"file1"},{"photo_id":"1351756561","filename":"file0"},{"photo_id":"1351756667","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351756661":["hashtag1","hashtag2"]},{"1351756655":["hashtag1","hashtag2"]},{"1351756681":["hashtag1","hashtag2"]},{"1351756723":["hashtag1","hashtag2"]},{"1351756561":["hashtag1","hashtag2"]},{"1351756667":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351756661, 1351756655, 1351756681, 1351756723, 1351756561, 1351756667)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.542229890823364 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 16:45:32.934856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/15/07/image_11042025_15_07_56_9410.jpg', '/home/pi/Desktop/images/11042025/15/07/image_11042025_15_08_06_10395.jpg', '/home/pi/Desktop/images/11042025/15/08/image_11042025_15_08_17_10343.jpg', '/home/pi/Desktop/images/11042025/15/08/image_11042025_15_08_26_9431.jpg', '/home/pi/Desktop/images/11042025/15/08/image_11042025_15_08_46_9330.jpg', '/home/pi/Desktop/images/11042025/15/08/image_11042025_15_08_56_10465.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/15/07/image_11042025_15_07_56_9410.jpg
/home/pi/Desktop/images/11042025/15/07/image_11042025_15_08_06_10395.jpg
/home/pi/Desktop/images/11042025/15/08/image_11042025_15_08_17_10343.jpg
/home/pi/Desktop/images/11042025/15/08/image_11042025_15_08_26_9431.jpg
/home/pi/Desktop/images/11042025/15/08/image_11042025_15_08_46_9330.jpg
/home/pi/Desktop/images/11042025/15/08/image_11042025_15_08_56_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":["1351756981","1351756936","1351757085","1351756884","1351757024","1351756838"],"photo_ids_order":["1351756838","1351756884","1351756936","1351756981","1351757024","1351757085"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c08f01e5bebc137c6d2fea00dd297891.jpg","text":"TemporaryFile(/tmp/multipartBody7797758973815528521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744382793384,"filename":"image_11042025_15_08_26_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7774b755671fcd0c7edff188be7aa965.jpg","text":"TemporaryFile(/tmp/multipartBody534006515285599150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744382793384,"filename":"image_11042025_15_08_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/11/48e912fe7a4a67ecbc80155bf4ae7b00.jpg","text":"TemporaryFile(/tmp/multipartBody916790558117287102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744382793384,"filename":"image_11042025_15_08_56_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/57ad4a47daa1856d61fc9af986063d6a.jpg","text":"TemporaryFile(/tmp/multipartBody7285460454854959848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744382793384,"filename":"image_11042025_15_08_06_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/11/d69bd841b22ff7b2aeced19529395dd9.jpg","text":"TemporaryFile(/tmp/multipartBody8638364519108714411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744382793384,"filename":"image_11042025_15_08_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/11/307da5b5c646976a67aca43990c1cc75.jpg","text":"TemporaryFile(/tmp/multipartBody2321261057911386045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744382793384,"filename":"image_11042025_15_07_56_9410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351756936","file1":"1351756884","file0":"1351756838","file4":"1351757024","file5":"1351757085","file3":"1351756981"},"map_files_photo_id_array":[{"photo_id":"1351757085","filename":"file5"},{"photo_id":"1351756936","filename":"file2"},{"photo_id":"1351757024","filename":"file4"},{"photo_id":"1351756884","filename":"file1"},{"photo_id":"1351756838","filename":"file0"},{"photo_id":"1351756981","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351756981":["hashtag1","hashtag2"]},{"1351756936":["hashtag1","hashtag2"]},{"1351757085":["hashtag1","hashtag2"]},{"1351756884":["hashtag1","hashtag2"]},{"1351757024":["hashtag1","hashtag2"]},{"1351756838":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351756981, 1351756936, 1351757085, 1351756884, 1351757024, 1351756838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.9600555896759 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 16:46:33.110142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/15/08/image_11042025_15_09_06_10341.jpg', '/home/pi/Desktop/images/11042025/15/09/image_11042025_15_09_16_9477.jpg', '/home/pi/Desktop/images/11042025/15/09/image_11042025_15_09_26_10381.jpg', '/home/pi/Desktop/images/11042025/15/09/image_11042025_15_09_36_9353.jpg', '/home/pi/Desktop/images/11042025/15/09/image_11042025_15_09_46_10448.jpg', '/home/pi/Desktop/images/11042025/15/09/image_11042025_15_09_57_10349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/15/08/image_11042025_15_09_06_10341.jpg
/home/pi/Desktop/images/11042025/15/09/image_11042025_15_09_16_9477.jpg
/home/pi/Desktop/images/11042025/15/09/image_11042025_15_09_26_10381.jpg
/home/pi/Desktop/images/11042025/15/09/image_11042025_15_09_36_9353.jpg
/home/pi/Desktop/images/11042025/15/09/image_11042025_15_09_46_10448.jpg
/home/pi/Desktop/images/11042025/15/09/image_11042025_15_09_57_10349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351757818","1351757958","1351757835","1351757829","1351758082","1351758061"],"photo_ids_order":["1351757818","1351757829","1351757835","1351757958","1351758061","1351758082"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/baff4f2adb2607fa7e3475c30c1774a7.jpg","text":"TemporaryFile(/tmp/multipartBody3245367188614170774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744382853572,"filename":"image_11042025_15_09_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/11/f61e241575b0b98d39316fb051060f87.jpg","text":"TemporaryFile(/tmp/multipartBody2801453755175026253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744382853572,"filename":"image_11042025_15_09_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/11/356b40f0c550ce4d165c54b83ee86a52.jpg","text":"TemporaryFile(/tmp/multipartBody3519370300945635222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744382853572,"filename":"image_11042025_15_09_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/11/4a69caa103b73b7d6c87495ef31306f6.jpg","text":"TemporaryFile(/tmp/multipartBody7327319915838790338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744382853572,"filename":"image_11042025_15_09_16_9477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a2938b8bd9cc3962586509cbf148ae9a.jpg","text":"TemporaryFile(/tmp/multipartBody2404064578550860153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744382853572,"filename":"image_11042025_15_09_57_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1fae5be4bd8f54ab1de00df2de5271ea.jpg","text":"TemporaryFile(/tmp/multipartBody4863664557464854543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744382853572,"filename":"image_11042025_15_09_46_10448.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351757835","file1":"1351757829","file0":"1351757818","file4":"1351758061","file5":"1351758082","file3":"1351757958"},"map_files_photo_id_array":[{"photo_id":"1351758082","filename":"file5"},{"photo_id":"1351757835","filename":"file2"},{"photo_id":"1351758061","filename":"file4"},{"photo_id":"1351757829","filename":"file1"},{"photo_id":"1351757818","filename":"file0"},{"photo_id":"1351757958","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351757818":["hashtag1","hashtag2"]},{"1351757958":["hashtag1","hashtag2"]},{"1351757835":["hashtag1","hashtag2"]},{"1351757829":["hashtag1","hashtag2"]},{"1351758082":["hashtag1","hashtag2"]},{"1351758061":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351757818, 1351757958, 1351757835, 1351757829, 1351758082, 1351758061)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.40398812294006 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-11 16:47:42.300827
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/15/09/image_11042025_15_10_06_9443.jpg', '/home/pi/Desktop/images/11042025/15/10/image_11042025_15_10_16_10351.jpg', '/home/pi/Desktop/images/11042025/15/10/image_11042025_15_10_26_9401.jpg', '/home/pi/Desktop/images/11042025/15/10/image_11042025_15_10_36_10361.jpg', '/home/pi/Desktop/images/11042025/15/10/image_11042025_15_10_46_10377.jpg', '/home/pi/Desktop/images/11042025/15/10/image_11042025_15_10_56_9418.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/15/09/image_11042025_15_10_06_9443.jpg
/home/pi/Desktop/images/11042025/15/10/image_11042025_15_10_16_10351.jpg
/home/pi/Desktop/images/11042025/15/10/image_11042025_15_10_26_9401.jpg
/home/pi/Desktop/images/11042025/15/10/image_11042025_15_10_36_10361.jpg
/home/pi/Desktop/images/11042025/15/10/image_11042025_15_10_46_10377.jpg
/home/pi/Desktop/images/11042025/15/10/image_11042025_15_10_56_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":["1351758238","1351758270","1351758186","1351758309","1351758221","1351758199"],"photo_ids_order":["1351758186","1351758199","1351758221","1351758238","1351758270","1351758309"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/97b01a690c64eb28ed2541a4c90f978f.jpg","text":"TemporaryFile(/tmp/multipartBody3619395000183533432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744382922755,"filename":"image_11042025_15_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/11/a52c5be1e85472bd65d0c88d11b89fa9.jpg","text":"TemporaryFile(/tmp/multipartBody2075161711414206503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744382922755,"filename":"image_11042025_15_10_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/11/0879abb536617970b3b5dd35e34e3698.jpg","text":"TemporaryFile(/tmp/multipartBody3152197464827121361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744382922755,"filename":"image_11042025_15_10_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/11/2e9a9dee7c6f9893f56bd135a647812e.jpg","text":"TemporaryFile(/tmp/multipartBody7008003890709124113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744382922755,"filename":"image_11042025_15_10_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/11/23caa22b000efbaecc34927fc0845a88.jpg","text":"TemporaryFile(/tmp/multipartBody6436446264797975094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744382922755,"filename":"image_11042025_15_10_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/11/699cbc53cbe194cc1f5b761cd67dac52.jpg","text":"TemporaryFile(/tmp/multipartBody5675690091953761373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744382922755,"filename":"image_11042025_15_10_16_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351758221","file1":"1351758199","file0":"1351758186","file4":"1351758270","file5":"1351758309","file3":"1351758238"},"map_files_photo_id_array":[{"photo_id":"1351758309","filename":"file5"},{"photo_id":"1351758221","filename":"file2"},{"photo_id":"1351758270","filename":"file4"},{"photo_id":"1351758199","filename":"file1"},{"photo_id":"1351758186","filename":"file0"},{"photo_id":"1351758238","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351758238":["hashtag1","hashtag2"]},{"1351758270":["hashtag1","hashtag2"]},{"1351758186":["hashtag1","hashtag2"]},{"1351758309":["hashtag1","hashtag2"]},{"1351758221":["hashtag1","hashtag2"]},{"1351758199":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351758238, 1351758270, 1351758186, 1351758309, 1351758221, 1351758199)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.47489666938782 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 16:48:32.444935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/15/10/image_11042025_15_11_06_10353.jpg', '/home/pi/Desktop/images/11042025/15/11/image_11042025_15_11_17_10349.jpg', '/home/pi/Desktop/images/11042025/15/11/image_11042025_15_11_26_9479.jpg', '/home/pi/Desktop/images/11042025/15/11/image_11042025_15_11_36_10409.jpg', '/home/pi/Desktop/images/11042025/15/11/image_11042025_15_11_46_9447.jpg', '/home/pi/Desktop/images/11042025/15/11/image_11042025_15_11_56_10428.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/15/10/image_11042025_15_11_06_10353.jpg
/home/pi/Desktop/images/11042025/15/11/image_11042025_15_11_17_10349.jpg
/home/pi/Desktop/images/11042025/15/11/image_11042025_15_11_26_9479.jpg
/home/pi/Desktop/images/11042025/15/11/image_11042025_15_11_36_10409.jpg
/home/pi/Desktop/images/11042025/15/11/image_11042025_15_11_46_9447.jpg
/home/pi/Desktop/images/11042025/15/11/image_11042025_15_11_56_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":["1351758570","1351758504","1351758955","1351758985","1351758865","1351758730"],"photo_ids_order":["1351758504","1351758570","1351758730","1351758865","1351758955","1351758985"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/bea90d057d12f27811a4cef0aeb82bff.jpg","text":"TemporaryFile(/tmp/multipartBody1341636808726691386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744382972899,"filename":"image_11042025_15_11_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/11/0aebeaa9290684c5068988c524c108c3.jpg","text":"TemporaryFile(/tmp/multipartBody2271804661350550596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744382972899,"filename":"image_11042025_15_11_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/11/9e48a99e1c38d88c9ef00a6e8af70b93.jpg","text":"TemporaryFile(/tmp/multipartBody7542292414607118578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744382972899,"filename":"image_11042025_15_11_46_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3acfa22342244adfee7be46fb3e6ca86.jpg","text":"TemporaryFile(/tmp/multipartBody6447503137377133630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744382972899,"filename":"image_11042025_15_11_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/11/7571ed225b87d2b675b541960dc56d10.jpg","text":"TemporaryFile(/tmp/multipartBody6997779091482281471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744382972899,"filename":"image_11042025_15_11_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/11/2d3b422a573665860d77fc67cea2946f.jpg","text":"TemporaryFile(/tmp/multipartBody6688445378269375812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744382972899,"filename":"image_11042025_15_11_26_9479.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351758730","file1":"1351758570","file0":"1351758504","file4":"1351758955","file5":"1351758985","file3":"1351758865"},"map_files_photo_id_array":[{"photo_id":"1351758985","filename":"file5"},{"photo_id":"1351758730","filename":"file2"},{"photo_id":"1351758955","filename":"file4"},{"photo_id":"1351758570","filename":"file1"},{"photo_id":"1351758504","filename":"file0"},{"photo_id":"1351758865","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351758570":["hashtag1","hashtag2"]},{"1351758504":["hashtag1","hashtag2"]},{"1351758955":["hashtag1","hashtag2"]},{"1351758985":["hashtag1","hashtag2"]},{"1351758865":["hashtag1","hashtag2"]},{"1351758730":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351758570, 1351758504, 1351758955, 1351758985, 1351758865, 1351758730)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.47921299934387 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 16:49:32.674315
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/15/11/image_11042025_15_12_06_9364.jpg', '/home/pi/Desktop/images/11042025/15/12/image_11042025_15_12_16_10343.jpg', '/home/pi/Desktop/images/11042025/15/12/image_11042025_15_12_26_10370.jpg', '/home/pi/Desktop/images/11042025/15/12/image_11042025_15_12_36_9423.jpg', '/home/pi/Desktop/images/11042025/15/12/image_11042025_15_12_46_10401.jpg', '/home/pi/Desktop/images/11042025/15/12/image_11042025_15_12_57_10382.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/15/11/image_11042025_15_12_06_9364.jpg
/home/pi/Desktop/images/11042025/15/12/image_11042025_15_12_16_10343.jpg
/home/pi/Desktop/images/11042025/15/12/image_11042025_15_12_26_10370.jpg
/home/pi/Desktop/images/11042025/15/12/image_11042025_15_12_36_9423.jpg
/home/pi/Desktop/images/11042025/15/12/image_11042025_15_12_46_10401.jpg
/home/pi/Desktop/images/11042025/15/12/image_11042025_15_12_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":["1351759973","1351759602","1351759634","1351759699","1351759660","1351760009"],"photo_ids_order":["1351759602","1351759634","1351759660","1351759699","1351759973","1351760009"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2c57f59f948424744e6c6daeb51d6cb8.jpg","text":"TemporaryFile(/tmp/multipartBody2858327246045074023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383033130,"filename":"image_11042025_15_12_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/11/7f284dc2f3b2c07848452b2cbca57bed.jpg","text":"TemporaryFile(/tmp/multipartBody956071956869486868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383033130,"filename":"image_11042025_15_12_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/11/da578f40de6d26f154abbbe04b0a23b7.jpg","text":"TemporaryFile(/tmp/multipartBody8058349885352738200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383033130,"filename":"image_11042025_15_12_16_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9a0f80a290610c042435a5a02c803cf0.jpg","text":"TemporaryFile(/tmp/multipartBody6353876009616236267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383033130,"filename":"image_11042025_15_12_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/11/4c73eb34342a060bd7987264baac5ff8.jpg","text":"TemporaryFile(/tmp/multipartBody7230871955325734590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383033130,"filename":"image_11042025_15_12_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/11/600fda8e4a67407b8f77521cd8e85e42.jpg","text":"TemporaryFile(/tmp/multipartBody9122752414221418738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383033130,"filename":"image_11042025_15_12_57_10382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351759660","file1":"1351759634","file0":"1351759602","file4":"1351759973","file5":"1351760009","file3":"1351759699"},"map_files_photo_id_array":[{"photo_id":"1351760009","filename":"file5"},{"photo_id":"1351759660","filename":"file2"},{"photo_id":"1351759973","filename":"file4"},{"photo_id":"1351759634","filename":"file1"},{"photo_id":"1351759602","filename":"file0"},{"photo_id":"1351759699","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351759973":["hashtag1","hashtag2"]},{"1351759602":["hashtag1","hashtag2"]},{"1351759634":["hashtag1","hashtag2"]},{"1351759699":["hashtag1","hashtag2"]},{"1351759660":["hashtag1","hashtag2"]},{"1351760009":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351759973, 1351759602, 1351759634, 1351759699, 1351759660, 1351760009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.371575355529785 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 16:50:33.000527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/15/12/image_11042025_15_13_06_9485.jpg', '/home/pi/Desktop/images/11042025/15/13/image_11042025_15_13_16_10362.jpg', '/home/pi/Desktop/images/11042025/15/13/image_11042025_15_13_26_9501.jpg', '/home/pi/Desktop/images/11042025/15/13/image_11042025_15_13_36_10392.jpg', '/home/pi/Desktop/images/11042025/15/13/image_11042025_15_13_56_10387.jpg', '/home/pi/Desktop/images/11042025/15/13/image_11042025_15_14_07_10421.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/15/12/image_11042025_15_13_06_9485.jpg
/home/pi/Desktop/images/11042025/15/13/image_11042025_15_13_16_10362.jpg
/home/pi/Desktop/images/11042025/15/13/image_11042025_15_13_26_9501.jpg
/home/pi/Desktop/images/11042025/15/13/image_11042025_15_13_36_10392.jpg
/home/pi/Desktop/images/11042025/15/13/image_11042025_15_13_56_10387.jpg
/home/pi/Desktop/images/11042025/15/13/image_11042025_15_14_07_10421.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351760260","1351760320","1351760295","1351760124","1351760180","1351760120"],"photo_ids_order":["1351760120","1351760124","1351760180","1351760260","1351760295","1351760320"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d6694e71ca6c32b71e76bb9679c4de9d.jpg","text":"TemporaryFile(/tmp/multipartBody5628883351840962969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383093463,"filename":"image_11042025_15_13_36_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4627b2833ace98059c0930e4712ec9a0.jpg","text":"TemporaryFile(/tmp/multipartBody5932929912706696645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383093463,"filename":"image_11042025_15_14_07_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/068e949f90746dd53021b7540ce0889a.jpg","text":"TemporaryFile(/tmp/multipartBody1569851157987991199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383093463,"filename":"image_11042025_15_13_56_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7fc311bb75586099ef4ecb8bc98e400f.jpg","text":"TemporaryFile(/tmp/multipartBody6803907795865715129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383093463,"filename":"image_11042025_15_13_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/11/1de601f69a1cb384f6b8482eb524dfd1.jpg","text":"TemporaryFile(/tmp/multipartBody6731137825617397234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383093463,"filename":"image_11042025_15_13_26_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/11/0850e283d535b1efc8d2c1e1407f910c.jpg","text":"TemporaryFile(/tmp/multipartBody7151669416054582518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383093463,"filename":"image_11042025_15_13_06_9485.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351760180","file1":"1351760124","file0":"1351760120","file4":"1351760295","file5":"1351760320","file3":"1351760260"},"map_files_photo_id_array":[{"photo_id":"1351760320","filename":"file5"},{"photo_id":"1351760180","filename":"file2"},{"photo_id":"1351760295","filename":"file4"},{"photo_id":"1351760124","filename":"file1"},{"photo_id":"1351760120","filename":"file0"},{"photo_id":"1351760260","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351760260":["hashtag1","hashtag2"]},{"1351760320":["hashtag1","hashtag2"]},{"1351760295":["hashtag1","hashtag2"]},{"1351760124":["hashtag1","hashtag2"]},{"1351760180":["hashtag1","hashtag2"]},{"1351760120":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351760260, 1351760320, 1351760295, 1351760124, 1351760180, 1351760120)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.59539747238159 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 16:51:33.168055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/15/14/image_11042025_15_14_16_9344.jpg', '/home/pi/Desktop/images/11042025/15/14/image_11042025_15_14_26_10444.jpg', '/home/pi/Desktop/images/11042025/15/14/image_11042025_15_14_36_9342.jpg', '/home/pi/Desktop/images/11042025/15/14/image_11042025_15_14_46_10446.jpg', '/home/pi/Desktop/images/11042025/15/14/image_11042025_15_14_57_10357.jpg', '/home/pi/Desktop/images/11042025/15/14/image_11042025_15_15_06_9428.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/15/14/image_11042025_15_14_16_9344.jpg
/home/pi/Desktop/images/11042025/15/14/image_11042025_15_14_26_10444.jpg
/home/pi/Desktop/images/11042025/15/14/image_11042025_15_14_36_9342.jpg
/home/pi/Desktop/images/11042025/15/14/image_11042025_15_14_46_10446.jpg
/home/pi/Desktop/images/11042025/15/14/image_11042025_15_14_57_10357.jpg
/home/pi/Desktop/images/11042025/15/14/image_11042025_15_15_06_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":["1351760706","1351760645","1351760753","1351760600","1351760557","1351760536"],"photo_ids_order":["1351760536","1351760557","1351760600","1351760645","1351760706","1351760753"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/08f17feccca283b05314cdcb723c5b83.jpg","text":"TemporaryFile(/tmp/multipartBody7268070949911602051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383153633,"filename":"image_11042025_15_14_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/11/d33151ecf19a9e01f28306bd03939d6c.jpg","text":"TemporaryFile(/tmp/multipartBody1925580592505075501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383153633,"filename":"image_11042025_15_14_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/11/245910baa59d965ed3d5c75e44e01746.jpg","text":"TemporaryFile(/tmp/multipartBody819448723345531889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383153633,"filename":"image_11042025_15_15_06_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c3b02fbbba1e289f702c9491302cb807.jpg","text":"TemporaryFile(/tmp/multipartBody8807574023262281668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383153633,"filename":"image_11042025_15_14_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/11/41766d6006d455db22e4797888c7a829.jpg","text":"TemporaryFile(/tmp/multipartBody4577681834848329150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383153633,"filename":"image_11042025_15_14_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/11/f37403a812e37daed3e0035a633d2d62.jpg","text":"TemporaryFile(/tmp/multipartBody8785141762329384196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383153633,"filename":"image_11042025_15_14_16_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351760600","file1":"1351760557","file0":"1351760536","file4":"1351760706","file5":"1351760753","file3":"1351760645"},"map_files_photo_id_array":[{"photo_id":"1351760753","filename":"file5"},{"photo_id":"1351760600","filename":"file2"},{"photo_id":"1351760706","filename":"file4"},{"photo_id":"1351760557","filename":"file1"},{"photo_id":"1351760536","filename":"file0"},{"photo_id":"1351760645","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351760706":["hashtag1","hashtag2"]},{"1351760645":["hashtag1","hashtag2"]},{"1351760753":["hashtag1","hashtag2"]},{"1351760600":["hashtag1","hashtag2"]},{"1351760557":["hashtag1","hashtag2"]},{"1351760536":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351760706, 1351760645, 1351760753, 1351760600, 1351760557, 1351760536)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.711944341659546 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 16:52:32.453110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/15/15/image_11042025_15_15_16_10356.jpg', '/home/pi/Desktop/images/11042025/15/15/image_11042025_15_15_26_9357.jpg', '/home/pi/Desktop/images/11042025/15/15/image_11042025_15_15_36_10448.jpg', '/home/pi/Desktop/images/11042025/15/15/image_11042025_15_15_46_10362.jpg', '/home/pi/Desktop/images/11042025/15/15/image_11042025_15_15_56_9484.jpg', '/home/pi/Desktop/images/11042025/15/15/image_11042025_15_16_06_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/15/15/image_11042025_15_15_16_10356.jpg
/home/pi/Desktop/images/11042025/15/15/image_11042025_15_15_26_9357.jpg
/home/pi/Desktop/images/11042025/15/15/image_11042025_15_15_36_10448.jpg
/home/pi/Desktop/images/11042025/15/15/image_11042025_15_15_46_10362.jpg
/home/pi/Desktop/images/11042025/15/15/image_11042025_15_15_56_9484.jpg
/home/pi/Desktop/images/11042025/15/15/image_11042025_15_16_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":["1351761144","1351760979","1351761071","1351761161","1351761119","1351761013"],"photo_ids_order":["1351760979","1351761013","1351761071","1351761119","1351761144","1351761161"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1af4753e14901747ba45711588146e8d.jpg","text":"TemporaryFile(/tmp/multipartBody5523315492280799468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383212908,"filename":"image_11042025_15_15_56_9484.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d0e603378a13835294ef8886f17a90b0.jpg","text":"TemporaryFile(/tmp/multipartBody6666060689934865601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383212908,"filename":"image_11042025_15_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/11/5131a17461352e63024ffff7a66fbde5.jpg","text":"TemporaryFile(/tmp/multipartBody7422321650970840748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383212908,"filename":"image_11042025_15_15_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/11/d88772962d7f17e7fa53909a7a3660cf.jpg","text":"TemporaryFile(/tmp/multipartBody4175206860446681082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383212908,"filename":"image_11042025_15_16_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/11/93db7763a74ee19b28136855c75e714b.jpg","text":"TemporaryFile(/tmp/multipartBody778182698437927392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383212908,"filename":"image_11042025_15_15_46_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7f362cc70b2591bc02d19771fd619308.jpg","text":"TemporaryFile(/tmp/multipartBody7092120215096787819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383212908,"filename":"image_11042025_15_15_26_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351761071","file1":"1351761013","file0":"1351760979","file4":"1351761144","file5":"1351761161","file3":"1351761119"},"map_files_photo_id_array":[{"photo_id":"1351761161","filename":"file5"},{"photo_id":"1351761071","filename":"file2"},{"photo_id":"1351761144","filename":"file4"},{"photo_id":"1351761013","filename":"file1"},{"photo_id":"1351760979","filename":"file0"},{"photo_id":"1351761119","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351761144":["hashtag1","hashtag2"]},{"1351760979":["hashtag1","hashtag2"]},{"1351761071":["hashtag1","hashtag2"]},{"1351761161":["hashtag1","hashtag2"]},{"1351761119":["hashtag1","hashtag2"]},{"1351761013":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351761144, 1351760979, 1351761071, 1351761161, 1351761119, 1351761013)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.26822257041931 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 16:53:32.652485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/15/16/image_11042025_15_16_16_9352.jpg', '/home/pi/Desktop/images/11042025/15/16/image_11042025_15_16_26_10448.jpg', '/home/pi/Desktop/images/11042025/15/16/image_11042025_15_16_36_10365.jpg', '/home/pi/Desktop/images/11042025/15/16/image_11042025_15_16_46_9397.jpg', '/home/pi/Desktop/images/11042025/15/16/image_11042025_15_16_56_10365.jpg', '/home/pi/Desktop/images/11042025/15/16/image_11042025_15_17_07_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/15/16/image_11042025_15_16_16_9352.jpg
/home/pi/Desktop/images/11042025/15/16/image_11042025_15_16_26_10448.jpg
/home/pi/Desktop/images/11042025/15/16/image_11042025_15_16_36_10365.jpg
/home/pi/Desktop/images/11042025/15/16/image_11042025_15_16_46_9397.jpg
/home/pi/Desktop/images/11042025/15/16/image_11042025_15_16_56_10365.jpg
/home/pi/Desktop/images/11042025/15/16/image_11042025_15_17_07_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":["1351761633","1351761339","1351761318","1351761482","1351761725","1351761604"],"photo_ids_order":["1351761318","1351761339","1351761482","1351761604","1351761633","1351761725"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f0a4f2ff0792184a77a77fbf3b3a5785.jpg","text":"TemporaryFile(/tmp/multipartBody7869504100173506248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383273102,"filename":"image_11042025_15_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/11/6067c46e8454a027fe978417188ffb35.jpg","text":"TemporaryFile(/tmp/multipartBody4727273639079277743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383273102,"filename":"image_11042025_15_16_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/11/7ae8de143f811e12e7235f22b3fcbdeb.jpg","text":"TemporaryFile(/tmp/multipartBody1260098523320864489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383273102,"filename":"image_11042025_15_16_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/11/84988337506e65da72f7c11cd5e4aab0.jpg","text":"TemporaryFile(/tmp/multipartBody5540539554055297307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383273102,"filename":"image_11042025_15_16_36_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ef856af2b5ab1475d2631546149bd5f4.jpg","text":"TemporaryFile(/tmp/multipartBody618596818873090897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383273102,"filename":"image_11042025_15_17_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/11/7b25cd7b007c9d7db60baac1a93b45b3.jpg","text":"TemporaryFile(/tmp/multipartBody9063908945192744656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383273102,"filename":"image_11042025_15_16_46_9397.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351761482","file1":"1351761339","file0":"1351761318","file4":"1351761633","file5":"1351761725","file3":"1351761604"},"map_files_photo_id_array":[{"photo_id":"1351761725","filename":"file5"},{"photo_id":"1351761482","filename":"file2"},{"photo_id":"1351761633","filename":"file4"},{"photo_id":"1351761339","filename":"file1"},{"photo_id":"1351761318","filename":"file0"},{"photo_id":"1351761604","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351761633":["hashtag1","hashtag2"]},{"1351761339":["hashtag1","hashtag2"]},{"1351761318":["hashtag1","hashtag2"]},{"1351761482":["hashtag1","hashtag2"]},{"1351761725":["hashtag1","hashtag2"]},{"1351761604":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351761633, 1351761339, 1351761318, 1351761482, 1351761725, 1351761604)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.989017486572266 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 16:54:33.035461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/15/17/image_11042025_15_17_16_9424.jpg', '/home/pi/Desktop/images/11042025/15/17/image_11042025_15_17_26_10366.jpg', '/home/pi/Desktop/images/11042025/15/17/image_11042025_15_17_36_9421.jpg', '/home/pi/Desktop/images/11042025/15/17/image_11042025_15_17_46_10346.jpg', '/home/pi/Desktop/images/11042025/15/17/image_11042025_15_17_57_10355.jpg', '/home/pi/Desktop/images/11042025/15/17/image_11042025_15_18_06_9387.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/15/17/image_11042025_15_17_16_9424.jpg
/home/pi/Desktop/images/11042025/15/17/image_11042025_15_17_26_10366.jpg
/home/pi/Desktop/images/11042025/15/17/image_11042025_15_17_36_9421.jpg
/home/pi/Desktop/images/11042025/15/17/image_11042025_15_17_46_10346.jpg
/home/pi/Desktop/images/11042025/15/17/image_11042025_15_17_57_10355.jpg
/home/pi/Desktop/images/11042025/15/17/image_11042025_15_18_06_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":["1351761888","1351762005","1351762124","1351762115","1351761836","1351762066"],"photo_ids_order":["1351761836","1351761888","1351762005","1351762066","1351762115","1351762124"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/44850084b3545f1c7ae2cd7f2b07585a.jpg","text":"TemporaryFile(/tmp/multipartBody4293698036341874857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383333561,"filename":"image_11042025_15_17_26_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/67cd8dc42e3498a72e6824b0e9b462eb.jpg","text":"TemporaryFile(/tmp/multipartBody3636676200170885133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383333561,"filename":"image_11042025_15_17_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/11/f6c74237f08efba584f42bf19100289f.jpg","text":"TemporaryFile(/tmp/multipartBody5077996132796745964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383333561,"filename":"image_11042025_15_18_06_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/11/eb8ae0b68606a5773617c31a73f0ab74.jpg","text":"TemporaryFile(/tmp/multipartBody551471324463643813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383333561,"filename":"image_11042025_15_17_57_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c9b24e7fba432d4a7e0fd9f0104f124e.jpg","text":"TemporaryFile(/tmp/multipartBody7655267771233266960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383333561,"filename":"image_11042025_15_17_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/11/2f238aae5be8aa02964b393966afbba7.jpg","text":"TemporaryFile(/tmp/multipartBody2737791750934608627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383333561,"filename":"image_11042025_15_17_46_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351762005","file1":"1351761888","file0":"1351761836","file4":"1351762115","file5":"1351762124","file3":"1351762066"},"map_files_photo_id_array":[{"photo_id":"1351762124","filename":"file5"},{"photo_id":"1351762005","filename":"file2"},{"photo_id":"1351762115","filename":"file4"},{"photo_id":"1351761888","filename":"file1"},{"photo_id":"1351761836","filename":"file0"},{"photo_id":"1351762066","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351761888":["hashtag1","hashtag2"]},{"1351762005":["hashtag1","hashtag2"]},{"1351762124":["hashtag1","hashtag2"]},{"1351762115":["hashtag1","hashtag2"]},{"1351761836":["hashtag1","hashtag2"]},{"1351762066":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351761888, 1351762005, 1351762124, 1351762115, 1351761836, 1351762066)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.547778844833374 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 16:55:33.147995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/15/18/image_11042025_15_18_16_10356.jpg', '/home/pi/Desktop/images/11042025/15/18/image_11042025_15_18_27_10366.jpg', '/home/pi/Desktop/images/11042025/15/18/image_11042025_15_18_36_9489.jpg', '/home/pi/Desktop/images/11042025/15/18/image_11042025_15_18_46_10355.jpg', '/home/pi/Desktop/images/11042025/15/18/image_11042025_15_18_56_9402.jpg', '/home/pi/Desktop/images/11042025/15/18/image_11042025_15_19_06_10512.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/15/18/image_11042025_15_18_16_10356.jpg
/home/pi/Desktop/images/11042025/15/18/image_11042025_15_18_27_10366.jpg
/home/pi/Desktop/images/11042025/15/18/image_11042025_15_18_36_9489.jpg
/home/pi/Desktop/images/11042025/15/18/image_11042025_15_18_46_10355.jpg
/home/pi/Desktop/images/11042025/15/18/image_11042025_15_18_56_9402.jpg
/home/pi/Desktop/images/11042025/15/18/image_11042025_15_19_06_10512.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351762448","1351762313","1351762357","1351762423","1351762405","1351762207"],"photo_ids_order":["1351762207","1351762313","1351762357","1351762405","1351762423","1351762448"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d175884e702fa39866d209d133a51741.jpg","text":"TemporaryFile(/tmp/multipartBody6506420777636502349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383393594,"filename":"image_11042025_15_19_06_10512.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e33f4a960f67e5aeb32684582822c875.jpg","text":"TemporaryFile(/tmp/multipartBody5890687946390520274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383393594,"filename":"image_11042025_15_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/11/279107f728bfd3e1fcc0652fff79f0e0.jpg","text":"TemporaryFile(/tmp/multipartBody1377911123940112164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383393594,"filename":"image_11042025_15_18_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/11/2647a1e9b6ebb728e7a52d9c5b6f9f20.jpg","text":"TemporaryFile(/tmp/multipartBody9131943071134781210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383393594,"filename":"image_11042025_15_18_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/11/18ece94e5daca7422da2528f7aab206c.jpg","text":"TemporaryFile(/tmp/multipartBody4021638761947635898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383393594,"filename":"image_11042025_15_18_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/11/a0cddc8e8eac9684a27c11974f94a6b0.jpg","text":"TemporaryFile(/tmp/multipartBody3319759674467715372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383393594,"filename":"image_11042025_15_18_16_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351762357","file1":"1351762313","file0":"1351762207","file4":"1351762423","file5":"1351762448","file3":"1351762405"},"map_files_photo_id_array":[{"photo_id":"1351762448","filename":"file5"},{"photo_id":"1351762357","filename":"file2"},{"photo_id":"1351762423","filename":"file4"},{"photo_id":"1351762313","filename":"file1"},{"photo_id":"1351762207","filename":"file0"},{"photo_id":"1351762405","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351762448":["hashtag1","hashtag2"]},{"1351762313":["hashtag1","hashtag2"]},{"1351762357":["hashtag1","hashtag2"]},{"1351762423":["hashtag1","hashtag2"]},{"1351762405":["hashtag1","hashtag2"]},{"1351762207":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351762448, 1351762313, 1351762357, 1351762423, 1351762405, 1351762207)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.631279945373535 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 16:56:32.420956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/15/19/image_11042025_15_19_16_10014.jpg', '/home/pi/Desktop/images/11042025/15/19/image_11042025_15_19_26_9420.jpg', '/home/pi/Desktop/images/11042025/15/19/image_11042025_15_19_36_10419.jpg', '/home/pi/Desktop/images/11042025/15/19/image_11042025_15_19_47_10357.jpg', '/home/pi/Desktop/images/11042025/15/19/image_11042025_15_19_56_9355.jpg', '/home/pi/Desktop/images/11042025/15/19/image_11042025_15_20_06_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/15/19/image_11042025_15_19_16_10014.jpg
/home/pi/Desktop/images/11042025/15/19/image_11042025_15_19_26_9420.jpg
/home/pi/Desktop/images/11042025/15/19/image_11042025_15_19_36_10419.jpg
/home/pi/Desktop/images/11042025/15/19/image_11042025_15_19_47_10357.jpg
/home/pi/Desktop/images/11042025/15/19/image_11042025_15_19_56_9355.jpg
/home/pi/Desktop/images/11042025/15/19/image_11042025_15_20_06_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":["1351762539","1351762725","1351762697","1351762826","1351762849","1351762753"],"photo_ids_order":["1351762539","1351762697","1351762725","1351762753","1351762826","1351762849"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5a0e9268beef30a7398d7b6edefd1a35.jpg","text":"TemporaryFile(/tmp/multipartBody2058940296387340623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383452869,"filename":"image_11042025_15_19_16_10014.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5165457eaa70f9617253413bc8aae084.jpg","text":"TemporaryFile(/tmp/multipartBody5792312173400898406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383452869,"filename":"image_11042025_15_19_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/11/c662a121dafe0bf48cca804a321924a5.jpg","text":"TemporaryFile(/tmp/multipartBody6976653295557117583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383452869,"filename":"image_11042025_15_19_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/11/3c27ebba324e5d459e7b5041495a6a26.jpg","text":"TemporaryFile(/tmp/multipartBody9213290729153684547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383452869,"filename":"image_11042025_15_19_56_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/14236d3970fb335a75e4414d8f61c3e6.jpg","text":"TemporaryFile(/tmp/multipartBody6742394865052230951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383452869,"filename":"image_11042025_15_20_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/11/da3003ac59ea6262c63e523f7264aa99.jpg","text":"TemporaryFile(/tmp/multipartBody3504963089950450053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383452869,"filename":"image_11042025_15_19_47_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351762725","file1":"1351762697","file0":"1351762539","file4":"1351762826","file5":"1351762849","file3":"1351762753"},"map_files_photo_id_array":[{"photo_id":"1351762849","filename":"file5"},{"photo_id":"1351762725","filename":"file2"},{"photo_id":"1351762826","filename":"file4"},{"photo_id":"1351762697","filename":"file1"},{"photo_id":"1351762539","filename":"file0"},{"photo_id":"1351762753","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351762539":["hashtag1","hashtag2"]},{"1351762725":["hashtag1","hashtag2"]},{"1351762697":["hashtag1","hashtag2"]},{"1351762826":["hashtag1","hashtag2"]},{"1351762849":["hashtag1","hashtag2"]},{"1351762753":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351762539, 1351762725, 1351762697, 1351762826, 1351762849, 1351762753)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.75156569480896 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 16:57:32.728133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/15/20/image_11042025_15_20_26_10353.jpg', '/home/pi/Desktop/images/11042025/15/20/image_11042025_15_20_46_9359.jpg', '/home/pi/Desktop/images/11042025/15/20/image_11042025_15_20_56_10467.jpg', '/home/pi/Desktop/images/11042025/15/20/image_11042025_15_21_07_10346.jpg', '/home/pi/Desktop/images/11042025/15/21/image_11042025_15_21_37_10378.jpg', '/home/pi/Desktop/images/11042025/15/21/image_11042025_15_21_46_9458.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/15/20/image_11042025_15_20_26_10353.jpg
/home/pi/Desktop/images/11042025/15/20/image_11042025_15_20_46_9359.jpg
/home/pi/Desktop/images/11042025/15/20/image_11042025_15_20_56_10467.jpg
/home/pi/Desktop/images/11042025/15/20/image_11042025_15_21_07_10346.jpg
/home/pi/Desktop/images/11042025/15/21/image_11042025_15_21_37_10378.jpg
/home/pi/Desktop/images/11042025/15/21/image_11042025_15_21_46_9458.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-11 16:59:04.324547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/15/20/image_11042025_15_20_26_10353.jpg', '/home/pi/Desktop/images/11042025/15/20/image_11042025_15_20_46_9359.jpg', '/home/pi/Desktop/images/11042025/15/20/image_11042025_15_20_56_10467.jpg', '/home/pi/Desktop/images/11042025/15/20/image_11042025_15_21_07_10346.jpg', '/home/pi/Desktop/images/11042025/15/21/image_11042025_15_21_37_10378.jpg', '/home/pi/Desktop/images/11042025/15/21/image_11042025_15_21_46_9458.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/15/20/image_11042025_15_20_26_10353.jpg
/home/pi/Desktop/images/11042025/15/20/image_11042025_15_20_46_9359.jpg
/home/pi/Desktop/images/11042025/15/20/image_11042025_15_20_56_10467.jpg
/home/pi/Desktop/images/11042025/15/20/image_11042025_15_21_07_10346.jpg
/home/pi/Desktop/images/11042025/15/21/image_11042025_15_21_37_10378.jpg
/home/pi/Desktop/images/11042025/15/21/image_11042025_15_21_46_9458.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351763246","1351763261","1351763222","1351763254","1351763233","1351763265"],"photo_ids_order":["1351763222","1351763233","1351763246","1351763254","1351763261","1351763265"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/003b54b6d04ac3c5383ef8c9c2752725.jpg","text":"TemporaryFile(/tmp/multipartBody3588017572882368104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383605673,"filename":"image_11042025_15_20_56_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/11/7125d7d5e50e8d211ba34ecd63da8346.jpg","text":"TemporaryFile(/tmp/multipartBody1936463833448966458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383605673,"filename":"image_11042025_15_21_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/11/584b44f6b556ac203cab28005a7feb9d.jpg","text":"TemporaryFile(/tmp/multipartBody5337306693649091766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383605673,"filename":"image_11042025_15_20_26_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3e54d2046e4f7e69c32977b158521780.jpg","text":"TemporaryFile(/tmp/multipartBody8808317994910263090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383605673,"filename":"image_11042025_15_21_07_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6f4104d96ede2d649579b36416ba9be0.jpg","text":"TemporaryFile(/tmp/multipartBody1087271993766942860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383605673,"filename":"image_11042025_15_20_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/11/a5574db6a1c494f51a059a0299bd6b56.jpg","text":"TemporaryFile(/tmp/multipartBody2446697769845701669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383605673,"filename":"image_11042025_15_21_46_9458.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351763246","file1":"1351763233","file0":"1351763222","file4":"1351763261","file5":"1351763265","file3":"1351763254"},"map_files_photo_id_array":[{"photo_id":"1351763265","filename":"file5"},{"photo_id":"1351763246","filename":"file2"},{"photo_id":"1351763261","filename":"file4"},{"photo_id":"1351763233","filename":"file1"},{"photo_id":"1351763222","filename":"file0"},{"photo_id":"1351763254","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351763246":["hashtag1","hashtag2"]},{"1351763261":["hashtag1","hashtag2"]},{"1351763222":["hashtag1","hashtag2"]},{"1351763254":["hashtag1","hashtag2"]},{"1351763233":["hashtag1","hashtag2"]},{"1351763265":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351763246, 1351763261, 1351763222, 1351763254, 1351763233, 1351763265)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.28023099899292 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 16:59:43.200381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/15/21/image_11042025_15_21_56_10367.jpg', '/home/pi/Desktop/images/11042025/15/21/image_11042025_15_22_06_9499.jpg', '/home/pi/Desktop/images/11042025/15/22/image_11042025_15_22_16_10343.jpg', '/home/pi/Desktop/images/11042025/15/22/image_11042025_15_22_26_9356.jpg', '/home/pi/Desktop/images/11042025/15/22/image_11042025_15_22_36_10359.jpg', '/home/pi/Desktop/images/11042025/15/22/image_11042025_15_22_46_10378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/15/21/image_11042025_15_21_56_10367.jpg
/home/pi/Desktop/images/11042025/15/21/image_11042025_15_22_06_9499.jpg
/home/pi/Desktop/images/11042025/15/22/image_11042025_15_22_16_10343.jpg
/home/pi/Desktop/images/11042025/15/22/image_11042025_15_22_26_9356.jpg
/home/pi/Desktop/images/11042025/15/22/image_11042025_15_22_36_10359.jpg
/home/pi/Desktop/images/11042025/15/22/image_11042025_15_22_46_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":["1351763299","1351763278","1351763344","1351763373","1351763283","1351763325"],"photo_ids_order":["1351763278","1351763283","1351763299","1351763325","1351763344","1351763373"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/00406862f859592b6dbd0b35b2c31c0b.jpg","text":"TemporaryFile(/tmp/multipartBody6111655089778483058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383643649,"filename":"image_11042025_15_22_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/11/81a381ad3bb09b57cf5eb9b480087de8.jpg","text":"TemporaryFile(/tmp/multipartBody7053751145387099678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383643649,"filename":"image_11042025_15_21_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/11/1284212870965658e1a822a8991d5d22.jpg","text":"TemporaryFile(/tmp/multipartBody8403164574333538577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383643649,"filename":"image_11042025_15_22_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/11/1045baf910e63cbee8972cbee3c3ba4b.jpg","text":"TemporaryFile(/tmp/multipartBody6633062266395041053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383643649,"filename":"image_11042025_15_22_46_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b0cf9982a278120d70ca8e7ec0b180cd.jpg","text":"TemporaryFile(/tmp/multipartBody2496964103731360498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383643649,"filename":"image_11042025_15_22_06_9499.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/bf536d21df26006d46f849a4cb31f9eb.jpg","text":"TemporaryFile(/tmp/multipartBody8834071313483718823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383643649,"filename":"image_11042025_15_22_26_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351763299","file1":"1351763283","file0":"1351763278","file4":"1351763344","file5":"1351763373","file3":"1351763325"},"map_files_photo_id_array":[{"photo_id":"1351763373","filename":"file5"},{"photo_id":"1351763299","filename":"file2"},{"photo_id":"1351763344","filename":"file4"},{"photo_id":"1351763283","filename":"file1"},{"photo_id":"1351763278","filename":"file0"},{"photo_id":"1351763325","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351763299":["hashtag1","hashtag2"]},{"1351763278":["hashtag1","hashtag2"]},{"1351763344":["hashtag1","hashtag2"]},{"1351763373":["hashtag1","hashtag2"]},{"1351763283":["hashtag1","hashtag2"]},{"1351763325":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351763299, 1351763278, 1351763344, 1351763373, 1351763283, 1351763325)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.40860414505005 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 17:00:32.448493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/15/22/image_11042025_15_22_56_9348.jpg', '/home/pi/Desktop/images/11042025/15/22/image_11042025_15_23_06_10393.jpg', '/home/pi/Desktop/images/11042025/15/23/image_11042025_15_23_17_10369.jpg', '/home/pi/Desktop/images/11042025/15/23/image_11042025_15_23_26_9430.jpg', '/home/pi/Desktop/images/11042025/15/23/image_11042025_15_23_36_10360.jpg', '/home/pi/Desktop/images/11042025/15/23/image_11042025_15_23_46_9364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/15/22/image_11042025_15_22_56_9348.jpg
/home/pi/Desktop/images/11042025/15/22/image_11042025_15_23_06_10393.jpg
/home/pi/Desktop/images/11042025/15/23/image_11042025_15_23_17_10369.jpg
/home/pi/Desktop/images/11042025/15/23/image_11042025_15_23_26_9430.jpg
/home/pi/Desktop/images/11042025/15/23/image_11042025_15_23_36_10360.jpg
/home/pi/Desktop/images/11042025/15/23/image_11042025_15_23_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":["1351763508","1351763471","1351763485","1351763482","1351763527","1351763535"],"photo_ids_order":["1351763471","1351763482","1351763485","1351763508","1351763527","1351763535"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/af462abef9930e649c39e36ecc8fef2b.jpg","text":"TemporaryFile(/tmp/multipartBody2275559847804739068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383692932,"filename":"image_11042025_15_23_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/11/a47d4a621537064c974cd3090c65f5b4.jpg","text":"TemporaryFile(/tmp/multipartBody7292355113530002357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383692932,"filename":"image_11042025_15_22_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/11/0c4ef811bc0e11c0c378270124d36625.jpg","text":"TemporaryFile(/tmp/multipartBody5053881810463043986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383692932,"filename":"image_11042025_15_23_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/11/21e70ac4cff74b355250040dff5cfc9b.jpg","text":"TemporaryFile(/tmp/multipartBody1975188150531030129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383692932,"filename":"image_11042025_15_23_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/11/644f83ef44b4285eab6d2b36c5718dbc.jpg","text":"TemporaryFile(/tmp/multipartBody5607965054486941107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383692932,"filename":"image_11042025_15_23_36_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2c1560ff5ac5aa3a2757f0ed8af7513d.jpg","text":"TemporaryFile(/tmp/multipartBody4574662208715372331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383692932,"filename":"image_11042025_15_23_46_9364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351763485","file1":"1351763482","file0":"1351763471","file4":"1351763527","file5":"1351763535","file3":"1351763508"},"map_files_photo_id_array":[{"photo_id":"1351763535","filename":"file5"},{"photo_id":"1351763485","filename":"file2"},{"photo_id":"1351763527","filename":"file4"},{"photo_id":"1351763482","filename":"file1"},{"photo_id":"1351763471","filename":"file0"},{"photo_id":"1351763508","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351763508":["hashtag1","hashtag2"]},{"1351763471":["hashtag1","hashtag2"]},{"1351763485":["hashtag1","hashtag2"]},{"1351763482":["hashtag1","hashtag2"]},{"1351763527":["hashtag1","hashtag2"]},{"1351763535":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351763508, 1351763471, 1351763485, 1351763482, 1351763527, 1351763535)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.14287567138672 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 17:01:32.569149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/15/23/image_11042025_15_23_56_10435.jpg', '/home/pi/Desktop/images/11042025/15/23/image_11042025_15_24_06_10366.jpg', '/home/pi/Desktop/images/11042025/15/24/image_11042025_15_24_26_10367.jpg', '/home/pi/Desktop/images/11042025/15/24/image_11042025_15_24_36_10184.jpg', '/home/pi/Desktop/images/11042025/15/24/image_11042025_15_24_46_9414.jpg', '/home/pi/Desktop/images/11042025/15/24/image_11042025_15_24_56_10391.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/15/23/image_11042025_15_23_56_10435.jpg
/home/pi/Desktop/images/11042025/15/23/image_11042025_15_24_06_10366.jpg
/home/pi/Desktop/images/11042025/15/24/image_11042025_15_24_26_10367.jpg
/home/pi/Desktop/images/11042025/15/24/image_11042025_15_24_36_10184.jpg
/home/pi/Desktop/images/11042025/15/24/image_11042025_15_24_46_9414.jpg
/home/pi/Desktop/images/11042025/15/24/image_11042025_15_24_56_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":["1351763708","1351763621","1351763638","1351763632","1351763595","1351763628"],"photo_ids_order":["1351763595","1351763621","1351763628","1351763632","1351763638","1351763708"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1795e6870722b115d273ef38cecc5176.jpg","text":"TemporaryFile(/tmp/multipartBody7618974110673568242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383753017,"filename":"image_11042025_15_24_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/11/218fcbaeb479ebcbd6a99bc514ad07b9.jpg","text":"TemporaryFile(/tmp/multipartBody6289192695520553104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383753017,"filename":"image_11042025_15_24_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/11/6bab67520a864f3f8861b235227d226a.jpg","text":"TemporaryFile(/tmp/multipartBody3334667802805794489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383753017,"filename":"image_11042025_15_24_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/11/dbd7aa2cb276f88cf934fbf37efb8369.jpg","text":"TemporaryFile(/tmp/multipartBody1006276356514983936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383753017,"filename":"image_11042025_15_24_36_10184.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/df38fe1a30fd2ebc4f59a3a402fe2b0c.jpg","text":"TemporaryFile(/tmp/multipartBody8400439932676955233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383753017,"filename":"image_11042025_15_23_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/11/ae9f5f84e0f2234436c0cfad44201f0f.jpg","text":"TemporaryFile(/tmp/multipartBody4965347697374356022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383753017,"filename":"image_11042025_15_24_26_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351763628","file1":"1351763621","file0":"1351763595","file4":"1351763638","file5":"1351763708","file3":"1351763632"},"map_files_photo_id_array":[{"photo_id":"1351763708","filename":"file5"},{"photo_id":"1351763628","filename":"file2"},{"photo_id":"1351763638","filename":"file4"},{"photo_id":"1351763621","filename":"file1"},{"photo_id":"1351763595","filename":"file0"},{"photo_id":"1351763632","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351763708":["hashtag1","hashtag2"]},{"1351763621":["hashtag1","hashtag2"]},{"1351763638":["hashtag1","hashtag2"]},{"1351763632":["hashtag1","hashtag2"]},{"1351763595":["hashtag1","hashtag2"]},{"1351763628":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351763708, 1351763621, 1351763638, 1351763632, 1351763595, 1351763628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.65289068222046 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 17:02:32.767578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/15/24/image_11042025_15_25_07_10355.jpg', '/home/pi/Desktop/images/11042025/15/25/image_11042025_15_25_16_9332.jpg', '/home/pi/Desktop/images/11042025/15/25/image_11042025_15_25_26_10377.jpg', '/home/pi/Desktop/images/11042025/15/25/image_11042025_15_25_36_9364.jpg', '/home/pi/Desktop/images/11042025/15/25/image_11042025_15_25_46_10458.jpg', '/home/pi/Desktop/images/11042025/15/25/image_11042025_15_25_57_10380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/15/24/image_11042025_15_25_07_10355.jpg
/home/pi/Desktop/images/11042025/15/25/image_11042025_15_25_16_9332.jpg
/home/pi/Desktop/images/11042025/15/25/image_11042025_15_25_26_10377.jpg
/home/pi/Desktop/images/11042025/15/25/image_11042025_15_25_36_9364.jpg
/home/pi/Desktop/images/11042025/15/25/image_11042025_15_25_46_10458.jpg
/home/pi/Desktop/images/11042025/15/25/image_11042025_15_25_57_10380.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.37145519256591797 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 17:02:42.860588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/15/24/image_11042025_15_25_07_10355.jpg', '/home/pi/Desktop/images/11042025/15/25/image_11042025_15_25_16_9332.jpg', '/home/pi/Desktop/images/11042025/15/25/image_11042025_15_25_26_10377.jpg', '/home/pi/Desktop/images/11042025/15/25/image_11042025_15_25_36_9364.jpg', '/home/pi/Desktop/images/11042025/15/25/image_11042025_15_25_46_10458.jpg', '/home/pi/Desktop/images/11042025/15/25/image_11042025_15_25_57_10380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/15/24/image_11042025_15_25_07_10355.jpg
/home/pi/Desktop/images/11042025/15/25/image_11042025_15_25_16_9332.jpg
/home/pi/Desktop/images/11042025/15/25/image_11042025_15_25_26_10377.jpg
/home/pi/Desktop/images/11042025/15/25/image_11042025_15_25_36_9364.jpg
/home/pi/Desktop/images/11042025/15/25/image_11042025_15_25_46_10458.jpg
/home/pi/Desktop/images/11042025/15/25/image_11042025_15_25_57_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":["1351763773","1351763790","1351763784","1351763778","1351763763","1351763787"],"photo_ids_order":["1351763763","1351763773","1351763778","1351763784","1351763787","1351763790"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c746fa054b3fc0f0248070210443f021.jpg","text":"TemporaryFile(/tmp/multipartBody8840868034132597639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383823321,"filename":"image_11042025_15_25_16_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9e09b99274db4e8e26a6d943eb2beb4e.jpg","text":"TemporaryFile(/tmp/multipartBody7407941139583027269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383823321,"filename":"image_11042025_15_25_57_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/92ce4f644901692a3ab59bac6c1e24ff.jpg","text":"TemporaryFile(/tmp/multipartBody936544919928131187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383823321,"filename":"image_11042025_15_25_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/11/c8454169928009c41ab221a09fcac67d.jpg","text":"TemporaryFile(/tmp/multipartBody8726509330761021788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383823321,"filename":"image_11042025_15_25_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/11/6a38925b2dc9e0cb2af8b4f5c8f534bd.jpg","text":"TemporaryFile(/tmp/multipartBody8465809678556611709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383823321,"filename":"image_11042025_15_25_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/11/af13069c6c9f30f514b7b0ff7d8f112c.jpg","text":"TemporaryFile(/tmp/multipartBody4479456654505773880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383823321,"filename":"image_11042025_15_25_46_10458.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351763778","file1":"1351763773","file0":"1351763763","file4":"1351763787","file5":"1351763790","file3":"1351763784"},"map_files_photo_id_array":[{"photo_id":"1351763790","filename":"file5"},{"photo_id":"1351763778","filename":"file2"},{"photo_id":"1351763787","filename":"file4"},{"photo_id":"1351763773","filename":"file1"},{"photo_id":"1351763763","filename":"file0"},{"photo_id":"1351763784","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351763773":["hashtag1","hashtag2"]},{"1351763790":["hashtag1","hashtag2"]},{"1351763784":["hashtag1","hashtag2"]},{"1351763778":["hashtag1","hashtag2"]},{"1351763763":["hashtag1","hashtag2"]},{"1351763787":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351763773, 1351763790, 1351763784, 1351763778, 1351763763, 1351763787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.00771713256836 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 17:03:33.091270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/15/25/image_11042025_15_26_06_9438.jpg', '/home/pi/Desktop/images/11042025/15/26/image_11042025_15_26_16_10376.jpg', '/home/pi/Desktop/images/11042025/15/26/image_11042025_15_26_26_9364.jpg', '/home/pi/Desktop/images/11042025/15/26/image_11042025_15_26_36_10370.jpg', '/home/pi/Desktop/images/11042025/15/26/image_11042025_15_26_46_10355.jpg', '/home/pi/Desktop/images/11042025/15/26/image_11042025_15_26_56_9431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/15/25/image_11042025_15_26_06_9438.jpg
/home/pi/Desktop/images/11042025/15/26/image_11042025_15_26_16_10376.jpg
/home/pi/Desktop/images/11042025/15/26/image_11042025_15_26_26_9364.jpg
/home/pi/Desktop/images/11042025/15/26/image_11042025_15_26_36_10370.jpg
/home/pi/Desktop/images/11042025/15/26/image_11042025_15_26_46_10355.jpg
/home/pi/Desktop/images/11042025/15/26/image_11042025_15_26_56_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":["1351763852","1351763915","1351763932","1351763926","1351763938","1351763824"],"photo_ids_order":["1351763824","1351763852","1351763915","1351763926","1351763932","1351763938"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7d5744f3b94af437bfbe9eff748f2977.jpg","text":"TemporaryFile(/tmp/multipartBody1478958635065681592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383873543,"filename":"image_11042025_15_26_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/11/8d7cf1d4543f272062c3edeb8f5cac78.jpg","text":"TemporaryFile(/tmp/multipartBody7133975806596657760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383873543,"filename":"image_11042025_15_26_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/11/d67958bf5477ba69e359b7722392e5ce.jpg","text":"TemporaryFile(/tmp/multipartBody4129318519565797798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383873543,"filename":"image_11042025_15_26_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/11/9bd3cf8e4c69604d2db6e5fe8aea4bc5.jpg","text":"TemporaryFile(/tmp/multipartBody917024188635914631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383873543,"filename":"image_11042025_15_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/11/5f27edd35272bc1b7e50804e9bce2479.jpg","text":"TemporaryFile(/tmp/multipartBody5292027500959125617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383873543,"filename":"image_11042025_15_26_56_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/349d99c7de929f2bd650629410664306.jpg","text":"TemporaryFile(/tmp/multipartBody4457514623704344129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383873543,"filename":"image_11042025_15_26_06_9438.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351763915","file1":"1351763852","file0":"1351763824","file4":"1351763932","file5":"1351763938","file3":"1351763926"},"map_files_photo_id_array":[{"photo_id":"1351763938","filename":"file5"},{"photo_id":"1351763915","filename":"file2"},{"photo_id":"1351763932","filename":"file4"},{"photo_id":"1351763852","filename":"file1"},{"photo_id":"1351763824","filename":"file0"},{"photo_id":"1351763926","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351763852":["hashtag1","hashtag2"]},{"1351763915":["hashtag1","hashtag2"]},{"1351763932":["hashtag1","hashtag2"]},{"1351763926":["hashtag1","hashtag2"]},{"1351763938":["hashtag1","hashtag2"]},{"1351763824":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351763852, 1351763915, 1351763932, 1351763926, 1351763938, 1351763824)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.95360803604126 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 17:04:32.222978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/15/26/image_11042025_15_27_06_10361.jpg', '/home/pi/Desktop/images/11042025/15/27/image_11042025_15_27_17_10395.jpg', '/home/pi/Desktop/images/11042025/15/27/image_11042025_15_27_26_9466.jpg', '/home/pi/Desktop/images/11042025/15/27/image_11042025_15_27_36_10352.jpg', '/home/pi/Desktop/images/11042025/15/27/image_11042025_15_27_46_9457.jpg', '/home/pi/Desktop/images/11042025/15/27/image_11042025_15_27_56_10399.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/15/26/image_11042025_15_27_06_10361.jpg
/home/pi/Desktop/images/11042025/15/27/image_11042025_15_27_17_10395.jpg
/home/pi/Desktop/images/11042025/15/27/image_11042025_15_27_26_9466.jpg
/home/pi/Desktop/images/11042025/15/27/image_11042025_15_27_36_10352.jpg
/home/pi/Desktop/images/11042025/15/27/image_11042025_15_27_46_9457.jpg
/home/pi/Desktop/images/11042025/15/27/image_11042025_15_27_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":["1351764221","1351764215","1351764250","1351764291","1351764174","1351764255"],"photo_ids_order":["1351764174","1351764215","1351764221","1351764250","1351764255","1351764291"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/39a561288d74174900a9e3989bcc9266.jpg","text":"TemporaryFile(/tmp/multipartBody6478816785090978802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383932752,"filename":"image_11042025_15_27_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/11/48b0fcc8715fe66c51578602a476fcdd.jpg","text":"TemporaryFile(/tmp/multipartBody8297592722933056510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383932752,"filename":"image_11042025_15_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/11/3c0067a951fa77283612e4e167ceaddc.jpg","text":"TemporaryFile(/tmp/multipartBody3384725774979034810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383932752,"filename":"image_11042025_15_27_36_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/afa7692a6c49c1dc9c61f3621f97dd04.jpg","text":"TemporaryFile(/tmp/multipartBody7669347475808658158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383932752,"filename":"image_11042025_15_27_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/11/9304f40ddfaf24f199c294e1444ecb43.jpg","text":"TemporaryFile(/tmp/multipartBody7607051871509586798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383932752,"filename":"image_11042025_15_27_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/11/624c6a796185eca19e21092122244c0c.jpg","text":"TemporaryFile(/tmp/multipartBody4596466683346946113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383932752,"filename":"image_11042025_15_27_46_9457.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351764221","file1":"1351764215","file0":"1351764174","file4":"1351764255","file5":"1351764291","file3":"1351764250"},"map_files_photo_id_array":[{"photo_id":"1351764291","filename":"file5"},{"photo_id":"1351764221","filename":"file2"},{"photo_id":"1351764255","filename":"file4"},{"photo_id":"1351764215","filename":"file1"},{"photo_id":"1351764174","filename":"file0"},{"photo_id":"1351764250","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351764221":["hashtag1","hashtag2"]},{"1351764215":["hashtag1","hashtag2"]},{"1351764250":["hashtag1","hashtag2"]},{"1351764291":["hashtag1","hashtag2"]},{"1351764174":["hashtag1","hashtag2"]},{"1351764255":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351764221, 1351764215, 1351764250, 1351764291, 1351764174, 1351764255)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.79041576385498 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 17:05:32.420738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/15/27/image_11042025_15_28_07_10345.jpg', '/home/pi/Desktop/images/11042025/15/28/image_11042025_15_28_16_9394.jpg', '/home/pi/Desktop/images/11042025/15/28/image_11042025_15_28_26_10366.jpg', '/home/pi/Desktop/images/11042025/15/28/image_11042025_15_28_36_9343.jpg', '/home/pi/Desktop/images/11042025/15/28/image_11042025_15_28_46_10373.jpg', '/home/pi/Desktop/images/11042025/15/28/image_11042025_15_28_56_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/15/27/image_11042025_15_28_07_10345.jpg
/home/pi/Desktop/images/11042025/15/28/image_11042025_15_28_16_9394.jpg
/home/pi/Desktop/images/11042025/15/28/image_11042025_15_28_26_10366.jpg
/home/pi/Desktop/images/11042025/15/28/image_11042025_15_28_36_9343.jpg
/home/pi/Desktop/images/11042025/15/28/image_11042025_15_28_46_10373.jpg
/home/pi/Desktop/images/11042025/15/28/image_11042025_15_28_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":["1351764539","1351764478","1351764544","1351764531","1351764519","1351764504"],"photo_ids_order":["1351764478","1351764504","1351764519","1351764531","1351764539","1351764544"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9c574cd6a4e1d2a879c961f9a270989b.jpg","text":"TemporaryFile(/tmp/multipartBody4419051904551596308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383992886,"filename":"image_11042025_15_28_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/11/121c9622f67ae0da2befe2977fdccad2.jpg","text":"TemporaryFile(/tmp/multipartBody6388540211905411309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383992886,"filename":"image_11042025_15_28_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/11/1436107cf9d1c84e674c3b8161711a5f.jpg","text":"TemporaryFile(/tmp/multipartBody6743724751872616401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383992886,"filename":"image_11042025_15_28_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/11/f564c46e9fad39cf0b09755fa3d43d83.jpg","text":"TemporaryFile(/tmp/multipartBody639270982491773146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383992886,"filename":"image_11042025_15_28_36_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/97c4d85b3855aa417e14187135452525.jpg","text":"TemporaryFile(/tmp/multipartBody6881947568390730557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383992886,"filename":"image_11042025_15_28_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/11/cc30ee485d1220afd5b854d56be2380a.jpg","text":"TemporaryFile(/tmp/multipartBody2289833307903827042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744383992886,"filename":"image_11042025_15_28_16_9394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351764519","file1":"1351764504","file0":"1351764478","file4":"1351764539","file5":"1351764544","file3":"1351764531"},"map_files_photo_id_array":[{"photo_id":"1351764544","filename":"file5"},{"photo_id":"1351764519","filename":"file2"},{"photo_id":"1351764539","filename":"file4"},{"photo_id":"1351764504","filename":"file1"},{"photo_id":"1351764478","filename":"file0"},{"photo_id":"1351764531","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351764539":["hashtag1","hashtag2"]},{"1351764478":["hashtag1","hashtag2"]},{"1351764544":["hashtag1","hashtag2"]},{"1351764531":["hashtag1","hashtag2"]},{"1351764519":["hashtag1","hashtag2"]},{"1351764504":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351764539, 1351764478, 1351764544, 1351764531, 1351764519, 1351764504)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.74546790122986 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 17:06:32.627083
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/15/28/image_11042025_15_29_06_9417.jpg', '/home/pi/Desktop/images/11042025/15/29/image_11042025_15_29_16_10366.jpg', '/home/pi/Desktop/images/11042025/15/29/image_11042025_15_29_27_10358.jpg', '/home/pi/Desktop/images/11042025/15/29/image_11042025_15_29_36_9409.jpg', '/home/pi/Desktop/images/11042025/15/29/image_11042025_15_29_46_10361.jpg', '/home/pi/Desktop/images/11042025/15/29/image_11042025_15_29_56_9427.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/15/28/image_11042025_15_29_06_9417.jpg
/home/pi/Desktop/images/11042025/15/29/image_11042025_15_29_16_10366.jpg
/home/pi/Desktop/images/11042025/15/29/image_11042025_15_29_27_10358.jpg
/home/pi/Desktop/images/11042025/15/29/image_11042025_15_29_36_9409.jpg
/home/pi/Desktop/images/11042025/15/29/image_11042025_15_29_46_10361.jpg
/home/pi/Desktop/images/11042025/15/29/image_11042025_15_29_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":["1351764617","1351764626","1351764636","1351764612","1351764606","1351764621"],"photo_ids_order":["1351764606","1351764612","1351764617","1351764621","1351764626","1351764636"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2b883e30db5fa524a37c764b796ab48f.jpg","text":"TemporaryFile(/tmp/multipartBody151006200326930689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384053085,"filename":"image_11042025_15_29_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/11/097e34c796fe3806e98319eda8d0e20d.jpg","text":"TemporaryFile(/tmp/multipartBody1391524219198026249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384053085,"filename":"image_11042025_15_29_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/11/74f5913a44aecf0d54290b6439ebef46.jpg","text":"TemporaryFile(/tmp/multipartBody6673024578473905023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384053085,"filename":"image_11042025_15_29_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/11/94957c1e9fb675ff504406ac52e78750.jpg","text":"TemporaryFile(/tmp/multipartBody8540031217841422492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384053085,"filename":"image_11042025_15_29_16_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/30798410c05fa81e1c718d50d3f163f4.jpg","text":"TemporaryFile(/tmp/multipartBody5046150827769869516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384053085,"filename":"image_11042025_15_29_06_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f73d55c3fe197fc3f926c9d93e9053e7.jpg","text":"TemporaryFile(/tmp/multipartBody6936827367084210896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384053085,"filename":"image_11042025_15_29_36_9409.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351764617","file1":"1351764612","file0":"1351764606","file4":"1351764626","file5":"1351764636","file3":"1351764621"},"map_files_photo_id_array":[{"photo_id":"1351764636","filename":"file5"},{"photo_id":"1351764617","filename":"file2"},{"photo_id":"1351764626","filename":"file4"},{"photo_id":"1351764612","filename":"file1"},{"photo_id":"1351764606","filename":"file0"},{"photo_id":"1351764621","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351764617":["hashtag1","hashtag2"]},{"1351764626":["hashtag1","hashtag2"]},{"1351764636":["hashtag1","hashtag2"]},{"1351764612":["hashtag1","hashtag2"]},{"1351764606":["hashtag1","hashtag2"]},{"1351764621":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351764617, 1351764626, 1351764636, 1351764612, 1351764606, 1351764621)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.56886696815491 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 17:07:32.925025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/15/29/image_11042025_15_30_06_10360.jpg', '/home/pi/Desktop/images/11042025/15/30/image_11042025_15_30_17_10343.jpg', '/home/pi/Desktop/images/11042025/15/30/image_11042025_15_30_26_9357.jpg', '/home/pi/Desktop/images/11042025/15/30/image_11042025_15_30_36_10359.jpg', '/home/pi/Desktop/images/11042025/15/30/image_11042025_15_30_47_10348.jpg', '/home/pi/Desktop/images/11042025/15/30/image_11042025_15_30_56_9434.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/15/29/image_11042025_15_30_06_10360.jpg
/home/pi/Desktop/images/11042025/15/30/image_11042025_15_30_17_10343.jpg
/home/pi/Desktop/images/11042025/15/30/image_11042025_15_30_26_9357.jpg
/home/pi/Desktop/images/11042025/15/30/image_11042025_15_30_36_10359.jpg
/home/pi/Desktop/images/11042025/15/30/image_11042025_15_30_47_10348.jpg
/home/pi/Desktop/images/11042025/15/30/image_11042025_15_30_56_9434.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":["1351764697","1351764667","1351764660","1351764692","1351764686","1351764674"],"photo_ids_order":["1351764660","1351764667","1351764674","1351764686","1351764692","1351764697"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c21fcbb78f185c7c008eb93efa7319cf.jpg","text":"TemporaryFile(/tmp/multipartBody4042657538867872716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384113391,"filename":"image_11042025_15_30_56_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d0b002d5dc55d2b1c7f6655e4be675c9.jpg","text":"TemporaryFile(/tmp/multipartBody2930913234476292748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384113391,"filename":"image_11042025_15_30_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/11/f28b1f85c92a15cb782ea9b4675a7c50.jpg","text":"TemporaryFile(/tmp/multipartBody7889565097045180133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384113391,"filename":"image_11042025_15_30_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/11/5448453b2ea12e6712e585956f20bead.jpg","text":"TemporaryFile(/tmp/multipartBody4538059407614554924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384113391,"filename":"image_11042025_15_30_47_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/eee3e72330c9e4c3fdbf1685712a9a01.jpg","text":"TemporaryFile(/tmp/multipartBody7464555136830849372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384113391,"filename":"image_11042025_15_30_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/11/97eab9aa094a01801681082f7d3f5cec.jpg","text":"TemporaryFile(/tmp/multipartBody1642494668508575263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384113391,"filename":"image_11042025_15_30_26_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351764674","file1":"1351764667","file0":"1351764660","file4":"1351764692","file5":"1351764697","file3":"1351764686"},"map_files_photo_id_array":[{"photo_id":"1351764697","filename":"file5"},{"photo_id":"1351764674","filename":"file2"},{"photo_id":"1351764692","filename":"file4"},{"photo_id":"1351764667","filename":"file1"},{"photo_id":"1351764660","filename":"file0"},{"photo_id":"1351764686","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351764697":["hashtag1","hashtag2"]},{"1351764667":["hashtag1","hashtag2"]},{"1351764660":["hashtag1","hashtag2"]},{"1351764692":["hashtag1","hashtag2"]},{"1351764686":["hashtag1","hashtag2"]},{"1351764674":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351764697, 1351764667, 1351764660, 1351764692, 1351764686, 1351764674)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.43955183029175 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 17:08:43.026120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/15/30/image_11042025_15_31_06_10372.jpg', '/home/pi/Desktop/images/11042025/15/31/image_11042025_15_31_16_9467.jpg', '/home/pi/Desktop/images/11042025/15/31/image_11042025_15_31_26_10410.jpg', '/home/pi/Desktop/images/11042025/15/31/image_11042025_15_31_37_10349.jpg', '/home/pi/Desktop/images/11042025/15/31/image_11042025_15_31_46_9435.jpg', '/home/pi/Desktop/images/11042025/15/31/image_11042025_15_31_56_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/15/30/image_11042025_15_31_06_10372.jpg
/home/pi/Desktop/images/11042025/15/31/image_11042025_15_31_16_9467.jpg
/home/pi/Desktop/images/11042025/15/31/image_11042025_15_31_26_10410.jpg
/home/pi/Desktop/images/11042025/15/31/image_11042025_15_31_37_10349.jpg
/home/pi/Desktop/images/11042025/15/31/image_11042025_15_31_46_9435.jpg
/home/pi/Desktop/images/11042025/15/31/image_11042025_15_31_56_10360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351764812","1351764784","1351764901","1351764962","1351764845","1351764755"],"photo_ids_order":["1351764755","1351764784","1351764812","1351764845","1351764901","1351764962"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3e6d2cf386f01508db9fc4ecca94130f.jpg","text":"TemporaryFile(/tmp/multipartBody1786213895496430246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384183540,"filename":"image_11042025_15_31_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/11/50f4927bc8a2620aeba898317f956e4f.jpg","text":"TemporaryFile(/tmp/multipartBody8790497202432453647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384183540,"filename":"image_11042025_15_31_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/11/4f530c4ccde3713c0a74ab4a31463f1e.jpg","text":"TemporaryFile(/tmp/multipartBody8458238953689388520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384183540,"filename":"image_11042025_15_31_46_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8127dfaf24d65a7e50c367ee862a1e3b.jpg","text":"TemporaryFile(/tmp/multipartBody4919007897840492814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384183540,"filename":"image_11042025_15_31_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/11/0252aaeccde5d4851f14008deddfbf1e.jpg","text":"TemporaryFile(/tmp/multipartBody6988763231559008850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384183540,"filename":"image_11042025_15_31_37_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/09ee0fe3b3ec28401d49615642824996.jpg","text":"TemporaryFile(/tmp/multipartBody7644491999353938430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384183540,"filename":"image_11042025_15_31_06_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351764812","file1":"1351764784","file0":"1351764755","file4":"1351764901","file5":"1351764962","file3":"1351764845"},"map_files_photo_id_array":[{"photo_id":"1351764962","filename":"file5"},{"photo_id":"1351764812","filename":"file2"},{"photo_id":"1351764901","filename":"file4"},{"photo_id":"1351764784","filename":"file1"},{"photo_id":"1351764755","filename":"file0"},{"photo_id":"1351764845","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351764812":["hashtag1","hashtag2"]},{"1351764784":["hashtag1","hashtag2"]},{"1351764901":["hashtag1","hashtag2"]},{"1351764962":["hashtag1","hashtag2"]},{"1351764845":["hashtag1","hashtag2"]},{"1351764755":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351764812, 1351764784, 1351764901, 1351764962, 1351764845, 1351764755)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.90406894683838 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 17:09:32.261256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/15/31/image_11042025_15_32_06_9401.jpg', '/home/pi/Desktop/images/11042025/15/32/image_11042025_15_32_16_10348.jpg', '/home/pi/Desktop/images/11042025/15/32/image_11042025_15_32_27_10349.jpg', '/home/pi/Desktop/images/11042025/15/32/image_11042025_15_32_36_9429.jpg', '/home/pi/Desktop/images/11042025/15/32/image_11042025_15_32_46_10351.jpg', '/home/pi/Desktop/images/11042025/15/32/image_11042025_15_32_56_9350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/15/31/image_11042025_15_32_06_9401.jpg
/home/pi/Desktop/images/11042025/15/32/image_11042025_15_32_16_10348.jpg
/home/pi/Desktop/images/11042025/15/32/image_11042025_15_32_27_10349.jpg
/home/pi/Desktop/images/11042025/15/32/image_11042025_15_32_36_9429.jpg
/home/pi/Desktop/images/11042025/15/32/image_11042025_15_32_46_10351.jpg
/home/pi/Desktop/images/11042025/15/32/image_11042025_15_32_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":["1351765461","1351765437","1351765353","1351765277","1351765588","1351765526"],"photo_ids_order":["1351765277","1351765353","1351765437","1351765461","1351765526","1351765588"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/47cd2e2571d8812145dc77311e6b5c1c.jpg","text":"TemporaryFile(/tmp/multipartBody7972854961491977790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384232735,"filename":"image_11042025_15_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/11/ec2bf0f612c71b151f5fede11a977924.jpg","text":"TemporaryFile(/tmp/multipartBody7109766720590468908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384232735,"filename":"image_11042025_15_32_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/11/1b2a90146571607eefbc035b5cfdfc0a.jpg","text":"TemporaryFile(/tmp/multipartBody4501744111039606625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384232735,"filename":"image_11042025_15_32_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/11/7be0a4c236159f9b17b6852352595592.jpg","text":"TemporaryFile(/tmp/multipartBody6017402076663558226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384232735,"filename":"image_11042025_15_32_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/11/1109a5679f709a1b4e4d7efbdb6cbd94.jpg","text":"TemporaryFile(/tmp/multipartBody986393361407834259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384232735,"filename":"image_11042025_15_32_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/11/ed4819fd31f4037b01004c9507f4e4a6.jpg","text":"TemporaryFile(/tmp/multipartBody2691109439218986719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384232735,"filename":"image_11042025_15_32_46_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351765437","file1":"1351765353","file0":"1351765277","file4":"1351765526","file5":"1351765588","file3":"1351765461"},"map_files_photo_id_array":[{"photo_id":"1351765588","filename":"file5"},{"photo_id":"1351765437","filename":"file2"},{"photo_id":"1351765526","filename":"file4"},{"photo_id":"1351765353","filename":"file1"},{"photo_id":"1351765277","filename":"file0"},{"photo_id":"1351765461","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351765461":["hashtag1","hashtag2"]},{"1351765437":["hashtag1","hashtag2"]},{"1351765353":["hashtag1","hashtag2"]},{"1351765277":["hashtag1","hashtag2"]},{"1351765588":["hashtag1","hashtag2"]},{"1351765526":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351765461, 1351765437, 1351765353, 1351765277, 1351765588, 1351765526)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.81775259971619 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 17:10:32.449074
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/15/32/image_11042025_15_33_06_10353.jpg', '/home/pi/Desktop/images/11042025/15/33/image_11042025_15_33_16_10359.jpg', '/home/pi/Desktop/images/11042025/15/33/image_11042025_15_33_26_9356.jpg', '/home/pi/Desktop/images/11042025/15/33/image_11042025_15_33_36_10421.jpg', '/home/pi/Desktop/images/11042025/15/33/image_11042025_15_33_56_9429.jpg', '/home/pi/Desktop/images/11042025/15/34/image_11042025_15_34_16_9345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/15/32/image_11042025_15_33_06_10353.jpg
/home/pi/Desktop/images/11042025/15/33/image_11042025_15_33_16_10359.jpg
/home/pi/Desktop/images/11042025/15/33/image_11042025_15_33_26_9356.jpg
/home/pi/Desktop/images/11042025/15/33/image_11042025_15_33_36_10421.jpg
/home/pi/Desktop/images/11042025/15/33/image_11042025_15_33_56_9429.jpg
/home/pi/Desktop/images/11042025/15/34/image_11042025_15_34_16_9345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351765882","1351765846","1351765866","1351765743","1351765706","1351765802"],"photo_ids_order":["1351765706","1351765743","1351765802","1351765846","1351765866","1351765882"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d3fe6365c3c730ec901b5ee8f746a33e.jpg","text":"TemporaryFile(/tmp/multipartBody2209594118088859659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384292917,"filename":"image_11042025_15_34_16_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/45d24140876d6b9f2adca0216231ee5c.jpg","text":"TemporaryFile(/tmp/multipartBody6173830791334877686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384292917,"filename":"image_11042025_15_33_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/11/08bd762a914824944781167d4ae1c6cd.jpg","text":"TemporaryFile(/tmp/multipartBody1546520739361842834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384292917,"filename":"image_11042025_15_33_56_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/11/38703c6223834434da3668c74c5419f3.jpg","text":"TemporaryFile(/tmp/multipartBody4244869599328910371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384292917,"filename":"image_11042025_15_33_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/11/e52b957477553e8e1ece4822962d7339.jpg","text":"TemporaryFile(/tmp/multipartBody8537028646804308392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384292917,"filename":"image_11042025_15_33_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/11/141d3cf760e61b8a1614492821723b76.jpg","text":"TemporaryFile(/tmp/multipartBody9017193728260338831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384292917,"filename":"image_11042025_15_33_26_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351765802","file1":"1351765743","file0":"1351765706","file4":"1351765866","file5":"1351765882","file3":"1351765846"},"map_files_photo_id_array":[{"photo_id":"1351765882","filename":"file5"},{"photo_id":"1351765802","filename":"file2"},{"photo_id":"1351765866","filename":"file4"},{"photo_id":"1351765743","filename":"file1"},{"photo_id":"1351765706","filename":"file0"},{"photo_id":"1351765846","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351765882":["hashtag1","hashtag2"]},{"1351765846":["hashtag1","hashtag2"]},{"1351765866":["hashtag1","hashtag2"]},{"1351765743":["hashtag1","hashtag2"]},{"1351765706":["hashtag1","hashtag2"]},{"1351765802":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351765882, 1351765846, 1351765866, 1351765743, 1351765706, 1351765802)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.961445569992065 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 17:11:32.643375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/15/34/image_11042025_15_34_37_10416.jpg', '/home/pi/Desktop/images/11042025/15/34/image_11042025_15_34_46_9417.jpg', '/home/pi/Desktop/images/11042025/15/34/image_11042025_15_35_06_9349.jpg', '/home/pi/Desktop/images/11042025/15/35/image_11042025_15_35_36_9349.jpg', '/home/pi/Desktop/images/11042025/15/35/image_11042025_15_35_56_9356.jpg', '/home/pi/Desktop/images/11042025/15/35/image_11042025_15_36_06_10462.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/15/34/image_11042025_15_34_37_10416.jpg
/home/pi/Desktop/images/11042025/15/34/image_11042025_15_34_46_9417.jpg
/home/pi/Desktop/images/11042025/15/34/image_11042025_15_35_06_9349.jpg
/home/pi/Desktop/images/11042025/15/35/image_11042025_15_35_36_9349.jpg
/home/pi/Desktop/images/11042025/15/35/image_11042025_15_35_56_9356.jpg
/home/pi/Desktop/images/11042025/15/35/image_11042025_15_36_06_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":["1351766041","1351766037","1351766034","1351766028","1351766066","1351766045"],"photo_ids_order":["1351766028","1351766034","1351766037","1351766041","1351766045","1351766066"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/94239c8747fb0c3887e65c0248a7544a.jpg","text":"TemporaryFile(/tmp/multipartBody3934524439179051758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384353108,"filename":"image_11042025_15_35_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/11/72dc6878e0c425962af6593f227770dd.jpg","text":"TemporaryFile(/tmp/multipartBody7294950516634970105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384353108,"filename":"image_11042025_15_35_06_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/dd62a4e2853756b9b648d9fff165aab9.jpg","text":"TemporaryFile(/tmp/multipartBody5367546992249169185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384353108,"filename":"image_11042025_15_34_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/11/124c3a53d6a50aa3acd2fe03625169ea.jpg","text":"TemporaryFile(/tmp/multipartBody7781711867958975761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384353108,"filename":"image_11042025_15_34_37_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3a2ef31e430caef5433ddedecad0d085.jpg","text":"TemporaryFile(/tmp/multipartBody5534737691853482464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384353108,"filename":"image_11042025_15_36_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/11/79e02a8e4c0e2170f8d6aed4dea34a12.jpg","text":"TemporaryFile(/tmp/multipartBody953434431508237396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384353108,"filename":"image_11042025_15_35_56_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351766037","file1":"1351766034","file0":"1351766028","file4":"1351766045","file5":"1351766066","file3":"1351766041"},"map_files_photo_id_array":[{"photo_id":"1351766066","filename":"file5"},{"photo_id":"1351766037","filename":"file2"},{"photo_id":"1351766045","filename":"file4"},{"photo_id":"1351766034","filename":"file1"},{"photo_id":"1351766028","filename":"file0"},{"photo_id":"1351766041","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351766041":["hashtag1","hashtag2"]},{"1351766037":["hashtag1","hashtag2"]},{"1351766034":["hashtag1","hashtag2"]},{"1351766028":["hashtag1","hashtag2"]},{"1351766066":["hashtag1","hashtag2"]},{"1351766045":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351766041, 1351766037, 1351766034, 1351766028, 1351766066, 1351766045)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.93076515197754 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 17:12:32.896283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/15/36/image_11042025_15_36_16_10350.jpg', '/home/pi/Desktop/images/11042025/15/36/image_11042025_15_36_36_10475.jpg', '/home/pi/Desktop/images/11042025/15/36/image_11042025_15_36_46_9341.jpg', '/home/pi/Desktop/images/11042025/15/36/image_11042025_15_36_56_10365.jpg', '/home/pi/Desktop/images/11042025/15/36/image_11042025_15_37_06_10351.jpg', '/home/pi/Desktop/images/11042025/15/37/image_11042025_15_37_16_9419.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/15/36/image_11042025_15_36_16_10350.jpg
/home/pi/Desktop/images/11042025/15/36/image_11042025_15_36_36_10475.jpg
/home/pi/Desktop/images/11042025/15/36/image_11042025_15_36_46_9341.jpg
/home/pi/Desktop/images/11042025/15/36/image_11042025_15_36_56_10365.jpg
/home/pi/Desktop/images/11042025/15/36/image_11042025_15_37_06_10351.jpg
/home/pi/Desktop/images/11042025/15/37/image_11042025_15_37_16_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":["1351766340","1351766256","1351766232","1351766243","1351766293","1351766269"],"photo_ids_order":["1351766232","1351766243","1351766256","1351766269","1351766293","1351766340"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/59a6d1a6a5daa507544a1719d89a6275.jpg","text":"TemporaryFile(/tmp/multipartBody2326884661060483697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384413357,"filename":"image_11042025_15_37_16_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/616cf7f2fa62c659a3fd2778d7d7380e.jpg","text":"TemporaryFile(/tmp/multipartBody6842568758799091050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384413357,"filename":"image_11042025_15_36_46_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f941f04218ec0a2d77f0812d4226b758.jpg","text":"TemporaryFile(/tmp/multipartBody1566296801716850320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384413357,"filename":"image_11042025_15_36_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/11/e01631cd4af5a7a2b25fc6f853bdf7ba.jpg","text":"TemporaryFile(/tmp/multipartBody3677707750230453488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384413357,"filename":"image_11042025_15_36_36_10475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/41e4b824db618e9c0247bdd734fa34fd.jpg","text":"TemporaryFile(/tmp/multipartBody161603313299067208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384413357,"filename":"image_11042025_15_37_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/11/21c0851dc82080c5cd96cdb7fde3f619.jpg","text":"TemporaryFile(/tmp/multipartBody6009272451888515342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384413357,"filename":"image_11042025_15_36_56_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351766256","file1":"1351766243","file0":"1351766232","file4":"1351766293","file5":"1351766340","file3":"1351766269"},"map_files_photo_id_array":[{"photo_id":"1351766340","filename":"file5"},{"photo_id":"1351766256","filename":"file2"},{"photo_id":"1351766293","filename":"file4"},{"photo_id":"1351766243","filename":"file1"},{"photo_id":"1351766232","filename":"file0"},{"photo_id":"1351766269","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351766340":["hashtag1","hashtag2"]},{"1351766256":["hashtag1","hashtag2"]},{"1351766232":["hashtag1","hashtag2"]},{"1351766243":["hashtag1","hashtag2"]},{"1351766293":["hashtag1","hashtag2"]},{"1351766269":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351766340, 1351766256, 1351766232, 1351766243, 1351766293, 1351766269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.940951108932495 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 17:13:32.199829
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/15/37/image_11042025_15_37_46_9360.jpg', '/home/pi/Desktop/images/11042025/15/37/image_11042025_15_37_56_10372.jpg', '/home/pi/Desktop/images/11042025/15/37/image_11042025_15_38_06_9336.jpg', '/home/pi/Desktop/images/11042025/15/38/image_11042025_15_38_56_9365.jpg', '/home/pi/Desktop/images/11042025/15/38/image_11042025_15_39_06_10411.jpg', '/home/pi/Desktop/images/11042025/15/39/image_11042025_15_39_17_10452.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/15/37/image_11042025_15_37_46_9360.jpg
/home/pi/Desktop/images/11042025/15/37/image_11042025_15_37_56_10372.jpg
/home/pi/Desktop/images/11042025/15/37/image_11042025_15_38_06_9336.jpg
/home/pi/Desktop/images/11042025/15/38/image_11042025_15_38_56_9365.jpg
/home/pi/Desktop/images/11042025/15/38/image_11042025_15_39_06_10411.jpg
/home/pi/Desktop/images/11042025/15/39/image_11042025_15_39_17_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":["1351766574","1351766582","1351766543","1351766552","1351766510","1351766534"],"photo_ids_order":["1351766510","1351766534","1351766543","1351766552","1351766574","1351766582"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/329db2b1d12e3d23015fcf9beb1388e1.jpg","text":"TemporaryFile(/tmp/multipartBody1717089643922875806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384472691,"filename":"image_11042025_15_39_06_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/55830b239e093df5a604962ba54f3318.jpg","text":"TemporaryFile(/tmp/multipartBody7298476265861885269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384472691,"filename":"image_11042025_15_39_17_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9aaa2a8ffe59a3509cc9168bf515c6a9.jpg","text":"TemporaryFile(/tmp/multipartBody5008867230899702435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384472691,"filename":"image_11042025_15_38_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/11/1ece20683e39a9ea068ca40cf56cdffb.jpg","text":"TemporaryFile(/tmp/multipartBody5259032066531663865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384472691,"filename":"image_11042025_15_38_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/11/2a9496657238d8e03a1d44ac2c879f14.jpg","text":"TemporaryFile(/tmp/multipartBody9014311774297257016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384472691,"filename":"image_11042025_15_37_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/11/520cc55625f7edb74e255caa99d3961f.jpg","text":"TemporaryFile(/tmp/multipartBody2317903267912766536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384472691,"filename":"image_11042025_15_37_56_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351766543","file1":"1351766534","file0":"1351766510","file4":"1351766574","file5":"1351766582","file3":"1351766552"},"map_files_photo_id_array":[{"photo_id":"1351766582","filename":"file5"},{"photo_id":"1351766543","filename":"file2"},{"photo_id":"1351766574","filename":"file4"},{"photo_id":"1351766534","filename":"file1"},{"photo_id":"1351766510","filename":"file0"},{"photo_id":"1351766552","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351766574":["hashtag1","hashtag2"]},{"1351766582":["hashtag1","hashtag2"]},{"1351766543":["hashtag1","hashtag2"]},{"1351766552":["hashtag1","hashtag2"]},{"1351766510":["hashtag1","hashtag2"]},{"1351766534":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351766574, 1351766582, 1351766543, 1351766552, 1351766510, 1351766534)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.170279502868652 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 17:14:32.353361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/15/39/image_11042025_15_39_26_9361.jpg', '/home/pi/Desktop/images/11042025/15/39/image_11042025_15_39_36_10422.jpg', '/home/pi/Desktop/images/11042025/15/39/image_11042025_15_39_46_9361.jpg', '/home/pi/Desktop/images/11042025/15/39/image_11042025_15_39_56_10370.jpg', '/home/pi/Desktop/images/11042025/15/39/image_11042025_15_40_06_10371.jpg', '/home/pi/Desktop/images/11042025/15/40/image_11042025_15_40_16_9455.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/15/39/image_11042025_15_39_26_9361.jpg
/home/pi/Desktop/images/11042025/15/39/image_11042025_15_39_36_10422.jpg
/home/pi/Desktop/images/11042025/15/39/image_11042025_15_39_46_9361.jpg
/home/pi/Desktop/images/11042025/15/39/image_11042025_15_39_56_10370.jpg
/home/pi/Desktop/images/11042025/15/39/image_11042025_15_40_06_10371.jpg
/home/pi/Desktop/images/11042025/15/40/image_11042025_15_40_16_9455.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351766704","1351766765","1351766810","1351766906","1351766959","1351766734"],"photo_ids_order":["1351766704","1351766734","1351766765","1351766810","1351766906","1351766959"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/173c1e3a14d3e0f2818366b0a98fd161.jpg","text":"TemporaryFile(/tmp/multipartBody8287667362211592254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384532833,"filename":"image_11042025_15_39_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/11/1ba8d39cdfa0960a5b3d234131c589d5.jpg","text":"TemporaryFile(/tmp/multipartBody2311399630618777538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384532833,"filename":"image_11042025_15_39_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/11/17e51837b2e5d39980b759d9e5b0a171.jpg","text":"TemporaryFile(/tmp/multipartBody683219922683062127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384532833,"filename":"image_11042025_15_39_56_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9f58b67486c5739eac897f13a119a321.jpg","text":"TemporaryFile(/tmp/multipartBody1381141078421411406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384532833,"filename":"image_11042025_15_40_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/11/7b23e7f6b4e0b397626d82d79379c428.jpg","text":"TemporaryFile(/tmp/multipartBody2325879943691966989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384532833,"filename":"image_11042025_15_40_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/11/77303c898893a801ea0b23e29d9ef622.jpg","text":"TemporaryFile(/tmp/multipartBody536441247455765998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384532833,"filename":"image_11042025_15_39_36_10422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351766765","file1":"1351766734","file0":"1351766704","file4":"1351766906","file5":"1351766959","file3":"1351766810"},"map_files_photo_id_array":[{"photo_id":"1351766959","filename":"file5"},{"photo_id":"1351766765","filename":"file2"},{"photo_id":"1351766906","filename":"file4"},{"photo_id":"1351766734","filename":"file1"},{"photo_id":"1351766704","filename":"file0"},{"photo_id":"1351766810","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351766704":["hashtag1","hashtag2"]},{"1351766765":["hashtag1","hashtag2"]},{"1351766810":["hashtag1","hashtag2"]},{"1351766906":["hashtag1","hashtag2"]},{"1351766959":["hashtag1","hashtag2"]},{"1351766734":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351766704, 1351766765, 1351766810, 1351766906, 1351766959, 1351766734)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.23827600479126 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 17:15:32.531990
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/15/40/image_11042025_15_40_26_10256.jpg', '/home/pi/Desktop/images/11042025/15/40/image_11042025_15_40_37_10400.jpg', '/home/pi/Desktop/images/11042025/15/40/image_11042025_15_40_46_9413.jpg', '/home/pi/Desktop/images/11042025/15/40/image_11042025_15_40_56_10374.jpg', '/home/pi/Desktop/images/11042025/15/40/image_11042025_15_41_06_9350.jpg', '/home/pi/Desktop/images/11042025/15/41/image_11042025_15_41_16_10341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/15/40/image_11042025_15_40_26_10256.jpg
/home/pi/Desktop/images/11042025/15/40/image_11042025_15_40_37_10400.jpg
/home/pi/Desktop/images/11042025/15/40/image_11042025_15_40_46_9413.jpg
/home/pi/Desktop/images/11042025/15/40/image_11042025_15_40_56_10374.jpg
/home/pi/Desktop/images/11042025/15/40/image_11042025_15_41_06_9350.jpg
/home/pi/Desktop/images/11042025/15/41/image_11042025_15_41_16_10341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351767579","1351767450","1351767758","1351767827","1351767349","1351767706"],"photo_ids_order":["1351767349","1351767450","1351767579","1351767706","1351767758","1351767827"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1bdbd553fb0bd1e38a352132e6f3eb93.jpg","text":"TemporaryFile(/tmp/multipartBody1432399850602571724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384592999,"filename":"image_11042025_15_40_46_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/29a2b0fa8403f7a28e5c607f25fe0555.jpg","text":"TemporaryFile(/tmp/multipartBody630258277236547848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384592999,"filename":"image_11042025_15_40_37_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4bd0d6b36871d492cef58994138d1a1e.jpg","text":"TemporaryFile(/tmp/multipartBody5573490980341361168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384592999,"filename":"image_11042025_15_41_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/11/af07a71e4e5aba49955d08ff9ef96cab.jpg","text":"TemporaryFile(/tmp/multipartBody1331486305231039001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384592999,"filename":"image_11042025_15_41_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/11/07e1278048c69aba9fc3dfab3ce3eaa8.jpg","text":"TemporaryFile(/tmp/multipartBody1686716969336943658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384592999,"filename":"image_11042025_15_40_26_10256.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/842047251d5a9700c4a82eed7793a3ad.jpg","text":"TemporaryFile(/tmp/multipartBody465041837920421263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384592999,"filename":"image_11042025_15_40_56_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351767579","file1":"1351767450","file0":"1351767349","file4":"1351767758","file5":"1351767827","file3":"1351767706"},"map_files_photo_id_array":[{"photo_id":"1351767827","filename":"file5"},{"photo_id":"1351767579","filename":"file2"},{"photo_id":"1351767758","filename":"file4"},{"photo_id":"1351767450","filename":"file1"},{"photo_id":"1351767349","filename":"file0"},{"photo_id":"1351767706","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351767579":["hashtag1","hashtag2"]},{"1351767450":["hashtag1","hashtag2"]},{"1351767758":["hashtag1","hashtag2"]},{"1351767827":["hashtag1","hashtag2"]},{"1351767349":["hashtag1","hashtag2"]},{"1351767706":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351767579, 1351767450, 1351767758, 1351767827, 1351767349, 1351767706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.98195767402649 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 17:16:32.837224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/15/41/image_11042025_15_41_26_10384.jpg', '/home/pi/Desktop/images/11042025/15/41/image_11042025_15_41_36_9422.jpg', '/home/pi/Desktop/images/11042025/15/41/image_11042025_15_41_46_10353.jpg', '/home/pi/Desktop/images/11042025/15/41/image_11042025_15_41_57_10381.jpg', '/home/pi/Desktop/images/11042025/15/41/image_11042025_15_42_06_9429.jpg', '/home/pi/Desktop/images/11042025/15/42/image_11042025_15_42_26_9489.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/15/41/image_11042025_15_41_26_10384.jpg
/home/pi/Desktop/images/11042025/15/41/image_11042025_15_41_36_9422.jpg
/home/pi/Desktop/images/11042025/15/41/image_11042025_15_41_46_10353.jpg
/home/pi/Desktop/images/11042025/15/41/image_11042025_15_41_57_10381.jpg
/home/pi/Desktop/images/11042025/15/41/image_11042025_15_42_06_9429.jpg
/home/pi/Desktop/images/11042025/15/42/image_11042025_15_42_26_9489.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351768503","1351768413","1351768448","1351768556","1351768336","1351768281"],"photo_ids_order":["1351768281","1351768336","1351768413","1351768448","1351768503","1351768556"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0f2524c4fa1159ebdd39e492007923fa.jpg","text":"TemporaryFile(/tmp/multipartBody3322896529149079045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384653303,"filename":"image_11042025_15_42_06_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/11/60f2c2a8dfdcb7c9947da55d7fb01f05.jpg","text":"TemporaryFile(/tmp/multipartBody2841314526943899075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384653303,"filename":"image_11042025_15_41_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/11/5ab5d64c6a732289494e59f4f63a2143.jpg","text":"TemporaryFile(/tmp/multipartBody6208311287551510324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384653303,"filename":"image_11042025_15_41_57_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/158d78a172c74aa1d979e7ed45deb315.jpg","text":"TemporaryFile(/tmp/multipartBody787500858773898468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384653303,"filename":"image_11042025_15_42_26_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/11/04bf689a018f8a51aa1f9ac4f03029b5.jpg","text":"TemporaryFile(/tmp/multipartBody7519812075407067282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384653303,"filename":"image_11042025_15_41_36_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/829bfcb13329cf214c1b3f1c6f5d2126.jpg","text":"TemporaryFile(/tmp/multipartBody8085361130061667562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384653303,"filename":"image_11042025_15_41_26_10384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351768413","file1":"1351768336","file0":"1351768281","file4":"1351768503","file5":"1351768556","file3":"1351768448"},"map_files_photo_id_array":[{"photo_id":"1351768556","filename":"file5"},{"photo_id":"1351768413","filename":"file2"},{"photo_id":"1351768503","filename":"file4"},{"photo_id":"1351768336","filename":"file1"},{"photo_id":"1351768281","filename":"file0"},{"photo_id":"1351768448","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351768503":["hashtag1","hashtag2"]},{"1351768413":["hashtag1","hashtag2"]},{"1351768448":["hashtag1","hashtag2"]},{"1351768556":["hashtag1","hashtag2"]},{"1351768336":["hashtag1","hashtag2"]},{"1351768281":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351768503, 1351768413, 1351768448, 1351768556, 1351768336, 1351768281)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.71887469291687 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 17:17:33.032714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/15/42/image_11042025_15_42_36_10451.jpg', '/home/pi/Desktop/images/11042025/15/42/image_11042025_15_42_46_9356.jpg', '/home/pi/Desktop/images/11042025/15/42/image_11042025_15_42_56_10463.jpg', '/home/pi/Desktop/images/11042025/15/42/image_11042025_15_43_07_10371.jpg', '/home/pi/Desktop/images/11042025/15/43/image_11042025_15_43_16_9455.jpg', '/home/pi/Desktop/images/11042025/15/43/image_11042025_15_43_26_10426.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/15/42/image_11042025_15_42_36_10451.jpg
/home/pi/Desktop/images/11042025/15/42/image_11042025_15_42_46_9356.jpg
/home/pi/Desktop/images/11042025/15/42/image_11042025_15_42_56_10463.jpg
/home/pi/Desktop/images/11042025/15/42/image_11042025_15_43_07_10371.jpg
/home/pi/Desktop/images/11042025/15/43/image_11042025_15_43_16_9455.jpg
/home/pi/Desktop/images/11042025/15/43/image_11042025_15_43_26_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":["1351768979","1351769194","1351768838","1351769049","1351768912","1351769223"],"photo_ids_order":["1351768838","1351768912","1351768979","1351769049","1351769194","1351769223"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b2e205600d06ebd1104ee96124f1ba2b.jpg","text":"TemporaryFile(/tmp/multipartBody8064762053562245376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384713508,"filename":"image_11042025_15_42_56_10463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/060f3e054725a6eca9a805273cc21561.jpg","text":"TemporaryFile(/tmp/multipartBody6587939029106770568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384713508,"filename":"image_11042025_15_43_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/11/7359b9502be71047c8481258074854a5.jpg","text":"TemporaryFile(/tmp/multipartBody2597209494874060741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384713508,"filename":"image_11042025_15_42_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/11/60458b9dfcdade619be616ebae5ac6da.jpg","text":"TemporaryFile(/tmp/multipartBody3907591375726571292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384713508,"filename":"image_11042025_15_43_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/11/e792fa94898b82fbdd4974b659714688.jpg","text":"TemporaryFile(/tmp/multipartBody6142338548999906407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384713508,"filename":"image_11042025_15_42_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/11/c264e26c3f4b84005ba2ded92bbbfaee.jpg","text":"TemporaryFile(/tmp/multipartBody4898120765549826793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384713508,"filename":"image_11042025_15_43_26_10426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351768979","file1":"1351768912","file0":"1351768838","file4":"1351769194","file5":"1351769223","file3":"1351769049"},"map_files_photo_id_array":[{"photo_id":"1351769223","filename":"file5"},{"photo_id":"1351768979","filename":"file2"},{"photo_id":"1351769194","filename":"file4"},{"photo_id":"1351768912","filename":"file1"},{"photo_id":"1351768838","filename":"file0"},{"photo_id":"1351769049","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351768979":["hashtag1","hashtag2"]},{"1351769194":["hashtag1","hashtag2"]},{"1351768838":["hashtag1","hashtag2"]},{"1351769049":["hashtag1","hashtag2"]},{"1351768912":["hashtag1","hashtag2"]},{"1351769223":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351768979, 1351769194, 1351768838, 1351769049, 1351768912, 1351769223)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.71924638748169 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 17:18:32.198495
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/15/43/image_11042025_15_43_36_9362.jpg', '/home/pi/Desktop/images/11042025/15/43/image_11042025_15_43_46_10360.jpg', '/home/pi/Desktop/images/11042025/15/43/image_11042025_15_43_56_10376.jpg', '/home/pi/Desktop/images/11042025/15/43/image_11042025_15_44_06_9421.jpg', '/home/pi/Desktop/images/11042025/15/44/image_11042025_15_44_16_10414.jpg', '/home/pi/Desktop/images/11042025/15/44/image_11042025_15_44_36_10431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/15/43/image_11042025_15_43_36_9362.jpg
/home/pi/Desktop/images/11042025/15/43/image_11042025_15_43_46_10360.jpg
/home/pi/Desktop/images/11042025/15/43/image_11042025_15_43_56_10376.jpg
/home/pi/Desktop/images/11042025/15/43/image_11042025_15_44_06_9421.jpg
/home/pi/Desktop/images/11042025/15/44/image_11042025_15_44_16_10414.jpg
/home/pi/Desktop/images/11042025/15/44/image_11042025_15_44_36_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":["1351769590","1351769422","1351769644","1351769719","1351769478","1351769541"],"photo_ids_order":["1351769422","1351769478","1351769541","1351769590","1351769644","1351769719"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0169b9e81179a612c4525ecaad84799c.jpg","text":"TemporaryFile(/tmp/multipartBody2588228971657588648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384772665,"filename":"image_11042025_15_44_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/11/83f5771f7336ee2ea721178968ba6ce4.jpg","text":"TemporaryFile(/tmp/multipartBody7360819627034477225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384772665,"filename":"image_11042025_15_43_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/11/36d0e62f2bea665fa12d811d6a4f71db.jpg","text":"TemporaryFile(/tmp/multipartBody5634502515545880745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384772665,"filename":"image_11042025_15_44_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/11/f2a5fb0d1d619a7ce0f3e0230d20cffb.jpg","text":"TemporaryFile(/tmp/multipartBody4236201619399592461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384772665,"filename":"image_11042025_15_44_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/11/1f55d1f8d58e216b26e7be47de25c700.jpg","text":"TemporaryFile(/tmp/multipartBody2143785056679372868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384772665,"filename":"image_11042025_15_43_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/11/09c899538ca03b83bcdcfa4ae0d14976.jpg","text":"TemporaryFile(/tmp/multipartBody2051267682685283466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384772665,"filename":"image_11042025_15_43_56_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351769541","file1":"1351769478","file0":"1351769422","file4":"1351769644","file5":"1351769719","file3":"1351769590"},"map_files_photo_id_array":[{"photo_id":"1351769719","filename":"file5"},{"photo_id":"1351769541","filename":"file2"},{"photo_id":"1351769644","filename":"file4"},{"photo_id":"1351769478","filename":"file1"},{"photo_id":"1351769422","filename":"file0"},{"photo_id":"1351769590","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351769590":["hashtag1","hashtag2"]},{"1351769422":["hashtag1","hashtag2"]},{"1351769644":["hashtag1","hashtag2"]},{"1351769719":["hashtag1","hashtag2"]},{"1351769478":["hashtag1","hashtag2"]},{"1351769541":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351769590, 1351769422, 1351769644, 1351769719, 1351769478, 1351769541)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.87851166725159 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 17:19:32.342383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/15/44/image_11042025_15_44_47_10372.jpg', '/home/pi/Desktop/images/11042025/15/44/image_11042025_15_44_56_9483.jpg', '/home/pi/Desktop/images/11042025/15/44/image_11042025_15_45_06_10347.jpg', '/home/pi/Desktop/images/11042025/15/45/image_11042025_15_45_16_9439.jpg', '/home/pi/Desktop/images/11042025/15/45/image_11042025_15_45_26_10372.jpg', '/home/pi/Desktop/images/11042025/15/45/image_11042025_15_45_37_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/15/44/image_11042025_15_44_47_10372.jpg
/home/pi/Desktop/images/11042025/15/44/image_11042025_15_44_56_9483.jpg
/home/pi/Desktop/images/11042025/15/44/image_11042025_15_45_06_10347.jpg
/home/pi/Desktop/images/11042025/15/45/image_11042025_15_45_16_9439.jpg
/home/pi/Desktop/images/11042025/15/45/image_11042025_15_45_26_10372.jpg
/home/pi/Desktop/images/11042025/15/45/image_11042025_15_45_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":["1351770243","1351770207","1351770476","1351770341","1351770403","1351770129"],"photo_ids_order":["1351770129","1351770207","1351770243","1351770341","1351770403","1351770476"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2dd1a1964c46ea62befb7bc15a834154.jpg","text":"TemporaryFile(/tmp/multipartBody4426267356496684383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384832812,"filename":"image_11042025_15_45_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/11/6ecf7480c0820dbfc52018873285e5b8.jpg","text":"TemporaryFile(/tmp/multipartBody6923733620982983265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384832812,"filename":"image_11042025_15_44_56_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/11/7dd8a5d72a7e1087fd972acbf7440d99.jpg","text":"TemporaryFile(/tmp/multipartBody7625903853962328566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384832812,"filename":"image_11042025_15_45_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/11/9b16299357169e3575f424756717a074.jpg","text":"TemporaryFile(/tmp/multipartBody4857764083835514216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384832812,"filename":"image_11042025_15_45_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/11/915ce2c4264bb2df21fe403d46ae9846.jpg","text":"TemporaryFile(/tmp/multipartBody4778639863954152526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384832812,"filename":"image_11042025_15_45_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/11/c52eebcb82f138c9306a376d0d505f69.jpg","text":"TemporaryFile(/tmp/multipartBody2539108991285319530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384832812,"filename":"image_11042025_15_44_47_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351770243","file1":"1351770207","file0":"1351770129","file4":"1351770403","file5":"1351770476","file3":"1351770341"},"map_files_photo_id_array":[{"photo_id":"1351770476","filename":"file5"},{"photo_id":"1351770243","filename":"file2"},{"photo_id":"1351770403","filename":"file4"},{"photo_id":"1351770207","filename":"file1"},{"photo_id":"1351770129","filename":"file0"},{"photo_id":"1351770341","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351770243":["hashtag1","hashtag2"]},{"1351770207":["hashtag1","hashtag2"]},{"1351770476":["hashtag1","hashtag2"]},{"1351770341":["hashtag1","hashtag2"]},{"1351770403":["hashtag1","hashtag2"]},{"1351770129":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351770243, 1351770207, 1351770476, 1351770341, 1351770403, 1351770129)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.96648836135864 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 17:20:32.502821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/15/45/image_11042025_15_45_46_9351.jpg', '/home/pi/Desktop/images/11042025/15/45/image_11042025_15_45_56_10357.jpg', '/home/pi/Desktop/images/11042025/15/45/image_11042025_15_46_07_10352.jpg', '/home/pi/Desktop/images/11042025/15/46/image_11042025_15_46_16_9354.jpg', '/home/pi/Desktop/images/11042025/15/46/image_11042025_15_46_26_10366.jpg', '/home/pi/Desktop/images/11042025/15/46/image_11042025_15_46_36_9356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/15/45/image_11042025_15_45_46_9351.jpg
/home/pi/Desktop/images/11042025/15/45/image_11042025_15_45_56_10357.jpg
/home/pi/Desktop/images/11042025/15/45/image_11042025_15_46_07_10352.jpg
/home/pi/Desktop/images/11042025/15/46/image_11042025_15_46_16_9354.jpg
/home/pi/Desktop/images/11042025/15/46/image_11042025_15_46_26_10366.jpg
/home/pi/Desktop/images/11042025/15/46/image_11042025_15_46_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":["1351771163","1351770779","1351770851","1351770895","1351770955","1351771035"],"photo_ids_order":["1351770779","1351770851","1351770895","1351770955","1351771035","1351771163"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d3475e24ce09131df605317dbadca389.jpg","text":"TemporaryFile(/tmp/multipartBody2291660436570176224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384892971,"filename":"image_11042025_15_46_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/11/196b53fdad946d5f05d2b100abc4ea64.jpg","text":"TemporaryFile(/tmp/multipartBody3581546004723438083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384892971,"filename":"image_11042025_15_45_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/11/e3592ce2de0260266d94f1bf2dd11102.jpg","text":"TemporaryFile(/tmp/multipartBody5566964093368359521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384892971,"filename":"image_11042025_15_45_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/11/cccf7ab6e425cef3211c7f1e1747dcea.jpg","text":"TemporaryFile(/tmp/multipartBody1729681037512588756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384892971,"filename":"image_11042025_15_46_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/11/fc49b31e2ac80bff88097200dcdf61d7.jpg","text":"TemporaryFile(/tmp/multipartBody1483966519944905859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384892971,"filename":"image_11042025_15_46_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/11/d32d40770b0c9d92d769cdbc258d5314.jpg","text":"TemporaryFile(/tmp/multipartBody5811469734055316001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384892971,"filename":"image_11042025_15_46_26_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351770895","file1":"1351770851","file0":"1351770779","file4":"1351771035","file5":"1351771163","file3":"1351770955"},"map_files_photo_id_array":[{"photo_id":"1351771163","filename":"file5"},{"photo_id":"1351770895","filename":"file2"},{"photo_id":"1351771035","filename":"file4"},{"photo_id":"1351770851","filename":"file1"},{"photo_id":"1351770779","filename":"file0"},{"photo_id":"1351770955","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351771163":["hashtag1","hashtag2"]},{"1351770779":["hashtag1","hashtag2"]},{"1351770851":["hashtag1","hashtag2"]},{"1351770895":["hashtag1","hashtag2"]},{"1351770955":["hashtag1","hashtag2"]},{"1351771035":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351771163, 1351770779, 1351770851, 1351770895, 1351770955, 1351771035)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.44295001029968 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 17:21:32.759494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/15/46/image_11042025_15_46_46_10463.jpg', '/home/pi/Desktop/images/11042025/15/46/image_11042025_15_46_57_10360.jpg', '/home/pi/Desktop/images/11042025/15/46/image_11042025_15_47_06_9450.jpg', '/home/pi/Desktop/images/11042025/15/47/image_11042025_15_47_16_10356.jpg', '/home/pi/Desktop/images/11042025/15/47/image_11042025_15_47_26_9365.jpg', '/home/pi/Desktop/images/11042025/15/47/image_11042025_15_47_36_10443.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/15/46/image_11042025_15_46_46_10463.jpg
/home/pi/Desktop/images/11042025/15/46/image_11042025_15_46_57_10360.jpg
/home/pi/Desktop/images/11042025/15/46/image_11042025_15_47_06_9450.jpg
/home/pi/Desktop/images/11042025/15/47/image_11042025_15_47_16_10356.jpg
/home/pi/Desktop/images/11042025/15/47/image_11042025_15_47_26_9365.jpg
/home/pi/Desktop/images/11042025/15/47/image_11042025_15_47_36_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":["1351772105","1351772023","1351771950","1351771788","1351772159","1351771880"],"photo_ids_order":["1351771788","1351771880","1351771950","1351772023","1351772105","1351772159"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f112b0824d4b8d23bd4c402ff2b36c3a.jpg","text":"TemporaryFile(/tmp/multipartBody4991870267855416989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384953222,"filename":"image_11042025_15_47_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/11/84e87b96844808769e7654844f721c50.jpg","text":"TemporaryFile(/tmp/multipartBody2687656377656985200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384953222,"filename":"image_11042025_15_47_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/11/db89845c43b7f70907a16b095816b79b.jpg","text":"TemporaryFile(/tmp/multipartBody3823340459495164554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384953222,"filename":"image_11042025_15_47_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/11/55fb704a368accc72cbfc80ee9afc173.jpg","text":"TemporaryFile(/tmp/multipartBody5501043604781464669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384953222,"filename":"image_11042025_15_46_46_10463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6ea2fc7b85a3d37b0910a83775ac4df9.jpg","text":"TemporaryFile(/tmp/multipartBody6110671456301606895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384953222,"filename":"image_11042025_15_47_36_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8ea8fabe6292fed50cd15ac34aae4337.jpg","text":"TemporaryFile(/tmp/multipartBody5295083819395914229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744384953222,"filename":"image_11042025_15_46_57_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351771950","file1":"1351771880","file0":"1351771788","file4":"1351772105","file5":"1351772159","file3":"1351772023"},"map_files_photo_id_array":[{"photo_id":"1351772159","filename":"file5"},{"photo_id":"1351771950","filename":"file2"},{"photo_id":"1351772105","filename":"file4"},{"photo_id":"1351771880","filename":"file1"},{"photo_id":"1351771788","filename":"file0"},{"photo_id":"1351772023","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351772105":["hashtag1","hashtag2"]},{"1351772023":["hashtag1","hashtag2"]},{"1351771950":["hashtag1","hashtag2"]},{"1351771788":["hashtag1","hashtag2"]},{"1351772159":["hashtag1","hashtag2"]},{"1351771880":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351772105, 1351772023, 1351771950, 1351771788, 1351772159, 1351771880)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.53363013267517 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 17:22:33.043740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/15/47/image_11042025_15_47_47_10365.jpg', '/home/pi/Desktop/images/11042025/15/47/image_11042025_15_47_56_9438.jpg', '/home/pi/Desktop/images/11042025/15/47/image_11042025_15_48_06_10437.jpg', '/home/pi/Desktop/images/11042025/15/48/image_11042025_15_48_16_9347.jpg', '/home/pi/Desktop/images/11042025/15/48/image_11042025_15_48_37_10370.jpg', '/home/pi/Desktop/images/11042025/15/48/image_11042025_15_48_46_9420.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/15/47/image_11042025_15_47_47_10365.jpg
/home/pi/Desktop/images/11042025/15/47/image_11042025_15_47_56_9438.jpg
/home/pi/Desktop/images/11042025/15/47/image_11042025_15_48_06_10437.jpg
/home/pi/Desktop/images/11042025/15/48/image_11042025_15_48_16_9347.jpg
/home/pi/Desktop/images/11042025/15/48/image_11042025_15_48_37_10370.jpg
/home/pi/Desktop/images/11042025/15/48/image_11042025_15_48_46_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":["1351772854","1351773582","1351773483","1351773069","1351773260","1351772630"],"photo_ids_order":["1351772630","1351772854","1351773069","1351773260","1351773483","1351773582"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d579ff95d7e12f4fb40ea027c3eac8d5.jpg","text":"TemporaryFile(/tmp/multipartBody851997773105594103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385013513,"filename":"image_11042025_15_47_56_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5c08eefe817833c2ef2628b740940607.jpg","text":"TemporaryFile(/tmp/multipartBody3053897747462013706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385013513,"filename":"image_11042025_15_48_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/11/ff2f2ee2306c06bd6652e44f9ac963f5.jpg","text":"TemporaryFile(/tmp/multipartBody2658038493532981405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385013513,"filename":"image_11042025_15_48_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/11/c5a6b48c9d18f1c3eb322af9b1516353.jpg","text":"TemporaryFile(/tmp/multipartBody2664671606522759367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385013513,"filename":"image_11042025_15_48_06_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/433ad7a6aac63dd932497a628bb51256.jpg","text":"TemporaryFile(/tmp/multipartBody260425690404651545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385013513,"filename":"image_11042025_15_48_16_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0910b43cb1dfcd6ee8ea6bf19f0bbf92.jpg","text":"TemporaryFile(/tmp/multipartBody7196619026589970689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385013513,"filename":"image_11042025_15_47_47_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351773069","file1":"1351772854","file0":"1351772630","file4":"1351773483","file5":"1351773582","file3":"1351773260"},"map_files_photo_id_array":[{"photo_id":"1351773582","filename":"file5"},{"photo_id":"1351773069","filename":"file2"},{"photo_id":"1351773483","filename":"file4"},{"photo_id":"1351772854","filename":"file1"},{"photo_id":"1351772630","filename":"file0"},{"photo_id":"1351773260","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351772854":["hashtag1","hashtag2"]},{"1351773582":["hashtag1","hashtag2"]},{"1351773483":["hashtag1","hashtag2"]},{"1351773069":["hashtag1","hashtag2"]},{"1351773260":["hashtag1","hashtag2"]},{"1351772630":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351772854, 1351773582, 1351773483, 1351773069, 1351773260, 1351772630)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.80449867248535 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 17:23:32.259137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/15/48/image_11042025_15_48_56_10265.jpg', '/home/pi/Desktop/images/11042025/15/48/image_11042025_15_49_07_10358.jpg', '/home/pi/Desktop/images/11042025/15/49/image_11042025_15_49_16_9458.jpg', '/home/pi/Desktop/images/11042025/15/49/image_11042025_15_49_27_10462.jpg', '/home/pi/Desktop/images/11042025/15/49/image_11042025_15_49_36_9485.jpg', '/home/pi/Desktop/images/11042025/15/49/image_11042025_15_49_46_10418.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/15/48/image_11042025_15_48_56_10265.jpg
/home/pi/Desktop/images/11042025/15/48/image_11042025_15_49_07_10358.jpg
/home/pi/Desktop/images/11042025/15/49/image_11042025_15_49_16_9458.jpg
/home/pi/Desktop/images/11042025/15/49/image_11042025_15_49_27_10462.jpg
/home/pi/Desktop/images/11042025/15/49/image_11042025_15_49_36_9485.jpg
/home/pi/Desktop/images/11042025/15/49/image_11042025_15_49_46_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":["1351773934","1351773975","1351773829","1351773869","1351773767","1351773914"],"photo_ids_order":["1351773767","1351773829","1351773869","1351773914","1351773934","1351773975"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/67992fc4653ca9182193bd562fe1bc45.jpg","text":"TemporaryFile(/tmp/multipartBody7943629182002699644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385072737,"filename":"image_11042025_15_49_36_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/11/f6db631345cf13381c7ec5ed28130ac4.jpg","text":"TemporaryFile(/tmp/multipartBody9204883442039375168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385072737,"filename":"image_11042025_15_49_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/11/3d0e1a43ca63516e3d36b21ec4574755.jpg","text":"TemporaryFile(/tmp/multipartBody7995270784836229737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385072737,"filename":"image_11042025_15_49_07_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/87a2340f9385b395af233e1a2a0c1111.jpg","text":"TemporaryFile(/tmp/multipartBody2910188379679653568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385072737,"filename":"image_11042025_15_49_16_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/11/d3107ee224e1a659a90e6b581d54eeb7.jpg","text":"TemporaryFile(/tmp/multipartBody3907676383315632178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385072737,"filename":"image_11042025_15_48_56_10265.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/aab0567ecad767464df511a8f47f9e39.jpg","text":"TemporaryFile(/tmp/multipartBody628841296389715143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385072737,"filename":"image_11042025_15_49_27_10462.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351773869","file1":"1351773829","file0":"1351773767","file4":"1351773934","file5":"1351773975","file3":"1351773914"},"map_files_photo_id_array":[{"photo_id":"1351773975","filename":"file5"},{"photo_id":"1351773869","filename":"file2"},{"photo_id":"1351773934","filename":"file4"},{"photo_id":"1351773829","filename":"file1"},{"photo_id":"1351773767","filename":"file0"},{"photo_id":"1351773914","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351773934":["hashtag1","hashtag2"]},{"1351773975":["hashtag1","hashtag2"]},{"1351773829":["hashtag1","hashtag2"]},{"1351773869":["hashtag1","hashtag2"]},{"1351773767":["hashtag1","hashtag2"]},{"1351773914":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351773934, 1351773975, 1351773829, 1351773869, 1351773767, 1351773914)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.223674297332764 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 17:24:32.497720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/15/49/image_11042025_15_49_56_9426.jpg', '/home/pi/Desktop/images/11042025/15/49/image_11042025_15_50_06_10373.jpg', '/home/pi/Desktop/images/11042025/15/50/image_11042025_15_50_16_9459.jpg', '/home/pi/Desktop/images/11042025/15/50/image_11042025_15_50_26_10362.jpg', '/home/pi/Desktop/images/11042025/15/50/image_11042025_15_50_36_10353.jpg', '/home/pi/Desktop/images/11042025/15/50/image_11042025_15_50_46_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/15/49/image_11042025_15_49_56_9426.jpg
/home/pi/Desktop/images/11042025/15/49/image_11042025_15_50_06_10373.jpg
/home/pi/Desktop/images/11042025/15/50/image_11042025_15_50_16_9459.jpg
/home/pi/Desktop/images/11042025/15/50/image_11042025_15_50_26_10362.jpg
/home/pi/Desktop/images/11042025/15/50/image_11042025_15_50_36_10353.jpg
/home/pi/Desktop/images/11042025/15/50/image_11042025_15_50_46_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351775076","1351774965","1351774851","1351775036","1351775137","1351774870"],"photo_ids_order":["1351774851","1351774870","1351774965","1351775036","1351775076","1351775137"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b30109459ff0fd28debb08680e4a8099.jpg","text":"TemporaryFile(/tmp/multipartBody1147172755253341451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385132965,"filename":"image_11042025_15_50_36_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/deb88ca5e73744eab82f85683c47a37b.jpg","text":"TemporaryFile(/tmp/multipartBody475524550992734767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385132965,"filename":"image_11042025_15_50_16_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/11/16076602243940a9000c95f66106b5b5.jpg","text":"TemporaryFile(/tmp/multipartBody6380121619255303616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385132965,"filename":"image_11042025_15_49_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/11/98b8074c262401e361e5e0940e424a26.jpg","text":"TemporaryFile(/tmp/multipartBody2831948433492116634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385132965,"filename":"image_11042025_15_50_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/11/488a3fd8cb6013305ff5d254cb114adc.jpg","text":"TemporaryFile(/tmp/multipartBody3768010241441645287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385132965,"filename":"image_11042025_15_50_46_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/83d78f303ba42213e1bc6b8f62e25aeb.jpg","text":"TemporaryFile(/tmp/multipartBody1477977353427074421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385132965,"filename":"image_11042025_15_50_06_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351774965","file1":"1351774870","file0":"1351774851","file4":"1351775076","file5":"1351775137","file3":"1351775036"},"map_files_photo_id_array":[{"photo_id":"1351775137","filename":"file5"},{"photo_id":"1351774965","filename":"file2"},{"photo_id":"1351775076","filename":"file4"},{"photo_id":"1351774870","filename":"file1"},{"photo_id":"1351774851","filename":"file0"},{"photo_id":"1351775036","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351775076":["hashtag1","hashtag2"]},{"1351774965":["hashtag1","hashtag2"]},{"1351774851":["hashtag1","hashtag2"]},{"1351775036":["hashtag1","hashtag2"]},{"1351775137":["hashtag1","hashtag2"]},{"1351774870":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351775076, 1351774965, 1351774851, 1351775036, 1351775137, 1351774870)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.3783016204834 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 17:25:32.688644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/15/50/image_11042025_15_50_56_10405.jpg', '/home/pi/Desktop/images/11042025/15/50/image_11042025_15_51_07_10352.jpg', '/home/pi/Desktop/images/11042025/15/51/image_11042025_15_51_16_9520.jpg', '/home/pi/Desktop/images/11042025/15/51/image_11042025_15_51_26_10398.jpg', '/home/pi/Desktop/images/11042025/15/51/image_11042025_15_51_36_9466.jpg', '/home/pi/Desktop/images/11042025/15/51/image_11042025_15_51_46_10349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/15/50/image_11042025_15_50_56_10405.jpg
/home/pi/Desktop/images/11042025/15/50/image_11042025_15_51_07_10352.jpg
/home/pi/Desktop/images/11042025/15/51/image_11042025_15_51_16_9520.jpg
/home/pi/Desktop/images/11042025/15/51/image_11042025_15_51_26_10398.jpg
/home/pi/Desktop/images/11042025/15/51/image_11042025_15_51_36_9466.jpg
/home/pi/Desktop/images/11042025/15/51/image_11042025_15_51_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":["1351775783","1351775846","1351775762","1351775708","1351775677","1351775884"],"photo_ids_order":["1351775677","1351775708","1351775762","1351775783","1351775846","1351775884"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/119a99f99918d883347a260e478f7199.jpg","text":"TemporaryFile(/tmp/multipartBody5499538512364342519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385193157,"filename":"image_11042025_15_51_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/11/db6b31c0209ce65f01db377f7d43ad6d.jpg","text":"TemporaryFile(/tmp/multipartBody3513905749904870125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385193157,"filename":"image_11042025_15_51_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/11/ee139085b8a992ce7ad347a8c30bbf63.jpg","text":"TemporaryFile(/tmp/multipartBody6272502764448218598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385193157,"filename":"image_11042025_15_51_16_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/11/aeed98f4518b6950237f4bff7f176e44.jpg","text":"TemporaryFile(/tmp/multipartBody6718153585262792124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385193157,"filename":"image_11042025_15_51_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/11/bbee440424e4bb9f46fb8d57dfe82b9f.jpg","text":"TemporaryFile(/tmp/multipartBody5010017830833835336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385193157,"filename":"image_11042025_15_50_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/11/d89a187e5337d04bf8218030cc467be7.jpg","text":"TemporaryFile(/tmp/multipartBody7868829932335147100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385193157,"filename":"image_11042025_15_51_46_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351775762","file1":"1351775708","file0":"1351775677","file4":"1351775846","file5":"1351775884","file3":"1351775783"},"map_files_photo_id_array":[{"photo_id":"1351775884","filename":"file5"},{"photo_id":"1351775762","filename":"file2"},{"photo_id":"1351775846","filename":"file4"},{"photo_id":"1351775708","filename":"file1"},{"photo_id":"1351775677","filename":"file0"},{"photo_id":"1351775783","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351775783":["hashtag1","hashtag2"]},{"1351775846":["hashtag1","hashtag2"]},{"1351775762":["hashtag1","hashtag2"]},{"1351775708":["hashtag1","hashtag2"]},{"1351775677":["hashtag1","hashtag2"]},{"1351775884":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351775783, 1351775846, 1351775762, 1351775708, 1351775677, 1351775884)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.00325894355774 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 17:26:33.001202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/15/51/image_11042025_15_51_57_10364.jpg', '/home/pi/Desktop/images/11042025/15/51/image_11042025_15_52_06_9366.jpg', '/home/pi/Desktop/images/11042025/15/52/image_11042025_15_52_16_10343.jpg', '/home/pi/Desktop/images/11042025/15/52/image_11042025_15_52_26_9365.jpg', '/home/pi/Desktop/images/11042025/15/52/image_11042025_15_52_36_10361.jpg', '/home/pi/Desktop/images/11042025/15/52/image_11042025_15_52_46_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/15/51/image_11042025_15_51_57_10364.jpg
/home/pi/Desktop/images/11042025/15/51/image_11042025_15_52_06_9366.jpg
/home/pi/Desktop/images/11042025/15/52/image_11042025_15_52_16_10343.jpg
/home/pi/Desktop/images/11042025/15/52/image_11042025_15_52_26_9365.jpg
/home/pi/Desktop/images/11042025/15/52/image_11042025_15_52_36_10361.jpg
/home/pi/Desktop/images/11042025/15/52/image_11042025_15_52_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":["1351776429","1351776516","1351776392","1351776493","1351776468","1351776345"],"photo_ids_order":["1351776345","1351776392","1351776429","1351776468","1351776493","1351776516"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6d982bbae3e0d92772c16f622568cc35.jpg","text":"TemporaryFile(/tmp/multipartBody6474218235421472388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385253482,"filename":"image_11042025_15_52_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/11/1e47c6d671411be3e8250215a3c0d784.jpg","text":"TemporaryFile(/tmp/multipartBody8002080488910746544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385253482,"filename":"image_11042025_15_52_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/11/c00c9339a4a1b3936c007ca4acfac203.jpg","text":"TemporaryFile(/tmp/multipartBody7433953402203926014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385253482,"filename":"image_11042025_15_52_06_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/11/fd8db81a681c38cabe9d60bfc08fc3ea.jpg","text":"TemporaryFile(/tmp/multipartBody738221656432687495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385253482,"filename":"image_11042025_15_52_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/11/3477efe9a3a3d2a85a54f2676a34bf36.jpg","text":"TemporaryFile(/tmp/multipartBody4517736213362601317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385253482,"filename":"image_11042025_15_52_26_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/fc52d4dc5af96b6906ec74c8bd823920.jpg","text":"TemporaryFile(/tmp/multipartBody7809676606657886595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385253482,"filename":"image_11042025_15_51_57_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351776429","file1":"1351776392","file0":"1351776345","file4":"1351776493","file5":"1351776516","file3":"1351776468"},"map_files_photo_id_array":[{"photo_id":"1351776516","filename":"file5"},{"photo_id":"1351776429","filename":"file2"},{"photo_id":"1351776493","filename":"file4"},{"photo_id":"1351776392","filename":"file1"},{"photo_id":"1351776345","filename":"file0"},{"photo_id":"1351776468","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351776429":["hashtag1","hashtag2"]},{"1351776516":["hashtag1","hashtag2"]},{"1351776392":["hashtag1","hashtag2"]},{"1351776493":["hashtag1","hashtag2"]},{"1351776468":["hashtag1","hashtag2"]},{"1351776345":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351776429, 1351776516, 1351776392, 1351776493, 1351776468, 1351776345)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.740230560302734 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 17:27:33.121505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/15/52/image_11042025_15_52_56_9515.jpg', '/home/pi/Desktop/images/11042025/15/52/image_11042025_15_53_06_10429.jpg', '/home/pi/Desktop/images/11042025/15/53/image_11042025_15_53_16_9350.jpg', '/home/pi/Desktop/images/11042025/15/53/image_11042025_15_53_26_10439.jpg', '/home/pi/Desktop/images/11042025/15/53/image_11042025_15_53_37_10363.jpg', '/home/pi/Desktop/images/11042025/15/53/image_11042025_15_53_46_9413.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/15/52/image_11042025_15_52_56_9515.jpg
/home/pi/Desktop/images/11042025/15/52/image_11042025_15_53_06_10429.jpg
/home/pi/Desktop/images/11042025/15/53/image_11042025_15_53_16_9350.jpg
/home/pi/Desktop/images/11042025/15/53/image_11042025_15_53_26_10439.jpg
/home/pi/Desktop/images/11042025/15/53/image_11042025_15_53_37_10363.jpg
/home/pi/Desktop/images/11042025/15/53/image_11042025_15_53_46_9413.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351776803","1351776778","1351776958","1351777011","1351776990","1351776930"],"photo_ids_order":["1351776778","1351776803","1351776930","1351776958","1351776990","1351777011"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/dc27b540bf6a321a189b469408c9c65b.jpg","text":"TemporaryFile(/tmp/multipartBody3302040381984425946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385313595,"filename":"image_11042025_15_53_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/11/53b43e4f54805784bb6fb7dec968b9ec.jpg","text":"TemporaryFile(/tmp/multipartBody2276821697670923178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385313595,"filename":"image_11042025_15_52_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/11/1d4d9499043cbcc3fd72168230aaa3d6.jpg","text":"TemporaryFile(/tmp/multipartBody703661250291018153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385313595,"filename":"image_11042025_15_53_26_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/058173169ac41103cf8c951f11c1043b.jpg","text":"TemporaryFile(/tmp/multipartBody733927413352382492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385313595,"filename":"image_11042025_15_53_46_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0737c15bc48ed078db5a53cddf52c611.jpg","text":"TemporaryFile(/tmp/multipartBody3600667949472829324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385313595,"filename":"image_11042025_15_53_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/11/8aeb2ef44a8c806331bfb81a60799d73.jpg","text":"TemporaryFile(/tmp/multipartBody6334152776263540453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385313595,"filename":"image_11042025_15_53_16_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351776930","file1":"1351776803","file0":"1351776778","file4":"1351776990","file5":"1351777011","file3":"1351776958"},"map_files_photo_id_array":[{"photo_id":"1351777011","filename":"file5"},{"photo_id":"1351776930","filename":"file2"},{"photo_id":"1351776990","filename":"file4"},{"photo_id":"1351776803","filename":"file1"},{"photo_id":"1351776778","filename":"file0"},{"photo_id":"1351776958","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351776803":["hashtag1","hashtag2"]},{"1351776778":["hashtag1","hashtag2"]},{"1351776958":["hashtag1","hashtag2"]},{"1351777011":["hashtag1","hashtag2"]},{"1351776990":["hashtag1","hashtag2"]},{"1351776930":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351776803, 1351776778, 1351776958, 1351777011, 1351776990, 1351776930)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.2276930809021 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-11 17:28:42.339870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/15/53/image_11042025_15_53_56_10367.jpg', '/home/pi/Desktop/images/11042025/15/53/image_11042025_15_54_06_9502.jpg', '/home/pi/Desktop/images/11042025/15/54/image_11042025_15_54_16_10397.jpg', '/home/pi/Desktop/images/11042025/15/54/image_11042025_15_54_27_10434.jpg', '/home/pi/Desktop/images/11042025/15/54/image_11042025_15_54_36_9355.jpg', '/home/pi/Desktop/images/11042025/15/54/image_11042025_15_54_46_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/15/53/image_11042025_15_53_56_10367.jpg
/home/pi/Desktop/images/11042025/15/53/image_11042025_15_54_06_9502.jpg
/home/pi/Desktop/images/11042025/15/54/image_11042025_15_54_16_10397.jpg
/home/pi/Desktop/images/11042025/15/54/image_11042025_15_54_27_10434.jpg
/home/pi/Desktop/images/11042025/15/54/image_11042025_15_54_36_9355.jpg
/home/pi/Desktop/images/11042025/15/54/image_11042025_15_54_46_10358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351777466","1351777418","1351777261","1351777366","1351777207","1351777318"],"photo_ids_order":["1351777207","1351777261","1351777318","1351777366","1351777418","1351777466"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f40e215a2ddb142a50611ca6f817de07.jpg","text":"TemporaryFile(/tmp/multipartBody8551078947690968404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385382810,"filename":"image_11042025_15_54_46_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/98c129fc142bd3c5ab813ac84a31082d.jpg","text":"TemporaryFile(/tmp/multipartBody2134926216548905883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385382810,"filename":"image_11042025_15_54_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/11/d24fa0508dca8c0531469a8ec20662c9.jpg","text":"TemporaryFile(/tmp/multipartBody8030611661809257389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385382810,"filename":"image_11042025_15_54_06_9502.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c805b9cb5fc196cbd03da895e5c7090a.jpg","text":"TemporaryFile(/tmp/multipartBody4374046361563436033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385382810,"filename":"image_11042025_15_54_27_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/63fe55ce4a4b985a23b192a4914aba16.jpg","text":"TemporaryFile(/tmp/multipartBody4332542878282654203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385382810,"filename":"image_11042025_15_53_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/11/c594c56232b9133567684bc539be41f4.jpg","text":"TemporaryFile(/tmp/multipartBody8406460376029779670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385382810,"filename":"image_11042025_15_54_16_10397.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351777318","file1":"1351777261","file0":"1351777207","file4":"1351777418","file5":"1351777466","file3":"1351777366"},"map_files_photo_id_array":[{"photo_id":"1351777466","filename":"file5"},{"photo_id":"1351777318","filename":"file2"},{"photo_id":"1351777418","filename":"file4"},{"photo_id":"1351777261","filename":"file1"},{"photo_id":"1351777207","filename":"file0"},{"photo_id":"1351777366","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351777466":["hashtag1","hashtag2"]},{"1351777418":["hashtag1","hashtag2"]},{"1351777261":["hashtag1","hashtag2"]},{"1351777366":["hashtag1","hashtag2"]},{"1351777207":["hashtag1","hashtag2"]},{"1351777318":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351777466, 1351777418, 1351777261, 1351777366, 1351777207, 1351777318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.028008222579956 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 17:29:32.647908
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/15/54/image_11042025_15_54_56_9341.jpg', '/home/pi/Desktop/images/11042025/15/54/image_11042025_15_55_06_10347.jpg', '/home/pi/Desktop/images/11042025/15/55/image_11042025_15_55_16_10366.jpg', '/home/pi/Desktop/images/11042025/15/55/image_11042025_15_55_26_9358.jpg', '/home/pi/Desktop/images/11042025/15/55/image_11042025_15_55_36_10356.jpg', '/home/pi/Desktop/images/11042025/15/55/image_11042025_15_55_46_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/15/54/image_11042025_15_54_56_9341.jpg
/home/pi/Desktop/images/11042025/15/54/image_11042025_15_55_06_10347.jpg
/home/pi/Desktop/images/11042025/15/55/image_11042025_15_55_16_10366.jpg
/home/pi/Desktop/images/11042025/15/55/image_11042025_15_55_26_9358.jpg
/home/pi/Desktop/images/11042025/15/55/image_11042025_15_55_36_10356.jpg
/home/pi/Desktop/images/11042025/15/55/image_11042025_15_55_46_10360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351778117","1351778089","1351777927","1351777861","1351778005","1351777791"],"photo_ids_order":["1351777791","1351777861","1351777927","1351778005","1351778089","1351778117"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b9ec3825991c0c116cc9a8ca88cadd9a.jpg","text":"TemporaryFile(/tmp/multipartBody8342554465598448638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385433135,"filename":"image_11042025_15_55_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/11/720af10f43b07530e115f21a93621116.jpg","text":"TemporaryFile(/tmp/multipartBody1455708021807504758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385433135,"filename":"image_11042025_15_55_36_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f47e882a2cc6a6dca60627596f382bb5.jpg","text":"TemporaryFile(/tmp/multipartBody1219752650621746522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385433135,"filename":"image_11042025_15_55_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/11/90f3328fd67132cc62d039189d289bb5.jpg","text":"TemporaryFile(/tmp/multipartBody6872134741916739177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385433135,"filename":"image_11042025_15_55_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/11/8d793401e8463d10fd134223609bcccf.jpg","text":"TemporaryFile(/tmp/multipartBody5419159432722192433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385433135,"filename":"image_11042025_15_55_26_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/efe0ea2bc27fc98c090a433a1895707f.jpg","text":"TemporaryFile(/tmp/multipartBody8380995007642307985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385433135,"filename":"image_11042025_15_54_56_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351777927","file1":"1351777861","file0":"1351777791","file4":"1351778089","file5":"1351778117","file3":"1351778005"},"map_files_photo_id_array":[{"photo_id":"1351778117","filename":"file5"},{"photo_id":"1351777927","filename":"file2"},{"photo_id":"1351778089","filename":"file4"},{"photo_id":"1351777861","filename":"file1"},{"photo_id":"1351777791","filename":"file0"},{"photo_id":"1351778005","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351778117":["hashtag1","hashtag2"]},{"1351778089":["hashtag1","hashtag2"]},{"1351777927":["hashtag1","hashtag2"]},{"1351777861":["hashtag1","hashtag2"]},{"1351778005":["hashtag1","hashtag2"]},{"1351777791":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351778117, 1351778089, 1351777927, 1351777861, 1351778005, 1351777791)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.82931113243103 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 17:30:33.046086
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/15/55/image_11042025_15_55_56_9410.jpg', '/home/pi/Desktop/images/11042025/15/55/image_11042025_15_56_06_10350.jpg', '/home/pi/Desktop/images/11042025/15/56/image_11042025_15_56_17_10351.jpg', '/home/pi/Desktop/images/11042025/15/56/image_11042025_15_56_26_9422.jpg', '/home/pi/Desktop/images/11042025/15/56/image_11042025_15_56_36_10360.jpg', '/home/pi/Desktop/images/11042025/15/56/image_11042025_15_56_46_9350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/15/55/image_11042025_15_55_56_9410.jpg
/home/pi/Desktop/images/11042025/15/55/image_11042025_15_56_06_10350.jpg
/home/pi/Desktop/images/11042025/15/56/image_11042025_15_56_17_10351.jpg
/home/pi/Desktop/images/11042025/15/56/image_11042025_15_56_26_9422.jpg
/home/pi/Desktop/images/11042025/15/56/image_11042025_15_56_36_10360.jpg
/home/pi/Desktop/images/11042025/15/56/image_11042025_15_56_46_9350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351778970","1351778541","1351778610","1351778798","1351778684","1351778885"],"photo_ids_order":["1351778541","1351778610","1351778684","1351778798","1351778885","1351778970"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4c720d5cd67cc5f267952cb20546b4f5.jpg","text":"TemporaryFile(/tmp/multipartBody6947832478905855394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385493513,"filename":"image_11042025_15_56_46_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/fd235c8ff2b22f23b71228b29e45dec2.jpg","text":"TemporaryFile(/tmp/multipartBody8071550377760152123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385493513,"filename":"image_11042025_15_55_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/11/a4ee49c6bc590463fab9f43aef1c8aa8.jpg","text":"TemporaryFile(/tmp/multipartBody7063672687908811304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385493513,"filename":"image_11042025_15_56_06_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/60aaafa385918912310c6b5efb6b77b3.jpg","text":"TemporaryFile(/tmp/multipartBody5891821956650943731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385493513,"filename":"image_11042025_15_56_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/11/2f64b8096e0db45fa804f7fc6e6ff0e5.jpg","text":"TemporaryFile(/tmp/multipartBody6214903923929223324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385493513,"filename":"image_11042025_15_56_17_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/147b67347532bd89855ac2ec38c91f08.jpg","text":"TemporaryFile(/tmp/multipartBody8206315766309359874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385493513,"filename":"image_11042025_15_56_36_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351778684","file1":"1351778610","file0":"1351778541","file4":"1351778885","file5":"1351778970","file3":"1351778798"},"map_files_photo_id_array":[{"photo_id":"1351778970","filename":"file5"},{"photo_id":"1351778684","filename":"file2"},{"photo_id":"1351778885","filename":"file4"},{"photo_id":"1351778610","filename":"file1"},{"photo_id":"1351778541","filename":"file0"},{"photo_id":"1351778798","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351778970":["hashtag1","hashtag2"]},{"1351778541":["hashtag1","hashtag2"]},{"1351778610":["hashtag1","hashtag2"]},{"1351778798":["hashtag1","hashtag2"]},{"1351778684":["hashtag1","hashtag2"]},{"1351778885":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351778970, 1351778541, 1351778610, 1351778798, 1351778684, 1351778885)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.86730909347534 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 17:31:32.251075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/15/56/image_11042025_15_56_56_10392.jpg', '/home/pi/Desktop/images/11042025/15/56/image_11042025_15_57_07_10405.jpg', '/home/pi/Desktop/images/11042025/15/57/image_11042025_15_57_16_9462.jpg', '/home/pi/Desktop/images/11042025/15/57/image_11042025_15_57_26_10346.jpg', '/home/pi/Desktop/images/11042025/15/57/image_11042025_15_57_36_9355.jpg', '/home/pi/Desktop/images/11042025/15/57/image_11042025_15_57_46_10405.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/15/56/image_11042025_15_56_56_10392.jpg
/home/pi/Desktop/images/11042025/15/56/image_11042025_15_57_07_10405.jpg
/home/pi/Desktop/images/11042025/15/57/image_11042025_15_57_16_9462.jpg
/home/pi/Desktop/images/11042025/15/57/image_11042025_15_57_26_10346.jpg
/home/pi/Desktop/images/11042025/15/57/image_11042025_15_57_36_9355.jpg
/home/pi/Desktop/images/11042025/15/57/image_11042025_15_57_46_10405.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351779520","1351779876","1351779465","1351779761","1351779667","1351779676"],"photo_ids_order":["1351779465","1351779520","1351779667","1351779676","1351779761","1351779876"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8ccceb707438a33eb2414b46076bf98b.jpg","text":"TemporaryFile(/tmp/multipartBody1149118591357744548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385552740,"filename":"image_11042025_15_57_07_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4fc82c52e7b96e19812775d31e161eee.jpg","text":"TemporaryFile(/tmp/multipartBody3799332522223795504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385552740,"filename":"image_11042025_15_57_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/11/2d0383ce7163bc56a91cbef7c2cec2e8.jpg","text":"TemporaryFile(/tmp/multipartBody7871887310785354218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385552740,"filename":"image_11042025_15_56_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/11/1e078edd99113ae5d37330422673297d.jpg","text":"TemporaryFile(/tmp/multipartBody1920958681766381192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385552740,"filename":"image_11042025_15_57_36_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ba5f12b0f08703691218370076854513.jpg","text":"TemporaryFile(/tmp/multipartBody2695879575982695808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385552740,"filename":"image_11042025_15_57_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/11/3e5601e752431be31860dbb6d842fc1b.jpg","text":"TemporaryFile(/tmp/multipartBody2250704315451747197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385552740,"filename":"image_11042025_15_57_26_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351779667","file1":"1351779520","file0":"1351779465","file4":"1351779761","file5":"1351779876","file3":"1351779676"},"map_files_photo_id_array":[{"photo_id":"1351779876","filename":"file5"},{"photo_id":"1351779667","filename":"file2"},{"photo_id":"1351779761","filename":"file4"},{"photo_id":"1351779520","filename":"file1"},{"photo_id":"1351779465","filename":"file0"},{"photo_id":"1351779676","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351779520":["hashtag1","hashtag2"]},{"1351779876":["hashtag1","hashtag2"]},{"1351779465":["hashtag1","hashtag2"]},{"1351779761":["hashtag1","hashtag2"]},{"1351779667":["hashtag1","hashtag2"]},{"1351779676":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351779520, 1351779876, 1351779465, 1351779761, 1351779667, 1351779676)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.080883741378784 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 17:32:32.403856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/15/57/image_11042025_15_57_56_10371.jpg', '/home/pi/Desktop/images/11042025/15/57/image_11042025_15_58_06_9412.jpg', '/home/pi/Desktop/images/11042025/15/58/image_11042025_15_58_16_10424.jpg', '/home/pi/Desktop/images/11042025/15/58/image_11042025_15_58_26_9418.jpg', '/home/pi/Desktop/images/11042025/15/58/image_11042025_15_58_36_10368.jpg', '/home/pi/Desktop/images/11042025/15/58/image_11042025_15_58_46_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/15/57/image_11042025_15_57_56_10371.jpg
/home/pi/Desktop/images/11042025/15/57/image_11042025_15_58_06_9412.jpg
/home/pi/Desktop/images/11042025/15/58/image_11042025_15_58_16_10424.jpg
/home/pi/Desktop/images/11042025/15/58/image_11042025_15_58_26_9418.jpg
/home/pi/Desktop/images/11042025/15/58/image_11042025_15_58_36_10368.jpg
/home/pi/Desktop/images/11042025/15/58/image_11042025_15_58_46_10353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351780252","1351780222","1351780201","1351780125","1351780104","1351780154"],"photo_ids_order":["1351780104","1351780125","1351780154","1351780201","1351780222","1351780252"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e656393ef38ca5e7b75f5402c5f2aa70.jpg","text":"TemporaryFile(/tmp/multipartBody9153507780534813770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385612871,"filename":"image_11042025_15_58_46_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/62b1ea23d169c25db9b98a44069e3a34.jpg","text":"TemporaryFile(/tmp/multipartBody4558375137101139386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385612871,"filename":"image_11042025_15_58_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/11/c3991f5bf88f67dac1c7844f297d8ae3.jpg","text":"TemporaryFile(/tmp/multipartBody6752518394141810416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385612871,"filename":"image_11042025_15_58_26_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d573efac1e282d54e1cb8f6ef4e0ab14.jpg","text":"TemporaryFile(/tmp/multipartBody2211305334506395254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385612871,"filename":"image_11042025_15_58_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/11/4f219a9a937e03b21b3f8f34fedec6c8.jpg","text":"TemporaryFile(/tmp/multipartBody6979099824918643026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385612871,"filename":"image_11042025_15_57_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/11/c0e9b20eb979ec6835bc6c2dc4fb154f.jpg","text":"TemporaryFile(/tmp/multipartBody7864013063015589777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385612871,"filename":"image_11042025_15_58_16_10424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351780154","file1":"1351780125","file0":"1351780104","file4":"1351780222","file5":"1351780252","file3":"1351780201"},"map_files_photo_id_array":[{"photo_id":"1351780252","filename":"file5"},{"photo_id":"1351780154","filename":"file2"},{"photo_id":"1351780222","filename":"file4"},{"photo_id":"1351780125","filename":"file1"},{"photo_id":"1351780104","filename":"file0"},{"photo_id":"1351780201","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351780252":["hashtag1","hashtag2"]},{"1351780222":["hashtag1","hashtag2"]},{"1351780201":["hashtag1","hashtag2"]},{"1351780125":["hashtag1","hashtag2"]},{"1351780104":["hashtag1","hashtag2"]},{"1351780154":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351780252, 1351780222, 1351780201, 1351780125, 1351780104, 1351780154)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.791138887405396 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 17:33:32.675590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/15/58/image_11042025_15_58_56_9549.jpg', '/home/pi/Desktop/images/11042025/15/58/image_11042025_15_59_06_10419.jpg', '/home/pi/Desktop/images/11042025/15/59/image_11042025_15_59_16_9401.jpg', '/home/pi/Desktop/images/11042025/15/59/image_11042025_15_59_26_10366.jpg', '/home/pi/Desktop/images/11042025/15/59/image_11042025_15_59_37_10362.jpg', '/home/pi/Desktop/images/11042025/15/59/image_11042025_15_59_46_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/15/58/image_11042025_15_58_56_9549.jpg
/home/pi/Desktop/images/11042025/15/58/image_11042025_15_59_06_10419.jpg
/home/pi/Desktop/images/11042025/15/59/image_11042025_15_59_16_9401.jpg
/home/pi/Desktop/images/11042025/15/59/image_11042025_15_59_26_10366.jpg
/home/pi/Desktop/images/11042025/15/59/image_11042025_15_59_37_10362.jpg
/home/pi/Desktop/images/11042025/15/59/image_11042025_15_59_46_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351780423","1351780429","1351780449","1351780362","1351780404","1351780394"],"photo_ids_order":["1351780362","1351780394","1351780404","1351780423","1351780429","1351780449"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4ec78f326e5f07e3198d868414e2d0c1.jpg","text":"TemporaryFile(/tmp/multipartBody4705702766544228352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385673166,"filename":"image_11042025_15_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/11/d4b73825a6243881e843b39ede633bde.jpg","text":"TemporaryFile(/tmp/multipartBody1699297873112147242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385673166,"filename":"image_11042025_15_59_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/11/421ce87ddcd0e04f3f886234ba36dcbc.jpg","text":"TemporaryFile(/tmp/multipartBody2598829701857186060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385673166,"filename":"image_11042025_15_59_46_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/aa103016d6d563ba5b312282959c1fa5.jpg","text":"TemporaryFile(/tmp/multipartBody1508076173163980211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385673166,"filename":"image_11042025_15_58_56_9549.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/fe8189c3ee2746ef6461ac68d9603f76.jpg","text":"TemporaryFile(/tmp/multipartBody2142820326862491374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385673166,"filename":"image_11042025_15_59_16_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b6ba21a4f32c5f7f51cde612c63a083f.jpg","text":"TemporaryFile(/tmp/multipartBody6176206240838360167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385673166,"filename":"image_11042025_15_59_06_10419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351780404","file1":"1351780394","file0":"1351780362","file4":"1351780429","file5":"1351780449","file3":"1351780423"},"map_files_photo_id_array":[{"photo_id":"1351780449","filename":"file5"},{"photo_id":"1351780404","filename":"file2"},{"photo_id":"1351780429","filename":"file4"},{"photo_id":"1351780394","filename":"file1"},{"photo_id":"1351780362","filename":"file0"},{"photo_id":"1351780423","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351780423":["hashtag1","hashtag2"]},{"1351780429":["hashtag1","hashtag2"]},{"1351780449":["hashtag1","hashtag2"]},{"1351780362":["hashtag1","hashtag2"]},{"1351780404":["hashtag1","hashtag2"]},{"1351780394":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351780423, 1351780429, 1351780449, 1351780362, 1351780404, 1351780394)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.55455565452576 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 17:34:32.798889
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/15/59/image_11042025_15_59_56_10469.jpg', '/home/pi/Desktop/images/11042025/16/01/image_11042025_16_01_14_10075.jpg', '/home/pi/Desktop/images/11042025/16/01/image_11042025_16_01_25_10379.jpg', '/home/pi/Desktop/images/11042025/16/01/image_11042025_16_01_35_10451.jpg', '/home/pi/Desktop/images/11042025/16/01/image_11042025_16_01_44_9476.jpg', '/home/pi/Desktop/images/11042025/16/01/image_11042025_16_01_55_10390.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/15/59/image_11042025_15_59_56_10469.jpg
/home/pi/Desktop/images/11042025/16/01/image_11042025_16_01_14_10075.jpg
/home/pi/Desktop/images/11042025/16/01/image_11042025_16_01_25_10379.jpg
/home/pi/Desktop/images/11042025/16/01/image_11042025_16_01_35_10451.jpg
/home/pi/Desktop/images/11042025/16/01/image_11042025_16_01_44_9476.jpg
/home/pi/Desktop/images/11042025/16/01/image_11042025_16_01_55_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":["1351780744","1351780639","1351780674","1351780719","1351780694","1351780769"],"photo_ids_order":["1351780639","1351780674","1351780694","1351780719","1351780744","1351780769"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/64c229303f1225498fc19720975cc6de.jpg","text":"TemporaryFile(/tmp/multipartBody6358468101479352498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385733276,"filename":"image_11042025_16_01_44_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/11/02c5dd42b3734ac1d3776c77f8440567.jpg","text":"TemporaryFile(/tmp/multipartBody2720974821139251091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385733276,"filename":"image_11042025_15_59_56_10469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2132587893f4f0b432aff7b72bc2e166.jpg","text":"TemporaryFile(/tmp/multipartBody6332468929341095803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385733276,"filename":"image_11042025_16_01_14_10075.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/38d533ec7160d2e05256de9bfae7aec8.jpg","text":"TemporaryFile(/tmp/multipartBody2934546702125505022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385733276,"filename":"image_11042025_16_01_35_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/355c94157b9b4a3a35cf99e9ef83ba13.jpg","text":"TemporaryFile(/tmp/multipartBody3024542469705267073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385733276,"filename":"image_11042025_16_01_25_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3320dbdd24429c782699d1bf8a46a518.jpg","text":"TemporaryFile(/tmp/multipartBody2799399396961611112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385733276,"filename":"image_11042025_16_01_55_10390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351780694","file1":"1351780674","file0":"1351780639","file4":"1351780744","file5":"1351780769","file3":"1351780719"},"map_files_photo_id_array":[{"photo_id":"1351780769","filename":"file5"},{"photo_id":"1351780694","filename":"file2"},{"photo_id":"1351780744","filename":"file4"},{"photo_id":"1351780674","filename":"file1"},{"photo_id":"1351780639","filename":"file0"},{"photo_id":"1351780719","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351780744":["hashtag1","hashtag2"]},{"1351780639":["hashtag1","hashtag2"]},{"1351780674":["hashtag1","hashtag2"]},{"1351780719":["hashtag1","hashtag2"]},{"1351780694":["hashtag1","hashtag2"]},{"1351780769":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351780744, 1351780639, 1351780674, 1351780719, 1351780694, 1351780769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.14920210838318 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 17:35:32.982536
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/16/01/image_11042025_16_02_04_9349.jpg', '/home/pi/Desktop/images/11042025/16/02/image_11042025_16_02_15_10442.jpg', '/home/pi/Desktop/images/11042025/16/02/image_11042025_16_02_24_9513.jpg', '/home/pi/Desktop/images/11042025/16/02/image_11042025_16_02_35_10376.jpg', '/home/pi/Desktop/images/11042025/16/02/image_11042025_16_02_45_10439.jpg', '/home/pi/Desktop/images/11042025/16/02/image_11042025_16_02_54_9348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/16/01/image_11042025_16_02_04_9349.jpg
/home/pi/Desktop/images/11042025/16/02/image_11042025_16_02_15_10442.jpg
/home/pi/Desktop/images/11042025/16/02/image_11042025_16_02_24_9513.jpg
/home/pi/Desktop/images/11042025/16/02/image_11042025_16_02_35_10376.jpg
/home/pi/Desktop/images/11042025/16/02/image_11042025_16_02_45_10439.jpg
/home/pi/Desktop/images/11042025/16/02/image_11042025_16_02_54_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":["1351781326","1351781035","1351781184","1351781253","1351781288","1351781098"],"photo_ids_order":["1351781035","1351781098","1351781184","1351781253","1351781288","1351781326"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/88897fd535d0fb8c4fa1f6edc6a2e6f2.jpg","text":"TemporaryFile(/tmp/multipartBody4334669454651942258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385793461,"filename":"image_11042025_16_02_54_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5c3df5cbaab12b4810033383f83dbc97.jpg","text":"TemporaryFile(/tmp/multipartBody3311871647288603302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385793461,"filename":"image_11042025_16_02_04_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4f20ffdcdc079325864649ea1343113f.jpg","text":"TemporaryFile(/tmp/multipartBody3808821250018203827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385793461,"filename":"image_11042025_16_02_24_9513.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1ff1586cd0643c8f7e031af1db1ba28e.jpg","text":"TemporaryFile(/tmp/multipartBody4378079426878206759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385793461,"filename":"image_11042025_16_02_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/11/b1c281ee260fd8bdc5419dbe5afc100e.jpg","text":"TemporaryFile(/tmp/multipartBody6781156069961214735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385793461,"filename":"image_11042025_16_02_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/11/f28e56de3230bbcd922fc830f12ae20c.jpg","text":"TemporaryFile(/tmp/multipartBody6092581204641384199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385793461,"filename":"image_11042025_16_02_15_10442.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351781184","file1":"1351781098","file0":"1351781035","file4":"1351781288","file5":"1351781326","file3":"1351781253"},"map_files_photo_id_array":[{"photo_id":"1351781326","filename":"file5"},{"photo_id":"1351781184","filename":"file2"},{"photo_id":"1351781288","filename":"file4"},{"photo_id":"1351781098","filename":"file1"},{"photo_id":"1351781035","filename":"file0"},{"photo_id":"1351781253","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351781326":["hashtag1","hashtag2"]},{"1351781035":["hashtag1","hashtag2"]},{"1351781184":["hashtag1","hashtag2"]},{"1351781253":["hashtag1","hashtag2"]},{"1351781288":["hashtag1","hashtag2"]},{"1351781098":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351781326, 1351781035, 1351781184, 1351781253, 1351781288, 1351781098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.21700954437256 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 17:36:32.347100
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/16/02/image_11042025_16_03_05_10353.jpg', '/home/pi/Desktop/images/11042025/16/03/image_11042025_16_03_14_9440.jpg', '/home/pi/Desktop/images/11042025/16/03/image_11042025_16_03_25_10369.jpg', '/home/pi/Desktop/images/11042025/16/03/image_11042025_16_03_35_10404.jpg', '/home/pi/Desktop/images/11042025/16/03/image_11042025_16_03_44_9372.jpg', '/home/pi/Desktop/images/11042025/16/03/image_11042025_16_03_55_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/16/02/image_11042025_16_03_05_10353.jpg
/home/pi/Desktop/images/11042025/16/03/image_11042025_16_03_14_9440.jpg
/home/pi/Desktop/images/11042025/16/03/image_11042025_16_03_25_10369.jpg
/home/pi/Desktop/images/11042025/16/03/image_11042025_16_03_35_10404.jpg
/home/pi/Desktop/images/11042025/16/03/image_11042025_16_03_44_9372.jpg
/home/pi/Desktop/images/11042025/16/03/image_11042025_16_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":["1351781845","1351781565","1351781724","1351781780","1351781822","1351781659"],"photo_ids_order":["1351781565","1351781659","1351781724","1351781780","1351781822","1351781845"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f49b5b1d8c45beab5e44ea996ceb4297.jpg","text":"TemporaryFile(/tmp/multipartBody4645851225819466637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385852812,"filename":"image_11042025_16_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/11/4666502d005af89d84e6c33c8aa692fe.jpg","text":"TemporaryFile(/tmp/multipartBody2229128490051581325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385852812,"filename":"image_11042025_16_03_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/11/fc5bdde6db0b8c1e7849050b0efdc936.jpg","text":"TemporaryFile(/tmp/multipartBody2859643439984015641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385852812,"filename":"image_11042025_16_03_25_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a6d3e28c48995e57c14807f661bb4655.jpg","text":"TemporaryFile(/tmp/multipartBody7500906003739438321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385852812,"filename":"image_11042025_16_03_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/11/f764e139e379b3d25d174fa21d64b29b.jpg","text":"TemporaryFile(/tmp/multipartBody4859713170777513840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385852812,"filename":"image_11042025_16_03_44_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9eec0e686824d053ad0c9feaa722722b.jpg","text":"TemporaryFile(/tmp/multipartBody8043482577678601101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385852812,"filename":"image_11042025_16_03_14_9440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351781724","file1":"1351781659","file0":"1351781565","file4":"1351781822","file5":"1351781845","file3":"1351781780"},"map_files_photo_id_array":[{"photo_id":"1351781845","filename":"file5"},{"photo_id":"1351781724","filename":"file2"},{"photo_id":"1351781822","filename":"file4"},{"photo_id":"1351781659","filename":"file1"},{"photo_id":"1351781565","filename":"file0"},{"photo_id":"1351781780","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351781845":["hashtag1","hashtag2"]},{"1351781565":["hashtag1","hashtag2"]},{"1351781724":["hashtag1","hashtag2"]},{"1351781780":["hashtag1","hashtag2"]},{"1351781822":["hashtag1","hashtag2"]},{"1351781659":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351781845, 1351781565, 1351781724, 1351781780, 1351781822, 1351781659)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.55647301673889 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 17:37:32.446631
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/16/03/image_11042025_16_04_04_9460.jpg', '/home/pi/Desktop/images/11042025/16/04/image_11042025_16_04_14_10353.jpg', '/home/pi/Desktop/images/11042025/16/04/image_11042025_16_04_25_10437.jpg', '/home/pi/Desktop/images/11042025/16/04/image_11042025_16_04_34_9416.jpg', '/home/pi/Desktop/images/11042025/16/04/image_11042025_16_04_45_10399.jpg', '/home/pi/Desktop/images/11042025/16/04/image_11042025_16_04_54_9420.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/16/03/image_11042025_16_04_04_9460.jpg
/home/pi/Desktop/images/11042025/16/04/image_11042025_16_04_14_10353.jpg
/home/pi/Desktop/images/11042025/16/04/image_11042025_16_04_25_10437.jpg
/home/pi/Desktop/images/11042025/16/04/image_11042025_16_04_34_9416.jpg
/home/pi/Desktop/images/11042025/16/04/image_11042025_16_04_45_10399.jpg
/home/pi/Desktop/images/11042025/16/04/image_11042025_16_04_54_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":["1351782102","1351782080","1351782323","1351782230","1351782146","1351782262"],"photo_ids_order":["1351782080","1351782102","1351782146","1351782230","1351782262","1351782323"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/bae56f2cef999834a8f56d68a0bb1480.jpg","text":"TemporaryFile(/tmp/multipartBody4498152487308310574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385912932,"filename":"image_11042025_16_04_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/11/46b337146b4c87a27f7118e44afdf568.jpg","text":"TemporaryFile(/tmp/multipartBody4858116515168646067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385912932,"filename":"image_11042025_16_04_04_9460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/653d9fb26b58bb43d7df0d71390fff9a.jpg","text":"TemporaryFile(/tmp/multipartBody820628728554421580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385912932,"filename":"image_11042025_16_04_54_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1a137e2cd61e33b7eeceb1267d0b9a49.jpg","text":"TemporaryFile(/tmp/multipartBody1843269566584950952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385912932,"filename":"image_11042025_16_04_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/11/06745a818410dafcdc05ac3b791bf7b5.jpg","text":"TemporaryFile(/tmp/multipartBody6127381798349046832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385912932,"filename":"image_11042025_16_04_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/11/2bd047655c9399854b836723012c3a59.jpg","text":"TemporaryFile(/tmp/multipartBody5292211108920550820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385912932,"filename":"image_11042025_16_04_45_10399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351782146","file1":"1351782102","file0":"1351782080","file4":"1351782262","file5":"1351782323","file3":"1351782230"},"map_files_photo_id_array":[{"photo_id":"1351782323","filename":"file5"},{"photo_id":"1351782146","filename":"file2"},{"photo_id":"1351782262","filename":"file4"},{"photo_id":"1351782102","filename":"file1"},{"photo_id":"1351782080","filename":"file0"},{"photo_id":"1351782230","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351782102":["hashtag1","hashtag2"]},{"1351782080":["hashtag1","hashtag2"]},{"1351782323":["hashtag1","hashtag2"]},{"1351782230":["hashtag1","hashtag2"]},{"1351782146":["hashtag1","hashtag2"]},{"1351782262":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351782102, 1351782080, 1351782323, 1351782230, 1351782146, 1351782262)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.40002727508545 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 17:38:32.737474
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/16/04/image_11042025_16_05_05_10373.jpg', '/home/pi/Desktop/images/11042025/16/05/image_11042025_16_05_15_10503.jpg', '/home/pi/Desktop/images/11042025/16/05/image_11042025_16_05_24_9334.jpg', '/home/pi/Desktop/images/11042025/16/05/image_11042025_16_05_35_10359.jpg', '/home/pi/Desktop/images/11042025/16/05/image_11042025_16_05_44_9409.jpg', '/home/pi/Desktop/images/11042025/16/05/image_11042025_16_05_54_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/16/04/image_11042025_16_05_05_10373.jpg
/home/pi/Desktop/images/11042025/16/05/image_11042025_16_05_15_10503.jpg
/home/pi/Desktop/images/11042025/16/05/image_11042025_16_05_24_9334.jpg
/home/pi/Desktop/images/11042025/16/05/image_11042025_16_05_35_10359.jpg
/home/pi/Desktop/images/11042025/16/05/image_11042025_16_05_44_9409.jpg
/home/pi/Desktop/images/11042025/16/05/image_11042025_16_05_54_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":["1351782403","1351782561","1351782374","1351782434","1351782475","1351782520"],"photo_ids_order":["1351782374","1351782403","1351782434","1351782475","1351782520","1351782561"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e056de5ab4268e48c3f3fdb8bb20b4ac.jpg","text":"TemporaryFile(/tmp/multipartBody3607669894631245591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385973213,"filename":"image_11042025_16_05_15_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/11/e040d29167c1d8bedf60b98e51c43ffa.jpg","text":"TemporaryFile(/tmp/multipartBody1852414906194884162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385973213,"filename":"image_11042025_16_05_54_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c9e10bb8908e3511c9bc1e491f87cc4f.jpg","text":"TemporaryFile(/tmp/multipartBody1125749245978102130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385973213,"filename":"image_11042025_16_05_05_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9dd9a80ada37922d8c9c4e86a45ad474.jpg","text":"TemporaryFile(/tmp/multipartBody6099182472943605422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385973213,"filename":"image_11042025_16_05_24_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/310064f8be83984bd25482c59cf5dc24.jpg","text":"TemporaryFile(/tmp/multipartBody4499616453737056684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385973213,"filename":"image_11042025_16_05_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/11/ee1a503c7003d8ec50f7ad17dbdd85a0.jpg","text":"TemporaryFile(/tmp/multipartBody5816291408514078849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744385973213,"filename":"image_11042025_16_05_44_9409.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351782434","file1":"1351782403","file0":"1351782374","file4":"1351782520","file5":"1351782561","file3":"1351782475"},"map_files_photo_id_array":[{"photo_id":"1351782561","filename":"file5"},{"photo_id":"1351782434","filename":"file2"},{"photo_id":"1351782520","filename":"file4"},{"photo_id":"1351782403","filename":"file1"},{"photo_id":"1351782374","filename":"file0"},{"photo_id":"1351782475","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351782403":["hashtag1","hashtag2"]},{"1351782561":["hashtag1","hashtag2"]},{"1351782374":["hashtag1","hashtag2"]},{"1351782434":["hashtag1","hashtag2"]},{"1351782475":["hashtag1","hashtag2"]},{"1351782520":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351782403, 1351782561, 1351782374, 1351782434, 1351782475, 1351782520)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.95078778266907 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 17:39:32.855073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/16/05/image_11042025_16_06_05_10404.jpg', '/home/pi/Desktop/images/11042025/16/06/image_11042025_16_06_14_9357.jpg', '/home/pi/Desktop/images/11042025/16/06/image_11042025_16_06_25_10365.jpg', '/home/pi/Desktop/images/11042025/16/06/image_11042025_16_06_35_10420.jpg', '/home/pi/Desktop/images/11042025/16/06/image_11042025_16_06_44_9344.jpg', '/home/pi/Desktop/images/11042025/16/06/image_11042025_16_06_55_10347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/16/05/image_11042025_16_06_05_10404.jpg
/home/pi/Desktop/images/11042025/16/06/image_11042025_16_06_14_9357.jpg
/home/pi/Desktop/images/11042025/16/06/image_11042025_16_06_25_10365.jpg
/home/pi/Desktop/images/11042025/16/06/image_11042025_16_06_35_10420.jpg
/home/pi/Desktop/images/11042025/16/06/image_11042025_16_06_44_9344.jpg
/home/pi/Desktop/images/11042025/16/06/image_11042025_16_06_55_10347.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351782864","1351783020","1351782972","1351782834","1351782908","1351782943"],"photo_ids_order":["1351782834","1351782864","1351782908","1351782943","1351782972","1351783020"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3cc4b471ddb9185e854ea75531d6a224.jpg","text":"TemporaryFile(/tmp/multipartBody8219049767602223243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386033322,"filename":"image_11042025_16_06_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/11/24df4e5ef4a5fb3ca32d538d8b1228cd.jpg","text":"TemporaryFile(/tmp/multipartBody3443460489086791721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386033322,"filename":"image_11042025_16_06_55_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e04a55a5e84db85bac0f1276905e97d0.jpg","text":"TemporaryFile(/tmp/multipartBody4838473579726466516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386033322,"filename":"image_11042025_16_06_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/11/1d2769931ccc77d983c7929853b75139.jpg","text":"TemporaryFile(/tmp/multipartBody1081819111445856735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386033322,"filename":"image_11042025_16_06_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/11/98e65d846e2055cf6543ffc45729564f.jpg","text":"TemporaryFile(/tmp/multipartBody8150281936764014135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386033322,"filename":"image_11042025_16_06_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/11/a59bc300ab6226be841078c67c3c8c8c.jpg","text":"TemporaryFile(/tmp/multipartBody4882404282005154454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386033322,"filename":"image_11042025_16_06_35_10420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351782908","file1":"1351782864","file0":"1351782834","file4":"1351782972","file5":"1351783020","file3":"1351782943"},"map_files_photo_id_array":[{"photo_id":"1351783020","filename":"file5"},{"photo_id":"1351782908","filename":"file2"},{"photo_id":"1351782972","filename":"file4"},{"photo_id":"1351782864","filename":"file1"},{"photo_id":"1351782834","filename":"file0"},{"photo_id":"1351782943","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351782864":["hashtag1","hashtag2"]},{"1351783020":["hashtag1","hashtag2"]},{"1351782972":["hashtag1","hashtag2"]},{"1351782834":["hashtag1","hashtag2"]},{"1351782908":["hashtag1","hashtag2"]},{"1351782943":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351782864, 1351783020, 1351782972, 1351782834, 1351782908, 1351782943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.75254845619202 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 17:40:32.083931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/16/06/image_11042025_16_07_04_9432.jpg', '/home/pi/Desktop/images/11042025/16/07/image_11042025_16_07_25_10411.jpg', '/home/pi/Desktop/images/11042025/16/07/image_11042025_16_07_34_9361.jpg', '/home/pi/Desktop/images/11042025/16/07/image_11042025_16_07_45_10390.jpg', '/home/pi/Desktop/images/11042025/16/07/image_11042025_16_07_54_9424.jpg', '/home/pi/Desktop/images/11042025/16/07/image_11042025_16_08_04_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/16/06/image_11042025_16_07_04_9432.jpg
/home/pi/Desktop/images/11042025/16/07/image_11042025_16_07_25_10411.jpg
/home/pi/Desktop/images/11042025/16/07/image_11042025_16_07_34_9361.jpg
/home/pi/Desktop/images/11042025/16/07/image_11042025_16_07_45_10390.jpg
/home/pi/Desktop/images/11042025/16/07/image_11042025_16_07_54_9424.jpg
/home/pi/Desktop/images/11042025/16/07/image_11042025_16_08_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":["1351783512","1351783407","1351783379","1351783331","1351783448","1351783275"],"photo_ids_order":["1351783275","1351783331","1351783379","1351783407","1351783448","1351783512"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5c5a2b126c5906c71139917ef4cc45e9.jpg","text":"TemporaryFile(/tmp/multipartBody4980894107264396642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386092544,"filename":"image_11042025_16_08_04_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/06d171bfac402cd503911ce55818b73e.jpg","text":"TemporaryFile(/tmp/multipartBody3911820853302599821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386092544,"filename":"image_11042025_16_07_45_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b18fa565308e1e2d60faa93dd630c08b.jpg","text":"TemporaryFile(/tmp/multipartBody4718108176967675906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386092544,"filename":"image_11042025_16_07_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/11/7823a5d20568810cd5c172060ef37e51.jpg","text":"TemporaryFile(/tmp/multipartBody3793929428948796483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386092544,"filename":"image_11042025_16_07_25_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6321dd030db064559bd5fb50d46201d7.jpg","text":"TemporaryFile(/tmp/multipartBody6108641756527681732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386092544,"filename":"image_11042025_16_07_54_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d930d28e8125a4eb28ec5466515fdbee.jpg","text":"TemporaryFile(/tmp/multipartBody4543750285257893169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386092544,"filename":"image_11042025_16_07_04_9432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351783379","file1":"1351783331","file0":"1351783275","file4":"1351783448","file5":"1351783512","file3":"1351783407"},"map_files_photo_id_array":[{"photo_id":"1351783512","filename":"file5"},{"photo_id":"1351783379","filename":"file2"},{"photo_id":"1351783448","filename":"file4"},{"photo_id":"1351783331","filename":"file1"},{"photo_id":"1351783275","filename":"file0"},{"photo_id":"1351783407","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351783512":["hashtag1","hashtag2"]},{"1351783407":["hashtag1","hashtag2"]},{"1351783379":["hashtag1","hashtag2"]},{"1351783331":["hashtag1","hashtag2"]},{"1351783448":["hashtag1","hashtag2"]},{"1351783275":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351783512, 1351783407, 1351783379, 1351783331, 1351783448, 1351783275)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.7916944026947 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 17:41:32.326328
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/16/08/image_11042025_16_08_15_10503.jpg', '/home/pi/Desktop/images/11042025/16/08/image_11042025_16_08_24_9361.jpg', '/home/pi/Desktop/images/11042025/16/08/image_11042025_16_08_35_10428.jpg', '/home/pi/Desktop/images/11042025/16/08/image_11042025_16_08_44_9346.jpg', '/home/pi/Desktop/images/11042025/16/08/image_11042025_16_08_55_10437.jpg', '/home/pi/Desktop/images/11042025/16/08/image_11042025_16_09_05_10483.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/16/08/image_11042025_16_08_15_10503.jpg
/home/pi/Desktop/images/11042025/16/08/image_11042025_16_08_24_9361.jpg
/home/pi/Desktop/images/11042025/16/08/image_11042025_16_08_35_10428.jpg
/home/pi/Desktop/images/11042025/16/08/image_11042025_16_08_44_9346.jpg
/home/pi/Desktop/images/11042025/16/08/image_11042025_16_08_55_10437.jpg
/home/pi/Desktop/images/11042025/16/08/image_11042025_16_09_05_10483.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351784519","1351784197","1351784614","1351784035","1351784390","1351784004"],"photo_ids_order":["1351784004","1351784035","1351784197","1351784390","1351784519","1351784614"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6339d1e2cd9f1c19e4121a2dc4a5cd4d.jpg","text":"TemporaryFile(/tmp/multipartBody6838369870972771336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386152819,"filename":"image_11042025_16_08_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/11/f144d168f6bdfde179bee5b9924e0213.jpg","text":"TemporaryFile(/tmp/multipartBody1294338624182308809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386152819,"filename":"image_11042025_16_08_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/11/ebf6a40191b69fbeef94881c1e9c001b.jpg","text":"TemporaryFile(/tmp/multipartBody6769377626272727869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386152819,"filename":"image_11042025_16_09_05_10483.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/dc2db1e3c1e925b20974aeaa70917b37.jpg","text":"TemporaryFile(/tmp/multipartBody2571993138847570060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386152819,"filename":"image_11042025_16_08_24_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/19ac78774206f5df993d243076e18f17.jpg","text":"TemporaryFile(/tmp/multipartBody9127317323474333551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386152819,"filename":"image_11042025_16_08_44_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b18fa8431bc1b22747d412285d566f2b.jpg","text":"TemporaryFile(/tmp/multipartBody4841953053038803068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386152819,"filename":"image_11042025_16_08_15_10503.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351784197","file1":"1351784035","file0":"1351784004","file4":"1351784519","file5":"1351784614","file3":"1351784390"},"map_files_photo_id_array":[{"photo_id":"1351784614","filename":"file5"},{"photo_id":"1351784197","filename":"file2"},{"photo_id":"1351784519","filename":"file4"},{"photo_id":"1351784035","filename":"file1"},{"photo_id":"1351784004","filename":"file0"},{"photo_id":"1351784390","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351784519":["hashtag1","hashtag2"]},{"1351784197":["hashtag1","hashtag2"]},{"1351784614":["hashtag1","hashtag2"]},{"1351784035":["hashtag1","hashtag2"]},{"1351784390":["hashtag1","hashtag2"]},{"1351784004":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351784519, 1351784197, 1351784614, 1351784035, 1351784390, 1351784004)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.33826279640198 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 17:42:32.522925
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/16/09/image_11042025_16_09_14_9353.jpg', '/home/pi/Desktop/images/11042025/16/09/image_11042025_16_09_25_10374.jpg', '/home/pi/Desktop/images/11042025/16/09/image_11042025_16_09_34_9429.jpg', '/home/pi/Desktop/images/11042025/16/09/image_11042025_16_09_45_10357.jpg', '/home/pi/Desktop/images/11042025/16/09/image_11042025_16_09_55_10498.jpg', '/home/pi/Desktop/images/11042025/16/09/image_11042025_16_10_04_9413.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/16/09/image_11042025_16_09_14_9353.jpg
/home/pi/Desktop/images/11042025/16/09/image_11042025_16_09_25_10374.jpg
/home/pi/Desktop/images/11042025/16/09/image_11042025_16_09_34_9429.jpg
/home/pi/Desktop/images/11042025/16/09/image_11042025_16_09_45_10357.jpg
/home/pi/Desktop/images/11042025/16/09/image_11042025_16_09_55_10498.jpg
/home/pi/Desktop/images/11042025/16/09/image_11042025_16_10_04_9413.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351785170","1351785131","1351785277","1351785325","1351785482","1351785398"],"photo_ids_order":["1351785131","1351785170","1351785277","1351785325","1351785398","1351785482"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/500889a11432cb66ed24f60222f1f134.jpg","text":"TemporaryFile(/tmp/multipartBody7723519342555249818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386212980,"filename":"image_11042025_16_09_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/11/f678880acb12cc5bd8c85ea75452d815.jpg","text":"TemporaryFile(/tmp/multipartBody8625666837637169017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386212980,"filename":"image_11042025_16_09_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/11/e482001d6f91a5ffc0f5f2f7cafd91c7.jpg","text":"TemporaryFile(/tmp/multipartBody1194591786210730202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386212980,"filename":"image_11042025_16_09_34_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/11/adf32103009aed9dc5cdb8f8809d717d.jpg","text":"TemporaryFile(/tmp/multipartBody8806515915606510518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386212980,"filename":"image_11042025_16_09_45_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/67d4e0d2baf6af0fbe7a38b9743f4391.jpg","text":"TemporaryFile(/tmp/multipartBody8125392172635126021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386212980,"filename":"image_11042025_16_10_04_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ff06a30e7d696e55a53a8ba025b4b428.jpg","text":"TemporaryFile(/tmp/multipartBody4267446858249814103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386212980,"filename":"image_11042025_16_09_55_10498.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351785277","file1":"1351785170","file0":"1351785131","file4":"1351785398","file5":"1351785482","file3":"1351785325"},"map_files_photo_id_array":[{"photo_id":"1351785482","filename":"file5"},{"photo_id":"1351785277","filename":"file2"},{"photo_id":"1351785398","filename":"file4"},{"photo_id":"1351785170","filename":"file1"},{"photo_id":"1351785131","filename":"file0"},{"photo_id":"1351785325","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351785170":["hashtag1","hashtag2"]},{"1351785131":["hashtag1","hashtag2"]},{"1351785277":["hashtag1","hashtag2"]},{"1351785325":["hashtag1","hashtag2"]},{"1351785482":["hashtag1","hashtag2"]},{"1351785398":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351785170, 1351785131, 1351785277, 1351785325, 1351785482, 1351785398)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.6393837928772 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 17:43:32.655835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/16/10/image_11042025_16_10_15_10466.jpg', '/home/pi/Desktop/images/11042025/16/10/image_11042025_16_10_24_9455.jpg', '/home/pi/Desktop/images/11042025/16/10/image_11042025_16_10_35_10359.jpg', '/home/pi/Desktop/images/11042025/16/10/image_11042025_16_10_44_9420.jpg', '/home/pi/Desktop/images/11042025/16/10/image_11042025_16_10_55_10356.jpg', '/home/pi/Desktop/images/11042025/16/11/image_11042025_16_11_14_9359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/16/10/image_11042025_16_10_15_10466.jpg
/home/pi/Desktop/images/11042025/16/10/image_11042025_16_10_24_9455.jpg
/home/pi/Desktop/images/11042025/16/10/image_11042025_16_10_35_10359.jpg
/home/pi/Desktop/images/11042025/16/10/image_11042025_16_10_44_9420.jpg
/home/pi/Desktop/images/11042025/16/10/image_11042025_16_10_55_10356.jpg
/home/pi/Desktop/images/11042025/16/11/image_11042025_16_11_14_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":["1351785944","1351785895","1351785997","1351785838","1351785727","1351786101"],"photo_ids_order":["1351785727","1351785838","1351785895","1351785944","1351785997","1351786101"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/bfd1e4e6b39d9028f5c82c21a6784130.jpg","text":"TemporaryFile(/tmp/multipartBody2077723836563637505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386273113,"filename":"image_11042025_16_10_44_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/11/ef73dd68dfeac4b841352cbb468b8ad4.jpg","text":"TemporaryFile(/tmp/multipartBody8287943765978878077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386273113,"filename":"image_11042025_16_10_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/11/69094e549bab04041b91feee3d19fc4d.jpg","text":"TemporaryFile(/tmp/multipartBody3821048571300529914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386273113,"filename":"image_11042025_16_10_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/11/471d9facd33edc57dcfc68d692668d83.jpg","text":"TemporaryFile(/tmp/multipartBody6431812232514149560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386273113,"filename":"image_11042025_16_10_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/11/6b1257b8bd28efd9718c75bb01d40586.jpg","text":"TemporaryFile(/tmp/multipartBody6994328215836568410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386273113,"filename":"image_11042025_16_10_15_10466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0d401e01a3da1525ec3997aaefc65987.jpg","text":"TemporaryFile(/tmp/multipartBody7577723980397584434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386273113,"filename":"image_11042025_16_11_14_9359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351785895","file1":"1351785838","file0":"1351785727","file4":"1351785997","file5":"1351786101","file3":"1351785944"},"map_files_photo_id_array":[{"photo_id":"1351786101","filename":"file5"},{"photo_id":"1351785895","filename":"file2"},{"photo_id":"1351785997","filename":"file4"},{"photo_id":"1351785838","filename":"file1"},{"photo_id":"1351785727","filename":"file0"},{"photo_id":"1351785944","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351785944":["hashtag1","hashtag2"]},{"1351785895":["hashtag1","hashtag2"]},{"1351785997":["hashtag1","hashtag2"]},{"1351785838":["hashtag1","hashtag2"]},{"1351785727":["hashtag1","hashtag2"]},{"1351786101":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351785944, 1351785895, 1351785997, 1351785838, 1351785727, 1351786101)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.7486834526062 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 17:44:33.046314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/16/11/image_11042025_16_11_25_10354.jpg', '/home/pi/Desktop/images/11042025/16/11/image_11042025_16_11_35_10356.jpg', '/home/pi/Desktop/images/11042025/16/11/image_11042025_16_11_44_9361.jpg', '/home/pi/Desktop/images/11042025/16/11/image_11042025_16_11_55_10372.jpg', '/home/pi/Desktop/images/11042025/16/11/image_11042025_16_12_05_10359.jpg', '/home/pi/Desktop/images/11042025/16/12/image_11042025_16_12_14_9350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/16/11/image_11042025_16_11_25_10354.jpg
/home/pi/Desktop/images/11042025/16/11/image_11042025_16_11_35_10356.jpg
/home/pi/Desktop/images/11042025/16/11/image_11042025_16_11_44_9361.jpg
/home/pi/Desktop/images/11042025/16/11/image_11042025_16_11_55_10372.jpg
/home/pi/Desktop/images/11042025/16/11/image_11042025_16_12_05_10359.jpg
/home/pi/Desktop/images/11042025/16/12/image_11042025_16_12_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":["1351786807","1351786600","1351786705","1351786499","1351786460","1351786340"],"photo_ids_order":["1351786340","1351786460","1351786499","1351786600","1351786705","1351786807"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7d1a9151f042c6c1ed357e3892149304.jpg","text":"TemporaryFile(/tmp/multipartBody187099830259075192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386333504,"filename":"image_11042025_16_12_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/11/18caa7282db310c476212e51d7886619.jpg","text":"TemporaryFile(/tmp/multipartBody1662518344229430919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386333504,"filename":"image_11042025_16_11_55_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5420453beef693e3646d228375e02a3d.jpg","text":"TemporaryFile(/tmp/multipartBody7877972745732942978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386333504,"filename":"image_11042025_16_12_05_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e41ce28e0e2eda19f301692a13bf7de9.jpg","text":"TemporaryFile(/tmp/multipartBody8870798385159984690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386333504,"filename":"image_11042025_16_11_44_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/62182c2a6a1e49cfb117e0c23bb67962.jpg","text":"TemporaryFile(/tmp/multipartBody3937558973699083251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386333504,"filename":"image_11042025_16_11_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/11/ac1949d6a774f658f165b3ff7867d13b.jpg","text":"TemporaryFile(/tmp/multipartBody1759811949657939636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386333504,"filename":"image_11042025_16_11_25_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351786499","file1":"1351786460","file0":"1351786340","file4":"1351786705","file5":"1351786807","file3":"1351786600"},"map_files_photo_id_array":[{"photo_id":"1351786807","filename":"file5"},{"photo_id":"1351786499","filename":"file2"},{"photo_id":"1351786705","filename":"file4"},{"photo_id":"1351786460","filename":"file1"},{"photo_id":"1351786340","filename":"file0"},{"photo_id":"1351786600","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351786807":["hashtag1","hashtag2"]},{"1351786600":["hashtag1","hashtag2"]},{"1351786705":["hashtag1","hashtag2"]},{"1351786499":["hashtag1","hashtag2"]},{"1351786460":["hashtag1","hashtag2"]},{"1351786340":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351786807, 1351786600, 1351786705, 1351786499, 1351786460, 1351786340)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.22541356086731 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 17:45:32.173851
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/16/12/image_11042025_16_12_25_10370.jpg', '/home/pi/Desktop/images/11042025/16/12/image_11042025_16_12_34_9407.jpg', '/home/pi/Desktop/images/11042025/16/12/image_11042025_16_12_45_10359.jpg', '/home/pi/Desktop/images/11042025/16/12/image_11042025_16_12_55_10382.jpg', '/home/pi/Desktop/images/11042025/16/12/image_11042025_16_13_04_9350.jpg', '/home/pi/Desktop/images/11042025/16/13/image_11042025_16_13_25_10444.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/16/12/image_11042025_16_12_25_10370.jpg
/home/pi/Desktop/images/11042025/16/12/image_11042025_16_12_34_9407.jpg
/home/pi/Desktop/images/11042025/16/12/image_11042025_16_12_45_10359.jpg
/home/pi/Desktop/images/11042025/16/12/image_11042025_16_12_55_10382.jpg
/home/pi/Desktop/images/11042025/16/12/image_11042025_16_13_04_9350.jpg
/home/pi/Desktop/images/11042025/16/13/image_11042025_16_13_25_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":["1351787061","1351787136","1351787219","1351787108","1351787300","1351787152"],"photo_ids_order":["1351787061","1351787108","1351787136","1351787152","1351787219","1351787300"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/491184d15953d2f16678889999b20ea3.jpg","text":"TemporaryFile(/tmp/multipartBody4254918791812287412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386392629,"filename":"image_11042025_16_12_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/11/88ca5fc62bc2e45aaccb7b65525e1a8f.jpg","text":"TemporaryFile(/tmp/multipartBody8040048189836956561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386392629,"filename":"image_11042025_16_12_45_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0b2674b842a46ca5c9a3b1097991e3ae.jpg","text":"TemporaryFile(/tmp/multipartBody2814843184443550213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386392629,"filename":"image_11042025_16_13_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/11/1f6270a07d99e67d4288020bc1c4092e.jpg","text":"TemporaryFile(/tmp/multipartBody2588443850903955086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386392629,"filename":"image_11042025_16_12_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/11/4362b34727afbda4b9e1e7a904a62a4c.jpg","text":"TemporaryFile(/tmp/multipartBody651239141056510831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386392629,"filename":"image_11042025_16_13_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/11/5e99472e5bc4015b35f8bf2eb9d21fe0.jpg","text":"TemporaryFile(/tmp/multipartBody8598756291071715860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386392629,"filename":"image_11042025_16_12_55_10382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351787136","file1":"1351787108","file0":"1351787061","file4":"1351787219","file5":"1351787300","file3":"1351787152"},"map_files_photo_id_array":[{"photo_id":"1351787300","filename":"file5"},{"photo_id":"1351787136","filename":"file2"},{"photo_id":"1351787219","filename":"file4"},{"photo_id":"1351787108","filename":"file1"},{"photo_id":"1351787061","filename":"file0"},{"photo_id":"1351787152","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351787061":["hashtag1","hashtag2"]},{"1351787136":["hashtag1","hashtag2"]},{"1351787219":["hashtag1","hashtag2"]},{"1351787108":["hashtag1","hashtag2"]},{"1351787300":["hashtag1","hashtag2"]},{"1351787152":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351787061, 1351787136, 1351787219, 1351787108, 1351787300, 1351787152)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.82891798019409 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 17:46:32.300445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/16/13/image_11042025_16_13_34_9339.jpg', '/home/pi/Desktop/images/11042025/16/13/image_11042025_16_13_45_10370.jpg', '/home/pi/Desktop/images/11042025/16/13/image_11042025_16_13_54_9380.jpg', '/home/pi/Desktop/images/11042025/16/13/image_11042025_16_14_05_10342.jpg', '/home/pi/Desktop/images/11042025/16/14/image_11042025_16_14_15_10492.jpg', '/home/pi/Desktop/images/11042025/16/14/image_11042025_16_14_24_9341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/16/13/image_11042025_16_13_34_9339.jpg
/home/pi/Desktop/images/11042025/16/13/image_11042025_16_13_45_10370.jpg
/home/pi/Desktop/images/11042025/16/13/image_11042025_16_13_54_9380.jpg
/home/pi/Desktop/images/11042025/16/13/image_11042025_16_14_05_10342.jpg
/home/pi/Desktop/images/11042025/16/14/image_11042025_16_14_15_10492.jpg
/home/pi/Desktop/images/11042025/16/14/image_11042025_16_14_24_9341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351787499","1351787401","1351787454","1351787430","1351787447","1351787477"],"photo_ids_order":["1351787401","1351787430","1351787447","1351787454","1351787477","1351787499"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1d19f1324f82c471f6cc5e57718d4958.jpg","text":"TemporaryFile(/tmp/multipartBody6091675181658988006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386452765,"filename":"image_11042025_16_14_24_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d9eeab1234eb60f32aa18897a2b28b06.jpg","text":"TemporaryFile(/tmp/multipartBody7072753538551058183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386452765,"filename":"image_11042025_16_13_34_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b247d1540b1bd86fa9fd55e4d9fbcb68.jpg","text":"TemporaryFile(/tmp/multipartBody2181403193382785303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386452765,"filename":"image_11042025_16_14_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/11/a50d678615fd7545a49574afb1f8f990.jpg","text":"TemporaryFile(/tmp/multipartBody2774638889071053459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386452765,"filename":"image_11042025_16_13_45_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/040f04040ed388d6e925196ab39c259f.jpg","text":"TemporaryFile(/tmp/multipartBody7206201953535261948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386452765,"filename":"image_11042025_16_13_54_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d70db07b35eeb51e1af471f69a5f3c16.jpg","text":"TemporaryFile(/tmp/multipartBody8028238301260259956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386452765,"filename":"image_11042025_16_14_15_10492.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351787447","file1":"1351787430","file0":"1351787401","file4":"1351787477","file5":"1351787499","file3":"1351787454"},"map_files_photo_id_array":[{"photo_id":"1351787499","filename":"file5"},{"photo_id":"1351787447","filename":"file2"},{"photo_id":"1351787477","filename":"file4"},{"photo_id":"1351787430","filename":"file1"},{"photo_id":"1351787401","filename":"file0"},{"photo_id":"1351787454","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351787499":["hashtag1","hashtag2"]},{"1351787401":["hashtag1","hashtag2"]},{"1351787454":["hashtag1","hashtag2"]},{"1351787430":["hashtag1","hashtag2"]},{"1351787447":["hashtag1","hashtag2"]},{"1351787477":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351787499, 1351787401, 1351787454, 1351787430, 1351787447, 1351787477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.85984754562378 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 17:47:32.542967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/16/14/image_11042025_16_14_35_10371.jpg', '/home/pi/Desktop/images/11042025/16/14/image_11042025_16_14_44_9392.jpg', '/home/pi/Desktop/images/11042025/16/14/image_11042025_16_14_54_10367.jpg', '/home/pi/Desktop/images/11042025/16/14/image_11042025_16_15_05_10467.jpg', '/home/pi/Desktop/images/11042025/16/15/image_11042025_16_15_14_9360.jpg', '/home/pi/Desktop/images/11042025/16/15/image_11042025_16_15_25_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/16/14/image_11042025_16_14_35_10371.jpg
/home/pi/Desktop/images/11042025/16/14/image_11042025_16_14_44_9392.jpg
/home/pi/Desktop/images/11042025/16/14/image_11042025_16_14_54_10367.jpg
/home/pi/Desktop/images/11042025/16/14/image_11042025_16_15_05_10467.jpg
/home/pi/Desktop/images/11042025/16/15/image_11042025_16_15_14_9360.jpg
/home/pi/Desktop/images/11042025/16/15/image_11042025_16_15_25_10366.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5244135856628418 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 17:47:42.564355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/16/14/image_11042025_16_14_35_10371.jpg', '/home/pi/Desktop/images/11042025/16/14/image_11042025_16_14_44_9392.jpg', '/home/pi/Desktop/images/11042025/16/14/image_11042025_16_14_54_10367.jpg', '/home/pi/Desktop/images/11042025/16/14/image_11042025_16_15_05_10467.jpg', '/home/pi/Desktop/images/11042025/16/15/image_11042025_16_15_14_9360.jpg', '/home/pi/Desktop/images/11042025/16/15/image_11042025_16_15_25_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/16/14/image_11042025_16_14_35_10371.jpg
/home/pi/Desktop/images/11042025/16/14/image_11042025_16_14_44_9392.jpg
/home/pi/Desktop/images/11042025/16/14/image_11042025_16_14_54_10367.jpg
/home/pi/Desktop/images/11042025/16/14/image_11042025_16_15_05_10467.jpg
/home/pi/Desktop/images/11042025/16/15/image_11042025_16_15_14_9360.jpg
/home/pi/Desktop/images/11042025/16/15/image_11042025_16_15_25_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351787803","1351787700","1351787596","1351787761","1351787659","1351787623"],"photo_ids_order":["1351787596","1351787623","1351787659","1351787700","1351787761","1351787803"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d018aa9a6c79113a511198a27fc60134.jpg","text":"TemporaryFile(/tmp/multipartBody73186267016362188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386523022,"filename":"image_11042025_16_15_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/11/8493c335e1526d80a2d48718336063a2.jpg","text":"TemporaryFile(/tmp/multipartBody5049141346810170709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386523022,"filename":"image_11042025_16_15_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/11/b3e8459bb8479c380ef7d642ee7a2d60.jpg","text":"TemporaryFile(/tmp/multipartBody4191686759289379956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386523022,"filename":"image_11042025_16_14_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/11/0d3b8064321c6ed50b48a7dba4b81ec2.jpg","text":"TemporaryFile(/tmp/multipartBody1291151587735549926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386523022,"filename":"image_11042025_16_15_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/11/01dc176f5213131b52e85a7fda96b951.jpg","text":"TemporaryFile(/tmp/multipartBody896066150411013250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386523022,"filename":"image_11042025_16_14_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/11/fec3e9e7f7b3cbef22b1210c4a015083.jpg","text":"TemporaryFile(/tmp/multipartBody7232282018662297934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386523022,"filename":"image_11042025_16_14_44_9392.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351787659","file1":"1351787623","file0":"1351787596","file4":"1351787761","file5":"1351787803","file3":"1351787700"},"map_files_photo_id_array":[{"photo_id":"1351787803","filename":"file5"},{"photo_id":"1351787659","filename":"file2"},{"photo_id":"1351787761","filename":"file4"},{"photo_id":"1351787623","filename":"file1"},{"photo_id":"1351787596","filename":"file0"},{"photo_id":"1351787700","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351787803":["hashtag1","hashtag2"]},{"1351787700":["hashtag1","hashtag2"]},{"1351787596":["hashtag1","hashtag2"]},{"1351787761":["hashtag1","hashtag2"]},{"1351787659":["hashtag1","hashtag2"]},{"1351787623":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351787803, 1351787700, 1351787596, 1351787761, 1351787659, 1351787623)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.76853656768799 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 17:48:32.697211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/16/15/image_11042025_16_15_35_10404.jpg', '/home/pi/Desktop/images/11042025/16/15/image_11042025_16_15_44_9421.jpg', '/home/pi/Desktop/images/11042025/16/15/image_11042025_16_15_55_10457.jpg', '/home/pi/Desktop/images/11042025/16/15/image_11042025_16_16_04_9353.jpg', '/home/pi/Desktop/images/11042025/16/16/image_11042025_16_16_15_10358.jpg', '/home/pi/Desktop/images/11042025/16/16/image_11042025_16_16_24_9433.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/16/15/image_11042025_16_15_35_10404.jpg
/home/pi/Desktop/images/11042025/16/15/image_11042025_16_15_44_9421.jpg
/home/pi/Desktop/images/11042025/16/15/image_11042025_16_15_55_10457.jpg
/home/pi/Desktop/images/11042025/16/15/image_11042025_16_16_04_9353.jpg
/home/pi/Desktop/images/11042025/16/16/image_11042025_16_16_15_10358.jpg
/home/pi/Desktop/images/11042025/16/16/image_11042025_16_16_24_9433.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351788144","1351788036","1351788278","1351788215","1351788061","1351788100"],"photo_ids_order":["1351788036","1351788061","1351788100","1351788144","1351788215","1351788278"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/40d0272f2738854fc8aa6bea6606e87e.jpg","text":"TemporaryFile(/tmp/multipartBody3686705298808058148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386573159,"filename":"image_11042025_16_16_04_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/fb0c4612219c433ec6c010a89d37f8ff.jpg","text":"TemporaryFile(/tmp/multipartBody5250285243615374677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386573159,"filename":"image_11042025_16_15_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/11/4a72ee895508361438627652ac8eb4b8.jpg","text":"TemporaryFile(/tmp/multipartBody6737981230582128237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386573159,"filename":"image_11042025_16_16_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/11/448c56d189fd6c764e5b6d6632bf2395.jpg","text":"TemporaryFile(/tmp/multipartBody4067576563542716070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386573159,"filename":"image_11042025_16_16_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/11/5e924420001b391982c18489f0a437cd.jpg","text":"TemporaryFile(/tmp/multipartBody1923469598404274542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386573159,"filename":"image_11042025_16_15_44_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c921cc4317bb8d44a0fe10372b4c3654.jpg","text":"TemporaryFile(/tmp/multipartBody5338593657804637506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386573159,"filename":"image_11042025_16_15_55_10457.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351788100","file1":"1351788061","file0":"1351788036","file4":"1351788215","file5":"1351788278","file3":"1351788144"},"map_files_photo_id_array":[{"photo_id":"1351788278","filename":"file5"},{"photo_id":"1351788100","filename":"file2"},{"photo_id":"1351788215","filename":"file4"},{"photo_id":"1351788061","filename":"file1"},{"photo_id":"1351788036","filename":"file0"},{"photo_id":"1351788144","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351788144":["hashtag1","hashtag2"]},{"1351788036":["hashtag1","hashtag2"]},{"1351788278":["hashtag1","hashtag2"]},{"1351788215":["hashtag1","hashtag2"]},{"1351788061":["hashtag1","hashtag2"]},{"1351788100":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351788144, 1351788036, 1351788278, 1351788215, 1351788061, 1351788100)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.46994137763977 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 17:49:33.208167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/16/16/image_11042025_16_16_34_10363.jpg', '/home/pi/Desktop/images/11042025/16/16/image_11042025_16_16_45_10438.jpg', '/home/pi/Desktop/images/11042025/16/16/image_11042025_16_16_54_9356.jpg', '/home/pi/Desktop/images/11042025/16/16/image_11042025_16_17_05_10361.jpg', '/home/pi/Desktop/images/11042025/16/17/image_11042025_16_17_15_10449.jpg', '/home/pi/Desktop/images/11042025/16/17/image_11042025_16_17_24_9349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/16/16/image_11042025_16_16_34_10363.jpg
/home/pi/Desktop/images/11042025/16/16/image_11042025_16_16_45_10438.jpg
/home/pi/Desktop/images/11042025/16/16/image_11042025_16_16_54_9356.jpg
/home/pi/Desktop/images/11042025/16/16/image_11042025_16_17_05_10361.jpg
/home/pi/Desktop/images/11042025/16/17/image_11042025_16_17_15_10449.jpg
/home/pi/Desktop/images/11042025/16/17/image_11042025_16_17_24_9349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351788777","1351788867","1351789004","1351788941","1351789063","1351788812"],"photo_ids_order":["1351788777","1351788812","1351788867","1351788941","1351789004","1351789063"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/68926ed3b86b60fcc232884bf81e60ca.jpg","text":"TemporaryFile(/tmp/multipartBody658380579770138995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386633677,"filename":"image_11042025_16_16_34_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2c8c3bc3b008433e8e40fcb6ba78d24d.jpg","text":"TemporaryFile(/tmp/multipartBody8119990080888339676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386633677,"filename":"image_11042025_16_16_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/11/8fd800a44e3060d649aa3479ebb55047.jpg","text":"TemporaryFile(/tmp/multipartBody9026388927465563756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386633677,"filename":"image_11042025_16_17_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/11/6fbabdb4e400f2b3df2b1a72dfe49923.jpg","text":"TemporaryFile(/tmp/multipartBody427965079411505023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386633677,"filename":"image_11042025_16_17_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/11/1a39141f23f8328113b889b784f928a7.jpg","text":"TemporaryFile(/tmp/multipartBody2743716486724309656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386633677,"filename":"image_11042025_16_17_24_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2a9395a38528a3a05be17bd0c24fed04.jpg","text":"TemporaryFile(/tmp/multipartBody7113354227533091269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386633677,"filename":"image_11042025_16_16_45_10438.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351788867","file1":"1351788812","file0":"1351788777","file4":"1351789004","file5":"1351789063","file3":"1351788941"},"map_files_photo_id_array":[{"photo_id":"1351789063","filename":"file5"},{"photo_id":"1351788867","filename":"file2"},{"photo_id":"1351789004","filename":"file4"},{"photo_id":"1351788812","filename":"file1"},{"photo_id":"1351788777","filename":"file0"},{"photo_id":"1351788941","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351788777":["hashtag1","hashtag2"]},{"1351788867":["hashtag1","hashtag2"]},{"1351789004":["hashtag1","hashtag2"]},{"1351788941":["hashtag1","hashtag2"]},{"1351789063":["hashtag1","hashtag2"]},{"1351788812":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351788777, 1351788867, 1351789004, 1351788941, 1351789063, 1351788812)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.869401693344116 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 17:50:32.527881
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/16/17/image_11042025_16_17_35_10350.jpg', '/home/pi/Desktop/images/11042025/16/17/image_11042025_16_17_44_9341.jpg', '/home/pi/Desktop/images/11042025/16/17/image_11042025_16_17_54_10363.jpg', '/home/pi/Desktop/images/11042025/16/17/image_11042025_16_18_05_10470.jpg', '/home/pi/Desktop/images/11042025/16/18/image_11042025_16_18_14_9350.jpg', '/home/pi/Desktop/images/11042025/16/18/image_11042025_16_18_25_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/16/17/image_11042025_16_17_35_10350.jpg
/home/pi/Desktop/images/11042025/16/17/image_11042025_16_17_44_9341.jpg
/home/pi/Desktop/images/11042025/16/17/image_11042025_16_17_54_10363.jpg
/home/pi/Desktop/images/11042025/16/17/image_11042025_16_18_05_10470.jpg
/home/pi/Desktop/images/11042025/16/18/image_11042025_16_18_14_9350.jpg
/home/pi/Desktop/images/11042025/16/18/image_11042025_16_18_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":["1351789548","1351789682","1351789814","1351789963","1351789510","1351789599"],"photo_ids_order":["1351789510","1351789548","1351789599","1351789682","1351789814","1351789963"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d7ceb48e3cca1494f9da451daec140a0.jpg","text":"TemporaryFile(/tmp/multipartBody4863470082606104267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386692985,"filename":"image_11042025_16_17_44_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/103bba4bc15402b6f71fc90a8fefdfc5.jpg","text":"TemporaryFile(/tmp/multipartBody1753514072077631645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386692985,"filename":"image_11042025_16_18_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/11/df24d15521f52186c34634f1de6d3b52.jpg","text":"TemporaryFile(/tmp/multipartBody2492478753672029094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386692985,"filename":"image_11042025_16_18_14_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2e9274c62841a79cd04e0b9408b3340c.jpg","text":"TemporaryFile(/tmp/multipartBody4121010837015264411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386692985,"filename":"image_11042025_16_18_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/11/1f574a3a3c7c1bd5409ad30294df2928.jpg","text":"TemporaryFile(/tmp/multipartBody75904298283661101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386692985,"filename":"image_11042025_16_17_35_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/168619886483e94381b2ce195cf995d2.jpg","text":"TemporaryFile(/tmp/multipartBody2073755545602958002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386692985,"filename":"image_11042025_16_17_54_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351789599","file1":"1351789548","file0":"1351789510","file4":"1351789814","file5":"1351789963","file3":"1351789682"},"map_files_photo_id_array":[{"photo_id":"1351789963","filename":"file5"},{"photo_id":"1351789599","filename":"file2"},{"photo_id":"1351789814","filename":"file4"},{"photo_id":"1351789548","filename":"file1"},{"photo_id":"1351789510","filename":"file0"},{"photo_id":"1351789682","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351789548":["hashtag1","hashtag2"]},{"1351789682":["hashtag1","hashtag2"]},{"1351789814":["hashtag1","hashtag2"]},{"1351789963":["hashtag1","hashtag2"]},{"1351789510":["hashtag1","hashtag2"]},{"1351789599":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351789548, 1351789682, 1351789814, 1351789963, 1351789510, 1351789599)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.179420948028564 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 17:51:32.745590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/16/18/image_11042025_16_18_35_10357.jpg', '/home/pi/Desktop/images/11042025/16/18/image_11042025_16_18_44_9362.jpg', '/home/pi/Desktop/images/11042025/16/18/image_11042025_16_18_55_10360.jpg', '/home/pi/Desktop/images/11042025/16/18/image_11042025_16_19_04_9428.jpg', '/home/pi/Desktop/images/11042025/16/19/image_11042025_16_19_15_10355.jpg', '/home/pi/Desktop/images/11042025/16/19/image_11042025_16_19_25_10484.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/16/18/image_11042025_16_18_35_10357.jpg
/home/pi/Desktop/images/11042025/16/18/image_11042025_16_18_44_9362.jpg
/home/pi/Desktop/images/11042025/16/18/image_11042025_16_18_55_10360.jpg
/home/pi/Desktop/images/11042025/16/18/image_11042025_16_19_04_9428.jpg
/home/pi/Desktop/images/11042025/16/19/image_11042025_16_19_15_10355.jpg
/home/pi/Desktop/images/11042025/16/19/image_11042025_16_19_25_10484.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351790772","1351790855","1351790489","1351790381","1351790584","1351791069"],"photo_ids_order":["1351790381","1351790489","1351790584","1351790772","1351790855","1351791069"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/13203c497f5d057b819392cf69ccef88.jpg","text":"TemporaryFile(/tmp/multipartBody7149303271221272212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386753194,"filename":"image_11042025_16_19_04_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2e41f4b9d82178b43df5181ae4c39a5d.jpg","text":"TemporaryFile(/tmp/multipartBody1148327400815419693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386753194,"filename":"image_11042025_16_19_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/11/d19949a9fd6ae717305d727e9d200f7e.jpg","text":"TemporaryFile(/tmp/multipartBody7353366254236229327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386753194,"filename":"image_11042025_16_18_44_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2e3c4fbc376af6013c66065568f7e57f.jpg","text":"TemporaryFile(/tmp/multipartBody1716940284319423652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386753194,"filename":"image_11042025_16_18_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/11/8c1c614e5d56569d65619b19fbe483af.jpg","text":"TemporaryFile(/tmp/multipartBody7721425068658869663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386753194,"filename":"image_11042025_16_18_55_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b86a3a7cfc565a00ba319254fbd97f43.jpg","text":"TemporaryFile(/tmp/multipartBody3400752042697737862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386753194,"filename":"image_11042025_16_19_25_10484.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351790584","file1":"1351790489","file0":"1351790381","file4":"1351790855","file5":"1351791069","file3":"1351790772"},"map_files_photo_id_array":[{"photo_id":"1351791069","filename":"file5"},{"photo_id":"1351790584","filename":"file2"},{"photo_id":"1351790855","filename":"file4"},{"photo_id":"1351790489","filename":"file1"},{"photo_id":"1351790381","filename":"file0"},{"photo_id":"1351790772","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351790772":["hashtag1","hashtag2"]},{"1351790855":["hashtag1","hashtag2"]},{"1351790489":["hashtag1","hashtag2"]},{"1351790381":["hashtag1","hashtag2"]},{"1351790584":["hashtag1","hashtag2"]},{"1351791069":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351790772, 1351790855, 1351790489, 1351790381, 1351790584, 1351791069)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.052011013031006 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 17:52:33.138596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/16/19/image_11042025_16_19_34_9368.jpg', '/home/pi/Desktop/images/11042025/16/19/image_11042025_16_19_45_10518.jpg', '/home/pi/Desktop/images/11042025/16/19/image_11042025_16_19_54_9375.jpg', '/home/pi/Desktop/images/11042025/16/19/image_11042025_16_20_05_10361.jpg', '/home/pi/Desktop/images/11042025/16/20/image_11042025_16_20_15_10431.jpg', '/home/pi/Desktop/images/11042025/16/20/image_11042025_16_20_24_9357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/16/19/image_11042025_16_19_34_9368.jpg
/home/pi/Desktop/images/11042025/16/19/image_11042025_16_19_45_10518.jpg
/home/pi/Desktop/images/11042025/16/19/image_11042025_16_19_54_9375.jpg
/home/pi/Desktop/images/11042025/16/19/image_11042025_16_20_05_10361.jpg
/home/pi/Desktop/images/11042025/16/20/image_11042025_16_20_15_10431.jpg
/home/pi/Desktop/images/11042025/16/20/image_11042025_16_20_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":["1351791911","1351791713","1351791841","1351792050","1351791465","1351791540"],"photo_ids_order":["1351791465","1351791540","1351791713","1351791841","1351791911","1351792050"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/dfd7d3df3bb0b3204582dfbb3a0ca025.jpg","text":"TemporaryFile(/tmp/multipartBody8903665300533993727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386813587,"filename":"image_11042025_16_20_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/11/96634e282925ba88fe9a1c992097ee27.jpg","text":"TemporaryFile(/tmp/multipartBody1231130749280059363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386813587,"filename":"image_11042025_16_19_54_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/be6830dacb0781da680d8dd1d61c1ab7.jpg","text":"TemporaryFile(/tmp/multipartBody2404567005846390337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386813587,"filename":"image_11042025_16_20_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/11/48d1d5dff982377a99d8f03d9574a799.jpg","text":"TemporaryFile(/tmp/multipartBody4170377351463261195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386813587,"filename":"image_11042025_16_20_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/11/a7716fedf4d87400c036117e9294f859.jpg","text":"TemporaryFile(/tmp/multipartBody6467342708986944244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386813587,"filename":"image_11042025_16_19_34_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6ed3ac192207937a175cf15f36d2f2ce.jpg","text":"TemporaryFile(/tmp/multipartBody1640276686868307009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386813587,"filename":"image_11042025_16_19_45_10518.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351791713","file1":"1351791540","file0":"1351791465","file4":"1351791911","file5":"1351792050","file3":"1351791841"},"map_files_photo_id_array":[{"photo_id":"1351792050","filename":"file5"},{"photo_id":"1351791713","filename":"file2"},{"photo_id":"1351791911","filename":"file4"},{"photo_id":"1351791540","filename":"file1"},{"photo_id":"1351791465","filename":"file0"},{"photo_id":"1351791841","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351791911":["hashtag1","hashtag2"]},{"1351791713":["hashtag1","hashtag2"]},{"1351791841":["hashtag1","hashtag2"]},{"1351792050":["hashtag1","hashtag2"]},{"1351791465":["hashtag1","hashtag2"]},{"1351791540":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351791911, 1351791713, 1351791841, 1351792050, 1351791465, 1351791540)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.1805534362793 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 17:53:32.548528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/16/20/image_11042025_16_20_35_10363.jpg', '/home/pi/Desktop/images/11042025/16/20/image_11042025_16_20_44_9351.jpg', '/home/pi/Desktop/images/11042025/16/20/image_11042025_16_20_55_10383.jpg', '/home/pi/Desktop/images/11042025/16/20/image_11042025_16_21_05_10416.jpg', '/home/pi/Desktop/images/11042025/16/21/image_11042025_16_21_14_9387.jpg', '/home/pi/Desktop/images/11042025/16/21/image_11042025_16_21_25_10440.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/16/20/image_11042025_16_20_35_10363.jpg
/home/pi/Desktop/images/11042025/16/20/image_11042025_16_20_44_9351.jpg
/home/pi/Desktop/images/11042025/16/20/image_11042025_16_20_55_10383.jpg
/home/pi/Desktop/images/11042025/16/20/image_11042025_16_21_05_10416.jpg
/home/pi/Desktop/images/11042025/16/21/image_11042025_16_21_14_9387.jpg
/home/pi/Desktop/images/11042025/16/21/image_11042025_16_21_25_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":["1351792553","1351792501","1351792464","1351792845","1351792734","1351792629"],"photo_ids_order":["1351792464","1351792501","1351792553","1351792629","1351792734","1351792845"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/913e6e575a7b10c8e032e2de9bf26509.jpg","text":"TemporaryFile(/tmp/multipartBody1099829192118126578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386873002,"filename":"image_11042025_16_20_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/11/c6bf0c38a3e08acf5e1fc4d1c9d14115.jpg","text":"TemporaryFile(/tmp/multipartBody8554350249623231145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386873002,"filename":"image_11042025_16_20_44_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d2269129dd43164d0d2ede559d65acd8.jpg","text":"TemporaryFile(/tmp/multipartBody8373601263144347934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386873002,"filename":"image_11042025_16_20_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/11/39b0394bd9860d061358602da6e3424f.jpg","text":"TemporaryFile(/tmp/multipartBody8266574563636808940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386873002,"filename":"image_11042025_16_21_25_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/33a56c2161ba1bbdb060e22d66b51b4a.jpg","text":"TemporaryFile(/tmp/multipartBody3893221110945843625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386873002,"filename":"image_11042025_16_21_14_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4406ac3e234ea576e8bcd8438f840584.jpg","text":"TemporaryFile(/tmp/multipartBody7656798797175866169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386873002,"filename":"image_11042025_16_21_05_10416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351792553","file1":"1351792501","file0":"1351792464","file4":"1351792734","file5":"1351792845","file3":"1351792629"},"map_files_photo_id_array":[{"photo_id":"1351792845","filename":"file5"},{"photo_id":"1351792553","filename":"file2"},{"photo_id":"1351792734","filename":"file4"},{"photo_id":"1351792501","filename":"file1"},{"photo_id":"1351792464","filename":"file0"},{"photo_id":"1351792629","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351792553":["hashtag1","hashtag2"]},{"1351792501":["hashtag1","hashtag2"]},{"1351792464":["hashtag1","hashtag2"]},{"1351792845":["hashtag1","hashtag2"]},{"1351792734":["hashtag1","hashtag2"]},{"1351792629":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351792553, 1351792501, 1351792464, 1351792845, 1351792734, 1351792629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.63294744491577 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 17:54:32.597458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/16/21/image_11042025_16_21_34_9537.jpg', '/home/pi/Desktop/images/11042025/16/21/image_11042025_16_21_45_10364.jpg', '/home/pi/Desktop/images/11042025/16/21/image_11042025_16_21_55_10417.jpg', '/home/pi/Desktop/images/11042025/16/21/image_11042025_16_22_04_9362.jpg', '/home/pi/Desktop/images/11042025/16/22/image_11042025_16_22_15_10473.jpg', '/home/pi/Desktop/images/11042025/16/22/image_11042025_16_22_24_9417.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/16/21/image_11042025_16_21_34_9537.jpg
/home/pi/Desktop/images/11042025/16/21/image_11042025_16_21_45_10364.jpg
/home/pi/Desktop/images/11042025/16/21/image_11042025_16_21_55_10417.jpg
/home/pi/Desktop/images/11042025/16/21/image_11042025_16_22_04_9362.jpg
/home/pi/Desktop/images/11042025/16/22/image_11042025_16_22_15_10473.jpg
/home/pi/Desktop/images/11042025/16/22/image_11042025_16_22_24_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":["1351793621","1351793494","1351793789","1351793978","1351793843","1351793732"],"photo_ids_order":["1351793494","1351793621","1351793732","1351793789","1351793843","1351793978"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2e9c15915f4bc75e9ce19619b2150176.jpg","text":"TemporaryFile(/tmp/multipartBody1153428125771642342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386933066,"filename":"image_11042025_16_21_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/11/9e61ae3325fd1af65f391fefe2f46b0b.jpg","text":"TemporaryFile(/tmp/multipartBody2871360858690421057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386933066,"filename":"image_11042025_16_21_34_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/11/0fde1e323e661078a22abca46efa2aea.jpg","text":"TemporaryFile(/tmp/multipartBody4184585392083756414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386933066,"filename":"image_11042025_16_22_04_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c20fb6be6b1f0f76152ba17d8c2bd570.jpg","text":"TemporaryFile(/tmp/multipartBody2289469486433669786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386933066,"filename":"image_11042025_16_22_24_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f2a26a98e1c0333803c30be7e9e22192.jpg","text":"TemporaryFile(/tmp/multipartBody7758798244593149111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386933066,"filename":"image_11042025_16_22_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/11/fe7948fa45d9c2f8bbc15f636a0913e7.jpg","text":"TemporaryFile(/tmp/multipartBody1325986386530230414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386933066,"filename":"image_11042025_16_21_55_10417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351793732","file1":"1351793621","file0":"1351793494","file4":"1351793843","file5":"1351793978","file3":"1351793789"},"map_files_photo_id_array":[{"photo_id":"1351793978","filename":"file5"},{"photo_id":"1351793732","filename":"file2"},{"photo_id":"1351793843","filename":"file4"},{"photo_id":"1351793621","filename":"file1"},{"photo_id":"1351793494","filename":"file0"},{"photo_id":"1351793789","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351793621":["hashtag1","hashtag2"]},{"1351793494":["hashtag1","hashtag2"]},{"1351793789":["hashtag1","hashtag2"]},{"1351793978":["hashtag1","hashtag2"]},{"1351793843":["hashtag1","hashtag2"]},{"1351793732":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351793621, 1351793494, 1351793789, 1351793978, 1351793843, 1351793732)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.91733956336975 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 17:55:32.954230
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/16/22/image_11042025_16_22_35_10366.jpg', '/home/pi/Desktop/images/11042025/16/22/image_11042025_16_22_45_10362.jpg', '/home/pi/Desktop/images/11042025/16/22/image_11042025_16_22_54_9365.jpg', '/home/pi/Desktop/images/11042025/16/22/image_11042025_16_23_05_10409.jpg', '/home/pi/Desktop/images/11042025/16/23/image_11042025_16_23_14_9422.jpg', '/home/pi/Desktop/images/11042025/16/23/image_11042025_16_23_25_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/16/22/image_11042025_16_22_35_10366.jpg
/home/pi/Desktop/images/11042025/16/22/image_11042025_16_22_45_10362.jpg
/home/pi/Desktop/images/11042025/16/22/image_11042025_16_22_54_9365.jpg
/home/pi/Desktop/images/11042025/16/22/image_11042025_16_23_05_10409.jpg
/home/pi/Desktop/images/11042025/16/23/image_11042025_16_23_14_9422.jpg
/home/pi/Desktop/images/11042025/16/23/image_11042025_16_23_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":["1351795047","1351795242","1351794741","1351795153","1351794911","1351794997"],"photo_ids_order":["1351794741","1351794911","1351794997","1351795047","1351795153","1351795242"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2df682a1e71cd6313e20e297936c4b2d.jpg","text":"TemporaryFile(/tmp/multipartBody6536014744617443752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386993408,"filename":"image_11042025_16_23_05_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3e1c6bf12f3181e17299cd3979a80393.jpg","text":"TemporaryFile(/tmp/multipartBody6040251468555250422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386993408,"filename":"image_11042025_16_23_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/11/f3944600f76852e8fcd2ef29e5324ddf.jpg","text":"TemporaryFile(/tmp/multipartBody404655614013858849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386993408,"filename":"image_11042025_16_22_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/11/5bdad6cc075cde8068be1497c936f4fd.jpg","text":"TemporaryFile(/tmp/multipartBody1888584051912133818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386993408,"filename":"image_11042025_16_23_14_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/677fe4aa563af875863a23ab56e39181.jpg","text":"TemporaryFile(/tmp/multipartBody2333638481154067845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386993408,"filename":"image_11042025_16_22_45_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/81412994025639802f1ba8bc8b05c548.jpg","text":"TemporaryFile(/tmp/multipartBody6157834601796190643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744386993408,"filename":"image_11042025_16_22_54_9365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351794997","file1":"1351794911","file0":"1351794741","file4":"1351795153","file5":"1351795242","file3":"1351795047"},"map_files_photo_id_array":[{"photo_id":"1351795242","filename":"file5"},{"photo_id":"1351794997","filename":"file2"},{"photo_id":"1351795153","filename":"file4"},{"photo_id":"1351794911","filename":"file1"},{"photo_id":"1351794741","filename":"file0"},{"photo_id":"1351795047","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351795047":["hashtag1","hashtag2"]},{"1351795242":["hashtag1","hashtag2"]},{"1351794741":["hashtag1","hashtag2"]},{"1351795153":["hashtag1","hashtag2"]},{"1351794911":["hashtag1","hashtag2"]},{"1351794997":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351795047, 1351795242, 1351794741, 1351795153, 1351794911, 1351794997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.592310190200806 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 17:56:32.217404
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/16/23/image_11042025_16_23_34_9474.jpg', '/home/pi/Desktop/images/11042025/16/23/image_11042025_16_23_44_10361.jpg', '/home/pi/Desktop/images/11042025/16/23/image_11042025_16_23_55_10469.jpg', '/home/pi/Desktop/images/11042025/16/23/image_11042025_16_24_04_9367.jpg', '/home/pi/Desktop/images/11042025/16/24/image_11042025_16_24_15_10369.jpg', '/home/pi/Desktop/images/11042025/16/24/image_11042025_16_24_24_9411.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/16/23/image_11042025_16_23_34_9474.jpg
/home/pi/Desktop/images/11042025/16/23/image_11042025_16_23_44_10361.jpg
/home/pi/Desktop/images/11042025/16/23/image_11042025_16_23_55_10469.jpg
/home/pi/Desktop/images/11042025/16/23/image_11042025_16_24_04_9367.jpg
/home/pi/Desktop/images/11042025/16/24/image_11042025_16_24_15_10369.jpg
/home/pi/Desktop/images/11042025/16/24/image_11042025_16_24_24_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":["1351795692","1351795755","1351795605","1351795763","1351795676","1351795639"],"photo_ids_order":["1351795605","1351795639","1351795676","1351795692","1351795755","1351795763"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4ea31fc42f905bf510115180116d67c6.jpg","text":"TemporaryFile(/tmp/multipartBody1923191411788897149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744387052677,"filename":"image_11042025_16_24_04_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/10ca650794f04f6788bece9fc93a737e.jpg","text":"TemporaryFile(/tmp/multipartBody7141741462508356431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744387052677,"filename":"image_11042025_16_24_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/11/04721cb4c7ae2a00ebb340bb9d8ed12b.jpg","text":"TemporaryFile(/tmp/multipartBody8729779262054196222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744387052677,"filename":"image_11042025_16_23_34_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/11/ff23e0b5995c88df4b64215a99b42ac7.jpg","text":"TemporaryFile(/tmp/multipartBody7475519362749889072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744387052677,"filename":"image_11042025_16_24_24_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/066acfacf6d3620de9d0331fa481d1e1.jpg","text":"TemporaryFile(/tmp/multipartBody2785338552118166752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744387052677,"filename":"image_11042025_16_23_55_10469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ee657a641c191447a77fb4c011398808.jpg","text":"TemporaryFile(/tmp/multipartBody1126405965293741615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744387052677,"filename":"image_11042025_16_23_44_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351795676","file1":"1351795639","file0":"1351795605","file4":"1351795755","file5":"1351795763","file3":"1351795692"},"map_files_photo_id_array":[{"photo_id":"1351795763","filename":"file5"},{"photo_id":"1351795676","filename":"file2"},{"photo_id":"1351795755","filename":"file4"},{"photo_id":"1351795639","filename":"file1"},{"photo_id":"1351795605","filename":"file0"},{"photo_id":"1351795692","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351795692":["hashtag1","hashtag2"]},{"1351795755":["hashtag1","hashtag2"]},{"1351795605":["hashtag1","hashtag2"]},{"1351795763":["hashtag1","hashtag2"]},{"1351795676":["hashtag1","hashtag2"]},{"1351795639":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351795692, 1351795755, 1351795605, 1351795763, 1351795676, 1351795639)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.77180767059326 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 17:57:32.452795
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/16/24/image_11042025_16_24_35_10452.jpg', '/home/pi/Desktop/images/11042025/16/24/image_11042025_16_24_45_10414.jpg', '/home/pi/Desktop/images/11042025/16/24/image_11042025_16_24_54_9334.jpg', '/home/pi/Desktop/images/11042025/16/24/image_11042025_16_25_05_10354.jpg', '/home/pi/Desktop/images/11042025/16/25/image_11042025_16_25_15_10430.jpg', '/home/pi/Desktop/images/11042025/16/25/image_11042025_16_25_24_9333.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/16/24/image_11042025_16_24_35_10452.jpg
/home/pi/Desktop/images/11042025/16/24/image_11042025_16_24_45_10414.jpg
/home/pi/Desktop/images/11042025/16/24/image_11042025_16_24_54_9334.jpg
/home/pi/Desktop/images/11042025/16/24/image_11042025_16_25_05_10354.jpg
/home/pi/Desktop/images/11042025/16/25/image_11042025_16_25_15_10430.jpg
/home/pi/Desktop/images/11042025/16/25/image_11042025_16_25_24_9333.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-11 17:59:04.844182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/16/24/image_11042025_16_24_35_10452.jpg', '/home/pi/Desktop/images/11042025/16/24/image_11042025_16_24_45_10414.jpg', '/home/pi/Desktop/images/11042025/16/24/image_11042025_16_24_54_9334.jpg', '/home/pi/Desktop/images/11042025/16/24/image_11042025_16_25_05_10354.jpg', '/home/pi/Desktop/images/11042025/16/25/image_11042025_16_25_15_10430.jpg', '/home/pi/Desktop/images/11042025/16/25/image_11042025_16_25_24_9333.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/16/24/image_11042025_16_24_35_10452.jpg
/home/pi/Desktop/images/11042025/16/24/image_11042025_16_24_45_10414.jpg
/home/pi/Desktop/images/11042025/16/24/image_11042025_16_24_54_9334.jpg
/home/pi/Desktop/images/11042025/16/24/image_11042025_16_25_05_10354.jpg
/home/pi/Desktop/images/11042025/16/25/image_11042025_16_25_15_10430.jpg
/home/pi/Desktop/images/11042025/16/25/image_11042025_16_25_24_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":["1351797257","1351797631","1351797475","1351797355","1351797517","1351797165"],"photo_ids_order":["1351797165","1351797257","1351797355","1351797475","1351797517","1351797631"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9faa7b6e745728ec70c6a0e5a7b603a0.jpg","text":"TemporaryFile(/tmp/multipartBody2466982101183592647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744387205415,"filename":"image_11042025_16_24_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/11/52e770098c659462c3c5f40592d815f4.jpg","text":"TemporaryFile(/tmp/multipartBody4951755524153669951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744387205415,"filename":"image_11042025_16_25_24_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ff4021457731a326ea8cb3267c5f126a.jpg","text":"TemporaryFile(/tmp/multipartBody4916457978951059647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744387205415,"filename":"image_11042025_16_25_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/11/381f339ec8c11bc36938617094ef3abe.jpg","text":"TemporaryFile(/tmp/multipartBody1931067089398034565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744387205415,"filename":"image_11042025_16_24_54_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/21f6a46dfbb3437e73e9d2a16323878a.jpg","text":"TemporaryFile(/tmp/multipartBody296596377467479951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744387205415,"filename":"image_11042025_16_25_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/11/1d9562dda446cd1549d597c169da6f94.jpg","text":"TemporaryFile(/tmp/multipartBody5312534869156034291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744387205415,"filename":"image_11042025_16_24_35_10452.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351797355","file1":"1351797257","file0":"1351797165","file4":"1351797517","file5":"1351797631","file3":"1351797475"},"map_files_photo_id_array":[{"photo_id":"1351797631","filename":"file5"},{"photo_id":"1351797355","filename":"file2"},{"photo_id":"1351797517","filename":"file4"},{"photo_id":"1351797257","filename":"file1"},{"photo_id":"1351797165","filename":"file0"},{"photo_id":"1351797475","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351797257":["hashtag1","hashtag2"]},{"1351797631":["hashtag1","hashtag2"]},{"1351797475":["hashtag1","hashtag2"]},{"1351797355":["hashtag1","hashtag2"]},{"1351797517":["hashtag1","hashtag2"]},{"1351797165":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351797257, 1351797631, 1351797475, 1351797355, 1351797517, 1351797165)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.67263436317444 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 18:00:03.024591
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/16/25/image_11042025_16_25_35_10362.jpg', '/home/pi/Desktop/images/11042025/16/25/image_11042025_16_25_44_9399.jpg', '/home/pi/Desktop/images/11042025/16/25/image_11042025_16_25_55_10375.jpg', '/home/pi/Desktop/images/11042025/16/25/image_11042025_16_26_05_10393.jpg', '/home/pi/Desktop/images/11042025/16/26/image_11042025_16_26_14_9346.jpg', '/home/pi/Desktop/images/11042025/16/26/image_11042025_16_26_25_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/16/25/image_11042025_16_25_35_10362.jpg
/home/pi/Desktop/images/11042025/16/25/image_11042025_16_25_44_9399.jpg
/home/pi/Desktop/images/11042025/16/25/image_11042025_16_25_55_10375.jpg
/home/pi/Desktop/images/11042025/16/25/image_11042025_16_26_05_10393.jpg
/home/pi/Desktop/images/11042025/16/26/image_11042025_16_26_14_9346.jpg
/home/pi/Desktop/images/11042025/16/26/image_11042025_16_26_25_10370.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351798145","1351798007","1351798312","1351798083","1351798233","1351797930"],"photo_ids_order":["1351797930","1351798007","1351798083","1351798145","1351798233","1351798312"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/427df170151a1f296f7e9ad1e7677465.jpg","text":"TemporaryFile(/tmp/multipartBody6305206139074478511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744387263513,"filename":"image_11042025_16_26_05_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/30e5093370c5718d15381fb18257a9ee.jpg","text":"TemporaryFile(/tmp/multipartBody3715521821156990104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744387263513,"filename":"image_11042025_16_25_44_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b8c07f1a16766fd6d82ff7eb4e5bf6ee.jpg","text":"TemporaryFile(/tmp/multipartBody2342487069587225966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744387263513,"filename":"image_11042025_16_26_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/11/425fb528dac0c5aa876bc1dc91454289.jpg","text":"TemporaryFile(/tmp/multipartBody3671345776757869797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744387263513,"filename":"image_11042025_16_25_55_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1a6245dacf67500d319fa679ae46c5e3.jpg","text":"TemporaryFile(/tmp/multipartBody661689051449414689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744387263513,"filename":"image_11042025_16_26_14_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/01e39040ec66d8e2101a3f6e500cac5b.jpg","text":"TemporaryFile(/tmp/multipartBody5700205518493425512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744387263513,"filename":"image_11042025_16_25_35_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351798083","file1":"1351798007","file0":"1351797930","file4":"1351798233","file5":"1351798312","file3":"1351798145"},"map_files_photo_id_array":[{"photo_id":"1351798312","filename":"file5"},{"photo_id":"1351798083","filename":"file2"},{"photo_id":"1351798233","filename":"file4"},{"photo_id":"1351798007","filename":"file1"},{"photo_id":"1351797930","filename":"file0"},{"photo_id":"1351798145","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351798145":["hashtag1","hashtag2"]},{"1351798007":["hashtag1","hashtag2"]},{"1351798312":["hashtag1","hashtag2"]},{"1351798083":["hashtag1","hashtag2"]},{"1351798233":["hashtag1","hashtag2"]},{"1351797930":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351798145, 1351798007, 1351798312, 1351798083, 1351798233, 1351797930)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.12876319885254 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 18:00:42.280076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/16/26/image_11042025_16_26_35_10373.jpg', '/home/pi/Desktop/images/11042025/16/26/image_11042025_16_26_44_9419.jpg', '/home/pi/Desktop/images/11042025/16/26/image_11042025_16_26_55_10482.jpg', '/home/pi/Desktop/images/11042025/16/26/image_11042025_16_27_04_9359.jpg', '/home/pi/Desktop/images/11042025/16/27/image_11042025_16_27_15_10364.jpg', '/home/pi/Desktop/images/11042025/16/27/image_11042025_16_27_25_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/16/26/image_11042025_16_26_35_10373.jpg
/home/pi/Desktop/images/11042025/16/26/image_11042025_16_26_44_9419.jpg
/home/pi/Desktop/images/11042025/16/26/image_11042025_16_26_55_10482.jpg
/home/pi/Desktop/images/11042025/16/26/image_11042025_16_27_04_9359.jpg
/home/pi/Desktop/images/11042025/16/27/image_11042025_16_27_15_10364.jpg
/home/pi/Desktop/images/11042025/16/27/image_11042025_16_27_25_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351798541","1351798601","1351798663","1351798731","1351798449","1351798472"],"photo_ids_order":["1351798449","1351798472","1351798541","1351798601","1351798663","1351798731"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ece547d0599719b62e6cc8a6ecaff6c0.jpg","text":"TemporaryFile(/tmp/multipartBody1067403660789874039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744387302727,"filename":"image_11042025_16_26_55_10482.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d489ea2f5df68c6bc887d0541e3d763c.jpg","text":"TemporaryFile(/tmp/multipartBody6645148126130895716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744387302727,"filename":"image_11042025_16_27_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/11/e2d71ce3e2c8d43947b565b85f33fd4d.jpg","text":"TemporaryFile(/tmp/multipartBody7728347703500483891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744387302727,"filename":"image_11042025_16_27_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/11/64b6cef8eb23da945fb2251283cb8e14.jpg","text":"TemporaryFile(/tmp/multipartBody2786667162621328351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744387302727,"filename":"image_11042025_16_27_25_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/707256f847e12199f33e16b572beb980.jpg","text":"TemporaryFile(/tmp/multipartBody58868076362506179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744387302727,"filename":"image_11042025_16_26_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/11/ada444ac04b6b239850c99204f35b672.jpg","text":"TemporaryFile(/tmp/multipartBody8027104499842525481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744387302727,"filename":"image_11042025_16_26_44_9419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351798541","file1":"1351798472","file0":"1351798449","file4":"1351798663","file5":"1351798731","file3":"1351798601"},"map_files_photo_id_array":[{"photo_id":"1351798731","filename":"file5"},{"photo_id":"1351798541","filename":"file2"},{"photo_id":"1351798663","filename":"file4"},{"photo_id":"1351798472","filename":"file1"},{"photo_id":"1351798449","filename":"file0"},{"photo_id":"1351798601","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351798541":["hashtag1","hashtag2"]},{"1351798601":["hashtag1","hashtag2"]},{"1351798663":["hashtag1","hashtag2"]},{"1351798731":["hashtag1","hashtag2"]},{"1351798449":["hashtag1","hashtag2"]},{"1351798472":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351798541, 1351798601, 1351798663, 1351798731, 1351798449, 1351798472)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.051273822784424 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 18:01:32.537493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/16/27/image_11042025_16_27_34_9424.jpg', '/home/pi/Desktop/images/11042025/16/27/image_11042025_16_27_45_10447.jpg', '/home/pi/Desktop/images/11042025/16/27/image_11042025_16_27_54_9412.jpg', '/home/pi/Desktop/images/11042025/16/27/image_11042025_16_28_05_10361.jpg', '/home/pi/Desktop/images/11042025/16/28/image_11042025_16_28_14_9501.jpg', '/home/pi/Desktop/images/11042025/16/28/image_11042025_16_28_25_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/16/27/image_11042025_16_27_34_9424.jpg
/home/pi/Desktop/images/11042025/16/27/image_11042025_16_27_45_10447.jpg
/home/pi/Desktop/images/11042025/16/27/image_11042025_16_27_54_9412.jpg
/home/pi/Desktop/images/11042025/16/27/image_11042025_16_28_05_10361.jpg
/home/pi/Desktop/images/11042025/16/28/image_11042025_16_28_14_9501.jpg
/home/pi/Desktop/images/11042025/16/28/image_11042025_16_28_25_10367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351799318","1351799389","1351799356","1351799338","1351799327","1351799234"],"photo_ids_order":["1351799234","1351799318","1351799327","1351799338","1351799356","1351799389"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/de4d0d8a7a792937ba0f884f317b9d2c.jpg","text":"TemporaryFile(/tmp/multipartBody3358723857170676381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744387352988,"filename":"image_11042025_16_27_45_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f7aab97bb0e4ab8a4f3e9b8bb5c9b610.jpg","text":"TemporaryFile(/tmp/multipartBody7825980454565253448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744387352988,"filename":"image_11042025_16_28_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/11/007e6267e3ecd2516ab9c551ec3dec59.jpg","text":"TemporaryFile(/tmp/multipartBody346970371633481483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744387352988,"filename":"image_11042025_16_28_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/11/ef7c5072b09dfd898a7e3fa35e02b71e.jpg","text":"TemporaryFile(/tmp/multipartBody5389666625133106438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744387352988,"filename":"image_11042025_16_28_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/11/6d59e285c4e807b1c2d553366ecb112e.jpg","text":"TemporaryFile(/tmp/multipartBody2705859637094633099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744387352988,"filename":"image_11042025_16_27_54_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d644cb735f9fdd3d35428f94433eee1f.jpg","text":"TemporaryFile(/tmp/multipartBody3656778574815191560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744387352988,"filename":"image_11042025_16_27_34_9424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351799327","file1":"1351799318","file0":"1351799234","file4":"1351799356","file5":"1351799389","file3":"1351799338"},"map_files_photo_id_array":[{"photo_id":"1351799389","filename":"file5"},{"photo_id":"1351799327","filename":"file2"},{"photo_id":"1351799356","filename":"file4"},{"photo_id":"1351799318","filename":"file1"},{"photo_id":"1351799234","filename":"file0"},{"photo_id":"1351799338","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351799318":["hashtag1","hashtag2"]},{"1351799389":["hashtag1","hashtag2"]},{"1351799356":["hashtag1","hashtag2"]},{"1351799338":["hashtag1","hashtag2"]},{"1351799327":["hashtag1","hashtag2"]},{"1351799234":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351799318, 1351799389, 1351799356, 1351799338, 1351799327, 1351799234)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.96749448776245 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 18:02:32.888446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/16/28/image_11042025_16_28_35_10452.jpg', '/home/pi/Desktop/images/11042025/16/28/image_11042025_16_28_44_9361.jpg', '/home/pi/Desktop/images/11042025/16/28/image_11042025_16_28_55_10352.jpg', '/home/pi/Desktop/images/11042025/16/28/image_11042025_16_29_04_9396.jpg', '/home/pi/Desktop/images/11042025/16/29/image_11042025_16_29_14_10352.jpg', '/home/pi/Desktop/images/11042025/16/29/image_11042025_16_29_34_9344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/16/28/image_11042025_16_28_35_10452.jpg
/home/pi/Desktop/images/11042025/16/28/image_11042025_16_28_44_9361.jpg
/home/pi/Desktop/images/11042025/16/28/image_11042025_16_28_55_10352.jpg
/home/pi/Desktop/images/11042025/16/28/image_11042025_16_29_04_9396.jpg
/home/pi/Desktop/images/11042025/16/29/image_11042025_16_29_14_10352.jpg
/home/pi/Desktop/images/11042025/16/29/image_11042025_16_29_34_9344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351800189","1351800115","1351800249","1351800309","1351800374","1351800041"],"photo_ids_order":["1351800041","1351800115","1351800189","1351800249","1351800309","1351800374"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/69f3ac5ac2d74db039d507a5f94a8295.jpg","text":"TemporaryFile(/tmp/multipartBody1831347592147887009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744387413340,"filename":"image_11042025_16_28_55_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b9b6ca5dc0045b5df73b14dbcb49fdb5.jpg","text":"TemporaryFile(/tmp/multipartBody8346592071468121729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744387413340,"filename":"image_11042025_16_28_44_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9598cda91f6dda0109e3bd1d2917cc4e.jpg","text":"TemporaryFile(/tmp/multipartBody7055600399511995275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744387413340,"filename":"image_11042025_16_29_04_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/04fb7536ed5fe48fcbf50f4ab12778e1.jpg","text":"TemporaryFile(/tmp/multipartBody2556796184742256153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744387413340,"filename":"image_11042025_16_29_14_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e9062dd551277b406e2c190e9108d8bf.jpg","text":"TemporaryFile(/tmp/multipartBody2429702569066402309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744387413340,"filename":"image_11042025_16_29_34_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/fa3b62d4156fca0cbd62acb7209b06f8.jpg","text":"TemporaryFile(/tmp/multipartBody6343929786605553666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744387413340,"filename":"image_11042025_16_28_35_10452.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351800189","file1":"1351800115","file0":"1351800041","file4":"1351800309","file5":"1351800374","file3":"1351800249"},"map_files_photo_id_array":[{"photo_id":"1351800374","filename":"file5"},{"photo_id":"1351800189","filename":"file2"},{"photo_id":"1351800309","filename":"file4"},{"photo_id":"1351800115","filename":"file1"},{"photo_id":"1351800041","filename":"file0"},{"photo_id":"1351800249","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351800189":["hashtag1","hashtag2"]},{"1351800115":["hashtag1","hashtag2"]},{"1351800249":["hashtag1","hashtag2"]},{"1351800309":["hashtag1","hashtag2"]},{"1351800374":["hashtag1","hashtag2"]},{"1351800041":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351800189, 1351800115, 1351800249, 1351800309, 1351800374, 1351800041)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.76782155036926 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 18:03:33.216615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/16/29/image_11042025_16_29_45_10429.jpg', '/home/pi/Desktop/images/11042025/16/29/image_11042025_16_29_54_9346.jpg', '/home/pi/Desktop/images/11042025/16/29/image_11042025_16_30_04_10359.jpg', '/home/pi/Desktop/images/11042025/16/30/image_11042025_16_30_15_10441.jpg', '/home/pi/Desktop/images/11042025/16/30/image_11042025_16_30_24_9410.jpg', '/home/pi/Desktop/images/11042025/16/30/image_11042025_16_30_35_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/16/29/image_11042025_16_29_45_10429.jpg
/home/pi/Desktop/images/11042025/16/29/image_11042025_16_29_54_9346.jpg
/home/pi/Desktop/images/11042025/16/29/image_11042025_16_30_04_10359.jpg
/home/pi/Desktop/images/11042025/16/30/image_11042025_16_30_15_10441.jpg
/home/pi/Desktop/images/11042025/16/30/image_11042025_16_30_24_9410.jpg
/home/pi/Desktop/images/11042025/16/30/image_11042025_16_30_35_10360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351800808","1351800780","1351800657","1351800843","1351800875","1351800830"],"photo_ids_order":["1351800657","1351800780","1351800808","1351800830","1351800843","1351800875"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/13abe02b8537337a18523f7ff8185684.jpg","text":"TemporaryFile(/tmp/multipartBody1518551948254641246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744387473660,"filename":"image_11042025_16_30_04_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/90d3d7732981ebf64a22dbe4382b53f1.jpg","text":"TemporaryFile(/tmp/multipartBody7780382616457216379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744387473660,"filename":"image_11042025_16_29_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/11/e524f0f842071de36a9edd0a59babd1f.jpg","text":"TemporaryFile(/tmp/multipartBody4776555138273161257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744387473660,"filename":"image_11042025_16_29_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/11/3eefeeb33458014d79fc6af2cc6779d8.jpg","text":"TemporaryFile(/tmp/multipartBody2772921669441547324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744387473660,"filename":"image_11042025_16_30_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/11/7e028cf3d7312d1962793f008e508a15.jpg","text":"TemporaryFile(/tmp/multipartBody6317724459367005530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744387473660,"filename":"image_11042025_16_30_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/11/e2b2c9fd5c8bc7cf462f4c0be8fdde4c.jpg","text":"TemporaryFile(/tmp/multipartBody2003245297693994366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744387473660,"filename":"image_11042025_16_30_15_10441.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351800808","file1":"1351800780","file0":"1351800657","file4":"1351800843","file5":"1351800875","file3":"1351800830"},"map_files_photo_id_array":[{"photo_id":"1351800875","filename":"file5"},{"photo_id":"1351800808","filename":"file2"},{"photo_id":"1351800843","filename":"file4"},{"photo_id":"1351800780","filename":"file1"},{"photo_id":"1351800657","filename":"file0"},{"photo_id":"1351800830","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351800808":["hashtag1","hashtag2"]},{"1351800780":["hashtag1","hashtag2"]},{"1351800657":["hashtag1","hashtag2"]},{"1351800843":["hashtag1","hashtag2"]},{"1351800875":["hashtag1","hashtag2"]},{"1351800830":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351800808, 1351800780, 1351800657, 1351800843, 1351800875, 1351800830)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.54128956794739 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 18:04:32.379097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/16/30/image_11042025_16_30_45_10353.jpg', '/home/pi/Desktop/images/11042025/16/30/image_11042025_16_30_54_9341.jpg', '/home/pi/Desktop/images/11042025/16/30/image_11042025_16_31_05_10364.jpg', '/home/pi/Desktop/images/11042025/16/31/image_11042025_16_31_15_10345.jpg', '/home/pi/Desktop/images/11042025/16/31/image_11042025_16_31_24_9358.jpg', '/home/pi/Desktop/images/11042025/16/31/image_11042025_16_31_35_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/16/30/image_11042025_16_30_45_10353.jpg
/home/pi/Desktop/images/11042025/16/30/image_11042025_16_30_54_9341.jpg
/home/pi/Desktop/images/11042025/16/30/image_11042025_16_31_05_10364.jpg
/home/pi/Desktop/images/11042025/16/31/image_11042025_16_31_15_10345.jpg
/home/pi/Desktop/images/11042025/16/31/image_11042025_16_31_24_9358.jpg
/home/pi/Desktop/images/11042025/16/31/image_11042025_16_31_35_10360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351801110","1351801358","1351801256","1351801316","1351801202","1351801393"],"photo_ids_order":["1351801110","1351801202","1351801256","1351801316","1351801358","1351801393"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/003392211bcdebbf400878a7234650aa.jpg","text":"TemporaryFile(/tmp/multipartBody5687781485906681931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744387532818,"filename":"image_11042025_16_30_45_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8de5a7659b2c6b3198deaed79a874098.jpg","text":"TemporaryFile(/tmp/multipartBody9166539339146456111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744387532818,"filename":"image_11042025_16_31_24_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/eb9f8584799f1e6fa2889e0f5cdb45e0.jpg","text":"TemporaryFile(/tmp/multipartBody5433898556571930885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744387532818,"filename":"image_11042025_16_31_05_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/dceed594434d6c2d48f5b35a13758d89.jpg","text":"TemporaryFile(/tmp/multipartBody4591245129348734761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744387532818,"filename":"image_11042025_16_31_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/11/1b94e18930d9267b8ab159bd572302cf.jpg","text":"TemporaryFile(/tmp/multipartBody6427787176055927764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744387532818,"filename":"image_11042025_16_30_54_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b60ce6452cf608dcdb5e8bdcdde8e232.jpg","text":"TemporaryFile(/tmp/multipartBody3108358592347816649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744387532818,"filename":"image_11042025_16_31_35_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351801256","file1":"1351801202","file0":"1351801110","file4":"1351801358","file5":"1351801393","file3":"1351801316"},"map_files_photo_id_array":[{"photo_id":"1351801393","filename":"file5"},{"photo_id":"1351801256","filename":"file2"},{"photo_id":"1351801358","filename":"file4"},{"photo_id":"1351801202","filename":"file1"},{"photo_id":"1351801110","filename":"file0"},{"photo_id":"1351801316","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351801110":["hashtag1","hashtag2"]},{"1351801358":["hashtag1","hashtag2"]},{"1351801256":["hashtag1","hashtag2"]},{"1351801316":["hashtag1","hashtag2"]},{"1351801202":["hashtag1","hashtag2"]},{"1351801393":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351801110, 1351801358, 1351801256, 1351801316, 1351801202, 1351801393)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.11327266693115 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 18:05:32.595323
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/16/31/image_11042025_16_31_55_10433.jpg', '/home/pi/Desktop/images/11042025/16/32/image_11042025_16_32_14_9422.jpg', '/home/pi/Desktop/images/11042025/16/32/image_11042025_16_32_25_10427.jpg', '/home/pi/Desktop/images/11042025/16/32/image_11042025_16_32_45_10375.jpg', '/home/pi/Desktop/images/11042025/16/32/image_11042025_16_32_55_10441.jpg', '/home/pi/Desktop/images/11042025/16/32/image_11042025_16_33_05_9427.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/16/31/image_11042025_16_31_55_10433.jpg
/home/pi/Desktop/images/11042025/16/32/image_11042025_16_32_14_9422.jpg
/home/pi/Desktop/images/11042025/16/32/image_11042025_16_32_25_10427.jpg
/home/pi/Desktop/images/11042025/16/32/image_11042025_16_32_45_10375.jpg
/home/pi/Desktop/images/11042025/16/32/image_11042025_16_32_55_10441.jpg
/home/pi/Desktop/images/11042025/16/32/image_11042025_16_33_05_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":["1351801793","1351801847","1351801877","1351801751","1351801904","1351801927"],"photo_ids_order":["1351801751","1351801793","1351801847","1351801877","1351801904","1351801927"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f5e7b2cb2b9e8c075c3c3fcdc00c2da0.jpg","text":"TemporaryFile(/tmp/multipartBody3889640025982272801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744387593038,"filename":"image_11042025_16_32_14_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/be75893e14be7131a2c39723d503654f.jpg","text":"TemporaryFile(/tmp/multipartBody7697309782019091300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744387593038,"filename":"image_11042025_16_32_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/11/b41e97bdb81c249e40538593f4545062.jpg","text":"TemporaryFile(/tmp/multipartBody7389766714508326211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744387593038,"filename":"image_11042025_16_32_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/11/9f12741c421692ef9b1f582e84d05820.jpg","text":"TemporaryFile(/tmp/multipartBody2900474999302337052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744387593038,"filename":"image_11042025_16_31_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/11/0db2a86317431f35f8a67b46cfcf9a80.jpg","text":"TemporaryFile(/tmp/multipartBody8074866348213179668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744387593038,"filename":"image_11042025_16_32_55_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/81e7cde46841b1b58b22e67c3497e4af.jpg","text":"TemporaryFile(/tmp/multipartBody1562012258848836855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744387593038,"filename":"image_11042025_16_33_05_9427.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351801847","file1":"1351801793","file0":"1351801751","file4":"1351801904","file5":"1351801927","file3":"1351801877"},"map_files_photo_id_array":[{"photo_id":"1351801927","filename":"file5"},{"photo_id":"1351801847","filename":"file2"},{"photo_id":"1351801904","filename":"file4"},{"photo_id":"1351801793","filename":"file1"},{"photo_id":"1351801751","filename":"file0"},{"photo_id":"1351801877","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351801793":["hashtag1","hashtag2"]},{"1351801847":["hashtag1","hashtag2"]},{"1351801877":["hashtag1","hashtag2"]},{"1351801751":["hashtag1","hashtag2"]},{"1351801904":["hashtag1","hashtag2"]},{"1351801927":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351801793, 1351801847, 1351801877, 1351801751, 1351801904, 1351801927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.88426899909973 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 18:06:32.814781
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/16/33/image_11042025_16_33_15_10468.jpg', '/home/pi/Desktop/images/11042025/16/33/image_11042025_16_33_35_10362.jpg', '/home/pi/Desktop/images/11042025/16/33/image_11042025_16_33_44_9372.jpg', '/home/pi/Desktop/images/11042025/16/33/image_11042025_16_34_05_10418.jpg', '/home/pi/Desktop/images/11042025/16/34/image_11042025_16_34_14_9363.jpg', '/home/pi/Desktop/images/11042025/16/34/image_11042025_16_34_25_10374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/16/33/image_11042025_16_33_15_10468.jpg
/home/pi/Desktop/images/11042025/16/33/image_11042025_16_33_35_10362.jpg
/home/pi/Desktop/images/11042025/16/33/image_11042025_16_33_44_9372.jpg
/home/pi/Desktop/images/11042025/16/33/image_11042025_16_34_05_10418.jpg
/home/pi/Desktop/images/11042025/16/34/image_11042025_16_34_14_9363.jpg
/home/pi/Desktop/images/11042025/16/34/image_11042025_16_34_25_10374.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.37423229217529297 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 18:06:42.805565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/16/33/image_11042025_16_33_15_10468.jpg', '/home/pi/Desktop/images/11042025/16/33/image_11042025_16_33_35_10362.jpg', '/home/pi/Desktop/images/11042025/16/33/image_11042025_16_33_44_9372.jpg', '/home/pi/Desktop/images/11042025/16/33/image_11042025_16_34_05_10418.jpg', '/home/pi/Desktop/images/11042025/16/34/image_11042025_16_34_14_9363.jpg', '/home/pi/Desktop/images/11042025/16/34/image_11042025_16_34_25_10374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/16/33/image_11042025_16_33_15_10468.jpg
/home/pi/Desktop/images/11042025/16/33/image_11042025_16_33_35_10362.jpg
/home/pi/Desktop/images/11042025/16/33/image_11042025_16_33_44_9372.jpg
/home/pi/Desktop/images/11042025/16/33/image_11042025_16_34_05_10418.jpg
/home/pi/Desktop/images/11042025/16/34/image_11042025_16_34_14_9363.jpg
/home/pi/Desktop/images/11042025/16/34/image_11042025_16_34_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":["1351802109","1351802330","1351802218","1351802305","1351802265","1351802148"],"photo_ids_order":["1351802109","1351802148","1351802218","1351802265","1351802305","1351802330"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f130ed96b896be13e7a3cbb3bb99911f.jpg","text":"TemporaryFile(/tmp/multipartBody5283405891651641953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744387663258,"filename":"image_11042025_16_33_15_10468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/64378915470505d9f52913fb8c68b788.jpg","text":"TemporaryFile(/tmp/multipartBody4431449976682020686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744387663258,"filename":"image_11042025_16_34_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/11/85390686bb704db601fd9ceca50eb803.jpg","text":"TemporaryFile(/tmp/multipartBody6042568492635267188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744387663258,"filename":"image_11042025_16_33_44_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/020e5c3ba0ef5231e07401bab6f66296.jpg","text":"TemporaryFile(/tmp/multipartBody233718068075494504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744387663258,"filename":"image_11042025_16_34_14_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/11/a17996a766a8e198d63b375ad6d358a9.jpg","text":"TemporaryFile(/tmp/multipartBody4249334596726872229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744387663258,"filename":"image_11042025_16_34_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/11/85703f8da568f702e053963aef0d8050.jpg","text":"TemporaryFile(/tmp/multipartBody4210284261191600316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744387663258,"filename":"image_11042025_16_33_35_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351802218","file1":"1351802148","file0":"1351802109","file4":"1351802305","file5":"1351802330","file3":"1351802265"},"map_files_photo_id_array":[{"photo_id":"1351802330","filename":"file5"},{"photo_id":"1351802218","filename":"file2"},{"photo_id":"1351802305","filename":"file4"},{"photo_id":"1351802148","filename":"file1"},{"photo_id":"1351802109","filename":"file0"},{"photo_id":"1351802265","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351802109":["hashtag1","hashtag2"]},{"1351802330":["hashtag1","hashtag2"]},{"1351802218":["hashtag1","hashtag2"]},{"1351802305":["hashtag1","hashtag2"]},{"1351802265":["hashtag1","hashtag2"]},{"1351802148":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351802109, 1351802330, 1351802218, 1351802305, 1351802265, 1351802148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.8310706615448 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 18:07:42.194699
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/16/34/image_11042025_16_34_35_10345.jpg', '/home/pi/Desktop/images/11042025/16/34/image_11042025_16_34_44_9374.jpg', '/home/pi/Desktop/images/11042025/16/34/image_11042025_16_34_55_10356.jpg', '/home/pi/Desktop/images/11042025/16/34/image_11042025_16_35_04_9437.jpg', '/home/pi/Desktop/images/11042025/16/35/image_11042025_16_35_15_10381.jpg', '/home/pi/Desktop/images/11042025/16/35/image_11042025_16_35_25_10384.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/16/34/image_11042025_16_34_35_10345.jpg
/home/pi/Desktop/images/11042025/16/34/image_11042025_16_34_44_9374.jpg
/home/pi/Desktop/images/11042025/16/34/image_11042025_16_34_55_10356.jpg
/home/pi/Desktop/images/11042025/16/34/image_11042025_16_35_04_9437.jpg
/home/pi/Desktop/images/11042025/16/35/image_11042025_16_35_15_10381.jpg
/home/pi/Desktop/images/11042025/16/35/image_11042025_16_35_25_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":["1351802486","1351802505","1351802510","1351802494","1351802478","1351802433"],"photo_ids_order":["1351802433","1351802478","1351802486","1351802494","1351802505","1351802510"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b0de2fe23441f0ea2d7a845042ab4236.jpg","text":"TemporaryFile(/tmp/multipartBody6249675419867374879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744387722642,"filename":"image_11042025_16_34_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/11/042d0a55722a40917b9e5ebacb156735.jpg","text":"TemporaryFile(/tmp/multipartBody2570499958376860027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744387722642,"filename":"image_11042025_16_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/11/6fe277c5b1bf89b7e35a3e5990ce59c6.jpg","text":"TemporaryFile(/tmp/multipartBody6002898615911957560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744387722642,"filename":"image_11042025_16_35_25_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6910fbfd73ff80e98d270f3bdec840aa.jpg","text":"TemporaryFile(/tmp/multipartBody4676166959701295237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744387722642,"filename":"image_11042025_16_35_04_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f78bf97607d6d80a9ffccf08fb48de1a.jpg","text":"TemporaryFile(/tmp/multipartBody6787076813899602106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744387722642,"filename":"image_11042025_16_34_44_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2b72b3c7d6d3ec56cdc6f614ce4370fb.jpg","text":"TemporaryFile(/tmp/multipartBody2787428782171949694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744387722642,"filename":"image_11042025_16_34_35_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351802486","file1":"1351802478","file0":"1351802433","file4":"1351802505","file5":"1351802510","file3":"1351802494"},"map_files_photo_id_array":[{"photo_id":"1351802510","filename":"file5"},{"photo_id":"1351802486","filename":"file2"},{"photo_id":"1351802505","filename":"file4"},{"photo_id":"1351802478","filename":"file1"},{"photo_id":"1351802433","filename":"file0"},{"photo_id":"1351802494","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351802486":["hashtag1","hashtag2"]},{"1351802505":["hashtag1","hashtag2"]},{"1351802510":["hashtag1","hashtag2"]},{"1351802494":["hashtag1","hashtag2"]},{"1351802478":["hashtag1","hashtag2"]},{"1351802433":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351802486, 1351802505, 1351802510, 1351802494, 1351802478, 1351802433)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.89701795578003 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 18:08:32.387993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/16/35/image_11042025_16_35_34_9354.jpg', '/home/pi/Desktop/images/11042025/16/35/image_11042025_16_35_45_10362.jpg', '/home/pi/Desktop/images/11042025/16/35/image_11042025_16_35_55_10440.jpg', '/home/pi/Desktop/images/11042025/16/35/image_11042025_16_36_04_9352.jpg', '/home/pi/Desktop/images/11042025/16/36/image_11042025_16_36_15_10558.jpg', '/home/pi/Desktop/images/11042025/16/36/image_11042025_16_36_24_9340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/16/35/image_11042025_16_35_34_9354.jpg
/home/pi/Desktop/images/11042025/16/35/image_11042025_16_35_45_10362.jpg
/home/pi/Desktop/images/11042025/16/35/image_11042025_16_35_55_10440.jpg
/home/pi/Desktop/images/11042025/16/35/image_11042025_16_36_04_9352.jpg
/home/pi/Desktop/images/11042025/16/36/image_11042025_16_36_15_10558.jpg
/home/pi/Desktop/images/11042025/16/36/image_11042025_16_36_24_9340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351802552","1351802576","1351802562","1351802556","1351802565","1351802559"],"photo_ids_order":["1351802552","1351802556","1351802559","1351802562","1351802565","1351802576"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3e39a76fd137bfee1dc5fd77d264e058.jpg","text":"TemporaryFile(/tmp/multipartBody3951107567563259770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744387772841,"filename":"image_11042025_16_35_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/11/d0b22ebf852096e2f33f69c22d3c19e6.jpg","text":"TemporaryFile(/tmp/multipartBody4283844516786193452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744387772841,"filename":"image_11042025_16_36_24_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/167f077ed2cb9fe53c706e7cf9be2fc8.jpg","text":"TemporaryFile(/tmp/multipartBody2965927666142084099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744387772841,"filename":"image_11042025_16_36_04_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7c9098ed3928a426febe2115011aefde.jpg","text":"TemporaryFile(/tmp/multipartBody6539334333866640099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744387772841,"filename":"image_11042025_16_35_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/11/a4d117b3f64c5921cde28d94cea27904.jpg","text":"TemporaryFile(/tmp/multipartBody4285117094574551155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744387772841,"filename":"image_11042025_16_36_15_10558.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7c7177b794e82cc47e770c160e6706a5.jpg","text":"TemporaryFile(/tmp/multipartBody353773871154779088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744387772841,"filename":"image_11042025_16_35_55_10440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351802559","file1":"1351802556","file0":"1351802552","file4":"1351802565","file5":"1351802576","file3":"1351802562"},"map_files_photo_id_array":[{"photo_id":"1351802576","filename":"file5"},{"photo_id":"1351802559","filename":"file2"},{"photo_id":"1351802565","filename":"file4"},{"photo_id":"1351802556","filename":"file1"},{"photo_id":"1351802552","filename":"file0"},{"photo_id":"1351802562","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351802552":["hashtag1","hashtag2"]},{"1351802576":["hashtag1","hashtag2"]},{"1351802562":["hashtag1","hashtag2"]},{"1351802556":["hashtag1","hashtag2"]},{"1351802565":["hashtag1","hashtag2"]},{"1351802559":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351802552, 1351802576, 1351802562, 1351802556, 1351802565, 1351802559)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.38809037208557 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 18:09:32.532483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/16/36/image_11042025_16_36_35_10372.jpg', '/home/pi/Desktop/images/11042025/16/36/image_11042025_16_36_44_9415.jpg', '/home/pi/Desktop/images/11042025/16/36/image_11042025_16_36_54_10350.jpg', '/home/pi/Desktop/images/11042025/16/36/image_11042025_16_37_05_10452.jpg', '/home/pi/Desktop/images/11042025/16/37/image_11042025_16_37_14_9351.jpg', '/home/pi/Desktop/images/11042025/16/37/image_11042025_16_37_25_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/16/36/image_11042025_16_36_35_10372.jpg
/home/pi/Desktop/images/11042025/16/36/image_11042025_16_36_44_9415.jpg
/home/pi/Desktop/images/11042025/16/36/image_11042025_16_36_54_10350.jpg
/home/pi/Desktop/images/11042025/16/36/image_11042025_16_37_05_10452.jpg
/home/pi/Desktop/images/11042025/16/37/image_11042025_16_37_14_9351.jpg
/home/pi/Desktop/images/11042025/16/37/image_11042025_16_37_25_10369.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351803056","1351803344","1351803131","1351803184","1351802998","1351803222"],"photo_ids_order":["1351802998","1351803056","1351803131","1351803184","1351803222","1351803344"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/394b01ee80d01c5af25b3c0f42d3cd07.jpg","text":"TemporaryFile(/tmp/multipartBody5398969855162897720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744387832978,"filename":"image_11042025_16_36_44_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/07fca3d774c5b18dbbb922f71c1eeb07.jpg","text":"TemporaryFile(/tmp/multipartBody4315331023734342900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744387832978,"filename":"image_11042025_16_37_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/11/139ad92959a2979b3410bfb6572f3957.jpg","text":"TemporaryFile(/tmp/multipartBody7098635827852015504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744387832978,"filename":"image_11042025_16_36_54_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9b7e3704186b342b41ef074de1295bd8.jpg","text":"TemporaryFile(/tmp/multipartBody5620473635807643937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744387832978,"filename":"image_11042025_16_37_05_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/468c2621cf0ab623f3fe1a0d64e553b2.jpg","text":"TemporaryFile(/tmp/multipartBody7819094517301348702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744387832978,"filename":"image_11042025_16_36_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/11/d91446ed16ddaf5244e15135f3b77da6.jpg","text":"TemporaryFile(/tmp/multipartBody2606513861157538340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744387832978,"filename":"image_11042025_16_37_14_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351803131","file1":"1351803056","file0":"1351802998","file4":"1351803222","file5":"1351803344","file3":"1351803184"},"map_files_photo_id_array":[{"photo_id":"1351803344","filename":"file5"},{"photo_id":"1351803131","filename":"file2"},{"photo_id":"1351803222","filename":"file4"},{"photo_id":"1351803056","filename":"file1"},{"photo_id":"1351802998","filename":"file0"},{"photo_id":"1351803184","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351803056":["hashtag1","hashtag2"]},{"1351803344":["hashtag1","hashtag2"]},{"1351803131":["hashtag1","hashtag2"]},{"1351803184":["hashtag1","hashtag2"]},{"1351802998":["hashtag1","hashtag2"]},{"1351803222":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351803056, 1351803344, 1351803131, 1351803184, 1351802998, 1351803222)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.47212028503418 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 18:10:32.951744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/16/37/image_11042025_16_37_34_9456.jpg', '/home/pi/Desktop/images/11042025/16/37/image_11042025_16_37_44_10370.jpg', '/home/pi/Desktop/images/11042025/16/37/image_11042025_16_37_55_10446.jpg', '/home/pi/Desktop/images/11042025/16/37/image_11042025_16_38_04_9391.jpg', '/home/pi/Desktop/images/11042025/16/38/image_11042025_16_38_15_10433.jpg', '/home/pi/Desktop/images/11042025/16/38/image_11042025_16_38_24_9412.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/16/37/image_11042025_16_37_34_9456.jpg
/home/pi/Desktop/images/11042025/16/37/image_11042025_16_37_44_10370.jpg
/home/pi/Desktop/images/11042025/16/37/image_11042025_16_37_55_10446.jpg
/home/pi/Desktop/images/11042025/16/37/image_11042025_16_38_04_9391.jpg
/home/pi/Desktop/images/11042025/16/38/image_11042025_16_38_15_10433.jpg
/home/pi/Desktop/images/11042025/16/38/image_11042025_16_38_24_9412.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351803830","1351804054","1351803778","1351804005","1351803741","1351803900"],"photo_ids_order":["1351803741","1351803778","1351803830","1351803900","1351804005","1351804054"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c349633f5910fa5670d93f8e6653f0ec.jpg","text":"TemporaryFile(/tmp/multipartBody1937417239120995455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744387893392,"filename":"image_11042025_16_37_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/11/d00a2c28c1b61cd67a32ff243e34c313.jpg","text":"TemporaryFile(/tmp/multipartBody5310161614952048298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744387893392,"filename":"image_11042025_16_38_24_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6d1eb2b508e672c1f19d625122b42486.jpg","text":"TemporaryFile(/tmp/multipartBody1340328886807106815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744387893392,"filename":"image_11042025_16_37_44_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/22bf95e03a0ddf58c5fbce3578fc799f.jpg","text":"TemporaryFile(/tmp/multipartBody4672106019731215154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744387893392,"filename":"image_11042025_16_38_15_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5cb74adbcbf1569e3f3246a9fa0e33c6.jpg","text":"TemporaryFile(/tmp/multipartBody8570030588790905259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744387893392,"filename":"image_11042025_16_37_34_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/abb2619d125d1e51758832a67f2b0339.jpg","text":"TemporaryFile(/tmp/multipartBody1535495010813490100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744387893392,"filename":"image_11042025_16_38_04_9391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351803830","file1":"1351803778","file0":"1351803741","file4":"1351804005","file5":"1351804054","file3":"1351803900"},"map_files_photo_id_array":[{"photo_id":"1351804054","filename":"file5"},{"photo_id":"1351803830","filename":"file2"},{"photo_id":"1351804005","filename":"file4"},{"photo_id":"1351803778","filename":"file1"},{"photo_id":"1351803741","filename":"file0"},{"photo_id":"1351803900","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351803830":["hashtag1","hashtag2"]},{"1351804054":["hashtag1","hashtag2"]},{"1351803778":["hashtag1","hashtag2"]},{"1351804005":["hashtag1","hashtag2"]},{"1351803741":["hashtag1","hashtag2"]},{"1351803900":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351803830, 1351804054, 1351803778, 1351804005, 1351803741, 1351803900)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.68111562728882 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 18:11:33.058267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/16/38/image_11042025_16_38_35_10366.jpg', '/home/pi/Desktop/images/11042025/16/38/image_11042025_16_38_45_10474.jpg', '/home/pi/Desktop/images/11042025/16/38/image_11042025_16_38_54_9359.jpg', '/home/pi/Desktop/images/11042025/16/38/image_11042025_16_39_05_10413.jpg', '/home/pi/Desktop/images/11042025/16/39/image_11042025_16_39_14_9413.jpg', '/home/pi/Desktop/images/11042025/16/39/image_11042025_16_39_25_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/16/38/image_11042025_16_38_35_10366.jpg
/home/pi/Desktop/images/11042025/16/38/image_11042025_16_38_45_10474.jpg
/home/pi/Desktop/images/11042025/16/38/image_11042025_16_38_54_9359.jpg
/home/pi/Desktop/images/11042025/16/38/image_11042025_16_39_05_10413.jpg
/home/pi/Desktop/images/11042025/16/39/image_11042025_16_39_14_9413.jpg
/home/pi/Desktop/images/11042025/16/39/image_11042025_16_39_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":["1351804238","1351804393","1351804324","1351804447","1351804482","1351804269"],"photo_ids_order":["1351804238","1351804269","1351804324","1351804393","1351804447","1351804482"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ea5bd93d573d53bab06b41db5a546f83.jpg","text":"TemporaryFile(/tmp/multipartBody5363852521942196997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744387953502,"filename":"image_11042025_16_38_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/11/9ac096e7ed3f851e300a423fae864446.jpg","text":"TemporaryFile(/tmp/multipartBody4875119351065862265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744387953502,"filename":"image_11042025_16_39_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/11/b05654fad44a93ae8c583cdd6bf49c5d.jpg","text":"TemporaryFile(/tmp/multipartBody6232898128446053086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744387953502,"filename":"image_11042025_16_38_54_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/542640b224ac6debd6af4b29c708f352.jpg","text":"TemporaryFile(/tmp/multipartBody8785890325560791034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744387953502,"filename":"image_11042025_16_39_14_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/11/ea983314a2483e620c7a13eb5335f508.jpg","text":"TemporaryFile(/tmp/multipartBody5050856592954796605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744387953502,"filename":"image_11042025_16_39_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/11/80a8859dcab2f07442cd681054b1f025.jpg","text":"TemporaryFile(/tmp/multipartBody4249654908312763439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744387953502,"filename":"image_11042025_16_38_45_10474.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351804324","file1":"1351804269","file0":"1351804238","file4":"1351804447","file5":"1351804482","file3":"1351804393"},"map_files_photo_id_array":[{"photo_id":"1351804482","filename":"file5"},{"photo_id":"1351804324","filename":"file2"},{"photo_id":"1351804447","filename":"file4"},{"photo_id":"1351804269","filename":"file1"},{"photo_id":"1351804238","filename":"file0"},{"photo_id":"1351804393","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351804238":["hashtag1","hashtag2"]},{"1351804393":["hashtag1","hashtag2"]},{"1351804324":["hashtag1","hashtag2"]},{"1351804447":["hashtag1","hashtag2"]},{"1351804482":["hashtag1","hashtag2"]},{"1351804269":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351804238, 1351804393, 1351804324, 1351804447, 1351804482, 1351804269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.806312799453735 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 18:12:32.346229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/16/39/image_11042025_16_39_35_10490.jpg', '/home/pi/Desktop/images/11042025/16/39/image_11042025_16_39_44_9353.jpg', '/home/pi/Desktop/images/11042025/16/39/image_11042025_16_39_55_10354.jpg', '/home/pi/Desktop/images/11042025/16/39/image_11042025_16_40_04_9419.jpg', '/home/pi/Desktop/images/11042025/16/40/image_11042025_16_40_15_10401.jpg', '/home/pi/Desktop/images/11042025/16/40/image_11042025_16_40_25_10493.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/16/39/image_11042025_16_39_35_10490.jpg
/home/pi/Desktop/images/11042025/16/39/image_11042025_16_39_44_9353.jpg
/home/pi/Desktop/images/11042025/16/39/image_11042025_16_39_55_10354.jpg
/home/pi/Desktop/images/11042025/16/39/image_11042025_16_40_04_9419.jpg
/home/pi/Desktop/images/11042025/16/40/image_11042025_16_40_15_10401.jpg
/home/pi/Desktop/images/11042025/16/40/image_11042025_16_40_25_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":["1351804981","1351804825","1351804881","1351805007","1351804757","1351804937"],"photo_ids_order":["1351804757","1351804825","1351804881","1351804937","1351804981","1351805007"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6124cc37217c38d58879aee4083c07a7.jpg","text":"TemporaryFile(/tmp/multipartBody3564579119792624761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388012808,"filename":"image_11042025_16_40_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/11/9d45aa8c6f2920985a7b7721a611fe95.jpg","text":"TemporaryFile(/tmp/multipartBody2379613607158326970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388012808,"filename":"image_11042025_16_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/11/4c1a3233332790fb1f0795a41e4800d1.jpg","text":"TemporaryFile(/tmp/multipartBody7690751383786085059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388012808,"filename":"image_11042025_16_39_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/11/9a36f43df0631f76a8b72afcbcef4db5.jpg","text":"TemporaryFile(/tmp/multipartBody4749945018675776077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388012808,"filename":"image_11042025_16_40_25_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/11/b8fabfe527e9b97648fcb1242e19510d.jpg","text":"TemporaryFile(/tmp/multipartBody1118193608382998315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388012808,"filename":"image_11042025_16_39_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/11/86fca89dabee94caa3f502c7ec2103fa.jpg","text":"TemporaryFile(/tmp/multipartBody2534467498564927664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388012808,"filename":"image_11042025_16_40_04_9419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351804881","file1":"1351804825","file0":"1351804757","file4":"1351804981","file5":"1351805007","file3":"1351804937"},"map_files_photo_id_array":[{"photo_id":"1351805007","filename":"file5"},{"photo_id":"1351804881","filename":"file2"},{"photo_id":"1351804981","filename":"file4"},{"photo_id":"1351804825","filename":"file1"},{"photo_id":"1351804757","filename":"file0"},{"photo_id":"1351804937","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351804981":["hashtag1","hashtag2"]},{"1351804825":["hashtag1","hashtag2"]},{"1351804881":["hashtag1","hashtag2"]},{"1351805007":["hashtag1","hashtag2"]},{"1351804757":["hashtag1","hashtag2"]},{"1351804937":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351804981, 1351804825, 1351804881, 1351805007, 1351804757, 1351804937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.71262788772583 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 18:13:32.719890
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/16/40/image_11042025_16_40_34_9407.jpg', '/home/pi/Desktop/images/11042025/16/40/image_11042025_16_40_45_10456.jpg', '/home/pi/Desktop/images/11042025/16/40/image_11042025_16_40_54_9351.jpg', '/home/pi/Desktop/images/11042025/16/40/image_11042025_16_41_05_10350.jpg', '/home/pi/Desktop/images/11042025/16/41/image_11042025_16_41_15_10454.jpg', '/home/pi/Desktop/images/11042025/16/41/image_11042025_16_41_24_9352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/16/40/image_11042025_16_40_34_9407.jpg
/home/pi/Desktop/images/11042025/16/40/image_11042025_16_40_45_10456.jpg
/home/pi/Desktop/images/11042025/16/40/image_11042025_16_40_54_9351.jpg
/home/pi/Desktop/images/11042025/16/40/image_11042025_16_41_05_10350.jpg
/home/pi/Desktop/images/11042025/16/41/image_11042025_16_41_15_10454.jpg
/home/pi/Desktop/images/11042025/16/41/image_11042025_16_41_24_9352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351805347","1351805260","1351805263","1351805314","1351805238","1351805270"],"photo_ids_order":["1351805238","1351805260","1351805263","1351805270","1351805314","1351805347"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a68adff733fde1da27f8a94fd35bec83.jpg","text":"TemporaryFile(/tmp/multipartBody6198634229477640268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388073180,"filename":"image_11042025_16_41_24_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2f5e463c4da9d1c9812921f80a65f245.jpg","text":"TemporaryFile(/tmp/multipartBody8638468191641031392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388073180,"filename":"image_11042025_16_40_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/11/f2334ae1ab6301a4f67f0465c348ff66.jpg","text":"TemporaryFile(/tmp/multipartBody182436228749739886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388073180,"filename":"image_11042025_16_40_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/11/3b4c056a48490a6a79bbdb1a84dd0681.jpg","text":"TemporaryFile(/tmp/multipartBody1920322033568634612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388073180,"filename":"image_11042025_16_41_15_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/655cd20a918f799f941774f57d7e6648.jpg","text":"TemporaryFile(/tmp/multipartBody5237729159153094034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388073180,"filename":"image_11042025_16_40_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/11/6b9e195cb2d78860013dcaa11255609c.jpg","text":"TemporaryFile(/tmp/multipartBody2669301932682950308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388073180,"filename":"image_11042025_16_41_05_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351805263","file1":"1351805260","file0":"1351805238","file4":"1351805314","file5":"1351805347","file3":"1351805270"},"map_files_photo_id_array":[{"photo_id":"1351805347","filename":"file5"},{"photo_id":"1351805263","filename":"file2"},{"photo_id":"1351805314","filename":"file4"},{"photo_id":"1351805260","filename":"file1"},{"photo_id":"1351805238","filename":"file0"},{"photo_id":"1351805270","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351805347":["hashtag1","hashtag2"]},{"1351805260":["hashtag1","hashtag2"]},{"1351805263":["hashtag1","hashtag2"]},{"1351805314":["hashtag1","hashtag2"]},{"1351805238":["hashtag1","hashtag2"]},{"1351805270":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351805347, 1351805260, 1351805263, 1351805314, 1351805238, 1351805270)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.82618856430054 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 18:14:32.693353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/16/41/image_11042025_16_41_35_10361.jpg', '/home/pi/Desktop/images/11042025/16/41/image_11042025_16_41_44_9403.jpg', '/home/pi/Desktop/images/11042025/16/41/image_11042025_16_41_55_10424.jpg', '/home/pi/Desktop/images/11042025/16/41/image_11042025_16_42_04_9468.jpg', '/home/pi/Desktop/images/11042025/16/42/image_11042025_16_42_15_10427.jpg', '/home/pi/Desktop/images/11042025/16/42/image_11042025_16_42_25_10438.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/16/41/image_11042025_16_41_35_10361.jpg
/home/pi/Desktop/images/11042025/16/41/image_11042025_16_41_44_9403.jpg
/home/pi/Desktop/images/11042025/16/41/image_11042025_16_41_55_10424.jpg
/home/pi/Desktop/images/11042025/16/41/image_11042025_16_42_04_9468.jpg
/home/pi/Desktop/images/11042025/16/42/image_11042025_16_42_15_10427.jpg
/home/pi/Desktop/images/11042025/16/42/image_11042025_16_42_25_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":["1351805842","1351805737","1351805580","1351805550","1351805616","1351805672"],"photo_ids_order":["1351805550","1351805580","1351805616","1351805672","1351805737","1351805842"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c9cf2c48a47ceb2a115b8f392f321109.jpg","text":"TemporaryFile(/tmp/multipartBody5922698083833887441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388133143,"filename":"image_11042025_16_42_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/11/ef524841ea95d294885c492c077e4ad5.jpg","text":"TemporaryFile(/tmp/multipartBody1271751716985031309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388133143,"filename":"image_11042025_16_42_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/11/547d15596bea17909065465600c11fe4.jpg","text":"TemporaryFile(/tmp/multipartBody3136473470063770286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388133143,"filename":"image_11042025_16_41_44_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1b4f528fb4a8f4bf984544ded7eeae90.jpg","text":"TemporaryFile(/tmp/multipartBody9005027066757284409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388133143,"filename":"image_11042025_16_41_35_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0dd354d2f97a0f7be109b49a1929e49a.jpg","text":"TemporaryFile(/tmp/multipartBody3755783856394311947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388133143,"filename":"image_11042025_16_41_55_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4e7aafcf7f87c203b8648cabdfd26b11.jpg","text":"TemporaryFile(/tmp/multipartBody3157430029239063004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388133143,"filename":"image_11042025_16_42_04_9468.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351805616","file1":"1351805580","file0":"1351805550","file4":"1351805737","file5":"1351805842","file3":"1351805672"},"map_files_photo_id_array":[{"photo_id":"1351805842","filename":"file5"},{"photo_id":"1351805616","filename":"file2"},{"photo_id":"1351805737","filename":"file4"},{"photo_id":"1351805580","filename":"file1"},{"photo_id":"1351805550","filename":"file0"},{"photo_id":"1351805672","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351805842":["hashtag1","hashtag2"]},{"1351805737":["hashtag1","hashtag2"]},{"1351805580":["hashtag1","hashtag2"]},{"1351805550":["hashtag1","hashtag2"]},{"1351805616":["hashtag1","hashtag2"]},{"1351805672":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351805842, 1351805737, 1351805580, 1351805550, 1351805616, 1351805672)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.96805024147034 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 18:15:32.978360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/16/42/image_11042025_16_42_34_9393.jpg', '/home/pi/Desktop/images/11042025/16/42/image_11042025_16_42_45_10440.jpg', '/home/pi/Desktop/images/11042025/16/42/image_11042025_16_42_54_9353.jpg', '/home/pi/Desktop/images/11042025/16/42/image_11042025_16_43_05_10371.jpg', '/home/pi/Desktop/images/11042025/16/43/image_11042025_16_43_15_10479.jpg', '/home/pi/Desktop/images/11042025/16/43/image_11042025_16_43_24_9452.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/16/42/image_11042025_16_42_34_9393.jpg
/home/pi/Desktop/images/11042025/16/42/image_11042025_16_42_45_10440.jpg
/home/pi/Desktop/images/11042025/16/42/image_11042025_16_42_54_9353.jpg
/home/pi/Desktop/images/11042025/16/42/image_11042025_16_43_05_10371.jpg
/home/pi/Desktop/images/11042025/16/43/image_11042025_16_43_15_10479.jpg
/home/pi/Desktop/images/11042025/16/43/image_11042025_16_43_24_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":["1351806315","1351806272","1351806155","1351806233","1351806175","1351806133"],"photo_ids_order":["1351806133","1351806155","1351806175","1351806233","1351806272","1351806315"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2a4490036632d59ce9ef41874388d5d6.jpg","text":"TemporaryFile(/tmp/multipartBody2546013569178508385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388193431,"filename":"image_11042025_16_43_24_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/11/b96663e1c04104cded53e343e8eb92a3.jpg","text":"TemporaryFile(/tmp/multipartBody5588826583189693092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388193431,"filename":"image_11042025_16_43_15_10479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/80c2dfab98a0691eda927de0ee019a0d.jpg","text":"TemporaryFile(/tmp/multipartBody6011392874295977548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388193431,"filename":"image_11042025_16_42_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/11/f418d15218b3a5d8da5303447e3902d9.jpg","text":"TemporaryFile(/tmp/multipartBody3163242321949903923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388193431,"filename":"image_11042025_16_43_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/11/d8cd3fd5c0ea2e9f95ee773b1062e9a6.jpg","text":"TemporaryFile(/tmp/multipartBody5643255010493218269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388193431,"filename":"image_11042025_16_42_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/11/c1147adda1cb2b87e98b221436be3cc6.jpg","text":"TemporaryFile(/tmp/multipartBody1978820866288497459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388193431,"filename":"image_11042025_16_42_34_9393.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351806175","file1":"1351806155","file0":"1351806133","file4":"1351806272","file5":"1351806315","file3":"1351806233"},"map_files_photo_id_array":[{"photo_id":"1351806315","filename":"file5"},{"photo_id":"1351806175","filename":"file2"},{"photo_id":"1351806272","filename":"file4"},{"photo_id":"1351806155","filename":"file1"},{"photo_id":"1351806133","filename":"file0"},{"photo_id":"1351806233","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351806315":["hashtag1","hashtag2"]},{"1351806272":["hashtag1","hashtag2"]},{"1351806155":["hashtag1","hashtag2"]},{"1351806233":["hashtag1","hashtag2"]},{"1351806175":["hashtag1","hashtag2"]},{"1351806133":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351806315, 1351806272, 1351806155, 1351806233, 1351806175, 1351806133)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.88574719429016 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 18:16:33.120503
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/16/43/image_11042025_16_43_35_10472.jpg', '/home/pi/Desktop/images/11042025/16/43/image_11042025_16_43_44_9387.jpg', '/home/pi/Desktop/images/11042025/16/43/image_11042025_16_43_55_10372.jpg', '/home/pi/Desktop/images/11042025/16/43/image_11042025_16_44_04_9463.jpg', '/home/pi/Desktop/images/11042025/16/44/image_11042025_16_44_15_10366.jpg', '/home/pi/Desktop/images/11042025/16/44/image_11042025_16_44_25_10406.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/16/43/image_11042025_16_43_35_10472.jpg
/home/pi/Desktop/images/11042025/16/43/image_11042025_16_43_44_9387.jpg
/home/pi/Desktop/images/11042025/16/43/image_11042025_16_43_55_10372.jpg
/home/pi/Desktop/images/11042025/16/43/image_11042025_16_44_04_9463.jpg
/home/pi/Desktop/images/11042025/16/44/image_11042025_16_44_15_10366.jpg
/home/pi/Desktop/images/11042025/16/44/image_11042025_16_44_25_10406.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351806786","1351806813","1351806695","1351806749","1351806835","1351806721"],"photo_ids_order":["1351806695","1351806721","1351806749","1351806786","1351806813","1351806835"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/66aeead6222457c784a2e3af359494f6.jpg","text":"TemporaryFile(/tmp/multipartBody1391921373187115100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388253649,"filename":"image_11042025_16_44_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/11/ae5eedb5a84fc27a60102355a19e65ba.jpg","text":"TemporaryFile(/tmp/multipartBody8551941312718075563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388253649,"filename":"image_11042025_16_44_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/11/34d8bf5e614b6b7fe9838077af269022.jpg","text":"TemporaryFile(/tmp/multipartBody4904084098677441141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388253649,"filename":"image_11042025_16_43_35_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/11/74ced8a0f013f8946483421a63cd943e.jpg","text":"TemporaryFile(/tmp/multipartBody2832776204238105054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388253649,"filename":"image_11042025_16_43_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/11/77454bda1cf92c7bee90c71c63e783fd.jpg","text":"TemporaryFile(/tmp/multipartBody3438635289134714778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388253649,"filename":"image_11042025_16_44_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/11/a8cadb54af0eca318b462ec0e0de8c11.jpg","text":"TemporaryFile(/tmp/multipartBody4631853734756560241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388253649,"filename":"image_11042025_16_43_44_9387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351806749","file1":"1351806721","file0":"1351806695","file4":"1351806813","file5":"1351806835","file3":"1351806786"},"map_files_photo_id_array":[{"photo_id":"1351806835","filename":"file5"},{"photo_id":"1351806749","filename":"file2"},{"photo_id":"1351806813","filename":"file4"},{"photo_id":"1351806721","filename":"file1"},{"photo_id":"1351806695","filename":"file0"},{"photo_id":"1351806786","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351806786":["hashtag1","hashtag2"]},{"1351806813":["hashtag1","hashtag2"]},{"1351806695":["hashtag1","hashtag2"]},{"1351806749":["hashtag1","hashtag2"]},{"1351806835":["hashtag1","hashtag2"]},{"1351806721":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351806786, 1351806813, 1351806695, 1351806749, 1351806835, 1351806721)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.563968896865845 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 18:17:32.391133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/16/44/image_11042025_16_44_34_9366.jpg', '/home/pi/Desktop/images/11042025/16/44/image_11042025_16_44_55_10398.jpg', '/home/pi/Desktop/images/11042025/16/44/image_11042025_16_45_04_9356.jpg', '/home/pi/Desktop/images/11042025/16/45/image_11042025_16_45_15_10370.jpg', '/home/pi/Desktop/images/11042025/16/45/image_11042025_16_45_24_9427.jpg', '/home/pi/Desktop/images/11042025/16/45/image_11042025_16_45_35_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/16/44/image_11042025_16_44_34_9366.jpg
/home/pi/Desktop/images/11042025/16/44/image_11042025_16_44_55_10398.jpg
/home/pi/Desktop/images/11042025/16/44/image_11042025_16_45_04_9356.jpg
/home/pi/Desktop/images/11042025/16/45/image_11042025_16_45_15_10370.jpg
/home/pi/Desktop/images/11042025/16/45/image_11042025_16_45_24_9427.jpg
/home/pi/Desktop/images/11042025/16/45/image_11042025_16_45_35_10361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351807422","1351807224","1351807352","1351807396","1351807450","1351807306"],"photo_ids_order":["1351807224","1351807306","1351807352","1351807396","1351807422","1351807450"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5e1d4d0b0fac6cdf120fb790db0780a6.jpg","text":"TemporaryFile(/tmp/multipartBody7987803866819560725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388312839,"filename":"image_11042025_16_45_24_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/11/b12790a0aa50b41607a2b3ab881a8337.jpg","text":"TemporaryFile(/tmp/multipartBody7209717043385655552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388312839,"filename":"image_11042025_16_44_34_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/30fe482e8fe365c33feae4a203d6c8c9.jpg","text":"TemporaryFile(/tmp/multipartBody3980601719102541532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388312839,"filename":"image_11042025_16_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/11/6a1c0eb7f34be375cd3f127c3c0e1f05.jpg","text":"TemporaryFile(/tmp/multipartBody1269464264649530713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388312839,"filename":"image_11042025_16_45_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/11/807f7666174c3619cdf6418e1152911b.jpg","text":"TemporaryFile(/tmp/multipartBody721747535094146868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388312839,"filename":"image_11042025_16_45_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/11/2f6f2679eaf72c8f88327a1ee4fd77ce.jpg","text":"TemporaryFile(/tmp/multipartBody2253921047323295308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388312839,"filename":"image_11042025_16_44_55_10398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351807352","file1":"1351807306","file0":"1351807224","file4":"1351807422","file5":"1351807450","file3":"1351807396"},"map_files_photo_id_array":[{"photo_id":"1351807450","filename":"file5"},{"photo_id":"1351807352","filename":"file2"},{"photo_id":"1351807422","filename":"file4"},{"photo_id":"1351807306","filename":"file1"},{"photo_id":"1351807224","filename":"file0"},{"photo_id":"1351807396","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351807422":["hashtag1","hashtag2"]},{"1351807224":["hashtag1","hashtag2"]},{"1351807352":["hashtag1","hashtag2"]},{"1351807396":["hashtag1","hashtag2"]},{"1351807450":["hashtag1","hashtag2"]},{"1351807306":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351807422, 1351807224, 1351807352, 1351807396, 1351807450, 1351807306)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.47991490364075 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 18:18:32.642136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/16/45/image_11042025_16_45_45_10426.jpg', '/home/pi/Desktop/images/11042025/16/45/image_11042025_16_45_54_9463.jpg', '/home/pi/Desktop/images/11042025/16/45/image_11042025_16_46_05_10462.jpg', '/home/pi/Desktop/images/11042025/16/46/image_11042025_16_46_14_9337.jpg', '/home/pi/Desktop/images/11042025/16/46/image_11042025_16_46_25_10362.jpg', '/home/pi/Desktop/images/11042025/16/46/image_11042025_16_46_35_10386.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/16/45/image_11042025_16_45_45_10426.jpg
/home/pi/Desktop/images/11042025/16/45/image_11042025_16_45_54_9463.jpg
/home/pi/Desktop/images/11042025/16/45/image_11042025_16_46_05_10462.jpg
/home/pi/Desktop/images/11042025/16/46/image_11042025_16_46_14_9337.jpg
/home/pi/Desktop/images/11042025/16/46/image_11042025_16_46_25_10362.jpg
/home/pi/Desktop/images/11042025/16/46/image_11042025_16_46_35_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":["1351808261","1351808357","1351808207","1351808024","1351808419","1351808454"],"photo_ids_order":["1351808024","1351808207","1351808261","1351808357","1351808419","1351808454"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d5672e947cac75aa57bcbdd64d084fab.jpg","text":"TemporaryFile(/tmp/multipartBody5434281291327594879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388373096,"filename":"image_11042025_16_46_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/11/0a241ba40a1a97190264af02e1259363.jpg","text":"TemporaryFile(/tmp/multipartBody3391488061439181663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388373096,"filename":"image_11042025_16_46_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/11/f271a6b02d83b1f890daa69c7f5498fe.jpg","text":"TemporaryFile(/tmp/multipartBody5546256518186591584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388373096,"filename":"image_11042025_16_45_54_9463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8a290fff0601b5bd7858702be84ba316.jpg","text":"TemporaryFile(/tmp/multipartBody7320307673430661487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388373096,"filename":"image_11042025_16_45_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/11/5a69ee95a94073e8617639c5612f9967.jpg","text":"TemporaryFile(/tmp/multipartBody8924883060561741656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388373096,"filename":"image_11042025_16_46_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/11/c8ff773a3bb93ad80486ce90f8fbc5cb.jpg","text":"TemporaryFile(/tmp/multipartBody712863486377398066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388373096,"filename":"image_11042025_16_46_35_10386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351808261","file1":"1351808207","file0":"1351808024","file4":"1351808419","file5":"1351808454","file3":"1351808357"},"map_files_photo_id_array":[{"photo_id":"1351808454","filename":"file5"},{"photo_id":"1351808261","filename":"file2"},{"photo_id":"1351808419","filename":"file4"},{"photo_id":"1351808207","filename":"file1"},{"photo_id":"1351808024","filename":"file0"},{"photo_id":"1351808357","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351808261":["hashtag1","hashtag2"]},{"1351808357":["hashtag1","hashtag2"]},{"1351808207":["hashtag1","hashtag2"]},{"1351808024":["hashtag1","hashtag2"]},{"1351808419":["hashtag1","hashtag2"]},{"1351808454":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351808261, 1351808357, 1351808207, 1351808024, 1351808419, 1351808454)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.051032066345215 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 18:19:32.800918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/16/46/image_11042025_16_46_44_9365.jpg', '/home/pi/Desktop/images/11042025/16/46/image_11042025_16_46_55_10381.jpg', '/home/pi/Desktop/images/11042025/16/46/image_11042025_16_47_04_9420.jpg', '/home/pi/Desktop/images/11042025/16/47/image_11042025_16_47_15_10359.jpg', '/home/pi/Desktop/images/11042025/16/47/image_11042025_16_47_25_10435.jpg', '/home/pi/Desktop/images/11042025/16/47/image_11042025_16_47_34_9358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/16/46/image_11042025_16_46_44_9365.jpg
/home/pi/Desktop/images/11042025/16/46/image_11042025_16_46_55_10381.jpg
/home/pi/Desktop/images/11042025/16/46/image_11042025_16_47_04_9420.jpg
/home/pi/Desktop/images/11042025/16/47/image_11042025_16_47_15_10359.jpg
/home/pi/Desktop/images/11042025/16/47/image_11042025_16_47_25_10435.jpg
/home/pi/Desktop/images/11042025/16/47/image_11042025_16_47_34_9358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351808983","1351808900","1351809202","1351809051","1351808856","1351809095"],"photo_ids_order":["1351808856","1351808900","1351808983","1351809051","1351809095","1351809202"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3c434441dc937917c14ff2bbdc24d61a.jpg","text":"TemporaryFile(/tmp/multipartBody3224784968186004501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388433258,"filename":"image_11042025_16_47_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/11/cc1c090c3a88bd410935e9e0e6137d5e.jpg","text":"TemporaryFile(/tmp/multipartBody5603756995333081573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388433258,"filename":"image_11042025_16_46_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/11/17d6504471f3ebc0a9cddb2f0f9f75cc.jpg","text":"TemporaryFile(/tmp/multipartBody1381860855231491189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388433258,"filename":"image_11042025_16_47_34_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4f857fa88f61e4c8ead737e686820e7c.jpg","text":"TemporaryFile(/tmp/multipartBody1346510798046755760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388433258,"filename":"image_11042025_16_47_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/11/785f41deed3532247374ce3e81fc8eff.jpg","text":"TemporaryFile(/tmp/multipartBody1384677116723049759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388433258,"filename":"image_11042025_16_46_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/11/e8515cbd569bd928d64536f6c546ca00.jpg","text":"TemporaryFile(/tmp/multipartBody2317234657643928616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388433258,"filename":"image_11042025_16_47_25_10435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351808983","file1":"1351808900","file0":"1351808856","file4":"1351809095","file5":"1351809202","file3":"1351809051"},"map_files_photo_id_array":[{"photo_id":"1351809202","filename":"file5"},{"photo_id":"1351808983","filename":"file2"},{"photo_id":"1351809095","filename":"file4"},{"photo_id":"1351808900","filename":"file1"},{"photo_id":"1351808856","filename":"file0"},{"photo_id":"1351809051","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351808983":["hashtag1","hashtag2"]},{"1351808900":["hashtag1","hashtag2"]},{"1351809202":["hashtag1","hashtag2"]},{"1351809051":["hashtag1","hashtag2"]},{"1351808856":["hashtag1","hashtag2"]},{"1351809095":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351808983, 1351808900, 1351809202, 1351809051, 1351808856, 1351809095)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.36018776893616 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 18:20:33.129248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/16/47/image_11042025_16_47_45_10399.jpg', '/home/pi/Desktop/images/11042025/16/47/image_11042025_16_47_54_9450.jpg', '/home/pi/Desktop/images/11042025/16/47/image_11042025_16_48_05_10351.jpg', '/home/pi/Desktop/images/11042025/16/48/image_11042025_16_48_15_10420.jpg', '/home/pi/Desktop/images/11042025/16/48/image_11042025_16_48_24_9380.jpg', '/home/pi/Desktop/images/11042025/16/48/image_11042025_16_48_35_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/16/47/image_11042025_16_47_45_10399.jpg
/home/pi/Desktop/images/11042025/16/47/image_11042025_16_47_54_9450.jpg
/home/pi/Desktop/images/11042025/16/47/image_11042025_16_48_05_10351.jpg
/home/pi/Desktop/images/11042025/16/48/image_11042025_16_48_15_10420.jpg
/home/pi/Desktop/images/11042025/16/48/image_11042025_16_48_24_9380.jpg
/home/pi/Desktop/images/11042025/16/48/image_11042025_16_48_35_10362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351809830","1351809664","1351809576","1351809960","1351810059","1351810146"],"photo_ids_order":["1351809576","1351809664","1351809830","1351809960","1351810059","1351810146"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2c20d5843160f61c32ffc48382fa588e.jpg","text":"TemporaryFile(/tmp/multipartBody7828716861364332444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388493586,"filename":"image_11042025_16_48_05_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b468fcc9c4856156985bb27bf618385e.jpg","text":"TemporaryFile(/tmp/multipartBody114332528500377976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388493586,"filename":"image_11042025_16_47_54_9450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c38b1d6fe45a793aae11e4056567a10f.jpg","text":"TemporaryFile(/tmp/multipartBody135753747419539240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388493586,"filename":"image_11042025_16_47_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/11/b0b782a1e0a44518c2f06a299de2ec50.jpg","text":"TemporaryFile(/tmp/multipartBody9094970922339465734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388493586,"filename":"image_11042025_16_48_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/11/f7e2fa8f730f6b932da5575f6422d4ac.jpg","text":"TemporaryFile(/tmp/multipartBody7632658431093679280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388493586,"filename":"image_11042025_16_48_24_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/16ba240d09a5348f9525013bdfe398a6.jpg","text":"TemporaryFile(/tmp/multipartBody8516513572677664368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388493586,"filename":"image_11042025_16_48_35_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351809830","file1":"1351809664","file0":"1351809576","file4":"1351810059","file5":"1351810146","file3":"1351809960"},"map_files_photo_id_array":[{"photo_id":"1351810146","filename":"file5"},{"photo_id":"1351809830","filename":"file2"},{"photo_id":"1351810059","filename":"file4"},{"photo_id":"1351809664","filename":"file1"},{"photo_id":"1351809576","filename":"file0"},{"photo_id":"1351809960","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351809830":["hashtag1","hashtag2"]},{"1351809664":["hashtag1","hashtag2"]},{"1351809576":["hashtag1","hashtag2"]},{"1351809960":["hashtag1","hashtag2"]},{"1351810059":["hashtag1","hashtag2"]},{"1351810146":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351809830, 1351809664, 1351809576, 1351809960, 1351810059, 1351810146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.48220944404602 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 18:21:32.212978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/16/48/image_11042025_16_48_45_10365.jpg', '/home/pi/Desktop/images/11042025/16/48/image_11042025_16_48_54_9358.jpg', '/home/pi/Desktop/images/11042025/16/48/image_11042025_16_49_05_10363.jpg', '/home/pi/Desktop/images/11042025/16/49/image_11042025_16_49_14_9353.jpg', '/home/pi/Desktop/images/11042025/16/49/image_11042025_16_49_24_10367.jpg', '/home/pi/Desktop/images/11042025/16/49/image_11042025_16_49_35_10421.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/16/48/image_11042025_16_48_45_10365.jpg
/home/pi/Desktop/images/11042025/16/48/image_11042025_16_48_54_9358.jpg
/home/pi/Desktop/images/11042025/16/48/image_11042025_16_49_05_10363.jpg
/home/pi/Desktop/images/11042025/16/49/image_11042025_16_49_14_9353.jpg
/home/pi/Desktop/images/11042025/16/49/image_11042025_16_49_24_10367.jpg
/home/pi/Desktop/images/11042025/16/49/image_11042025_16_49_35_10421.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351810681","1351810864","1351810561","1351810516","1351810794","1351810653"],"photo_ids_order":["1351810516","1351810561","1351810653","1351810681","1351810794","1351810864"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5fd0e65b7c67cb222ab074747fc72906.jpg","text":"TemporaryFile(/tmp/multipartBody3211747185160730993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388552671,"filename":"image_11042025_16_49_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/11/7f4dfc4c6954fb7b1c8e99470de7d243.jpg","text":"TemporaryFile(/tmp/multipartBody4063619242379713416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388552671,"filename":"image_11042025_16_49_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/11/ec0ed10c357a1a91a80d31d8fe847b73.jpg","text":"TemporaryFile(/tmp/multipartBody3316997687488646135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388552671,"filename":"image_11042025_16_48_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/11/56df197735ff5ad0c4084a83ee36c664.jpg","text":"TemporaryFile(/tmp/multipartBody3064695792722987003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388552671,"filename":"image_11042025_16_48_45_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6d3614ec5b64d6c1827ac1806f76afbb.jpg","text":"TemporaryFile(/tmp/multipartBody1729475950683886670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388552671,"filename":"image_11042025_16_49_24_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/19b990bc55151b7155e6f3cd7c7e8dd6.jpg","text":"TemporaryFile(/tmp/multipartBody1918337281317264756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388552671,"filename":"image_11042025_16_49_05_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351810653","file1":"1351810561","file0":"1351810516","file4":"1351810794","file5":"1351810864","file3":"1351810681"},"map_files_photo_id_array":[{"photo_id":"1351810864","filename":"file5"},{"photo_id":"1351810653","filename":"file2"},{"photo_id":"1351810794","filename":"file4"},{"photo_id":"1351810561","filename":"file1"},{"photo_id":"1351810516","filename":"file0"},{"photo_id":"1351810681","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351810681":["hashtag1","hashtag2"]},{"1351810864":["hashtag1","hashtag2"]},{"1351810561":["hashtag1","hashtag2"]},{"1351810516":["hashtag1","hashtag2"]},{"1351810794":["hashtag1","hashtag2"]},{"1351810653":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351810681, 1351810864, 1351810561, 1351810516, 1351810794, 1351810653)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.02820587158203 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 18:22:32.426571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/16/49/image_11042025_16_49_44_9418.jpg', '/home/pi/Desktop/images/11042025/16/49/image_11042025_16_49_55_10348.jpg', '/home/pi/Desktop/images/11042025/16/49/image_11042025_16_50_05_10372.jpg', '/home/pi/Desktop/images/11042025/16/50/image_11042025_16_50_25_10372.jpg', '/home/pi/Desktop/images/11042025/16/50/image_11042025_16_50_34_9453.jpg', '/home/pi/Desktop/images/11042025/16/50/image_11042025_16_50_45_10380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/16/49/image_11042025_16_49_44_9418.jpg
/home/pi/Desktop/images/11042025/16/49/image_11042025_16_49_55_10348.jpg
/home/pi/Desktop/images/11042025/16/49/image_11042025_16_50_05_10372.jpg
/home/pi/Desktop/images/11042025/16/50/image_11042025_16_50_25_10372.jpg
/home/pi/Desktop/images/11042025/16/50/image_11042025_16_50_34_9453.jpg
/home/pi/Desktop/images/11042025/16/50/image_11042025_16_50_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":["1351812259","1351812375","1351811707","1351811943","1351812176","1351811585"],"photo_ids_order":["1351811585","1351811707","1351811943","1351812176","1351812259","1351812375"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f9765459721a381cbf87da508d679f5d.jpg","text":"TemporaryFile(/tmp/multipartBody3410585307696633171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388612886,"filename":"image_11042025_16_50_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/11/b85b55888826b20653c906d92afbb37d.jpg","text":"TemporaryFile(/tmp/multipartBody2980230396456882894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388612886,"filename":"image_11042025_16_50_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/11/e175a1d47e6cff4a07d1141c362e07de.jpg","text":"TemporaryFile(/tmp/multipartBody3527351939398617628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388612886,"filename":"image_11042025_16_49_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/11/99a284fadd31b88796de87a9055a6207.jpg","text":"TemporaryFile(/tmp/multipartBody141861788277625640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388612886,"filename":"image_11042025_16_50_05_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/667627942f1c714323d780f419362f92.jpg","text":"TemporaryFile(/tmp/multipartBody2113555066319217084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388612886,"filename":"image_11042025_16_50_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/11/e5f98bf9501859ce1c3473294e0f042f.jpg","text":"TemporaryFile(/tmp/multipartBody8082735609063662403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388612886,"filename":"image_11042025_16_49_44_9418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351811943","file1":"1351811707","file0":"1351811585","file4":"1351812259","file5":"1351812375","file3":"1351812176"},"map_files_photo_id_array":[{"photo_id":"1351812375","filename":"file5"},{"photo_id":"1351811943","filename":"file2"},{"photo_id":"1351812259","filename":"file4"},{"photo_id":"1351811707","filename":"file1"},{"photo_id":"1351811585","filename":"file0"},{"photo_id":"1351812176","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351812259":["hashtag1","hashtag2"]},{"1351812375":["hashtag1","hashtag2"]},{"1351811707":["hashtag1","hashtag2"]},{"1351811943":["hashtag1","hashtag2"]},{"1351812176":["hashtag1","hashtag2"]},{"1351811585":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351812259, 1351812375, 1351811707, 1351811943, 1351812176, 1351811585)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.320265769958496 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 18:23:32.633025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/16/50/image_11042025_16_51_04_9422.jpg', '/home/pi/Desktop/images/11042025/16/51/image_11042025_16_51_15_10331.jpg', '/home/pi/Desktop/images/11042025/16/51/image_11042025_16_51_24_9341.jpg', '/home/pi/Desktop/images/11042025/16/51/image_11042025_16_51_35_10409.jpg', '/home/pi/Desktop/images/11042025/16/51/image_11042025_16_51_45_10440.jpg', '/home/pi/Desktop/images/11042025/16/51/image_11042025_16_52_05_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/16/50/image_11042025_16_51_04_9422.jpg
/home/pi/Desktop/images/11042025/16/51/image_11042025_16_51_15_10331.jpg
/home/pi/Desktop/images/11042025/16/51/image_11042025_16_51_24_9341.jpg
/home/pi/Desktop/images/11042025/16/51/image_11042025_16_51_35_10409.jpg
/home/pi/Desktop/images/11042025/16/51/image_11042025_16_51_45_10440.jpg
/home/pi/Desktop/images/11042025/16/51/image_11042025_16_52_05_10364.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351812873","1351813413","1351812954","1351813518","1351813088","1351812702"],"photo_ids_order":["1351812702","1351812873","1351812954","1351813088","1351813413","1351813518"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ccb8132363bc8e2a76a9f9ca9975b206.jpg","text":"TemporaryFile(/tmp/multipartBody992458041804337598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388673089,"filename":"image_11042025_16_51_15_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/938715925d6039b4f115a7664141fd20.jpg","text":"TemporaryFile(/tmp/multipartBody878189800047109863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388673089,"filename":"image_11042025_16_51_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/11/7f2545a84885dbd7af774cca1e6415c8.jpg","text":"TemporaryFile(/tmp/multipartBody4292186522834873597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388673089,"filename":"image_11042025_16_51_24_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/278bfb2ebc67a691d0a24b3698fe680c.jpg","text":"TemporaryFile(/tmp/multipartBody2753397697464407942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388673089,"filename":"image_11042025_16_52_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/11/45d5e20b7aa3736c60eef5e16ba10029.jpg","text":"TemporaryFile(/tmp/multipartBody5889495127554996320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388673089,"filename":"image_11042025_16_51_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/11/e1c487c56f875db66cf8f58ebb7dc33f.jpg","text":"TemporaryFile(/tmp/multipartBody7341196293847818658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388673089,"filename":"image_11042025_16_51_04_9422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351812954","file1":"1351812873","file0":"1351812702","file4":"1351813413","file5":"1351813518","file3":"1351813088"},"map_files_photo_id_array":[{"photo_id":"1351813518","filename":"file5"},{"photo_id":"1351812954","filename":"file2"},{"photo_id":"1351813413","filename":"file4"},{"photo_id":"1351812873","filename":"file1"},{"photo_id":"1351812702","filename":"file0"},{"photo_id":"1351813088","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351812873":["hashtag1","hashtag2"]},{"1351813413":["hashtag1","hashtag2"]},{"1351812954":["hashtag1","hashtag2"]},{"1351813518":["hashtag1","hashtag2"]},{"1351813088":["hashtag1","hashtag2"]},{"1351812702":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351812873, 1351813413, 1351812954, 1351813518, 1351813088, 1351812702)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 82.28995943069458 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 18:25:04.551457
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/16/52/image_11042025_16_52_14_9425.jpg', '/home/pi/Desktop/images/11042025/16/52/image_11042025_16_52_24_10383.jpg', '/home/pi/Desktop/images/11042025/16/52/image_11042025_16_52_35_10561.jpg', '/home/pi/Desktop/images/11042025/16/52/image_11042025_16_52_44_9378.jpg', '/home/pi/Desktop/images/11042025/16/52/image_11042025_16_52_55_10352.jpg', '/home/pi/Desktop/images/11042025/16/52/image_11042025_16_53_04_9424.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/16/52/image_11042025_16_52_14_9425.jpg
/home/pi/Desktop/images/11042025/16/52/image_11042025_16_52_24_10383.jpg
/home/pi/Desktop/images/11042025/16/52/image_11042025_16_52_35_10561.jpg
/home/pi/Desktop/images/11042025/16/52/image_11042025_16_52_44_9378.jpg
/home/pi/Desktop/images/11042025/16/52/image_11042025_16_52_55_10352.jpg
/home/pi/Desktop/images/11042025/16/52/image_11042025_16_53_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":["1351813945","1351814238","1351814130","1351814055","1351814520","1351814282"],"photo_ids_order":["1351813945","1351814055","1351814130","1351814238","1351814282","1351814520"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3aa407e0e116f660caf7ed5bf3f5ad51.jpg","text":"TemporaryFile(/tmp/multipartBody5982320076511369958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388765206,"filename":"image_11042025_16_52_14_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d91d99bada010d8c38709626fd7a296d.jpg","text":"TemporaryFile(/tmp/multipartBody8289970308777028442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388765206,"filename":"image_11042025_16_52_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/11/367fae6d84c99c30690f8df6f0bc7ee3.jpg","text":"TemporaryFile(/tmp/multipartBody5221977667186104340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388765206,"filename":"image_11042025_16_52_35_10561.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/69d6be0022143cbfd9efe60f53200d4c.jpg","text":"TemporaryFile(/tmp/multipartBody1585828647752594938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388765206,"filename":"image_11042025_16_52_24_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/11/c866688e814495c9bad71d899047d685.jpg","text":"TemporaryFile(/tmp/multipartBody3798275431306205479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388765206,"filename":"image_11042025_16_53_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/11/d014730579ae0f74157213cbeb332f2a.jpg","text":"TemporaryFile(/tmp/multipartBody4328124800461092046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388765206,"filename":"image_11042025_16_52_55_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351814130","file1":"1351814055","file0":"1351813945","file4":"1351814282","file5":"1351814520","file3":"1351814238"},"map_files_photo_id_array":[{"photo_id":"1351814520","filename":"file5"},{"photo_id":"1351814130","filename":"file2"},{"photo_id":"1351814282","filename":"file4"},{"photo_id":"1351814055","filename":"file1"},{"photo_id":"1351813945","filename":"file0"},{"photo_id":"1351814238","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351813945":["hashtag1","hashtag2"]},{"1351814238":["hashtag1","hashtag2"]},{"1351814130":["hashtag1","hashtag2"]},{"1351814055":["hashtag1","hashtag2"]},{"1351814520":["hashtag1","hashtag2"]},{"1351814282":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351813945, 1351814238, 1351814130, 1351814055, 1351814520, 1351814282)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.70905041694641 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 18:26:02.943668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/16/53/image_11042025_16_53_15_10352.jpg', '/home/pi/Desktop/images/11042025/16/53/image_11042025_16_53_25_10405.jpg', '/home/pi/Desktop/images/11042025/16/53/image_11042025_16_53_45_10357.jpg', '/home/pi/Desktop/images/11042025/16/53/image_11042025_16_53_55_10378.jpg', '/home/pi/Desktop/images/11042025/16/53/image_11042025_16_54_04_9367.jpg', '/home/pi/Desktop/images/11042025/16/54/image_11042025_16_54_15_10337.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/16/53/image_11042025_16_53_15_10352.jpg
/home/pi/Desktop/images/11042025/16/53/image_11042025_16_53_25_10405.jpg
/home/pi/Desktop/images/11042025/16/53/image_11042025_16_53_45_10357.jpg
/home/pi/Desktop/images/11042025/16/53/image_11042025_16_53_55_10378.jpg
/home/pi/Desktop/images/11042025/16/53/image_11042025_16_54_04_9367.jpg
/home/pi/Desktop/images/11042025/16/54/image_11042025_16_54_15_10337.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351814835","1351815035","1351814918","1351814797","1351815133","1351815285"],"photo_ids_order":["1351814797","1351814835","1351814918","1351815035","1351815133","1351815285"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3a062128cebecc39fc513dc02908acb7.jpg","text":"TemporaryFile(/tmp/multipartBody1601758049297708105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388823442,"filename":"image_11042025_16_53_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/11/b78987eca916ca4291c29abfba789e13.jpg","text":"TemporaryFile(/tmp/multipartBody6102166360103539281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388823442,"filename":"image_11042025_16_53_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/11/dc1b65ae980d679ac16bef7ee9d8cf69.jpg","text":"TemporaryFile(/tmp/multipartBody3156403923092272770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388823442,"filename":"image_11042025_16_53_45_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/060d1d037ba064a54fd844a99c02db12.jpg","text":"TemporaryFile(/tmp/multipartBody5840491815057074067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388823442,"filename":"image_11042025_16_53_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/11/eb449d049094a491bf1a905ed026beff.jpg","text":"TemporaryFile(/tmp/multipartBody1059385257789419904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388823442,"filename":"image_11042025_16_54_04_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1562f5f9ddb67e8a9f7b81720e2d0990.jpg","text":"TemporaryFile(/tmp/multipartBody7177528224720678029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388823442,"filename":"image_11042025_16_54_15_10337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351814918","file1":"1351814835","file0":"1351814797","file4":"1351815133","file5":"1351815285","file3":"1351815035"},"map_files_photo_id_array":[{"photo_id":"1351815285","filename":"file5"},{"photo_id":"1351814918","filename":"file2"},{"photo_id":"1351815133","filename":"file4"},{"photo_id":"1351814835","filename":"file1"},{"photo_id":"1351814797","filename":"file0"},{"photo_id":"1351815035","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351814835":["hashtag1","hashtag2"]},{"1351815035":["hashtag1","hashtag2"]},{"1351814918":["hashtag1","hashtag2"]},{"1351814797":["hashtag1","hashtag2"]},{"1351815133":["hashtag1","hashtag2"]},{"1351815285":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351814835, 1351815035, 1351814918, 1351814797, 1351815133, 1351815285)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.48745584487915 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 18:26:52.281782
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/16/54/image_11042025_16_54_24_9374.jpg', '/home/pi/Desktop/images/11042025/16/54/image_11042025_16_54_35_10372.jpg', '/home/pi/Desktop/images/11042025/16/54/image_11042025_16_54_45_10418.jpg', '/home/pi/Desktop/images/11042025/16/54/image_11042025_16_54_54_9404.jpg', '/home/pi/Desktop/images/11042025/16/54/image_11042025_16_55_05_10358.jpg', '/home/pi/Desktop/images/11042025/16/55/image_11042025_16_55_15_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/16/54/image_11042025_16_54_24_9374.jpg
/home/pi/Desktop/images/11042025/16/54/image_11042025_16_54_35_10372.jpg
/home/pi/Desktop/images/11042025/16/54/image_11042025_16_54_45_10418.jpg
/home/pi/Desktop/images/11042025/16/54/image_11042025_16_54_54_9404.jpg
/home/pi/Desktop/images/11042025/16/54/image_11042025_16_55_05_10358.jpg
/home/pi/Desktop/images/11042025/16/55/image_11042025_16_55_15_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":["1351816333","1351815658","1351816425","1351816176","1351816512","1351815843"],"photo_ids_order":["1351815658","1351815843","1351816176","1351816333","1351816425","1351816512"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a7d345287c76d19466e7573a4b3bc50b.jpg","text":"TemporaryFile(/tmp/multipartBody7930600228271504619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388872740,"filename":"image_11042025_16_54_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/11/fa6e2de88d2266a721442836669ff7b1.jpg","text":"TemporaryFile(/tmp/multipartBody2813203491152465780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388872740,"filename":"image_11042025_16_54_24_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1cba486937efc93c11021657011e27ac.jpg","text":"TemporaryFile(/tmp/multipartBody7860264227213681618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388872740,"filename":"image_11042025_16_55_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/11/c2427c2f422e4af253dfc7b6ffc63714.jpg","text":"TemporaryFile(/tmp/multipartBody9112310120845089067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388872740,"filename":"image_11042025_16_54_45_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/16a2900dc7a82ca23062c22175f1838c.jpg","text":"TemporaryFile(/tmp/multipartBody5748317564874820172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388872740,"filename":"image_11042025_16_55_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/11/4f4a865c43cececf0e7c411c1a4060f1.jpg","text":"TemporaryFile(/tmp/multipartBody2142876384570318687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388872740,"filename":"image_11042025_16_54_35_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351816176","file1":"1351815843","file0":"1351815658","file4":"1351816425","file5":"1351816512","file3":"1351816333"},"map_files_photo_id_array":[{"photo_id":"1351816512","filename":"file5"},{"photo_id":"1351816176","filename":"file2"},{"photo_id":"1351816425","filename":"file4"},{"photo_id":"1351815843","filename":"file1"},{"photo_id":"1351815658","filename":"file0"},{"photo_id":"1351816333","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351816333":["hashtag1","hashtag2"]},{"1351815658":["hashtag1","hashtag2"]},{"1351816425":["hashtag1","hashtag2"]},{"1351816176":["hashtag1","hashtag2"]},{"1351816512":["hashtag1","hashtag2"]},{"1351815843":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351816333, 1351815658, 1351816425, 1351816176, 1351816512, 1351815843)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.307838916778564 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 18:27:42.448500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/16/55/image_11042025_16_55_24_9389.jpg', '/home/pi/Desktop/images/11042025/16/55/image_11042025_16_55_35_10362.jpg', '/home/pi/Desktop/images/11042025/16/55/image_11042025_16_55_44_9394.jpg', '/home/pi/Desktop/images/11042025/16/55/image_11042025_16_55_55_10364.jpg', '/home/pi/Desktop/images/11042025/16/55/image_11042025_16_56_05_10441.jpg', '/home/pi/Desktop/images/11042025/16/56/image_11042025_16_56_14_9337.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/16/55/image_11042025_16_55_24_9389.jpg
/home/pi/Desktop/images/11042025/16/55/image_11042025_16_55_35_10362.jpg
/home/pi/Desktop/images/11042025/16/55/image_11042025_16_55_44_9394.jpg
/home/pi/Desktop/images/11042025/16/55/image_11042025_16_55_55_10364.jpg
/home/pi/Desktop/images/11042025/16/55/image_11042025_16_56_05_10441.jpg
/home/pi/Desktop/images/11042025/16/56/image_11042025_16_56_14_9337.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351817424","1351817142","1351816947","1351817279","1351816824","1351817177"],"photo_ids_order":["1351816824","1351816947","1351817142","1351817177","1351817279","1351817424"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/38eeea52d13f6de9532ab1ca355eab7f.jpg","text":"TemporaryFile(/tmp/multipartBody7419436898752739399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388922917,"filename":"image_11042025_16_56_14_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/40f0c0331dde51d7b877f001ae1b6bdf.jpg","text":"TemporaryFile(/tmp/multipartBody3510953753635946037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388922917,"filename":"image_11042025_16_55_44_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4d4d030071c7ed2334d3c665d59c2bbc.jpg","text":"TemporaryFile(/tmp/multipartBody8984349851197379522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388922917,"filename":"image_11042025_16_55_35_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4cb6168fe6b7581c64e2a7faffe3c55b.jpg","text":"TemporaryFile(/tmp/multipartBody6146333964953097953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388922917,"filename":"image_11042025_16_56_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/11/f178c4d9a6fdcbacc92554b964e8f18e.jpg","text":"TemporaryFile(/tmp/multipartBody6814721632153351836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388922917,"filename":"image_11042025_16_55_24_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/780ce0c7dee24f6d9c87b8496764965c.jpg","text":"TemporaryFile(/tmp/multipartBody4073449590750931530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388922917,"filename":"image_11042025_16_55_55_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351817142","file1":"1351816947","file0":"1351816824","file4":"1351817279","file5":"1351817424","file3":"1351817177"},"map_files_photo_id_array":[{"photo_id":"1351817424","filename":"file5"},{"photo_id":"1351817142","filename":"file2"},{"photo_id":"1351817279","filename":"file4"},{"photo_id":"1351816947","filename":"file1"},{"photo_id":"1351816824","filename":"file0"},{"photo_id":"1351817177","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351817424":["hashtag1","hashtag2"]},{"1351817142":["hashtag1","hashtag2"]},{"1351816947":["hashtag1","hashtag2"]},{"1351817279":["hashtag1","hashtag2"]},{"1351816824":["hashtag1","hashtag2"]},{"1351817177":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351817424, 1351817142, 1351816947, 1351817279, 1351816824, 1351817177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.21636700630188 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 18:28:32.714550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/16/56/image_11042025_16_56_25_10431.jpg', '/home/pi/Desktop/images/11042025/16/56/image_11042025_16_56_34_9423.jpg', '/home/pi/Desktop/images/11042025/16/56/image_11042025_16_56_45_10370.jpg', '/home/pi/Desktop/images/11042025/16/56/image_11042025_16_56_55_10494.jpg', '/home/pi/Desktop/images/11042025/16/56/image_11042025_16_57_04_9347.jpg', '/home/pi/Desktop/images/11042025/16/57/image_11042025_16_57_15_10484.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/16/56/image_11042025_16_56_25_10431.jpg
/home/pi/Desktop/images/11042025/16/56/image_11042025_16_56_34_9423.jpg
/home/pi/Desktop/images/11042025/16/56/image_11042025_16_56_45_10370.jpg
/home/pi/Desktop/images/11042025/16/56/image_11042025_16_56_55_10494.jpg
/home/pi/Desktop/images/11042025/16/56/image_11042025_16_57_04_9347.jpg
/home/pi/Desktop/images/11042025/16/57/image_11042025_16_57_15_10484.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351818184","1351818273","1351818189","1351818338","1351818434","1351818221"],"photo_ids_order":["1351818184","1351818189","1351818221","1351818273","1351818338","1351818434"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f403b5e7890c8760b2a9e20099206a83.jpg","text":"TemporaryFile(/tmp/multipartBody588357918339403836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388973288,"filename":"image_11042025_16_56_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/11/7dde7df9b3ba9bc2aab3e32d722042e4.jpg","text":"TemporaryFile(/tmp/multipartBody3099426702286045633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388973288,"filename":"image_11042025_16_56_55_10494.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b7a7b4ef5bcbc8215e8c993f14795c72.jpg","text":"TemporaryFile(/tmp/multipartBody848331764549393406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388973288,"filename":"image_11042025_16_56_34_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b01f763c8c0b187708b2c1239d9a497f.jpg","text":"TemporaryFile(/tmp/multipartBody4066847327407401716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388973288,"filename":"image_11042025_16_57_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/11/40eee061fe3b04b725724195f376967d.jpg","text":"TemporaryFile(/tmp/multipartBody8353843513574701119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388973288,"filename":"image_11042025_16_57_15_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/11/c388b19037f64b5eec77151951cf34d7.jpg","text":"TemporaryFile(/tmp/multipartBody2925854051652972156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744388973288,"filename":"image_11042025_16_56_45_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351818221","file1":"1351818189","file0":"1351818184","file4":"1351818338","file5":"1351818434","file3":"1351818273"},"map_files_photo_id_array":[{"photo_id":"1351818434","filename":"file5"},{"photo_id":"1351818221","filename":"file2"},{"photo_id":"1351818338","filename":"file4"},{"photo_id":"1351818189","filename":"file1"},{"photo_id":"1351818184","filename":"file0"},{"photo_id":"1351818273","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351818184":["hashtag1","hashtag2"]},{"1351818273":["hashtag1","hashtag2"]},{"1351818189":["hashtag1","hashtag2"]},{"1351818338":["hashtag1","hashtag2"]},{"1351818434":["hashtag1","hashtag2"]},{"1351818221":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351818184, 1351818273, 1351818189, 1351818338, 1351818434, 1351818221)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.28604459762573 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 18:29:32.888492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/16/57/image_11042025_16_57_24_9442.jpg', '/home/pi/Desktop/images/11042025/16/57/image_11042025_16_57_35_10423.jpg', '/home/pi/Desktop/images/11042025/16/57/image_11042025_16_57_44_9364.jpg', '/home/pi/Desktop/images/11042025/16/57/image_11042025_16_57_54_10364.jpg', '/home/pi/Desktop/images/11042025/16/57/image_11042025_16_58_05_10445.jpg', '/home/pi/Desktop/images/11042025/16/58/image_11042025_16_58_14_9357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/16/57/image_11042025_16_57_24_9442.jpg
/home/pi/Desktop/images/11042025/16/57/image_11042025_16_57_35_10423.jpg
/home/pi/Desktop/images/11042025/16/57/image_11042025_16_57_44_9364.jpg
/home/pi/Desktop/images/11042025/16/57/image_11042025_16_57_54_10364.jpg
/home/pi/Desktop/images/11042025/16/57/image_11042025_16_58_05_10445.jpg
/home/pi/Desktop/images/11042025/16/58/image_11042025_16_58_14_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":["1351819129","1351819052","1351818983","1351819346","1351819198","1351819462"],"photo_ids_order":["1351818983","1351819052","1351819129","1351819198","1351819346","1351819462"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/434f362451411974ac9fbd6e065050cf.jpg","text":"TemporaryFile(/tmp/multipartBody5741972801126876792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389033365,"filename":"image_11042025_16_57_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/11/8a2fe830a30f74c7c4e3c5f108659008.jpg","text":"TemporaryFile(/tmp/multipartBody6576930633379352346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389033365,"filename":"image_11042025_16_57_35_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e8ceccb61c27d7355713c465c77b1053.jpg","text":"TemporaryFile(/tmp/multipartBody4883588440960070578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389033365,"filename":"image_11042025_16_57_24_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9e5069807edb6e505255a9758888d268.jpg","text":"TemporaryFile(/tmp/multipartBody9118936988244349845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389033365,"filename":"image_11042025_16_58_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/11/9792483f96df456b22354c9897133dca.jpg","text":"TemporaryFile(/tmp/multipartBody7108136822700433890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389033365,"filename":"image_11042025_16_57_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/11/948a65ebd97fba7f09eb9507cbb6a613.jpg","text":"TemporaryFile(/tmp/multipartBody5570534506512419824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389033365,"filename":"image_11042025_16_58_14_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351819129","file1":"1351819052","file0":"1351818983","file4":"1351819346","file5":"1351819462","file3":"1351819198"},"map_files_photo_id_array":[{"photo_id":"1351819462","filename":"file5"},{"photo_id":"1351819129","filename":"file2"},{"photo_id":"1351819346","filename":"file4"},{"photo_id":"1351819052","filename":"file1"},{"photo_id":"1351818983","filename":"file0"},{"photo_id":"1351819198","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351819129":["hashtag1","hashtag2"]},{"1351819052":["hashtag1","hashtag2"]},{"1351818983":["hashtag1","hashtag2"]},{"1351819346":["hashtag1","hashtag2"]},{"1351819198":["hashtag1","hashtag2"]},{"1351819462":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351819129, 1351819052, 1351818983, 1351819346, 1351819198, 1351819462)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.00923013687134 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 18:30:32.228507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/16/58/image_11042025_16_58_25_10368.jpg', '/home/pi/Desktop/images/11042025/16/58/image_11042025_16_58_35_10380.jpg', '/home/pi/Desktop/images/11042025/16/58/image_11042025_16_58_44_9369.jpg', '/home/pi/Desktop/images/11042025/16/58/image_11042025_16_58_55_10347.jpg', '/home/pi/Desktop/images/11042025/16/58/image_11042025_16_59_04_9408.jpg', '/home/pi/Desktop/images/11042025/16/59/image_11042025_16_59_15_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/16/58/image_11042025_16_58_25_10368.jpg
/home/pi/Desktop/images/11042025/16/58/image_11042025_16_58_35_10380.jpg
/home/pi/Desktop/images/11042025/16/58/image_11042025_16_58_44_9369.jpg
/home/pi/Desktop/images/11042025/16/58/image_11042025_16_58_55_10347.jpg
/home/pi/Desktop/images/11042025/16/58/image_11042025_16_59_04_9408.jpg
/home/pi/Desktop/images/11042025/16/59/image_11042025_16_59_15_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":["1351820092","1351819989","1351819813","1351819909","1351820257","1351820197"],"photo_ids_order":["1351819813","1351819909","1351819989","1351820092","1351820197","1351820257"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/658bce861af4ec27a406c45f2963e9a2.jpg","text":"TemporaryFile(/tmp/multipartBody5845409139196930175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389092704,"filename":"image_11042025_16_58_55_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b58e60cd906e5c764d78dc2f567f3d91.jpg","text":"TemporaryFile(/tmp/multipartBody5998231499312865435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389092704,"filename":"image_11042025_16_58_44_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/faa4fad1361995ea6dc7c229f1c07eb1.jpg","text":"TemporaryFile(/tmp/multipartBody5164983948225638025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389092704,"filename":"image_11042025_16_58_25_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b0c75c8012e78c760dafa716e0762a0d.jpg","text":"TemporaryFile(/tmp/multipartBody667835180467505520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389092704,"filename":"image_11042025_16_58_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/11/6cb9c699b2b9a0607750ff3bd74683ea.jpg","text":"TemporaryFile(/tmp/multipartBody8297747499559651245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389092704,"filename":"image_11042025_16_59_15_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5f2927f9a0f225bdc626692b97768879.jpg","text":"TemporaryFile(/tmp/multipartBody6187441633740178935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389092704,"filename":"image_11042025_16_59_04_9408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351819989","file1":"1351819909","file0":"1351819813","file4":"1351820197","file5":"1351820257","file3":"1351820092"},"map_files_photo_id_array":[{"photo_id":"1351820257","filename":"file5"},{"photo_id":"1351819989","filename":"file2"},{"photo_id":"1351820197","filename":"file4"},{"photo_id":"1351819909","filename":"file1"},{"photo_id":"1351819813","filename":"file0"},{"photo_id":"1351820092","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351820092":["hashtag1","hashtag2"]},{"1351819989":["hashtag1","hashtag2"]},{"1351819813":["hashtag1","hashtag2"]},{"1351819909":["hashtag1","hashtag2"]},{"1351820257":["hashtag1","hashtag2"]},{"1351820197":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351820092, 1351819989, 1351819813, 1351819909, 1351820257, 1351820197)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.629130363464355 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 18:31:32.439619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/16/59/image_11042025_16_59_25_10443.jpg', '/home/pi/Desktop/images/11042025/16/59/image_11042025_16_59_34_9374.jpg', '/home/pi/Desktop/images/11042025/16/59/image_11042025_16_59_45_10375.jpg', '/home/pi/Desktop/images/11042025/17/00/image_11042025_17_00_16_10071.jpg', '/home/pi/Desktop/images/11042025/17/00/image_11042025_17_00_26_10355.jpg', '/home/pi/Desktop/images/11042025/17/00/image_11042025_17_00_37_10440.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/16/59/image_11042025_16_59_25_10443.jpg
/home/pi/Desktop/images/11042025/16/59/image_11042025_16_59_34_9374.jpg
/home/pi/Desktop/images/11042025/16/59/image_11042025_16_59_45_10375.jpg
/home/pi/Desktop/images/11042025/17/00/image_11042025_17_00_16_10071.jpg
/home/pi/Desktop/images/11042025/17/00/image_11042025_17_00_26_10355.jpg
/home/pi/Desktop/images/11042025/17/00/image_11042025_17_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":["1351820674","1351820704","1351820733","1351820588","1351820756","1351820825"],"photo_ids_order":["1351820588","1351820674","1351820704","1351820733","1351820756","1351820825"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c61959e751fd8be856e2579b8a92387d.jpg","text":"TemporaryFile(/tmp/multipartBody3545277555024926068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389152890,"filename":"image_11042025_16_59_34_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c22a41f68661195668118c209398f7b4.jpg","text":"TemporaryFile(/tmp/multipartBody5409483609377047069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389152890,"filename":"image_11042025_16_59_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/11/4ad339ccffcaf65814774a20a22304c9.jpg","text":"TemporaryFile(/tmp/multipartBody8504872947668823019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389152890,"filename":"image_11042025_17_00_16_10071.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0f5f771f3d2e940c0937652cc44e9b35.jpg","text":"TemporaryFile(/tmp/multipartBody7772321908028975623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389152890,"filename":"image_11042025_16_59_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/11/25ab8ec23fe2b29a3dcaf46b52f8eb09.jpg","text":"TemporaryFile(/tmp/multipartBody2836216359899663006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389152890,"filename":"image_11042025_17_00_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/11/e5c6dc1b721441d09da0bbfdc2c8b67b.jpg","text":"TemporaryFile(/tmp/multipartBody8605925963764287985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389152890,"filename":"image_11042025_17_00_37_10440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351820704","file1":"1351820674","file0":"1351820588","file4":"1351820756","file5":"1351820825","file3":"1351820733"},"map_files_photo_id_array":[{"photo_id":"1351820825","filename":"file5"},{"photo_id":"1351820704","filename":"file2"},{"photo_id":"1351820756","filename":"file4"},{"photo_id":"1351820674","filename":"file1"},{"photo_id":"1351820588","filename":"file0"},{"photo_id":"1351820733","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351820674":["hashtag1","hashtag2"]},{"1351820704":["hashtag1","hashtag2"]},{"1351820733":["hashtag1","hashtag2"]},{"1351820588":["hashtag1","hashtag2"]},{"1351820756":["hashtag1","hashtag2"]},{"1351820825":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351820674, 1351820704, 1351820733, 1351820588, 1351820756, 1351820825)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.337366580963135 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 18:32:32.657958
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/17/00/image_11042025_17_00_46_9333.jpg', '/home/pi/Desktop/images/11042025/17/00/image_11042025_17_00_57_10416.jpg', '/home/pi/Desktop/images/11042025/17/00/image_11042025_17_01_06_9467.jpg', '/home/pi/Desktop/images/11042025/17/01/image_11042025_17_01_16_10356.jpg', '/home/pi/Desktop/images/11042025/17/01/image_11042025_17_01_27_10444.jpg', '/home/pi/Desktop/images/11042025/17/01/image_11042025_17_01_36_9410.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/17/00/image_11042025_17_00_46_9333.jpg
/home/pi/Desktop/images/11042025/17/00/image_11042025_17_00_57_10416.jpg
/home/pi/Desktop/images/11042025/17/00/image_11042025_17_01_06_9467.jpg
/home/pi/Desktop/images/11042025/17/01/image_11042025_17_01_16_10356.jpg
/home/pi/Desktop/images/11042025/17/01/image_11042025_17_01_27_10444.jpg
/home/pi/Desktop/images/11042025/17/01/image_11042025_17_01_36_9410.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.38407039642333984 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 18:32:42.589448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/17/00/image_11042025_17_00_46_9333.jpg', '/home/pi/Desktop/images/11042025/17/00/image_11042025_17_00_57_10416.jpg', '/home/pi/Desktop/images/11042025/17/00/image_11042025_17_01_06_9467.jpg', '/home/pi/Desktop/images/11042025/17/01/image_11042025_17_01_16_10356.jpg', '/home/pi/Desktop/images/11042025/17/01/image_11042025_17_01_27_10444.jpg', '/home/pi/Desktop/images/11042025/17/01/image_11042025_17_01_36_9410.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/17/00/image_11042025_17_00_46_9333.jpg
/home/pi/Desktop/images/11042025/17/00/image_11042025_17_00_57_10416.jpg
/home/pi/Desktop/images/11042025/17/00/image_11042025_17_01_06_9467.jpg
/home/pi/Desktop/images/11042025/17/01/image_11042025_17_01_16_10356.jpg
/home/pi/Desktop/images/11042025/17/01/image_11042025_17_01_27_10444.jpg
/home/pi/Desktop/images/11042025/17/01/image_11042025_17_01_36_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":["1351821297","1351821392","1351821539","1351821676","1351821634","1351821463"],"photo_ids_order":["1351821297","1351821392","1351821463","1351821539","1351821634","1351821676"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6c676d2ecbf616e7661bf9d8098e14a7.jpg","text":"TemporaryFile(/tmp/multipartBody5719673306972731184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389223056,"filename":"image_11042025_17_00_46_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6cac9675b5f7ec587a1c752ba82720eb.jpg","text":"TemporaryFile(/tmp/multipartBody2647177557394746132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389223056,"filename":"image_11042025_17_00_57_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/cc556e40848d7111862e61cff49ebd44.jpg","text":"TemporaryFile(/tmp/multipartBody616894004136017005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389223056,"filename":"image_11042025_17_01_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/11/d1999e964bb9de6cefa9908926b2fc41.jpg","text":"TemporaryFile(/tmp/multipartBody446398709851204728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389223056,"filename":"image_11042025_17_01_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/11/35e893fd35d3bbb5cb077d77a74bec6a.jpg","text":"TemporaryFile(/tmp/multipartBody696919042768493440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389223056,"filename":"image_11042025_17_01_27_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3eb1e7a6975f45958f40203e24b7b352.jpg","text":"TemporaryFile(/tmp/multipartBody8480968871974801493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389223056,"filename":"image_11042025_17_01_06_9467.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351821463","file1":"1351821392","file0":"1351821297","file4":"1351821634","file5":"1351821676","file3":"1351821539"},"map_files_photo_id_array":[{"photo_id":"1351821676","filename":"file5"},{"photo_id":"1351821463","filename":"file2"},{"photo_id":"1351821634","filename":"file4"},{"photo_id":"1351821392","filename":"file1"},{"photo_id":"1351821297","filename":"file0"},{"photo_id":"1351821539","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351821297":["hashtag1","hashtag2"]},{"1351821392":["hashtag1","hashtag2"]},{"1351821539":["hashtag1","hashtag2"]},{"1351821676":["hashtag1","hashtag2"]},{"1351821634":["hashtag1","hashtag2"]},{"1351821463":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351821297, 1351821392, 1351821539, 1351821676, 1351821634, 1351821463)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.7857460975647 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 18:33:32.829071
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/17/01/image_11042025_17_01_47_10385.jpg', '/home/pi/Desktop/images/11042025/17/01/image_11042025_17_01_56_9444.jpg', '/home/pi/Desktop/images/11042025/17/01/image_11042025_17_02_06_10358.jpg', '/home/pi/Desktop/images/11042025/17/02/image_11042025_17_02_17_10354.jpg', '/home/pi/Desktop/images/11042025/17/02/image_11042025_17_02_26_9416.jpg', '/home/pi/Desktop/images/11042025/17/02/image_11042025_17_02_37_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/17/01/image_11042025_17_01_47_10385.jpg
/home/pi/Desktop/images/11042025/17/01/image_11042025_17_01_56_9444.jpg
/home/pi/Desktop/images/11042025/17/01/image_11042025_17_02_06_10358.jpg
/home/pi/Desktop/images/11042025/17/02/image_11042025_17_02_17_10354.jpg
/home/pi/Desktop/images/11042025/17/02/image_11042025_17_02_26_9416.jpg
/home/pi/Desktop/images/11042025/17/02/image_11042025_17_02_37_10353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351822300","1351822371","1351822137","1351822422","1351822337","1351822108"],"photo_ids_order":["1351822108","1351822137","1351822300","1351822337","1351822371","1351822422"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0ef95762f1ead6a59f50c149310edc9d.jpg","text":"TemporaryFile(/tmp/multipartBody716187139059400735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389273304,"filename":"image_11042025_17_02_06_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0ed65db9690f66743423f4acc870bc44.jpg","text":"TemporaryFile(/tmp/multipartBody2006772966053172096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389273304,"filename":"image_11042025_17_02_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/11/044aceb0f94a1047c25979a367f42e08.jpg","text":"TemporaryFile(/tmp/multipartBody8670138796028271977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389273304,"filename":"image_11042025_17_01_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/11/19b197900e7fbb58e8d037dcc5a46c2a.jpg","text":"TemporaryFile(/tmp/multipartBody4380062653911169630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389273304,"filename":"image_11042025_17_02_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/11/caf7801f8d866c6ca78ca8f85cb7700c.jpg","text":"TemporaryFile(/tmp/multipartBody5139544813409767223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389273304,"filename":"image_11042025_17_02_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/11/c7da73cfb0f38111dee7f38e2d5843ad.jpg","text":"TemporaryFile(/tmp/multipartBody4358546754305929418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389273304,"filename":"image_11042025_17_01_47_10385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351822300","file1":"1351822137","file0":"1351822108","file4":"1351822371","file5":"1351822422","file3":"1351822337"},"map_files_photo_id_array":[{"photo_id":"1351822422","filename":"file5"},{"photo_id":"1351822300","filename":"file2"},{"photo_id":"1351822371","filename":"file4"},{"photo_id":"1351822137","filename":"file1"},{"photo_id":"1351822108","filename":"file0"},{"photo_id":"1351822337","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351822300":["hashtag1","hashtag2"]},{"1351822371":["hashtag1","hashtag2"]},{"1351822137":["hashtag1","hashtag2"]},{"1351822422":["hashtag1","hashtag2"]},{"1351822337":["hashtag1","hashtag2"]},{"1351822108":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351822300, 1351822371, 1351822137, 1351822422, 1351822337, 1351822108)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.655855655670166 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 18:34:33.028228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/17/02/image_11042025_17_02_46_9447.jpg', '/home/pi/Desktop/images/11042025/17/02/image_11042025_17_02_56_10360.jpg', '/home/pi/Desktop/images/11042025/17/02/image_11042025_17_03_07_10337.jpg', '/home/pi/Desktop/images/11042025/17/03/image_11042025_17_03_16_9404.jpg', '/home/pi/Desktop/images/11042025/17/03/image_11042025_17_03_26_10401.jpg', '/home/pi/Desktop/images/11042025/17/03/image_11042025_17_03_36_9442.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/17/02/image_11042025_17_02_46_9447.jpg
/home/pi/Desktop/images/11042025/17/02/image_11042025_17_02_56_10360.jpg
/home/pi/Desktop/images/11042025/17/02/image_11042025_17_03_07_10337.jpg
/home/pi/Desktop/images/11042025/17/03/image_11042025_17_03_16_9404.jpg
/home/pi/Desktop/images/11042025/17/03/image_11042025_17_03_26_10401.jpg
/home/pi/Desktop/images/11042025/17/03/image_11042025_17_03_36_9442.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351822914","1351822815","1351822880","1351822775","1351822856","1351822730"],"photo_ids_order":["1351822730","1351822775","1351822815","1351822856","1351822880","1351822914"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8b17755c842f94f1abc6364e1af4584f.jpg","text":"TemporaryFile(/tmp/multipartBody8265361522445035091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389333485,"filename":"image_11042025_17_03_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/11/1630b4077d03b173e0117058db633d02.jpg","text":"TemporaryFile(/tmp/multipartBody8268975759485986440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389333485,"filename":"image_11042025_17_03_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/11/856654c1c4bf683f599ea8c04eee1c42.jpg","text":"TemporaryFile(/tmp/multipartBody6269463388897025575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389333485,"filename":"image_11042025_17_03_26_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/16573ed76471066f75948fa89cab2a77.jpg","text":"TemporaryFile(/tmp/multipartBody6886444877929243103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389333485,"filename":"image_11042025_17_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/11/e0c79214b8b4cbc3e8746c1ea4844214.jpg","text":"TemporaryFile(/tmp/multipartBody5015317432071460822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389333485,"filename":"image_11042025_17_03_16_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6328c440c10d84bb8c44ebee2d0e46a5.jpg","text":"TemporaryFile(/tmp/multipartBody1713581851922085923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389333485,"filename":"image_11042025_17_02_46_9447.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351822815","file1":"1351822775","file0":"1351822730","file4":"1351822880","file5":"1351822914","file3":"1351822856"},"map_files_photo_id_array":[{"photo_id":"1351822914","filename":"file5"},{"photo_id":"1351822815","filename":"file2"},{"photo_id":"1351822880","filename":"file4"},{"photo_id":"1351822775","filename":"file1"},{"photo_id":"1351822730","filename":"file0"},{"photo_id":"1351822856","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351822914":["hashtag1","hashtag2"]},{"1351822815":["hashtag1","hashtag2"]},{"1351822880":["hashtag1","hashtag2"]},{"1351822775":["hashtag1","hashtag2"]},{"1351822856":["hashtag1","hashtag2"]},{"1351822730":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351822914, 1351822815, 1351822880, 1351822775, 1351822856, 1351822730)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.4203200340271 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 18:35:32.139478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/17/03/image_11042025_17_03_46_10367.jpg', '/home/pi/Desktop/images/11042025/17/03/image_11042025_17_03_57_10361.jpg', '/home/pi/Desktop/images/11042025/17/03/image_11042025_17_04_06_9346.jpg', '/home/pi/Desktop/images/11042025/17/04/image_11042025_17_04_16_10338.jpg', '/home/pi/Desktop/images/11042025/17/04/image_11042025_17_04_27_10365.jpg', '/home/pi/Desktop/images/11042025/17/04/image_11042025_17_04_36_9458.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/17/03/image_11042025_17_03_46_10367.jpg
/home/pi/Desktop/images/11042025/17/03/image_11042025_17_03_57_10361.jpg
/home/pi/Desktop/images/11042025/17/03/image_11042025_17_04_06_9346.jpg
/home/pi/Desktop/images/11042025/17/04/image_11042025_17_04_16_10338.jpg
/home/pi/Desktop/images/11042025/17/04/image_11042025_17_04_27_10365.jpg
/home/pi/Desktop/images/11042025/17/04/image_11042025_17_04_36_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":["1351823445","1351823390","1351823330","1351823146","1351823190","1351823259"],"photo_ids_order":["1351823146","1351823190","1351823259","1351823330","1351823390","1351823445"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3d16a04fb36fe7244bea88873a288ee9.jpg","text":"TemporaryFile(/tmp/multipartBody4801507680386000870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389392595,"filename":"image_11042025_17_04_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/11/d157f6d23bf6ef230e621fc5daf38d58.jpg","text":"TemporaryFile(/tmp/multipartBody8373029638920815635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389392595,"filename":"image_11042025_17_04_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/11/59cf230d9b59db73a04b1a34aeb30602.jpg","text":"TemporaryFile(/tmp/multipartBody1818602654560252684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389392595,"filename":"image_11042025_17_04_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/11/48286949883bdda1b807ac4470abb1b0.jpg","text":"TemporaryFile(/tmp/multipartBody1428626017666324816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389392595,"filename":"image_11042025_17_03_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/11/0381a2a603f3200f405a8d08daed04e2.jpg","text":"TemporaryFile(/tmp/multipartBody110997562641610540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389392595,"filename":"image_11042025_17_03_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/11/dcf5dafd346881e5ab67ad0b63466fe7.jpg","text":"TemporaryFile(/tmp/multipartBody5751548449317642485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389392595,"filename":"image_11042025_17_04_06_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351823259","file1":"1351823190","file0":"1351823146","file4":"1351823390","file5":"1351823445","file3":"1351823330"},"map_files_photo_id_array":[{"photo_id":"1351823445","filename":"file5"},{"photo_id":"1351823259","filename":"file2"},{"photo_id":"1351823390","filename":"file4"},{"photo_id":"1351823190","filename":"file1"},{"photo_id":"1351823146","filename":"file0"},{"photo_id":"1351823330","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351823445":["hashtag1","hashtag2"]},{"1351823390":["hashtag1","hashtag2"]},{"1351823330":["hashtag1","hashtag2"]},{"1351823146":["hashtag1","hashtag2"]},{"1351823190":["hashtag1","hashtag2"]},{"1351823259":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351823445, 1351823390, 1351823330, 1351823146, 1351823190, 1351823259)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.2240309715271 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 18:36:32.260407
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/17/04/image_11042025_17_04_47_10479.jpg', '/home/pi/Desktop/images/11042025/17/04/image_11042025_17_04_56_9416.jpg', '/home/pi/Desktop/images/11042025/17/04/image_11042025_17_05_06_10353.jpg', '/home/pi/Desktop/images/11042025/17/05/image_11042025_17_05_16_9540.jpg', '/home/pi/Desktop/images/11042025/17/05/image_11042025_17_05_26_10382.jpg', '/home/pi/Desktop/images/11042025/17/05/image_11042025_17_05_37_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/17/04/image_11042025_17_04_47_10479.jpg
/home/pi/Desktop/images/11042025/17/04/image_11042025_17_04_56_9416.jpg
/home/pi/Desktop/images/11042025/17/04/image_11042025_17_05_06_10353.jpg
/home/pi/Desktop/images/11042025/17/05/image_11042025_17_05_16_9540.jpg
/home/pi/Desktop/images/11042025/17/05/image_11042025_17_05_26_10382.jpg
/home/pi/Desktop/images/11042025/17/05/image_11042025_17_05_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":["1351823835","1351823922","1351823855","1351823900","1351823874","1351823787"],"photo_ids_order":["1351823787","1351823835","1351823855","1351823874","1351823900","1351823922"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c60e1a3c4fa1189c6e9c1cd3f1a2a60c.jpg","text":"TemporaryFile(/tmp/multipartBody4995070989286844350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389452717,"filename":"image_11042025_17_04_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/11/3fc4cb018e69586d31fb7eb8cad0c9b9.jpg","text":"TemporaryFile(/tmp/multipartBody7177817089288186383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389452717,"filename":"image_11042025_17_05_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/11/3ec6dd70068a76debc5a1f110b64adca.jpg","text":"TemporaryFile(/tmp/multipartBody7972515198232675001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389452717,"filename":"image_11042025_17_05_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/11/06f00eaa95e7d7a45ec5f17b54d54dfe.jpg","text":"TemporaryFile(/tmp/multipartBody3037551996958704820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389452717,"filename":"image_11042025_17_05_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/11/26a3b59b7cc1fcc05310ef500604c04a.jpg","text":"TemporaryFile(/tmp/multipartBody3604806945844604758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389452717,"filename":"image_11042025_17_05_16_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/11/096c73a4c8ee6bca3cbe7055529aadeb.jpg","text":"TemporaryFile(/tmp/multipartBody9064160819708232189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389452717,"filename":"image_11042025_17_04_47_10479.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351823855","file1":"1351823835","file0":"1351823787","file4":"1351823900","file5":"1351823922","file3":"1351823874"},"map_files_photo_id_array":[{"photo_id":"1351823922","filename":"file5"},{"photo_id":"1351823855","filename":"file2"},{"photo_id":"1351823900","filename":"file4"},{"photo_id":"1351823835","filename":"file1"},{"photo_id":"1351823787","filename":"file0"},{"photo_id":"1351823874","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351823835":["hashtag1","hashtag2"]},{"1351823922":["hashtag1","hashtag2"]},{"1351823855":["hashtag1","hashtag2"]},{"1351823900":["hashtag1","hashtag2"]},{"1351823874":["hashtag1","hashtag2"]},{"1351823787":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351823835, 1351823922, 1351823855, 1351823900, 1351823874, 1351823787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.76679062843323 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 18:37:32.654031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/17/05/image_11042025_17_05_46_9344.jpg', '/home/pi/Desktop/images/11042025/17/05/image_11042025_17_05_56_10366.jpg', '/home/pi/Desktop/images/11042025/17/05/image_11042025_17_06_07_10349.jpg', '/home/pi/Desktop/images/11042025/17/06/image_11042025_17_06_26_9370.jpg', '/home/pi/Desktop/images/11042025/17/06/image_11042025_17_06_36_10352.jpg', '/home/pi/Desktop/images/11042025/17/06/image_11042025_17_06_46_9452.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/17/05/image_11042025_17_05_46_9344.jpg
/home/pi/Desktop/images/11042025/17/05/image_11042025_17_05_56_10366.jpg
/home/pi/Desktop/images/11042025/17/05/image_11042025_17_06_07_10349.jpg
/home/pi/Desktop/images/11042025/17/06/image_11042025_17_06_26_9370.jpg
/home/pi/Desktop/images/11042025/17/06/image_11042025_17_06_36_10352.jpg
/home/pi/Desktop/images/11042025/17/06/image_11042025_17_06_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":["1351824716","1351824460","1351824541","1351824783","1351824624","1351824386"],"photo_ids_order":["1351824386","1351824460","1351824541","1351824624","1351824716","1351824783"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/07b9a1dcae05d9bc5751e6693bedbcbd.jpg","text":"TemporaryFile(/tmp/multipartBody2509530026336664741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389513116,"filename":"image_11042025_17_06_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/11/d83eddde445755e06387189a84bd05ba.jpg","text":"TemporaryFile(/tmp/multipartBody3712675924697611993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389513116,"filename":"image_11042025_17_05_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/11/3134893747170f131cb0204a245cfa9f.jpg","text":"TemporaryFile(/tmp/multipartBody4954875395762532210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389513116,"filename":"image_11042025_17_06_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/11/d258e8f0996686ee47a5caad812472b7.jpg","text":"TemporaryFile(/tmp/multipartBody7321148024124581799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389513116,"filename":"image_11042025_17_06_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/11/34f374ced9168895b88cbe884afcc8de.jpg","text":"TemporaryFile(/tmp/multipartBody2647694269609688665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389513116,"filename":"image_11042025_17_06_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/11/96b0f39a07ba9dae8a6621d688723f7e.jpg","text":"TemporaryFile(/tmp/multipartBody1637181504288846631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389513116,"filename":"image_11042025_17_05_46_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351824541","file1":"1351824460","file0":"1351824386","file4":"1351824716","file5":"1351824783","file3":"1351824624"},"map_files_photo_id_array":[{"photo_id":"1351824783","filename":"file5"},{"photo_id":"1351824541","filename":"file2"},{"photo_id":"1351824716","filename":"file4"},{"photo_id":"1351824460","filename":"file1"},{"photo_id":"1351824386","filename":"file0"},{"photo_id":"1351824624","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351824716":["hashtag1","hashtag2"]},{"1351824460":["hashtag1","hashtag2"]},{"1351824541":["hashtag1","hashtag2"]},{"1351824783":["hashtag1","hashtag2"]},{"1351824624":["hashtag1","hashtag2"]},{"1351824386":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351824716, 1351824460, 1351824541, 1351824783, 1351824624, 1351824386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.43199038505554 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 18:38:32.790060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/17/06/image_11042025_17_06_56_10380.jpg', '/home/pi/Desktop/images/11042025/17/06/image_11042025_17_07_07_10356.jpg', '/home/pi/Desktop/images/11042025/17/07/image_11042025_17_07_16_9356.jpg', '/home/pi/Desktop/images/11042025/17/07/image_11042025_17_07_26_10353.jpg', '/home/pi/Desktop/images/11042025/17/07/image_11042025_17_07_37_10356.jpg', '/home/pi/Desktop/images/11042025/17/07/image_11042025_17_07_46_9425.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/17/06/image_11042025_17_06_56_10380.jpg
/home/pi/Desktop/images/11042025/17/06/image_11042025_17_07_07_10356.jpg
/home/pi/Desktop/images/11042025/17/07/image_11042025_17_07_16_9356.jpg
/home/pi/Desktop/images/11042025/17/07/image_11042025_17_07_26_10353.jpg
/home/pi/Desktop/images/11042025/17/07/image_11042025_17_07_37_10356.jpg
/home/pi/Desktop/images/11042025/17/07/image_11042025_17_07_46_9425.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351825348","1351825258","1351825386","1351825299","1351825434","1351825481"],"photo_ids_order":["1351825258","1351825299","1351825348","1351825386","1351825434","1351825481"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d1cf427a0c8d7df77907364b892606d2.jpg","text":"TemporaryFile(/tmp/multipartBody5295804129877846298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389573245,"filename":"image_11042025_17_07_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/11/0fd6551951f25581d7741068dba65626.jpg","text":"TemporaryFile(/tmp/multipartBody5193688818677167990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389573245,"filename":"image_11042025_17_06_56_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f8f4d5b4d206d3747665230bbc0dfec2.jpg","text":"TemporaryFile(/tmp/multipartBody540955734477520862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389573245,"filename":"image_11042025_17_07_26_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a7e3cbf4417ccfa50b1b13c654432830.jpg","text":"TemporaryFile(/tmp/multipartBody3372316892211113679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389573245,"filename":"image_11042025_17_07_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/11/082acfb86a21cb9dc1b2e509e874397c.jpg","text":"TemporaryFile(/tmp/multipartBody8552217310675666438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389573245,"filename":"image_11042025_17_07_37_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2a1ca900ba400cca5c837ff02b787ba0.jpg","text":"TemporaryFile(/tmp/multipartBody4909299034575935015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389573245,"filename":"image_11042025_17_07_46_9425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351825348","file1":"1351825299","file0":"1351825258","file4":"1351825434","file5":"1351825481","file3":"1351825386"},"map_files_photo_id_array":[{"photo_id":"1351825481","filename":"file5"},{"photo_id":"1351825348","filename":"file2"},{"photo_id":"1351825434","filename":"file4"},{"photo_id":"1351825299","filename":"file1"},{"photo_id":"1351825258","filename":"file0"},{"photo_id":"1351825386","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351825348":["hashtag1","hashtag2"]},{"1351825258":["hashtag1","hashtag2"]},{"1351825386":["hashtag1","hashtag2"]},{"1351825299":["hashtag1","hashtag2"]},{"1351825434":["hashtag1","hashtag2"]},{"1351825481":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351825348, 1351825258, 1351825386, 1351825299, 1351825434, 1351825481)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.72594475746155 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 18:39:33.017181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/17/07/image_11042025_17_07_57_10363.jpg', '/home/pi/Desktop/images/11042025/17/07/image_11042025_17_08_07_10392.jpg', '/home/pi/Desktop/images/11042025/17/08/image_11042025_17_08_27_10362.jpg', '/home/pi/Desktop/images/11042025/17/08/image_11042025_17_08_36_9345.jpg', '/home/pi/Desktop/images/11042025/17/08/image_11042025_17_08_46_10421.jpg', '/home/pi/Desktop/images/11042025/17/08/image_11042025_17_08_57_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/17/07/image_11042025_17_07_57_10363.jpg
/home/pi/Desktop/images/11042025/17/07/image_11042025_17_08_07_10392.jpg
/home/pi/Desktop/images/11042025/17/08/image_11042025_17_08_27_10362.jpg
/home/pi/Desktop/images/11042025/17/08/image_11042025_17_08_36_9345.jpg
/home/pi/Desktop/images/11042025/17/08/image_11042025_17_08_46_10421.jpg
/home/pi/Desktop/images/11042025/17/08/image_11042025_17_08_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":["1351825897","1351825779","1351825689","1351825830","1351825874","1351825730"],"photo_ids_order":["1351825689","1351825730","1351825779","1351825830","1351825874","1351825897"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/233d7daba49393eed06a77a82174c41d.jpg","text":"TemporaryFile(/tmp/multipartBody1510805831812019982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389633475,"filename":"image_11042025_17_08_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/11/09bf24ae032340c704d9a9e7a2d55d95.jpg","text":"TemporaryFile(/tmp/multipartBody5006392003917144271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389633475,"filename":"image_11042025_17_08_27_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b268fe7b804bfd5dbe4a2899b814f9c8.jpg","text":"TemporaryFile(/tmp/multipartBody253076638869794489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389633475,"filename":"image_11042025_17_07_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/11/bd3d6bd8d98543474f6c927543925b4c.jpg","text":"TemporaryFile(/tmp/multipartBody6746745188104504761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389633475,"filename":"image_11042025_17_08_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/11/1dd60ab30a9f9322492d02b9b57c0db5.jpg","text":"TemporaryFile(/tmp/multipartBody9197884599931708130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389633475,"filename":"image_11042025_17_08_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/11/2bfcf33c3a0bfd80a6a991d259c50b7f.jpg","text":"TemporaryFile(/tmp/multipartBody2233230114690723089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389633475,"filename":"image_11042025_17_08_07_10392.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351825779","file1":"1351825730","file0":"1351825689","file4":"1351825874","file5":"1351825897","file3":"1351825830"},"map_files_photo_id_array":[{"photo_id":"1351825897","filename":"file5"},{"photo_id":"1351825779","filename":"file2"},{"photo_id":"1351825874","filename":"file4"},{"photo_id":"1351825730","filename":"file1"},{"photo_id":"1351825689","filename":"file0"},{"photo_id":"1351825830","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351825897":["hashtag1","hashtag2"]},{"1351825779":["hashtag1","hashtag2"]},{"1351825689":["hashtag1","hashtag2"]},{"1351825830":["hashtag1","hashtag2"]},{"1351825874":["hashtag1","hashtag2"]},{"1351825730":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351825897, 1351825779, 1351825689, 1351825830, 1351825874, 1351825730)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.12675189971924 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 18:40:32.136729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/17/08/image_11042025_17_09_06_9374.jpg', '/home/pi/Desktop/images/11042025/17/09/image_11042025_17_09_17_10346.jpg', '/home/pi/Desktop/images/11042025/17/09/image_11042025_17_09_26_9414.jpg', '/home/pi/Desktop/images/11042025/17/09/image_11042025_17_09_36_10368.jpg', '/home/pi/Desktop/images/11042025/17/09/image_11042025_17_09_47_10357.jpg', '/home/pi/Desktop/images/11042025/17/09/image_11042025_17_09_56_9459.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/17/08/image_11042025_17_09_06_9374.jpg
/home/pi/Desktop/images/11042025/17/09/image_11042025_17_09_17_10346.jpg
/home/pi/Desktop/images/11042025/17/09/image_11042025_17_09_26_9414.jpg
/home/pi/Desktop/images/11042025/17/09/image_11042025_17_09_36_10368.jpg
/home/pi/Desktop/images/11042025/17/09/image_11042025_17_09_47_10357.jpg
/home/pi/Desktop/images/11042025/17/09/image_11042025_17_09_56_9459.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351826362","1351826227","1351826337","1351826244","1351826307","1351826279"],"photo_ids_order":["1351826227","1351826244","1351826279","1351826307","1351826337","1351826362"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a14b67d6c75b2524e58196043dbee089.jpg","text":"TemporaryFile(/tmp/multipartBody5114818263236605694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389692595,"filename":"image_11042025_17_09_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/11/6a388c727286546030f9086f0a8e6b98.jpg","text":"TemporaryFile(/tmp/multipartBody3338252636970913385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389692595,"filename":"image_11042025_17_09_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/11/77c78f0f27c4f43953bf8afc5250ccd9.jpg","text":"TemporaryFile(/tmp/multipartBody8823700348749757629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389692595,"filename":"image_11042025_17_09_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/11/1690475ff576b61a9c40d3b9a3d11870.jpg","text":"TemporaryFile(/tmp/multipartBody877190904447605072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389692595,"filename":"image_11042025_17_09_17_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/505b755761009b8f2d4299f2e1733851.jpg","text":"TemporaryFile(/tmp/multipartBody1134759750475207810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389692595,"filename":"image_11042025_17_09_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/11/c6eb7c5dded76d887940ce5815f844d8.jpg","text":"TemporaryFile(/tmp/multipartBody6113270488165442170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389692595,"filename":"image_11042025_17_09_26_9414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351826279","file1":"1351826244","file0":"1351826227","file4":"1351826337","file5":"1351826362","file3":"1351826307"},"map_files_photo_id_array":[{"photo_id":"1351826362","filename":"file5"},{"photo_id":"1351826279","filename":"file2"},{"photo_id":"1351826337","filename":"file4"},{"photo_id":"1351826244","filename":"file1"},{"photo_id":"1351826227","filename":"file0"},{"photo_id":"1351826307","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351826362":["hashtag1","hashtag2"]},{"1351826227":["hashtag1","hashtag2"]},{"1351826337":["hashtag1","hashtag2"]},{"1351826244":["hashtag1","hashtag2"]},{"1351826307":["hashtag1","hashtag2"]},{"1351826279":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351826362, 1351826227, 1351826337, 1351826244, 1351826307, 1351826279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.733036518096924 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 18:41:32.424746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/17/09/image_11042025_17_10_06_10346.jpg', '/home/pi/Desktop/images/11042025/17/10/image_11042025_17_10_17_10432.jpg', '/home/pi/Desktop/images/11042025/17/10/image_11042025_17_10_26_9350.jpg', '/home/pi/Desktop/images/11042025/17/10/image_11042025_17_10_37_10361.jpg', '/home/pi/Desktop/images/11042025/17/10/image_11042025_17_10_46_9423.jpg', '/home/pi/Desktop/images/11042025/17/11/image_11042025_17_11_16_9448.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/17/09/image_11042025_17_10_06_10346.jpg
/home/pi/Desktop/images/11042025/17/10/image_11042025_17_10_17_10432.jpg
/home/pi/Desktop/images/11042025/17/10/image_11042025_17_10_26_9350.jpg
/home/pi/Desktop/images/11042025/17/10/image_11042025_17_10_37_10361.jpg
/home/pi/Desktop/images/11042025/17/10/image_11042025_17_10_46_9423.jpg
/home/pi/Desktop/images/11042025/17/11/image_11042025_17_11_16_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":["1351826551","1351826706","1351826681","1351826597","1351826508","1351826639"],"photo_ids_order":["1351826508","1351826551","1351826597","1351826639","1351826681","1351826706"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/57bf860ef85633befa07b37881b0a880.jpg","text":"TemporaryFile(/tmp/multipartBody8859667821246925206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389752878,"filename":"image_11042025_17_10_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/11/7d0043b556bcb238f619a8f61c52fad2.jpg","text":"TemporaryFile(/tmp/multipartBody860625418410252596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389752878,"filename":"image_11042025_17_11_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/11/e825a7ca1961a7170e4ebb6ea4e58064.jpg","text":"TemporaryFile(/tmp/multipartBody9167813533072198411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389752878,"filename":"image_11042025_17_10_46_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9b9bec09b86a889cae25f92f2983ff12.jpg","text":"TemporaryFile(/tmp/multipartBody5276442283110146940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389752878,"filename":"image_11042025_17_10_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/11/4900a00c7ed1695a412bb2ff4115488b.jpg","text":"TemporaryFile(/tmp/multipartBody5648516035866444722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389752878,"filename":"image_11042025_17_10_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/11/4131d0f656d8c1b987933dc049c58df8.jpg","text":"TemporaryFile(/tmp/multipartBody8244863145402514888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389752878,"filename":"image_11042025_17_10_37_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351826597","file1":"1351826551","file0":"1351826508","file4":"1351826681","file5":"1351826706","file3":"1351826639"},"map_files_photo_id_array":[{"photo_id":"1351826706","filename":"file5"},{"photo_id":"1351826597","filename":"file2"},{"photo_id":"1351826681","filename":"file4"},{"photo_id":"1351826551","filename":"file1"},{"photo_id":"1351826508","filename":"file0"},{"photo_id":"1351826639","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351826551":["hashtag1","hashtag2"]},{"1351826706":["hashtag1","hashtag2"]},{"1351826681":["hashtag1","hashtag2"]},{"1351826597":["hashtag1","hashtag2"]},{"1351826508":["hashtag1","hashtag2"]},{"1351826639":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351826551, 1351826706, 1351826681, 1351826597, 1351826508, 1351826639)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.15910720825195 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 18:42:32.498975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/17/11/image_11042025_17_11_27_10382.jpg', '/home/pi/Desktop/images/11042025/17/11/image_11042025_17_11_36_9442.jpg', '/home/pi/Desktop/images/11042025/17/11/image_11042025_17_11_46_10367.jpg', '/home/pi/Desktop/images/11042025/17/11/image_11042025_17_11_57_10365.jpg', '/home/pi/Desktop/images/11042025/17/11/image_11042025_17_12_06_9338.jpg', '/home/pi/Desktop/images/11042025/17/12/image_11042025_17_12_17_10420.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/17/11/image_11042025_17_11_27_10382.jpg
/home/pi/Desktop/images/11042025/17/11/image_11042025_17_11_36_9442.jpg
/home/pi/Desktop/images/11042025/17/11/image_11042025_17_11_46_10367.jpg
/home/pi/Desktop/images/11042025/17/11/image_11042025_17_11_57_10365.jpg
/home/pi/Desktop/images/11042025/17/11/image_11042025_17_12_06_9338.jpg
/home/pi/Desktop/images/11042025/17/12/image_11042025_17_12_17_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":["1351826985","1351827027","1351827098","1351827035","1351827017","1351827163"],"photo_ids_order":["1351826985","1351827017","1351827027","1351827035","1351827098","1351827163"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/00ea7108cf0cdb0bc26f5ef3cfb23bf3.jpg","text":"TemporaryFile(/tmp/multipartBody7538232968935650126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389812972,"filename":"image_11042025_17_11_27_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/68eef98c39839eedd43f526ccbaa2d80.jpg","text":"TemporaryFile(/tmp/multipartBody2027626971871569640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389812972,"filename":"image_11042025_17_11_46_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/25e694ce09be5939ce7e25e08e104942.jpg","text":"TemporaryFile(/tmp/multipartBody452688889641925975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389812972,"filename":"image_11042025_17_12_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/11/3ee424edbfb1495aeb8b47ba0127dd95.jpg","text":"TemporaryFile(/tmp/multipartBody8982142985676061972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389812972,"filename":"image_11042025_17_11_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/11/2e88cdd39ff966f26aecffb4a5e7ec74.jpg","text":"TemporaryFile(/tmp/multipartBody4848287961834000882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389812972,"filename":"image_11042025_17_11_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/11/8515ab15d697d937a0de09aecd3a368c.jpg","text":"TemporaryFile(/tmp/multipartBody4937698318537541150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389812972,"filename":"image_11042025_17_12_17_10420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351827027","file1":"1351827017","file0":"1351826985","file4":"1351827098","file5":"1351827163","file3":"1351827035"},"map_files_photo_id_array":[{"photo_id":"1351827163","filename":"file5"},{"photo_id":"1351827027","filename":"file2"},{"photo_id":"1351827098","filename":"file4"},{"photo_id":"1351827017","filename":"file1"},{"photo_id":"1351826985","filename":"file0"},{"photo_id":"1351827035","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351826985":["hashtag1","hashtag2"]},{"1351827027":["hashtag1","hashtag2"]},{"1351827098":["hashtag1","hashtag2"]},{"1351827035":["hashtag1","hashtag2"]},{"1351827017":["hashtag1","hashtag2"]},{"1351827163":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351826985, 1351827027, 1351827098, 1351827035, 1351827017, 1351827163)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.192545652389526 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 18:43:32.703913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/17/12/image_11042025_17_12_26_9464.jpg', '/home/pi/Desktop/images/11042025/17/12/image_11042025_17_12_36_10369.jpg', '/home/pi/Desktop/images/11042025/17/12/image_11042025_17_12_56_9355.jpg', '/home/pi/Desktop/images/11042025/17/12/image_11042025_17_13_07_10418.jpg', '/home/pi/Desktop/images/11042025/17/13/image_11042025_17_13_16_9404.jpg', '/home/pi/Desktop/images/11042025/17/13/image_11042025_17_13_26_10346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/17/12/image_11042025_17_12_26_9464.jpg
/home/pi/Desktop/images/11042025/17/12/image_11042025_17_12_36_10369.jpg
/home/pi/Desktop/images/11042025/17/12/image_11042025_17_12_56_9355.jpg
/home/pi/Desktop/images/11042025/17/12/image_11042025_17_13_07_10418.jpg
/home/pi/Desktop/images/11042025/17/13/image_11042025_17_13_16_9404.jpg
/home/pi/Desktop/images/11042025/17/13/image_11042025_17_13_26_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":["1351827495","1351827351","1351827413","1351827463","1351827376","1351827436"],"photo_ids_order":["1351827351","1351827376","1351827413","1351827436","1351827463","1351827495"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/320063e428c69bdc0b95deb804af7191.jpg","text":"TemporaryFile(/tmp/multipartBody8454819179197352904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389873178,"filename":"image_11042025_17_13_26_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7b3cb6096603ecfca62c63d19a0aec1c.jpg","text":"TemporaryFile(/tmp/multipartBody6039973808476241233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389873178,"filename":"image_11042025_17_12_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/11/3b3165d99c8fbd6dd440bf9989996343.jpg","text":"TemporaryFile(/tmp/multipartBody897134517149551052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389873178,"filename":"image_11042025_17_12_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/11/e3d6185defff6c578413f9569c223632.jpg","text":"TemporaryFile(/tmp/multipartBody1621961052323322004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389873178,"filename":"image_11042025_17_13_16_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/310d7be74c0177ba2f5937851aa04ebb.jpg","text":"TemporaryFile(/tmp/multipartBody6722805082743101017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389873178,"filename":"image_11042025_17_12_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/11/703bb4421de61801c5d77b0628646c87.jpg","text":"TemporaryFile(/tmp/multipartBody2275656041863324265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389873178,"filename":"image_11042025_17_13_07_10418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351827413","file1":"1351827376","file0":"1351827351","file4":"1351827463","file5":"1351827495","file3":"1351827436"},"map_files_photo_id_array":[{"photo_id":"1351827495","filename":"file5"},{"photo_id":"1351827413","filename":"file2"},{"photo_id":"1351827463","filename":"file4"},{"photo_id":"1351827376","filename":"file1"},{"photo_id":"1351827351","filename":"file0"},{"photo_id":"1351827436","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351827495":["hashtag1","hashtag2"]},{"1351827351":["hashtag1","hashtag2"]},{"1351827413":["hashtag1","hashtag2"]},{"1351827463":["hashtag1","hashtag2"]},{"1351827376":["hashtag1","hashtag2"]},{"1351827436":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351827495, 1351827351, 1351827413, 1351827463, 1351827376, 1351827436)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.616740465164185 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 18:44:32.928751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/17/13/image_11042025_17_13_37_10369.jpg', '/home/pi/Desktop/images/11042025/17/13/image_11042025_17_13_46_9364.jpg', '/home/pi/Desktop/images/11042025/17/13/image_11042025_17_13_56_10447.jpg', '/home/pi/Desktop/images/11042025/17/13/image_11042025_17_14_06_9548.jpg', '/home/pi/Desktop/images/11042025/17/14/image_11042025_17_14_16_10359.jpg', '/home/pi/Desktop/images/11042025/17/14/image_11042025_17_14_27_10376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/17/13/image_11042025_17_13_37_10369.jpg
/home/pi/Desktop/images/11042025/17/13/image_11042025_17_13_46_9364.jpg
/home/pi/Desktop/images/11042025/17/13/image_11042025_17_13_56_10447.jpg
/home/pi/Desktop/images/11042025/17/13/image_11042025_17_14_06_9548.jpg
/home/pi/Desktop/images/11042025/17/14/image_11042025_17_14_16_10359.jpg
/home/pi/Desktop/images/11042025/17/14/image_11042025_17_14_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":["1351828091","1351827909","1351828070","1351828031","1351827977","1351828006"],"photo_ids_order":["1351827909","1351827977","1351828006","1351828031","1351828070","1351828091"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a7eff4a208121e91b1e115e58a2bfc4e.jpg","text":"TemporaryFile(/tmp/multipartBody8680723957995002402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389933404,"filename":"image_11042025_17_14_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/11/5cab1ca0585d9be56daca302c6abbdc6.jpg","text":"TemporaryFile(/tmp/multipartBody6493723521066444414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389933404,"filename":"image_11042025_17_13_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/11/4311d06c7828853063bb1bbb3f38ea65.jpg","text":"TemporaryFile(/tmp/multipartBody8699941814785191209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389933404,"filename":"image_11042025_17_14_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/11/44e4debefa52ed3acd4bf5456516f7f7.jpg","text":"TemporaryFile(/tmp/multipartBody3973595490695876055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389933404,"filename":"image_11042025_17_14_06_9548.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/cb472a1c2812223ee873300635b3db95.jpg","text":"TemporaryFile(/tmp/multipartBody8756845359467549585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389933404,"filename":"image_11042025_17_13_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/11/8965b04cfa6f57f677f2dad0641b17de.jpg","text":"TemporaryFile(/tmp/multipartBody5551299353248386621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389933404,"filename":"image_11042025_17_13_56_10447.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351828006","file1":"1351827977","file0":"1351827909","file4":"1351828070","file5":"1351828091","file3":"1351828031"},"map_files_photo_id_array":[{"photo_id":"1351828091","filename":"file5"},{"photo_id":"1351828006","filename":"file2"},{"photo_id":"1351828070","filename":"file4"},{"photo_id":"1351827977","filename":"file1"},{"photo_id":"1351827909","filename":"file0"},{"photo_id":"1351828031","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351828091":["hashtag1","hashtag2"]},{"1351827909":["hashtag1","hashtag2"]},{"1351828070":["hashtag1","hashtag2"]},{"1351828031":["hashtag1","hashtag2"]},{"1351827977":["hashtag1","hashtag2"]},{"1351828006":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351828091, 1351827909, 1351828070, 1351828031, 1351827977, 1351828006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.79835367202759 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 18:45:33.134704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/17/14/image_11042025_17_14_36_9406.jpg', '/home/pi/Desktop/images/11042025/17/14/image_11042025_17_14_47_10360.jpg', '/home/pi/Desktop/images/11042025/17/14/image_11042025_17_14_56_9413.jpg', '/home/pi/Desktop/images/11042025/17/14/image_11042025_17_15_06_10463.jpg', '/home/pi/Desktop/images/11042025/17/15/image_11042025_17_15_17_10384.jpg', '/home/pi/Desktop/images/11042025/17/15/image_11042025_17_15_26_9382.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/17/14/image_11042025_17_14_36_9406.jpg
/home/pi/Desktop/images/11042025/17/14/image_11042025_17_14_47_10360.jpg
/home/pi/Desktop/images/11042025/17/14/image_11042025_17_14_56_9413.jpg
/home/pi/Desktop/images/11042025/17/14/image_11042025_17_15_06_10463.jpg
/home/pi/Desktop/images/11042025/17/15/image_11042025_17_15_17_10384.jpg
/home/pi/Desktop/images/11042025/17/15/image_11042025_17_15_26_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":["1351828542","1351828364","1351828286","1351828427","1351828612","1351828488"],"photo_ids_order":["1351828286","1351828364","1351828427","1351828488","1351828542","1351828612"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6ad72cd9f71b54a411ed50d6f3dda7fc.jpg","text":"TemporaryFile(/tmp/multipartBody4429976030131953077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389993592,"filename":"image_11042025_17_15_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/11/cdf0f78f2a148ab4339de83f3e342832.jpg","text":"TemporaryFile(/tmp/multipartBody7650142871731115586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389993592,"filename":"image_11042025_17_14_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/11/8127c5b56b6164d918c04a693b7056d3.jpg","text":"TemporaryFile(/tmp/multipartBody1761901627452569194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389993592,"filename":"image_11042025_17_14_36_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/636c5057cc19940903fbfe60ccddd2d2.jpg","text":"TemporaryFile(/tmp/multipartBody7577168522513104654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389993592,"filename":"image_11042025_17_14_56_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/da40ca9c3634e2914f0522e3a76a8ed8.jpg","text":"TemporaryFile(/tmp/multipartBody7391331751014824435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389993592,"filename":"image_11042025_17_15_26_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/11/42a816648b5f1ff558ce7a7d92c29a15.jpg","text":"TemporaryFile(/tmp/multipartBody876385440696277415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744389993592,"filename":"image_11042025_17_15_06_10463.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351828427","file1":"1351828364","file0":"1351828286","file4":"1351828542","file5":"1351828612","file3":"1351828488"},"map_files_photo_id_array":[{"photo_id":"1351828612","filename":"file5"},{"photo_id":"1351828427","filename":"file2"},{"photo_id":"1351828542","filename":"file4"},{"photo_id":"1351828364","filename":"file1"},{"photo_id":"1351828286","filename":"file0"},{"photo_id":"1351828488","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351828542":["hashtag1","hashtag2"]},{"1351828364":["hashtag1","hashtag2"]},{"1351828286":["hashtag1","hashtag2"]},{"1351828427":["hashtag1","hashtag2"]},{"1351828612":["hashtag1","hashtag2"]},{"1351828488":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351828542, 1351828364, 1351828286, 1351828427, 1351828612, 1351828488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.47391080856323 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 18:46:32.405994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/17/15/image_11042025_17_15_37_10372.jpg', '/home/pi/Desktop/images/11042025/17/15/image_11042025_17_15_46_9397.jpg', '/home/pi/Desktop/images/11042025/17/15/image_11042025_17_15_56_10401.jpg', '/home/pi/Desktop/images/11042025/17/15/image_11042025_17_16_07_10368.jpg', '/home/pi/Desktop/images/11042025/17/16/image_11042025_17_16_16_9449.jpg', '/home/pi/Desktop/images/11042025/17/16/image_11042025_17_16_27_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/17/15/image_11042025_17_15_37_10372.jpg
/home/pi/Desktop/images/11042025/17/15/image_11042025_17_15_46_9397.jpg
/home/pi/Desktop/images/11042025/17/15/image_11042025_17_15_56_10401.jpg
/home/pi/Desktop/images/11042025/17/15/image_11042025_17_16_07_10368.jpg
/home/pi/Desktop/images/11042025/17/16/image_11042025_17_16_16_9449.jpg
/home/pi/Desktop/images/11042025/17/16/image_11042025_17_16_27_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":["1351829033","1351828940","1351829077","1351829009","1351828969","1351829064"],"photo_ids_order":["1351828940","1351828969","1351829009","1351829033","1351829064","1351829077"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9500911fcad3735e91a5489d6430a166.jpg","text":"TemporaryFile(/tmp/multipartBody5804935005687078887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744390052861,"filename":"image_11042025_17_16_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/11/282e37527304cc072a4f7be31e8195bb.jpg","text":"TemporaryFile(/tmp/multipartBody1023310484618199746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744390052861,"filename":"image_11042025_17_15_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/11/ba800abdb597d5274193d85693cdfdbd.jpg","text":"TemporaryFile(/tmp/multipartBody7354061287045930058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744390052861,"filename":"image_11042025_17_16_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/11/2f5e3e0b23c3503d2cd237196ed75730.jpg","text":"TemporaryFile(/tmp/multipartBody7186399385611590812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744390052861,"filename":"image_11042025_17_15_56_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/fa5f2b0429d4a341be3743cbc35052cc.jpg","text":"TemporaryFile(/tmp/multipartBody4862396205375688268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744390052861,"filename":"image_11042025_17_15_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/11/c4be838eff16f359e02b45e41a250ec1.jpg","text":"TemporaryFile(/tmp/multipartBody6584341993691386319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744390052861,"filename":"image_11042025_17_16_16_9449.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351829009","file1":"1351828969","file0":"1351828940","file4":"1351829064","file5":"1351829077","file3":"1351829033"},"map_files_photo_id_array":[{"photo_id":"1351829077","filename":"file5"},{"photo_id":"1351829009","filename":"file2"},{"photo_id":"1351829064","filename":"file4"},{"photo_id":"1351828969","filename":"file1"},{"photo_id":"1351828940","filename":"file0"},{"photo_id":"1351829033","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351829033":["hashtag1","hashtag2"]},{"1351828940":["hashtag1","hashtag2"]},{"1351829077":["hashtag1","hashtag2"]},{"1351829009":["hashtag1","hashtag2"]},{"1351828969":["hashtag1","hashtag2"]},{"1351829064":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351829033, 1351828940, 1351829077, 1351829009, 1351828969, 1351829064)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.174434423446655 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 18:47:32.485253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/17/16/image_11042025_17_16_36_9423.jpg', '/home/pi/Desktop/images/11042025/17/16/image_11042025_17_16_46_10374.jpg', '/home/pi/Desktop/images/11042025/17/16/image_11042025_17_16_57_10452.jpg', '/home/pi/Desktop/images/11042025/17/16/image_11042025_17_17_06_9344.jpg', '/home/pi/Desktop/images/11042025/17/17/image_11042025_17_17_17_10384.jpg', '/home/pi/Desktop/images/11042025/17/17/image_11042025_17_17_26_9429.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/17/16/image_11042025_17_16_36_9423.jpg
/home/pi/Desktop/images/11042025/17/16/image_11042025_17_16_46_10374.jpg
/home/pi/Desktop/images/11042025/17/16/image_11042025_17_16_57_10452.jpg
/home/pi/Desktop/images/11042025/17/16/image_11042025_17_17_06_9344.jpg
/home/pi/Desktop/images/11042025/17/17/image_11042025_17_17_17_10384.jpg
/home/pi/Desktop/images/11042025/17/17/image_11042025_17_17_26_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":["1351829699","1351829552","1351829482","1351829605","1351829512","1351829649"],"photo_ids_order":["1351829482","1351829512","1351829552","1351829605","1351829649","1351829699"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a5dbf6097581977495846a05d1fb8c07.jpg","text":"TemporaryFile(/tmp/multipartBody3186416735208822536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744390112972,"filename":"image_11042025_17_17_26_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/438a079bc0b382f375c1bb92ef2102f9.jpg","text":"TemporaryFile(/tmp/multipartBody61000201635134960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744390112972,"filename":"image_11042025_17_16_57_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/31ce1eeeba20da74c76862339283ec2f.jpg","text":"TemporaryFile(/tmp/multipartBody4678178056873180670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744390112972,"filename":"image_11042025_17_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/11/ad063c9b8dcc8d9c3e92c7b4d15199d6.jpg","text":"TemporaryFile(/tmp/multipartBody2217609077405337546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744390112972,"filename":"image_11042025_17_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/11/e579b461cfbe389eebb173906c8d0419.jpg","text":"TemporaryFile(/tmp/multipartBody4421945354510519823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744390112972,"filename":"image_11042025_17_16_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/11/de267063596fe209b7fa90bb5e997d0b.jpg","text":"TemporaryFile(/tmp/multipartBody1184930740117333196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744390112972,"filename":"image_11042025_17_17_17_10384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351829552","file1":"1351829512","file0":"1351829482","file4":"1351829649","file5":"1351829699","file3":"1351829605"},"map_files_photo_id_array":[{"photo_id":"1351829699","filename":"file5"},{"photo_id":"1351829552","filename":"file2"},{"photo_id":"1351829649","filename":"file4"},{"photo_id":"1351829512","filename":"file1"},{"photo_id":"1351829482","filename":"file0"},{"photo_id":"1351829605","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351829699":["hashtag1","hashtag2"]},{"1351829552":["hashtag1","hashtag2"]},{"1351829482":["hashtag1","hashtag2"]},{"1351829605":["hashtag1","hashtag2"]},{"1351829512":["hashtag1","hashtag2"]},{"1351829649":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351829699, 1351829552, 1351829482, 1351829605, 1351829512, 1351829649)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.1767303943634 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 18:48:32.680878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/17/17/image_11042025_17_17_36_10424.jpg', '/home/pi/Desktop/images/11042025/17/17/image_11042025_17_17_47_10361.jpg', '/home/pi/Desktop/images/11042025/17/17/image_11042025_17_17_56_9439.jpg', '/home/pi/Desktop/images/11042025/17/17/image_11042025_17_18_07_10370.jpg', '/home/pi/Desktop/images/11042025/17/18/image_11042025_17_18_16_9407.jpg', '/home/pi/Desktop/images/11042025/17/18/image_11042025_17_18_26_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/17/17/image_11042025_17_17_36_10424.jpg
/home/pi/Desktop/images/11042025/17/17/image_11042025_17_17_47_10361.jpg
/home/pi/Desktop/images/11042025/17/17/image_11042025_17_17_56_9439.jpg
/home/pi/Desktop/images/11042025/17/17/image_11042025_17_18_07_10370.jpg
/home/pi/Desktop/images/11042025/17/18/image_11042025_17_18_16_9407.jpg
/home/pi/Desktop/images/11042025/17/18/image_11042025_17_18_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":["1351830417","1351830312","1351830370","1351830094","1351830214","1351830022"],"photo_ids_order":["1351830022","1351830094","1351830214","1351830312","1351830370","1351830417"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d18c80920f709c0bbf9d344ce301dc8e.jpg","text":"TemporaryFile(/tmp/multipartBody7035826817587092998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744390173173,"filename":"image_11042025_17_18_26_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/64c52e60eab2fcc5c121627318d4b0f7.jpg","text":"TemporaryFile(/tmp/multipartBody103137175868467044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744390173173,"filename":"image_11042025_17_18_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/11/afd65a7ec922dbcc883d9eeed702662a.jpg","text":"TemporaryFile(/tmp/multipartBody8148705563858874572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744390173173,"filename":"image_11042025_17_18_16_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4292c7a0137490aa864b894a992b0a6c.jpg","text":"TemporaryFile(/tmp/multipartBody166642470257717549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744390173173,"filename":"image_11042025_17_17_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/11/cadd0ebfe5f235b752ec99b124fa0bfc.jpg","text":"TemporaryFile(/tmp/multipartBody2331041800324709083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744390173173,"filename":"image_11042025_17_17_56_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5182b57ef4504471ce2fe6ce0cf56482.jpg","text":"TemporaryFile(/tmp/multipartBody3584728258361556316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744390173173,"filename":"image_11042025_17_17_36_10424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351830214","file1":"1351830094","file0":"1351830022","file4":"1351830370","file5":"1351830417","file3":"1351830312"},"map_files_photo_id_array":[{"photo_id":"1351830417","filename":"file5"},{"photo_id":"1351830214","filename":"file2"},{"photo_id":"1351830370","filename":"file4"},{"photo_id":"1351830094","filename":"file1"},{"photo_id":"1351830022","filename":"file0"},{"photo_id":"1351830312","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351830417":["hashtag1","hashtag2"]},{"1351830312":["hashtag1","hashtag2"]},{"1351830370":["hashtag1","hashtag2"]},{"1351830094":["hashtag1","hashtag2"]},{"1351830214":["hashtag1","hashtag2"]},{"1351830022":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351830417, 1351830312, 1351830370, 1351830094, 1351830214, 1351830022)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.39423370361328 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 18:49:32.896140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/17/18/image_11042025_17_18_37_10355.jpg', '/home/pi/Desktop/images/11042025/17/18/image_11042025_17_18_46_9465.jpg', '/home/pi/Desktop/images/11042025/17/18/image_11042025_17_18_57_10372.jpg', '/home/pi/Desktop/images/11042025/17/18/image_11042025_17_19_07_10419.jpg', '/home/pi/Desktop/images/11042025/17/19/image_11042025_17_19_16_9372.jpg', '/home/pi/Desktop/images/11042025/17/19/image_11042025_17_19_27_10400.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/17/18/image_11042025_17_18_37_10355.jpg
/home/pi/Desktop/images/11042025/17/18/image_11042025_17_18_46_9465.jpg
/home/pi/Desktop/images/11042025/17/18/image_11042025_17_18_57_10372.jpg
/home/pi/Desktop/images/11042025/17/18/image_11042025_17_19_07_10419.jpg
/home/pi/Desktop/images/11042025/17/19/image_11042025_17_19_16_9372.jpg
/home/pi/Desktop/images/11042025/17/19/image_11042025_17_19_27_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":["1351830642","1351830747","1351830719","1351830772","1351830829","1351830672"],"photo_ids_order":["1351830642","1351830672","1351830719","1351830747","1351830772","1351830829"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/796db1f30ceb8e81693b4636fa3d9757.jpg","text":"TemporaryFile(/tmp/multipartBody824171866956336478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744390233392,"filename":"image_11042025_17_18_37_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/547ecf0121045b5330e2b8a80e2a99d0.jpg","text":"TemporaryFile(/tmp/multipartBody7824029752438421534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744390233392,"filename":"image_11042025_17_19_07_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3b50fc804f83ca91bce1ea5456b618fa.jpg","text":"TemporaryFile(/tmp/multipartBody7384788505824032227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744390233392,"filename":"image_11042025_17_18_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/11/9e5efb9e84cdd490b0003ba406ba6aea.jpg","text":"TemporaryFile(/tmp/multipartBody6600306902642649682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744390233392,"filename":"image_11042025_17_19_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/11/dbcc9a02aba19934343a3686b950d7fd.jpg","text":"TemporaryFile(/tmp/multipartBody7734192195835074978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744390233392,"filename":"image_11042025_17_19_27_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ba006291d1c6ed536fec8e659e867600.jpg","text":"TemporaryFile(/tmp/multipartBody995566253414863587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744390233392,"filename":"image_11042025_17_18_46_9465.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351830719","file1":"1351830672","file0":"1351830642","file4":"1351830772","file5":"1351830829","file3":"1351830747"},"map_files_photo_id_array":[{"photo_id":"1351830829","filename":"file5"},{"photo_id":"1351830719","filename":"file2"},{"photo_id":"1351830772","filename":"file4"},{"photo_id":"1351830672","filename":"file1"},{"photo_id":"1351830642","filename":"file0"},{"photo_id":"1351830747","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351830642":["hashtag1","hashtag2"]},{"1351830747":["hashtag1","hashtag2"]},{"1351830719":["hashtag1","hashtag2"]},{"1351830772":["hashtag1","hashtag2"]},{"1351830829":["hashtag1","hashtag2"]},{"1351830672":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351830642, 1351830747, 1351830719, 1351830772, 1351830829, 1351830672)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.39995217323303 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 18:50:33.130392
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/17/19/image_11042025_17_19_36_9357.jpg', '/home/pi/Desktop/images/11042025/17/19/image_11042025_17_19_46_10356.jpg', '/home/pi/Desktop/images/11042025/17/19/image_11042025_17_19_57_10499.jpg', '/home/pi/Desktop/images/11042025/17/19/image_11042025_17_20_06_9377.jpg', '/home/pi/Desktop/images/11042025/17/20/image_11042025_17_20_17_10358.jpg', '/home/pi/Desktop/images/11042025/17/20/image_11042025_17_20_26_9435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/17/19/image_11042025_17_19_36_9357.jpg
/home/pi/Desktop/images/11042025/17/19/image_11042025_17_19_46_10356.jpg
/home/pi/Desktop/images/11042025/17/19/image_11042025_17_19_57_10499.jpg
/home/pi/Desktop/images/11042025/17/19/image_11042025_17_20_06_9377.jpg
/home/pi/Desktop/images/11042025/17/20/image_11042025_17_20_17_10358.jpg
/home/pi/Desktop/images/11042025/17/20/image_11042025_17_20_26_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":["1351831061","1351831079","1351831106","1351831024","1351831000","1351831134"],"photo_ids_order":["1351831000","1351831024","1351831061","1351831079","1351831106","1351831134"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/bb92af032e7aab320c80fd93f12e163c.jpg","text":"TemporaryFile(/tmp/multipartBody5796707992159421569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744390293779,"filename":"image_11042025_17_19_57_10499.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/60a938b665cb0242aae3fbf167945fce.jpg","text":"TemporaryFile(/tmp/multipartBody7696038385839998086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744390293779,"filename":"image_11042025_17_20_06_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5eb526284e679b2c6132a60423bd27b2.jpg","text":"TemporaryFile(/tmp/multipartBody3704309281405421054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744390293779,"filename":"image_11042025_17_20_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/11/d84ee28885c42635138c69e2a023cfb4.jpg","text":"TemporaryFile(/tmp/multipartBody7232059051861887191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744390293779,"filename":"image_11042025_17_19_46_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3f9390716eabfdae7ec64d22d2229949.jpg","text":"TemporaryFile(/tmp/multipartBody9003102354474651155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744390293779,"filename":"image_11042025_17_19_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/11/e22e91f4d20d326735320b32f9410e34.jpg","text":"TemporaryFile(/tmp/multipartBody3928940604460929116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744390293779,"filename":"image_11042025_17_20_26_9435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351831061","file1":"1351831024","file0":"1351831000","file4":"1351831106","file5":"1351831134","file3":"1351831079"},"map_files_photo_id_array":[{"photo_id":"1351831134","filename":"file5"},{"photo_id":"1351831061","filename":"file2"},{"photo_id":"1351831106","filename":"file4"},{"photo_id":"1351831024","filename":"file1"},{"photo_id":"1351831000","filename":"file0"},{"photo_id":"1351831079","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351831061":["hashtag1","hashtag2"]},{"1351831079":["hashtag1","hashtag2"]},{"1351831106":["hashtag1","hashtag2"]},{"1351831024":["hashtag1","hashtag2"]},{"1351831000":["hashtag1","hashtag2"]},{"1351831134":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351831061, 1351831079, 1351831106, 1351831024, 1351831000, 1351831134)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.559754610061646 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 18:51:32.309867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/17/20/image_11042025_17_20_36_10371.jpg', '/home/pi/Desktop/images/11042025/17/20/image_11042025_17_20_47_10378.jpg', '/home/pi/Desktop/images/11042025/17/20/image_11042025_17_20_56_9424.jpg', '/home/pi/Desktop/images/11042025/17/20/image_11042025_17_21_07_10350.jpg', '/home/pi/Desktop/images/11042025/17/21/image_11042025_17_21_16_9447.jpg', '/home/pi/Desktop/images/11042025/17/21/image_11042025_17_21_26_10376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/17/20/image_11042025_17_20_36_10371.jpg
/home/pi/Desktop/images/11042025/17/20/image_11042025_17_20_47_10378.jpg
/home/pi/Desktop/images/11042025/17/20/image_11042025_17_20_56_9424.jpg
/home/pi/Desktop/images/11042025/17/20/image_11042025_17_21_07_10350.jpg
/home/pi/Desktop/images/11042025/17/21/image_11042025_17_21_16_9447.jpg
/home/pi/Desktop/images/11042025/17/21/image_11042025_17_21_26_10376.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351831286","1351831253","1351831277","1351831269","1351831290","1351831239"],"photo_ids_order":["1351831239","1351831253","1351831269","1351831277","1351831286","1351831290"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3b81c51b4dfc9af0aa2c31e853a2e609.jpg","text":"TemporaryFile(/tmp/multipartBody2198797602020116509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744390352766,"filename":"image_11042025_17_21_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/11/55d2fedcc8e0d611ef9a64f16ac1e0de.jpg","text":"TemporaryFile(/tmp/multipartBody518761023434150942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744390352766,"filename":"image_11042025_17_20_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/11/28e8eb568c357df6e66fdbb87a92c14d.jpg","text":"TemporaryFile(/tmp/multipartBody4231320198323378950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744390352766,"filename":"image_11042025_17_21_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/11/c02a3474420bcb03a1f84a73074a9015.jpg","text":"TemporaryFile(/tmp/multipartBody7639367186024661733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744390352766,"filename":"image_11042025_17_20_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/11/0ac83f8429d77cdfe99de39382dec3c9.jpg","text":"TemporaryFile(/tmp/multipartBody5152768703582168680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744390352766,"filename":"image_11042025_17_21_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/11/880ea5119281491b59c0465943101d26.jpg","text":"TemporaryFile(/tmp/multipartBody398527595978689272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744390352766,"filename":"image_11042025_17_20_36_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351831269","file1":"1351831253","file0":"1351831239","file4":"1351831286","file5":"1351831290","file3":"1351831277"},"map_files_photo_id_array":[{"photo_id":"1351831290","filename":"file5"},{"photo_id":"1351831269","filename":"file2"},{"photo_id":"1351831286","filename":"file4"},{"photo_id":"1351831253","filename":"file1"},{"photo_id":"1351831239","filename":"file0"},{"photo_id":"1351831277","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351831286":["hashtag1","hashtag2"]},{"1351831253":["hashtag1","hashtag2"]},{"1351831277":["hashtag1","hashtag2"]},{"1351831269":["hashtag1","hashtag2"]},{"1351831290":["hashtag1","hashtag2"]},{"1351831239":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351831286, 1351831253, 1351831277, 1351831269, 1351831290, 1351831239)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.55635118484497 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 18:52:32.495918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/17/21/image_11042025_17_21_37_10352.jpg', '/home/pi/Desktop/images/11042025/17/21/image_11042025_17_21_46_9358.jpg', '/home/pi/Desktop/images/11042025/17/21/image_11042025_17_21_57_10364.jpg', '/home/pi/Desktop/images/11042025/17/21/image_11042025_17_22_07_10407.jpg', '/home/pi/Desktop/images/11042025/17/22/image_11042025_17_22_16_9413.jpg', '/home/pi/Desktop/images/11042025/17/22/image_11042025_17_22_27_10346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/17/21/image_11042025_17_21_37_10352.jpg
/home/pi/Desktop/images/11042025/17/21/image_11042025_17_21_46_9358.jpg
/home/pi/Desktop/images/11042025/17/21/image_11042025_17_21_57_10364.jpg
/home/pi/Desktop/images/11042025/17/21/image_11042025_17_22_07_10407.jpg
/home/pi/Desktop/images/11042025/17/22/image_11042025_17_22_16_9413.jpg
/home/pi/Desktop/images/11042025/17/22/image_11042025_17_22_27_10346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351831460","1351831529","1351831489","1351831564","1351831395","1351831362"],"photo_ids_order":["1351831362","1351831395","1351831460","1351831489","1351831529","1351831564"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9776bb888445491bbff13b6fa2402651.jpg","text":"TemporaryFile(/tmp/multipartBody5777588656452619299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744390412963,"filename":"image_11042025_17_21_57_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/da80a576d723574bc3c02c6f2c94d432.jpg","text":"TemporaryFile(/tmp/multipartBody2111322814529866712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744390412963,"filename":"image_11042025_17_22_16_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d2a042ef73a2cb2c3fc5b96729bdd681.jpg","text":"TemporaryFile(/tmp/multipartBody6498081509455414057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744390412963,"filename":"image_11042025_17_22_07_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f6ee075e7f970e18ea98f3762d2149d2.jpg","text":"TemporaryFile(/tmp/multipartBody5193698524003522820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744390412963,"filename":"image_11042025_17_22_27_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f98ee97ec9bd1154d3eb83f686332937.jpg","text":"TemporaryFile(/tmp/multipartBody6064906807398924296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744390412963,"filename":"image_11042025_17_21_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/11/f4293dd295a419cb06a91e1ee55c7f9f.jpg","text":"TemporaryFile(/tmp/multipartBody7130013003069411269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744390412963,"filename":"image_11042025_17_21_37_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351831460","file1":"1351831395","file0":"1351831362","file4":"1351831529","file5":"1351831564","file3":"1351831489"},"map_files_photo_id_array":[{"photo_id":"1351831564","filename":"file5"},{"photo_id":"1351831460","filename":"file2"},{"photo_id":"1351831529","filename":"file4"},{"photo_id":"1351831395","filename":"file1"},{"photo_id":"1351831362","filename":"file0"},{"photo_id":"1351831489","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351831460":["hashtag1","hashtag2"]},{"1351831529":["hashtag1","hashtag2"]},{"1351831489":["hashtag1","hashtag2"]},{"1351831564":["hashtag1","hashtag2"]},{"1351831395":["hashtag1","hashtag2"]},{"1351831362":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351831460, 1351831529, 1351831489, 1351831564, 1351831395, 1351831362)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.200849294662476 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 18:53:32.670352
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/17/22/image_11042025_17_22_36_9469.jpg', '/home/pi/Desktop/images/11042025/17/22/image_11042025_17_22_47_10393.jpg', '/home/pi/Desktop/images/11042025/17/22/image_11042025_17_22_56_9480.jpg', '/home/pi/Desktop/images/11042025/17/22/image_11042025_17_23_06_10397.jpg', '/home/pi/Desktop/images/11042025/17/23/image_11042025_17_23_17_10352.jpg', '/home/pi/Desktop/images/11042025/17/23/image_11042025_17_23_26_9455.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/17/22/image_11042025_17_22_36_9469.jpg
/home/pi/Desktop/images/11042025/17/22/image_11042025_17_22_47_10393.jpg
/home/pi/Desktop/images/11042025/17/22/image_11042025_17_22_56_9480.jpg
/home/pi/Desktop/images/11042025/17/22/image_11042025_17_23_06_10397.jpg
/home/pi/Desktop/images/11042025/17/23/image_11042025_17_23_17_10352.jpg
/home/pi/Desktop/images/11042025/17/23/image_11042025_17_23_26_9455.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351831826","1351831753","1351831933","1351831863","1351831770","1351831799"],"photo_ids_order":["1351831753","1351831770","1351831799","1351831826","1351831863","1351831933"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/527eb1374010dc7dc0b8e5a8ec5d2be6.jpg","text":"TemporaryFile(/tmp/multipartBody1845770316321080446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744390473126,"filename":"image_11042025_17_23_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/11/5e3687a5db566e6de104e0e30724541b.jpg","text":"TemporaryFile(/tmp/multipartBody5402709246515482208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744390473126,"filename":"image_11042025_17_22_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/11/5caba505bb55545fd6d8eae9b1b0c867.jpg","text":"TemporaryFile(/tmp/multipartBody4471447377411353716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744390473126,"filename":"image_11042025_17_23_26_9455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ebf81c091754f4b17f1ae626afd9df3b.jpg","text":"TemporaryFile(/tmp/multipartBody4852035646631992374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744390473126,"filename":"image_11042025_17_23_17_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1e49bd3386a763649c1601652cf904f8.jpg","text":"TemporaryFile(/tmp/multipartBody2392595573870192456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744390473126,"filename":"image_11042025_17_22_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/11/a206dcedfc07ad8618eb1490fd6f4a32.jpg","text":"TemporaryFile(/tmp/multipartBody2701087887160428069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744390473126,"filename":"image_11042025_17_22_56_9480.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351831799","file1":"1351831770","file0":"1351831753","file4":"1351831863","file5":"1351831933","file3":"1351831826"},"map_files_photo_id_array":[{"photo_id":"1351831933","filename":"file5"},{"photo_id":"1351831799","filename":"file2"},{"photo_id":"1351831863","filename":"file4"},{"photo_id":"1351831770","filename":"file1"},{"photo_id":"1351831753","filename":"file0"},{"photo_id":"1351831826","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351831826":["hashtag1","hashtag2"]},{"1351831753":["hashtag1","hashtag2"]},{"1351831933":["hashtag1","hashtag2"]},{"1351831863":["hashtag1","hashtag2"]},{"1351831770":["hashtag1","hashtag2"]},{"1351831799":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351831826, 1351831753, 1351831933, 1351831863, 1351831770, 1351831799)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.54236459732056 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 18:54:32.942588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/17/23/image_11042025_17_23_37_10362.jpg', '/home/pi/Desktop/images/11042025/17/23/image_11042025_17_23_46_9531.jpg', '/home/pi/Desktop/images/11042025/17/23/image_11042025_17_23_57_10378.jpg', '/home/pi/Desktop/images/11042025/17/23/image_11042025_17_24_07_10417.jpg', '/home/pi/Desktop/images/11042025/17/24/image_11042025_17_24_16_9363.jpg', '/home/pi/Desktop/images/11042025/17/24/image_11042025_17_24_27_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/17/23/image_11042025_17_23_37_10362.jpg
/home/pi/Desktop/images/11042025/17/23/image_11042025_17_23_46_9531.jpg
/home/pi/Desktop/images/11042025/17/23/image_11042025_17_23_57_10378.jpg
/home/pi/Desktop/images/11042025/17/23/image_11042025_17_24_07_10417.jpg
/home/pi/Desktop/images/11042025/17/24/image_11042025_17_24_16_9363.jpg
/home/pi/Desktop/images/11042025/17/24/image_11042025_17_24_27_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":["1351832201","1351832194","1351832176","1351832206","1351832166","1351832171"],"photo_ids_order":["1351832166","1351832171","1351832176","1351832194","1351832201","1351832206"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/fd968a8310445ee9bef07ee79949fb03.jpg","text":"TemporaryFile(/tmp/multipartBody8115448009045654567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744390533409,"filename":"image_11042025_17_24_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/11/145c70ecc3e81a2d07d482d68ebe4106.jpg","text":"TemporaryFile(/tmp/multipartBody354667717351428992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744390533409,"filename":"image_11042025_17_24_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/11/30461c8edb827f8b1d4d67700d5a8f8b.jpg","text":"TemporaryFile(/tmp/multipartBody2794440757225806948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744390533409,"filename":"image_11042025_17_23_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/11/63ff54de4809cad7a8310f03d57eea72.jpg","text":"TemporaryFile(/tmp/multipartBody5085540012615174468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744390533409,"filename":"image_11042025_17_24_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/11/2c7800675b095171d8bec7a582413871.jpg","text":"TemporaryFile(/tmp/multipartBody6907487540283555878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744390533409,"filename":"image_11042025_17_23_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/11/d01a77998b3b3fe6cfee2c60989ef738.jpg","text":"TemporaryFile(/tmp/multipartBody9086872443583925005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744390533409,"filename":"image_11042025_17_23_46_9531.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351832176","file1":"1351832171","file0":"1351832166","file4":"1351832201","file5":"1351832206","file3":"1351832194"},"map_files_photo_id_array":[{"photo_id":"1351832206","filename":"file5"},{"photo_id":"1351832176","filename":"file2"},{"photo_id":"1351832201","filename":"file4"},{"photo_id":"1351832171","filename":"file1"},{"photo_id":"1351832166","filename":"file0"},{"photo_id":"1351832194","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351832201":["hashtag1","hashtag2"]},{"1351832194":["hashtag1","hashtag2"]},{"1351832176":["hashtag1","hashtag2"]},{"1351832206":["hashtag1","hashtag2"]},{"1351832166":["hashtag1","hashtag2"]},{"1351832171":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351832201, 1351832194, 1351832176, 1351832206, 1351832166, 1351832171)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.82660269737244 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 18:55:32.163082
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/17/24/image_11042025_17_24_36_9331.jpg', '/home/pi/Desktop/images/11042025/17/24/image_11042025_17_24_46_10350.jpg', '/home/pi/Desktop/images/11042025/17/24/image_11042025_17_24_57_10379.jpg', '/home/pi/Desktop/images/11042025/17/24/image_11042025_17_25_06_9422.jpg', '/home/pi/Desktop/images/11042025/17/25/image_11042025_17_25_16_9813.jpg', '/home/pi/Desktop/images/11042025/17/25/image_11042025_17_25_26_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/17/24/image_11042025_17_24_36_9331.jpg
/home/pi/Desktop/images/11042025/17/24/image_11042025_17_24_46_10350.jpg
/home/pi/Desktop/images/11042025/17/24/image_11042025_17_24_57_10379.jpg
/home/pi/Desktop/images/11042025/17/24/image_11042025_17_25_06_9422.jpg
/home/pi/Desktop/images/11042025/17/25/image_11042025_17_25_16_9813.jpg
/home/pi/Desktop/images/11042025/17/25/image_11042025_17_25_26_10360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351832369","1351832501","1351832452","1351832341","1351832480","1351832412"],"photo_ids_order":["1351832341","1351832369","1351832412","1351832452","1351832480","1351832501"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9d9f4950e1475ddab4b35c35ebbd9b0e.jpg","text":"TemporaryFile(/tmp/multipartBody4062812261710883015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744390592658,"filename":"image_11042025_17_24_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/11/71ef201103631bdc25d0fbdcbda13781.jpg","text":"TemporaryFile(/tmp/multipartBody9059060997133608063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744390592658,"filename":"image_11042025_17_25_26_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f13d31daf3ef46dfb93c23c4abae2fa1.jpg","text":"TemporaryFile(/tmp/multipartBody7201242608066044401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744390592658,"filename":"image_11042025_17_25_06_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/bdf076df186cc84b3c15d2fbe28731cd.jpg","text":"TemporaryFile(/tmp/multipartBody7951020482841349241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744390592658,"filename":"image_11042025_17_24_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/11/cb933673c93749c44470dc18f9e7adab.jpg","text":"TemporaryFile(/tmp/multipartBody614719559647492736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744390592658,"filename":"image_11042025_17_25_16_9813.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/96aebebff8d72f4ad9b1d2bf6681455c.jpg","text":"TemporaryFile(/tmp/multipartBody7938170671746613302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744390592658,"filename":"image_11042025_17_24_57_10379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351832412","file1":"1351832369","file0":"1351832341","file4":"1351832480","file5":"1351832501","file3":"1351832452"},"map_files_photo_id_array":[{"photo_id":"1351832501","filename":"file5"},{"photo_id":"1351832412","filename":"file2"},{"photo_id":"1351832480","filename":"file4"},{"photo_id":"1351832369","filename":"file1"},{"photo_id":"1351832341","filename":"file0"},{"photo_id":"1351832452","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351832369":["hashtag1","hashtag2"]},{"1351832501":["hashtag1","hashtag2"]},{"1351832452":["hashtag1","hashtag2"]},{"1351832341":["hashtag1","hashtag2"]},{"1351832480":["hashtag1","hashtag2"]},{"1351832412":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351832369, 1351832501, 1351832452, 1351832341, 1351832480, 1351832412)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.70363807678223 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 18:56:32.651430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/17/25/image_11042025_17_25_37_10370.jpg', '/home/pi/Desktop/images/11042025/17/25/image_11042025_17_25_46_9448.jpg', '/home/pi/Desktop/images/11042025/17/25/image_11042025_17_25_57_10443.jpg', '/home/pi/Desktop/images/11042025/17/25/image_11042025_17_26_06_9444.jpg', '/home/pi/Desktop/images/11042025/17/26/image_11042025_17_26_16_10353.jpg', '/home/pi/Desktop/images/11042025/17/26/image_11042025_17_26_27_10378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/17/25/image_11042025_17_25_37_10370.jpg
/home/pi/Desktop/images/11042025/17/25/image_11042025_17_25_46_9448.jpg
/home/pi/Desktop/images/11042025/17/25/image_11042025_17_25_57_10443.jpg
/home/pi/Desktop/images/11042025/17/25/image_11042025_17_26_06_9444.jpg
/home/pi/Desktop/images/11042025/17/26/image_11042025_17_26_16_10353.jpg
/home/pi/Desktop/images/11042025/17/26/image_11042025_17_26_27_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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351833493","1351833390","1351832994","1351833336","1351832664","1351833632"],"photo_ids_order":["1351832664","1351832994","1351833336","1351833390","1351833493","1351833632"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d2ccc03142d863437eec2f5f3efd150b.jpg","text":"TemporaryFile(/tmp/multipartBody1070397255061199332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744390653123,"filename":"image_11042025_17_26_16_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c4ac6bb8116fd92dae2f20f4f3f660bb.jpg","text":"TemporaryFile(/tmp/multipartBody5533293706673792200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744390653123,"filename":"image_11042025_17_26_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/11/b09b807b8b07bcdc58f963e8e63e4fba.jpg","text":"TemporaryFile(/tmp/multipartBody3559023944197159216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744390653123,"filename":"image_11042025_17_25_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/11/37dbc4c44e4c010f46aa8fc433c9fcef.jpg","text":"TemporaryFile(/tmp/multipartBody1870080506809118081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744390653123,"filename":"image_11042025_17_25_57_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f9110116ff506f6970e0549cc4f426d5.jpg","text":"TemporaryFile(/tmp/multipartBody1712032793270270514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744390653123,"filename":"image_11042025_17_25_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/11/3656c76352e716849fde8516e140ec29.jpg","text":"TemporaryFile(/tmp/multipartBody6825323429696723719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744390653123,"filename":"image_11042025_17_26_27_10378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351833336","file1":"1351832994","file0":"1351832664","file4":"1351833493","file5":"1351833632","file3":"1351833390"},"map_files_photo_id_array":[{"photo_id":"1351833632","filename":"file5"},{"photo_id":"1351833336","filename":"file2"},{"photo_id":"1351833493","filename":"file4"},{"photo_id":"1351832994","filename":"file1"},{"photo_id":"1351832664","filename":"file0"},{"photo_id":"1351833390","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351833493":["hashtag1","hashtag2"]},{"1351833390":["hashtag1","hashtag2"]},{"1351832994":["hashtag1","hashtag2"]},{"1351833336":["hashtag1","hashtag2"]},{"1351832664":["hashtag1","hashtag2"]},{"1351833632":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351833493, 1351833390, 1351832994, 1351833336, 1351832664, 1351833632)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 68.56074571609497 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 18:57:42.634372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/17/26/image_11042025_17_26_36_9369.jpg', '/home/pi/Desktop/images/11042025/17/26/image_11042025_17_26_46_10359.jpg', '/home/pi/Desktop/images/11042025/17/26/image_11042025_17_26_57_10367.jpg', '/home/pi/Desktop/images/11042025/17/26/image_11042025_17_27_06_9457.jpg', '/home/pi/Desktop/images/11042025/17/27/image_11042025_17_27_17_10352.jpg', '/home/pi/Desktop/images/11042025/17/27/image_11042025_17_27_26_9371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/17/26/image_11042025_17_26_36_9369.jpg
/home/pi/Desktop/images/11042025/17/26/image_11042025_17_26_46_10359.jpg
/home/pi/Desktop/images/11042025/17/26/image_11042025_17_26_57_10367.jpg
/home/pi/Desktop/images/11042025/17/26/image_11042025_17_27_06_9457.jpg
/home/pi/Desktop/images/11042025/17/27/image_11042025_17_27_17_10352.jpg
/home/pi/Desktop/images/11042025/17/27/image_11042025_17_27_26_9371.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-11 18:59:04.823015
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/17/26/image_11042025_17_26_36_9369.jpg', '/home/pi/Desktop/images/11042025/17/26/image_11042025_17_26_46_10359.jpg', '/home/pi/Desktop/images/11042025/17/26/image_11042025_17_26_57_10367.jpg', '/home/pi/Desktop/images/11042025/17/26/image_11042025_17_27_06_9457.jpg', '/home/pi/Desktop/images/11042025/17/27/image_11042025_17_27_17_10352.jpg', '/home/pi/Desktop/images/11042025/17/27/image_11042025_17_27_26_9371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/17/26/image_11042025_17_26_36_9369.jpg
/home/pi/Desktop/images/11042025/17/26/image_11042025_17_26_46_10359.jpg
/home/pi/Desktop/images/11042025/17/26/image_11042025_17_26_57_10367.jpg
/home/pi/Desktop/images/11042025/17/26/image_11042025_17_27_06_9457.jpg
/home/pi/Desktop/images/11042025/17/27/image_11042025_17_27_17_10352.jpg
/home/pi/Desktop/images/11042025/17/27/image_11042025_17_27_26_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":["1351834423","1351834461","1351834365","1351834331","1351834396","1351834498"],"photo_ids_order":["1351834331","1351834365","1351834396","1351834423","1351834461","1351834498"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/313a6e3920da6161bf03505ad423d995.jpg","text":"TemporaryFile(/tmp/multipartBody4182682235528771345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744390805535,"filename":"image_11042025_17_27_06_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/11/08d3b77817d64e8c9c15b143e8b00e82.jpg","text":"TemporaryFile(/tmp/multipartBody6766622573352519770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744390805535,"filename":"image_11042025_17_27_17_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/78f206dc831bce79f8cdc3ad92c6c477.jpg","text":"TemporaryFile(/tmp/multipartBody8682192318112858785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744390805535,"filename":"image_11042025_17_26_46_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1da2bc191aea9d00d2fd024524e8150d.jpg","text":"TemporaryFile(/tmp/multipartBody7081997937499943155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744390805535,"filename":"image_11042025_17_26_36_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8124668517def2d122343791df472783.jpg","text":"TemporaryFile(/tmp/multipartBody3454304584604657693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744390805535,"filename":"image_11042025_17_26_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/11/4e1f4efd571d0679d59b4a72a1afd3cb.jpg","text":"TemporaryFile(/tmp/multipartBody7474216846315552786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744390805535,"filename":"image_11042025_17_27_26_9371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351834396","file1":"1351834365","file0":"1351834331","file4":"1351834461","file5":"1351834498","file3":"1351834423"},"map_files_photo_id_array":[{"photo_id":"1351834498","filename":"file5"},{"photo_id":"1351834396","filename":"file2"},{"photo_id":"1351834461","filename":"file4"},{"photo_id":"1351834365","filename":"file1"},{"photo_id":"1351834331","filename":"file0"},{"photo_id":"1351834423","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351834423":["hashtag1","hashtag2"]},{"1351834461":["hashtag1","hashtag2"]},{"1351834365":["hashtag1","hashtag2"]},{"1351834331":["hashtag1","hashtag2"]},{"1351834396":["hashtag1","hashtag2"]},{"1351834498":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351834423, 1351834461, 1351834365, 1351834331, 1351834396, 1351834498)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.3431339263916 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 18:59:53.139744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/17/27/image_11042025_17_27_36_10361.jpg', '/home/pi/Desktop/images/11042025/17/27/image_11042025_17_27_47_10349.jpg', '/home/pi/Desktop/images/11042025/17/27/image_11042025_17_27_56_9381.jpg', '/home/pi/Desktop/images/11042025/17/28/image_11042025_17_28_17_10356.jpg', '/home/pi/Desktop/images/11042025/17/28/image_11042025_17_28_26_9424.jpg', '/home/pi/Desktop/images/11042025/17/28/image_11042025_17_28_37_10399.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/17/27/image_11042025_17_27_36_10361.jpg
/home/pi/Desktop/images/11042025/17/27/image_11042025_17_27_47_10349.jpg
/home/pi/Desktop/images/11042025/17/27/image_11042025_17_27_56_9381.jpg
/home/pi/Desktop/images/11042025/17/28/image_11042025_17_28_17_10356.jpg
/home/pi/Desktop/images/11042025/17/28/image_11042025_17_28_26_9424.jpg
/home/pi/Desktop/images/11042025/17/28/image_11042025_17_28_37_10399.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351834579","1351834609","1351834584","1351834692","1351834911","1351834638"],"photo_ids_order":["1351834579","1351834584","1351834609","1351834638","1351834692","1351834911"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d01ddd0694c6254b7c4f54e36b1b06d2.jpg","text":"TemporaryFile(/tmp/multipartBody6327564712854948057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744390853589,"filename":"image_11042025_17_27_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/11/e7063bc5e0d066b2b22635defac903a3.jpg","text":"TemporaryFile(/tmp/multipartBody6685472478176456986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744390853589,"filename":"image_11042025_17_27_56_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4731903330be6b3925ea66d3514fe4c3.jpg","text":"TemporaryFile(/tmp/multipartBody2892554767938720027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744390853589,"filename":"image_11042025_17_27_47_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/19b7dce6ab5a99c0eae4d79937c86317.jpg","text":"TemporaryFile(/tmp/multipartBody8017119373201862119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744390853589,"filename":"image_11042025_17_28_26_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d6862cdd7d1dd8aaf9892bac8e9b9dc0.jpg","text":"TemporaryFile(/tmp/multipartBody4132511417943148722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744390853589,"filename":"image_11042025_17_28_37_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3bd518ab25e80ff1c258f3f08622ec2c.jpg","text":"TemporaryFile(/tmp/multipartBody4513057169716125053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744390853589,"filename":"image_11042025_17_28_17_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351834609","file1":"1351834584","file0":"1351834579","file4":"1351834692","file5":"1351834911","file3":"1351834638"},"map_files_photo_id_array":[{"photo_id":"1351834911","filename":"file5"},{"photo_id":"1351834609","filename":"file2"},{"photo_id":"1351834692","filename":"file4"},{"photo_id":"1351834584","filename":"file1"},{"photo_id":"1351834579","filename":"file0"},{"photo_id":"1351834638","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351834579":["hashtag1","hashtag2"]},{"1351834609":["hashtag1","hashtag2"]},{"1351834584":["hashtag1","hashtag2"]},{"1351834692":["hashtag1","hashtag2"]},{"1351834911":["hashtag1","hashtag2"]},{"1351834638":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351834579, 1351834609, 1351834584, 1351834692, 1351834911, 1351834638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.364267110824585 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 19:00:42.314163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/17/28/image_11042025_17_28_46_9358.jpg', '/home/pi/Desktop/images/11042025/17/28/image_11042025_17_28_56_10380.jpg', '/home/pi/Desktop/images/11042025/17/28/image_11042025_17_29_07_10353.jpg', '/home/pi/Desktop/images/11042025/17/29/image_11042025_17_29_16_9363.jpg', '/home/pi/Desktop/images/11042025/17/29/image_11042025_17_29_26_10372.jpg', '/home/pi/Desktop/images/11042025/17/29/image_11042025_17_29_36_9503.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/17/28/image_11042025_17_28_46_9358.jpg
/home/pi/Desktop/images/11042025/17/28/image_11042025_17_28_56_10380.jpg
/home/pi/Desktop/images/11042025/17/28/image_11042025_17_29_07_10353.jpg
/home/pi/Desktop/images/11042025/17/29/image_11042025_17_29_16_9363.jpg
/home/pi/Desktop/images/11042025/17/29/image_11042025_17_29_26_10372.jpg
/home/pi/Desktop/images/11042025/17/29/image_11042025_17_29_36_9503.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351835730","1351835642","1351835333","1351835497","1351835408","1351835563"],"photo_ids_order":["1351835333","1351835408","1351835497","1351835563","1351835642","1351835730"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/adbc64ddef3e7ba67e9832095a4fcbee.jpg","text":"TemporaryFile(/tmp/multipartBody7029449408999477288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744390902780,"filename":"image_11042025_17_29_36_9503.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9008cd7933de06c772484746fcb558e0.jpg","text":"TemporaryFile(/tmp/multipartBody1302271824330730762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744390902780,"filename":"image_11042025_17_29_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/11/61b34a6cc2ff3813a5c9763524541233.jpg","text":"TemporaryFile(/tmp/multipartBody7986301117062519965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744390902780,"filename":"image_11042025_17_28_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/11/5ea0318d7bab32581e8df967af203c43.jpg","text":"TemporaryFile(/tmp/multipartBody9131579195905532727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744390902780,"filename":"image_11042025_17_29_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/11/02002156ef7fb501b0c11b65e42d741b.jpg","text":"TemporaryFile(/tmp/multipartBody1893098478789706495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744390902780,"filename":"image_11042025_17_28_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/11/551837b866c20f9247bf782d01e073be.jpg","text":"TemporaryFile(/tmp/multipartBody4751414957028202006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744390902780,"filename":"image_11042025_17_29_16_9363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351835497","file1":"1351835408","file0":"1351835333","file4":"1351835642","file5":"1351835730","file3":"1351835563"},"map_files_photo_id_array":[{"photo_id":"1351835730","filename":"file5"},{"photo_id":"1351835497","filename":"file2"},{"photo_id":"1351835642","filename":"file4"},{"photo_id":"1351835408","filename":"file1"},{"photo_id":"1351835333","filename":"file0"},{"photo_id":"1351835563","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351835730":["hashtag1","hashtag2"]},{"1351835642":["hashtag1","hashtag2"]},{"1351835333":["hashtag1","hashtag2"]},{"1351835497":["hashtag1","hashtag2"]},{"1351835408":["hashtag1","hashtag2"]},{"1351835563":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351835730, 1351835642, 1351835333, 1351835497, 1351835408, 1351835563)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.84016799926758 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 19:01:32.422477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/17/29/image_11042025_17_29_46_10397.jpg', '/home/pi/Desktop/images/11042025/17/29/image_11042025_17_29_57_10373.jpg', '/home/pi/Desktop/images/11042025/17/29/image_11042025_17_30_06_9408.jpg', '/home/pi/Desktop/images/11042025/17/30/image_11042025_17_30_17_10367.jpg', '/home/pi/Desktop/images/11042025/17/30/image_11042025_17_30_26_9407.jpg', '/home/pi/Desktop/images/11042025/17/30/image_11042025_17_30_36_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/17/29/image_11042025_17_29_46_10397.jpg
/home/pi/Desktop/images/11042025/17/29/image_11042025_17_29_57_10373.jpg
/home/pi/Desktop/images/11042025/17/29/image_11042025_17_30_06_9408.jpg
/home/pi/Desktop/images/11042025/17/30/image_11042025_17_30_17_10367.jpg
/home/pi/Desktop/images/11042025/17/30/image_11042025_17_30_26_9407.jpg
/home/pi/Desktop/images/11042025/17/30/image_11042025_17_30_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":["1351836309","1351836530","1351836598","1351836370","1351836250","1351836477"],"photo_ids_order":["1351836250","1351836309","1351836370","1351836477","1351836530","1351836598"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1f9bca804881501ecc6f01206414d3da.jpg","text":"TemporaryFile(/tmp/multipartBody8396264216778252618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744390952897,"filename":"image_11042025_17_29_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/11/35b9804a7e7f832eeeb43d002731e94a.jpg","text":"TemporaryFile(/tmp/multipartBody5783036587541560357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744390952897,"filename":"image_11042025_17_30_26_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6fdf629646f8784fce49ceee56bdbaaf.jpg","text":"TemporaryFile(/tmp/multipartBody3277934303015791320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744390952897,"filename":"image_11042025_17_30_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/11/79d3b2f687ef43b8700e76b2b319ffeb.jpg","text":"TemporaryFile(/tmp/multipartBody6992969354342207071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744390952897,"filename":"image_11042025_17_30_06_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6c87b09897f2b3f7a4f753a38390f9e1.jpg","text":"TemporaryFile(/tmp/multipartBody4782748082604083503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744390952897,"filename":"image_11042025_17_29_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/11/d2b4847ea0c6e7715797dc1e873a7685.jpg","text":"TemporaryFile(/tmp/multipartBody3968862536240496638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744390952897,"filename":"image_11042025_17_30_17_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351836370","file1":"1351836309","file0":"1351836250","file4":"1351836530","file5":"1351836598","file3":"1351836477"},"map_files_photo_id_array":[{"photo_id":"1351836598","filename":"file5"},{"photo_id":"1351836370","filename":"file2"},{"photo_id":"1351836530","filename":"file4"},{"photo_id":"1351836309","filename":"file1"},{"photo_id":"1351836250","filename":"file0"},{"photo_id":"1351836477","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351836309":["hashtag1","hashtag2"]},{"1351836530":["hashtag1","hashtag2"]},{"1351836598":["hashtag1","hashtag2"]},{"1351836370":["hashtag1","hashtag2"]},{"1351836250":["hashtag1","hashtag2"]},{"1351836477":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351836309, 1351836530, 1351836598, 1351836370, 1351836250, 1351836477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.309516191482544 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 19:02:32.616337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/17/30/image_11042025_17_30_47_10358.jpg', '/home/pi/Desktop/images/11042025/17/30/image_11042025_17_30_56_9382.jpg', '/home/pi/Desktop/images/11042025/17/30/image_11042025_17_31_06_10349.jpg', '/home/pi/Desktop/images/11042025/17/31/image_11042025_17_31_17_10345.jpg', '/home/pi/Desktop/images/11042025/17/31/image_11042025_17_31_26_9458.jpg', '/home/pi/Desktop/images/11042025/17/31/image_11042025_17_31_37_10384.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/17/30/image_11042025_17_30_47_10358.jpg
/home/pi/Desktop/images/11042025/17/30/image_11042025_17_30_56_9382.jpg
/home/pi/Desktop/images/11042025/17/30/image_11042025_17_31_06_10349.jpg
/home/pi/Desktop/images/11042025/17/31/image_11042025_17_31_17_10345.jpg
/home/pi/Desktop/images/11042025/17/31/image_11042025_17_31_26_9458.jpg
/home/pi/Desktop/images/11042025/17/31/image_11042025_17_31_37_10384.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351837235","1351837288","1351837081","1351837099","1351837171","1351837015"],"photo_ids_order":["1351837015","1351837081","1351837099","1351837171","1351837235","1351837288"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/16e6362faa9656a3b47964aa70aa1826.jpg","text":"TemporaryFile(/tmp/multipartBody736890451679992191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391013085,"filename":"image_11042025_17_31_26_9458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/300cd10696abf56bb51571a989189c4c.jpg","text":"TemporaryFile(/tmp/multipartBody3939537907252706150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391013085,"filename":"image_11042025_17_31_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/11/527173d5801ffefae27e6661764e24d6.jpg","text":"TemporaryFile(/tmp/multipartBody459203193593553524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391013085,"filename":"image_11042025_17_30_56_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4625553a0b022979d657260b896062bc.jpg","text":"TemporaryFile(/tmp/multipartBody8347403256987787195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391013085,"filename":"image_11042025_17_31_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/11/d8e932b3efcd08ec2828e828d8c62535.jpg","text":"TemporaryFile(/tmp/multipartBody8915113261872210450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391013085,"filename":"image_11042025_17_31_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/11/f1cb9d030bbd7d163dcc0918baf5462f.jpg","text":"TemporaryFile(/tmp/multipartBody8873608671811455381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391013085,"filename":"image_11042025_17_30_47_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351837099","file1":"1351837081","file0":"1351837015","file4":"1351837235","file5":"1351837288","file3":"1351837171"},"map_files_photo_id_array":[{"photo_id":"1351837288","filename":"file5"},{"photo_id":"1351837099","filename":"file2"},{"photo_id":"1351837235","filename":"file4"},{"photo_id":"1351837081","filename":"file1"},{"photo_id":"1351837015","filename":"file0"},{"photo_id":"1351837171","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351837235":["hashtag1","hashtag2"]},{"1351837288":["hashtag1","hashtag2"]},{"1351837081":["hashtag1","hashtag2"]},{"1351837099":["hashtag1","hashtag2"]},{"1351837171":["hashtag1","hashtag2"]},{"1351837015":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351837235, 1351837288, 1351837081, 1351837099, 1351837171, 1351837015)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.58779168128967 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 19:03:32.869705
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/17/31/image_11042025_17_31_46_9474.jpg', '/home/pi/Desktop/images/11042025/17/31/image_11042025_17_31_56_10378.jpg', '/home/pi/Desktop/images/11042025/17/31/image_11042025_17_32_07_10366.jpg', '/home/pi/Desktop/images/11042025/17/32/image_11042025_17_32_16_9417.jpg', '/home/pi/Desktop/images/11042025/17/32/image_11042025_17_32_27_10360.jpg', '/home/pi/Desktop/images/11042025/17/32/image_11042025_17_32_36_9457.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/17/31/image_11042025_17_31_46_9474.jpg
/home/pi/Desktop/images/11042025/17/31/image_11042025_17_31_56_10378.jpg
/home/pi/Desktop/images/11042025/17/31/image_11042025_17_32_07_10366.jpg
/home/pi/Desktop/images/11042025/17/32/image_11042025_17_32_16_9417.jpg
/home/pi/Desktop/images/11042025/17/32/image_11042025_17_32_27_10360.jpg
/home/pi/Desktop/images/11042025/17/32/image_11042025_17_32_36_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":["1351837664","1351837640","1351837896","1351837842","1351837743","1351837701"],"photo_ids_order":["1351837640","1351837664","1351837701","1351837743","1351837842","1351837896"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/fc565e2b3a6bc25fd0c384aec107c7c5.jpg","text":"TemporaryFile(/tmp/multipartBody2021679177416238289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391073349,"filename":"image_11042025_17_31_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/11/9d46435eb4e14dc7a74d1f6b4af29e76.jpg","text":"TemporaryFile(/tmp/multipartBody5551878693140133317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391073349,"filename":"image_11042025_17_31_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/11/d374693803facca1726ebfb678ad011a.jpg","text":"TemporaryFile(/tmp/multipartBody1108092491854845372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391073349,"filename":"image_11042025_17_32_36_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a725db239e413de9611eecc25e958ee3.jpg","text":"TemporaryFile(/tmp/multipartBody1553353965849924555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391073349,"filename":"image_11042025_17_32_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/11/990699e46edd75d004e2cff441399933.jpg","text":"TemporaryFile(/tmp/multipartBody2571744953593399679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391073349,"filename":"image_11042025_17_32_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/11/a81be4c8bbeabd8f4350f81e52de2394.jpg","text":"TemporaryFile(/tmp/multipartBody3474300050164498726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391073349,"filename":"image_11042025_17_32_07_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351837701","file1":"1351837664","file0":"1351837640","file4":"1351837842","file5":"1351837896","file3":"1351837743"},"map_files_photo_id_array":[{"photo_id":"1351837896","filename":"file5"},{"photo_id":"1351837701","filename":"file2"},{"photo_id":"1351837842","filename":"file4"},{"photo_id":"1351837664","filename":"file1"},{"photo_id":"1351837640","filename":"file0"},{"photo_id":"1351837743","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351837664":["hashtag1","hashtag2"]},{"1351837640":["hashtag1","hashtag2"]},{"1351837896":["hashtag1","hashtag2"]},{"1351837842":["hashtag1","hashtag2"]},{"1351837743":["hashtag1","hashtag2"]},{"1351837701":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351837664, 1351837640, 1351837896, 1351837842, 1351837743, 1351837701)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.443578004837036 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 19:04:33.058209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/17/32/image_11042025_17_32_46_10370.jpg', '/home/pi/Desktop/images/11042025/17/32/image_11042025_17_32_57_10393.jpg', '/home/pi/Desktop/images/11042025/17/32/image_11042025_17_33_06_9379.jpg', '/home/pi/Desktop/images/11042025/17/33/image_11042025_17_33_17_10357.jpg', '/home/pi/Desktop/images/11042025/17/33/image_11042025_17_33_26_9456.jpg', '/home/pi/Desktop/images/11042025/17/33/image_11042025_17_33_36_10391.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/17/32/image_11042025_17_32_46_10370.jpg
/home/pi/Desktop/images/11042025/17/32/image_11042025_17_32_57_10393.jpg
/home/pi/Desktop/images/11042025/17/32/image_11042025_17_33_06_9379.jpg
/home/pi/Desktop/images/11042025/17/33/image_11042025_17_33_17_10357.jpg
/home/pi/Desktop/images/11042025/17/33/image_11042025_17_33_26_9456.jpg
/home/pi/Desktop/images/11042025/17/33/image_11042025_17_33_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":["1351838450","1351838402","1351838509","1351838277","1351838355","1351838229"],"photo_ids_order":["1351838229","1351838277","1351838355","1351838402","1351838450","1351838509"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/144e2ca2d7cf79f8ca274151c33d35c2.jpg","text":"TemporaryFile(/tmp/multipartBody25603234684726721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391133656,"filename":"image_11042025_17_33_26_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/57bc4260bac94bcd9ac292103d4af171.jpg","text":"TemporaryFile(/tmp/multipartBody8626446487120314431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391133656,"filename":"image_11042025_17_33_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/11/ac03d5cf90b1f57a83dd884b473ea423.jpg","text":"TemporaryFile(/tmp/multipartBody8590844006700622442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391133656,"filename":"image_11042025_17_33_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/11/1fa0d79f54800cf7e63b6320f07a1b97.jpg","text":"TemporaryFile(/tmp/multipartBody3244591986514381478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391133656,"filename":"image_11042025_17_32_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/11/e8a74d14ebeaab908344d849512ec08e.jpg","text":"TemporaryFile(/tmp/multipartBody6675211367490671438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391133656,"filename":"image_11042025_17_33_06_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/78881f982cfd2faf6d382508757a22da.jpg","text":"TemporaryFile(/tmp/multipartBody3278176607964170465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391133656,"filename":"image_11042025_17_32_46_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351838355","file1":"1351838277","file0":"1351838229","file4":"1351838450","file5":"1351838509","file3":"1351838402"},"map_files_photo_id_array":[{"photo_id":"1351838509","filename":"file5"},{"photo_id":"1351838355","filename":"file2"},{"photo_id":"1351838450","filename":"file4"},{"photo_id":"1351838277","filename":"file1"},{"photo_id":"1351838229","filename":"file0"},{"photo_id":"1351838402","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351838450":["hashtag1","hashtag2"]},{"1351838402":["hashtag1","hashtag2"]},{"1351838509":["hashtag1","hashtag2"]},{"1351838277":["hashtag1","hashtag2"]},{"1351838355":["hashtag1","hashtag2"]},{"1351838229":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351838450, 1351838402, 1351838509, 1351838277, 1351838355, 1351838229)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.43070316314697 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 19:05:32.281085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/17/33/image_11042025_17_33_47_10352.jpg', '/home/pi/Desktop/images/11042025/17/33/image_11042025_17_33_56_9450.jpg', '/home/pi/Desktop/images/11042025/17/33/image_11042025_17_34_07_10365.jpg', '/home/pi/Desktop/images/11042025/17/34/image_11042025_17_34_16_9402.jpg', '/home/pi/Desktop/images/11042025/17/34/image_11042025_17_34_26_10387.jpg', '/home/pi/Desktop/images/11042025/17/34/image_11042025_17_34_37_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/17/33/image_11042025_17_33_47_10352.jpg
/home/pi/Desktop/images/11042025/17/33/image_11042025_17_33_56_9450.jpg
/home/pi/Desktop/images/11042025/17/33/image_11042025_17_34_07_10365.jpg
/home/pi/Desktop/images/11042025/17/34/image_11042025_17_34_16_9402.jpg
/home/pi/Desktop/images/11042025/17/34/image_11042025_17_34_26_10387.jpg
/home/pi/Desktop/images/11042025/17/34/image_11042025_17_34_37_10353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351838834","1351838998","1351838903","1351838926","1351839075","1351838867"],"photo_ids_order":["1351838834","1351838867","1351838903","1351838926","1351838998","1351839075"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4e8cb69e2caa6f090c23d76ba1d33fa7.jpg","text":"TemporaryFile(/tmp/multipartBody8996745716616394009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391192856,"filename":"image_11042025_17_33_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/11/5e53fab56bc3914c63355ef998375243.jpg","text":"TemporaryFile(/tmp/multipartBody2056342874456423587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391192856,"filename":"image_11042025_17_34_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/11/ffd776bb2eb779217cdf6e5ba9cbf69c.jpg","text":"TemporaryFile(/tmp/multipartBody4860154302739058934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391192856,"filename":"image_11042025_17_34_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/11/ceec15301b54884ec3f0551e05102aa5.jpg","text":"TemporaryFile(/tmp/multipartBody317226896397417732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391192856,"filename":"image_11042025_17_34_16_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b34c87e113ac57f0a5b88c3a16c0ac58.jpg","text":"TemporaryFile(/tmp/multipartBody323181445298682977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391192856,"filename":"image_11042025_17_34_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/11/c95c23e426a82047dae0fb1d598af761.jpg","text":"TemporaryFile(/tmp/multipartBody7953969964462639257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391192856,"filename":"image_11042025_17_33_56_9450.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351838903","file1":"1351838867","file0":"1351838834","file4":"1351838998","file5":"1351839075","file3":"1351838926"},"map_files_photo_id_array":[{"photo_id":"1351839075","filename":"file5"},{"photo_id":"1351838903","filename":"file2"},{"photo_id":"1351838998","filename":"file4"},{"photo_id":"1351838867","filename":"file1"},{"photo_id":"1351838834","filename":"file0"},{"photo_id":"1351838926","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351838834":["hashtag1","hashtag2"]},{"1351838998":["hashtag1","hashtag2"]},{"1351838903":["hashtag1","hashtag2"]},{"1351838926":["hashtag1","hashtag2"]},{"1351839075":["hashtag1","hashtag2"]},{"1351838867":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351838834, 1351838998, 1351838903, 1351838926, 1351839075, 1351838867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.437140226364136 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 19:06:32.759118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/17/34/image_11042025_17_34_46_9354.jpg', '/home/pi/Desktop/images/11042025/17/34/image_11042025_17_34_56_10347.jpg', '/home/pi/Desktop/images/11042025/17/34/image_11042025_17_35_07_10343.jpg', '/home/pi/Desktop/images/11042025/17/35/image_11042025_17_35_16_9347.jpg', '/home/pi/Desktop/images/11042025/17/35/image_11042025_17_35_26_10351.jpg', '/home/pi/Desktop/images/11042025/17/35/image_11042025_17_35_57_10377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/17/34/image_11042025_17_34_46_9354.jpg
/home/pi/Desktop/images/11042025/17/34/image_11042025_17_34_56_10347.jpg
/home/pi/Desktop/images/11042025/17/34/image_11042025_17_35_07_10343.jpg
/home/pi/Desktop/images/11042025/17/35/image_11042025_17_35_16_9347.jpg
/home/pi/Desktop/images/11042025/17/35/image_11042025_17_35_26_10351.jpg
/home/pi/Desktop/images/11042025/17/35/image_11042025_17_35_57_10377.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.37538862228393555 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 19:06:42.772635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/17/34/image_11042025_17_34_46_9354.jpg', '/home/pi/Desktop/images/11042025/17/34/image_11042025_17_34_56_10347.jpg', '/home/pi/Desktop/images/11042025/17/34/image_11042025_17_35_07_10343.jpg', '/home/pi/Desktop/images/11042025/17/35/image_11042025_17_35_16_9347.jpg', '/home/pi/Desktop/images/11042025/17/35/image_11042025_17_35_26_10351.jpg', '/home/pi/Desktop/images/11042025/17/35/image_11042025_17_35_57_10377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/17/34/image_11042025_17_34_46_9354.jpg
/home/pi/Desktop/images/11042025/17/34/image_11042025_17_34_56_10347.jpg
/home/pi/Desktop/images/11042025/17/34/image_11042025_17_35_07_10343.jpg
/home/pi/Desktop/images/11042025/17/35/image_11042025_17_35_16_9347.jpg
/home/pi/Desktop/images/11042025/17/35/image_11042025_17_35_26_10351.jpg
/home/pi/Desktop/images/11042025/17/35/image_11042025_17_35_57_10377.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351839985","1351839870","1351840117","1351840254","1351840083","1351839723"],"photo_ids_order":["1351839723","1351839870","1351839985","1351840083","1351840117","1351840254"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d6fea0b2ea903c32af58dcb67cb74554.jpg","text":"TemporaryFile(/tmp/multipartBody7949647902435776521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391263232,"filename":"image_11042025_17_35_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/11/6801cccf44ecf965d6bad1d0580afd18.jpg","text":"TemporaryFile(/tmp/multipartBody3955188169935322749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391263232,"filename":"image_11042025_17_34_56_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d564ff3e97c7a41b8bc1c1c7178ad4c3.jpg","text":"TemporaryFile(/tmp/multipartBody2538172068914178285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391263232,"filename":"image_11042025_17_35_26_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2615c146b265589691135e8d04cb2594.jpg","text":"TemporaryFile(/tmp/multipartBody4085092931525614257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391263232,"filename":"image_11042025_17_35_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/11/9cf86cbc286314729e8e18b498177fe5.jpg","text":"TemporaryFile(/tmp/multipartBody7370823117369229022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391263232,"filename":"image_11042025_17_35_16_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/bbf5a44614a8547de1411a8734afbe9d.jpg","text":"TemporaryFile(/tmp/multipartBody8765387243218026050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391263232,"filename":"image_11042025_17_34_46_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351839985","file1":"1351839870","file0":"1351839723","file4":"1351840117","file5":"1351840254","file3":"1351840083"},"map_files_photo_id_array":[{"photo_id":"1351840254","filename":"file5"},{"photo_id":"1351839985","filename":"file2"},{"photo_id":"1351840117","filename":"file4"},{"photo_id":"1351839870","filename":"file1"},{"photo_id":"1351839723","filename":"file0"},{"photo_id":"1351840083","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351839985":["hashtag1","hashtag2"]},{"1351839870":["hashtag1","hashtag2"]},{"1351840117":["hashtag1","hashtag2"]},{"1351840254":["hashtag1","hashtag2"]},{"1351840083":["hashtag1","hashtag2"]},{"1351839723":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351839985, 1351839870, 1351840117, 1351840254, 1351840083, 1351839723)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.3823356628418 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 19:07:32.799811
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/17/36/image_11042025_17_36_16_10344.jpg', '/home/pi/Desktop/images/11042025/17/36/image_11042025_17_36_27_10372.jpg', '/home/pi/Desktop/images/11042025/17/36/image_11042025_17_36_36_9420.jpg', '/home/pi/Desktop/images/11042025/17/36/image_11042025_17_36_46_10373.jpg', '/home/pi/Desktop/images/11042025/17/36/image_11042025_17_36_57_10353.jpg', '/home/pi/Desktop/images/11042025/17/36/image_11042025_17_37_06_9449.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/17/36/image_11042025_17_36_16_10344.jpg
/home/pi/Desktop/images/11042025/17/36/image_11042025_17_36_27_10372.jpg
/home/pi/Desktop/images/11042025/17/36/image_11042025_17_36_36_9420.jpg
/home/pi/Desktop/images/11042025/17/36/image_11042025_17_36_46_10373.jpg
/home/pi/Desktop/images/11042025/17/36/image_11042025_17_36_57_10353.jpg
/home/pi/Desktop/images/11042025/17/36/image_11042025_17_37_06_9449.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351841074","1351840894","1351840771","1351841113","1351841145","1351840970"],"photo_ids_order":["1351840771","1351840894","1351840970","1351841074","1351841113","1351841145"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/fad235c669dd76ee327d80770b1c9058.jpg","text":"TemporaryFile(/tmp/multipartBody1610311416667684966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391313280,"filename":"image_11042025_17_36_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/11/26a1afdfed8f786e464f7d732f92c759.jpg","text":"TemporaryFile(/tmp/multipartBody2547723795167397376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391313280,"filename":"image_11042025_17_36_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/11/7f56ec9313dc7e2f6a02de57daccaabd.jpg","text":"TemporaryFile(/tmp/multipartBody6168547044078238442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391313280,"filename":"image_11042025_17_36_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/11/3966fb2a05b6ff7e1c1cad2ccd22ad16.jpg","text":"TemporaryFile(/tmp/multipartBody9138760272464410249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391313280,"filename":"image_11042025_17_36_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/11/192ed5348228444518d246b983a1119b.jpg","text":"TemporaryFile(/tmp/multipartBody5271822064886918905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391313280,"filename":"image_11042025_17_37_06_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ac0438aa500fbf55949d514bf6ff5964.jpg","text":"TemporaryFile(/tmp/multipartBody525743253856038583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391313280,"filename":"image_11042025_17_36_36_9420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351840970","file1":"1351840894","file0":"1351840771","file4":"1351841113","file5":"1351841145","file3":"1351841074"},"map_files_photo_id_array":[{"photo_id":"1351841145","filename":"file5"},{"photo_id":"1351840970","filename":"file2"},{"photo_id":"1351841113","filename":"file4"},{"photo_id":"1351840894","filename":"file1"},{"photo_id":"1351840771","filename":"file0"},{"photo_id":"1351841074","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351841074":["hashtag1","hashtag2"]},{"1351840894":["hashtag1","hashtag2"]},{"1351840771":["hashtag1","hashtag2"]},{"1351841113":["hashtag1","hashtag2"]},{"1351841145":["hashtag1","hashtag2"]},{"1351840970":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351841074, 1351840894, 1351840771, 1351841113, 1351841145, 1351840970)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.859052419662476 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 19:08:33.239932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/17/37/image_11042025_17_37_17_10434.jpg', '/home/pi/Desktop/images/11042025/17/37/image_11042025_17_37_26_9381.jpg', '/home/pi/Desktop/images/11042025/17/37/image_11042025_17_37_36_10358.jpg', '/home/pi/Desktop/images/11042025/17/37/image_11042025_17_37_47_10386.jpg', '/home/pi/Desktop/images/11042025/17/37/image_11042025_17_37_56_9438.jpg', '/home/pi/Desktop/images/11042025/17/37/image_11042025_17_38_07_10441.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/17/37/image_11042025_17_37_17_10434.jpg
/home/pi/Desktop/images/11042025/17/37/image_11042025_17_37_26_9381.jpg
/home/pi/Desktop/images/11042025/17/37/image_11042025_17_37_36_10358.jpg
/home/pi/Desktop/images/11042025/17/37/image_11042025_17_37_47_10386.jpg
/home/pi/Desktop/images/11042025/17/37/image_11042025_17_37_56_9438.jpg
/home/pi/Desktop/images/11042025/17/37/image_11042025_17_38_07_10441.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":["1351841791","1351841395","1351842424","1351842090","1351841340","1351841396"],"photo_ids_order":["1351841340","1351841395","1351841396","1351841791","1351842090","1351842424"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e09390874dd66a78f2d3654461c8100b.jpg","text":"TemporaryFile(/tmp/multipartBody8798839412888636053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391373699,"filename":"image_11042025_17_37_47_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/56c6494606e2fb64a3c258d8a40a4485.jpg","text":"TemporaryFile(/tmp/multipartBody4545498067153416468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391373699,"filename":"image_11042025_17_37_26_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a9667716f8524c6563ab9c55f8273f91.jpg","text":"TemporaryFile(/tmp/multipartBody8776902007105392479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391373699,"filename":"image_11042025_17_38_07_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d89a6862ea166b1fa33854b71b214589.jpg","text":"TemporaryFile(/tmp/multipartBody1132751757240108902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391373699,"filename":"image_11042025_17_37_56_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/24929f3345b22883d60740397482e7be.jpg","text":"TemporaryFile(/tmp/multipartBody7241891350858871204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391373699,"filename":"image_11042025_17_37_17_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/11/b1895e72781cd5422fb408b398a84d55.jpg","text":"TemporaryFile(/tmp/multipartBody532780804387908854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391373699,"filename":"image_11042025_17_37_36_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351841396","file1":"1351841395","file0":"1351841340","file4":"1351842090","file5":"1351842424","file3":"1351841791"},"map_files_photo_id_array":[{"photo_id":"1351842424","filename":"file5"},{"photo_id":"1351841396","filename":"file2"},{"photo_id":"1351842090","filename":"file4"},{"photo_id":"1351841395","filename":"file1"},{"photo_id":"1351841340","filename":"file0"},{"photo_id":"1351841791","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351841791":["hashtag1","hashtag2"]},{"1351841395":["hashtag1","hashtag2"]},{"1351842424":["hashtag1","hashtag2"]},{"1351842090":["hashtag1","hashtag2"]},{"1351841340":["hashtag1","hashtag2"]},{"1351841396":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351841791, 1351841395, 1351842424, 1351842090, 1351841340, 1351841396)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 66.97899723052979 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 19:09:42.459721
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/17/38/image_11042025_17_38_16_9414.jpg', '/home/pi/Desktop/images/11042025/17/38/image_11042025_17_38_26_10358.jpg', '/home/pi/Desktop/images/11042025/17/38/image_11042025_17_38_36_9492.jpg', '/home/pi/Desktop/images/11042025/17/38/image_11042025_17_38_46_10377.jpg', '/home/pi/Desktop/images/11042025/17/38/image_11042025_17_38_57_10442.jpg', '/home/pi/Desktop/images/11042025/17/38/image_11042025_17_39_06_9430.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/17/38/image_11042025_17_38_16_9414.jpg
/home/pi/Desktop/images/11042025/17/38/image_11042025_17_38_26_10358.jpg
/home/pi/Desktop/images/11042025/17/38/image_11042025_17_38_36_9492.jpg
/home/pi/Desktop/images/11042025/17/38/image_11042025_17_38_46_10377.jpg
/home/pi/Desktop/images/11042025/17/38/image_11042025_17_38_57_10442.jpg
/home/pi/Desktop/images/11042025/17/38/image_11042025_17_39_06_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":["1351842702","1351842893","1351842776","1351842827","1351842734","1351843258"],"photo_ids_order":["1351842702","1351842734","1351842776","1351842827","1351842893","1351843258"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/88cef1ef0f3a2b160a34270c3d572cc2.jpg","text":"TemporaryFile(/tmp/multipartBody9052437671840351699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391442935,"filename":"image_11042025_17_38_16_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/96327a5f0c094ba92280b030b509fd8b.jpg","text":"TemporaryFile(/tmp/multipartBody8899037782494198058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391442935,"filename":"image_11042025_17_38_57_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/370f266dda3f17217f7c2c945b8c1afc.jpg","text":"TemporaryFile(/tmp/multipartBody3976328149497871613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391442935,"filename":"image_11042025_17_38_36_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/11/2120aa2bab8258c6b809711e78a32422.jpg","text":"TemporaryFile(/tmp/multipartBody7227503795729248467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391442935,"filename":"image_11042025_17_38_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/11/401b21516ae201eec35a6178b3617ce8.jpg","text":"TemporaryFile(/tmp/multipartBody7141088829495929936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391442935,"filename":"image_11042025_17_38_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/11/348fe9d73781b0adbce43d26b2a54d5c.jpg","text":"TemporaryFile(/tmp/multipartBody3778189983475494134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391442935,"filename":"image_11042025_17_39_06_9430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351842776","file1":"1351842734","file0":"1351842702","file4":"1351842893","file5":"1351843258","file3":"1351842827"},"map_files_photo_id_array":[{"photo_id":"1351843258","filename":"file5"},{"photo_id":"1351842776","filename":"file2"},{"photo_id":"1351842893","filename":"file4"},{"photo_id":"1351842734","filename":"file1"},{"photo_id":"1351842702","filename":"file0"},{"photo_id":"1351842827","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351842702":["hashtag1","hashtag2"]},{"1351842893":["hashtag1","hashtag2"]},{"1351842776":["hashtag1","hashtag2"]},{"1351842827":["hashtag1","hashtag2"]},{"1351842734":["hashtag1","hashtag2"]},{"1351843258":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351842702, 1351842893, 1351842776, 1351842827, 1351842734, 1351843258)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.39912390708923 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 19:10:42.549328
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/17/39/image_11042025_17_39_17_10356.jpg', '/home/pi/Desktop/images/11042025/17/39/image_11042025_17_39_26_9402.jpg', '/home/pi/Desktop/images/11042025/17/39/image_11042025_17_39_36_10385.jpg', '/home/pi/Desktop/images/11042025/17/39/image_11042025_17_39_47_10356.jpg', '/home/pi/Desktop/images/11042025/17/39/image_11042025_17_39_56_9475.jpg', '/home/pi/Desktop/images/11042025/17/39/image_11042025_17_40_07_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/17/39/image_11042025_17_39_17_10356.jpg
/home/pi/Desktop/images/11042025/17/39/image_11042025_17_39_26_9402.jpg
/home/pi/Desktop/images/11042025/17/39/image_11042025_17_39_36_10385.jpg
/home/pi/Desktop/images/11042025/17/39/image_11042025_17_39_47_10356.jpg
/home/pi/Desktop/images/11042025/17/39/image_11042025_17_39_56_9475.jpg
/home/pi/Desktop/images/11042025/17/39/image_11042025_17_40_07_10358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351844022","1351843935","1351843587","1351843716","1351843796","1351843993"],"photo_ids_order":["1351843587","1351843716","1351843796","1351843935","1351843993","1351844022"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a689eb1032092bed44cfa11e3bc86460.jpg","text":"TemporaryFile(/tmp/multipartBody2429942306998399692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391503022,"filename":"image_11042025_17_40_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/11/fc2cd43bd36959eae7c37d5964c3cd30.jpg","text":"TemporaryFile(/tmp/multipartBody882228883692119959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391503022,"filename":"image_11042025_17_39_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/11/ed0ccdb5d9cef51e9cb63bf3e725b5da.jpg","text":"TemporaryFile(/tmp/multipartBody9070739371868893403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391503022,"filename":"image_11042025_17_39_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/11/2b8f9d0f37c5ff5e9000fa1139af461d.jpg","text":"TemporaryFile(/tmp/multipartBody5162979141741876799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391503022,"filename":"image_11042025_17_39_26_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f74b8ee7d62aaa7e90cea132c8b0606f.jpg","text":"TemporaryFile(/tmp/multipartBody4026570831303952283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391503022,"filename":"image_11042025_17_39_36_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/111f0f67e8a1fd17ce00033a89a9511e.jpg","text":"TemporaryFile(/tmp/multipartBody1172508479086775097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391503022,"filename":"image_11042025_17_39_56_9475.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351843796","file1":"1351843716","file0":"1351843587","file4":"1351843993","file5":"1351844022","file3":"1351843935"},"map_files_photo_id_array":[{"photo_id":"1351844022","filename":"file5"},{"photo_id":"1351843796","filename":"file2"},{"photo_id":"1351843993","filename":"file4"},{"photo_id":"1351843716","filename":"file1"},{"photo_id":"1351843587","filename":"file0"},{"photo_id":"1351843935","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351844022":["hashtag1","hashtag2"]},{"1351843935":["hashtag1","hashtag2"]},{"1351843587":["hashtag1","hashtag2"]},{"1351843716":["hashtag1","hashtag2"]},{"1351843796":["hashtag1","hashtag2"]},{"1351843993":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351844022, 1351843935, 1351843587, 1351843716, 1351843796, 1351843993)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.12957191467285 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 19:11:42.750121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/17/40/image_11042025_17_40_16_9491.jpg', '/home/pi/Desktop/images/11042025/17/40/image_11042025_17_40_26_10373.jpg', '/home/pi/Desktop/images/11042025/17/40/image_11042025_17_40_37_10363.jpg', '/home/pi/Desktop/images/11042025/17/40/image_11042025_17_40_46_9387.jpg', '/home/pi/Desktop/images/11042025/17/40/image_11042025_17_40_57_10361.jpg', '/home/pi/Desktop/images/11042025/17/40/image_11042025_17_41_06_9473.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/17/40/image_11042025_17_40_16_9491.jpg
/home/pi/Desktop/images/11042025/17/40/image_11042025_17_40_26_10373.jpg
/home/pi/Desktop/images/11042025/17/40/image_11042025_17_40_37_10363.jpg
/home/pi/Desktop/images/11042025/17/40/image_11042025_17_40_46_9387.jpg
/home/pi/Desktop/images/11042025/17/40/image_11042025_17_40_57_10361.jpg
/home/pi/Desktop/images/11042025/17/40/image_11042025_17_41_06_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":["1351844807","1351844746","1351844509","1351844716","1351844326","1351844676"],"photo_ids_order":["1351844326","1351844509","1351844676","1351844716","1351844746","1351844807"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9fa60727fe0cbd0888386367f383de15.jpg","text":"TemporaryFile(/tmp/multipartBody6638257182120544556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391563215,"filename":"image_11042025_17_41_06_9473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0782825d2ab9816ed741ec0bda64ebca.jpg","text":"TemporaryFile(/tmp/multipartBody3672784753819313222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391563215,"filename":"image_11042025_17_40_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/11/8c2122d2865cbe2a8275a8666b24b097.jpg","text":"TemporaryFile(/tmp/multipartBody6843405768910113290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391563215,"filename":"image_11042025_17_40_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/11/df2e3b775b6882d23d1d9daaee9a338e.jpg","text":"TemporaryFile(/tmp/multipartBody7249916051201020176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391563215,"filename":"image_11042025_17_40_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/11/34601e8c675bc837f5652c13007e1c47.jpg","text":"TemporaryFile(/tmp/multipartBody6190918240437071955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391563215,"filename":"image_11042025_17_40_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/11/9b8e50d89865f32a40935415422d7e82.jpg","text":"TemporaryFile(/tmp/multipartBody7219347314337120969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391563215,"filename":"image_11042025_17_40_37_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351844676","file1":"1351844509","file0":"1351844326","file4":"1351844746","file5":"1351844807","file3":"1351844716"},"map_files_photo_id_array":[{"photo_id":"1351844807","filename":"file5"},{"photo_id":"1351844676","filename":"file2"},{"photo_id":"1351844746","filename":"file4"},{"photo_id":"1351844509","filename":"file1"},{"photo_id":"1351844326","filename":"file0"},{"photo_id":"1351844716","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351844807":["hashtag1","hashtag2"]},{"1351844746":["hashtag1","hashtag2"]},{"1351844509":["hashtag1","hashtag2"]},{"1351844716":["hashtag1","hashtag2"]},{"1351844326":["hashtag1","hashtag2"]},{"1351844676":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351844807, 1351844746, 1351844509, 1351844716, 1351844326, 1351844676)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.88843560218811 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 19:12:32.839390
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/17/41/image_11042025_17_41_16_10361.jpg', '/home/pi/Desktop/images/11042025/17/41/image_11042025_17_41_27_10369.jpg', '/home/pi/Desktop/images/11042025/17/41/image_11042025_17_41_36_9526.jpg', '/home/pi/Desktop/images/11042025/17/41/image_11042025_17_41_47_10431.jpg', '/home/pi/Desktop/images/11042025/17/41/image_11042025_17_41_56_9362.jpg', '/home/pi/Desktop/images/11042025/17/41/image_11042025_17_42_06_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/17/41/image_11042025_17_41_16_10361.jpg
/home/pi/Desktop/images/11042025/17/41/image_11042025_17_41_27_10369.jpg
/home/pi/Desktop/images/11042025/17/41/image_11042025_17_41_36_9526.jpg
/home/pi/Desktop/images/11042025/17/41/image_11042025_17_41_47_10431.jpg
/home/pi/Desktop/images/11042025/17/41/image_11042025_17_41_56_9362.jpg
/home/pi/Desktop/images/11042025/17/41/image_11042025_17_42_06_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":["1351845182","1351845230","1351845277","1351845067","1351845099","1351844964"],"photo_ids_order":["1351844964","1351845067","1351845099","1351845182","1351845230","1351845277"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/272537146e2875caa8fc9c4efdbe9755.jpg","text":"TemporaryFile(/tmp/multipartBody1508379431130493463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391613298,"filename":"image_11042025_17_41_47_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/bd9f858da73f6a60991e0b9687930743.jpg","text":"TemporaryFile(/tmp/multipartBody7140601488704295677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391613298,"filename":"image_11042025_17_41_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/11/0d6f0fe18401ffbd9c834addadb1ec01.jpg","text":"TemporaryFile(/tmp/multipartBody4984021445329983509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391613298,"filename":"image_11042025_17_42_06_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5a31f43ecee021f2993dfed37e949641.jpg","text":"TemporaryFile(/tmp/multipartBody4403655324466833267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391613298,"filename":"image_11042025_17_41_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/11/0780bfc4306ce920c9648e5b15560530.jpg","text":"TemporaryFile(/tmp/multipartBody7271905702141893224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391613298,"filename":"image_11042025_17_41_36_9526.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7aa7a7b48063d5fbcc9dac020d92b7e4.jpg","text":"TemporaryFile(/tmp/multipartBody2420240843147411768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391613298,"filename":"image_11042025_17_41_16_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351845099","file1":"1351845067","file0":"1351844964","file4":"1351845230","file5":"1351845277","file3":"1351845182"},"map_files_photo_id_array":[{"photo_id":"1351845277","filename":"file5"},{"photo_id":"1351845099","filename":"file2"},{"photo_id":"1351845230","filename":"file4"},{"photo_id":"1351845067","filename":"file1"},{"photo_id":"1351844964","filename":"file0"},{"photo_id":"1351845182","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351845182":["hashtag1","hashtag2"]},{"1351845230":["hashtag1","hashtag2"]},{"1351845277":["hashtag1","hashtag2"]},{"1351845067":["hashtag1","hashtag2"]},{"1351845099":["hashtag1","hashtag2"]},{"1351844964":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351845182, 1351845230, 1351845277, 1351845067, 1351845099, 1351844964)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.55108070373535 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 19:13:33.055867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/17/42/image_11042025_17_42_17_10355.jpg', '/home/pi/Desktop/images/11042025/17/42/image_11042025_17_42_26_9466.jpg', '/home/pi/Desktop/images/11042025/17/42/image_11042025_17_42_37_10354.jpg', '/home/pi/Desktop/images/11042025/17/42/image_11042025_17_42_46_9545.jpg', '/home/pi/Desktop/images/11042025/17/42/image_11042025_17_42_57_10455.jpg', '/home/pi/Desktop/images/11042025/17/42/image_11042025_17_43_06_9422.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/17/42/image_11042025_17_42_17_10355.jpg
/home/pi/Desktop/images/11042025/17/42/image_11042025_17_42_26_9466.jpg
/home/pi/Desktop/images/11042025/17/42/image_11042025_17_42_37_10354.jpg
/home/pi/Desktop/images/11042025/17/42/image_11042025_17_42_46_9545.jpg
/home/pi/Desktop/images/11042025/17/42/image_11042025_17_42_57_10455.jpg
/home/pi/Desktop/images/11042025/17/42/image_11042025_17_43_06_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":["1351845473","1351845905","1351845509","1351845821","1351845716","1351845570"],"photo_ids_order":["1351845473","1351845509","1351845570","1351845716","1351845821","1351845905"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e777261f9a904d224bb15d0d8d492a33.jpg","text":"TemporaryFile(/tmp/multipartBody1306926675601430411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391673526,"filename":"image_11042025_17_42_17_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5e5eace1b423fb548e5eccdb7346822c.jpg","text":"TemporaryFile(/tmp/multipartBody112096582224293509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391673526,"filename":"image_11042025_17_43_06_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/eca815fecda84a196f78dab40ed59d43.jpg","text":"TemporaryFile(/tmp/multipartBody2159446007812534111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391673526,"filename":"image_11042025_17_42_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/11/5baaa08a769e6b092526fb67df0779ff.jpg","text":"TemporaryFile(/tmp/multipartBody4259030637679958552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391673526,"filename":"image_11042025_17_42_57_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/11/d3b4c20167582b7a02399665265c4503.jpg","text":"TemporaryFile(/tmp/multipartBody2774212846278055046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391673526,"filename":"image_11042025_17_42_46_9545.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3ad9208ef73b26b08d593dc467cf0da2.jpg","text":"TemporaryFile(/tmp/multipartBody6479914894037686484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391673526,"filename":"image_11042025_17_42_37_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351845570","file1":"1351845509","file0":"1351845473","file4":"1351845821","file5":"1351845905","file3":"1351845716"},"map_files_photo_id_array":[{"photo_id":"1351845905","filename":"file5"},{"photo_id":"1351845570","filename":"file2"},{"photo_id":"1351845821","filename":"file4"},{"photo_id":"1351845509","filename":"file1"},{"photo_id":"1351845473","filename":"file0"},{"photo_id":"1351845716","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351845473":["hashtag1","hashtag2"]},{"1351845905":["hashtag1","hashtag2"]},{"1351845509":["hashtag1","hashtag2"]},{"1351845821":["hashtag1","hashtag2"]},{"1351845716":["hashtag1","hashtag2"]},{"1351845570":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351845473, 1351845905, 1351845509, 1351845821, 1351845716, 1351845570)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.988057136535645 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 19:14:32.221710
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/17/43/image_11042025_17_43_16_10355.jpg', '/home/pi/Desktop/images/11042025/17/43/image_11042025_17_43_27_10371.jpg', '/home/pi/Desktop/images/11042025/17/43/image_11042025_17_43_36_9423.jpg', '/home/pi/Desktop/images/11042025/17/43/image_11042025_17_43_47_10391.jpg', '/home/pi/Desktop/images/11042025/17/43/image_11042025_17_43_56_9421.jpg', '/home/pi/Desktop/images/11042025/17/43/image_11042025_17_44_06_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/17/43/image_11042025_17_43_16_10355.jpg
/home/pi/Desktop/images/11042025/17/43/image_11042025_17_43_27_10371.jpg
/home/pi/Desktop/images/11042025/17/43/image_11042025_17_43_36_9423.jpg
/home/pi/Desktop/images/11042025/17/43/image_11042025_17_43_47_10391.jpg
/home/pi/Desktop/images/11042025/17/43/image_11042025_17_43_56_9421.jpg
/home/pi/Desktop/images/11042025/17/43/image_11042025_17_44_06_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":["1351846348","1351846411","1351846141","1351846170","1351846218","1351846280"],"photo_ids_order":["1351846141","1351846170","1351846218","1351846280","1351846348","1351846411"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/87b7357d1b9957e4d94b2efa93dbfb8e.jpg","text":"TemporaryFile(/tmp/multipartBody1177283305241748083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391732674,"filename":"image_11042025_17_43_56_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4e50c2d4a258df39cd8e432a307953d9.jpg","text":"TemporaryFile(/tmp/multipartBody2578166990526295457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391732674,"filename":"image_11042025_17_44_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/11/fd8d683fe71f699dfa15deba159d2cc6.jpg","text":"TemporaryFile(/tmp/multipartBody1361745568156360864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391732674,"filename":"image_11042025_17_43_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/11/cd2ec2bdacf223b9391db35a8930771f.jpg","text":"TemporaryFile(/tmp/multipartBody1053625486527516815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391732674,"filename":"image_11042025_17_43_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/11/76a1f5dd63cc4a7c3470b43c7cf10937.jpg","text":"TemporaryFile(/tmp/multipartBody1663220788483703853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391732674,"filename":"image_11042025_17_43_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/11/56faf2c73b2c5f65fb1b2ad7e292c5de.jpg","text":"TemporaryFile(/tmp/multipartBody1206794289654991314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391732674,"filename":"image_11042025_17_43_47_10391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351846218","file1":"1351846170","file0":"1351846141","file4":"1351846348","file5":"1351846411","file3":"1351846280"},"map_files_photo_id_array":[{"photo_id":"1351846411","filename":"file5"},{"photo_id":"1351846218","filename":"file2"},{"photo_id":"1351846348","filename":"file4"},{"photo_id":"1351846170","filename":"file1"},{"photo_id":"1351846141","filename":"file0"},{"photo_id":"1351846280","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351846348":["hashtag1","hashtag2"]},{"1351846411":["hashtag1","hashtag2"]},{"1351846141":["hashtag1","hashtag2"]},{"1351846170":["hashtag1","hashtag2"]},{"1351846218":["hashtag1","hashtag2"]},{"1351846280":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351846348, 1351846411, 1351846141, 1351846170, 1351846218, 1351846280)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.016504764556885 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 19:15:32.512349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/17/44/image_11042025_17_44_17_10359.jpg', '/home/pi/Desktop/images/11042025/17/44/image_11042025_17_44_26_9400.jpg', '/home/pi/Desktop/images/11042025/17/44/image_11042025_17_44_36_10352.jpg', '/home/pi/Desktop/images/11042025/17/44/image_11042025_17_44_47_10355.jpg', '/home/pi/Desktop/images/11042025/17/44/image_11042025_17_44_56_9479.jpg', '/home/pi/Desktop/images/11042025/17/44/image_11042025_17_45_07_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/17/44/image_11042025_17_44_17_10359.jpg
/home/pi/Desktop/images/11042025/17/44/image_11042025_17_44_26_9400.jpg
/home/pi/Desktop/images/11042025/17/44/image_11042025_17_44_36_10352.jpg
/home/pi/Desktop/images/11042025/17/44/image_11042025_17_44_47_10355.jpg
/home/pi/Desktop/images/11042025/17/44/image_11042025_17_44_56_9479.jpg
/home/pi/Desktop/images/11042025/17/44/image_11042025_17_45_07_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":["1351846789","1351846709","1351846585","1351846885","1351846638","1351846859"],"photo_ids_order":["1351846585","1351846638","1351846709","1351846789","1351846859","1351846885"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/cceeaa886d6ec369f43f427f78f8d507.jpg","text":"TemporaryFile(/tmp/multipartBody1374101256779479714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391792981,"filename":"image_11042025_17_44_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/11/97ea1a1f45daeaff14dc8f83a9d1b8df.jpg","text":"TemporaryFile(/tmp/multipartBody7533900320882918162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391792981,"filename":"image_11042025_17_44_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/11/bbbc167d1cc2b04c1645049589316967.jpg","text":"TemporaryFile(/tmp/multipartBody7320051135263209733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391792981,"filename":"image_11042025_17_44_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/11/94cd67f58fb47bd5a875f4057e09e79c.jpg","text":"TemporaryFile(/tmp/multipartBody8520928723237910971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391792981,"filename":"image_11042025_17_45_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/11/68a624064cfee364807f17d74c0225cf.jpg","text":"TemporaryFile(/tmp/multipartBody4060087756011624808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391792981,"filename":"image_11042025_17_44_26_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c82c09fca50dcd48f6e6b032ed92016c.jpg","text":"TemporaryFile(/tmp/multipartBody7511585589642813632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391792981,"filename":"image_11042025_17_44_56_9479.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351846709","file1":"1351846638","file0":"1351846585","file4":"1351846859","file5":"1351846885","file3":"1351846789"},"map_files_photo_id_array":[{"photo_id":"1351846885","filename":"file5"},{"photo_id":"1351846709","filename":"file2"},{"photo_id":"1351846859","filename":"file4"},{"photo_id":"1351846638","filename":"file1"},{"photo_id":"1351846585","filename":"file0"},{"photo_id":"1351846789","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351846789":["hashtag1","hashtag2"]},{"1351846709":["hashtag1","hashtag2"]},{"1351846585":["hashtag1","hashtag2"]},{"1351846885":["hashtag1","hashtag2"]},{"1351846638":["hashtag1","hashtag2"]},{"1351846859":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351846789, 1351846709, 1351846585, 1351846885, 1351846638, 1351846859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.78477668762207 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 19:16:32.620558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/17/45/image_11042025_17_45_16_9427.jpg', '/home/pi/Desktop/images/11042025/17/45/image_11042025_17_45_27_10390.jpg', '/home/pi/Desktop/images/11042025/17/45/image_11042025_17_45_37_10421.jpg', '/home/pi/Desktop/images/11042025/17/45/image_11042025_17_45_46_9357.jpg', '/home/pi/Desktop/images/11042025/17/45/image_11042025_17_45_57_10404.jpg', '/home/pi/Desktop/images/11042025/17/45/image_11042025_17_46_06_9355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/17/45/image_11042025_17_45_16_9427.jpg
/home/pi/Desktop/images/11042025/17/45/image_11042025_17_45_27_10390.jpg
/home/pi/Desktop/images/11042025/17/45/image_11042025_17_45_37_10421.jpg
/home/pi/Desktop/images/11042025/17/45/image_11042025_17_45_46_9357.jpg
/home/pi/Desktop/images/11042025/17/45/image_11042025_17_45_57_10404.jpg
/home/pi/Desktop/images/11042025/17/45/image_11042025_17_46_06_9355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351847289","1351847172","1351847430","1351847331","1351847213","1351847398"],"photo_ids_order":["1351847172","1351847213","1351847289","1351847331","1351847398","1351847430"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/97e7b69679f31f67ac0dbae1badda1e1.jpg","text":"TemporaryFile(/tmp/multipartBody5215080313903320604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391853075,"filename":"image_11042025_17_45_37_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5714eeb72d834a7fd82e5e4f9047d03f.jpg","text":"TemporaryFile(/tmp/multipartBody6444215848022487884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391853075,"filename":"image_11042025_17_45_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/11/0f963094cd2d126109676e56818a9b5b.jpg","text":"TemporaryFile(/tmp/multipartBody3315751453874114763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391853075,"filename":"image_11042025_17_46_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/11/e82434f8771c01c7800741c66dc63d43.jpg","text":"TemporaryFile(/tmp/multipartBody4762082767445433974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391853075,"filename":"image_11042025_17_45_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/11/83c2312020c4624a99b4e2b0dafcc1d6.jpg","text":"TemporaryFile(/tmp/multipartBody3290534135205939569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391853075,"filename":"image_11042025_17_45_27_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/11/76c300b9fbcd38ce3d7f910143fd30e4.jpg","text":"TemporaryFile(/tmp/multipartBody1647869824437814820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391853075,"filename":"image_11042025_17_45_57_10404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351847289","file1":"1351847213","file0":"1351847172","file4":"1351847398","file5":"1351847430","file3":"1351847331"},"map_files_photo_id_array":[{"photo_id":"1351847430","filename":"file5"},{"photo_id":"1351847289","filename":"file2"},{"photo_id":"1351847398","filename":"file4"},{"photo_id":"1351847213","filename":"file1"},{"photo_id":"1351847172","filename":"file0"},{"photo_id":"1351847331","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351847289":["hashtag1","hashtag2"]},{"1351847172":["hashtag1","hashtag2"]},{"1351847430":["hashtag1","hashtag2"]},{"1351847331":["hashtag1","hashtag2"]},{"1351847213":["hashtag1","hashtag2"]},{"1351847398":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351847289, 1351847172, 1351847430, 1351847331, 1351847213, 1351847398)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.65033316612244 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 19:17:32.867329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/17/46/image_11042025_17_46_16_10361.jpg', '/home/pi/Desktop/images/11042025/17/46/image_11042025_17_46_27_10376.jpg', '/home/pi/Desktop/images/11042025/17/46/image_11042025_17_46_36_9393.jpg', '/home/pi/Desktop/images/11042025/17/46/image_11042025_17_46_47_10362.jpg', '/home/pi/Desktop/images/11042025/17/46/image_11042025_17_46_56_9457.jpg', '/home/pi/Desktop/images/11042025/17/46/image_11042025_17_47_06_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/17/46/image_11042025_17_46_16_10361.jpg
/home/pi/Desktop/images/11042025/17/46/image_11042025_17_46_27_10376.jpg
/home/pi/Desktop/images/11042025/17/46/image_11042025_17_46_36_9393.jpg
/home/pi/Desktop/images/11042025/17/46/image_11042025_17_46_47_10362.jpg
/home/pi/Desktop/images/11042025/17/46/image_11042025_17_46_56_9457.jpg
/home/pi/Desktop/images/11042025/17/46/image_11042025_17_47_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":["1351847650","1351847796","1351847718","1351847696","1351847741","1351847767"],"photo_ids_order":["1351847650","1351847696","1351847718","1351847741","1351847767","1351847796"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3f583ffa5456b71e9d9336122f58341f.jpg","text":"TemporaryFile(/tmp/multipartBody8404543491897039804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391913331,"filename":"image_11042025_17_46_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/11/f6d9db3cd8dd7ec60143abd49b3e8ceb.jpg","text":"TemporaryFile(/tmp/multipartBody7237033460583302567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391913331,"filename":"image_11042025_17_47_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/11/230c7beb828896c6dbaeb11ce75fbfb6.jpg","text":"TemporaryFile(/tmp/multipartBody777055650152368450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391913331,"filename":"image_11042025_17_46_36_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a26eb821fce461132a8517a167f352b3.jpg","text":"TemporaryFile(/tmp/multipartBody3710552368610221952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391913331,"filename":"image_11042025_17_46_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/11/fdddf9db8263891fc7fa18431fd49a97.jpg","text":"TemporaryFile(/tmp/multipartBody3770609334591898570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391913331,"filename":"image_11042025_17_46_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/11/0b0db7cba2be5117ba00275e6f2530bb.jpg","text":"TemporaryFile(/tmp/multipartBody2495877535025689442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391913331,"filename":"image_11042025_17_46_56_9457.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351847718","file1":"1351847696","file0":"1351847650","file4":"1351847767","file5":"1351847796","file3":"1351847741"},"map_files_photo_id_array":[{"photo_id":"1351847796","filename":"file5"},{"photo_id":"1351847718","filename":"file2"},{"photo_id":"1351847767","filename":"file4"},{"photo_id":"1351847696","filename":"file1"},{"photo_id":"1351847650","filename":"file0"},{"photo_id":"1351847741","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351847650":["hashtag1","hashtag2"]},{"1351847796":["hashtag1","hashtag2"]},{"1351847718":["hashtag1","hashtag2"]},{"1351847696":["hashtag1","hashtag2"]},{"1351847741":["hashtag1","hashtag2"]},{"1351847767":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351847650, 1351847796, 1351847718, 1351847696, 1351847741, 1351847767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.06289315223694 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 19:18:33.162438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/17/47/image_11042025_17_47_17_10359.jpg', '/home/pi/Desktop/images/11042025/17/47/image_11042025_17_47_37_10357.jpg', '/home/pi/Desktop/images/11042025/17/47/image_11042025_17_47_46_9488.jpg', '/home/pi/Desktop/images/11042025/17/47/image_11042025_17_47_56_10370.jpg', '/home/pi/Desktop/images/11042025/17/47/image_11042025_17_48_07_10356.jpg', '/home/pi/Desktop/images/11042025/17/48/image_11042025_17_48_16_9355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/17/47/image_11042025_17_47_17_10359.jpg
/home/pi/Desktop/images/11042025/17/47/image_11042025_17_47_37_10357.jpg
/home/pi/Desktop/images/11042025/17/47/image_11042025_17_47_46_9488.jpg
/home/pi/Desktop/images/11042025/17/47/image_11042025_17_47_56_10370.jpg
/home/pi/Desktop/images/11042025/17/47/image_11042025_17_48_07_10356.jpg
/home/pi/Desktop/images/11042025/17/48/image_11042025_17_48_16_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":["1351848121","1351848156","1351848164","1351848146","1351848172","1351848133"],"photo_ids_order":["1351848121","1351848133","1351848146","1351848156","1351848164","1351848172"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4bb10dc82f3e0cab083cbe3ec0015e8a.jpg","text":"TemporaryFile(/tmp/multipartBody3515992204482618973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391973615,"filename":"image_11042025_17_47_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/11/b694f4b6d0f9f4701369edb8ea22d7c3.jpg","text":"TemporaryFile(/tmp/multipartBody4418132955141350317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391973615,"filename":"image_11042025_17_47_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/11/b5ff75909b02aa2fdbeb04d160e9dc5f.jpg","text":"TemporaryFile(/tmp/multipartBody9050260262119137085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391973615,"filename":"image_11042025_17_48_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/11/61c4c983901ab5b9b50c9400214a0e7e.jpg","text":"TemporaryFile(/tmp/multipartBody8346040637941357564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391973615,"filename":"image_11042025_17_47_46_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/11/d51de8c6622baed9f1347004d1dfeef3.jpg","text":"TemporaryFile(/tmp/multipartBody5305716317189289078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391973615,"filename":"image_11042025_17_48_16_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f3e8cfb102e1c9ed636dbbd36bdb52a5.jpg","text":"TemporaryFile(/tmp/multipartBody5550097750048275009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744391973615,"filename":"image_11042025_17_47_37_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351848146","file1":"1351848133","file0":"1351848121","file4":"1351848164","file5":"1351848172","file3":"1351848156"},"map_files_photo_id_array":[{"photo_id":"1351848172","filename":"file5"},{"photo_id":"1351848146","filename":"file2"},{"photo_id":"1351848164","filename":"file4"},{"photo_id":"1351848133","filename":"file1"},{"photo_id":"1351848121","filename":"file0"},{"photo_id":"1351848156","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351848121":["hashtag1","hashtag2"]},{"1351848156":["hashtag1","hashtag2"]},{"1351848164":["hashtag1","hashtag2"]},{"1351848146":["hashtag1","hashtag2"]},{"1351848172":["hashtag1","hashtag2"]},{"1351848133":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351848121, 1351848156, 1351848164, 1351848146, 1351848172, 1351848133)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.14821219444275 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 19:19:32.356784
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/17/48/image_11042025_17_48_26_10343.jpg', '/home/pi/Desktop/images/11042025/17/48/image_11042025_17_48_37_10412.jpg', '/home/pi/Desktop/images/11042025/17/48/image_11042025_17_48_46_9494.jpg', '/home/pi/Desktop/images/11042025/17/48/image_11042025_17_48_57_10389.jpg', '/home/pi/Desktop/images/11042025/17/48/image_11042025_17_49_06_9343.jpg', '/home/pi/Desktop/images/11042025/17/49/image_11042025_17_49_27_10448.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/17/48/image_11042025_17_48_26_10343.jpg
/home/pi/Desktop/images/11042025/17/48/image_11042025_17_48_37_10412.jpg
/home/pi/Desktop/images/11042025/17/48/image_11042025_17_48_46_9494.jpg
/home/pi/Desktop/images/11042025/17/48/image_11042025_17_48_57_10389.jpg
/home/pi/Desktop/images/11042025/17/48/image_11042025_17_49_06_9343.jpg
/home/pi/Desktop/images/11042025/17/49/image_11042025_17_49_27_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":["1351848223","1351848197","1351848191","1351848248","1351848242","1351848206"],"photo_ids_order":["1351848191","1351848197","1351848206","1351848223","1351848242","1351848248"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2e13471c43ed1ceffdce0cdfe24cc74f.jpg","text":"TemporaryFile(/tmp/multipartBody4377779549339977025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392032811,"filename":"image_11042025_17_48_57_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/46e475ff640203bcfbfa2b0c5dcd3b10.jpg","text":"TemporaryFile(/tmp/multipartBody7773439833511744657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392032811,"filename":"image_11042025_17_48_37_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/dffb23e1d467d3ba2d575cc3b3e72f24.jpg","text":"TemporaryFile(/tmp/multipartBody2287296818117959167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392032811,"filename":"image_11042025_17_48_26_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/91a471cf758dc5459f03e9a7d8255e36.jpg","text":"TemporaryFile(/tmp/multipartBody3175118300712914112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392032811,"filename":"image_11042025_17_49_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/11/bf9832f8c73c4bd952885c370e0bd2d5.jpg","text":"TemporaryFile(/tmp/multipartBody9186628950102827693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392032811,"filename":"image_11042025_17_49_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/11/510870598db9d49f61b2d8eb77c9242b.jpg","text":"TemporaryFile(/tmp/multipartBody2870976543356109367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392032811,"filename":"image_11042025_17_48_46_9494.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351848206","file1":"1351848197","file0":"1351848191","file4":"1351848242","file5":"1351848248","file3":"1351848223"},"map_files_photo_id_array":[{"photo_id":"1351848248","filename":"file5"},{"photo_id":"1351848206","filename":"file2"},{"photo_id":"1351848242","filename":"file4"},{"photo_id":"1351848197","filename":"file1"},{"photo_id":"1351848191","filename":"file0"},{"photo_id":"1351848223","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351848223":["hashtag1","hashtag2"]},{"1351848197":["hashtag1","hashtag2"]},{"1351848191":["hashtag1","hashtag2"]},{"1351848248":["hashtag1","hashtag2"]},{"1351848242":["hashtag1","hashtag2"]},{"1351848206":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351848223, 1351848197, 1351848191, 1351848248, 1351848242, 1351848206)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.82814121246338 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 19:20:32.679290
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/17/49/image_11042025_17_49_36_9427.jpg', '/home/pi/Desktop/images/11042025/17/49/image_11042025_17_49_47_10363.jpg', '/home/pi/Desktop/images/11042025/17/49/image_11042025_17_50_06_10355.jpg', '/home/pi/Desktop/images/11042025/17/50/image_11042025_17_50_17_10365.jpg', '/home/pi/Desktop/images/11042025/17/50/image_11042025_17_50_26_9366.jpg', '/home/pi/Desktop/images/11042025/17/50/image_11042025_17_50_36_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/17/49/image_11042025_17_49_36_9427.jpg
/home/pi/Desktop/images/11042025/17/49/image_11042025_17_49_47_10363.jpg
/home/pi/Desktop/images/11042025/17/49/image_11042025_17_50_06_10355.jpg
/home/pi/Desktop/images/11042025/17/50/image_11042025_17_50_17_10365.jpg
/home/pi/Desktop/images/11042025/17/50/image_11042025_17_50_26_9366.jpg
/home/pi/Desktop/images/11042025/17/50/image_11042025_17_50_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":["1351848561","1351848624","1351848377","1351848467","1351848527","1351848418"],"photo_ids_order":["1351848377","1351848418","1351848467","1351848527","1351848561","1351848624"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b56e3e079bc050bf9bf924df329c4680.jpg","text":"TemporaryFile(/tmp/multipartBody6320726747293655270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392093169,"filename":"image_11042025_17_50_26_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/068e874b60896af9dcfbe5748acd0a25.jpg","text":"TemporaryFile(/tmp/multipartBody140680677577128197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392093169,"filename":"image_11042025_17_50_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/11/f08eb9048094b22f0271cf0d21579a12.jpg","text":"TemporaryFile(/tmp/multipartBody8053922651008301045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392093169,"filename":"image_11042025_17_49_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/11/c189719651b9fb9e6d68c05903c76a3a.jpg","text":"TemporaryFile(/tmp/multipartBody8520038375540274807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392093169,"filename":"image_11042025_17_50_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/11/4927faa1a190fdfd5a21857b7ee4dcc3.jpg","text":"TemporaryFile(/tmp/multipartBody7791142607803870049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392093169,"filename":"image_11042025_17_50_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/11/cab06965ecd4655d1ac4f1fb2a97b0f2.jpg","text":"TemporaryFile(/tmp/multipartBody7741325781103585459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392093169,"filename":"image_11042025_17_49_47_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351848467","file1":"1351848418","file0":"1351848377","file4":"1351848561","file5":"1351848624","file3":"1351848527"},"map_files_photo_id_array":[{"photo_id":"1351848624","filename":"file5"},{"photo_id":"1351848467","filename":"file2"},{"photo_id":"1351848561","filename":"file4"},{"photo_id":"1351848418","filename":"file1"},{"photo_id":"1351848377","filename":"file0"},{"photo_id":"1351848527","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351848561":["hashtag1","hashtag2"]},{"1351848624":["hashtag1","hashtag2"]},{"1351848377":["hashtag1","hashtag2"]},{"1351848467":["hashtag1","hashtag2"]},{"1351848527":["hashtag1","hashtag2"]},{"1351848418":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351848561, 1351848624, 1351848377, 1351848467, 1351848527, 1351848418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.82267141342163 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 19:21:32.986609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/17/50/image_11042025_17_50_47_10364.jpg', '/home/pi/Desktop/images/11042025/17/50/image_11042025_17_50_56_9378.jpg', '/home/pi/Desktop/images/11042025/17/50/image_11042025_17_51_07_10352.jpg', '/home/pi/Desktop/images/11042025/17/51/image_11042025_17_51_16_9406.jpg', '/home/pi/Desktop/images/11042025/17/51/image_11042025_17_51_26_10393.jpg', '/home/pi/Desktop/images/11042025/17/51/image_11042025_17_51_37_10408.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/17/50/image_11042025_17_50_47_10364.jpg
/home/pi/Desktop/images/11042025/17/50/image_11042025_17_50_56_9378.jpg
/home/pi/Desktop/images/11042025/17/50/image_11042025_17_51_07_10352.jpg
/home/pi/Desktop/images/11042025/17/51/image_11042025_17_51_16_9406.jpg
/home/pi/Desktop/images/11042025/17/51/image_11042025_17_51_26_10393.jpg
/home/pi/Desktop/images/11042025/17/51/image_11042025_17_51_37_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":["1351848990","1351848924","1351848878","1351848953","1351849010","1351849027"],"photo_ids_order":["1351848878","1351848924","1351848953","1351848990","1351849010","1351849027"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/bbf23484f09f78c97d755c6847ecab22.jpg","text":"TemporaryFile(/tmp/multipartBody8258364405388054140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392153437,"filename":"image_11042025_17_51_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/11/30f46a9c0eb76c9079deed7420fbb350.jpg","text":"TemporaryFile(/tmp/multipartBody778993026751113791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392153437,"filename":"image_11042025_17_50_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/11/bb96f28d9722f212d314a4531d42fda7.jpg","text":"TemporaryFile(/tmp/multipartBody1107021366277381649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392153437,"filename":"image_11042025_17_50_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/11/5e5b895d76e46fbb6807dc706762e2bc.jpg","text":"TemporaryFile(/tmp/multipartBody5131916618939898200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392153437,"filename":"image_11042025_17_51_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/11/3b0a887e2de8ded3ce6ff4cc83269cdb.jpg","text":"TemporaryFile(/tmp/multipartBody8444644546694283350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392153437,"filename":"image_11042025_17_51_26_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b63f2b8818d7f92426b99f3aa12bbead.jpg","text":"TemporaryFile(/tmp/multipartBody6418723207882032743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392153437,"filename":"image_11042025_17_51_37_10408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351848953","file1":"1351848924","file0":"1351848878","file4":"1351849010","file5":"1351849027","file3":"1351848990"},"map_files_photo_id_array":[{"photo_id":"1351849027","filename":"file5"},{"photo_id":"1351848953","filename":"file2"},{"photo_id":"1351849010","filename":"file4"},{"photo_id":"1351848924","filename":"file1"},{"photo_id":"1351848878","filename":"file0"},{"photo_id":"1351848990","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351848990":["hashtag1","hashtag2"]},{"1351848924":["hashtag1","hashtag2"]},{"1351848878":["hashtag1","hashtag2"]},{"1351848953":["hashtag1","hashtag2"]},{"1351849010":["hashtag1","hashtag2"]},{"1351849027":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351848990, 1351848924, 1351848878, 1351848953, 1351849010, 1351849027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.43104958534241 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 19:22:32.136514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/17/51/image_11042025_17_51_46_9408.jpg', '/home/pi/Desktop/images/11042025/17/51/image_11042025_17_51_57_10355.jpg', '/home/pi/Desktop/images/11042025/17/51/image_11042025_17_52_06_9425.jpg', '/home/pi/Desktop/images/11042025/17/52/image_11042025_17_52_16_10338.jpg', '/home/pi/Desktop/images/11042025/17/52/image_11042025_17_52_27_10379.jpg', '/home/pi/Desktop/images/11042025/17/52/image_11042025_17_52_36_9342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/17/51/image_11042025_17_51_46_9408.jpg
/home/pi/Desktop/images/11042025/17/51/image_11042025_17_51_57_10355.jpg
/home/pi/Desktop/images/11042025/17/51/image_11042025_17_52_06_9425.jpg
/home/pi/Desktop/images/11042025/17/52/image_11042025_17_52_16_10338.jpg
/home/pi/Desktop/images/11042025/17/52/image_11042025_17_52_27_10379.jpg
/home/pi/Desktop/images/11042025/17/52/image_11042025_17_52_36_9342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351849215","1351849206","1351849219","1351849210","1351849201","1351849179"],"photo_ids_order":["1351849179","1351849201","1351849206","1351849210","1351849215","1351849219"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a08954a4417618599f3f559ccc550f92.jpg","text":"TemporaryFile(/tmp/multipartBody1948536612663517766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392212592,"filename":"image_11042025_17_52_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/11/efdf5a3a533cf8e83c16340798cb890f.jpg","text":"TemporaryFile(/tmp/multipartBody1254583859255596494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392212592,"filename":"image_11042025_17_52_06_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b043b8332fd31a6af53d63b584dbdc29.jpg","text":"TemporaryFile(/tmp/multipartBody8837115587804724336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392212592,"filename":"image_11042025_17_52_36_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9a980afc00927c7a1d16fef090b6185b.jpg","text":"TemporaryFile(/tmp/multipartBody5995479109462766286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392212592,"filename":"image_11042025_17_52_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/11/9f7deb1bad0a84f8d21f12e7ae9ea9bd.jpg","text":"TemporaryFile(/tmp/multipartBody3104262046345768053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392212592,"filename":"image_11042025_17_51_57_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0ab8c4b3c6b79024bed354b1fa150ab2.jpg","text":"TemporaryFile(/tmp/multipartBody2550281096728893267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392212592,"filename":"image_11042025_17_51_46_9408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351849206","file1":"1351849201","file0":"1351849179","file4":"1351849215","file5":"1351849219","file3":"1351849210"},"map_files_photo_id_array":[{"photo_id":"1351849219","filename":"file5"},{"photo_id":"1351849206","filename":"file2"},{"photo_id":"1351849215","filename":"file4"},{"photo_id":"1351849201","filename":"file1"},{"photo_id":"1351849179","filename":"file0"},{"photo_id":"1351849210","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351849215":["hashtag1","hashtag2"]},{"1351849206":["hashtag1","hashtag2"]},{"1351849219":["hashtag1","hashtag2"]},{"1351849210":["hashtag1","hashtag2"]},{"1351849201":["hashtag1","hashtag2"]},{"1351849179":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351849215, 1351849206, 1351849219, 1351849210, 1351849201, 1351849179)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.26942539215088 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 19:23:32.475823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/17/52/image_11042025_17_52_46_10372.jpg', '/home/pi/Desktop/images/11042025/17/52/image_11042025_17_52_57_10394.jpg', '/home/pi/Desktop/images/11042025/17/52/image_11042025_17_53_06_9345.jpg', '/home/pi/Desktop/images/11042025/17/53/image_11042025_17_53_17_10363.jpg', '/home/pi/Desktop/images/11042025/17/53/image_11042025_17_53_26_9436.jpg', '/home/pi/Desktop/images/11042025/17/53/image_11042025_17_53_36_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/17/52/image_11042025_17_52_46_10372.jpg
/home/pi/Desktop/images/11042025/17/52/image_11042025_17_52_57_10394.jpg
/home/pi/Desktop/images/11042025/17/52/image_11042025_17_53_06_9345.jpg
/home/pi/Desktop/images/11042025/17/53/image_11042025_17_53_17_10363.jpg
/home/pi/Desktop/images/11042025/17/53/image_11042025_17_53_26_9436.jpg
/home/pi/Desktop/images/11042025/17/53/image_11042025_17_53_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":["1351849347","1351849442","1351849370","1351849351","1351849345","1351849408"],"photo_ids_order":["1351849345","1351849347","1351849351","1351849370","1351849408","1351849442"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d2e75e958c38e42d986729de130a8c7e.jpg","text":"TemporaryFile(/tmp/multipartBody853214224230082788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392272932,"filename":"image_11042025_17_52_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/11/ef363c363102a3aafcc25b867b4108b4.jpg","text":"TemporaryFile(/tmp/multipartBody7064070255867926980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392272932,"filename":"image_11042025_17_53_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/11/b45c36fe88a219d764a68de40dc2bf36.jpg","text":"TemporaryFile(/tmp/multipartBody923431198826853014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392272932,"filename":"image_11042025_17_53_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/11/64e2740631b8fcace9d1efdffd8a7656.jpg","text":"TemporaryFile(/tmp/multipartBody1270850615700923502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392272932,"filename":"image_11042025_17_53_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/11/5423a578c5d92e6df5f2f27760fbfd39.jpg","text":"TemporaryFile(/tmp/multipartBody7291490540350171877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392272932,"filename":"image_11042025_17_52_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/11/151351fd6d0269e43061e705abcc990e.jpg","text":"TemporaryFile(/tmp/multipartBody9097326211991659199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392272932,"filename":"image_11042025_17_53_26_9436.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351849351","file1":"1351849347","file0":"1351849345","file4":"1351849408","file5":"1351849442","file3":"1351849370"},"map_files_photo_id_array":[{"photo_id":"1351849442","filename":"file5"},{"photo_id":"1351849351","filename":"file2"},{"photo_id":"1351849408","filename":"file4"},{"photo_id":"1351849347","filename":"file1"},{"photo_id":"1351849345","filename":"file0"},{"photo_id":"1351849370","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351849347":["hashtag1","hashtag2"]},{"1351849442":["hashtag1","hashtag2"]},{"1351849370":["hashtag1","hashtag2"]},{"1351849351":["hashtag1","hashtag2"]},{"1351849345":["hashtag1","hashtag2"]},{"1351849408":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351849347, 1351849442, 1351849370, 1351849351, 1351849345, 1351849408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.550296783447266 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 19:24:32.480500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/17/53/image_11042025_17_53_47_10361.jpg', '/home/pi/Desktop/images/11042025/17/53/image_11042025_17_53_56_9489.jpg', '/home/pi/Desktop/images/11042025/17/53/image_11042025_17_54_07_10435.jpg', '/home/pi/Desktop/images/11042025/17/54/image_11042025_17_54_16_9491.jpg', '/home/pi/Desktop/images/11042025/17/54/image_11042025_17_54_27_10388.jpg', '/home/pi/Desktop/images/11042025/17/54/image_11042025_17_54_37_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/17/53/image_11042025_17_53_47_10361.jpg
/home/pi/Desktop/images/11042025/17/53/image_11042025_17_53_56_9489.jpg
/home/pi/Desktop/images/11042025/17/53/image_11042025_17_54_07_10435.jpg
/home/pi/Desktop/images/11042025/17/54/image_11042025_17_54_16_9491.jpg
/home/pi/Desktop/images/11042025/17/54/image_11042025_17_54_27_10388.jpg
/home/pi/Desktop/images/11042025/17/54/image_11042025_17_54_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":["1351849530","1351849535","1351849538","1351849523","1351849529","1351849520"],"photo_ids_order":["1351849520","1351849523","1351849529","1351849530","1351849535","1351849538"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/03256af0683fbb7bf7c35ee1d477d2cc.jpg","text":"TemporaryFile(/tmp/multipartBody5839249696490149125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392332964,"filename":"image_11042025_17_54_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/11/03816f1140d26330916ce05bec4a2807.jpg","text":"TemporaryFile(/tmp/multipartBody8457873912367501658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392332964,"filename":"image_11042025_17_54_27_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9513a0bac327014282b9505319fab684.jpg","text":"TemporaryFile(/tmp/multipartBody6564389983518549153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392332964,"filename":"image_11042025_17_54_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/11/375afec6d6aef8387bd8a9f3d6fce858.jpg","text":"TemporaryFile(/tmp/multipartBody6857603458587144135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392332964,"filename":"image_11042025_17_53_56_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/11/49eb4077e31f05fc2f175c74debdedad.jpg","text":"TemporaryFile(/tmp/multipartBody2876748313894441061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392332964,"filename":"image_11042025_17_54_07_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f32356490ba18f25eefd9a7740aebc9e.jpg","text":"TemporaryFile(/tmp/multipartBody6984269687947243792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392332964,"filename":"image_11042025_17_53_47_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351849529","file1":"1351849523","file0":"1351849520","file4":"1351849535","file5":"1351849538","file3":"1351849530"},"map_files_photo_id_array":[{"photo_id":"1351849538","filename":"file5"},{"photo_id":"1351849529","filename":"file2"},{"photo_id":"1351849535","filename":"file4"},{"photo_id":"1351849523","filename":"file1"},{"photo_id":"1351849520","filename":"file0"},{"photo_id":"1351849530","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351849530":["hashtag1","hashtag2"]},{"1351849535":["hashtag1","hashtag2"]},{"1351849538":["hashtag1","hashtag2"]},{"1351849523":["hashtag1","hashtag2"]},{"1351849529":["hashtag1","hashtag2"]},{"1351849520":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351849530, 1351849535, 1351849538, 1351849523, 1351849529, 1351849520)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.443119764328 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 19:25:32.884546
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/17/54/image_11042025_17_54_46_9481.jpg', '/home/pi/Desktop/images/11042025/17/54/image_11042025_17_55_06_9413.jpg', '/home/pi/Desktop/images/11042025/17/55/image_11042025_17_55_17_10462.jpg', '/home/pi/Desktop/images/11042025/17/55/image_11042025_17_55_26_9444.jpg', '/home/pi/Desktop/images/11042025/17/55/image_11042025_17_55_36_10434.jpg', '/home/pi/Desktop/images/11042025/17/55/image_11042025_17_55_47_10373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/17/54/image_11042025_17_54_46_9481.jpg
/home/pi/Desktop/images/11042025/17/54/image_11042025_17_55_06_9413.jpg
/home/pi/Desktop/images/11042025/17/55/image_11042025_17_55_17_10462.jpg
/home/pi/Desktop/images/11042025/17/55/image_11042025_17_55_26_9444.jpg
/home/pi/Desktop/images/11042025/17/55/image_11042025_17_55_36_10434.jpg
/home/pi/Desktop/images/11042025/17/55/image_11042025_17_55_47_10373.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351849653","1351849658","1351849699","1351849695","1351849680","1351849674"],"photo_ids_order":["1351849653","1351849658","1351849674","1351849680","1351849695","1351849699"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/af4ce92f2abd6bcf6de22f6ab4ded481.jpg","text":"TemporaryFile(/tmp/multipartBody4052699841213198925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392393344,"filename":"image_11042025_17_54_46_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/11/5d6072883d03de4c4dbbee05fd5848fc.jpg","text":"TemporaryFile(/tmp/multipartBody465647752592629703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392393344,"filename":"image_11042025_17_55_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/11/ba101c63a1d3f81c2b4434844a407d9f.jpg","text":"TemporaryFile(/tmp/multipartBody2378484403341985827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392393344,"filename":"image_11042025_17_55_47_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/824918f59bfda4f0ed4a07dc9a53f7a2.jpg","text":"TemporaryFile(/tmp/multipartBody6097147017964986386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392393344,"filename":"image_11042025_17_55_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/11/79741d32d124ee3eadd26e5cd25069ff.jpg","text":"TemporaryFile(/tmp/multipartBody1765897662207344546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392393344,"filename":"image_11042025_17_55_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/11/e325d08d18ed575bbc66046c76d0386d.jpg","text":"TemporaryFile(/tmp/multipartBody7188393205508894466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392393344,"filename":"image_11042025_17_55_17_10462.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351849674","file1":"1351849658","file0":"1351849653","file4":"1351849695","file5":"1351849699","file3":"1351849680"},"map_files_photo_id_array":[{"photo_id":"1351849699","filename":"file5"},{"photo_id":"1351849674","filename":"file2"},{"photo_id":"1351849695","filename":"file4"},{"photo_id":"1351849658","filename":"file1"},{"photo_id":"1351849653","filename":"file0"},{"photo_id":"1351849680","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351849653":["hashtag1","hashtag2"]},{"1351849658":["hashtag1","hashtag2"]},{"1351849699":["hashtag1","hashtag2"]},{"1351849695":["hashtag1","hashtag2"]},{"1351849680":["hashtag1","hashtag2"]},{"1351849674":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351849653, 1351849658, 1351849699, 1351849695, 1351849680, 1351849674)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.49490785598755 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 19:26:32.993034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/17/55/image_11042025_17_55_56_9356.jpg', '/home/pi/Desktop/images/11042025/17/55/image_11042025_17_56_07_10354.jpg', '/home/pi/Desktop/images/11042025/17/56/image_11042025_17_56_16_9468.jpg', '/home/pi/Desktop/images/11042025/17/56/image_11042025_17_56_26_10359.jpg', '/home/pi/Desktop/images/11042025/17/56/image_11042025_17_56_37_10379.jpg', '/home/pi/Desktop/images/11042025/17/56/image_11042025_17_56_57_10475.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/17/55/image_11042025_17_55_56_9356.jpg
/home/pi/Desktop/images/11042025/17/55/image_11042025_17_56_07_10354.jpg
/home/pi/Desktop/images/11042025/17/56/image_11042025_17_56_16_9468.jpg
/home/pi/Desktop/images/11042025/17/56/image_11042025_17_56_26_10359.jpg
/home/pi/Desktop/images/11042025/17/56/image_11042025_17_56_37_10379.jpg
/home/pi/Desktop/images/11042025/17/56/image_11042025_17_56_57_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":["1351849875","1351849806","1351849844","1351849820","1351849909","1351849822"],"photo_ids_order":["1351849806","1351849820","1351849822","1351849844","1351849875","1351849909"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b1e7d0fd7f262c08f9e39ec47d5fb1e6.jpg","text":"TemporaryFile(/tmp/multipartBody5137834874099936500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392453445,"filename":"image_11042025_17_56_37_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d21e31c8d01969c1acc0ee92051c443a.jpg","text":"TemporaryFile(/tmp/multipartBody4949093670566378267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392453445,"filename":"image_11042025_17_55_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/11/9ca666384fa27c122c27e656b4d9244d.jpg","text":"TemporaryFile(/tmp/multipartBody2893283541273006668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392453445,"filename":"image_11042025_17_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/11/74b7b6033f8cdfa769a1825366b1fbf4.jpg","text":"TemporaryFile(/tmp/multipartBody2011140688059430484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392453445,"filename":"image_11042025_17_56_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/11/f61a2e5f153ba9446754b1e187e7b065.jpg","text":"TemporaryFile(/tmp/multipartBody7870789531471088442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392453445,"filename":"image_11042025_17_56_57_10475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/26826b8753712b55348f03aeb7c469e3.jpg","text":"TemporaryFile(/tmp/multipartBody878403316940103146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392453445,"filename":"image_11042025_17_56_16_9468.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351849822","file1":"1351849820","file0":"1351849806","file4":"1351849875","file5":"1351849909","file3":"1351849844"},"map_files_photo_id_array":[{"photo_id":"1351849909","filename":"file5"},{"photo_id":"1351849822","filename":"file2"},{"photo_id":"1351849875","filename":"file4"},{"photo_id":"1351849820","filename":"file1"},{"photo_id":"1351849806","filename":"file0"},{"photo_id":"1351849844","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351849875":["hashtag1","hashtag2"]},{"1351849806":["hashtag1","hashtag2"]},{"1351849844":["hashtag1","hashtag2"]},{"1351849820":["hashtag1","hashtag2"]},{"1351849909":["hashtag1","hashtag2"]},{"1351849822":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351849875, 1351849806, 1351849844, 1351849820, 1351849909, 1351849822)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.70783019065857 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 19:27:32.193593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/17/56/image_11042025_17_57_06_9386.jpg', '/home/pi/Desktop/images/11042025/17/57/image_11042025_17_57_16_10359.jpg', '/home/pi/Desktop/images/11042025/17/57/image_11042025_17_57_27_10400.jpg', '/home/pi/Desktop/images/11042025/17/57/image_11042025_17_57_36_9376.jpg', '/home/pi/Desktop/images/11042025/17/57/image_11042025_17_57_46_10352.jpg', '/home/pi/Desktop/images/11042025/17/57/image_11042025_17_57_57_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/17/56/image_11042025_17_57_06_9386.jpg
/home/pi/Desktop/images/11042025/17/57/image_11042025_17_57_16_10359.jpg
/home/pi/Desktop/images/11042025/17/57/image_11042025_17_57_27_10400.jpg
/home/pi/Desktop/images/11042025/17/57/image_11042025_17_57_36_9376.jpg
/home/pi/Desktop/images/11042025/17/57/image_11042025_17_57_46_10352.jpg
/home/pi/Desktop/images/11042025/17/57/image_11042025_17_57_57_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":["1351850206","1351850325","1351850294","1351850147","1351850182","1351850242"],"photo_ids_order":["1351850147","1351850182","1351850206","1351850242","1351850294","1351850325"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c281144a60f48d52316fb55aacb6f59a.jpg","text":"TemporaryFile(/tmp/multipartBody1529894546529165634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392512706,"filename":"image_11042025_17_57_27_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6d1b19c84e0faac116a3f85739f21633.jpg","text":"TemporaryFile(/tmp/multipartBody5514011186112201010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392512706,"filename":"image_11042025_17_57_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/11/cb1f742a479f59eee8a417d159e2dd59.jpg","text":"TemporaryFile(/tmp/multipartBody9088728965585534000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392512706,"filename":"image_11042025_17_57_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/11/ffc49280e834cfd8c294a33b26ff72c4.jpg","text":"TemporaryFile(/tmp/multipartBody4490696965242950073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392512706,"filename":"image_11042025_17_57_06_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9f9e9a5107a503032197e5c380a1d174.jpg","text":"TemporaryFile(/tmp/multipartBody7627092545852916850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392512706,"filename":"image_11042025_17_57_16_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/55955029d16e1e9c1c4f6aca1ab0d77f.jpg","text":"TemporaryFile(/tmp/multipartBody2944147328867650370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392512706,"filename":"image_11042025_17_57_36_9376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351850206","file1":"1351850182","file0":"1351850147","file4":"1351850294","file5":"1351850325","file3":"1351850242"},"map_files_photo_id_array":[{"photo_id":"1351850325","filename":"file5"},{"photo_id":"1351850206","filename":"file2"},{"photo_id":"1351850294","filename":"file4"},{"photo_id":"1351850182","filename":"file1"},{"photo_id":"1351850147","filename":"file0"},{"photo_id":"1351850242","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351850206":["hashtag1","hashtag2"]},{"1351850325":["hashtag1","hashtag2"]},{"1351850294":["hashtag1","hashtag2"]},{"1351850147":["hashtag1","hashtag2"]},{"1351850182":["hashtag1","hashtag2"]},{"1351850242":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351850206, 1351850325, 1351850294, 1351850147, 1351850182, 1351850242)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.241779088974 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 19:28:32.415154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/17/57/image_11042025_17_58_06_9423.jpg', '/home/pi/Desktop/images/11042025/17/58/image_11042025_17_58_17_10338.jpg', '/home/pi/Desktop/images/11042025/17/58/image_11042025_17_58_26_9472.jpg', '/home/pi/Desktop/images/11042025/17/58/image_11042025_17_58_36_10426.jpg', '/home/pi/Desktop/images/11042025/17/58/image_11042025_17_58_47_10363.jpg', '/home/pi/Desktop/images/11042025/17/58/image_11042025_17_58_56_9449.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/17/57/image_11042025_17_58_06_9423.jpg
/home/pi/Desktop/images/11042025/17/58/image_11042025_17_58_17_10338.jpg
/home/pi/Desktop/images/11042025/17/58/image_11042025_17_58_26_9472.jpg
/home/pi/Desktop/images/11042025/17/58/image_11042025_17_58_36_10426.jpg
/home/pi/Desktop/images/11042025/17/58/image_11042025_17_58_47_10363.jpg
/home/pi/Desktop/images/11042025/17/58/image_11042025_17_58_56_9449.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351850536","1351850617","1351850604","1351850526","1351850570","1351850497"],"photo_ids_order":["1351850497","1351850526","1351850536","1351850570","1351850604","1351850617"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e3b4411ce5e6ec5b018b7d795d1dcd36.jpg","text":"TemporaryFile(/tmp/multipartBody8312193492885332611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392572870,"filename":"image_11042025_17_58_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/11/a3fb5a857b10d879aa634c7dff374a62.jpg","text":"TemporaryFile(/tmp/multipartBody8139018201019758004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392572870,"filename":"image_11042025_17_58_56_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c69419b013aac18996e4c4deea76988b.jpg","text":"TemporaryFile(/tmp/multipartBody6547535164132507244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392572870,"filename":"image_11042025_17_58_47_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1b8997b9fc74693244436b8a62863fda.jpg","text":"TemporaryFile(/tmp/multipartBody2818438549025029186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392572870,"filename":"image_11042025_17_58_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/11/2f25d95bfefad82da890e98c3b319ed5.jpg","text":"TemporaryFile(/tmp/multipartBody6754110249801694998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392572870,"filename":"image_11042025_17_58_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/11/3e940445d9ca83d0e6019c9b80cf1810.jpg","text":"TemporaryFile(/tmp/multipartBody1323666190868122996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392572870,"filename":"image_11042025_17_58_06_9423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351850536","file1":"1351850526","file0":"1351850497","file4":"1351850604","file5":"1351850617","file3":"1351850570"},"map_files_photo_id_array":[{"photo_id":"1351850617","filename":"file5"},{"photo_id":"1351850536","filename":"file2"},{"photo_id":"1351850604","filename":"file4"},{"photo_id":"1351850526","filename":"file1"},{"photo_id":"1351850497","filename":"file0"},{"photo_id":"1351850570","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351850536":["hashtag1","hashtag2"]},{"1351850617":["hashtag1","hashtag2"]},{"1351850604":["hashtag1","hashtag2"]},{"1351850526":["hashtag1","hashtag2"]},{"1351850570":["hashtag1","hashtag2"]},{"1351850497":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351850536, 1351850617, 1351850604, 1351850526, 1351850570, 1351850497)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.30803871154785 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 19:29:32.544804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/17/58/image_11042025_17_59_07_10346.jpg', '/home/pi/Desktop/images/11042025/17/59/image_11042025_17_59_16_9451.jpg', '/home/pi/Desktop/images/11042025/17/59/image_11042025_17_59_26_10381.jpg', '/home/pi/Desktop/images/11042025/17/59/image_11042025_17_59_37_10367.jpg', '/home/pi/Desktop/images/11042025/17/59/image_11042025_17_59_46_9402.jpg', '/home/pi/Desktop/images/11042025/17/59/image_11042025_17_59_57_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/17/58/image_11042025_17_59_07_10346.jpg
/home/pi/Desktop/images/11042025/17/59/image_11042025_17_59_16_9451.jpg
/home/pi/Desktop/images/11042025/17/59/image_11042025_17_59_26_10381.jpg
/home/pi/Desktop/images/11042025/17/59/image_11042025_17_59_37_10367.jpg
/home/pi/Desktop/images/11042025/17/59/image_11042025_17_59_46_9402.jpg
/home/pi/Desktop/images/11042025/17/59/image_11042025_17_59_57_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":["1351850883","1351850955","1351850928","1351850951","1351850944","1351850902"],"photo_ids_order":["1351850883","1351850902","1351850928","1351850944","1351850951","1351850955"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/51f85efd531c6acef4e0e73cf626253b.jpg","text":"TemporaryFile(/tmp/multipartBody2875869163380964787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392633009,"filename":"image_11042025_17_59_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/11/a4367f2b47f1894257f1512f54e2e058.jpg","text":"TemporaryFile(/tmp/multipartBody8806868169648339415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392633009,"filename":"image_11042025_17_59_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/11/e0a3c776675797cc2215aa6250f1716a.jpg","text":"TemporaryFile(/tmp/multipartBody4273834382073090172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392633009,"filename":"image_11042025_17_59_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/11/fe62a08296a802616d964865c349a607.jpg","text":"TemporaryFile(/tmp/multipartBody9081784965155581360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392633009,"filename":"image_11042025_17_59_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/11/c8431e718f47695fb06d7e470f864486.jpg","text":"TemporaryFile(/tmp/multipartBody7437883096142115103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392633009,"filename":"image_11042025_17_59_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/11/a8ab4df57373813237e7c3c080306580.jpg","text":"TemporaryFile(/tmp/multipartBody3384361922934521329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392633009,"filename":"image_11042025_17_59_16_9451.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351850928","file1":"1351850902","file0":"1351850883","file4":"1351850951","file5":"1351850955","file3":"1351850944"},"map_files_photo_id_array":[{"photo_id":"1351850955","filename":"file5"},{"photo_id":"1351850928","filename":"file2"},{"photo_id":"1351850951","filename":"file4"},{"photo_id":"1351850902","filename":"file1"},{"photo_id":"1351850883","filename":"file0"},{"photo_id":"1351850944","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351850883":["hashtag1","hashtag2"]},{"1351850955":["hashtag1","hashtag2"]},{"1351850928":["hashtag1","hashtag2"]},{"1351850951":["hashtag1","hashtag2"]},{"1351850944":["hashtag1","hashtag2"]},{"1351850902":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351850883, 1351850955, 1351850928, 1351850951, 1351850944, 1351850902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.83688449859619 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 19:30:32.739265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/18/00/image_11042025_18_00_16_10074.jpg', '/home/pi/Desktop/images/11042025/18/00/image_11042025_18_00_27_10458.jpg', '/home/pi/Desktop/images/11042025/18/00/image_11042025_18_00_37_10386.jpg', '/home/pi/Desktop/images/11042025/18/00/image_11042025_18_00_46_9346.jpg', '/home/pi/Desktop/images/11042025/18/00/image_11042025_18_00_57_10531.jpg', '/home/pi/Desktop/images/11042025/18/00/image_11042025_18_01_06_9338.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/18/00/image_11042025_18_00_16_10074.jpg
/home/pi/Desktop/images/11042025/18/00/image_11042025_18_00_27_10458.jpg
/home/pi/Desktop/images/11042025/18/00/image_11042025_18_00_37_10386.jpg
/home/pi/Desktop/images/11042025/18/00/image_11042025_18_00_46_9346.jpg
/home/pi/Desktop/images/11042025/18/00/image_11042025_18_00_57_10531.jpg
/home/pi/Desktop/images/11042025/18/00/image_11042025_18_01_06_9338.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351850994","1351851009","1351850999","1351850987","1351851011","1351851004"],"photo_ids_order":["1351850987","1351850994","1351850999","1351851004","1351851009","1351851011"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/479d872cdd95d0ba748d2792de81b740.jpg","text":"TemporaryFile(/tmp/multipartBody3886307865059569286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392693212,"filename":"image_11042025_18_00_27_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f96d2abc176d00127ed97d5dda052964.jpg","text":"TemporaryFile(/tmp/multipartBody8177516692184909669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392693212,"filename":"image_11042025_18_00_57_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/11/7e886799ed94c544c9f327cd99a09fdf.jpg","text":"TemporaryFile(/tmp/multipartBody8129868652408586598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392693212,"filename":"image_11042025_18_00_37_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b6e879b91fa6fc0c6dd29ae2746afbd9.jpg","text":"TemporaryFile(/tmp/multipartBody4999085141819183057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392693212,"filename":"image_11042025_18_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/11/79d85807115ac6b13bc69fd375b31781.jpg","text":"TemporaryFile(/tmp/multipartBody6305201878708425495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392693212,"filename":"image_11042025_18_01_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/11/670f2541a126bfd99698102e2c6eb373.jpg","text":"TemporaryFile(/tmp/multipartBody7270709310020665856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392693212,"filename":"image_11042025_18_00_46_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351850999","file1":"1351850994","file0":"1351850987","file4":"1351851009","file5":"1351851011","file3":"1351851004"},"map_files_photo_id_array":[{"photo_id":"1351851011","filename":"file5"},{"photo_id":"1351850999","filename":"file2"},{"photo_id":"1351851009","filename":"file4"},{"photo_id":"1351850994","filename":"file1"},{"photo_id":"1351850987","filename":"file0"},{"photo_id":"1351851004","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351850994":["hashtag1","hashtag2"]},{"1351851009":["hashtag1","hashtag2"]},{"1351850999":["hashtag1","hashtag2"]},{"1351850987":["hashtag1","hashtag2"]},{"1351851011":["hashtag1","hashtag2"]},{"1351851004":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351850994, 1351851009, 1351850999, 1351850987, 1351851011, 1351851004)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.18039798736572 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 19:31:32.916759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/18/01/image_11042025_18_01_17_10344.jpg', '/home/pi/Desktop/images/11042025/18/01/image_11042025_18_01_27_10363.jpg', '/home/pi/Desktop/images/11042025/18/01/image_11042025_18_01_36_9381.jpg', '/home/pi/Desktop/images/11042025/18/01/image_11042025_18_01_47_10348.jpg', '/home/pi/Desktop/images/11042025/18/01/image_11042025_18_01_57_10411.jpg', '/home/pi/Desktop/images/11042025/18/01/image_11042025_18_02_07_9359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/18/01/image_11042025_18_01_17_10344.jpg
/home/pi/Desktop/images/11042025/18/01/image_11042025_18_01_27_10363.jpg
/home/pi/Desktop/images/11042025/18/01/image_11042025_18_01_36_9381.jpg
/home/pi/Desktop/images/11042025/18/01/image_11042025_18_01_47_10348.jpg
/home/pi/Desktop/images/11042025/18/01/image_11042025_18_01_57_10411.jpg
/home/pi/Desktop/images/11042025/18/01/image_11042025_18_02_07_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":["1351851144","1351851170","1351851123","1351851220","1351851223","1351851112"],"photo_ids_order":["1351851112","1351851123","1351851144","1351851170","1351851220","1351851223"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c533948bccddc063a40633b5d1b9ae1a.jpg","text":"TemporaryFile(/tmp/multipartBody8472757345431040285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392753451,"filename":"image_11042025_18_01_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/11/960d0e0d108c63bca964dac11f3dcc08.jpg","text":"TemporaryFile(/tmp/multipartBody622794014158382722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392753451,"filename":"image_11042025_18_01_47_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/fdc3a638d8f907004ac6461320e4fd54.jpg","text":"TemporaryFile(/tmp/multipartBody174789678747462192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392753451,"filename":"image_11042025_18_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/11/84f4e42c93fd415c52051fe30ccd27a2.jpg","text":"TemporaryFile(/tmp/multipartBody8861588932473167164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392753451,"filename":"image_11042025_18_01_57_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/83082eeadeb50332ba8c030b813b8b21.jpg","text":"TemporaryFile(/tmp/multipartBody9112988009325808306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392753451,"filename":"image_11042025_18_02_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/11/049121a805db35fe18ec337a94facb85.jpg","text":"TemporaryFile(/tmp/multipartBody4628654828582523399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392753451,"filename":"image_11042025_18_01_17_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351851144","file1":"1351851123","file0":"1351851112","file4":"1351851220","file5":"1351851223","file3":"1351851170"},"map_files_photo_id_array":[{"photo_id":"1351851223","filename":"file5"},{"photo_id":"1351851144","filename":"file2"},{"photo_id":"1351851220","filename":"file4"},{"photo_id":"1351851123","filename":"file1"},{"photo_id":"1351851112","filename":"file0"},{"photo_id":"1351851170","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351851144":["hashtag1","hashtag2"]},{"1351851170":["hashtag1","hashtag2"]},{"1351851123":["hashtag1","hashtag2"]},{"1351851220":["hashtag1","hashtag2"]},{"1351851223":["hashtag1","hashtag2"]},{"1351851112":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351851144, 1351851170, 1351851123, 1351851220, 1351851223, 1351851112)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.22830510139465 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 19:32:33.145522
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/18/02/image_11042025_18_02_17_10400.jpg', '/home/pi/Desktop/images/11042025/18/02/image_11042025_18_02_37_10356.jpg', '/home/pi/Desktop/images/11042025/18/02/image_11042025_18_02_47_10365.jpg', '/home/pi/Desktop/images/11042025/18/02/image_11042025_18_02_56_9349.jpg', '/home/pi/Desktop/images/11042025/18/02/image_11042025_18_03_07_10501.jpg', '/home/pi/Desktop/images/11042025/18/03/image_11042025_18_03_16_9333.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/18/02/image_11042025_18_02_17_10400.jpg
/home/pi/Desktop/images/11042025/18/02/image_11042025_18_02_37_10356.jpg
/home/pi/Desktop/images/11042025/18/02/image_11042025_18_02_47_10365.jpg
/home/pi/Desktop/images/11042025/18/02/image_11042025_18_02_56_9349.jpg
/home/pi/Desktop/images/11042025/18/02/image_11042025_18_03_07_10501.jpg
/home/pi/Desktop/images/11042025/18/03/image_11042025_18_03_16_9333.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351851339","1351851333","1351851312","1351851299","1351851380","1351851382"],"photo_ids_order":["1351851299","1351851312","1351851333","1351851339","1351851380","1351851382"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ed65d419ff87ee3a4aa94a859341b6b5.jpg","text":"TemporaryFile(/tmp/multipartBody8121991993509383979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392813619,"filename":"image_11042025_18_02_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/11/356baf1b048530942b27cf188288a98c.jpg","text":"TemporaryFile(/tmp/multipartBody6045302768368238857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392813619,"filename":"image_11042025_18_02_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/11/0b660023af76e7a499a4980faf6af84a.jpg","text":"TemporaryFile(/tmp/multipartBody7879729666551067808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392813619,"filename":"image_11042025_18_02_37_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/63d8e86e59e21f2759f4429b13e6ca71.jpg","text":"TemporaryFile(/tmp/multipartBody5626908401326822252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392813619,"filename":"image_11042025_18_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/11/6b0f62221cc7ed71a9ad981f20ff96eb.jpg","text":"TemporaryFile(/tmp/multipartBody6774064774524414951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392813619,"filename":"image_11042025_18_03_07_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/11/d2dfa00f7fcbc578c91d6a577c65a364.jpg","text":"TemporaryFile(/tmp/multipartBody1593654056433810437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392813619,"filename":"image_11042025_18_03_16_9333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351851333","file1":"1351851312","file0":"1351851299","file4":"1351851380","file5":"1351851382","file3":"1351851339"},"map_files_photo_id_array":[{"photo_id":"1351851382","filename":"file5"},{"photo_id":"1351851333","filename":"file2"},{"photo_id":"1351851380","filename":"file4"},{"photo_id":"1351851312","filename":"file1"},{"photo_id":"1351851299","filename":"file0"},{"photo_id":"1351851339","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351851339":["hashtag1","hashtag2"]},{"1351851333":["hashtag1","hashtag2"]},{"1351851312":["hashtag1","hashtag2"]},{"1351851299":["hashtag1","hashtag2"]},{"1351851380":["hashtag1","hashtag2"]},{"1351851382":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351851339, 1351851333, 1351851312, 1351851299, 1351851380, 1351851382)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.95756506919861 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 19:33:32.342657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/18/03/image_11042025_18_03_27_10406.jpg', '/home/pi/Desktop/images/11042025/18/03/image_11042025_18_03_37_10451.jpg', '/home/pi/Desktop/images/11042025/18/03/image_11042025_18_03_46_9339.jpg', '/home/pi/Desktop/images/11042025/18/03/image_11042025_18_03_57_10400.jpg', '/home/pi/Desktop/images/11042025/18/03/image_11042025_18_04_06_9405.jpg', '/home/pi/Desktop/images/11042025/18/04/image_11042025_18_04_17_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/18/03/image_11042025_18_03_27_10406.jpg
/home/pi/Desktop/images/11042025/18/03/image_11042025_18_03_37_10451.jpg
/home/pi/Desktop/images/11042025/18/03/image_11042025_18_03_46_9339.jpg
/home/pi/Desktop/images/11042025/18/03/image_11042025_18_03_57_10400.jpg
/home/pi/Desktop/images/11042025/18/03/image_11042025_18_04_06_9405.jpg
/home/pi/Desktop/images/11042025/18/04/image_11042025_18_04_17_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":["1351851495","1351851480","1351851549","1351851477","1351851511","1351851514"],"photo_ids_order":["1351851477","1351851480","1351851495","1351851511","1351851514","1351851549"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/898358da4a5d20fc919a677498ff12f9.jpg","text":"TemporaryFile(/tmp/multipartBody8731117818943142438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392872803,"filename":"image_11042025_18_03_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/11/b17e5838e18e20493c7e0c325768ffe3.jpg","text":"TemporaryFile(/tmp/multipartBody3191890524767761907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392872803,"filename":"image_11042025_18_03_37_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4082eb324be229ef41612f1d7a0a9131.jpg","text":"TemporaryFile(/tmp/multipartBody6584309448001512877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392872803,"filename":"image_11042025_18_04_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/11/de19d4b99a38bcd252664ecc204a6142.jpg","text":"TemporaryFile(/tmp/multipartBody7717693060800114569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392872803,"filename":"image_11042025_18_03_27_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/11/afc1566663706f4f4b5c143e2414996c.jpg","text":"TemporaryFile(/tmp/multipartBody2203108517805348824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392872803,"filename":"image_11042025_18_03_57_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/bc2e8aa7958deaf8e5b39827cd3ac63f.jpg","text":"TemporaryFile(/tmp/multipartBody6003407791198720584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392872803,"filename":"image_11042025_18_04_06_9405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351851495","file1":"1351851480","file0":"1351851477","file4":"1351851514","file5":"1351851549","file3":"1351851511"},"map_files_photo_id_array":[{"photo_id":"1351851549","filename":"file5"},{"photo_id":"1351851495","filename":"file2"},{"photo_id":"1351851514","filename":"file4"},{"photo_id":"1351851480","filename":"file1"},{"photo_id":"1351851477","filename":"file0"},{"photo_id":"1351851511","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351851495":["hashtag1","hashtag2"]},{"1351851480":["hashtag1","hashtag2"]},{"1351851549":["hashtag1","hashtag2"]},{"1351851477":["hashtag1","hashtag2"]},{"1351851511":["hashtag1","hashtag2"]},{"1351851514":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351851495, 1351851480, 1351851549, 1351851477, 1351851511, 1351851514)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.65769553184509 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 19:34:32.681574
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/18/04/image_11042025_18_04_27_10394.jpg', '/home/pi/Desktop/images/11042025/18/04/image_11042025_18_04_36_9412.jpg', '/home/pi/Desktop/images/11042025/18/04/image_11042025_18_04_47_10353.jpg', '/home/pi/Desktop/images/11042025/18/04/image_11042025_18_04_56_9423.jpg', '/home/pi/Desktop/images/11042025/18/04/image_11042025_18_05_07_10389.jpg', '/home/pi/Desktop/images/11042025/18/05/image_11042025_18_05_17_10451.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/18/04/image_11042025_18_04_27_10394.jpg
/home/pi/Desktop/images/11042025/18/04/image_11042025_18_04_36_9412.jpg
/home/pi/Desktop/images/11042025/18/04/image_11042025_18_04_47_10353.jpg
/home/pi/Desktop/images/11042025/18/04/image_11042025_18_04_56_9423.jpg
/home/pi/Desktop/images/11042025/18/04/image_11042025_18_05_07_10389.jpg
/home/pi/Desktop/images/11042025/18/05/image_11042025_18_05_17_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":["1351851708","1351851600","1351851603","1351851606","1351851625","1351851597"],"photo_ids_order":["1351851597","1351851600","1351851603","1351851606","1351851625","1351851708"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/acc21ca38424eb34414835b0d97974e7.jpg","text":"TemporaryFile(/tmp/multipartBody3619867099577853630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392933139,"filename":"image_11042025_18_05_17_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8bf2e3cad182d4b603eb8f705e6b3075.jpg","text":"TemporaryFile(/tmp/multipartBody654536536175364786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392933139,"filename":"image_11042025_18_04_36_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/623915a0eb9c335487e1f1bc7d8c514b.jpg","text":"TemporaryFile(/tmp/multipartBody1555363389612383696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392933139,"filename":"image_11042025_18_04_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/11/4b99b88a7dfd01e77b9f61cce780be24.jpg","text":"TemporaryFile(/tmp/multipartBody2608757651585661907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392933139,"filename":"image_11042025_18_04_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/11/ddb2cfd31d4df4556cac4b860d6801da.jpg","text":"TemporaryFile(/tmp/multipartBody7557311244395723482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392933139,"filename":"image_11042025_18_05_07_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a3b85de94319c5cf5bd8cd160e861588.jpg","text":"TemporaryFile(/tmp/multipartBody3899598844260689253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392933139,"filename":"image_11042025_18_04_27_10394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351851603","file1":"1351851600","file0":"1351851597","file4":"1351851625","file5":"1351851708","file3":"1351851606"},"map_files_photo_id_array":[{"photo_id":"1351851708","filename":"file5"},{"photo_id":"1351851603","filename":"file2"},{"photo_id":"1351851625","filename":"file4"},{"photo_id":"1351851600","filename":"file1"},{"photo_id":"1351851597","filename":"file0"},{"photo_id":"1351851606","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351851708":["hashtag1","hashtag2"]},{"1351851600":["hashtag1","hashtag2"]},{"1351851603":["hashtag1","hashtag2"]},{"1351851606":["hashtag1","hashtag2"]},{"1351851625":["hashtag1","hashtag2"]},{"1351851597":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351851708, 1351851600, 1351851603, 1351851606, 1351851625, 1351851597)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.22947406768799 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 19:35:32.745833
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/18/05/image_11042025_18_05_27_9462.jpg', '/home/pi/Desktop/images/11042025/18/05/image_11042025_18_05_37_10467.jpg', '/home/pi/Desktop/images/11042025/18/05/image_11042025_18_05_46_9409.jpg', '/home/pi/Desktop/images/11042025/18/05/image_11042025_18_05_57_10428.jpg', '/home/pi/Desktop/images/11042025/18/05/image_11042025_18_06_06_9417.jpg', '/home/pi/Desktop/images/11042025/18/06/image_11042025_18_06_17_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/18/05/image_11042025_18_05_27_9462.jpg
/home/pi/Desktop/images/11042025/18/05/image_11042025_18_05_37_10467.jpg
/home/pi/Desktop/images/11042025/18/05/image_11042025_18_05_46_9409.jpg
/home/pi/Desktop/images/11042025/18/05/image_11042025_18_05_57_10428.jpg
/home/pi/Desktop/images/11042025/18/05/image_11042025_18_06_06_9417.jpg
/home/pi/Desktop/images/11042025/18/06/image_11042025_18_06_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":["1351852076","1351852034","1351852022","1351852016","1351852013","1351851976"],"photo_ids_order":["1351851976","1351852013","1351852016","1351852022","1351852034","1351852076"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/db33d29a680b5977b19b1048161a7044.jpg","text":"TemporaryFile(/tmp/multipartBody1702690034932000609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392993204,"filename":"image_11042025_18_06_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/11/84ea9a6049428c6ac0773f0dd9d57c1a.jpg","text":"TemporaryFile(/tmp/multipartBody7503754841545211619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392993204,"filename":"image_11042025_18_06_06_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c2843bbca8c90107584af0a9eadeb878.jpg","text":"TemporaryFile(/tmp/multipartBody5378979175865759799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392993204,"filename":"image_11042025_18_05_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/11/7de810a1557de556f989661fd34f1e1c.jpg","text":"TemporaryFile(/tmp/multipartBody4644565262259970269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392993204,"filename":"image_11042025_18_05_46_9409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/39cb29c48bed8197e138be361a4549d1.jpg","text":"TemporaryFile(/tmp/multipartBody4564440477089735792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392993204,"filename":"image_11042025_18_05_37_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/11/639a3c762922129433baf84cf121ddeb.jpg","text":"TemporaryFile(/tmp/multipartBody1069178395799056132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744392993204,"filename":"image_11042025_18_05_27_9462.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351852016","file1":"1351852013","file0":"1351851976","file4":"1351852034","file5":"1351852076","file3":"1351852022"},"map_files_photo_id_array":[{"photo_id":"1351852076","filename":"file5"},{"photo_id":"1351852016","filename":"file2"},{"photo_id":"1351852034","filename":"file4"},{"photo_id":"1351852013","filename":"file1"},{"photo_id":"1351851976","filename":"file0"},{"photo_id":"1351852022","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351852076":["hashtag1","hashtag2"]},{"1351852034":["hashtag1","hashtag2"]},{"1351852022":["hashtag1","hashtag2"]},{"1351852016":["hashtag1","hashtag2"]},{"1351852013":["hashtag1","hashtag2"]},{"1351851976":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351852076, 1351852034, 1351852022, 1351852016, 1351852013, 1351851976)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.442617893218994 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 19:36:33.080327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/18/06/image_11042025_18_06_27_10401.jpg', '/home/pi/Desktop/images/11042025/18/06/image_11042025_18_06_36_9350.jpg', '/home/pi/Desktop/images/11042025/18/06/image_11042025_18_06_47_10351.jpg', '/home/pi/Desktop/images/11042025/18/06/image_11042025_18_06_57_10462.jpg', '/home/pi/Desktop/images/11042025/18/06/image_11042025_18_07_07_9445.jpg', '/home/pi/Desktop/images/11042025/18/07/image_11042025_18_07_17_10436.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/18/06/image_11042025_18_06_27_10401.jpg
/home/pi/Desktop/images/11042025/18/06/image_11042025_18_06_36_9350.jpg
/home/pi/Desktop/images/11042025/18/06/image_11042025_18_06_47_10351.jpg
/home/pi/Desktop/images/11042025/18/06/image_11042025_18_06_57_10462.jpg
/home/pi/Desktop/images/11042025/18/06/image_11042025_18_07_07_9445.jpg
/home/pi/Desktop/images/11042025/18/07/image_11042025_18_07_17_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":["1351852163","1351852145","1351852192","1351852153","1351852149","1351852215"],"photo_ids_order":["1351852145","1351852149","1351852153","1351852163","1351852192","1351852215"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/558ab4cb9a41aa6a8dd98c587ac36d91.jpg","text":"TemporaryFile(/tmp/multipartBody4603772837478888846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393053573,"filename":"image_11042025_18_06_57_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/131e81a42813fbfb5de54fc7ad17cf34.jpg","text":"TemporaryFile(/tmp/multipartBody6835080503369388111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393053573,"filename":"image_11042025_18_06_27_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6e1c3031bf89bf972e67ccfaca982f01.jpg","text":"TemporaryFile(/tmp/multipartBody4604693745253133965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393053573,"filename":"image_11042025_18_07_07_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/11/ec6816e3f4d2926c4ab1a842bec1b626.jpg","text":"TemporaryFile(/tmp/multipartBody7184851547395638238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393053573,"filename":"image_11042025_18_06_47_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/df0b6239566bed1993f7901a9a83b5de.jpg","text":"TemporaryFile(/tmp/multipartBody421185754572894567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393053573,"filename":"image_11042025_18_06_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/11/70e081906662d82661c539fa92b65945.jpg","text":"TemporaryFile(/tmp/multipartBody8562120454154537229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393053573,"filename":"image_11042025_18_07_17_10436.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351852153","file1":"1351852149","file0":"1351852145","file4":"1351852192","file5":"1351852215","file3":"1351852163"},"map_files_photo_id_array":[{"photo_id":"1351852215","filename":"file5"},{"photo_id":"1351852153","filename":"file2"},{"photo_id":"1351852192","filename":"file4"},{"photo_id":"1351852149","filename":"file1"},{"photo_id":"1351852145","filename":"file0"},{"photo_id":"1351852163","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351852163":["hashtag1","hashtag2"]},{"1351852145":["hashtag1","hashtag2"]},{"1351852192":["hashtag1","hashtag2"]},{"1351852153":["hashtag1","hashtag2"]},{"1351852149":["hashtag1","hashtag2"]},{"1351852215":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351852163, 1351852145, 1351852192, 1351852153, 1351852149, 1351852215)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.24565577507019 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 19:37:32.161351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/18/07/image_11042025_18_07_26_9352.jpg', '/home/pi/Desktop/images/11042025/18/07/image_11042025_18_07_37_10362.jpg', '/home/pi/Desktop/images/11042025/18/07/image_11042025_18_07_46_9472.jpg', '/home/pi/Desktop/images/11042025/18/07/image_11042025_18_07_57_10440.jpg', '/home/pi/Desktop/images/11042025/18/07/image_11042025_18_08_07_10367.jpg', '/home/pi/Desktop/images/11042025/18/08/image_11042025_18_08_16_9361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/18/07/image_11042025_18_07_26_9352.jpg
/home/pi/Desktop/images/11042025/18/07/image_11042025_18_07_37_10362.jpg
/home/pi/Desktop/images/11042025/18/07/image_11042025_18_07_46_9472.jpg
/home/pi/Desktop/images/11042025/18/07/image_11042025_18_07_57_10440.jpg
/home/pi/Desktop/images/11042025/18/07/image_11042025_18_08_07_10367.jpg
/home/pi/Desktop/images/11042025/18/08/image_11042025_18_08_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":["1351852404","1351852495","1351852471","1351852573","1351852447","1351852539"],"photo_ids_order":["1351852404","1351852447","1351852471","1351852495","1351852539","1351852573"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8335ac47d41e985ec446159b191530ee.jpg","text":"TemporaryFile(/tmp/multipartBody2060169249934838170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393112630,"filename":"image_11042025_18_07_26_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/fe813b404f859a352480a857672a413b.jpg","text":"TemporaryFile(/tmp/multipartBody7309927773931230466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393112630,"filename":"image_11042025_18_07_57_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4f13761dc24c9931f36d5bd5e7f9ddcf.jpg","text":"TemporaryFile(/tmp/multipartBody1487791423886357969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393112630,"filename":"image_11042025_18_07_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/11/91e17839b3bffa6f4c1cf03663fe5619.jpg","text":"TemporaryFile(/tmp/multipartBody3135791314494299598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393112630,"filename":"image_11042025_18_08_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/11/4a4989d55d719b44bc43bdc9794bcbb6.jpg","text":"TemporaryFile(/tmp/multipartBody5035585875747616440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393112630,"filename":"image_11042025_18_07_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/11/2f43a5aa8c9abec9127fa2637ea33f6c.jpg","text":"TemporaryFile(/tmp/multipartBody4037526030824909964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393112630,"filename":"image_11042025_18_08_07_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351852471","file1":"1351852447","file0":"1351852404","file4":"1351852539","file5":"1351852573","file3":"1351852495"},"map_files_photo_id_array":[{"photo_id":"1351852573","filename":"file5"},{"photo_id":"1351852471","filename":"file2"},{"photo_id":"1351852539","filename":"file4"},{"photo_id":"1351852447","filename":"file1"},{"photo_id":"1351852404","filename":"file0"},{"photo_id":"1351852495","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351852404":["hashtag1","hashtag2"]},{"1351852495":["hashtag1","hashtag2"]},{"1351852471":["hashtag1","hashtag2"]},{"1351852573":["hashtag1","hashtag2"]},{"1351852447":["hashtag1","hashtag2"]},{"1351852539":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351852404, 1351852495, 1351852471, 1351852573, 1351852447, 1351852539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.4337739944458 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 19:38:32.392774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/18/08/image_11042025_18_08_27_10439.jpg', '/home/pi/Desktop/images/11042025/18/08/image_11042025_18_08_36_9373.jpg', '/home/pi/Desktop/images/11042025/18/08/image_11042025_18_08_47_10350.jpg', '/home/pi/Desktop/images/11042025/18/08/image_11042025_18_08_57_10427.jpg', '/home/pi/Desktop/images/11042025/18/08/image_11042025_18_09_06_9391.jpg', '/home/pi/Desktop/images/11042025/18/09/image_11042025_18_09_17_10340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/18/08/image_11042025_18_08_27_10439.jpg
/home/pi/Desktop/images/11042025/18/08/image_11042025_18_08_36_9373.jpg
/home/pi/Desktop/images/11042025/18/08/image_11042025_18_08_47_10350.jpg
/home/pi/Desktop/images/11042025/18/08/image_11042025_18_08_57_10427.jpg
/home/pi/Desktop/images/11042025/18/08/image_11042025_18_09_06_9391.jpg
/home/pi/Desktop/images/11042025/18/09/image_11042025_18_09_17_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.37477946281433105 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 19:38:42.305922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/18/08/image_11042025_18_08_27_10439.jpg', '/home/pi/Desktop/images/11042025/18/08/image_11042025_18_08_36_9373.jpg', '/home/pi/Desktop/images/11042025/18/08/image_11042025_18_08_47_10350.jpg', '/home/pi/Desktop/images/11042025/18/08/image_11042025_18_08_57_10427.jpg', '/home/pi/Desktop/images/11042025/18/08/image_11042025_18_09_06_9391.jpg', '/home/pi/Desktop/images/11042025/18/09/image_11042025_18_09_17_10340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/18/08/image_11042025_18_08_27_10439.jpg
/home/pi/Desktop/images/11042025/18/08/image_11042025_18_08_36_9373.jpg
/home/pi/Desktop/images/11042025/18/08/image_11042025_18_08_47_10350.jpg
/home/pi/Desktop/images/11042025/18/08/image_11042025_18_08_57_10427.jpg
/home/pi/Desktop/images/11042025/18/08/image_11042025_18_09_06_9391.jpg
/home/pi/Desktop/images/11042025/18/09/image_11042025_18_09_17_10340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351852905","1351852727","1351852771","1351852804","1351852848","1351852755"],"photo_ids_order":["1351852727","1351852755","1351852771","1351852804","1351852848","1351852905"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a625bacffb61d8cef4e88f691cc1601d.jpg","text":"TemporaryFile(/tmp/multipartBody1190573464615158814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393182878,"filename":"image_11042025_18_09_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/11/14a88526f99d13bcdad031a54270f28b.jpg","text":"TemporaryFile(/tmp/multipartBody6444452025395686227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393182878,"filename":"image_11042025_18_08_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/11/5e0ab831cbaf78141cc826aabfde56b6.jpg","text":"TemporaryFile(/tmp/multipartBody4390988891471145726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393182878,"filename":"image_11042025_18_08_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/11/d9390e610d83f0bdb9ab4e40cd0dbf6d.jpg","text":"TemporaryFile(/tmp/multipartBody5104246159611399693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393182878,"filename":"image_11042025_18_08_57_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7f152afb1b5b834b6b86490e826e1a17.jpg","text":"TemporaryFile(/tmp/multipartBody7413752720049684280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393182878,"filename":"image_11042025_18_09_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/11/2ea7cc24ec5ca34dc709a35948fcfafc.jpg","text":"TemporaryFile(/tmp/multipartBody5488689761683579253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393182878,"filename":"image_11042025_18_08_36_9373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351852771","file1":"1351852755","file0":"1351852727","file4":"1351852848","file5":"1351852905","file3":"1351852804"},"map_files_photo_id_array":[{"photo_id":"1351852905","filename":"file5"},{"photo_id":"1351852771","filename":"file2"},{"photo_id":"1351852848","filename":"file4"},{"photo_id":"1351852755","filename":"file1"},{"photo_id":"1351852727","filename":"file0"},{"photo_id":"1351852804","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351852905":["hashtag1","hashtag2"]},{"1351852727":["hashtag1","hashtag2"]},{"1351852771":["hashtag1","hashtag2"]},{"1351852804":["hashtag1","hashtag2"]},{"1351852848":["hashtag1","hashtag2"]},{"1351852755":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351852905, 1351852727, 1351852771, 1351852804, 1351852848, 1351852755)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.72507858276367 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 19:39:32.530648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/18/09/image_11042025_18_09_27_10412.jpg', '/home/pi/Desktop/images/11042025/18/09/image_11042025_18_09_37_9342.jpg', '/home/pi/Desktop/images/11042025/18/09/image_11042025_18_09_47_10370.jpg', '/home/pi/Desktop/images/11042025/18/09/image_11042025_18_09_56_9356.jpg', '/home/pi/Desktop/images/11042025/18/09/image_11042025_18_10_07_10349.jpg', '/home/pi/Desktop/images/11042025/18/10/image_11042025_18_10_17_10447.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/18/09/image_11042025_18_09_27_10412.jpg
/home/pi/Desktop/images/11042025/18/09/image_11042025_18_09_37_9342.jpg
/home/pi/Desktop/images/11042025/18/09/image_11042025_18_09_47_10370.jpg
/home/pi/Desktop/images/11042025/18/09/image_11042025_18_09_56_9356.jpg
/home/pi/Desktop/images/11042025/18/09/image_11042025_18_10_07_10349.jpg
/home/pi/Desktop/images/11042025/18/10/image_11042025_18_10_17_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":["1351853099","1351853074","1351853122","1351853166","1351853049","1351853205"],"photo_ids_order":["1351853049","1351853074","1351853099","1351853122","1351853166","1351853205"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4a04fe0a1a2017e4eeeeecc89b33759b.jpg","text":"TemporaryFile(/tmp/multipartBody9138490189187632143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393232997,"filename":"image_11042025_18_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/11/ab81196ca241eeb6686f06160f0952b7.jpg","text":"TemporaryFile(/tmp/multipartBody5464866809582584515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393232997,"filename":"image_11042025_18_09_37_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/11/22115cf7243367fd5553872952a3a717.jpg","text":"TemporaryFile(/tmp/multipartBody3740691632847204523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393232997,"filename":"image_11042025_18_09_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/11/f48c3212ee193b072401ce3786d16e68.jpg","text":"TemporaryFile(/tmp/multipartBody446479686623641124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393232997,"filename":"image_11042025_18_10_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/11/41dc0b9e4023929465c74f8e8f4a9699.jpg","text":"TemporaryFile(/tmp/multipartBody2888831921753051273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393232997,"filename":"image_11042025_18_09_27_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c03294ae1a0aff03e2afac2f8329db9f.jpg","text":"TemporaryFile(/tmp/multipartBody3771269934499114575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393232997,"filename":"image_11042025_18_10_17_10447.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351853099","file1":"1351853074","file0":"1351853049","file4":"1351853166","file5":"1351853205","file3":"1351853122"},"map_files_photo_id_array":[{"photo_id":"1351853205","filename":"file5"},{"photo_id":"1351853099","filename":"file2"},{"photo_id":"1351853166","filename":"file4"},{"photo_id":"1351853074","filename":"file1"},{"photo_id":"1351853049","filename":"file0"},{"photo_id":"1351853122","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351853099":["hashtag1","hashtag2"]},{"1351853074":["hashtag1","hashtag2"]},{"1351853122":["hashtag1","hashtag2"]},{"1351853166":["hashtag1","hashtag2"]},{"1351853049":["hashtag1","hashtag2"]},{"1351853205":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351853099, 1351853074, 1351853122, 1351853166, 1351853049, 1351853205)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.629236698150635 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 19:40:32.732824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/18/10/image_11042025_18_10_26_9365.jpg', '/home/pi/Desktop/images/11042025/18/10/image_11042025_18_10_37_10358.jpg', '/home/pi/Desktop/images/11042025/18/10/image_11042025_18_10_47_10367.jpg', '/home/pi/Desktop/images/11042025/18/10/image_11042025_18_10_56_9364.jpg', '/home/pi/Desktop/images/11042025/18/10/image_11042025_18_11_07_10337.jpg', '/home/pi/Desktop/images/11042025/18/11/image_11042025_18_11_16_9424.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/18/10/image_11042025_18_10_26_9365.jpg
/home/pi/Desktop/images/11042025/18/10/image_11042025_18_10_37_10358.jpg
/home/pi/Desktop/images/11042025/18/10/image_11042025_18_10_47_10367.jpg
/home/pi/Desktop/images/11042025/18/10/image_11042025_18_10_56_9364.jpg
/home/pi/Desktop/images/11042025/18/10/image_11042025_18_11_07_10337.jpg
/home/pi/Desktop/images/11042025/18/11/image_11042025_18_11_16_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":["1351853441","1351853680","1351853491","1351853647","1351853592","1351853541"],"photo_ids_order":["1351853441","1351853491","1351853541","1351853592","1351853647","1351853680"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e805920a457821b10d106baba81a8dad.jpg","text":"TemporaryFile(/tmp/multipartBody6269650836612143863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393293208,"filename":"image_11042025_18_10_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/11/ea9e5b780fad6aab4e67c428bcc6fdc8.jpg","text":"TemporaryFile(/tmp/multipartBody315583781211136375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393293208,"filename":"image_11042025_18_11_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/11/06ae24cb76c2d430617c53db3f656842.jpg","text":"TemporaryFile(/tmp/multipartBody7090499036328129587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393293208,"filename":"image_11042025_18_10_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/11/5693396926b2c4af039df8f26d8c211c.jpg","text":"TemporaryFile(/tmp/multipartBody1179178885806438484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393293208,"filename":"image_11042025_18_11_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/11/5c5b8c916ed0992d4a774e2a63edad55.jpg","text":"TemporaryFile(/tmp/multipartBody9161510974086816736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393293208,"filename":"image_11042025_18_10_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/11/2b550a7e6c2b28fa9c41f2d3caa66c28.jpg","text":"TemporaryFile(/tmp/multipartBody4220558441744511440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393293208,"filename":"image_11042025_18_10_47_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351853541","file1":"1351853491","file0":"1351853441","file4":"1351853647","file5":"1351853680","file3":"1351853592"},"map_files_photo_id_array":[{"photo_id":"1351853680","filename":"file5"},{"photo_id":"1351853541","filename":"file2"},{"photo_id":"1351853647","filename":"file4"},{"photo_id":"1351853491","filename":"file1"},{"photo_id":"1351853441","filename":"file0"},{"photo_id":"1351853592","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351853441":["hashtag1","hashtag2"]},{"1351853680":["hashtag1","hashtag2"]},{"1351853491":["hashtag1","hashtag2"]},{"1351853647":["hashtag1","hashtag2"]},{"1351853592":["hashtag1","hashtag2"]},{"1351853541":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351853441, 1351853680, 1351853491, 1351853647, 1351853592, 1351853541)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.815754890441895 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 19:41:33.151570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/18/11/image_11042025_18_11_27_10351.jpg', '/home/pi/Desktop/images/11042025/18/11/image_11042025_18_11_37_10411.jpg', '/home/pi/Desktop/images/11042025/18/11/image_11042025_18_11_46_9341.jpg', '/home/pi/Desktop/images/11042025/18/11/image_11042025_18_11_56_9991.jpg', '/home/pi/Desktop/images/11042025/18/11/image_11042025_18_12_07_10354.jpg', '/home/pi/Desktop/images/11042025/18/12/image_11042025_18_12_17_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/18/11/image_11042025_18_11_27_10351.jpg
/home/pi/Desktop/images/11042025/18/11/image_11042025_18_11_37_10411.jpg
/home/pi/Desktop/images/11042025/18/11/image_11042025_18_11_46_9341.jpg
/home/pi/Desktop/images/11042025/18/11/image_11042025_18_11_56_9991.jpg
/home/pi/Desktop/images/11042025/18/11/image_11042025_18_12_07_10354.jpg
/home/pi/Desktop/images/11042025/18/12/image_11042025_18_12_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":["1351854079","1351854204","1351854278","1351854155","1351854041","1351854116"],"photo_ids_order":["1351854041","1351854079","1351854116","1351854155","1351854204","1351854278"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/649f19b46da18077758fe6924b1be911.jpg","text":"TemporaryFile(/tmp/multipartBody6627921721769096162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393353631,"filename":"image_11042025_18_11_37_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/67dab4dea16eef6af9e14ad03238228c.jpg","text":"TemporaryFile(/tmp/multipartBody4438228301095899730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393353631,"filename":"image_11042025_18_12_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/11/d68af7fbc023eaa1d6df0a9974bccb6d.jpg","text":"TemporaryFile(/tmp/multipartBody7777665682963684710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393353631,"filename":"image_11042025_18_12_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/11/1e2f88db8c1dbfd96f9dbd541f2ec46e.jpg","text":"TemporaryFile(/tmp/multipartBody2080034396403560348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393353631,"filename":"image_11042025_18_11_56_9991.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f7195edc0265dd573fb973d68dbffaab.jpg","text":"TemporaryFile(/tmp/multipartBody2756228984776268490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393353631,"filename":"image_11042025_18_11_27_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3dd7c64299f486b038a1b12ee7d2e763.jpg","text":"TemporaryFile(/tmp/multipartBody4846623431111420724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393353631,"filename":"image_11042025_18_11_46_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351854116","file1":"1351854079","file0":"1351854041","file4":"1351854204","file5":"1351854278","file3":"1351854155"},"map_files_photo_id_array":[{"photo_id":"1351854278","filename":"file5"},{"photo_id":"1351854116","filename":"file2"},{"photo_id":"1351854204","filename":"file4"},{"photo_id":"1351854079","filename":"file1"},{"photo_id":"1351854041","filename":"file0"},{"photo_id":"1351854155","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351854079":["hashtag1","hashtag2"]},{"1351854204":["hashtag1","hashtag2"]},{"1351854278":["hashtag1","hashtag2"]},{"1351854155":["hashtag1","hashtag2"]},{"1351854041":["hashtag1","hashtag2"]},{"1351854116":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351854079, 1351854204, 1351854278, 1351854155, 1351854041, 1351854116)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.19783139228821 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 19:42:32.275218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/18/12/image_11042025_18_12_26_9351.jpg', '/home/pi/Desktop/images/11042025/18/12/image_11042025_18_12_37_10367.jpg', '/home/pi/Desktop/images/11042025/18/12/image_11042025_18_12_47_10229.jpg', '/home/pi/Desktop/images/11042025/18/12/image_11042025_18_12_56_9373.jpg', '/home/pi/Desktop/images/11042025/18/12/image_11042025_18_13_07_10360.jpg', '/home/pi/Desktop/images/11042025/18/13/image_11042025_18_13_17_10374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/18/12/image_11042025_18_12_26_9351.jpg
/home/pi/Desktop/images/11042025/18/12/image_11042025_18_12_37_10367.jpg
/home/pi/Desktop/images/11042025/18/12/image_11042025_18_12_47_10229.jpg
/home/pi/Desktop/images/11042025/18/12/image_11042025_18_12_56_9373.jpg
/home/pi/Desktop/images/11042025/18/12/image_11042025_18_13_07_10360.jpg
/home/pi/Desktop/images/11042025/18/13/image_11042025_18_13_17_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":["1351855315","1351854997","1351855224","1351854927","1351854875","1351855093"],"photo_ids_order":["1351854875","1351854927","1351854997","1351855093","1351855224","1351855315"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/66c5d74e4a0ac07dd92b1ba9e4a8ba57.jpg","text":"TemporaryFile(/tmp/multipartBody1848813082550256314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393412737,"filename":"image_11042025_18_13_17_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a4b122089e49748f728631eb7e6945bb.jpg","text":"TemporaryFile(/tmp/multipartBody1368104632131968038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393412737,"filename":"image_11042025_18_12_47_10229.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3916a61bb40507abed3af0b9fbd5d9fb.jpg","text":"TemporaryFile(/tmp/multipartBody4808358529683418289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393412737,"filename":"image_11042025_18_13_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/11/eb19f3885d5cbb12d5ef7c8bc0fc72b2.jpg","text":"TemporaryFile(/tmp/multipartBody2634774517183098695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393412737,"filename":"image_11042025_18_12_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/11/a98c71aa276da12872aaa4015eb26048.jpg","text":"TemporaryFile(/tmp/multipartBody6891606095808931074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393412737,"filename":"image_11042025_18_12_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/11/87382c34f5318cb0d54576d39a8a8d14.jpg","text":"TemporaryFile(/tmp/multipartBody3009149418017010404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393412737,"filename":"image_11042025_18_12_56_9373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351854997","file1":"1351854927","file0":"1351854875","file4":"1351855224","file5":"1351855315","file3":"1351855093"},"map_files_photo_id_array":[{"photo_id":"1351855315","filename":"file5"},{"photo_id":"1351854997","filename":"file2"},{"photo_id":"1351855224","filename":"file4"},{"photo_id":"1351854927","filename":"file1"},{"photo_id":"1351854875","filename":"file0"},{"photo_id":"1351855093","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351855315":["hashtag1","hashtag2"]},{"1351854997":["hashtag1","hashtag2"]},{"1351855224":["hashtag1","hashtag2"]},{"1351854927":["hashtag1","hashtag2"]},{"1351854875":["hashtag1","hashtag2"]},{"1351855093":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351855315, 1351854997, 1351855224, 1351854927, 1351854875, 1351855093)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.40962195396423 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 19:43:33.641047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/18/13/image_11042025_18_13_26_9349.jpg', '/home/pi/Desktop/images/11042025/18/13/image_11042025_18_13_37_10398.jpg', '/home/pi/Desktop/images/11042025/18/13/image_11042025_18_13_46_9398.jpg', '/home/pi/Desktop/images/11042025/18/13/image_11042025_18_13_57_10373.jpg', '/home/pi/Desktop/images/11042025/18/13/image_11042025_18_14_07_10485.jpg', '/home/pi/Desktop/images/11042025/18/14/image_11042025_18_14_17_9398.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/18/13/image_11042025_18_13_26_9349.jpg
/home/pi/Desktop/images/11042025/18/13/image_11042025_18_13_37_10398.jpg
/home/pi/Desktop/images/11042025/18/13/image_11042025_18_13_46_9398.jpg
/home/pi/Desktop/images/11042025/18/13/image_11042025_18_13_57_10373.jpg
/home/pi/Desktop/images/11042025/18/13/image_11042025_18_14_07_10485.jpg
/home/pi/Desktop/images/11042025/18/14/image_11042025_18_14_17_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":["1351855747","1351855977","1351855689","1351855935","1351855871","1351855820"],"photo_ids_order":["1351855689","1351855747","1351855820","1351855871","1351855935","1351855977"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/dbb88128db276038ce52a5256ba12d4e.jpg","text":"TemporaryFile(/tmp/multipartBody7752836582611312974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393474113,"filename":"image_11042025_18_13_37_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/af3b496dec834a35eed6347eed0d2f6e.jpg","text":"TemporaryFile(/tmp/multipartBody3736420404185583148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393474113,"filename":"image_11042025_18_14_17_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/11/a433e75a906334a362341f44f778644f.jpg","text":"TemporaryFile(/tmp/multipartBody7724958314530761659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393474113,"filename":"image_11042025_18_13_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/11/9a83d3e9dd8178e2bb82ccb364d3fe31.jpg","text":"TemporaryFile(/tmp/multipartBody6355347709939035064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393474113,"filename":"image_11042025_18_14_07_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/11/2baa280d4462f8516a29e6cf6e293b1a.jpg","text":"TemporaryFile(/tmp/multipartBody4199052308686372527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393474113,"filename":"image_11042025_18_13_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/11/eb9afa6de8402860f58b944dd4fea5ef.jpg","text":"TemporaryFile(/tmp/multipartBody5643362409510059203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393474113,"filename":"image_11042025_18_13_46_9398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351855820","file1":"1351855747","file0":"1351855689","file4":"1351855935","file5":"1351855977","file3":"1351855871"},"map_files_photo_id_array":[{"photo_id":"1351855977","filename":"file5"},{"photo_id":"1351855820","filename":"file2"},{"photo_id":"1351855935","filename":"file4"},{"photo_id":"1351855747","filename":"file1"},{"photo_id":"1351855689","filename":"file0"},{"photo_id":"1351855871","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351855747":["hashtag1","hashtag2"]},{"1351855977":["hashtag1","hashtag2"]},{"1351855689":["hashtag1","hashtag2"]},{"1351855935":["hashtag1","hashtag2"]},{"1351855871":["hashtag1","hashtag2"]},{"1351855820":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351855747, 1351855977, 1351855689, 1351855935, 1351855871, 1351855820)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.42323899269104 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 19:44:32.207143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/18/14/image_11042025_18_14_27_10376.jpg', '/home/pi/Desktop/images/11042025/18/14/image_11042025_18_14_36_9383.jpg', '/home/pi/Desktop/images/11042025/18/14/image_11042025_18_14_47_10368.jpg', '/home/pi/Desktop/images/11042025/18/14/image_11042025_18_14_57_10480.jpg', '/home/pi/Desktop/images/11042025/18/14/image_11042025_18_15_06_9373.jpg', '/home/pi/Desktop/images/11042025/18/15/image_11042025_18_15_17_10345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/18/14/image_11042025_18_14_27_10376.jpg
/home/pi/Desktop/images/11042025/18/14/image_11042025_18_14_36_9383.jpg
/home/pi/Desktop/images/11042025/18/14/image_11042025_18_14_47_10368.jpg
/home/pi/Desktop/images/11042025/18/14/image_11042025_18_14_57_10480.jpg
/home/pi/Desktop/images/11042025/18/14/image_11042025_18_15_06_9373.jpg
/home/pi/Desktop/images/11042025/18/15/image_11042025_18_15_17_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":["1351856385","1351856493","1351856430","1351856213","1351856287","1351856566"],"photo_ids_order":["1351856213","1351856287","1351856385","1351856430","1351856493","1351856566"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/996548c2762a71d9fa4ffc37b2cea9d1.jpg","text":"TemporaryFile(/tmp/multipartBody8755419833189245931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393532683,"filename":"image_11042025_18_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/11/8e8952ec7a4061e8cec5effc7f7d86cb.jpg","text":"TemporaryFile(/tmp/multipartBody6041018113691121609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393532683,"filename":"image_11042025_18_15_06_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/604315718571d7986e7295be6ec68eae.jpg","text":"TemporaryFile(/tmp/multipartBody4148404287590738523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393532683,"filename":"image_11042025_18_14_57_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/11/cacb572533ff4e301ab2460f369a7881.jpg","text":"TemporaryFile(/tmp/multipartBody4611038646418785458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393532683,"filename":"image_11042025_18_14_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/11/c94a2b75400aa65834ea5f90445bc5cb.jpg","text":"TemporaryFile(/tmp/multipartBody6864192290085521841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393532683,"filename":"image_11042025_18_14_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/11/32fd647051c2f7a9cc74652e8470d439.jpg","text":"TemporaryFile(/tmp/multipartBody4178048056311119951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393532683,"filename":"image_11042025_18_15_17_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351856385","file1":"1351856287","file0":"1351856213","file4":"1351856493","file5":"1351856566","file3":"1351856430"},"map_files_photo_id_array":[{"photo_id":"1351856566","filename":"file5"},{"photo_id":"1351856385","filename":"file2"},{"photo_id":"1351856493","filename":"file4"},{"photo_id":"1351856287","filename":"file1"},{"photo_id":"1351856213","filename":"file0"},{"photo_id":"1351856430","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351856385":["hashtag1","hashtag2"]},{"1351856493":["hashtag1","hashtag2"]},{"1351856430":["hashtag1","hashtag2"]},{"1351856213":["hashtag1","hashtag2"]},{"1351856287":["hashtag1","hashtag2"]},{"1351856566":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351856385, 1351856493, 1351856430, 1351856213, 1351856287, 1351856566)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.752031326293945 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 19:45:32.479761
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/18/15/image_11042025_18_15_26_9413.jpg', '/home/pi/Desktop/images/11042025/18/15/image_11042025_18_15_37_10366.jpg', '/home/pi/Desktop/images/11042025/18/15/image_11042025_18_15_47_10404.jpg', '/home/pi/Desktop/images/11042025/18/15/image_11042025_18_15_56_9351.jpg', '/home/pi/Desktop/images/11042025/18/15/image_11042025_18_16_07_10360.jpg', '/home/pi/Desktop/images/11042025/18/16/image_11042025_18_16_17_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/18/15/image_11042025_18_15_26_9413.jpg
/home/pi/Desktop/images/11042025/18/15/image_11042025_18_15_37_10366.jpg
/home/pi/Desktop/images/11042025/18/15/image_11042025_18_15_47_10404.jpg
/home/pi/Desktop/images/11042025/18/15/image_11042025_18_15_56_9351.jpg
/home/pi/Desktop/images/11042025/18/15/image_11042025_18_16_07_10360.jpg
/home/pi/Desktop/images/11042025/18/16/image_11042025_18_16_17_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":["1351857303","1351856993","1351857040","1351856944","1351857334","1351857087"],"photo_ids_order":["1351856944","1351856993","1351857040","1351857087","1351857303","1351857334"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2c4d41a18ca78f747473e7c1550c2577.jpg","text":"TemporaryFile(/tmp/multipartBody4839864441122016674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393592947,"filename":"image_11042025_18_16_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/11/259688b782fdea026ff1d5fcc1a9bca8.jpg","text":"TemporaryFile(/tmp/multipartBody6427845236436254463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393592947,"filename":"image_11042025_18_15_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/11/3ff90ee3e20e940a1baaee62ef5ee986.jpg","text":"TemporaryFile(/tmp/multipartBody8937172181610255697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393592947,"filename":"image_11042025_18_15_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/11/af9cae17a08b641383958df0dd9fcbc9.jpg","text":"TemporaryFile(/tmp/multipartBody5961229987903537472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393592947,"filename":"image_11042025_18_15_26_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/976af1ca5a207d2acd87b39388f40aac.jpg","text":"TemporaryFile(/tmp/multipartBody435917780206124043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393592947,"filename":"image_11042025_18_16_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/11/6634e5758eb278dcb050928311604a71.jpg","text":"TemporaryFile(/tmp/multipartBody1895396735904242707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393592947,"filename":"image_11042025_18_15_56_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351857040","file1":"1351856993","file0":"1351856944","file4":"1351857303","file5":"1351857334","file3":"1351857087"},"map_files_photo_id_array":[{"photo_id":"1351857334","filename":"file5"},{"photo_id":"1351857040","filename":"file2"},{"photo_id":"1351857303","filename":"file4"},{"photo_id":"1351856993","filename":"file1"},{"photo_id":"1351856944","filename":"file0"},{"photo_id":"1351857087","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351857303":["hashtag1","hashtag2"]},{"1351856993":["hashtag1","hashtag2"]},{"1351857040":["hashtag1","hashtag2"]},{"1351856944":["hashtag1","hashtag2"]},{"1351857334":["hashtag1","hashtag2"]},{"1351857087":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351857303, 1351856993, 1351857040, 1351856944, 1351857334, 1351857087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.89759612083435 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 19:46:32.648042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/18/16/image_11042025_18_16_26_9364.jpg', '/home/pi/Desktop/images/11042025/18/16/image_11042025_18_16_37_10383.jpg', '/home/pi/Desktop/images/11042025/18/16/image_11042025_18_16_46_9414.jpg', '/home/pi/Desktop/images/11042025/18/16/image_11042025_18_16_57_10459.jpg', '/home/pi/Desktop/images/11042025/18/16/image_11042025_18_17_07_10341.jpg', '/home/pi/Desktop/images/11042025/18/17/image_11042025_18_17_16_9356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/18/16/image_11042025_18_16_26_9364.jpg
/home/pi/Desktop/images/11042025/18/16/image_11042025_18_16_37_10383.jpg
/home/pi/Desktop/images/11042025/18/16/image_11042025_18_16_46_9414.jpg
/home/pi/Desktop/images/11042025/18/16/image_11042025_18_16_57_10459.jpg
/home/pi/Desktop/images/11042025/18/16/image_11042025_18_17_07_10341.jpg
/home/pi/Desktop/images/11042025/18/17/image_11042025_18_17_16_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":["1351857653","1351857683","1351857746","1351857608","1351857730","1351857579"],"photo_ids_order":["1351857579","1351857608","1351857653","1351857683","1351857730","1351857746"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7f997f3f7f28558625f2ca49e806f7f2.jpg","text":"TemporaryFile(/tmp/multipartBody2905131399948242417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393653109,"filename":"image_11042025_18_16_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/11/d041e5ca4187b193c999774d3eb36a8c.jpg","text":"TemporaryFile(/tmp/multipartBody7463178124108295272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393653109,"filename":"image_11042025_18_16_57_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/11/af45da987f1123d1ed41364784a0c0ab.jpg","text":"TemporaryFile(/tmp/multipartBody3472667750142625651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393653109,"filename":"image_11042025_18_17_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/11/a4729630e453067bb1321201feba56a8.jpg","text":"TemporaryFile(/tmp/multipartBody8598139381396127520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393653109,"filename":"image_11042025_18_16_37_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0dfc11039b744a67743010392964ce25.jpg","text":"TemporaryFile(/tmp/multipartBody2556741100995374600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393653109,"filename":"image_11042025_18_17_07_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4f35e13a8a3bf55f884ee0d7fb5307af.jpg","text":"TemporaryFile(/tmp/multipartBody8327363569952018043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393653109,"filename":"image_11042025_18_16_26_9364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351857653","file1":"1351857608","file0":"1351857579","file4":"1351857730","file5":"1351857746","file3":"1351857683"},"map_files_photo_id_array":[{"photo_id":"1351857746","filename":"file5"},{"photo_id":"1351857653","filename":"file2"},{"photo_id":"1351857730","filename":"file4"},{"photo_id":"1351857608","filename":"file1"},{"photo_id":"1351857579","filename":"file0"},{"photo_id":"1351857683","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351857653":["hashtag1","hashtag2"]},{"1351857683":["hashtag1","hashtag2"]},{"1351857746":["hashtag1","hashtag2"]},{"1351857608":["hashtag1","hashtag2"]},{"1351857730":["hashtag1","hashtag2"]},{"1351857579":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351857653, 1351857683, 1351857746, 1351857608, 1351857730, 1351857579)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.42215538024902 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 19:47:32.915688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/18/17/image_11042025_18_17_27_10359.jpg', '/home/pi/Desktop/images/11042025/18/17/image_11042025_18_17_36_9440.jpg', '/home/pi/Desktop/images/11042025/18/17/image_11042025_18_17_47_10368.jpg', '/home/pi/Desktop/images/11042025/18/17/image_11042025_18_17_57_10433.jpg', '/home/pi/Desktop/images/11042025/18/17/image_11042025_18_18_06_9346.jpg', '/home/pi/Desktop/images/11042025/18/18/image_11042025_18_18_17_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/18/17/image_11042025_18_17_27_10359.jpg
/home/pi/Desktop/images/11042025/18/17/image_11042025_18_17_36_9440.jpg
/home/pi/Desktop/images/11042025/18/17/image_11042025_18_17_47_10368.jpg
/home/pi/Desktop/images/11042025/18/17/image_11042025_18_17_57_10433.jpg
/home/pi/Desktop/images/11042025/18/17/image_11042025_18_18_06_9346.jpg
/home/pi/Desktop/images/11042025/18/18/image_11042025_18_18_17_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":["1351858091","1351857899","1351858060","1351857937","1351857984","1351858035"],"photo_ids_order":["1351857899","1351857937","1351857984","1351858035","1351858060","1351858091"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5586b4e48d76f96291699669b044d665.jpg","text":"TemporaryFile(/tmp/multipartBody7627848401214347725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393713379,"filename":"image_11042025_18_18_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/11/16ff14bf4fb4aa40184ee4bcd22b088e.jpg","text":"TemporaryFile(/tmp/multipartBody156065431007185063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393713379,"filename":"image_11042025_18_17_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/11/557fbcb6d8ad11b919833c8025433da4.jpg","text":"TemporaryFile(/tmp/multipartBody2548849800558445173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393713379,"filename":"image_11042025_18_18_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/11/2572b3290dd4fae64b0cb6c4a10b4c42.jpg","text":"TemporaryFile(/tmp/multipartBody9081782065015799777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393713379,"filename":"image_11042025_18_17_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/11/4e9226783b5e75f64c235d6fd85e7573.jpg","text":"TemporaryFile(/tmp/multipartBody2847001653121131013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393713379,"filename":"image_11042025_18_17_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/11/245f576e5adb065c72d8a7e25abe88b8.jpg","text":"TemporaryFile(/tmp/multipartBody3232799172617742708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393713379,"filename":"image_11042025_18_17_57_10433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351857984","file1":"1351857937","file0":"1351857899","file4":"1351858060","file5":"1351858091","file3":"1351858035"},"map_files_photo_id_array":[{"photo_id":"1351858091","filename":"file5"},{"photo_id":"1351857984","filename":"file2"},{"photo_id":"1351858060","filename":"file4"},{"photo_id":"1351857937","filename":"file1"},{"photo_id":"1351857899","filename":"file0"},{"photo_id":"1351858035","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351858091":["hashtag1","hashtag2"]},{"1351857899":["hashtag1","hashtag2"]},{"1351858060":["hashtag1","hashtag2"]},{"1351857937":["hashtag1","hashtag2"]},{"1351857984":["hashtag1","hashtag2"]},{"1351858035":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351858091, 1351857899, 1351858060, 1351857937, 1351857984, 1351858035)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.15235662460327 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 19:48:33.077331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/18/18/image_11042025_18_18_27_10385.jpg', '/home/pi/Desktop/images/11042025/18/18/image_11042025_18_18_36_9353.jpg', '/home/pi/Desktop/images/11042025/18/18/image_11042025_18_18_47_10388.jpg', '/home/pi/Desktop/images/11042025/18/18/image_11042025_18_18_56_9360.jpg', '/home/pi/Desktop/images/11042025/18/18/image_11042025_18_19_07_10379.jpg', '/home/pi/Desktop/images/11042025/18/19/image_11042025_18_19_17_10407.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/18/18/image_11042025_18_18_27_10385.jpg
/home/pi/Desktop/images/11042025/18/18/image_11042025_18_18_36_9353.jpg
/home/pi/Desktop/images/11042025/18/18/image_11042025_18_18_47_10388.jpg
/home/pi/Desktop/images/11042025/18/18/image_11042025_18_18_56_9360.jpg
/home/pi/Desktop/images/11042025/18/18/image_11042025_18_19_07_10379.jpg
/home/pi/Desktop/images/11042025/18/19/image_11042025_18_19_17_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":["1351858484","1351858387","1351858432","1351858324","1351858338","1351858308"],"photo_ids_order":["1351858308","1351858324","1351858338","1351858387","1351858432","1351858484"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0c196d8d5475e75dc50ffc039c603db2.jpg","text":"TemporaryFile(/tmp/multipartBody4898912810888261311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393775535,"filename":"image_11042025_18_19_17_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ea15c209dfd4353eb54ca18492a944be.jpg","text":"TemporaryFile(/tmp/multipartBody2646685386488300695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393775535,"filename":"image_11042025_18_18_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/11/9161d1c87aa0403f270bda34d0b537ba.jpg","text":"TemporaryFile(/tmp/multipartBody1430483888154771422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393775535,"filename":"image_11042025_18_19_07_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/550bc2649ff8c3727d1be7bd88162fa5.jpg","text":"TemporaryFile(/tmp/multipartBody5455565395090746247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393775535,"filename":"image_11042025_18_18_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/11/d0ac79038bfbc0da4a2ff1ac9bd26c1f.jpg","text":"TemporaryFile(/tmp/multipartBody647232397838467879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393775535,"filename":"image_11042025_18_18_47_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/034a6a6523eb7da36c717893a5425afa.jpg","text":"TemporaryFile(/tmp/multipartBody2333238346689784306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393775535,"filename":"image_11042025_18_18_27_10385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351858338","file1":"1351858324","file0":"1351858308","file4":"1351858432","file5":"1351858484","file3":"1351858387"},"map_files_photo_id_array":[{"photo_id":"1351858484","filename":"file5"},{"photo_id":"1351858338","filename":"file2"},{"photo_id":"1351858432","filename":"file4"},{"photo_id":"1351858324","filename":"file1"},{"photo_id":"1351858308","filename":"file0"},{"photo_id":"1351858387","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351858484":["hashtag1","hashtag2"]},{"1351858387":["hashtag1","hashtag2"]},{"1351858432":["hashtag1","hashtag2"]},{"1351858324":["hashtag1","hashtag2"]},{"1351858338":["hashtag1","hashtag2"]},{"1351858308":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351858484, 1351858387, 1351858432, 1351858324, 1351858338, 1351858308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.92245101928711 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 19:49:32.449242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/18/19/image_11042025_18_19_26_9436.jpg', '/home/pi/Desktop/images/11042025/18/19/image_11042025_18_19_37_10367.jpg', '/home/pi/Desktop/images/11042025/18/19/image_11042025_18_19_46_9420.jpg', '/home/pi/Desktop/images/11042025/18/19/image_11042025_18_19_57_10366.jpg', '/home/pi/Desktop/images/11042025/18/19/image_11042025_18_20_07_10405.jpg', '/home/pi/Desktop/images/11042025/18/20/image_11042025_18_20_16_9411.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/18/19/image_11042025_18_19_26_9436.jpg
/home/pi/Desktop/images/11042025/18/19/image_11042025_18_19_37_10367.jpg
/home/pi/Desktop/images/11042025/18/19/image_11042025_18_19_46_9420.jpg
/home/pi/Desktop/images/11042025/18/19/image_11042025_18_19_57_10366.jpg
/home/pi/Desktop/images/11042025/18/19/image_11042025_18_20_07_10405.jpg
/home/pi/Desktop/images/11042025/18/20/image_11042025_18_20_16_9411.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4386897087097168 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 19:49:42.288634
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/18/19/image_11042025_18_19_26_9436.jpg', '/home/pi/Desktop/images/11042025/18/19/image_11042025_18_19_37_10367.jpg', '/home/pi/Desktop/images/11042025/18/19/image_11042025_18_19_46_9420.jpg', '/home/pi/Desktop/images/11042025/18/19/image_11042025_18_19_57_10366.jpg', '/home/pi/Desktop/images/11042025/18/19/image_11042025_18_20_07_10405.jpg', '/home/pi/Desktop/images/11042025/18/20/image_11042025_18_20_16_9411.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/18/19/image_11042025_18_19_26_9436.jpg
/home/pi/Desktop/images/11042025/18/19/image_11042025_18_19_37_10367.jpg
/home/pi/Desktop/images/11042025/18/19/image_11042025_18_19_46_9420.jpg
/home/pi/Desktop/images/11042025/18/19/image_11042025_18_19_57_10366.jpg
/home/pi/Desktop/images/11042025/18/19/image_11042025_18_20_07_10405.jpg
/home/pi/Desktop/images/11042025/18/20/image_11042025_18_20_16_9411.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351859035","1351858741","1351858804","1351859124","1351858965","1351858887"],"photo_ids_order":["1351858741","1351858804","1351858887","1351858965","1351859035","1351859124"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b7820b15fc82563ae8c1590a54212d7c.jpg","text":"TemporaryFile(/tmp/multipartBody8080207897419719969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393842769,"filename":"image_11042025_18_20_07_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d4ec43e54b035d3e1f1e4fcad84f0c46.jpg","text":"TemporaryFile(/tmp/multipartBody7345736769112637223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393842769,"filename":"image_11042025_18_19_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/11/6608bf0b1f688549593b4473ae9e35be.jpg","text":"TemporaryFile(/tmp/multipartBody5269091030963384478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393842769,"filename":"image_11042025_18_19_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/11/6ea8364e87a9572360165f64dd668100.jpg","text":"TemporaryFile(/tmp/multipartBody5912924029544377143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393842769,"filename":"image_11042025_18_20_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/11/e4ab3cecfc73f06f80bacb87b51aae2e.jpg","text":"TemporaryFile(/tmp/multipartBody1911766851502703725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393842769,"filename":"image_11042025_18_19_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/11/6dd32b962c474a3ee009ee58535bec03.jpg","text":"TemporaryFile(/tmp/multipartBody970409893677195988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393842769,"filename":"image_11042025_18_19_46_9420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351858887","file1":"1351858804","file0":"1351858741","file4":"1351859035","file5":"1351859124","file3":"1351858965"},"map_files_photo_id_array":[{"photo_id":"1351859124","filename":"file5"},{"photo_id":"1351858887","filename":"file2"},{"photo_id":"1351859035","filename":"file4"},{"photo_id":"1351858804","filename":"file1"},{"photo_id":"1351858741","filename":"file0"},{"photo_id":"1351858965","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351859035":["hashtag1","hashtag2"]},{"1351858741":["hashtag1","hashtag2"]},{"1351858804":["hashtag1","hashtag2"]},{"1351859124":["hashtag1","hashtag2"]},{"1351858965":["hashtag1","hashtag2"]},{"1351858887":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351859035, 1351858741, 1351858804, 1351859124, 1351858965, 1351858887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.61570334434509 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 19:50:32.529693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/18/20/image_11042025_18_20_27_10357.jpg', '/home/pi/Desktop/images/11042025/18/20/image_11042025_18_20_37_10375.jpg', '/home/pi/Desktop/images/11042025/18/20/image_11042025_18_20_47_9360.jpg', '/home/pi/Desktop/images/11042025/18/20/image_11042025_18_20_57_10371.jpg', '/home/pi/Desktop/images/11042025/18/20/image_11042025_18_21_06_9431.jpg', '/home/pi/Desktop/images/11042025/18/21/image_11042025_18_21_17_10393.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/18/20/image_11042025_18_20_27_10357.jpg
/home/pi/Desktop/images/11042025/18/20/image_11042025_18_20_37_10375.jpg
/home/pi/Desktop/images/11042025/18/20/image_11042025_18_20_47_9360.jpg
/home/pi/Desktop/images/11042025/18/20/image_11042025_18_20_57_10371.jpg
/home/pi/Desktop/images/11042025/18/20/image_11042025_18_21_06_9431.jpg
/home/pi/Desktop/images/11042025/18/21/image_11042025_18_21_17_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":["1351859312","1351859416","1351859355","1351859439","1351859384","1351859450"],"photo_ids_order":["1351859312","1351859355","1351859384","1351859416","1351859439","1351859450"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0555cec97fe063eaba6a93f4b3d6edc2.jpg","text":"TemporaryFile(/tmp/multipartBody3990760595806533519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393892990,"filename":"image_11042025_18_20_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/11/0fed609fdc5c1c3eb6d099e294426f03.jpg","text":"TemporaryFile(/tmp/multipartBody4279412156058255830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393892990,"filename":"image_11042025_18_20_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/11/dfbf3c8bd58b4ffa3c2efb382f88c216.jpg","text":"TemporaryFile(/tmp/multipartBody8970763928551086116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393892990,"filename":"image_11042025_18_20_37_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6115118ae49107e450b2cfd69cb94ddc.jpg","text":"TemporaryFile(/tmp/multipartBody6649086524379318356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393892990,"filename":"image_11042025_18_21_06_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/da2cde65547f926544248a02f6be9d6b.jpg","text":"TemporaryFile(/tmp/multipartBody2045201853375150950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393892990,"filename":"image_11042025_18_20_47_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/11/c83c0095129cbbe361b96efbe6cc83df.jpg","text":"TemporaryFile(/tmp/multipartBody7646397229366265283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393892990,"filename":"image_11042025_18_21_17_10393.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351859384","file1":"1351859355","file0":"1351859312","file4":"1351859439","file5":"1351859450","file3":"1351859416"},"map_files_photo_id_array":[{"photo_id":"1351859450","filename":"file5"},{"photo_id":"1351859384","filename":"file2"},{"photo_id":"1351859439","filename":"file4"},{"photo_id":"1351859355","filename":"file1"},{"photo_id":"1351859312","filename":"file0"},{"photo_id":"1351859416","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351859312":["hashtag1","hashtag2"]},{"1351859416":["hashtag1","hashtag2"]},{"1351859355":["hashtag1","hashtag2"]},{"1351859439":["hashtag1","hashtag2"]},{"1351859384":["hashtag1","hashtag2"]},{"1351859450":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351859312, 1351859416, 1351859355, 1351859439, 1351859384, 1351859450)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.98428249359131 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 19:51:32.659876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/18/21/image_11042025_18_21_27_10498.jpg', '/home/pi/Desktop/images/11042025/18/21/image_11042025_18_21_37_9345.jpg', '/home/pi/Desktop/images/11042025/18/21/image_11042025_18_21_47_10443.jpg', '/home/pi/Desktop/images/11042025/18/21/image_11042025_18_21_56_9363.jpg', '/home/pi/Desktop/images/11042025/18/21/image_11042025_18_22_07_10356.jpg', '/home/pi/Desktop/images/11042025/18/22/image_11042025_18_22_17_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/18/21/image_11042025_18_21_27_10498.jpg
/home/pi/Desktop/images/11042025/18/21/image_11042025_18_21_37_9345.jpg
/home/pi/Desktop/images/11042025/18/21/image_11042025_18_21_47_10443.jpg
/home/pi/Desktop/images/11042025/18/21/image_11042025_18_21_56_9363.jpg
/home/pi/Desktop/images/11042025/18/21/image_11042025_18_22_07_10356.jpg
/home/pi/Desktop/images/11042025/18/22/image_11042025_18_22_17_10353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351859831","1351859714","1351859900","1351859928","1351859774","1351859861"],"photo_ids_order":["1351859714","1351859774","1351859831","1351859861","1351859900","1351859928"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/69a0d841cd840683da5f6143db27d122.jpg","text":"TemporaryFile(/tmp/multipartBody7759572146545625792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393953135,"filename":"image_11042025_18_21_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/11/86168fca9234fbf4d3cfb375f23f3463.jpg","text":"TemporaryFile(/tmp/multipartBody6878420710973374756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393953135,"filename":"image_11042025_18_21_27_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/11/bf492886c92387f1341c67c9eedbf55e.jpg","text":"TemporaryFile(/tmp/multipartBody9117040597357050800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393953135,"filename":"image_11042025_18_22_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/11/bc426ded039fa62d2f99fb23892de3bd.jpg","text":"TemporaryFile(/tmp/multipartBody1297931779860782253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393953135,"filename":"image_11042025_18_22_17_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/bde8fc5ca8cf24fa368e5f7e588cdf7b.jpg","text":"TemporaryFile(/tmp/multipartBody7842339644609149655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393953135,"filename":"image_11042025_18_21_37_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/037480aad64b77cf429790a13410706b.jpg","text":"TemporaryFile(/tmp/multipartBody4096715629624117070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744393953135,"filename":"image_11042025_18_21_56_9363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351859831","file1":"1351859774","file0":"1351859714","file4":"1351859900","file5":"1351859928","file3":"1351859861"},"map_files_photo_id_array":[{"photo_id":"1351859928","filename":"file5"},{"photo_id":"1351859831","filename":"file2"},{"photo_id":"1351859900","filename":"file4"},{"photo_id":"1351859774","filename":"file1"},{"photo_id":"1351859714","filename":"file0"},{"photo_id":"1351859861","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351859831":["hashtag1","hashtag2"]},{"1351859714":["hashtag1","hashtag2"]},{"1351859900":["hashtag1","hashtag2"]},{"1351859928":["hashtag1","hashtag2"]},{"1351859774":["hashtag1","hashtag2"]},{"1351859861":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351859831, 1351859714, 1351859900, 1351859928, 1351859774, 1351859861)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.585896492004395 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 19:52:32.903459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/18/22/image_11042025_18_22_26_9359.jpg', '/home/pi/Desktop/images/11042025/18/22/image_11042025_18_22_37_10369.jpg', '/home/pi/Desktop/images/11042025/18/22/image_11042025_18_22_47_10384.jpg', '/home/pi/Desktop/images/11042025/18/22/image_11042025_18_22_57_9364.jpg', '/home/pi/Desktop/images/11042025/18/22/image_11042025_18_23_07_10402.jpg', '/home/pi/Desktop/images/11042025/18/23/image_11042025_18_23_16_9402.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/18/22/image_11042025_18_22_26_9359.jpg
/home/pi/Desktop/images/11042025/18/22/image_11042025_18_22_37_10369.jpg
/home/pi/Desktop/images/11042025/18/22/image_11042025_18_22_47_10384.jpg
/home/pi/Desktop/images/11042025/18/22/image_11042025_18_22_57_9364.jpg
/home/pi/Desktop/images/11042025/18/22/image_11042025_18_23_07_10402.jpg
/home/pi/Desktop/images/11042025/18/23/image_11042025_18_23_16_9402.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351860309","1351860326","1351860302","1351860295","1351860262","1351860318"],"photo_ids_order":["1351860262","1351860295","1351860302","1351860309","1351860318","1351860326"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6b5b5cc587029adbf81a4704743f4bce.jpg","text":"TemporaryFile(/tmp/multipartBody9208369078677719850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394013395,"filename":"image_11042025_18_22_57_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/11/2fcb85ef781ac067eb16420b61fcb5c8.jpg","text":"TemporaryFile(/tmp/multipartBody5178802821739744137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394013395,"filename":"image_11042025_18_23_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/11/cdac384f9eb427b81a0325346eeb02f3.jpg","text":"TemporaryFile(/tmp/multipartBody7737880895556470153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394013395,"filename":"image_11042025_18_22_47_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d9032820bef420e08bcb5c562cfe4112.jpg","text":"TemporaryFile(/tmp/multipartBody5857589987538455000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394013395,"filename":"image_11042025_18_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/11/fd1013fd4fded73966c33f64619f76e6.jpg","text":"TemporaryFile(/tmp/multipartBody3058430725681953133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394013395,"filename":"image_11042025_18_22_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/11/640fb9950abe9ab242c95ff879c0981b.jpg","text":"TemporaryFile(/tmp/multipartBody393536021071639867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394013395,"filename":"image_11042025_18_23_07_10402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351860302","file1":"1351860295","file0":"1351860262","file4":"1351860318","file5":"1351860326","file3":"1351860309"},"map_files_photo_id_array":[{"photo_id":"1351860326","filename":"file5"},{"photo_id":"1351860302","filename":"file2"},{"photo_id":"1351860318","filename":"file4"},{"photo_id":"1351860295","filename":"file1"},{"photo_id":"1351860262","filename":"file0"},{"photo_id":"1351860309","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351860309":["hashtag1","hashtag2"]},{"1351860326":["hashtag1","hashtag2"]},{"1351860302":["hashtag1","hashtag2"]},{"1351860295":["hashtag1","hashtag2"]},{"1351860262":["hashtag1","hashtag2"]},{"1351860318":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351860309, 1351860326, 1351860302, 1351860295, 1351860262, 1351860318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.44767665863037 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 19:53:32.162291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/18/23/image_11042025_18_23_27_10383.jpg', '/home/pi/Desktop/images/11042025/18/23/image_11042025_18_23_37_10466.jpg', '/home/pi/Desktop/images/11042025/18/23/image_11042025_18_23_47_9351.jpg', '/home/pi/Desktop/images/11042025/18/23/image_11042025_18_23_57_10452.jpg', '/home/pi/Desktop/images/11042025/18/23/image_11042025_18_24_06_9359.jpg', '/home/pi/Desktop/images/11042025/18/24/image_11042025_18_24_17_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/18/23/image_11042025_18_23_27_10383.jpg
/home/pi/Desktop/images/11042025/18/23/image_11042025_18_23_37_10466.jpg
/home/pi/Desktop/images/11042025/18/23/image_11042025_18_23_47_9351.jpg
/home/pi/Desktop/images/11042025/18/23/image_11042025_18_23_57_10452.jpg
/home/pi/Desktop/images/11042025/18/23/image_11042025_18_24_06_9359.jpg
/home/pi/Desktop/images/11042025/18/24/image_11042025_18_24_17_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":["1351860618","1351860563","1351860518","1351860472","1351860589","1351860547"],"photo_ids_order":["1351860472","1351860518","1351860547","1351860563","1351860589","1351860618"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/70718a99796405900c5ca755ab2a6cf6.jpg","text":"TemporaryFile(/tmp/multipartBody8696264045478849648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394072626,"filename":"image_11042025_18_24_17_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c1683bc7d016ac827e80acb060c4e64e.jpg","text":"TemporaryFile(/tmp/multipartBody5956441659956320021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394072626,"filename":"image_11042025_18_23_57_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/55852c4c9d1eabf146c49994f6d1d1a9.jpg","text":"TemporaryFile(/tmp/multipartBody3164268890856098951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394072626,"filename":"image_11042025_18_23_37_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/11/59d3421845f58968a378916b151d7619.jpg","text":"TemporaryFile(/tmp/multipartBody7157527645635103595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394072626,"filename":"image_11042025_18_23_27_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a4edf5046c779c6ca9267264a379bf26.jpg","text":"TemporaryFile(/tmp/multipartBody3030489119921891254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394072626,"filename":"image_11042025_18_24_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/11/b7bd55192aa17177ccfe39f6aba6196e.jpg","text":"TemporaryFile(/tmp/multipartBody5685436299754864683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394072626,"filename":"image_11042025_18_23_47_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351860547","file1":"1351860518","file0":"1351860472","file4":"1351860589","file5":"1351860618","file3":"1351860563"},"map_files_photo_id_array":[{"photo_id":"1351860618","filename":"file5"},{"photo_id":"1351860547","filename":"file2"},{"photo_id":"1351860589","filename":"file4"},{"photo_id":"1351860518","filename":"file1"},{"photo_id":"1351860472","filename":"file0"},{"photo_id":"1351860563","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351860618":["hashtag1","hashtag2"]},{"1351860563":["hashtag1","hashtag2"]},{"1351860518":["hashtag1","hashtag2"]},{"1351860472":["hashtag1","hashtag2"]},{"1351860589":["hashtag1","hashtag2"]},{"1351860547":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351860618, 1351860563, 1351860518, 1351860472, 1351860589, 1351860547)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.60475444793701 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 19:54:32.307221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/18/24/image_11042025_18_24_27_10365.jpg', '/home/pi/Desktop/images/11042025/18/24/image_11042025_18_24_36_9346.jpg', '/home/pi/Desktop/images/11042025/18/24/image_11042025_18_24_47_10522.jpg', '/home/pi/Desktop/images/11042025/18/24/image_11042025_18_24_56_9451.jpg', '/home/pi/Desktop/images/11042025/18/24/image_11042025_18_25_07_10342.jpg', '/home/pi/Desktop/images/11042025/18/25/image_11042025_18_25_17_10442.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/18/24/image_11042025_18_24_27_10365.jpg
/home/pi/Desktop/images/11042025/18/24/image_11042025_18_24_36_9346.jpg
/home/pi/Desktop/images/11042025/18/24/image_11042025_18_24_47_10522.jpg
/home/pi/Desktop/images/11042025/18/24/image_11042025_18_24_56_9451.jpg
/home/pi/Desktop/images/11042025/18/24/image_11042025_18_25_07_10342.jpg
/home/pi/Desktop/images/11042025/18/25/image_11042025_18_25_17_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":["1351860917","1351860964","1351860934","1351860894","1351860948","1351860921"],"photo_ids_order":["1351860894","1351860917","1351860921","1351860934","1351860948","1351860964"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e2e2033e0e2854f515b6a11aae0effdd.jpg","text":"TemporaryFile(/tmp/multipartBody6760520488425616449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394132777,"filename":"image_11042025_18_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/11/780a926ad058b6bbe68eecd526ba7686.jpg","text":"TemporaryFile(/tmp/multipartBody2996541704657816425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394132777,"filename":"image_11042025_18_25_17_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2f2277d42eeef729b376cc6ad7210e07.jpg","text":"TemporaryFile(/tmp/multipartBody2735469446158422555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394132777,"filename":"image_11042025_18_24_56_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/91e829c2a94413014ca3b8bbd87c1462.jpg","text":"TemporaryFile(/tmp/multipartBody5183726778013212962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394132777,"filename":"image_11042025_18_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/11/fb59794a7409f9d9037391cf7a442a0c.jpg","text":"TemporaryFile(/tmp/multipartBody7612394783742242864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394132777,"filename":"image_11042025_18_25_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/11/5b3f322c233638564e5ea21877da70a3.jpg","text":"TemporaryFile(/tmp/multipartBody238161997578725903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394132777,"filename":"image_11042025_18_24_47_10522.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351860921","file1":"1351860917","file0":"1351860894","file4":"1351860948","file5":"1351860964","file3":"1351860934"},"map_files_photo_id_array":[{"photo_id":"1351860964","filename":"file5"},{"photo_id":"1351860921","filename":"file2"},{"photo_id":"1351860948","filename":"file4"},{"photo_id":"1351860917","filename":"file1"},{"photo_id":"1351860894","filename":"file0"},{"photo_id":"1351860934","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351860917":["hashtag1","hashtag2"]},{"1351860964":["hashtag1","hashtag2"]},{"1351860934":["hashtag1","hashtag2"]},{"1351860894":["hashtag1","hashtag2"]},{"1351860948":["hashtag1","hashtag2"]},{"1351860921":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351860917, 1351860964, 1351860934, 1351860894, 1351860948, 1351860921)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.260387897491455 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 19:55:32.638560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/18/25/image_11042025_18_25_27_9369.jpg', '/home/pi/Desktop/images/11042025/18/25/image_11042025_18_25_37_10436.jpg', '/home/pi/Desktop/images/11042025/18/25/image_11042025_18_25_46_9421.jpg', '/home/pi/Desktop/images/11042025/18/25/image_11042025_18_25_57_10377.jpg', '/home/pi/Desktop/images/11042025/18/25/image_11042025_18_26_07_10384.jpg', '/home/pi/Desktop/images/11042025/18/26/image_11042025_18_26_17_9371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/18/25/image_11042025_18_25_27_9369.jpg
/home/pi/Desktop/images/11042025/18/25/image_11042025_18_25_37_10436.jpg
/home/pi/Desktop/images/11042025/18/25/image_11042025_18_25_46_9421.jpg
/home/pi/Desktop/images/11042025/18/25/image_11042025_18_25_57_10377.jpg
/home/pi/Desktop/images/11042025/18/25/image_11042025_18_26_07_10384.jpg
/home/pi/Desktop/images/11042025/18/26/image_11042025_18_26_17_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":["1351861124","1351861127","1351861117","1351861111","1351861129","1351861131"],"photo_ids_order":["1351861111","1351861117","1351861124","1351861127","1351861129","1351861131"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8c6a5524cf9b200a87bb4989eaaf1381.jpg","text":"TemporaryFile(/tmp/multipartBody5731778591401712518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394193118,"filename":"image_11042025_18_25_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/11/202807548a7ba277043120f5b28092bc.jpg","text":"TemporaryFile(/tmp/multipartBody5696980237539712274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394193118,"filename":"image_11042025_18_25_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/11/5f611d3a73ee8c2d29cac40cacb0db1b.jpg","text":"TemporaryFile(/tmp/multipartBody6861327942223098890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394193118,"filename":"image_11042025_18_25_37_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/11/d5225e9c360d41d2f650ecf4f8582b4c.jpg","text":"TemporaryFile(/tmp/multipartBody4087930149541259230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394193118,"filename":"image_11042025_18_25_27_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/11/30b577b29044d3639b6acd2ed464e481.jpg","text":"TemporaryFile(/tmp/multipartBody315897571135375026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394193118,"filename":"image_11042025_18_26_07_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9404a408a5f881929ac756c00f06ea0f.jpg","text":"TemporaryFile(/tmp/multipartBody2874003405300898132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394193118,"filename":"image_11042025_18_26_17_9371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351861124","file1":"1351861117","file0":"1351861111","file4":"1351861129","file5":"1351861131","file3":"1351861127"},"map_files_photo_id_array":[{"photo_id":"1351861131","filename":"file5"},{"photo_id":"1351861124","filename":"file2"},{"photo_id":"1351861129","filename":"file4"},{"photo_id":"1351861117","filename":"file1"},{"photo_id":"1351861111","filename":"file0"},{"photo_id":"1351861127","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351861124":["hashtag1","hashtag2"]},{"1351861127":["hashtag1","hashtag2"]},{"1351861117":["hashtag1","hashtag2"]},{"1351861111":["hashtag1","hashtag2"]},{"1351861129":["hashtag1","hashtag2"]},{"1351861131":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351861124, 1351861127, 1351861117, 1351861111, 1351861129, 1351861131)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.04514145851135 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 19:56:32.868019
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/18/26/image_11042025_18_26_27_10486.jpg', '/home/pi/Desktop/images/11042025/18/26/image_11042025_18_26_36_9384.jpg', '/home/pi/Desktop/images/11042025/18/26/image_11042025_18_26_47_10350.jpg', '/home/pi/Desktop/images/11042025/18/26/image_11042025_18_26_56_9461.jpg', '/home/pi/Desktop/images/11042025/18/26/image_11042025_18_27_07_10369.jpg', '/home/pi/Desktop/images/11042025/18/27/image_11042025_18_27_17_10532.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/18/26/image_11042025_18_26_27_10486.jpg
/home/pi/Desktop/images/11042025/18/26/image_11042025_18_26_36_9384.jpg
/home/pi/Desktop/images/11042025/18/26/image_11042025_18_26_47_10350.jpg
/home/pi/Desktop/images/11042025/18/26/image_11042025_18_26_56_9461.jpg
/home/pi/Desktop/images/11042025/18/26/image_11042025_18_27_07_10369.jpg
/home/pi/Desktop/images/11042025/18/27/image_11042025_18_27_17_10532.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351861238","1351861229","1351861243","1351861231","1351861278","1351861248"],"photo_ids_order":["1351861229","1351861231","1351861238","1351861243","1351861248","1351861278"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a460a9b82a7007f4274db94ff3858bcd.jpg","text":"TemporaryFile(/tmp/multipartBody4353812999091744106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394253345,"filename":"image_11042025_18_26_47_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/747160bfba67296fb3ceac82a9ac9e1d.jpg","text":"TemporaryFile(/tmp/multipartBody5474373935220103887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394253345,"filename":"image_11042025_18_26_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/11/f818c132ee5496854c8bc07d5018ef26.jpg","text":"TemporaryFile(/tmp/multipartBody2178162130706035634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394253345,"filename":"image_11042025_18_26_56_9461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1b0466040f97a0cb222bbc643b357050.jpg","text":"TemporaryFile(/tmp/multipartBody722765755552971957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394253345,"filename":"image_11042025_18_26_36_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7dae66a6fe043cc3c0f529d38993ccc9.jpg","text":"TemporaryFile(/tmp/multipartBody408226203493148718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394253345,"filename":"image_11042025_18_27_17_10532.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f0a72b4854d97cbb07f331d32c47aaf7.jpg","text":"TemporaryFile(/tmp/multipartBody3404112021219740270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394253345,"filename":"image_11042025_18_27_07_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351861238","file1":"1351861231","file0":"1351861229","file4":"1351861248","file5":"1351861278","file3":"1351861243"},"map_files_photo_id_array":[{"photo_id":"1351861278","filename":"file5"},{"photo_id":"1351861238","filename":"file2"},{"photo_id":"1351861248","filename":"file4"},{"photo_id":"1351861231","filename":"file1"},{"photo_id":"1351861229","filename":"file0"},{"photo_id":"1351861243","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351861238":["hashtag1","hashtag2"]},{"1351861229":["hashtag1","hashtag2"]},{"1351861243":["hashtag1","hashtag2"]},{"1351861231":["hashtag1","hashtag2"]},{"1351861278":["hashtag1","hashtag2"]},{"1351861248":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351861238, 1351861229, 1351861243, 1351861231, 1351861278, 1351861248)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.06566619873047 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 19:57:32.972838
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/18/27/image_11042025_18_27_27_9374.jpg', '/home/pi/Desktop/images/11042025/18/27/image_11042025_18_27_37_10380.jpg', '/home/pi/Desktop/images/11042025/18/27/image_11042025_18_27_46_9341.jpg', '/home/pi/Desktop/images/11042025/18/27/image_11042025_18_27_57_10466.jpg', '/home/pi/Desktop/images/11042025/18/27/image_11042025_18_28_07_10445.jpg', '/home/pi/Desktop/images/11042025/18/28/image_11042025_18_28_17_9363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/18/27/image_11042025_18_27_27_9374.jpg
/home/pi/Desktop/images/11042025/18/27/image_11042025_18_27_37_10380.jpg
/home/pi/Desktop/images/11042025/18/27/image_11042025_18_27_46_9341.jpg
/home/pi/Desktop/images/11042025/18/27/image_11042025_18_27_57_10466.jpg
/home/pi/Desktop/images/11042025/18/27/image_11042025_18_28_07_10445.jpg
/home/pi/Desktop/images/11042025/18/28/image_11042025_18_28_17_9363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 19:59:04.205597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/18/27/image_11042025_18_27_27_9374.jpg', '/home/pi/Desktop/images/11042025/18/27/image_11042025_18_27_37_10380.jpg', '/home/pi/Desktop/images/11042025/18/27/image_11042025_18_27_46_9341.jpg', '/home/pi/Desktop/images/11042025/18/27/image_11042025_18_27_57_10466.jpg', '/home/pi/Desktop/images/11042025/18/27/image_11042025_18_28_07_10445.jpg', '/home/pi/Desktop/images/11042025/18/28/image_11042025_18_28_17_9363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/18/27/image_11042025_18_27_27_9374.jpg
/home/pi/Desktop/images/11042025/18/27/image_11042025_18_27_37_10380.jpg
/home/pi/Desktop/images/11042025/18/27/image_11042025_18_27_46_9341.jpg
/home/pi/Desktop/images/11042025/18/27/image_11042025_18_27_57_10466.jpg
/home/pi/Desktop/images/11042025/18/27/image_11042025_18_28_07_10445.jpg
/home/pi/Desktop/images/11042025/18/28/image_11042025_18_28_17_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":["1351861841","1351861820","1351861814","1351861834","1351861828","1351861790"],"photo_ids_order":["1351861790","1351861814","1351861820","1351861828","1351861834","1351861841"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/69f9547097e580d38a9d7b41731fbae2.jpg","text":"TemporaryFile(/tmp/multipartBody8267563510170564902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394404797,"filename":"image_11042025_18_28_17_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/11/3b9eb854e561b18c25bdbe693639bed9.jpg","text":"TemporaryFile(/tmp/multipartBody5324896067808837937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394404797,"filename":"image_11042025_18_27_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/11/58b9e37ffc7d1ff4361367b3a668c6be.jpg","text":"TemporaryFile(/tmp/multipartBody8926977481712348316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394404797,"filename":"image_11042025_18_27_37_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/53632d73de6523617a20acdef33291b2.jpg","text":"TemporaryFile(/tmp/multipartBody5916770140773998890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394404797,"filename":"image_11042025_18_28_07_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/51fa31079f7b701d747700f11d7ce9bd.jpg","text":"TemporaryFile(/tmp/multipartBody9062934136808140099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394404797,"filename":"image_11042025_18_27_57_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/11/5434f7ac1155509b37c6fc9390a3959c.jpg","text":"TemporaryFile(/tmp/multipartBody6924671138221928341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394404797,"filename":"image_11042025_18_27_27_9374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351861820","file1":"1351861814","file0":"1351861790","file4":"1351861834","file5":"1351861841","file3":"1351861828"},"map_files_photo_id_array":[{"photo_id":"1351861841","filename":"file5"},{"photo_id":"1351861820","filename":"file2"},{"photo_id":"1351861834","filename":"file4"},{"photo_id":"1351861814","filename":"file1"},{"photo_id":"1351861790","filename":"file0"},{"photo_id":"1351861828","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351861841":["hashtag1","hashtag2"]},{"1351861820":["hashtag1","hashtag2"]},{"1351861814":["hashtag1","hashtag2"]},{"1351861834":["hashtag1","hashtag2"]},{"1351861828":["hashtag1","hashtag2"]},{"1351861790":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351861841, 1351861820, 1351861814, 1351861834, 1351861828, 1351861790)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.95475172996521 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 19:59:52.748693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/18/28/image_11042025_18_28_27_10381.jpg', '/home/pi/Desktop/images/11042025/18/28/image_11042025_18_28_36_9382.jpg', '/home/pi/Desktop/images/11042025/18/28/image_11042025_18_28_47_10371.jpg', '/home/pi/Desktop/images/11042025/18/28/image_11042025_18_28_57_10392.jpg', '/home/pi/Desktop/images/11042025/18/28/image_11042025_18_29_06_9349.jpg', '/home/pi/Desktop/images/11042025/18/29/image_11042025_18_29_17_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/18/28/image_11042025_18_28_27_10381.jpg
/home/pi/Desktop/images/11042025/18/28/image_11042025_18_28_36_9382.jpg
/home/pi/Desktop/images/11042025/18/28/image_11042025_18_28_47_10371.jpg
/home/pi/Desktop/images/11042025/18/28/image_11042025_18_28_57_10392.jpg
/home/pi/Desktop/images/11042025/18/28/image_11042025_18_29_06_9349.jpg
/home/pi/Desktop/images/11042025/18/29/image_11042025_18_29_17_10372.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351861925","1351861978","1351861972","1351861986","1351861956","1351861961"],"photo_ids_order":["1351861925","1351861956","1351861961","1351861972","1351861978","1351861986"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f64f38ead4b37cd6fc7c1110d8443785.jpg","text":"TemporaryFile(/tmp/multipartBody5305396931320491022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394453223,"filename":"image_11042025_18_28_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/11/5dbe8123509caa7d91d39c2359ab6569.jpg","text":"TemporaryFile(/tmp/multipartBody1128221219288039419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394453223,"filename":"image_11042025_18_29_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/11/db82eeca8e0b1d7946bcb4c608c1f7fd.jpg","text":"TemporaryFile(/tmp/multipartBody8151940037687956810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394453223,"filename":"image_11042025_18_28_57_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/725d4e5d85d8ac40a1145b160bd5590e.jpg","text":"TemporaryFile(/tmp/multipartBody6879316426575635505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394453223,"filename":"image_11042025_18_29_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/11/7652a95cfe296f9135fe2e5c29943cad.jpg","text":"TemporaryFile(/tmp/multipartBody2752596568374518540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394453223,"filename":"image_11042025_18_28_36_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8ecc0392f49a68167355f5ddeb3957a2.jpg","text":"TemporaryFile(/tmp/multipartBody743740059104513722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394453223,"filename":"image_11042025_18_28_47_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351861961","file1":"1351861956","file0":"1351861925","file4":"1351861978","file5":"1351861986","file3":"1351861972"},"map_files_photo_id_array":[{"photo_id":"1351861986","filename":"file5"},{"photo_id":"1351861961","filename":"file2"},{"photo_id":"1351861978","filename":"file4"},{"photo_id":"1351861956","filename":"file1"},{"photo_id":"1351861925","filename":"file0"},{"photo_id":"1351861972","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351861925":["hashtag1","hashtag2"]},{"1351861978":["hashtag1","hashtag2"]},{"1351861972":["hashtag1","hashtag2"]},{"1351861986":["hashtag1","hashtag2"]},{"1351861956":["hashtag1","hashtag2"]},{"1351861961":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351861925, 1351861978, 1351861972, 1351861986, 1351861956, 1351861961)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.496132373809814 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 20:00:32.912601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/18/29/image_11042025_18_29_26_9477.jpg', '/home/pi/Desktop/images/11042025/18/29/image_11042025_18_29_37_10368.jpg', '/home/pi/Desktop/images/11042025/18/29/image_11042025_18_29_47_10495.jpg', '/home/pi/Desktop/images/11042025/18/29/image_11042025_18_29_56_9369.jpg', '/home/pi/Desktop/images/11042025/18/29/image_11042025_18_30_07_10353.jpg', '/home/pi/Desktop/images/11042025/18/30/image_11042025_18_30_17_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/18/29/image_11042025_18_29_26_9477.jpg
/home/pi/Desktop/images/11042025/18/29/image_11042025_18_29_37_10368.jpg
/home/pi/Desktop/images/11042025/18/29/image_11042025_18_29_47_10495.jpg
/home/pi/Desktop/images/11042025/18/29/image_11042025_18_29_56_9369.jpg
/home/pi/Desktop/images/11042025/18/29/image_11042025_18_30_07_10353.jpg
/home/pi/Desktop/images/11042025/18/30/image_11042025_18_30_17_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":["1351862074","1351862139","1351862103","1351862096","1351862123","1351862045"],"photo_ids_order":["1351862045","1351862074","1351862096","1351862103","1351862123","1351862139"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2ade3f5867126213cf4f20e16bc001e8.jpg","text":"TemporaryFile(/tmp/multipartBody968635943407155858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394493373,"filename":"image_11042025_18_29_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/11/1fbd38ca717656a7169324ac814dd009.jpg","text":"TemporaryFile(/tmp/multipartBody2493233142817784612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394493373,"filename":"image_11042025_18_30_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/11/7b6276bc54c5f7505b868b37d4daf2b4.jpg","text":"TemporaryFile(/tmp/multipartBody8497759453075020088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394493373,"filename":"image_11042025_18_29_56_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/60c182d7bad6ef8aec43f489d70c5012.jpg","text":"TemporaryFile(/tmp/multipartBody5357833796858730936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394493373,"filename":"image_11042025_18_29_47_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/11/20be6c375f6b70040aac255750f0ebae.jpg","text":"TemporaryFile(/tmp/multipartBody6238004282146011395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394493373,"filename":"image_11042025_18_30_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/11/99a6d82e3d7579e7819e801401081427.jpg","text":"TemporaryFile(/tmp/multipartBody610769029163638579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394493373,"filename":"image_11042025_18_29_26_9477.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351862096","file1":"1351862074","file0":"1351862045","file4":"1351862123","file5":"1351862139","file3":"1351862103"},"map_files_photo_id_array":[{"photo_id":"1351862139","filename":"file5"},{"photo_id":"1351862096","filename":"file2"},{"photo_id":"1351862123","filename":"file4"},{"photo_id":"1351862074","filename":"file1"},{"photo_id":"1351862045","filename":"file0"},{"photo_id":"1351862103","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351862074":["hashtag1","hashtag2"]},{"1351862139":["hashtag1","hashtag2"]},{"1351862103":["hashtag1","hashtag2"]},{"1351862096":["hashtag1","hashtag2"]},{"1351862123":["hashtag1","hashtag2"]},{"1351862045":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351862074, 1351862139, 1351862103, 1351862096, 1351862123, 1351862045)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.11016821861267 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 20:01:33.176529
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/18/30/image_11042025_18_30_27_9372.jpg', '/home/pi/Desktop/images/11042025/18/30/image_11042025_18_30_37_10442.jpg', '/home/pi/Desktop/images/11042025/18/30/image_11042025_18_30_46_9369.jpg', '/home/pi/Desktop/images/11042025/18/30/image_11042025_18_31_07_10354.jpg', '/home/pi/Desktop/images/11042025/18/31/image_11042025_18_31_16_9349.jpg', '/home/pi/Desktop/images/11042025/18/31/image_11042025_18_31_27_10374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/18/30/image_11042025_18_30_27_9372.jpg
/home/pi/Desktop/images/11042025/18/30/image_11042025_18_30_37_10442.jpg
/home/pi/Desktop/images/11042025/18/30/image_11042025_18_30_46_9369.jpg
/home/pi/Desktop/images/11042025/18/30/image_11042025_18_31_07_10354.jpg
/home/pi/Desktop/images/11042025/18/31/image_11042025_18_31_16_9349.jpg
/home/pi/Desktop/images/11042025/18/31/image_11042025_18_31_27_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":["1351862242","1351862218","1351862203","1351862238","1351862232","1351862235"],"photo_ids_order":["1351862203","1351862218","1351862232","1351862235","1351862238","1351862242"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8a2e2d6a74068583c023a0a5ce44fa50.jpg","text":"TemporaryFile(/tmp/multipartBody7199712685581551438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394553636,"filename":"image_11042025_18_31_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/11/da1985de414f6b6a147c74a2d9df2756.jpg","text":"TemporaryFile(/tmp/multipartBody309917986024660829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394553636,"filename":"image_11042025_18_30_37_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1627e5169d9c76a2593540de74049bd1.jpg","text":"TemporaryFile(/tmp/multipartBody1803019065579589142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394553636,"filename":"image_11042025_18_30_27_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/11/29030aa858f70170e81ff41697d2cb82.jpg","text":"TemporaryFile(/tmp/multipartBody2473628385700994703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394553636,"filename":"image_11042025_18_31_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/11/7023f45cb90e9db775334aee4dc7e115.jpg","text":"TemporaryFile(/tmp/multipartBody7893943354494101809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394553636,"filename":"image_11042025_18_30_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/11/65db5afcdd2a83fb7a44e1419ae2e754.jpg","text":"TemporaryFile(/tmp/multipartBody2301876529104516587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394553636,"filename":"image_11042025_18_31_07_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351862232","file1":"1351862218","file0":"1351862203","file4":"1351862238","file5":"1351862242","file3":"1351862235"},"map_files_photo_id_array":[{"photo_id":"1351862242","filename":"file5"},{"photo_id":"1351862232","filename":"file2"},{"photo_id":"1351862238","filename":"file4"},{"photo_id":"1351862218","filename":"file1"},{"photo_id":"1351862203","filename":"file0"},{"photo_id":"1351862235","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351862242":["hashtag1","hashtag2"]},{"1351862218":["hashtag1","hashtag2"]},{"1351862203":["hashtag1","hashtag2"]},{"1351862238":["hashtag1","hashtag2"]},{"1351862232":["hashtag1","hashtag2"]},{"1351862235":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351862242, 1351862218, 1351862203, 1351862238, 1351862232, 1351862235)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.74162220954895 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 20:02:32.340501
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/18/31/image_11042025_18_31_37_10384.jpg', '/home/pi/Desktop/images/11042025/18/31/image_11042025_18_31_47_9379.jpg', '/home/pi/Desktop/images/11042025/18/31/image_11042025_18_31_57_10423.jpg', '/home/pi/Desktop/images/11042025/18/32/image_11042025_18_32_17_10356.jpg', '/home/pi/Desktop/images/11042025/18/32/image_11042025_18_32_27_10444.jpg', '/home/pi/Desktop/images/11042025/18/32/image_11042025_18_32_37_9357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/18/31/image_11042025_18_31_37_10384.jpg
/home/pi/Desktop/images/11042025/18/31/image_11042025_18_31_47_9379.jpg
/home/pi/Desktop/images/11042025/18/31/image_11042025_18_31_57_10423.jpg
/home/pi/Desktop/images/11042025/18/32/image_11042025_18_32_17_10356.jpg
/home/pi/Desktop/images/11042025/18/32/image_11042025_18_32_27_10444.jpg
/home/pi/Desktop/images/11042025/18/32/image_11042025_18_32_37_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":["1351862373","1351862322","1351862297","1351862348","1351862429","1351862408"],"photo_ids_order":["1351862297","1351862322","1351862348","1351862373","1351862408","1351862429"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3b80000cc53349578e49bb89814052fd.jpg","text":"TemporaryFile(/tmp/multipartBody1427581687253699065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394612827,"filename":"image_11042025_18_32_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/11/2f2bec3164b70effe3f51e4f63b97fc8.jpg","text":"TemporaryFile(/tmp/multipartBody6312501277652876838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394612827,"filename":"image_11042025_18_31_47_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/11/b5a923c6f78dc9d6ab4d71d099508ed5.jpg","text":"TemporaryFile(/tmp/multipartBody87066972465309326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394612827,"filename":"image_11042025_18_31_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/11/67bbd3240319a47099388b09e61d3170.jpg","text":"TemporaryFile(/tmp/multipartBody7762538377008580447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394612827,"filename":"image_11042025_18_31_57_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a30c605ea0fe5bd1587248d3f2ca9057.jpg","text":"TemporaryFile(/tmp/multipartBody6878945987607286574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394612827,"filename":"image_11042025_18_32_37_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/11/7d6229fdde29f6a525ced377a3cb1825.jpg","text":"TemporaryFile(/tmp/multipartBody1058061756741474490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394612827,"filename":"image_11042025_18_32_27_10444.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351862348","file1":"1351862322","file0":"1351862297","file4":"1351862408","file5":"1351862429","file3":"1351862373"},"map_files_photo_id_array":[{"photo_id":"1351862429","filename":"file5"},{"photo_id":"1351862348","filename":"file2"},{"photo_id":"1351862408","filename":"file4"},{"photo_id":"1351862322","filename":"file1"},{"photo_id":"1351862297","filename":"file0"},{"photo_id":"1351862373","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351862373":["hashtag1","hashtag2"]},{"1351862322":["hashtag1","hashtag2"]},{"1351862297":["hashtag1","hashtag2"]},{"1351862348":["hashtag1","hashtag2"]},{"1351862429":["hashtag1","hashtag2"]},{"1351862408":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351862373, 1351862322, 1351862297, 1351862348, 1351862429, 1351862408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.99537539482117 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 20:03:33.013914
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/18/32/image_11042025_18_32_47_10359.jpg', '/home/pi/Desktop/images/11042025/18/32/image_11042025_18_32_56_9360.jpg', '/home/pi/Desktop/images/11042025/18/32/image_11042025_18_33_07_10345.jpg', '/home/pi/Desktop/images/11042025/18/33/image_11042025_18_33_17_10486.jpg', '/home/pi/Desktop/images/11042025/18/33/image_11042025_18_33_26_9357.jpg', '/home/pi/Desktop/images/11042025/18/33/image_11042025_18_33_37_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/18/32/image_11042025_18_32_47_10359.jpg
/home/pi/Desktop/images/11042025/18/32/image_11042025_18_32_56_9360.jpg
/home/pi/Desktop/images/11042025/18/32/image_11042025_18_33_07_10345.jpg
/home/pi/Desktop/images/11042025/18/33/image_11042025_18_33_17_10486.jpg
/home/pi/Desktop/images/11042025/18/33/image_11042025_18_33_26_9357.jpg
/home/pi/Desktop/images/11042025/18/33/image_11042025_18_33_37_10368.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":["1351863031","1351862869","1351862809","1351862737","1351862838","1351862928"],"photo_ids_order":["1351862737","1351862809","1351862838","1351862869","1351862928","1351863031"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4466b765d0522896bcc5bd53c26b1aea.jpg","text":"TemporaryFile(/tmp/multipartBody817059126969762391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394673465,"filename":"image_11042025_18_33_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/11/dad82e0234093cd9fc048799e9b8999d.jpg","text":"TemporaryFile(/tmp/multipartBody6793676546437648269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394673465,"filename":"image_11042025_18_33_17_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/11/9bb074b58e1abe0b4e41b9ac505b5b8b.jpg","text":"TemporaryFile(/tmp/multipartBody3981504421808366185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394673465,"filename":"image_11042025_18_32_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/11/9c457cfc8d61d463784070430d8dd513.jpg","text":"TemporaryFile(/tmp/multipartBody7523991715056530459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394673465,"filename":"image_11042025_18_32_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/11/0fd8fef6d8cec02d981941cb1d274b7e.jpg","text":"TemporaryFile(/tmp/multipartBody7539214526540650803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394673465,"filename":"image_11042025_18_33_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/11/58870b5ebcbac83cf968331ae9fa48ca.jpg","text":"TemporaryFile(/tmp/multipartBody8032315432781433467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394673465,"filename":"image_11042025_18_33_26_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351862838","file1":"1351862809","file0":"1351862737","file4":"1351862928","file5":"1351863031","file3":"1351862869"},"map_files_photo_id_array":[{"photo_id":"1351863031","filename":"file5"},{"photo_id":"1351862838","filename":"file2"},{"photo_id":"1351862928","filename":"file4"},{"photo_id":"1351862809","filename":"file1"},{"photo_id":"1351862737","filename":"file0"},{"photo_id":"1351862869","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351863031":["hashtag1","hashtag2"]},{"1351862869":["hashtag1","hashtag2"]},{"1351862809":["hashtag1","hashtag2"]},{"1351862737":["hashtag1","hashtag2"]},{"1351862838":["hashtag1","hashtag2"]},{"1351862928":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351863031, 1351862869, 1351862809, 1351862737, 1351862838, 1351862928)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.966886043548584 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 20:04:42.331812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/18/33/image_11042025_18_33_46_9462.jpg', '/home/pi/Desktop/images/11042025/18/33/image_11042025_18_33_57_10374.jpg', '/home/pi/Desktop/images/11042025/18/33/image_11042025_18_34_07_10412.jpg', '/home/pi/Desktop/images/11042025/18/34/image_11042025_18_34_16_9342.jpg', '/home/pi/Desktop/images/11042025/18/34/image_11042025_18_34_27_10449.jpg', '/home/pi/Desktop/images/11042025/18/34/image_11042025_18_34_36_9360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/18/33/image_11042025_18_33_46_9462.jpg
/home/pi/Desktop/images/11042025/18/33/image_11042025_18_33_57_10374.jpg
/home/pi/Desktop/images/11042025/18/33/image_11042025_18_34_07_10412.jpg
/home/pi/Desktop/images/11042025/18/34/image_11042025_18_34_16_9342.jpg
/home/pi/Desktop/images/11042025/18/34/image_11042025_18_34_27_10449.jpg
/home/pi/Desktop/images/11042025/18/34/image_11042025_18_34_36_9360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351863442","1351863259","1351863319","1351863375","1351863405","1351863431"],"photo_ids_order":["1351863259","1351863319","1351863375","1351863405","1351863431","1351863442"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f66e5cb827cc010c37595a01ef73eada.jpg","text":"TemporaryFile(/tmp/multipartBody2810858928728970603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394742792,"filename":"image_11042025_18_34_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/11/e978e2d89ffb8dd6bf39f920e136c706.jpg","text":"TemporaryFile(/tmp/multipartBody8976490686950334835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394742792,"filename":"image_11042025_18_33_46_9462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d9630da668d1c10d536c4fa5c9909cc8.jpg","text":"TemporaryFile(/tmp/multipartBody5335178871948929218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394742792,"filename":"image_11042025_18_33_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/11/aec88d5e4571eb4ee6f9835f45167031.jpg","text":"TemporaryFile(/tmp/multipartBody1222023071777247878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394742792,"filename":"image_11042025_18_34_07_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/692ca2d2771e5c096519402fd5c60269.jpg","text":"TemporaryFile(/tmp/multipartBody1481319852877831171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394742792,"filename":"image_11042025_18_34_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/11/ecbb63b6f7496a152b523eaf5752b428.jpg","text":"TemporaryFile(/tmp/multipartBody5965601668205584236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394742792,"filename":"image_11042025_18_34_27_10449.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351863375","file1":"1351863319","file0":"1351863259","file4":"1351863431","file5":"1351863442","file3":"1351863405"},"map_files_photo_id_array":[{"photo_id":"1351863442","filename":"file5"},{"photo_id":"1351863375","filename":"file2"},{"photo_id":"1351863431","filename":"file4"},{"photo_id":"1351863319","filename":"file1"},{"photo_id":"1351863259","filename":"file0"},{"photo_id":"1351863405","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351863442":["hashtag1","hashtag2"]},{"1351863259":["hashtag1","hashtag2"]},{"1351863319":["hashtag1","hashtag2"]},{"1351863375":["hashtag1","hashtag2"]},{"1351863405":["hashtag1","hashtag2"]},{"1351863431":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351863442, 1351863259, 1351863319, 1351863375, 1351863405, 1351863431)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.249025106430054 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 20:05:32.542008
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/18/34/image_11042025_18_34_47_10352.jpg', '/home/pi/Desktop/images/11042025/18/34/image_11042025_18_34_57_10435.jpg', '/home/pi/Desktop/images/11042025/18/34/image_11042025_18_35_06_9340.jpg', '/home/pi/Desktop/images/11042025/18/35/image_11042025_18_35_17_10348.jpg', '/home/pi/Desktop/images/11042025/18/35/image_11042025_18_35_27_10363.jpg', '/home/pi/Desktop/images/11042025/18/35/image_11042025_18_35_36_9345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/18/34/image_11042025_18_34_47_10352.jpg
/home/pi/Desktop/images/11042025/18/34/image_11042025_18_34_57_10435.jpg
/home/pi/Desktop/images/11042025/18/34/image_11042025_18_35_06_9340.jpg
/home/pi/Desktop/images/11042025/18/35/image_11042025_18_35_17_10348.jpg
/home/pi/Desktop/images/11042025/18/35/image_11042025_18_35_27_10363.jpg
/home/pi/Desktop/images/11042025/18/35/image_11042025_18_35_36_9345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351863562","1351863643","1351863588","1351863669","1351863732","1351863692"],"photo_ids_order":["1351863562","1351863588","1351863643","1351863669","1351863692","1351863732"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a8ab6b9fbd59c55e9da1ac5114a0b246.jpg","text":"TemporaryFile(/tmp/multipartBody5881259968352309399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394793000,"filename":"image_11042025_18_34_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/11/23881204ceabe3c3b821327ee823a2d0.jpg","text":"TemporaryFile(/tmp/multipartBody4699995941386263940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394793000,"filename":"image_11042025_18_35_06_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/bc2e247765989ff3d476b6810c6d7658.jpg","text":"TemporaryFile(/tmp/multipartBody708552041706004305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394793000,"filename":"image_11042025_18_34_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/11/e0c262eac5c693b85be6a0b08f8951f1.jpg","text":"TemporaryFile(/tmp/multipartBody2074783849434507958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394793000,"filename":"image_11042025_18_35_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/11/64381e714f9ebfbe56f5400d784d13eb.jpg","text":"TemporaryFile(/tmp/multipartBody8941061268047469837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394793000,"filename":"image_11042025_18_35_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/11/254298cee9bd84fd55404fd4dc361584.jpg","text":"TemporaryFile(/tmp/multipartBody4606499470487058128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394793000,"filename":"image_11042025_18_35_27_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351863643","file1":"1351863588","file0":"1351863562","file4":"1351863692","file5":"1351863732","file3":"1351863669"},"map_files_photo_id_array":[{"photo_id":"1351863732","filename":"file5"},{"photo_id":"1351863643","filename":"file2"},{"photo_id":"1351863692","filename":"file4"},{"photo_id":"1351863588","filename":"file1"},{"photo_id":"1351863562","filename":"file0"},{"photo_id":"1351863669","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351863562":["hashtag1","hashtag2"]},{"1351863643":["hashtag1","hashtag2"]},{"1351863588":["hashtag1","hashtag2"]},{"1351863669":["hashtag1","hashtag2"]},{"1351863732":["hashtag1","hashtag2"]},{"1351863692":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351863562, 1351863643, 1351863588, 1351863669, 1351863732, 1351863692)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.17095923423767 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 20:06:32.713031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/18/35/image_11042025_18_35_47_10348.jpg', '/home/pi/Desktop/images/11042025/18/35/image_11042025_18_35_57_10357.jpg', '/home/pi/Desktop/images/11042025/18/35/image_11042025_18_36_06_9365.jpg', '/home/pi/Desktop/images/11042025/18/36/image_11042025_18_36_17_10372.jpg', '/home/pi/Desktop/images/11042025/18/36/image_11042025_18_36_26_9418.jpg', '/home/pi/Desktop/images/11042025/18/36/image_11042025_18_36_37_10397.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/18/35/image_11042025_18_35_47_10348.jpg
/home/pi/Desktop/images/11042025/18/35/image_11042025_18_35_57_10357.jpg
/home/pi/Desktop/images/11042025/18/35/image_11042025_18_36_06_9365.jpg
/home/pi/Desktop/images/11042025/18/36/image_11042025_18_36_17_10372.jpg
/home/pi/Desktop/images/11042025/18/36/image_11042025_18_36_26_9418.jpg
/home/pi/Desktop/images/11042025/18/36/image_11042025_18_36_37_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":["1351864113","1351864286","1351864163","1351864192","1351864078","1351864225"],"photo_ids_order":["1351864078","1351864113","1351864163","1351864192","1351864225","1351864286"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/28d9f64821bfb1881b19b9cd64ad5dd3.jpg","text":"TemporaryFile(/tmp/multipartBody7153396027346952611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394853241,"filename":"image_11042025_18_35_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/11/31d16da9619cb130fa9373ca5f5038b5.jpg","text":"TemporaryFile(/tmp/multipartBody1519382049404636063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394853241,"filename":"image_11042025_18_36_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/11/62c05969a01b43518b73a245e8458163.jpg","text":"TemporaryFile(/tmp/multipartBody770310293983308670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394853241,"filename":"image_11042025_18_36_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/11/b82530abd3b4e5ae19ea5a4daba49f11.jpg","text":"TemporaryFile(/tmp/multipartBody7234237318548920435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394853241,"filename":"image_11042025_18_36_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/11/48de68f9b929ed02ab944db1c4ffa3cb.jpg","text":"TemporaryFile(/tmp/multipartBody7344977337063577835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394853241,"filename":"image_11042025_18_35_47_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5a80406a1949c481c412f65b31e11301.jpg","text":"TemporaryFile(/tmp/multipartBody6773712222690197363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394853241,"filename":"image_11042025_18_36_26_9418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351864163","file1":"1351864113","file0":"1351864078","file4":"1351864225","file5":"1351864286","file3":"1351864192"},"map_files_photo_id_array":[{"photo_id":"1351864286","filename":"file5"},{"photo_id":"1351864163","filename":"file2"},{"photo_id":"1351864225","filename":"file4"},{"photo_id":"1351864113","filename":"file1"},{"photo_id":"1351864078","filename":"file0"},{"photo_id":"1351864192","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351864113":["hashtag1","hashtag2"]},{"1351864286":["hashtag1","hashtag2"]},{"1351864163":["hashtag1","hashtag2"]},{"1351864192":["hashtag1","hashtag2"]},{"1351864078":["hashtag1","hashtag2"]},{"1351864225":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351864113, 1351864286, 1351864163, 1351864192, 1351864078, 1351864225)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.878175020217896 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 20:07:32.941210
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/18/36/image_11042025_18_36_47_10378.jpg', '/home/pi/Desktop/images/11042025/18/36/image_11042025_18_36_56_9350.jpg', '/home/pi/Desktop/images/11042025/18/36/image_11042025_18_37_07_10345.jpg', '/home/pi/Desktop/images/11042025/18/37/image_11042025_18_37_17_10438.jpg', '/home/pi/Desktop/images/11042025/18/37/image_11042025_18_37_27_9364.jpg', '/home/pi/Desktop/images/11042025/18/37/image_11042025_18_37_37_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/18/36/image_11042025_18_36_47_10378.jpg
/home/pi/Desktop/images/11042025/18/36/image_11042025_18_36_56_9350.jpg
/home/pi/Desktop/images/11042025/18/36/image_11042025_18_37_07_10345.jpg
/home/pi/Desktop/images/11042025/18/37/image_11042025_18_37_17_10438.jpg
/home/pi/Desktop/images/11042025/18/37/image_11042025_18_37_27_9364.jpg
/home/pi/Desktop/images/11042025/18/37/image_11042025_18_37_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":["1351864557","1351864659","1351864617","1351864725","1351864579","1351864759"],"photo_ids_order":["1351864557","1351864579","1351864617","1351864659","1351864725","1351864759"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4fabe4bfeb1624f3f204ad55cb078a6f.jpg","text":"TemporaryFile(/tmp/multipartBody8289156634477478913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394913399,"filename":"image_11042025_18_36_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/11/67d7cdc107e36a0d252372d7e44b8d2a.jpg","text":"TemporaryFile(/tmp/multipartBody7746451628579268096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394913399,"filename":"image_11042025_18_37_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/11/207e0c7987a10a0aedaa5009963fde30.jpg","text":"TemporaryFile(/tmp/multipartBody3786376152130559074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394913399,"filename":"image_11042025_18_37_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/11/724911c1a4c48b18af1f1e0a098fb120.jpg","text":"TemporaryFile(/tmp/multipartBody6402533603255878962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394913399,"filename":"image_11042025_18_37_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/11/e4233924d502b040e833f82ba20e026a.jpg","text":"TemporaryFile(/tmp/multipartBody5470086734297768061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394913399,"filename":"image_11042025_18_36_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/11/d50e688f7ac046892d4f679a514d9092.jpg","text":"TemporaryFile(/tmp/multipartBody641729303115380642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394913399,"filename":"image_11042025_18_37_37_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351864617","file1":"1351864579","file0":"1351864557","file4":"1351864725","file5":"1351864759","file3":"1351864659"},"map_files_photo_id_array":[{"photo_id":"1351864759","filename":"file5"},{"photo_id":"1351864617","filename":"file2"},{"photo_id":"1351864725","filename":"file4"},{"photo_id":"1351864579","filename":"file1"},{"photo_id":"1351864557","filename":"file0"},{"photo_id":"1351864659","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351864557":["hashtag1","hashtag2"]},{"1351864659":["hashtag1","hashtag2"]},{"1351864617":["hashtag1","hashtag2"]},{"1351864725":["hashtag1","hashtag2"]},{"1351864579":["hashtag1","hashtag2"]},{"1351864759":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351864557, 1351864659, 1351864617, 1351864725, 1351864579, 1351864759)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.17179989814758 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 20:08:32.419558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/18/37/image_11042025_18_37_46_9353.jpg', '/home/pi/Desktop/images/11042025/18/37/image_11042025_18_37_57_10446.jpg', '/home/pi/Desktop/images/11042025/18/38/image_11042025_18_38_27_10410.jpg', '/home/pi/Desktop/images/11042025/18/38/image_11042025_18_38_57_10478.jpg', '/home/pi/Desktop/images/11042025/18/39/image_11042025_18_39_27_10363.jpg', '/home/pi/Desktop/images/11042025/18/39/image_11042025_18_39_47_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/18/37/image_11042025_18_37_46_9353.jpg
/home/pi/Desktop/images/11042025/18/37/image_11042025_18_37_57_10446.jpg
/home/pi/Desktop/images/11042025/18/38/image_11042025_18_38_27_10410.jpg
/home/pi/Desktop/images/11042025/18/38/image_11042025_18_38_57_10478.jpg
/home/pi/Desktop/images/11042025/18/39/image_11042025_18_39_27_10363.jpg
/home/pi/Desktop/images/11042025/18/39/image_11042025_18_39_47_10364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351865153","1351865051","1351865111","1351865077","1351864984","1351865029"],"photo_ids_order":["1351864984","1351865029","1351865051","1351865077","1351865111","1351865153"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/53a8d80793eedcacbd49fff04c0311e0.jpg","text":"TemporaryFile(/tmp/multipartBody5162912607945609732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394973020,"filename":"image_11042025_18_39_47_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7f8bd020efe1dbd7d3cda2635301cb62.jpg","text":"TemporaryFile(/tmp/multipartBody9140085973547695487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394973020,"filename":"image_11042025_18_38_27_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/00c074cd45cd2da196c71d7fe38ee695.jpg","text":"TemporaryFile(/tmp/multipartBody2872775439681881937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394973020,"filename":"image_11042025_18_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/11/5a9e4d93f7aad7624f5452c06d0e0f52.jpg","text":"TemporaryFile(/tmp/multipartBody4064538110838370621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394973020,"filename":"image_11042025_18_38_57_10478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6675dc75f181604263a5228849070515.jpg","text":"TemporaryFile(/tmp/multipartBody5644174344429049875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394973020,"filename":"image_11042025_18_37_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/11/e1f53c015c1473d5c2a147e4aa924b7f.jpg","text":"TemporaryFile(/tmp/multipartBody2936017284463347753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744394973020,"filename":"image_11042025_18_37_57_10446.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351865051","file1":"1351865029","file0":"1351864984","file4":"1351865111","file5":"1351865153","file3":"1351865077"},"map_files_photo_id_array":[{"photo_id":"1351865153","filename":"file5"},{"photo_id":"1351865051","filename":"file2"},{"photo_id":"1351865111","filename":"file4"},{"photo_id":"1351865029","filename":"file1"},{"photo_id":"1351864984","filename":"file0"},{"photo_id":"1351865077","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351865153":["hashtag1","hashtag2"]},{"1351865051":["hashtag1","hashtag2"]},{"1351865111":["hashtag1","hashtag2"]},{"1351865077":["hashtag1","hashtag2"]},{"1351864984":["hashtag1","hashtag2"]},{"1351865029":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351865153, 1351865051, 1351865111, 1351865077, 1351864984, 1351865029)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.362337827682495 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 20:09:32.477941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/18/39/image_11042025_18_39_56_9395.jpg', '/home/pi/Desktop/images/11042025/18/40/image_11042025_18_40_17_10401.jpg', '/home/pi/Desktop/images/11042025/18/40/image_11042025_18_40_26_9355.jpg', '/home/pi/Desktop/images/11042025/18/40/image_11042025_18_40_37_10360.jpg', '/home/pi/Desktop/images/11042025/18/41/image_11042025_18_41_16_9453.jpg', '/home/pi/Desktop/images/11042025/18/41/image_11042025_18_41_27_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/18/39/image_11042025_18_39_56_9395.jpg
/home/pi/Desktop/images/11042025/18/40/image_11042025_18_40_17_10401.jpg
/home/pi/Desktop/images/11042025/18/40/image_11042025_18_40_26_9355.jpg
/home/pi/Desktop/images/11042025/18/40/image_11042025_18_40_37_10360.jpg
/home/pi/Desktop/images/11042025/18/41/image_11042025_18_41_16_9453.jpg
/home/pi/Desktop/images/11042025/18/41/image_11042025_18_41_27_10351.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":["1351865907","1351865660","1351865876","1351865783","1351865402","1351865530"],"photo_ids_order":["1351865402","1351865530","1351865660","1351865783","1351865876","1351865907"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b55c5dbd68edf3cf475f699feb9f3bce.jpg","text":"TemporaryFile(/tmp/multipartBody736070537936572879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395032936,"filename":"image_11042025_18_41_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/11/716376a63eb45aac825f347be442991f.jpg","text":"TemporaryFile(/tmp/multipartBody1492884187949173905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395032936,"filename":"image_11042025_18_40_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/11/12ac97c8936d3115a08c9e2358c03306.jpg","text":"TemporaryFile(/tmp/multipartBody3879107359772329821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395032936,"filename":"image_11042025_18_41_16_9453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8bfe2f2cb8cd32e9e64582de4e90f30a.jpg","text":"TemporaryFile(/tmp/multipartBody165705167873322642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395032936,"filename":"image_11042025_18_40_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/11/746f541968f131f0b5462340c455125d.jpg","text":"TemporaryFile(/tmp/multipartBody184759715295899639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395032936,"filename":"image_11042025_18_39_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/11/a56e08397267b635760f377535422d7c.jpg","text":"TemporaryFile(/tmp/multipartBody8937668504777443712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395032936,"filename":"image_11042025_18_40_17_10401.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351865660","file1":"1351865530","file0":"1351865402","file4":"1351865876","file5":"1351865907","file3":"1351865783"},"map_files_photo_id_array":[{"photo_id":"1351865907","filename":"file5"},{"photo_id":"1351865660","filename":"file2"},{"photo_id":"1351865876","filename":"file4"},{"photo_id":"1351865530","filename":"file1"},{"photo_id":"1351865402","filename":"file0"},{"photo_id":"1351865783","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351865907":["hashtag1","hashtag2"]},{"1351865660":["hashtag1","hashtag2"]},{"1351865876":["hashtag1","hashtag2"]},{"1351865783":["hashtag1","hashtag2"]},{"1351865402":["hashtag1","hashtag2"]},{"1351865530":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351865907, 1351865660, 1351865876, 1351865783, 1351865402, 1351865530)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.60816287994385 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 20:10:42.833567
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/18/41/image_11042025_18_41_37_10358.jpg', '/home/pi/Desktop/images/11042025/18/41/image_11042025_18_41_46_9348.jpg', '/home/pi/Desktop/images/11042025/18/41/image_11042025_18_41_57_10379.jpg', '/home/pi/Desktop/images/11042025/18/41/image_11042025_18_42_06_9457.jpg', '/home/pi/Desktop/images/11042025/18/42/image_11042025_18_42_17_10342.jpg', '/home/pi/Desktop/images/11042025/18/42/image_11042025_18_42_27_10495.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/18/41/image_11042025_18_41_37_10358.jpg
/home/pi/Desktop/images/11042025/18/41/image_11042025_18_41_46_9348.jpg
/home/pi/Desktop/images/11042025/18/41/image_11042025_18_41_57_10379.jpg
/home/pi/Desktop/images/11042025/18/41/image_11042025_18_42_06_9457.jpg
/home/pi/Desktop/images/11042025/18/42/image_11042025_18_42_17_10342.jpg
/home/pi/Desktop/images/11042025/18/42/image_11042025_18_42_27_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":["1351866191","1351866869","1351866536","1351866588","1351866345","1351866825"],"photo_ids_order":["1351866191","1351866345","1351866536","1351866588","1351866825","1351866869"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/008262f26e310b9abbcc04a0cee168b0.jpg","text":"TemporaryFile(/tmp/multipartBody4105879039454915181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395103292,"filename":"image_11042025_18_41_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/11/c15f420b4e0bf5b76faecf4406fe182d.jpg","text":"TemporaryFile(/tmp/multipartBody1744512919406630244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395103292,"filename":"image_11042025_18_42_27_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/11/4452c25394dc1dbd6af8bbf56cb3834a.jpg","text":"TemporaryFile(/tmp/multipartBody8985756209399415774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395103292,"filename":"image_11042025_18_41_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/11/090c13a50c3eb1992d30ef8237c2a5a3.jpg","text":"TemporaryFile(/tmp/multipartBody450902715069812676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395103292,"filename":"image_11042025_18_42_06_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/11/9d601ae90907157111fb6a45928eab56.jpg","text":"TemporaryFile(/tmp/multipartBody1605856363785825846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395103292,"filename":"image_11042025_18_41_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/11/f974e4c4c8ac86e66f96e7da11795f22.jpg","text":"TemporaryFile(/tmp/multipartBody9328503334362728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395103292,"filename":"image_11042025_18_42_17_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351866536","file1":"1351866345","file0":"1351866191","file4":"1351866825","file5":"1351866869","file3":"1351866588"},"map_files_photo_id_array":[{"photo_id":"1351866869","filename":"file5"},{"photo_id":"1351866536","filename":"file2"},{"photo_id":"1351866825","filename":"file4"},{"photo_id":"1351866345","filename":"file1"},{"photo_id":"1351866191","filename":"file0"},{"photo_id":"1351866588","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351866191":["hashtag1","hashtag2"]},{"1351866869":["hashtag1","hashtag2"]},{"1351866536":["hashtag1","hashtag2"]},{"1351866588":["hashtag1","hashtag2"]},{"1351866345":["hashtag1","hashtag2"]},{"1351866825":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351866191, 1351866869, 1351866536, 1351866588, 1351866345, 1351866825)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.9534695148468 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 20:11:43.174324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/18/42/image_11042025_18_42_36_9356.jpg', '/home/pi/Desktop/images/11042025/18/42/image_11042025_18_42_47_10370.jpg', '/home/pi/Desktop/images/11042025/18/42/image_11042025_18_42_56_9473.jpg', '/home/pi/Desktop/images/11042025/18/42/image_11042025_18_43_07_10344.jpg', '/home/pi/Desktop/images/11042025/18/43/image_11042025_18_43_17_10472.jpg', '/home/pi/Desktop/images/11042025/18/43/image_11042025_18_43_26_9355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/18/42/image_11042025_18_42_36_9356.jpg
/home/pi/Desktop/images/11042025/18/42/image_11042025_18_42_47_10370.jpg
/home/pi/Desktop/images/11042025/18/42/image_11042025_18_42_56_9473.jpg
/home/pi/Desktop/images/11042025/18/42/image_11042025_18_43_07_10344.jpg
/home/pi/Desktop/images/11042025/18/43/image_11042025_18_43_17_10472.jpg
/home/pi/Desktop/images/11042025/18/43/image_11042025_18_43_26_9355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351867393","1351867456","1351867497","1351867216","1351867144","1351867287"],"photo_ids_order":["1351867144","1351867216","1351867287","1351867393","1351867456","1351867497"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/382b985fc219ff243d75ddb085c7a7f2.jpg","text":"TemporaryFile(/tmp/multipartBody1353494107637789287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395163638,"filename":"image_11042025_18_43_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/11/781efd8f7b855c3abee1cd16b06372c3.jpg","text":"TemporaryFile(/tmp/multipartBody3514049236568654550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395163638,"filename":"image_11042025_18_43_17_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a6c52cc893375b7a5e5d2647f12a0226.jpg","text":"TemporaryFile(/tmp/multipartBody663460272776157204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395163638,"filename":"image_11042025_18_43_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/11/ac146e17d282a129ed7ed3ade3981395.jpg","text":"TemporaryFile(/tmp/multipartBody159758951855641179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395163638,"filename":"image_11042025_18_42_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/11/a321813bfc5a0193fdba71d95cbebfd5.jpg","text":"TemporaryFile(/tmp/multipartBody1547412042174970374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395163638,"filename":"image_11042025_18_42_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/11/930958d3177d1433434dcf524d053bb9.jpg","text":"TemporaryFile(/tmp/multipartBody5979393908040557220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395163638,"filename":"image_11042025_18_42_56_9473.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351867287","file1":"1351867216","file0":"1351867144","file4":"1351867456","file5":"1351867497","file3":"1351867393"},"map_files_photo_id_array":[{"photo_id":"1351867497","filename":"file5"},{"photo_id":"1351867287","filename":"file2"},{"photo_id":"1351867456","filename":"file4"},{"photo_id":"1351867216","filename":"file1"},{"photo_id":"1351867144","filename":"file0"},{"photo_id":"1351867393","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351867393":["hashtag1","hashtag2"]},{"1351867456":["hashtag1","hashtag2"]},{"1351867497":["hashtag1","hashtag2"]},{"1351867216":["hashtag1","hashtag2"]},{"1351867144":["hashtag1","hashtag2"]},{"1351867287":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351867393, 1351867456, 1351867497, 1351867216, 1351867144, 1351867287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.92879343032837 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 20:12:32.295103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/18/43/image_11042025_18_43_37_10367.jpg', '/home/pi/Desktop/images/11042025/18/43/image_11042025_18_43_46_9456.jpg', '/home/pi/Desktop/images/11042025/18/43/image_11042025_18_43_57_10364.jpg', '/home/pi/Desktop/images/11042025/18/43/image_11042025_18_44_07_10412.jpg', '/home/pi/Desktop/images/11042025/18/44/image_11042025_18_44_16_9362.jpg', '/home/pi/Desktop/images/11042025/18/44/image_11042025_18_44_27_10382.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/18/43/image_11042025_18_43_37_10367.jpg
/home/pi/Desktop/images/11042025/18/43/image_11042025_18_43_46_9456.jpg
/home/pi/Desktop/images/11042025/18/43/image_11042025_18_43_57_10364.jpg
/home/pi/Desktop/images/11042025/18/43/image_11042025_18_44_07_10412.jpg
/home/pi/Desktop/images/11042025/18/44/image_11042025_18_44_16_9362.jpg
/home/pi/Desktop/images/11042025/18/44/image_11042025_18_44_27_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":["1351868059","1351868187","1351867750","1351867953","1351867902","1351867824"],"photo_ids_order":["1351867750","1351867824","1351867902","1351867953","1351868059","1351868187"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3b73464668c35fdae13b0f6efe5eb338.jpg","text":"TemporaryFile(/tmp/multipartBody5745775791083944491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395212768,"filename":"image_11042025_18_44_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/11/6cfbdfd9cfd66fa026f316e15aa365c8.jpg","text":"TemporaryFile(/tmp/multipartBody2940908475240294181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395212768,"filename":"image_11042025_18_44_27_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/bd1a829dac9b78136b694bc245e813c0.jpg","text":"TemporaryFile(/tmp/multipartBody436773650448123361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395212768,"filename":"image_11042025_18_43_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/11/44d04f260e9c673648639e7087783b2a.jpg","text":"TemporaryFile(/tmp/multipartBody8766947804873639349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395212768,"filename":"image_11042025_18_44_07_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/daf61301205ab9b07ddd79a4f07761b4.jpg","text":"TemporaryFile(/tmp/multipartBody2368331251541801712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395212768,"filename":"image_11042025_18_43_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/11/c31070b430ae38d6ad8f511066395dd5.jpg","text":"TemporaryFile(/tmp/multipartBody4822203340822046130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395212768,"filename":"image_11042025_18_43_46_9456.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351867902","file1":"1351867824","file0":"1351867750","file4":"1351868059","file5":"1351868187","file3":"1351867953"},"map_files_photo_id_array":[{"photo_id":"1351868187","filename":"file5"},{"photo_id":"1351867902","filename":"file2"},{"photo_id":"1351868059","filename":"file4"},{"photo_id":"1351867824","filename":"file1"},{"photo_id":"1351867750","filename":"file0"},{"photo_id":"1351867953","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351868059":["hashtag1","hashtag2"]},{"1351868187":["hashtag1","hashtag2"]},{"1351867750":["hashtag1","hashtag2"]},{"1351867953":["hashtag1","hashtag2"]},{"1351867902":["hashtag1","hashtag2"]},{"1351867824":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351868059, 1351868187, 1351867750, 1351867953, 1351867902, 1351867824)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.73976159095764 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 20:13:32.577926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/18/44/image_11042025_18_44_36_9469.jpg', '/home/pi/Desktop/images/11042025/18/44/image_11042025_18_44_47_10355.jpg', '/home/pi/Desktop/images/11042025/18/44/image_11042025_18_44_57_10487.jpg', '/home/pi/Desktop/images/11042025/18/44/image_11042025_18_45_06_9346.jpg', '/home/pi/Desktop/images/11042025/18/45/image_11042025_18_45_17_10408.jpg', '/home/pi/Desktop/images/11042025/18/45/image_11042025_18_45_26_9361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/18/44/image_11042025_18_44_36_9469.jpg
/home/pi/Desktop/images/11042025/18/44/image_11042025_18_44_47_10355.jpg
/home/pi/Desktop/images/11042025/18/44/image_11042025_18_44_57_10487.jpg
/home/pi/Desktop/images/11042025/18/44/image_11042025_18_45_06_9346.jpg
/home/pi/Desktop/images/11042025/18/45/image_11042025_18_45_17_10408.jpg
/home/pi/Desktop/images/11042025/18/45/image_11042025_18_45_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":["1351869208","1351868827","1351869438","1351869081","1351869653","1351869575"],"photo_ids_order":["1351868827","1351869081","1351869208","1351869438","1351869575","1351869653"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c4079e5bc522df618256b7a4a98a0a0c.jpg","text":"TemporaryFile(/tmp/multipartBody1956813902128087068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395273195,"filename":"image_11042025_18_44_57_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/11/490994af6eea19ba9be5bc25e373e21f.jpg","text":"TemporaryFile(/tmp/multipartBody2081752588420375235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395273195,"filename":"image_11042025_18_44_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/11/99fc31ddae752efaf92d8d16e05fa3ff.jpg","text":"TemporaryFile(/tmp/multipartBody5781941009819794819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395273195,"filename":"image_11042025_18_45_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/11/aadd981525ad0513afc99c719161d25d.jpg","text":"TemporaryFile(/tmp/multipartBody964278321245044145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395273195,"filename":"image_11042025_18_44_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/11/787cc324f80d5e1dcce7dda69af8d548.jpg","text":"TemporaryFile(/tmp/multipartBody6533698016227342942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395273195,"filename":"image_11042025_18_45_26_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/80b53e39cf4ab2054720d57047893159.jpg","text":"TemporaryFile(/tmp/multipartBody6665714554417789315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395273195,"filename":"image_11042025_18_45_17_10408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351869208","file1":"1351869081","file0":"1351868827","file4":"1351869575","file5":"1351869653","file3":"1351869438"},"map_files_photo_id_array":[{"photo_id":"1351869653","filename":"file5"},{"photo_id":"1351869208","filename":"file2"},{"photo_id":"1351869575","filename":"file4"},{"photo_id":"1351869081","filename":"file1"},{"photo_id":"1351868827","filename":"file0"},{"photo_id":"1351869438","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351869208":["hashtag1","hashtag2"]},{"1351868827":["hashtag1","hashtag2"]},{"1351869438":["hashtag1","hashtag2"]},{"1351869081":["hashtag1","hashtag2"]},{"1351869653":["hashtag1","hashtag2"]},{"1351869575":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351869208, 1351868827, 1351869438, 1351869081, 1351869653, 1351869575)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.159873485565186 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 20:14:33.085778
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/18/45/image_11042025_18_45_37_10350.jpg', '/home/pi/Desktop/images/11042025/18/45/image_11042025_18_45_47_10526.jpg', '/home/pi/Desktop/images/11042025/18/45/image_11042025_18_45_56_9411.jpg', '/home/pi/Desktop/images/11042025/18/45/image_11042025_18_46_07_10355.jpg', '/home/pi/Desktop/images/11042025/18/46/image_11042025_18_46_16_9435.jpg', '/home/pi/Desktop/images/11042025/18/46/image_11042025_18_46_27_10393.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/18/45/image_11042025_18_45_37_10350.jpg
/home/pi/Desktop/images/11042025/18/45/image_11042025_18_45_47_10526.jpg
/home/pi/Desktop/images/11042025/18/45/image_11042025_18_45_56_9411.jpg
/home/pi/Desktop/images/11042025/18/45/image_11042025_18_46_07_10355.jpg
/home/pi/Desktop/images/11042025/18/46/image_11042025_18_46_16_9435.jpg
/home/pi/Desktop/images/11042025/18/46/image_11042025_18_46_27_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":["1351870351","1351870488","1351870428","1351870550","1351870594","1351870297"],"photo_ids_order":["1351870297","1351870351","1351870428","1351870488","1351870550","1351870594"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/83d6834424214819f65f6934da58a341.jpg","text":"TemporaryFile(/tmp/multipartBody1669532716701981865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395333560,"filename":"image_11042025_18_45_47_10526.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b52c870ff5164f42baa94bba7630ad74.jpg","text":"TemporaryFile(/tmp/multipartBody7832379320789161653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395333560,"filename":"image_11042025_18_46_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/11/1ed703d3f81878cabcecb549738199c5.jpg","text":"TemporaryFile(/tmp/multipartBody5295952237104171307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395333560,"filename":"image_11042025_18_45_56_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9476870b4a54b3cc442f09e70868c47c.jpg","text":"TemporaryFile(/tmp/multipartBody1015199692407277970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395333560,"filename":"image_11042025_18_46_16_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/925d63438ab2bed69f046895e8e14708.jpg","text":"TemporaryFile(/tmp/multipartBody6727078139649027254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395333560,"filename":"image_11042025_18_46_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/11/e802fc5114426459e8e5675f8e706cb6.jpg","text":"TemporaryFile(/tmp/multipartBody222086920086731219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395333560,"filename":"image_11042025_18_45_37_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351870428","file1":"1351870351","file0":"1351870297","file4":"1351870550","file5":"1351870594","file3":"1351870488"},"map_files_photo_id_array":[{"photo_id":"1351870594","filename":"file5"},{"photo_id":"1351870428","filename":"file2"},{"photo_id":"1351870550","filename":"file4"},{"photo_id":"1351870351","filename":"file1"},{"photo_id":"1351870297","filename":"file0"},{"photo_id":"1351870488","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351870351":["hashtag1","hashtag2"]},{"1351870488":["hashtag1","hashtag2"]},{"1351870428":["hashtag1","hashtag2"]},{"1351870550":["hashtag1","hashtag2"]},{"1351870594":["hashtag1","hashtag2"]},{"1351870297":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351870351, 1351870488, 1351870428, 1351870550, 1351870594, 1351870297)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.25629949569702 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 20:15:33.161411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/18/46/image_11042025_18_46_37_10365.jpg', '/home/pi/Desktop/images/11042025/18/46/image_11042025_18_46_46_9360.jpg', '/home/pi/Desktop/images/11042025/18/46/image_11042025_18_46_57_10503.jpg', '/home/pi/Desktop/images/11042025/18/46/image_11042025_18_47_06_9402.jpg', '/home/pi/Desktop/images/11042025/18/47/image_11042025_18_47_17_10365.jpg', '/home/pi/Desktop/images/11042025/18/47/image_11042025_18_47_27_10465.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/18/46/image_11042025_18_46_37_10365.jpg
/home/pi/Desktop/images/11042025/18/46/image_11042025_18_46_46_9360.jpg
/home/pi/Desktop/images/11042025/18/46/image_11042025_18_46_57_10503.jpg
/home/pi/Desktop/images/11042025/18/46/image_11042025_18_47_06_9402.jpg
/home/pi/Desktop/images/11042025/18/47/image_11042025_18_47_17_10365.jpg
/home/pi/Desktop/images/11042025/18/47/image_11042025_18_47_27_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":["1351870861","1351870837","1351870819","1351870782","1351870851","1351870742"],"photo_ids_order":["1351870742","1351870782","1351870819","1351870837","1351870851","1351870861"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d90f1291232470180bda3bf681ca239b.jpg","text":"TemporaryFile(/tmp/multipartBody3463427794944295007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395393638,"filename":"image_11042025_18_47_27_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/451423946311cd3892c6cc2fb17a1548.jpg","text":"TemporaryFile(/tmp/multipartBody6502537057249839350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395393638,"filename":"image_11042025_18_47_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/11/a15f9df97fc5009431e0c3692c946b69.jpg","text":"TemporaryFile(/tmp/multipartBody8367389298589443924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395393638,"filename":"image_11042025_18_46_57_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/11/18cc492446a7b3401cdbd99ea8f98255.jpg","text":"TemporaryFile(/tmp/multipartBody5179480045009121870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395393638,"filename":"image_11042025_18_46_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/11/ca0c4345b7b97d3051b5e8b7843fb7d6.jpg","text":"TemporaryFile(/tmp/multipartBody8966189058493040088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395393638,"filename":"image_11042025_18_47_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/11/2db19688322ac45ee19ed5a8a4950660.jpg","text":"TemporaryFile(/tmp/multipartBody7786511710203086707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395393638,"filename":"image_11042025_18_46_37_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351870819","file1":"1351870782","file0":"1351870742","file4":"1351870851","file5":"1351870861","file3":"1351870837"},"map_files_photo_id_array":[{"photo_id":"1351870861","filename":"file5"},{"photo_id":"1351870819","filename":"file2"},{"photo_id":"1351870851","filename":"file4"},{"photo_id":"1351870782","filename":"file1"},{"photo_id":"1351870742","filename":"file0"},{"photo_id":"1351870837","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351870861":["hashtag1","hashtag2"]},{"1351870837":["hashtag1","hashtag2"]},{"1351870819":["hashtag1","hashtag2"]},{"1351870782":["hashtag1","hashtag2"]},{"1351870851":["hashtag1","hashtag2"]},{"1351870742":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351870861, 1351870837, 1351870819, 1351870782, 1351870851, 1351870742)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.983603954315186 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 20:16:32.312061
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/18/47/image_11042025_18_47_37_9358.jpg', '/home/pi/Desktop/images/11042025/18/47/image_11042025_18_47_47_10390.jpg', '/home/pi/Desktop/images/11042025/18/47/image_11042025_18_47_56_9468.jpg', '/home/pi/Desktop/images/11042025/18/47/image_11042025_18_48_07_10356.jpg', '/home/pi/Desktop/images/11042025/18/48/image_11042025_18_48_17_10363.jpg', '/home/pi/Desktop/images/11042025/18/48/image_11042025_18_48_26_9358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/18/47/image_11042025_18_47_37_9358.jpg
/home/pi/Desktop/images/11042025/18/47/image_11042025_18_47_47_10390.jpg
/home/pi/Desktop/images/11042025/18/47/image_11042025_18_47_56_9468.jpg
/home/pi/Desktop/images/11042025/18/47/image_11042025_18_48_07_10356.jpg
/home/pi/Desktop/images/11042025/18/48/image_11042025_18_48_17_10363.jpg
/home/pi/Desktop/images/11042025/18/48/image_11042025_18_48_26_9358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351870957","1351871262","1351871184","1351871066","1351871315","1351870976"],"photo_ids_order":["1351870957","1351870976","1351871066","1351871184","1351871262","1351871315"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8d9d2f8cde565ab4035dd3760ddba858.jpg","text":"TemporaryFile(/tmp/multipartBody5185923431577041168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395452844,"filename":"image_11042025_18_47_37_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/11/9d72cddcaca4db12e288d6cb6559cb13.jpg","text":"TemporaryFile(/tmp/multipartBody6887341578950474876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395452844,"filename":"image_11042025_18_48_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/11/79b5339751ecc72116c3a3934377e2b1.jpg","text":"TemporaryFile(/tmp/multipartBody2017104989722407900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395452844,"filename":"image_11042025_18_48_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/11/7390fc37a7adbc54751955105ba407a3.jpg","text":"TemporaryFile(/tmp/multipartBody6282197669859645463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395452844,"filename":"image_11042025_18_47_56_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/11/aaa5e6038ad0ae09646013e9dcb7bd09.jpg","text":"TemporaryFile(/tmp/multipartBody6421859233585147935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395452844,"filename":"image_11042025_18_48_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/11/b6e2d38b5ad0dd0b9a003ccb3dda3272.jpg","text":"TemporaryFile(/tmp/multipartBody4108784881438692689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395452844,"filename":"image_11042025_18_47_47_10390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351871066","file1":"1351870976","file0":"1351870957","file4":"1351871262","file5":"1351871315","file3":"1351871184"},"map_files_photo_id_array":[{"photo_id":"1351871315","filename":"file5"},{"photo_id":"1351871066","filename":"file2"},{"photo_id":"1351871262","filename":"file4"},{"photo_id":"1351870976","filename":"file1"},{"photo_id":"1351870957","filename":"file0"},{"photo_id":"1351871184","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351870957":["hashtag1","hashtag2"]},{"1351871262":["hashtag1","hashtag2"]},{"1351871184":["hashtag1","hashtag2"]},{"1351871066":["hashtag1","hashtag2"]},{"1351871315":["hashtag1","hashtag2"]},{"1351870976":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351870957, 1351871262, 1351871184, 1351871066, 1351871315, 1351870976)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.68353819847107 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 20:17:32.530426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/18/48/image_11042025_18_48_37_10373.jpg', '/home/pi/Desktop/images/11042025/18/48/image_11042025_18_48_46_9461.jpg', '/home/pi/Desktop/images/11042025/18/48/image_11042025_18_48_57_10386.jpg', '/home/pi/Desktop/images/11042025/18/48/image_11042025_18_49_07_10386.jpg', '/home/pi/Desktop/images/11042025/18/49/image_11042025_18_49_16_9372.jpg', '/home/pi/Desktop/images/11042025/18/49/image_11042025_18_49_27_10380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/18/48/image_11042025_18_48_37_10373.jpg
/home/pi/Desktop/images/11042025/18/48/image_11042025_18_48_46_9461.jpg
/home/pi/Desktop/images/11042025/18/48/image_11042025_18_48_57_10386.jpg
/home/pi/Desktop/images/11042025/18/48/image_11042025_18_49_07_10386.jpg
/home/pi/Desktop/images/11042025/18/49/image_11042025_18_49_16_9372.jpg
/home/pi/Desktop/images/11042025/18/49/image_11042025_18_49_27_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":["1351872390","1351872414","1351872566","1351872472","1351872247","1351872316"],"photo_ids_order":["1351872247","1351872316","1351872390","1351872414","1351872472","1351872566"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0e3ceca61dca81619f113b68b9f154d6.jpg","text":"TemporaryFile(/tmp/multipartBody5583559422699362405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395512991,"filename":"image_11042025_18_48_57_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f37507a9afa04130d144fbd42724377e.jpg","text":"TemporaryFile(/tmp/multipartBody675136098397203765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395512991,"filename":"image_11042025_18_49_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/11/840f9830b88dd9d9a05767f9f6c82344.jpg","text":"TemporaryFile(/tmp/multipartBody9174804091748506214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395512991,"filename":"image_11042025_18_49_27_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3a958fb4a0e8d673f35292edc40752e5.jpg","text":"TemporaryFile(/tmp/multipartBody805285626905819030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395512991,"filename":"image_11042025_18_49_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/11/83b73d50b262a890adf408000c8a4692.jpg","text":"TemporaryFile(/tmp/multipartBody4203875045830361063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395512991,"filename":"image_11042025_18_48_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/11/24c10c434a8f662952f456430f3a3310.jpg","text":"TemporaryFile(/tmp/multipartBody5915076863779594733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395512991,"filename":"image_11042025_18_48_46_9461.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351872390","file1":"1351872316","file0":"1351872247","file4":"1351872472","file5":"1351872566","file3":"1351872414"},"map_files_photo_id_array":[{"photo_id":"1351872566","filename":"file5"},{"photo_id":"1351872390","filename":"file2"},{"photo_id":"1351872472","filename":"file4"},{"photo_id":"1351872316","filename":"file1"},{"photo_id":"1351872247","filename":"file0"},{"photo_id":"1351872414","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351872390":["hashtag1","hashtag2"]},{"1351872414":["hashtag1","hashtag2"]},{"1351872566":["hashtag1","hashtag2"]},{"1351872472":["hashtag1","hashtag2"]},{"1351872247":["hashtag1","hashtag2"]},{"1351872316":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351872390, 1351872414, 1351872566, 1351872472, 1351872247, 1351872316)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.31423044204712 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 20:18:32.699327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/18/49/image_11042025_18_49_36_9479.jpg', '/home/pi/Desktop/images/11042025/18/49/image_11042025_18_49_47_10351.jpg', '/home/pi/Desktop/images/11042025/18/49/image_11042025_18_49_57_10486.jpg', '/home/pi/Desktop/images/11042025/18/49/image_11042025_18_50_06_9343.jpg', '/home/pi/Desktop/images/11042025/18/50/image_11042025_18_50_17_10351.jpg', '/home/pi/Desktop/images/11042025/18/50/image_11042025_18_50_27_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/18/49/image_11042025_18_49_36_9479.jpg
/home/pi/Desktop/images/11042025/18/49/image_11042025_18_49_47_10351.jpg
/home/pi/Desktop/images/11042025/18/49/image_11042025_18_49_57_10486.jpg
/home/pi/Desktop/images/11042025/18/49/image_11042025_18_50_06_9343.jpg
/home/pi/Desktop/images/11042025/18/50/image_11042025_18_50_17_10351.jpg
/home/pi/Desktop/images/11042025/18/50/image_11042025_18_50_27_10365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351872843","1351872944","1351872914","1351872967","1351872889","1351872868"],"photo_ids_order":["1351872843","1351872868","1351872889","1351872914","1351872944","1351872967"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f2aa4174813a272a9f7d0e9749b4c1ef.jpg","text":"TemporaryFile(/tmp/multipartBody87791143384483281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395573162,"filename":"image_11042025_18_49_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/11/aacea566f56d7aa46a3c178f0bedbf25.jpg","text":"TemporaryFile(/tmp/multipartBody6449157217605493810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395573162,"filename":"image_11042025_18_50_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/11/a766b991b2cba1240b434621c63d9203.jpg","text":"TemporaryFile(/tmp/multipartBody3411453419153667515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395573162,"filename":"image_11042025_18_50_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/11/e230bdc5ed2ac4946b1d42ff42069357.jpg","text":"TemporaryFile(/tmp/multipartBody4933633020422064007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395573162,"filename":"image_11042025_18_50_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/11/2457cd1c3c944bbf27bc26756e27d1b9.jpg","text":"TemporaryFile(/tmp/multipartBody2598265629480906945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395573162,"filename":"image_11042025_18_49_57_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/11/152cad2810e6852b3bd75648971f3cf5.jpg","text":"TemporaryFile(/tmp/multipartBody6141980110442595657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395573162,"filename":"image_11042025_18_49_47_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351872889","file1":"1351872868","file0":"1351872843","file4":"1351872944","file5":"1351872967","file3":"1351872914"},"map_files_photo_id_array":[{"photo_id":"1351872967","filename":"file5"},{"photo_id":"1351872889","filename":"file2"},{"photo_id":"1351872944","filename":"file4"},{"photo_id":"1351872868","filename":"file1"},{"photo_id":"1351872843","filename":"file0"},{"photo_id":"1351872914","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351872843":["hashtag1","hashtag2"]},{"1351872944":["hashtag1","hashtag2"]},{"1351872914":["hashtag1","hashtag2"]},{"1351872967":["hashtag1","hashtag2"]},{"1351872889":["hashtag1","hashtag2"]},{"1351872868":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351872843, 1351872944, 1351872914, 1351872967, 1351872889, 1351872868)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.784504413604736 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 20:19:32.975719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/18/50/image_11042025_18_50_37_9347.jpg', '/home/pi/Desktop/images/11042025/18/50/image_11042025_18_50_47_10357.jpg', '/home/pi/Desktop/images/11042025/18/50/image_11042025_18_50_56_9367.jpg', '/home/pi/Desktop/images/11042025/18/50/image_11042025_18_51_07_10363.jpg', '/home/pi/Desktop/images/11042025/18/51/image_11042025_18_51_17_10431.jpg', '/home/pi/Desktop/images/11042025/18/51/image_11042025_18_51_26_9367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/18/50/image_11042025_18_50_37_9347.jpg
/home/pi/Desktop/images/11042025/18/50/image_11042025_18_50_47_10357.jpg
/home/pi/Desktop/images/11042025/18/50/image_11042025_18_50_56_9367.jpg
/home/pi/Desktop/images/11042025/18/50/image_11042025_18_51_07_10363.jpg
/home/pi/Desktop/images/11042025/18/51/image_11042025_18_51_17_10431.jpg
/home/pi/Desktop/images/11042025/18/51/image_11042025_18_51_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":["1351873326","1351873580","1351873529","1351873231","1351873467","1351873416"],"photo_ids_order":["1351873231","1351873326","1351873416","1351873467","1351873529","1351873580"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/bd9bb68e1f536bd0faeb5ce30f55e5f0.jpg","text":"TemporaryFile(/tmp/multipartBody4276775927447149693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395633450,"filename":"image_11042025_18_50_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/11/0439512ffe939b765d0be55249a98daa.jpg","text":"TemporaryFile(/tmp/multipartBody6314786473393765652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395633450,"filename":"image_11042025_18_51_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/11/12ce08ed36ae5427604b055d5f1f17d1.jpg","text":"TemporaryFile(/tmp/multipartBody3472744027342294383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395633450,"filename":"image_11042025_18_51_17_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3234fe71415a7c9d0c5264d91164c01a.jpg","text":"TemporaryFile(/tmp/multipartBody179971545665817215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395633450,"filename":"image_11042025_18_50_37_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e32db06340a58db95d4f605a22f51842.jpg","text":"TemporaryFile(/tmp/multipartBody304355528238717700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395633450,"filename":"image_11042025_18_51_07_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/39f8559ee2776cd33aad7951e9fc4d73.jpg","text":"TemporaryFile(/tmp/multipartBody3837355950300972928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395633450,"filename":"image_11042025_18_50_56_9367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351873416","file1":"1351873326","file0":"1351873231","file4":"1351873529","file5":"1351873580","file3":"1351873467"},"map_files_photo_id_array":[{"photo_id":"1351873580","filename":"file5"},{"photo_id":"1351873416","filename":"file2"},{"photo_id":"1351873529","filename":"file4"},{"photo_id":"1351873326","filename":"file1"},{"photo_id":"1351873231","filename":"file0"},{"photo_id":"1351873467","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351873326":["hashtag1","hashtag2"]},{"1351873580":["hashtag1","hashtag2"]},{"1351873529":["hashtag1","hashtag2"]},{"1351873231":["hashtag1","hashtag2"]},{"1351873467":["hashtag1","hashtag2"]},{"1351873416":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351873326, 1351873580, 1351873529, 1351873231, 1351873467, 1351873416)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.56351613998413 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 20:20:32.221704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/18/51/image_11042025_18_51_37_10360.jpg', '/home/pi/Desktop/images/11042025/18/51/image_11042025_18_51_46_9463.jpg', '/home/pi/Desktop/images/11042025/18/51/image_11042025_18_51_57_10377.jpg', '/home/pi/Desktop/images/11042025/18/51/image_11042025_18_52_07_10493.jpg', '/home/pi/Desktop/images/11042025/18/52/image_11042025_18_52_17_9425.jpg', '/home/pi/Desktop/images/11042025/18/52/image_11042025_18_52_27_10486.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/18/51/image_11042025_18_51_37_10360.jpg
/home/pi/Desktop/images/11042025/18/51/image_11042025_18_51_46_9463.jpg
/home/pi/Desktop/images/11042025/18/51/image_11042025_18_51_57_10377.jpg
/home/pi/Desktop/images/11042025/18/51/image_11042025_18_52_07_10493.jpg
/home/pi/Desktop/images/11042025/18/52/image_11042025_18_52_17_9425.jpg
/home/pi/Desktop/images/11042025/18/52/image_11042025_18_52_27_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":["1351874180","1351873978","1351873840","1351874061","1351873899","1351874013"],"photo_ids_order":["1351873840","1351873899","1351873978","1351874013","1351874061","1351874180"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/60c8290cc0727e10c5af8bd7d39cc030.jpg","text":"TemporaryFile(/tmp/multipartBody4411571004965580740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395692687,"filename":"image_11042025_18_52_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/11/915321bd6d7c14aa9392a050db0f85eb.jpg","text":"TemporaryFile(/tmp/multipartBody1201365632391068228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395692687,"filename":"image_11042025_18_51_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/11/d8bcf004072db7a962a2306890fd3f1c.jpg","text":"TemporaryFile(/tmp/multipartBody8351932597103201437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395692687,"filename":"image_11042025_18_51_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/11/2588d05fac132362e9e174946fe72a93.jpg","text":"TemporaryFile(/tmp/multipartBody2268729276914309429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395692687,"filename":"image_11042025_18_52_17_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e84cc61c49830b202dc7bb96a9cf5b48.jpg","text":"TemporaryFile(/tmp/multipartBody6519583180241921701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395692687,"filename":"image_11042025_18_51_46_9463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/91335a867a4994b72a3cbf814a2ac3c0.jpg","text":"TemporaryFile(/tmp/multipartBody7404910606067793282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395692687,"filename":"image_11042025_18_52_07_10493.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351873978","file1":"1351873899","file0":"1351873840","file4":"1351874061","file5":"1351874180","file3":"1351874013"},"map_files_photo_id_array":[{"photo_id":"1351874180","filename":"file5"},{"photo_id":"1351873978","filename":"file2"},{"photo_id":"1351874061","filename":"file4"},{"photo_id":"1351873899","filename":"file1"},{"photo_id":"1351873840","filename":"file0"},{"photo_id":"1351874013","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351874180":["hashtag1","hashtag2"]},{"1351873978":["hashtag1","hashtag2"]},{"1351873840":["hashtag1","hashtag2"]},{"1351874061":["hashtag1","hashtag2"]},{"1351873899":["hashtag1","hashtag2"]},{"1351874013":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351874180, 1351873978, 1351873840, 1351874061, 1351873899, 1351874013)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.90685558319092 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 20:21:32.372345
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/18/52/image_11042025_18_52_36_9376.jpg', '/home/pi/Desktop/images/11042025/18/52/image_11042025_18_52_47_10416.jpg', '/home/pi/Desktop/images/11042025/18/52/image_11042025_18_52_56_9459.jpg', '/home/pi/Desktop/images/11042025/18/52/image_11042025_18_53_07_10333.jpg', '/home/pi/Desktop/images/11042025/18/53/image_11042025_18_53_17_10431.jpg', '/home/pi/Desktop/images/11042025/18/53/image_11042025_18_53_26_9370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/18/52/image_11042025_18_52_36_9376.jpg
/home/pi/Desktop/images/11042025/18/52/image_11042025_18_52_47_10416.jpg
/home/pi/Desktop/images/11042025/18/52/image_11042025_18_52_56_9459.jpg
/home/pi/Desktop/images/11042025/18/52/image_11042025_18_53_07_10333.jpg
/home/pi/Desktop/images/11042025/18/53/image_11042025_18_53_17_10431.jpg
/home/pi/Desktop/images/11042025/18/53/image_11042025_18_53_26_9370.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.38590240478515625 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 20:21:42.408386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/18/52/image_11042025_18_52_36_9376.jpg', '/home/pi/Desktop/images/11042025/18/52/image_11042025_18_52_47_10416.jpg', '/home/pi/Desktop/images/11042025/18/52/image_11042025_18_52_56_9459.jpg', '/home/pi/Desktop/images/11042025/18/52/image_11042025_18_53_07_10333.jpg', '/home/pi/Desktop/images/11042025/18/53/image_11042025_18_53_17_10431.jpg', '/home/pi/Desktop/images/11042025/18/53/image_11042025_18_53_26_9370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/18/52/image_11042025_18_52_36_9376.jpg
/home/pi/Desktop/images/11042025/18/52/image_11042025_18_52_47_10416.jpg
/home/pi/Desktop/images/11042025/18/52/image_11042025_18_52_56_9459.jpg
/home/pi/Desktop/images/11042025/18/52/image_11042025_18_53_07_10333.jpg
/home/pi/Desktop/images/11042025/18/53/image_11042025_18_53_17_10431.jpg
/home/pi/Desktop/images/11042025/18/53/image_11042025_18_53_26_9370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351874483","1351874533","1351874455","1351874614","1351874585","1351874567"],"photo_ids_order":["1351874455","1351874483","1351874533","1351874567","1351874585","1351874614"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a135685837d07cab5e79396194553e4b.jpg","text":"TemporaryFile(/tmp/multipartBody1956501383286873078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395762879,"filename":"image_11042025_18_52_47_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d834d90c02fa2868c40d3ff6c13dd134.jpg","text":"TemporaryFile(/tmp/multipartBody5387098920826902098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395762879,"filename":"image_11042025_18_52_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/11/6ff9964a73c0eb27e4fd0c29b75627f8.jpg","text":"TemporaryFile(/tmp/multipartBody7066874796966994097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395762879,"filename":"image_11042025_18_52_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/11/566764e4c2d1dd75a496e4b8b61850ab.jpg","text":"TemporaryFile(/tmp/multipartBody555428704995977291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395762879,"filename":"image_11042025_18_53_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/11/271551d0f9035aef1ca3491a3bc50f79.jpg","text":"TemporaryFile(/tmp/multipartBody7463458770050169908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395762879,"filename":"image_11042025_18_53_17_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e84ef68e9b0244753b39b2577034ae94.jpg","text":"TemporaryFile(/tmp/multipartBody2181993412861542582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395762879,"filename":"image_11042025_18_53_07_10333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351874533","file1":"1351874483","file0":"1351874455","file4":"1351874585","file5":"1351874614","file3":"1351874567"},"map_files_photo_id_array":[{"photo_id":"1351874614","filename":"file5"},{"photo_id":"1351874533","filename":"file2"},{"photo_id":"1351874585","filename":"file4"},{"photo_id":"1351874483","filename":"file1"},{"photo_id":"1351874455","filename":"file0"},{"photo_id":"1351874567","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351874483":["hashtag1","hashtag2"]},{"1351874533":["hashtag1","hashtag2"]},{"1351874455":["hashtag1","hashtag2"]},{"1351874614":["hashtag1","hashtag2"]},{"1351874585":["hashtag1","hashtag2"]},{"1351874567":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351874483, 1351874533, 1351874455, 1351874614, 1351874585, 1351874567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.614251375198364 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 20:22:32.737033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/18/53/image_11042025_18_53_37_10370.jpg', '/home/pi/Desktop/images/11042025/18/53/image_11042025_18_53_46_9424.jpg', '/home/pi/Desktop/images/11042025/18/53/image_11042025_18_53_57_10359.jpg', '/home/pi/Desktop/images/11042025/18/53/image_11042025_18_54_07_10486.jpg', '/home/pi/Desktop/images/11042025/18/54/image_11042025_18_54_16_9344.jpg', '/home/pi/Desktop/images/11042025/18/54/image_11042025_18_54_27_10376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/18/53/image_11042025_18_53_37_10370.jpg
/home/pi/Desktop/images/11042025/18/53/image_11042025_18_53_46_9424.jpg
/home/pi/Desktop/images/11042025/18/53/image_11042025_18_53_57_10359.jpg
/home/pi/Desktop/images/11042025/18/53/image_11042025_18_54_07_10486.jpg
/home/pi/Desktop/images/11042025/18/54/image_11042025_18_54_16_9344.jpg
/home/pi/Desktop/images/11042025/18/54/image_11042025_18_54_27_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.383228063583374 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 20:22:42.658230
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/18/53/image_11042025_18_53_37_10370.jpg', '/home/pi/Desktop/images/11042025/18/53/image_11042025_18_53_46_9424.jpg', '/home/pi/Desktop/images/11042025/18/53/image_11042025_18_53_57_10359.jpg', '/home/pi/Desktop/images/11042025/18/53/image_11042025_18_54_07_10486.jpg', '/home/pi/Desktop/images/11042025/18/54/image_11042025_18_54_16_9344.jpg', '/home/pi/Desktop/images/11042025/18/54/image_11042025_18_54_27_10376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/18/53/image_11042025_18_53_37_10370.jpg
/home/pi/Desktop/images/11042025/18/53/image_11042025_18_53_46_9424.jpg
/home/pi/Desktop/images/11042025/18/53/image_11042025_18_53_57_10359.jpg
/home/pi/Desktop/images/11042025/18/53/image_11042025_18_54_07_10486.jpg
/home/pi/Desktop/images/11042025/18/54/image_11042025_18_54_16_9344.jpg
/home/pi/Desktop/images/11042025/18/54/image_11042025_18_54_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":["1351875058","1351874767","1351874809","1351874886","1351874937","1351874984"],"photo_ids_order":["1351874767","1351874809","1351874886","1351874937","1351874984","1351875058"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8524238fdfedce7645ef7de911fa9b7b.jpg","text":"TemporaryFile(/tmp/multipartBody487543209641529509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395823131,"filename":"image_11042025_18_54_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/11/d2032416c26a4a2f7ed6d9a1b2d2a540.jpg","text":"TemporaryFile(/tmp/multipartBody5009072407078469352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395823131,"filename":"image_11042025_18_53_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/11/8516e2d6f4031f8dd5b5df7b728b388f.jpg","text":"TemporaryFile(/tmp/multipartBody6195429018247843885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395823131,"filename":"image_11042025_18_53_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/11/f1e50cad4bc3402cefc07242b775341c.jpg","text":"TemporaryFile(/tmp/multipartBody3019319345273892021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395823131,"filename":"image_11042025_18_53_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/11/57e0f5f28ef335a31996fa7e66dc95c4.jpg","text":"TemporaryFile(/tmp/multipartBody2320088446444804490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395823131,"filename":"image_11042025_18_54_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/11/0629f83bb0e2a1b7e68f6a53064ecdea.jpg","text":"TemporaryFile(/tmp/multipartBody2647609804708714361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395823131,"filename":"image_11042025_18_54_16_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351874886","file1":"1351874809","file0":"1351874767","file4":"1351874984","file5":"1351875058","file3":"1351874937"},"map_files_photo_id_array":[{"photo_id":"1351875058","filename":"file5"},{"photo_id":"1351874886","filename":"file2"},{"photo_id":"1351874984","filename":"file4"},{"photo_id":"1351874809","filename":"file1"},{"photo_id":"1351874767","filename":"file0"},{"photo_id":"1351874937","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351875058":["hashtag1","hashtag2"]},{"1351874767":["hashtag1","hashtag2"]},{"1351874809":["hashtag1","hashtag2"]},{"1351874886":["hashtag1","hashtag2"]},{"1351874937":["hashtag1","hashtag2"]},{"1351874984":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351875058, 1351874767, 1351874809, 1351874886, 1351874937, 1351874984)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.26373767852783 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 20:23:42.899064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/18/54/image_11042025_18_54_37_10369.jpg', '/home/pi/Desktop/images/11042025/18/54/image_11042025_18_54_46_9357.jpg', '/home/pi/Desktop/images/11042025/18/54/image_11042025_18_54_57_10366.jpg', '/home/pi/Desktop/images/11042025/18/54/image_11042025_18_55_06_9454.jpg', '/home/pi/Desktop/images/11042025/18/55/image_11042025_18_55_17_10398.jpg', '/home/pi/Desktop/images/11042025/18/55/image_11042025_18_55_27_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/18/54/image_11042025_18_54_37_10369.jpg
/home/pi/Desktop/images/11042025/18/54/image_11042025_18_54_46_9357.jpg
/home/pi/Desktop/images/11042025/18/54/image_11042025_18_54_57_10366.jpg
/home/pi/Desktop/images/11042025/18/54/image_11042025_18_55_06_9454.jpg
/home/pi/Desktop/images/11042025/18/55/image_11042025_18_55_17_10398.jpg
/home/pi/Desktop/images/11042025/18/55/image_11042025_18_55_27_10362.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3794434070587158 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 20:23:52.906152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/18/54/image_11042025_18_54_37_10369.jpg', '/home/pi/Desktop/images/11042025/18/54/image_11042025_18_54_46_9357.jpg', '/home/pi/Desktop/images/11042025/18/54/image_11042025_18_54_57_10366.jpg', '/home/pi/Desktop/images/11042025/18/54/image_11042025_18_55_06_9454.jpg', '/home/pi/Desktop/images/11042025/18/55/image_11042025_18_55_17_10398.jpg', '/home/pi/Desktop/images/11042025/18/55/image_11042025_18_55_27_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/18/54/image_11042025_18_54_37_10369.jpg
/home/pi/Desktop/images/11042025/18/54/image_11042025_18_54_46_9357.jpg
/home/pi/Desktop/images/11042025/18/54/image_11042025_18_54_57_10366.jpg
/home/pi/Desktop/images/11042025/18/54/image_11042025_18_55_06_9454.jpg
/home/pi/Desktop/images/11042025/18/55/image_11042025_18_55_17_10398.jpg
/home/pi/Desktop/images/11042025/18/55/image_11042025_18_55_27_10362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351875283","1351875351","1351875267","1351875414","1351875309","1351875395"],"photo_ids_order":["1351875267","1351875283","1351875309","1351875351","1351875395","1351875414"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/47789481ca447a245860cebe8335a924.jpg","text":"TemporaryFile(/tmp/multipartBody3469858735642146107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395893372,"filename":"image_11042025_18_54_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/11/acd9b3d9010722ee1f6ff3bd1dfa096e.jpg","text":"TemporaryFile(/tmp/multipartBody812891807589596356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395893372,"filename":"image_11042025_18_55_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/11/cf1ffe996c60d350f5d5f2012ea1db14.jpg","text":"TemporaryFile(/tmp/multipartBody8316060976521234486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395893372,"filename":"image_11042025_18_54_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/11/41ffffe46572a09345835da0cd809e30.jpg","text":"TemporaryFile(/tmp/multipartBody8613959125791308817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395893372,"filename":"image_11042025_18_55_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/11/6d49589867bce91c6bff3c9ebebfd930.jpg","text":"TemporaryFile(/tmp/multipartBody8077789793902198247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395893372,"filename":"image_11042025_18_54_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/11/1d9016a5d8737a3e70dfc784a18b9eb5.jpg","text":"TemporaryFile(/tmp/multipartBody4061615373646355291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395893372,"filename":"image_11042025_18_55_17_10398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351875309","file1":"1351875283","file0":"1351875267","file4":"1351875395","file5":"1351875414","file3":"1351875351"},"map_files_photo_id_array":[{"photo_id":"1351875414","filename":"file5"},{"photo_id":"1351875309","filename":"file2"},{"photo_id":"1351875395","filename":"file4"},{"photo_id":"1351875283","filename":"file1"},{"photo_id":"1351875267","filename":"file0"},{"photo_id":"1351875351","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351875283":["hashtag1","hashtag2"]},{"1351875351":["hashtag1","hashtag2"]},{"1351875267":["hashtag1","hashtag2"]},{"1351875414":["hashtag1","hashtag2"]},{"1351875309":["hashtag1","hashtag2"]},{"1351875395":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351875283, 1351875351, 1351875267, 1351875414, 1351875309, 1351875395)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.30977416038513 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 20:24:43.082696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/18/55/image_11042025_18_55_36_9381.jpg', '/home/pi/Desktop/images/11042025/18/55/image_11042025_18_55_47_10358.jpg', '/home/pi/Desktop/images/11042025/18/55/image_11042025_18_55_57_10367.jpg', '/home/pi/Desktop/images/11042025/18/55/image_11042025_18_56_07_9370.jpg', '/home/pi/Desktop/images/11042025/18/56/image_11042025_18_56_17_10349.jpg', '/home/pi/Desktop/images/11042025/18/56/image_11042025_18_56_26_9391.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/18/55/image_11042025_18_55_36_9381.jpg
/home/pi/Desktop/images/11042025/18/55/image_11042025_18_55_47_10358.jpg
/home/pi/Desktop/images/11042025/18/55/image_11042025_18_55_57_10367.jpg
/home/pi/Desktop/images/11042025/18/55/image_11042025_18_56_07_9370.jpg
/home/pi/Desktop/images/11042025/18/56/image_11042025_18_56_17_10349.jpg
/home/pi/Desktop/images/11042025/18/56/image_11042025_18_56_26_9391.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351875556","1351875460","1351875517","1351875594","1351875489","1351875474"],"photo_ids_order":["1351875460","1351875474","1351875489","1351875517","1351875556","1351875594"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f4a74fc1c917b2f049bbdfc1fa419836.jpg","text":"TemporaryFile(/tmp/multipartBody7849670367869147339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395943642,"filename":"image_11042025_18_56_17_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9aafd3de616324d1ee05eab99a93f3ec.jpg","text":"TemporaryFile(/tmp/multipartBody6850265998877268647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395943642,"filename":"image_11042025_18_55_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/11/794f1fa5ba08cdfff9f3ed53c2cf001b.jpg","text":"TemporaryFile(/tmp/multipartBody2339790050100624586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395943642,"filename":"image_11042025_18_56_07_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/11/7124b1b762a5f20f62b97fc1dd1ad358.jpg","text":"TemporaryFile(/tmp/multipartBody1668422689066631801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395943642,"filename":"image_11042025_18_56_26_9391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/676096af1b7481e7dfae9cb92a696a44.jpg","text":"TemporaryFile(/tmp/multipartBody2407062538871846662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395943642,"filename":"image_11042025_18_55_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/11/3516c8f5757dc206367a29ddb0ff05ce.jpg","text":"TemporaryFile(/tmp/multipartBody5588227742652597106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395943642,"filename":"image_11042025_18_55_47_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351875489","file1":"1351875474","file0":"1351875460","file4":"1351875556","file5":"1351875594","file3":"1351875517"},"map_files_photo_id_array":[{"photo_id":"1351875594","filename":"file5"},{"photo_id":"1351875489","filename":"file2"},{"photo_id":"1351875556","filename":"file4"},{"photo_id":"1351875474","filename":"file1"},{"photo_id":"1351875460","filename":"file0"},{"photo_id":"1351875517","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351875556":["hashtag1","hashtag2"]},{"1351875460":["hashtag1","hashtag2"]},{"1351875517":["hashtag1","hashtag2"]},{"1351875594":["hashtag1","hashtag2"]},{"1351875489":["hashtag1","hashtag2"]},{"1351875474":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351875556, 1351875460, 1351875517, 1351875594, 1351875489, 1351875474)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.62984490394592 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 20:25:32.408247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/18/56/image_11042025_18_56_37_10359.jpg', '/home/pi/Desktop/images/11042025/18/56/image_11042025_18_56_47_10505.jpg', '/home/pi/Desktop/images/11042025/18/56/image_11042025_18_56_57_9469.jpg', '/home/pi/Desktop/images/11042025/18/56/image_11042025_18_57_07_10397.jpg', '/home/pi/Desktop/images/11042025/18/57/image_11042025_18_57_16_9347.jpg', '/home/pi/Desktop/images/11042025/18/57/image_11042025_18_57_27_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/18/56/image_11042025_18_56_37_10359.jpg
/home/pi/Desktop/images/11042025/18/56/image_11042025_18_56_47_10505.jpg
/home/pi/Desktop/images/11042025/18/56/image_11042025_18_56_57_9469.jpg
/home/pi/Desktop/images/11042025/18/56/image_11042025_18_57_07_10397.jpg
/home/pi/Desktop/images/11042025/18/57/image_11042025_18_57_16_9347.jpg
/home/pi/Desktop/images/11042025/18/57/image_11042025_18_57_27_10370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351875778","1351875751","1351875745","1351875795","1351875828","1351875822"],"photo_ids_order":["1351875745","1351875751","1351875778","1351875795","1351875822","1351875828"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a286c85f1409aeb5eb8d59158f3131b1.jpg","text":"TemporaryFile(/tmp/multipartBody4039700164034061692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395992875,"filename":"image_11042025_18_56_57_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/11/270881d41a1c9643c63d41b141d67327.jpg","text":"TemporaryFile(/tmp/multipartBody3965883696587446240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395992875,"filename":"image_11042025_18_56_47_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/11/bf2b4223c85461b6e06d37c6c1d4feff.jpg","text":"TemporaryFile(/tmp/multipartBody8439518416874424913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395992875,"filename":"image_11042025_18_56_37_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d66f26559ac34a12d06d7a2d36cdd7a5.jpg","text":"TemporaryFile(/tmp/multipartBody4470862349826996279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395992875,"filename":"image_11042025_18_57_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/11/eca2bc85bc663ffea8dceab881bda6b2.jpg","text":"TemporaryFile(/tmp/multipartBody5639678571639905967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395992875,"filename":"image_11042025_18_57_27_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/529954cb74b01b17da474084be5a1d56.jpg","text":"TemporaryFile(/tmp/multipartBody2126014780341603434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744395992875,"filename":"image_11042025_18_57_16_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351875778","file1":"1351875751","file0":"1351875745","file4":"1351875822","file5":"1351875828","file3":"1351875795"},"map_files_photo_id_array":[{"photo_id":"1351875828","filename":"file5"},{"photo_id":"1351875778","filename":"file2"},{"photo_id":"1351875822","filename":"file4"},{"photo_id":"1351875751","filename":"file1"},{"photo_id":"1351875745","filename":"file0"},{"photo_id":"1351875795","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351875778":["hashtag1","hashtag2"]},{"1351875751":["hashtag1","hashtag2"]},{"1351875745":["hashtag1","hashtag2"]},{"1351875795":["hashtag1","hashtag2"]},{"1351875828":["hashtag1","hashtag2"]},{"1351875822":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351875778, 1351875751, 1351875745, 1351875795, 1351875828, 1351875822)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.043704986572266 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 20:26:32.569484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/18/57/image_11042025_18_57_37_10454.jpg', '/home/pi/Desktop/images/11042025/18/57/image_11042025_18_57_47_9345.jpg', '/home/pi/Desktop/images/11042025/18/57/image_11042025_18_57_57_10359.jpg', '/home/pi/Desktop/images/11042025/18/57/image_11042025_18_58_06_9407.jpg', '/home/pi/Desktop/images/11042025/18/58/image_11042025_18_58_17_10365.jpg', '/home/pi/Desktop/images/11042025/18/58/image_11042025_18_58_27_10433.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/18/57/image_11042025_18_57_37_10454.jpg
/home/pi/Desktop/images/11042025/18/57/image_11042025_18_57_47_9345.jpg
/home/pi/Desktop/images/11042025/18/57/image_11042025_18_57_57_10359.jpg
/home/pi/Desktop/images/11042025/18/57/image_11042025_18_58_06_9407.jpg
/home/pi/Desktop/images/11042025/18/58/image_11042025_18_58_17_10365.jpg
/home/pi/Desktop/images/11042025/18/58/image_11042025_18_58_27_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":["1351875960","1351875927","1351876025","1351875983","1351875965","1351875944"],"photo_ids_order":["1351875927","1351875944","1351875960","1351875965","1351875983","1351876025"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/efd41f189486cd2c774dacad81b86c00.jpg","text":"TemporaryFile(/tmp/multipartBody5960109309982277562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396053036,"filename":"image_11042025_18_57_57_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e62920a93c61cbc45bc8e1ab9192b5a7.jpg","text":"TemporaryFile(/tmp/multipartBody2577940404866416040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396053036,"filename":"image_11042025_18_57_37_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b8be66ec373ebb49a413387a2dfd0e67.jpg","text":"TemporaryFile(/tmp/multipartBody4222609754695942946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396053036,"filename":"image_11042025_18_58_27_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/11/d6c877010e240cf71377632d14adffa1.jpg","text":"TemporaryFile(/tmp/multipartBody367009126644821935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396053036,"filename":"image_11042025_18_58_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/11/fc4bff8a718960f824b51cc05a59cb4a.jpg","text":"TemporaryFile(/tmp/multipartBody7211001606371375716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396053036,"filename":"image_11042025_18_58_06_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d599a7230db66e485189927797b2a0e0.jpg","text":"TemporaryFile(/tmp/multipartBody292191333656323609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396053036,"filename":"image_11042025_18_57_47_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351875960","file1":"1351875944","file0":"1351875927","file4":"1351875983","file5":"1351876025","file3":"1351875965"},"map_files_photo_id_array":[{"photo_id":"1351876025","filename":"file5"},{"photo_id":"1351875960","filename":"file2"},{"photo_id":"1351875983","filename":"file4"},{"photo_id":"1351875944","filename":"file1"},{"photo_id":"1351875927","filename":"file0"},{"photo_id":"1351875965","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351875960":["hashtag1","hashtag2"]},{"1351875927":["hashtag1","hashtag2"]},{"1351876025":["hashtag1","hashtag2"]},{"1351875983":["hashtag1","hashtag2"]},{"1351875965":["hashtag1","hashtag2"]},{"1351875944":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351875960, 1351875927, 1351876025, 1351875983, 1351875965, 1351875944)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.47577166557312 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 20:27:32.771280
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/18/58/image_11042025_18_58_36_9348.jpg', '/home/pi/Desktop/images/11042025/18/58/image_11042025_18_58_47_10366.jpg', '/home/pi/Desktop/images/11042025/18/58/image_11042025_18_58_56_9407.jpg', '/home/pi/Desktop/images/11042025/18/58/image_11042025_18_59_07_10422.jpg', '/home/pi/Desktop/images/11042025/18/59/image_11042025_18_59_17_10402.jpg', '/home/pi/Desktop/images/11042025/18/59/image_11042025_18_59_27_9447.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/18/58/image_11042025_18_58_36_9348.jpg
/home/pi/Desktop/images/11042025/18/58/image_11042025_18_58_47_10366.jpg
/home/pi/Desktop/images/11042025/18/58/image_11042025_18_58_56_9407.jpg
/home/pi/Desktop/images/11042025/18/58/image_11042025_18_59_07_10422.jpg
/home/pi/Desktop/images/11042025/18/59/image_11042025_18_59_17_10402.jpg
/home/pi/Desktop/images/11042025/18/59/image_11042025_18_59_27_9447.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351876378","1351876270","1351876336","1351876197","1351876232","1351876322"],"photo_ids_order":["1351876197","1351876232","1351876270","1351876322","1351876336","1351876378"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3d1167e1d25cf37885978b819faa7bae.jpg","text":"TemporaryFile(/tmp/multipartBody8725662670103704203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396113246,"filename":"image_11042025_18_59_27_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/11/34b6a6af773fd879fa73011992470735.jpg","text":"TemporaryFile(/tmp/multipartBody3359921233447788951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396113246,"filename":"image_11042025_18_58_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/11/87391347ef8f37f0b7e65433d8b0d76b.jpg","text":"TemporaryFile(/tmp/multipartBody5384848498043174384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396113246,"filename":"image_11042025_18_59_17_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/fe3dc84103765496f5939e25b828bd6d.jpg","text":"TemporaryFile(/tmp/multipartBody6006799568316724033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396113246,"filename":"image_11042025_18_58_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/11/cd2f849b97c34850e84be7236ea0800c.jpg","text":"TemporaryFile(/tmp/multipartBody3609614936814525189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396113246,"filename":"image_11042025_18_58_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/11/d10a37ae3d07baeaf7107f3f89d1fe8b.jpg","text":"TemporaryFile(/tmp/multipartBody6337937315365737323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396113246,"filename":"image_11042025_18_59_07_10422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351876270","file1":"1351876232","file0":"1351876197","file4":"1351876336","file5":"1351876378","file3":"1351876322"},"map_files_photo_id_array":[{"photo_id":"1351876378","filename":"file5"},{"photo_id":"1351876270","filename":"file2"},{"photo_id":"1351876336","filename":"file4"},{"photo_id":"1351876232","filename":"file1"},{"photo_id":"1351876197","filename":"file0"},{"photo_id":"1351876322","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351876378":["hashtag1","hashtag2"]},{"1351876270":["hashtag1","hashtag2"]},{"1351876336":["hashtag1","hashtag2"]},{"1351876197":["hashtag1","hashtag2"]},{"1351876232":["hashtag1","hashtag2"]},{"1351876322":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351876378, 1351876270, 1351876336, 1351876197, 1351876232, 1351876322)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.1704843044281 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 20:28:33.112898
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/18/59/image_11042025_18_59_37_10383.jpg', '/home/pi/Desktop/images/11042025/18/59/image_11042025_18_59_46_9441.jpg', '/home/pi/Desktop/images/11042025/18/59/image_11042025_18_59_57_10373.jpg', '/home/pi/Desktop/images/11042025/19/00/image_11042025_19_00_16_10070.jpg', '/home/pi/Desktop/images/11042025/19/00/image_11042025_19_00_27_10375.jpg', '/home/pi/Desktop/images/11042025/19/00/image_11042025_19_00_37_10424.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/18/59/image_11042025_18_59_37_10383.jpg
/home/pi/Desktop/images/11042025/18/59/image_11042025_18_59_46_9441.jpg
/home/pi/Desktop/images/11042025/18/59/image_11042025_18_59_57_10373.jpg
/home/pi/Desktop/images/11042025/19/00/image_11042025_19_00_16_10070.jpg
/home/pi/Desktop/images/11042025/19/00/image_11042025_19_00_27_10375.jpg
/home/pi/Desktop/images/11042025/19/00/image_11042025_19_00_37_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":["1351876578","1351876608","1351876542","1351876515","1351876472","1351876532"],"photo_ids_order":["1351876472","1351876515","1351876532","1351876542","1351876578","1351876608"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e737dae78377154fdb4df1aaadf0d2bb.jpg","text":"TemporaryFile(/tmp/multipartBody4043858990007823923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396173578,"filename":"image_11042025_19_00_27_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e26cb853512fd80af8fc0e9f489da67a.jpg","text":"TemporaryFile(/tmp/multipartBody4029280538789337633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396173578,"filename":"image_11042025_19_00_37_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8e1c50eb02abdb0e285b4c8c1056fc38.jpg","text":"TemporaryFile(/tmp/multipartBody1072567871787316104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396173578,"filename":"image_11042025_19_00_16_10070.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1b30d5dd0718ab8e504905a3ab7db1c0.jpg","text":"TemporaryFile(/tmp/multipartBody4554780442562922827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396173578,"filename":"image_11042025_18_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/11/3855bfcd4341eebcc31f5bcfd0335b37.jpg","text":"TemporaryFile(/tmp/multipartBody8258486011167330548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396173578,"filename":"image_11042025_18_59_37_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6abae1f4b9668058a8f4b2de93b25362.jpg","text":"TemporaryFile(/tmp/multipartBody3888620677782319178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396173578,"filename":"image_11042025_18_59_57_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351876532","file1":"1351876515","file0":"1351876472","file4":"1351876578","file5":"1351876608","file3":"1351876542"},"map_files_photo_id_array":[{"photo_id":"1351876608","filename":"file5"},{"photo_id":"1351876532","filename":"file2"},{"photo_id":"1351876578","filename":"file4"},{"photo_id":"1351876515","filename":"file1"},{"photo_id":"1351876472","filename":"file0"},{"photo_id":"1351876542","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351876578":["hashtag1","hashtag2"]},{"1351876608":["hashtag1","hashtag2"]},{"1351876542":["hashtag1","hashtag2"]},{"1351876515":["hashtag1","hashtag2"]},{"1351876472":["hashtag1","hashtag2"]},{"1351876532":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351876578, 1351876608, 1351876542, 1351876515, 1351876472, 1351876532)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.201075077056885 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 20:29:32.388144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/19/00/image_11042025_19_00_46_9339.jpg', '/home/pi/Desktop/images/11042025/19/00/image_11042025_19_00_57_10387.jpg', '/home/pi/Desktop/images/11042025/19/00/image_11042025_19_01_06_9413.jpg', '/home/pi/Desktop/images/11042025/19/01/image_11042025_19_01_17_10361.jpg', '/home/pi/Desktop/images/11042025/19/01/image_11042025_19_01_27_10361.jpg', '/home/pi/Desktop/images/11042025/19/01/image_11042025_19_01_36_9392.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/19/00/image_11042025_19_00_46_9339.jpg
/home/pi/Desktop/images/11042025/19/00/image_11042025_19_00_57_10387.jpg
/home/pi/Desktop/images/11042025/19/00/image_11042025_19_01_06_9413.jpg
/home/pi/Desktop/images/11042025/19/01/image_11042025_19_01_17_10361.jpg
/home/pi/Desktop/images/11042025/19/01/image_11042025_19_01_27_10361.jpg
/home/pi/Desktop/images/11042025/19/01/image_11042025_19_01_36_9392.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351876799","1351876784","1351876838","1351876795","1351876792","1351876759"],"photo_ids_order":["1351876759","1351876784","1351876792","1351876795","1351876799","1351876838"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b3e4d5b279007fb39bf62834e333d2ee.jpg","text":"TemporaryFile(/tmp/multipartBody6693696954914620301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396232849,"filename":"image_11042025_19_01_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/11/beb4928ea394d08db755d740ba8cf9de.jpg","text":"TemporaryFile(/tmp/multipartBody4125259565826373221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396232849,"filename":"image_11042025_19_00_57_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2943f6e6c445820b9ea6faf654b56c76.jpg","text":"TemporaryFile(/tmp/multipartBody4901016389379539666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396232849,"filename":"image_11042025_19_01_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/11/9e8b52a3f9d477976e340da605de8a5b.jpg","text":"TemporaryFile(/tmp/multipartBody4486516470302168346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396232849,"filename":"image_11042025_19_01_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/11/75d6a03c0cc640dcb311e4fdad466349.jpg","text":"TemporaryFile(/tmp/multipartBody4747121722041863335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396232849,"filename":"image_11042025_19_01_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/11/ea8cee600fddc5fc473b88fcace1cb44.jpg","text":"TemporaryFile(/tmp/multipartBody6103261139264107704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396232849,"filename":"image_11042025_19_00_46_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351876792","file1":"1351876784","file0":"1351876759","file4":"1351876799","file5":"1351876838","file3":"1351876795"},"map_files_photo_id_array":[{"photo_id":"1351876838","filename":"file5"},{"photo_id":"1351876792","filename":"file2"},{"photo_id":"1351876799","filename":"file4"},{"photo_id":"1351876784","filename":"file1"},{"photo_id":"1351876759","filename":"file0"},{"photo_id":"1351876795","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351876799":["hashtag1","hashtag2"]},{"1351876784":["hashtag1","hashtag2"]},{"1351876838":["hashtag1","hashtag2"]},{"1351876795":["hashtag1","hashtag2"]},{"1351876792":["hashtag1","hashtag2"]},{"1351876759":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351876799, 1351876784, 1351876838, 1351876795, 1351876792, 1351876759)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.24954867362976 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 20:30:32.552730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/19/01/image_11042025_19_01_47_10385.jpg', '/home/pi/Desktop/images/11042025/19/01/image_11042025_19_01_57_10412.jpg', '/home/pi/Desktop/images/11042025/19/01/image_11042025_19_02_06_9415.jpg', '/home/pi/Desktop/images/11042025/19/02/image_11042025_19_02_17_10449.jpg', '/home/pi/Desktop/images/11042025/19/02/image_11042025_19_02_26_9390.jpg', '/home/pi/Desktop/images/11042025/19/02/image_11042025_19_02_37_10381.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/19/01/image_11042025_19_01_47_10385.jpg
/home/pi/Desktop/images/11042025/19/01/image_11042025_19_01_57_10412.jpg
/home/pi/Desktop/images/11042025/19/01/image_11042025_19_02_06_9415.jpg
/home/pi/Desktop/images/11042025/19/02/image_11042025_19_02_17_10449.jpg
/home/pi/Desktop/images/11042025/19/02/image_11042025_19_02_26_9390.jpg
/home/pi/Desktop/images/11042025/19/02/image_11042025_19_02_37_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":["1351877014","1351876971","1351876887","1351876929","1351877042","1351876990"],"photo_ids_order":["1351876887","1351876929","1351876971","1351876990","1351877014","1351877042"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7dde5c2a360a10b6881fe06b44a5dfa7.jpg","text":"TemporaryFile(/tmp/multipartBody5062604535309915987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396293014,"filename":"image_11042025_19_02_26_9390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e98e9b7e6cebc89225e62d86a5dcaf2f.jpg","text":"TemporaryFile(/tmp/multipartBody1058239280359309690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396293014,"filename":"image_11042025_19_02_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/11/46814ed362d702c6cb241b34c2833d65.jpg","text":"TemporaryFile(/tmp/multipartBody4773259233808983494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396293014,"filename":"image_11042025_19_01_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/11/81626ceba4a3b3df0d388d2955f8105c.jpg","text":"TemporaryFile(/tmp/multipartBody1799329746298931209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396293014,"filename":"image_11042025_19_01_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/11/c00018f9a5245158686bf350dc8d17de.jpg","text":"TemporaryFile(/tmp/multipartBody3266702811274677463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396293014,"filename":"image_11042025_19_02_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/11/774ad6ad130f5eaecca57c24d7fd7e17.jpg","text":"TemporaryFile(/tmp/multipartBody4072295143921430084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396293014,"filename":"image_11042025_19_02_17_10449.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351876971","file1":"1351876929","file0":"1351876887","file4":"1351877014","file5":"1351877042","file3":"1351876990"},"map_files_photo_id_array":[{"photo_id":"1351877042","filename":"file5"},{"photo_id":"1351876971","filename":"file2"},{"photo_id":"1351877014","filename":"file4"},{"photo_id":"1351876929","filename":"file1"},{"photo_id":"1351876887","filename":"file0"},{"photo_id":"1351876990","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351877014":["hashtag1","hashtag2"]},{"1351876971":["hashtag1","hashtag2"]},{"1351876887":["hashtag1","hashtag2"]},{"1351876929":["hashtag1","hashtag2"]},{"1351877042":["hashtag1","hashtag2"]},{"1351876990":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351877014, 1351876971, 1351876887, 1351876929, 1351877042, 1351876990)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.77788734436035 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 20:31:32.928023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/19/02/image_11042025_19_02_47_10413.jpg', '/home/pi/Desktop/images/11042025/19/02/image_11042025_19_02_56_9364.jpg', '/home/pi/Desktop/images/11042025/19/02/image_11042025_19_03_07_10357.jpg', '/home/pi/Desktop/images/11042025/19/03/image_11042025_19_03_16_9432.jpg', '/home/pi/Desktop/images/11042025/19/03/image_11042025_19_03_27_10367.jpg', '/home/pi/Desktop/images/11042025/19/03/image_11042025_19_03_37_10428.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/19/02/image_11042025_19_02_47_10413.jpg
/home/pi/Desktop/images/11042025/19/02/image_11042025_19_02_56_9364.jpg
/home/pi/Desktop/images/11042025/19/02/image_11042025_19_03_07_10357.jpg
/home/pi/Desktop/images/11042025/19/03/image_11042025_19_03_16_9432.jpg
/home/pi/Desktop/images/11042025/19/03/image_11042025_19_03_27_10367.jpg
/home/pi/Desktop/images/11042025/19/03/image_11042025_19_03_37_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":["1351877722","1351877670","1351877319","1351877519","1351877569","1351877620"],"photo_ids_order":["1351877319","1351877519","1351877569","1351877620","1351877670","1351877722"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ffaf18336b6ec3d1dbdd66190658fda6.jpg","text":"TemporaryFile(/tmp/multipartBody3578026050253134243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396353391,"filename":"image_11042025_19_03_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/11/19def1cce7d28448d5d9cd56560d2899.jpg","text":"TemporaryFile(/tmp/multipartBody8749287406995078337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396353391,"filename":"image_11042025_19_03_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/11/5ba48d79df5578d27e04211bd856a7c5.jpg","text":"TemporaryFile(/tmp/multipartBody6382473888451795779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396353391,"filename":"image_11042025_19_02_47_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7178186949e8f9874b5c9efec6e2f9a4.jpg","text":"TemporaryFile(/tmp/multipartBody7152617213127336015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396353391,"filename":"image_11042025_19_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/11/b891237a12759b9d6d64ebde031fcb34.jpg","text":"TemporaryFile(/tmp/multipartBody1521773766770365420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396353391,"filename":"image_11042025_19_03_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/11/906d9e522c5c1a3fe9431f94f458a409.jpg","text":"TemporaryFile(/tmp/multipartBody4951182487328226978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396353391,"filename":"image_11042025_19_03_16_9432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351877569","file1":"1351877519","file0":"1351877319","file4":"1351877670","file5":"1351877722","file3":"1351877620"},"map_files_photo_id_array":[{"photo_id":"1351877722","filename":"file5"},{"photo_id":"1351877569","filename":"file2"},{"photo_id":"1351877670","filename":"file4"},{"photo_id":"1351877519","filename":"file1"},{"photo_id":"1351877319","filename":"file0"},{"photo_id":"1351877620","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351877722":["hashtag1","hashtag2"]},{"1351877670":["hashtag1","hashtag2"]},{"1351877319":["hashtag1","hashtag2"]},{"1351877519":["hashtag1","hashtag2"]},{"1351877569":["hashtag1","hashtag2"]},{"1351877620":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351877722, 1351877670, 1351877319, 1351877519, 1351877569, 1351877620)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.13285040855408 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 20:32:32.964607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/19/03/image_11042025_19_03_46_9343.jpg', '/home/pi/Desktop/images/11042025/19/03/image_11042025_19_03_57_10376.jpg', '/home/pi/Desktop/images/11042025/19/03/image_11042025_19_04_06_9383.jpg', '/home/pi/Desktop/images/11042025/19/04/image_11042025_19_04_17_10370.jpg', '/home/pi/Desktop/images/11042025/19/04/image_11042025_19_04_27_10374.jpg', '/home/pi/Desktop/images/11042025/19/04/image_11042025_19_04_36_9415.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/19/03/image_11042025_19_03_46_9343.jpg
/home/pi/Desktop/images/11042025/19/03/image_11042025_19_03_57_10376.jpg
/home/pi/Desktop/images/11042025/19/03/image_11042025_19_04_06_9383.jpg
/home/pi/Desktop/images/11042025/19/04/image_11042025_19_04_17_10370.jpg
/home/pi/Desktop/images/11042025/19/04/image_11042025_19_04_27_10374.jpg
/home/pi/Desktop/images/11042025/19/04/image_11042025_19_04_36_9415.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351878695","1351879010","1351878461","1351879092","1351878937","1351878205"],"photo_ids_order":["1351878205","1351878461","1351878695","1351878937","1351879010","1351879092"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/08d78ce92248d2091c09b5c0298a2805.jpg","text":"TemporaryFile(/tmp/multipartBody2122651979036001247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396413426,"filename":"image_11042025_19_04_06_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d6c0ba6a5271d46f939d4ed96cf75a58.jpg","text":"TemporaryFile(/tmp/multipartBody6255325259066700318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396413426,"filename":"image_11042025_19_04_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/11/54e417cd96f24448279da3961b7ad875.jpg","text":"TemporaryFile(/tmp/multipartBody5348779825747548491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396413426,"filename":"image_11042025_19_03_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/11/57916ca4f2ff5c06fe658593926813ae.jpg","text":"TemporaryFile(/tmp/multipartBody9034103230835088763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396413426,"filename":"image_11042025_19_04_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/11/0bcb3fa5bc64855c935af8463ec0ab5b.jpg","text":"TemporaryFile(/tmp/multipartBody5645836181653457832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396413426,"filename":"image_11042025_19_04_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/11/51e4c4daff215e11da1f10d134cf95d3.jpg","text":"TemporaryFile(/tmp/multipartBody1820626572382166390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396413426,"filename":"image_11042025_19_03_46_9343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351878695","file1":"1351878461","file0":"1351878205","file4":"1351879010","file5":"1351879092","file3":"1351878937"},"map_files_photo_id_array":[{"photo_id":"1351879092","filename":"file5"},{"photo_id":"1351878695","filename":"file2"},{"photo_id":"1351879010","filename":"file4"},{"photo_id":"1351878461","filename":"file1"},{"photo_id":"1351878205","filename":"file0"},{"photo_id":"1351878937","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351878695":["hashtag1","hashtag2"]},{"1351879010":["hashtag1","hashtag2"]},{"1351878461":["hashtag1","hashtag2"]},{"1351879092":["hashtag1","hashtag2"]},{"1351878937":["hashtag1","hashtag2"]},{"1351878205":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351878695, 1351879010, 1351878461, 1351879092, 1351878937, 1351878205)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.667903661727905 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 20:33:33.135214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/19/04/image_11042025_19_04_47_10351.jpg', '/home/pi/Desktop/images/11042025/19/04/image_11042025_19_04_57_10412.jpg', '/home/pi/Desktop/images/11042025/19/04/image_11042025_19_05_06_9360.jpg', '/home/pi/Desktop/images/11042025/19/05/image_11042025_19_05_17_10390.jpg', '/home/pi/Desktop/images/11042025/19/05/image_11042025_19_05_27_10277.jpg', '/home/pi/Desktop/images/11042025/19/05/image_11042025_19_05_36_9339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/19/04/image_11042025_19_04_47_10351.jpg
/home/pi/Desktop/images/11042025/19/04/image_11042025_19_04_57_10412.jpg
/home/pi/Desktop/images/11042025/19/04/image_11042025_19_05_06_9360.jpg
/home/pi/Desktop/images/11042025/19/05/image_11042025_19_05_17_10390.jpg
/home/pi/Desktop/images/11042025/19/05/image_11042025_19_05_27_10277.jpg
/home/pi/Desktop/images/11042025/19/05/image_11042025_19_05_36_9339.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351879742","1351879690","1351879972","1351879927","1351879962","1351879836"],"photo_ids_order":["1351879690","1351879742","1351879836","1351879927","1351879962","1351879972"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1b01f09d343e9850ace678c3297b8bd7.jpg","text":"TemporaryFile(/tmp/multipartBody4269579769385330046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396473600,"filename":"image_11042025_19_04_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/11/dbccea8f418ef66d1c82b4ad9bcff961.jpg","text":"TemporaryFile(/tmp/multipartBody3324285564094971083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396473600,"filename":"image_11042025_19_04_47_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2f3d2dccfac857ce215380a193229c19.jpg","text":"TemporaryFile(/tmp/multipartBody6875882433393108067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396473600,"filename":"image_11042025_19_05_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/11/907dea62a0ac511b5cecc43497e5da1e.jpg","text":"TemporaryFile(/tmp/multipartBody8399351067863847870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396473600,"filename":"image_11042025_19_05_17_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/11/528283d102eabff17b9875ed1b0a5e02.jpg","text":"TemporaryFile(/tmp/multipartBody2342557273194718784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396473600,"filename":"image_11042025_19_05_27_10277.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/72a5bf534422b497f7cf786650f0ea60.jpg","text":"TemporaryFile(/tmp/multipartBody6235510343360018141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396473600,"filename":"image_11042025_19_05_06_9360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351879836","file1":"1351879742","file0":"1351879690","file4":"1351879962","file5":"1351879972","file3":"1351879927"},"map_files_photo_id_array":[{"photo_id":"1351879972","filename":"file5"},{"photo_id":"1351879836","filename":"file2"},{"photo_id":"1351879962","filename":"file4"},{"photo_id":"1351879742","filename":"file1"},{"photo_id":"1351879690","filename":"file0"},{"photo_id":"1351879927","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351879742":["hashtag1","hashtag2"]},{"1351879690":["hashtag1","hashtag2"]},{"1351879972":["hashtag1","hashtag2"]},{"1351879927":["hashtag1","hashtag2"]},{"1351879962":["hashtag1","hashtag2"]},{"1351879836":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351879742, 1351879690, 1351879972, 1351879927, 1351879962, 1351879836)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.287017583847046 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 20:34:32.337602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/19/05/image_11042025_19_05_47_10174.jpg', '/home/pi/Desktop/images/11042025/19/05/image_11042025_19_05_56_9522.jpg', '/home/pi/Desktop/images/11042025/19/05/image_11042025_19_06_07_10422.jpg', '/home/pi/Desktop/images/11042025/19/06/image_11042025_19_06_17_10412.jpg', '/home/pi/Desktop/images/11042025/19/06/image_11042025_19_06_26_9363.jpg', '/home/pi/Desktop/images/11042025/19/06/image_11042025_19_06_37_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/19/05/image_11042025_19_05_47_10174.jpg
/home/pi/Desktop/images/11042025/19/05/image_11042025_19_05_56_9522.jpg
/home/pi/Desktop/images/11042025/19/05/image_11042025_19_06_07_10422.jpg
/home/pi/Desktop/images/11042025/19/06/image_11042025_19_06_17_10412.jpg
/home/pi/Desktop/images/11042025/19/06/image_11042025_19_06_26_9363.jpg
/home/pi/Desktop/images/11042025/19/06/image_11042025_19_06_37_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351880171","1351880306","1351880164","1351880401","1351880230","1351880332"],"photo_ids_order":["1351880164","1351880171","1351880230","1351880306","1351880332","1351880401"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f68aa612a8e528deb4765f6ff882864e.jpg","text":"TemporaryFile(/tmp/multipartBody4789590479584559816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396532863,"filename":"image_11042025_19_05_56_9522.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4ec258c5094a078898df1e4dc9b27313.jpg","text":"TemporaryFile(/tmp/multipartBody4556808561762200327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396532863,"filename":"image_11042025_19_06_17_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/11/282481a77985c036f6fc33b93ae1cfc8.jpg","text":"TemporaryFile(/tmp/multipartBody4121076972698771666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396532863,"filename":"image_11042025_19_05_47_10174.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a1ab703c2939c97dffe7cc206b9d379c.jpg","text":"TemporaryFile(/tmp/multipartBody3163670841194908747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396532863,"filename":"image_11042025_19_06_37_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/135338392d6615f9386076f785cb8620.jpg","text":"TemporaryFile(/tmp/multipartBody6721589339954024257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396532863,"filename":"image_11042025_19_06_07_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ea005d0ad1298cb146700759c7a58df0.jpg","text":"TemporaryFile(/tmp/multipartBody1669462851718323142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396532863,"filename":"image_11042025_19_06_26_9363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351880230","file1":"1351880171","file0":"1351880164","file4":"1351880332","file5":"1351880401","file3":"1351880306"},"map_files_photo_id_array":[{"photo_id":"1351880401","filename":"file5"},{"photo_id":"1351880230","filename":"file2"},{"photo_id":"1351880332","filename":"file4"},{"photo_id":"1351880171","filename":"file1"},{"photo_id":"1351880164","filename":"file0"},{"photo_id":"1351880306","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351880171":["hashtag1","hashtag2"]},{"1351880306":["hashtag1","hashtag2"]},{"1351880164":["hashtag1","hashtag2"]},{"1351880401":["hashtag1","hashtag2"]},{"1351880230":["hashtag1","hashtag2"]},{"1351880332":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351880171, 1351880306, 1351880164, 1351880401, 1351880230, 1351880332)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.1640043258667 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 20:35:32.644588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/19/06/image_11042025_19_06_47_10357.jpg', '/home/pi/Desktop/images/11042025/19/06/image_11042025_19_07_07_10363.jpg', '/home/pi/Desktop/images/11042025/19/07/image_11042025_19_07_16_9344.jpg', '/home/pi/Desktop/images/11042025/19/07/image_11042025_19_07_27_10369.jpg', '/home/pi/Desktop/images/11042025/19/07/image_11042025_19_07_37_10368.jpg', '/home/pi/Desktop/images/11042025/19/07/image_11042025_19_07_46_9411.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/19/06/image_11042025_19_06_47_10357.jpg
/home/pi/Desktop/images/11042025/19/06/image_11042025_19_07_07_10363.jpg
/home/pi/Desktop/images/11042025/19/07/image_11042025_19_07_16_9344.jpg
/home/pi/Desktop/images/11042025/19/07/image_11042025_19_07_27_10369.jpg
/home/pi/Desktop/images/11042025/19/07/image_11042025_19_07_37_10368.jpg
/home/pi/Desktop/images/11042025/19/07/image_11042025_19_07_46_9411.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351880696","1351880794","1351880869","1351880836","1351880746","1351880853"],"photo_ids_order":["1351880696","1351880746","1351880794","1351880836","1351880853","1351880869"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9b33c1c540b9e2f611bbb0bc95b13837.jpg","text":"TemporaryFile(/tmp/multipartBody9103589020002293857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396593105,"filename":"image_11042025_19_06_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/11/69c4bbd13280faf8818220a6e6fb9b6c.jpg","text":"TemporaryFile(/tmp/multipartBody7376990946391417343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396593105,"filename":"image_11042025_19_07_16_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/123ba39d6b3b193fd23e46c15bf52d4e.jpg","text":"TemporaryFile(/tmp/multipartBody6076583853419083515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396593105,"filename":"image_11042025_19_07_46_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0465ec2dce70e32eb54378a21e87ae52.jpg","text":"TemporaryFile(/tmp/multipartBody946523937675089530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396593105,"filename":"image_11042025_19_07_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/11/0abe6ac98f2a54f009180c8e4618ed69.jpg","text":"TemporaryFile(/tmp/multipartBody4320877832076308337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396593105,"filename":"image_11042025_19_07_07_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/54f36a93735f0f515829e4d240415dba.jpg","text":"TemporaryFile(/tmp/multipartBody1482125533978841499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396593105,"filename":"image_11042025_19_07_37_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351880794","file1":"1351880746","file0":"1351880696","file4":"1351880853","file5":"1351880869","file3":"1351880836"},"map_files_photo_id_array":[{"photo_id":"1351880869","filename":"file5"},{"photo_id":"1351880794","filename":"file2"},{"photo_id":"1351880853","filename":"file4"},{"photo_id":"1351880746","filename":"file1"},{"photo_id":"1351880696","filename":"file0"},{"photo_id":"1351880836","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351880696":["hashtag1","hashtag2"]},{"1351880794":["hashtag1","hashtag2"]},{"1351880869":["hashtag1","hashtag2"]},{"1351880836":["hashtag1","hashtag2"]},{"1351880746":["hashtag1","hashtag2"]},{"1351880853":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351880696, 1351880794, 1351880869, 1351880836, 1351880746, 1351880853)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.28629922866821 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 20:36:32.884152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/19/07/image_11042025_19_07_57_10379.jpg', '/home/pi/Desktop/images/11042025/19/07/image_11042025_19_08_07_10393.jpg', '/home/pi/Desktop/images/11042025/19/08/image_11042025_19_08_16_9381.jpg', '/home/pi/Desktop/images/11042025/19/08/image_11042025_19_08_27_10412.jpg', '/home/pi/Desktop/images/11042025/19/08/image_11042025_19_08_36_9359.jpg', '/home/pi/Desktop/images/11042025/19/08/image_11042025_19_08_47_10378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/19/07/image_11042025_19_07_57_10379.jpg
/home/pi/Desktop/images/11042025/19/07/image_11042025_19_08_07_10393.jpg
/home/pi/Desktop/images/11042025/19/08/image_11042025_19_08_16_9381.jpg
/home/pi/Desktop/images/11042025/19/08/image_11042025_19_08_27_10412.jpg
/home/pi/Desktop/images/11042025/19/08/image_11042025_19_08_36_9359.jpg
/home/pi/Desktop/images/11042025/19/08/image_11042025_19_08_47_10378.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351881102","1351881173","1351881206","1351881142","1351881130","1351881234"],"photo_ids_order":["1351881102","1351881130","1351881142","1351881173","1351881206","1351881234"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/867a54c588f453325a1bce5d66fe5a24.jpg","text":"TemporaryFile(/tmp/multipartBody154668431527060762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396653346,"filename":"image_11042025_19_07_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/11/2caa2f92587bfa783d5a7079e8e84a34.jpg","text":"TemporaryFile(/tmp/multipartBody3308156633181411220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396653346,"filename":"image_11042025_19_08_27_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2c7cf1e77c0707d1ae2fbf2d8c289b81.jpg","text":"TemporaryFile(/tmp/multipartBody2130375455128720665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396653346,"filename":"image_11042025_19_08_36_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/957a9fca97b029be0a4b3ca97653ed8e.jpg","text":"TemporaryFile(/tmp/multipartBody1815922448174520123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396653346,"filename":"image_11042025_19_08_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/11/307e8ff90bf9744f79cd7144307672ab.jpg","text":"TemporaryFile(/tmp/multipartBody1309235830298176090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396653346,"filename":"image_11042025_19_08_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/11/7cfa5d722644b2b45baf88ba40f0a0e4.jpg","text":"TemporaryFile(/tmp/multipartBody7014467338008877038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396653346,"filename":"image_11042025_19_08_47_10378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351881142","file1":"1351881130","file0":"1351881102","file4":"1351881206","file5":"1351881234","file3":"1351881173"},"map_files_photo_id_array":[{"photo_id":"1351881234","filename":"file5"},{"photo_id":"1351881142","filename":"file2"},{"photo_id":"1351881206","filename":"file4"},{"photo_id":"1351881130","filename":"file1"},{"photo_id":"1351881102","filename":"file0"},{"photo_id":"1351881173","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351881102":["hashtag1","hashtag2"]},{"1351881173":["hashtag1","hashtag2"]},{"1351881206":["hashtag1","hashtag2"]},{"1351881142":["hashtag1","hashtag2"]},{"1351881130":["hashtag1","hashtag2"]},{"1351881234":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351881102, 1351881173, 1351881206, 1351881142, 1351881130, 1351881234)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.85643696784973 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 20:37:32.944011
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/19/08/image_11042025_19_08_57_10514.jpg', '/home/pi/Desktop/images/11042025/19/08/image_11042025_19_09_06_9340.jpg', '/home/pi/Desktop/images/11042025/19/09/image_11042025_19_09_17_10360.jpg', '/home/pi/Desktop/images/11042025/19/09/image_11042025_19_09_26_9363.jpg', '/home/pi/Desktop/images/11042025/19/09/image_11042025_19_09_37_10363.jpg', '/home/pi/Desktop/images/11042025/19/09/image_11042025_19_09_47_10345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/19/08/image_11042025_19_08_57_10514.jpg
/home/pi/Desktop/images/11042025/19/08/image_11042025_19_09_06_9340.jpg
/home/pi/Desktop/images/11042025/19/09/image_11042025_19_09_17_10360.jpg
/home/pi/Desktop/images/11042025/19/09/image_11042025_19_09_26_9363.jpg
/home/pi/Desktop/images/11042025/19/09/image_11042025_19_09_37_10363.jpg
/home/pi/Desktop/images/11042025/19/09/image_11042025_19_09_47_10345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351881497","1351881593","1351881641","1351881697","1351881340","1351881318"],"photo_ids_order":["1351881318","1351881340","1351881497","1351881593","1351881641","1351881697"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c90f58f04655d1d3e97de32a4b8a5624.jpg","text":"TemporaryFile(/tmp/multipartBody7241258885730930625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396713410,"filename":"image_11042025_19_09_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/11/b087ed7d3c19c8b4f82ddc7743ee338c.jpg","text":"TemporaryFile(/tmp/multipartBody8084834680232484963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396713410,"filename":"image_11042025_19_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/11/0967b2c19779bfaaa53d4a4696d417b7.jpg","text":"TemporaryFile(/tmp/multipartBody1394872210597445948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396713410,"filename":"image_11042025_19_09_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/11/5835ed275e4cefe96eeb73443da1bcf2.jpg","text":"TemporaryFile(/tmp/multipartBody1083280916928846867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396713410,"filename":"image_11042025_19_09_47_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/43649086c8c07dda68d49893964d33f5.jpg","text":"TemporaryFile(/tmp/multipartBody2273911081039243645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396713410,"filename":"image_11042025_19_09_06_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/cdbd9fe10e8b7b511a095ab53cba628e.jpg","text":"TemporaryFile(/tmp/multipartBody6576304057165858874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396713410,"filename":"image_11042025_19_08_57_10514.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351881497","file1":"1351881340","file0":"1351881318","file4":"1351881641","file5":"1351881697","file3":"1351881593"},"map_files_photo_id_array":[{"photo_id":"1351881697","filename":"file5"},{"photo_id":"1351881497","filename":"file2"},{"photo_id":"1351881641","filename":"file4"},{"photo_id":"1351881340","filename":"file1"},{"photo_id":"1351881318","filename":"file0"},{"photo_id":"1351881593","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351881497":["hashtag1","hashtag2"]},{"1351881593":["hashtag1","hashtag2"]},{"1351881641":["hashtag1","hashtag2"]},{"1351881697":["hashtag1","hashtag2"]},{"1351881340":["hashtag1","hashtag2"]},{"1351881318":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351881497, 1351881593, 1351881641, 1351881697, 1351881340, 1351881318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.76272654533386 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 20:38:32.208702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/19/09/image_11042025_19_09_56_9348.jpg', '/home/pi/Desktop/images/11042025/19/09/image_11042025_19_10_07_10411.jpg', '/home/pi/Desktop/images/11042025/19/10/image_11042025_19_10_17_10394.jpg', '/home/pi/Desktop/images/11042025/19/10/image_11042025_19_10_26_9367.jpg', '/home/pi/Desktop/images/11042025/19/10/image_11042025_19_10_37_10386.jpg', '/home/pi/Desktop/images/11042025/19/10/image_11042025_19_10_47_10345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/19/09/image_11042025_19_09_56_9348.jpg
/home/pi/Desktop/images/11042025/19/09/image_11042025_19_10_07_10411.jpg
/home/pi/Desktop/images/11042025/19/10/image_11042025_19_10_17_10394.jpg
/home/pi/Desktop/images/11042025/19/10/image_11042025_19_10_26_9367.jpg
/home/pi/Desktop/images/11042025/19/10/image_11042025_19_10_37_10386.jpg
/home/pi/Desktop/images/11042025/19/10/image_11042025_19_10_47_10345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351882448","1351882319","1351882228","1351882365","1351882146","1351882073"],"photo_ids_order":["1351882073","1351882146","1351882228","1351882319","1351882365","1351882448"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/79c14a48a7d8fe14cb561cf00a28de6e.jpg","text":"TemporaryFile(/tmp/multipartBody4702613839993397366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396772666,"filename":"image_11042025_19_10_47_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/036c69e2c3e67c1196ef0c02fc398311.jpg","text":"TemporaryFile(/tmp/multipartBody3391041483579330216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396772666,"filename":"image_11042025_19_10_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/11/e4884e306d5526aeeb277f50c7addae9.jpg","text":"TemporaryFile(/tmp/multipartBody7788556938798591796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396772666,"filename":"image_11042025_19_10_17_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/52ff995feca4856bb5d2027d11c6bc1c.jpg","text":"TemporaryFile(/tmp/multipartBody1026987303664281887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396772666,"filename":"image_11042025_19_10_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/11/dbc85a314882567ad16ac6b6b963f1f6.jpg","text":"TemporaryFile(/tmp/multipartBody5871125169397005607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396772666,"filename":"image_11042025_19_10_07_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/83df8637fc490702c6f27d39411bade0.jpg","text":"TemporaryFile(/tmp/multipartBody593275882863376411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396772666,"filename":"image_11042025_19_09_56_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351882228","file1":"1351882146","file0":"1351882073","file4":"1351882365","file5":"1351882448","file3":"1351882319"},"map_files_photo_id_array":[{"photo_id":"1351882448","filename":"file5"},{"photo_id":"1351882228","filename":"file2"},{"photo_id":"1351882365","filename":"file4"},{"photo_id":"1351882146","filename":"file1"},{"photo_id":"1351882073","filename":"file0"},{"photo_id":"1351882319","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351882448":["hashtag1","hashtag2"]},{"1351882319":["hashtag1","hashtag2"]},{"1351882228":["hashtag1","hashtag2"]},{"1351882365":["hashtag1","hashtag2"]},{"1351882146":["hashtag1","hashtag2"]},{"1351882073":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351882448, 1351882319, 1351882228, 1351882365, 1351882146, 1351882073)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.68641400337219 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 20:39:32.658151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/19/10/image_11042025_19_10_56_9354.jpg', '/home/pi/Desktop/images/11042025/19/10/image_11042025_19_11_07_10351.jpg', '/home/pi/Desktop/images/11042025/19/11/image_11042025_19_11_16_9420.jpg', '/home/pi/Desktop/images/11042025/19/11/image_11042025_19_11_27_10365.jpg', '/home/pi/Desktop/images/11042025/19/11/image_11042025_19_11_36_9536.jpg', '/home/pi/Desktop/images/11042025/19/11/image_11042025_19_11_47_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/19/10/image_11042025_19_10_56_9354.jpg
/home/pi/Desktop/images/11042025/19/10/image_11042025_19_11_07_10351.jpg
/home/pi/Desktop/images/11042025/19/11/image_11042025_19_11_16_9420.jpg
/home/pi/Desktop/images/11042025/19/11/image_11042025_19_11_27_10365.jpg
/home/pi/Desktop/images/11042025/19/11/image_11042025_19_11_36_9536.jpg
/home/pi/Desktop/images/11042025/19/11/image_11042025_19_11_47_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351882838","1351882999","1351883025","1351882938","1351882908","1351882967"],"photo_ids_order":["1351882838","1351882908","1351882938","1351882967","1351882999","1351883025"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4a672bee86e6f4143a305d8d10a5ebaa.jpg","text":"TemporaryFile(/tmp/multipartBody7640931492174960668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396833133,"filename":"image_11042025_19_10_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/11/5c635f8d2498c9d9ca7400d1d986e618.jpg","text":"TemporaryFile(/tmp/multipartBody4709563130695506882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396833133,"filename":"image_11042025_19_11_36_9536.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d3d1c8adbdb779267ad14701079048ac.jpg","text":"TemporaryFile(/tmp/multipartBody8417076755523962893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396833133,"filename":"image_11042025_19_11_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/11/48cbbe5ba884e0fbb31cbe134afb84f6.jpg","text":"TemporaryFile(/tmp/multipartBody562707201337254393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396833133,"filename":"image_11042025_19_11_16_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ddb08875515f139566d37e292e620c0e.jpg","text":"TemporaryFile(/tmp/multipartBody2227816245984557382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396833133,"filename":"image_11042025_19_11_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/11/4fd08aef4d35a9f8448fe5189c6c4b73.jpg","text":"TemporaryFile(/tmp/multipartBody3840117584328110328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396833133,"filename":"image_11042025_19_11_27_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351882938","file1":"1351882908","file0":"1351882838","file4":"1351882999","file5":"1351883025","file3":"1351882967"},"map_files_photo_id_array":[{"photo_id":"1351883025","filename":"file5"},{"photo_id":"1351882938","filename":"file2"},{"photo_id":"1351882999","filename":"file4"},{"photo_id":"1351882908","filename":"file1"},{"photo_id":"1351882838","filename":"file0"},{"photo_id":"1351882967","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351882838":["hashtag1","hashtag2"]},{"1351882999":["hashtag1","hashtag2"]},{"1351883025":["hashtag1","hashtag2"]},{"1351882938":["hashtag1","hashtag2"]},{"1351882908":["hashtag1","hashtag2"]},{"1351882967":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351882838, 1351882999, 1351883025, 1351882938, 1351882908, 1351882967)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.05839943885803 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 20:40:32.681823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/19/11/image_11042025_19_11_57_10365.jpg', '/home/pi/Desktop/images/11042025/19/11/image_11042025_19_12_06_9449.jpg', '/home/pi/Desktop/images/11042025/19/12/image_11042025_19_12_17_10371.jpg', '/home/pi/Desktop/images/11042025/19/12/image_11042025_19_12_27_10424.jpg', '/home/pi/Desktop/images/11042025/19/12/image_11042025_19_12_36_9340.jpg', '/home/pi/Desktop/images/11042025/19/12/image_11042025_19_12_47_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/19/11/image_11042025_19_11_57_10365.jpg
/home/pi/Desktop/images/11042025/19/11/image_11042025_19_12_06_9449.jpg
/home/pi/Desktop/images/11042025/19/12/image_11042025_19_12_17_10371.jpg
/home/pi/Desktop/images/11042025/19/12/image_11042025_19_12_27_10424.jpg
/home/pi/Desktop/images/11042025/19/12/image_11042025_19_12_36_9340.jpg
/home/pi/Desktop/images/11042025/19/12/image_11042025_19_12_47_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351883398","1351883374","1351883269","1351883334","1351883297","1351883426"],"photo_ids_order":["1351883269","1351883297","1351883334","1351883374","1351883398","1351883426"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5f3b753dc6d57ca11d439314700fbe38.jpg","text":"TemporaryFile(/tmp/multipartBody3673063760735157781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396893142,"filename":"image_11042025_19_12_36_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/776fe19b7ec13dcb60ab99549cae0d52.jpg","text":"TemporaryFile(/tmp/multipartBody1042172477328752800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396893142,"filename":"image_11042025_19_12_27_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0bfa04f0567be1625f8f9fa45b506d42.jpg","text":"TemporaryFile(/tmp/multipartBody1013991570220688901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396893142,"filename":"image_11042025_19_11_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/11/a5957b51a4e80a8f03c43f186460a6d0.jpg","text":"TemporaryFile(/tmp/multipartBody4179162871372223033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396893142,"filename":"image_11042025_19_12_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/11/42d5d8294a18ededf69665a4d5c9ec33.jpg","text":"TemporaryFile(/tmp/multipartBody3952710372275206102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396893142,"filename":"image_11042025_19_12_06_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a9502ee29e4e8f9567c919e51eb0aa8a.jpg","text":"TemporaryFile(/tmp/multipartBody8930561945736886485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396893142,"filename":"image_11042025_19_12_47_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351883334","file1":"1351883297","file0":"1351883269","file4":"1351883398","file5":"1351883426","file3":"1351883374"},"map_files_photo_id_array":[{"photo_id":"1351883426","filename":"file5"},{"photo_id":"1351883334","filename":"file2"},{"photo_id":"1351883398","filename":"file4"},{"photo_id":"1351883297","filename":"file1"},{"photo_id":"1351883269","filename":"file0"},{"photo_id":"1351883374","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351883398":["hashtag1","hashtag2"]},{"1351883374":["hashtag1","hashtag2"]},{"1351883269":["hashtag1","hashtag2"]},{"1351883334":["hashtag1","hashtag2"]},{"1351883297":["hashtag1","hashtag2"]},{"1351883426":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351883398, 1351883374, 1351883269, 1351883334, 1351883297, 1351883426)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.85716104507446 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 20:41:33.133544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/19/12/image_11042025_19_12_56_9359.jpg', '/home/pi/Desktop/images/11042025/19/12/image_11042025_19_13_07_10380.jpg', '/home/pi/Desktop/images/11042025/19/13/image_11042025_19_13_17_10571.jpg', '/home/pi/Desktop/images/11042025/19/13/image_11042025_19_13_26_9367.jpg', '/home/pi/Desktop/images/11042025/19/13/image_11042025_19_13_37_10524.jpg', '/home/pi/Desktop/images/11042025/19/13/image_11042025_19_13_46_9351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/19/12/image_11042025_19_12_56_9359.jpg
/home/pi/Desktop/images/11042025/19/12/image_11042025_19_13_07_10380.jpg
/home/pi/Desktop/images/11042025/19/13/image_11042025_19_13_17_10571.jpg
/home/pi/Desktop/images/11042025/19/13/image_11042025_19_13_26_9367.jpg
/home/pi/Desktop/images/11042025/19/13/image_11042025_19_13_37_10524.jpg
/home/pi/Desktop/images/11042025/19/13/image_11042025_19_13_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":["1351883743","1351883892","1351883850","1351883967","1351883640","1351884071"],"photo_ids_order":["1351883640","1351883743","1351883850","1351883892","1351883967","1351884071"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c4f0a46580b5b36d0d31a9af37b7912b.jpg","text":"TemporaryFile(/tmp/multipartBody6318986571143317708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396953592,"filename":"image_11042025_19_13_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/11/afdb7ef01b0a55d02710d22d4f6cba4d.jpg","text":"TemporaryFile(/tmp/multipartBody9138423123165556435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396953592,"filename":"image_11042025_19_13_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/11/061c324594ee85e5824e6ee675e401fa.jpg","text":"TemporaryFile(/tmp/multipartBody2982776135656424264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396953592,"filename":"image_11042025_19_13_17_10571.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6df89694e3771c35dc0406ccbe75c60b.jpg","text":"TemporaryFile(/tmp/multipartBody9136426184996557379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396953592,"filename":"image_11042025_19_13_37_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/11/6d38894e0c72f00c3658d913b60f5fb1.jpg","text":"TemporaryFile(/tmp/multipartBody8401266659184717332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396953592,"filename":"image_11042025_19_12_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/11/b222799c5c6650cf091d18f2c881bfec.jpg","text":"TemporaryFile(/tmp/multipartBody1300534997146666893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744396953592,"filename":"image_11042025_19_13_46_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351883850","file1":"1351883743","file0":"1351883640","file4":"1351883967","file5":"1351884071","file3":"1351883892"},"map_files_photo_id_array":[{"photo_id":"1351884071","filename":"file5"},{"photo_id":"1351883850","filename":"file2"},{"photo_id":"1351883967","filename":"file4"},{"photo_id":"1351883743","filename":"file1"},{"photo_id":"1351883640","filename":"file0"},{"photo_id":"1351883892","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351883743":["hashtag1","hashtag2"]},{"1351883892":["hashtag1","hashtag2"]},{"1351883850":["hashtag1","hashtag2"]},{"1351883967":["hashtag1","hashtag2"]},{"1351883640":["hashtag1","hashtag2"]},{"1351884071":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351883743, 1351883892, 1351883850, 1351883967, 1351883640, 1351884071)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.362183570861816 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 20:42:33.288215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/19/13/image_11042025_19_13_57_10368.jpg', '/home/pi/Desktop/images/11042025/19/13/image_11042025_19_14_07_10360.jpg', '/home/pi/Desktop/images/11042025/19/14/image_11042025_19_14_17_9403.jpg', '/home/pi/Desktop/images/11042025/19/14/image_11042025_19_14_27_10369.jpg', '/home/pi/Desktop/images/11042025/19/14/image_11042025_19_14_36_9370.jpg', '/home/pi/Desktop/images/11042025/19/14/image_11042025_19_14_47_10448.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/19/13/image_11042025_19_13_57_10368.jpg
/home/pi/Desktop/images/11042025/19/13/image_11042025_19_14_07_10360.jpg
/home/pi/Desktop/images/11042025/19/14/image_11042025_19_14_17_9403.jpg
/home/pi/Desktop/images/11042025/19/14/image_11042025_19_14_27_10369.jpg
/home/pi/Desktop/images/11042025/19/14/image_11042025_19_14_36_9370.jpg
/home/pi/Desktop/images/11042025/19/14/image_11042025_19_14_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":["1351884730","1351884651","1351884753","1351884674","1351884659","1351884701"],"photo_ids_order":["1351884651","1351884659","1351884674","1351884701","1351884730","1351884753"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/14f3f927cd9fa662c0147b7b4a057326.jpg","text":"TemporaryFile(/tmp/multipartBody1415216080124945396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744397013744,"filename":"image_11042025_19_14_36_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d3dcb1dc8fdaf27f9267fd6572b5c254.jpg","text":"TemporaryFile(/tmp/multipartBody5629656610132404250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744397013744,"filename":"image_11042025_19_13_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/11/40001f89f5e312a6e633885aab40f037.jpg","text":"TemporaryFile(/tmp/multipartBody3252197510690685421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744397013744,"filename":"image_11042025_19_14_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/11/587c00db0948752aca874e89cfb504de.jpg","text":"TemporaryFile(/tmp/multipartBody6144269579282140521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744397013744,"filename":"image_11042025_19_14_17_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/11/b9d79397f92099df3a4257cdc719dc9a.jpg","text":"TemporaryFile(/tmp/multipartBody3907508285036427334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744397013744,"filename":"image_11042025_19_14_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/11/30af2745559cd5b0deee2feebe5f6f18.jpg","text":"TemporaryFile(/tmp/multipartBody2801520812791106824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744397013744,"filename":"image_11042025_19_14_27_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351884674","file1":"1351884659","file0":"1351884651","file4":"1351884730","file5":"1351884753","file3":"1351884701"},"map_files_photo_id_array":[{"photo_id":"1351884753","filename":"file5"},{"photo_id":"1351884674","filename":"file2"},{"photo_id":"1351884730","filename":"file4"},{"photo_id":"1351884659","filename":"file1"},{"photo_id":"1351884651","filename":"file0"},{"photo_id":"1351884701","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351884730":["hashtag1","hashtag2"]},{"1351884651":["hashtag1","hashtag2"]},{"1351884753":["hashtag1","hashtag2"]},{"1351884674":["hashtag1","hashtag2"]},{"1351884659":["hashtag1","hashtag2"]},{"1351884701":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351884730, 1351884651, 1351884753, 1351884674, 1351884659, 1351884701)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.0212779045105 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 20:43:32.432909
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/19/14/image_11042025_19_14_57_10380.jpg', '/home/pi/Desktop/images/11042025/19/14/image_11042025_19_15_06_9347.jpg', '/home/pi/Desktop/images/11042025/19/15/image_11042025_19_15_17_10352.jpg', '/home/pi/Desktop/images/11042025/19/15/image_11042025_19_15_26_9441.jpg', '/home/pi/Desktop/images/11042025/19/15/image_11042025_19_15_37_10372.jpg', '/home/pi/Desktop/images/11042025/19/15/image_11042025_19_15_47_10456.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/19/14/image_11042025_19_14_57_10380.jpg
/home/pi/Desktop/images/11042025/19/14/image_11042025_19_15_06_9347.jpg
/home/pi/Desktop/images/11042025/19/15/image_11042025_19_15_17_10352.jpg
/home/pi/Desktop/images/11042025/19/15/image_11042025_19_15_26_9441.jpg
/home/pi/Desktop/images/11042025/19/15/image_11042025_19_15_37_10372.jpg
/home/pi/Desktop/images/11042025/19/15/image_11042025_19_15_47_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":["1351885080","1351885056","1351884983","1351884947","1351885124","1351885027"],"photo_ids_order":["1351884947","1351884983","1351885027","1351885056","1351885080","1351885124"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/cea0c4961f908e7e6ffe2a5ef79a6f27.jpg","text":"TemporaryFile(/tmp/multipartBody8318230798504775786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744397072901,"filename":"image_11042025_19_15_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/11/f42f7ec888d818947938b524efdd392d.jpg","text":"TemporaryFile(/tmp/multipartBody819859449526263980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744397072901,"filename":"image_11042025_19_15_26_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d88e475066f276aaeefa05812bbb3183.jpg","text":"TemporaryFile(/tmp/multipartBody8858156925525590325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744397072901,"filename":"image_11042025_19_15_06_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9fa4f6f82c4ecfa941d98f059bc62fa3.jpg","text":"TemporaryFile(/tmp/multipartBody7254222985277771251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744397072901,"filename":"image_11042025_19_14_57_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7517beb719243afe1de937472691b991.jpg","text":"TemporaryFile(/tmp/multipartBody340809509478640712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744397072901,"filename":"image_11042025_19_15_47_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f60c9ebadc7ca30442b475045706b345.jpg","text":"TemporaryFile(/tmp/multipartBody8831884184789026978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744397072901,"filename":"image_11042025_19_15_17_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351885027","file1":"1351884983","file0":"1351884947","file4":"1351885080","file5":"1351885124","file3":"1351885056"},"map_files_photo_id_array":[{"photo_id":"1351885124","filename":"file5"},{"photo_id":"1351885027","filename":"file2"},{"photo_id":"1351885080","filename":"file4"},{"photo_id":"1351884983","filename":"file1"},{"photo_id":"1351884947","filename":"file0"},{"photo_id":"1351885056","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351885080":["hashtag1","hashtag2"]},{"1351885056":["hashtag1","hashtag2"]},{"1351884983":["hashtag1","hashtag2"]},{"1351884947":["hashtag1","hashtag2"]},{"1351885124":["hashtag1","hashtag2"]},{"1351885027":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351885080, 1351885056, 1351884983, 1351884947, 1351885124, 1351885027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.32948303222656 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 20:44:32.582348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/19/15/image_11042025_19_15_56_9450.jpg', '/home/pi/Desktop/images/11042025/19/15/image_11042025_19_16_07_10380.jpg', '/home/pi/Desktop/images/11042025/19/16/image_11042025_19_16_27_10367.jpg', '/home/pi/Desktop/images/11042025/19/16/image_11042025_19_16_37_10441.jpg', '/home/pi/Desktop/images/11042025/19/16/image_11042025_19_16_46_9430.jpg', '/home/pi/Desktop/images/11042025/19/16/image_11042025_19_16_57_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/19/15/image_11042025_19_15_56_9450.jpg
/home/pi/Desktop/images/11042025/19/15/image_11042025_19_16_07_10380.jpg
/home/pi/Desktop/images/11042025/19/16/image_11042025_19_16_27_10367.jpg
/home/pi/Desktop/images/11042025/19/16/image_11042025_19_16_37_10441.jpg
/home/pi/Desktop/images/11042025/19/16/image_11042025_19_16_46_9430.jpg
/home/pi/Desktop/images/11042025/19/16/image_11042025_19_16_57_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":["1351885470","1351885430","1351885366","1351885501","1351885525","1351885405"],"photo_ids_order":["1351885366","1351885405","1351885430","1351885470","1351885501","1351885525"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8ec4cfbf1b32d7aa26451228b659937b.jpg","text":"TemporaryFile(/tmp/multipartBody4590531841176540050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744397133043,"filename":"image_11042025_19_16_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/11/c852fef07142fdbe8cc7fb7466f64614.jpg","text":"TemporaryFile(/tmp/multipartBody5578979344147262606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744397133043,"filename":"image_11042025_19_16_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/11/438907043d2a15c490e0cf36f5a94c86.jpg","text":"TemporaryFile(/tmp/multipartBody5107454842924004973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744397133043,"filename":"image_11042025_19_15_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/11/9f35dc9ab0fe54b74f509fb2b1691fd4.jpg","text":"TemporaryFile(/tmp/multipartBody5769950532728337854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744397133043,"filename":"image_11042025_19_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/11/b3bf5d5c0ec3d29e857663896593f79d.jpg","text":"TemporaryFile(/tmp/multipartBody801379135473208324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744397133043,"filename":"image_11042025_19_16_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/11/6727997b82d1791cbd7325256299501b.jpg","text":"TemporaryFile(/tmp/multipartBody8467676395772274738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744397133043,"filename":"image_11042025_19_16_07_10380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351885430","file1":"1351885405","file0":"1351885366","file4":"1351885501","file5":"1351885525","file3":"1351885470"},"map_files_photo_id_array":[{"photo_id":"1351885525","filename":"file5"},{"photo_id":"1351885430","filename":"file2"},{"photo_id":"1351885501","filename":"file4"},{"photo_id":"1351885405","filename":"file1"},{"photo_id":"1351885366","filename":"file0"},{"photo_id":"1351885470","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351885470":["hashtag1","hashtag2"]},{"1351885430":["hashtag1","hashtag2"]},{"1351885366":["hashtag1","hashtag2"]},{"1351885501":["hashtag1","hashtag2"]},{"1351885525":["hashtag1","hashtag2"]},{"1351885405":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351885470, 1351885430, 1351885366, 1351885501, 1351885525, 1351885405)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.885815143585205 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 20:45:32.803386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/19/16/image_11042025_19_17_06_9400.jpg', '/home/pi/Desktop/images/11042025/19/17/image_11042025_19_17_17_10362.jpg', '/home/pi/Desktop/images/11042025/19/17/image_11042025_19_17_27_10430.jpg', '/home/pi/Desktop/images/11042025/19/17/image_11042025_19_17_36_9372.jpg', '/home/pi/Desktop/images/11042025/19/17/image_11042025_19_17_47_10354.jpg', '/home/pi/Desktop/images/11042025/19/17/image_11042025_19_17_56_9443.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/19/16/image_11042025_19_17_06_9400.jpg
/home/pi/Desktop/images/11042025/19/17/image_11042025_19_17_17_10362.jpg
/home/pi/Desktop/images/11042025/19/17/image_11042025_19_17_27_10430.jpg
/home/pi/Desktop/images/11042025/19/17/image_11042025_19_17_36_9372.jpg
/home/pi/Desktop/images/11042025/19/17/image_11042025_19_17_47_10354.jpg
/home/pi/Desktop/images/11042025/19/17/image_11042025_19_17_56_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":["1351885623","1351885748","1351885721","1351885696","1351885672","1351885642"],"photo_ids_order":["1351885623","1351885642","1351885672","1351885696","1351885721","1351885748"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f0fcf01be3a0b38bcd1063f52e1fbc5a.jpg","text":"TemporaryFile(/tmp/multipartBody1901527710494045970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744397193271,"filename":"image_11042025_19_17_06_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ab5799d3a877045f8440e287140fbceb.jpg","text":"TemporaryFile(/tmp/multipartBody6293378118286879583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744397193271,"filename":"image_11042025_19_17_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/11/17b66c75f9096d6d279ff14f1f9dcd00.jpg","text":"TemporaryFile(/tmp/multipartBody3197382489332963230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744397193271,"filename":"image_11042025_19_17_47_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d059070986fdd25e7219ab79a3c2bf33.jpg","text":"TemporaryFile(/tmp/multipartBody579371547380122638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744397193271,"filename":"image_11042025_19_17_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/11/3f44056c6d416a4ffab31a06ea401701.jpg","text":"TemporaryFile(/tmp/multipartBody4528799140878901104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744397193271,"filename":"image_11042025_19_17_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/11/5da1944009962fc501c88d1c242208db.jpg","text":"TemporaryFile(/tmp/multipartBody835920640093467254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744397193271,"filename":"image_11042025_19_17_17_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351885672","file1":"1351885642","file0":"1351885623","file4":"1351885721","file5":"1351885748","file3":"1351885696"},"map_files_photo_id_array":[{"photo_id":"1351885748","filename":"file5"},{"photo_id":"1351885672","filename":"file2"},{"photo_id":"1351885721","filename":"file4"},{"photo_id":"1351885642","filename":"file1"},{"photo_id":"1351885623","filename":"file0"},{"photo_id":"1351885696","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351885623":["hashtag1","hashtag2"]},{"1351885748":["hashtag1","hashtag2"]},{"1351885721":["hashtag1","hashtag2"]},{"1351885696":["hashtag1","hashtag2"]},{"1351885672":["hashtag1","hashtag2"]},{"1351885642":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351885623, 1351885748, 1351885721, 1351885696, 1351885672, 1351885642)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.29268741607666 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 20:46:33.026878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/19/17/image_11042025_19_18_07_10358.jpg', '/home/pi/Desktop/images/11042025/19/18/image_11042025_19_18_17_10421.jpg', '/home/pi/Desktop/images/11042025/19/18/image_11042025_19_18_26_9381.jpg', '/home/pi/Desktop/images/11042025/19/18/image_11042025_19_18_37_10372.jpg', '/home/pi/Desktop/images/11042025/19/18/image_11042025_19_18_46_9371.jpg', '/home/pi/Desktop/images/11042025/19/18/image_11042025_19_18_57_10378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/19/17/image_11042025_19_18_07_10358.jpg
/home/pi/Desktop/images/11042025/19/18/image_11042025_19_18_17_10421.jpg
/home/pi/Desktop/images/11042025/19/18/image_11042025_19_18_26_9381.jpg
/home/pi/Desktop/images/11042025/19/18/image_11042025_19_18_37_10372.jpg
/home/pi/Desktop/images/11042025/19/18/image_11042025_19_18_46_9371.jpg
/home/pi/Desktop/images/11042025/19/18/image_11042025_19_18_57_10378.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351885980","1351885947","1351885923","1351885967","1351885990","1351886029"],"photo_ids_order":["1351885923","1351885947","1351885967","1351885980","1351885990","1351886029"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7db279f2324be338d3779058d16c13b5.jpg","text":"TemporaryFile(/tmp/multipartBody1439181362568418888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744397253487,"filename":"image_11042025_19_18_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/11/11dc132ade519c81e381c063ddf2d5bc.jpg","text":"TemporaryFile(/tmp/multipartBody501390587548937885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744397253487,"filename":"image_11042025_19_18_17_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6f80db91ad1c54623585a5bcf7ec9faa.jpg","text":"TemporaryFile(/tmp/multipartBody6038235939348949845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744397253487,"filename":"image_11042025_19_18_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/11/34ba1e9d028ddbda2773d6ed2305fbca.jpg","text":"TemporaryFile(/tmp/multipartBody6104469320551864426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744397253487,"filename":"image_11042025_19_18_26_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/91253889aaa8fb1bbec88f8564f608fa.jpg","text":"TemporaryFile(/tmp/multipartBody4100736740437002492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744397253487,"filename":"image_11042025_19_18_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/11/ed00b1524980b576e79c84886cbf0112.jpg","text":"TemporaryFile(/tmp/multipartBody3754100692393574444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744397253487,"filename":"image_11042025_19_18_57_10378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351885967","file1":"1351885947","file0":"1351885923","file4":"1351885990","file5":"1351886029","file3":"1351885980"},"map_files_photo_id_array":[{"photo_id":"1351886029","filename":"file5"},{"photo_id":"1351885967","filename":"file2"},{"photo_id":"1351885990","filename":"file4"},{"photo_id":"1351885947","filename":"file1"},{"photo_id":"1351885923","filename":"file0"},{"photo_id":"1351885980","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351885980":["hashtag1","hashtag2"]},{"1351885947":["hashtag1","hashtag2"]},{"1351885923":["hashtag1","hashtag2"]},{"1351885967":["hashtag1","hashtag2"]},{"1351885990":["hashtag1","hashtag2"]},{"1351886029":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351885980, 1351885947, 1351885923, 1351885967, 1351885990, 1351886029)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.65400218963623 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 20:47:32.298800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/19/18/image_11042025_19_19_07_10347.jpg', '/home/pi/Desktop/images/11042025/19/19/image_11042025_19_19_16_9433.jpg', '/home/pi/Desktop/images/11042025/19/19/image_11042025_19_19_27_10372.jpg', '/home/pi/Desktop/images/11042025/19/19/image_11042025_19_19_36_9490.jpg', '/home/pi/Desktop/images/11042025/19/19/image_11042025_19_19_47_10350.jpg', '/home/pi/Desktop/images/11042025/19/19/image_11042025_19_19_57_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/19/18/image_11042025_19_19_07_10347.jpg
/home/pi/Desktop/images/11042025/19/19/image_11042025_19_19_16_9433.jpg
/home/pi/Desktop/images/11042025/19/19/image_11042025_19_19_27_10372.jpg
/home/pi/Desktop/images/11042025/19/19/image_11042025_19_19_36_9490.jpg
/home/pi/Desktop/images/11042025/19/19/image_11042025_19_19_47_10350.jpg
/home/pi/Desktop/images/11042025/19/19/image_11042025_19_19_57_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":["1351886226","1351886214","1351886208","1351886238","1351886159","1351886242"],"photo_ids_order":["1351886159","1351886208","1351886214","1351886226","1351886238","1351886242"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a5153cee806f2cfee2bed460b5005477.jpg","text":"TemporaryFile(/tmp/multipartBody3709655270773376676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744397312758,"filename":"image_11042025_19_19_36_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/11/d1e87d9a1afb09a28afd5e8b2b67a834.jpg","text":"TemporaryFile(/tmp/multipartBody3414740623070870154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744397312758,"filename":"image_11042025_19_19_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/11/146d4b0a6854cc20f0e82611740fc71a.jpg","text":"TemporaryFile(/tmp/multipartBody3091806771267301683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744397312758,"filename":"image_11042025_19_19_16_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a304e43625c3a0693bd9a309f384760d.jpg","text":"TemporaryFile(/tmp/multipartBody5801219583399495731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744397312758,"filename":"image_11042025_19_19_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/11/167f3bece57574c0f11091837a5fd0fe.jpg","text":"TemporaryFile(/tmp/multipartBody2460330843623132954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744397312758,"filename":"image_11042025_19_19_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/11/5665326bad28261b3d9430dfa5a0d9d2.jpg","text":"TemporaryFile(/tmp/multipartBody7659125785061628846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744397312758,"filename":"image_11042025_19_19_57_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351886214","file1":"1351886208","file0":"1351886159","file4":"1351886238","file5":"1351886242","file3":"1351886226"},"map_files_photo_id_array":[{"photo_id":"1351886242","filename":"file5"},{"photo_id":"1351886214","filename":"file2"},{"photo_id":"1351886238","filename":"file4"},{"photo_id":"1351886208","filename":"file1"},{"photo_id":"1351886159","filename":"file0"},{"photo_id":"1351886226","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351886226":["hashtag1","hashtag2"]},{"1351886214":["hashtag1","hashtag2"]},{"1351886208":["hashtag1","hashtag2"]},{"1351886238":["hashtag1","hashtag2"]},{"1351886159":["hashtag1","hashtag2"]},{"1351886242":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351886226, 1351886214, 1351886208, 1351886238, 1351886159, 1351886242)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.763670206069946 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 20:48:32.445891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/19/19/image_11042025_19_20_06_9453.jpg', '/home/pi/Desktop/images/11042025/19/20/image_11042025_19_20_17_10375.jpg', '/home/pi/Desktop/images/11042025/19/20/image_11042025_19_20_27_10426.jpg', '/home/pi/Desktop/images/11042025/19/20/image_11042025_19_20_37_9423.jpg', '/home/pi/Desktop/images/11042025/19/20/image_11042025_19_20_47_10356.jpg', '/home/pi/Desktop/images/11042025/19/20/image_11042025_19_21_07_10345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/19/19/image_11042025_19_20_06_9453.jpg
/home/pi/Desktop/images/11042025/19/20/image_11042025_19_20_17_10375.jpg
/home/pi/Desktop/images/11042025/19/20/image_11042025_19_20_27_10426.jpg
/home/pi/Desktop/images/11042025/19/20/image_11042025_19_20_37_9423.jpg
/home/pi/Desktop/images/11042025/19/20/image_11042025_19_20_47_10356.jpg
/home/pi/Desktop/images/11042025/19/20/image_11042025_19_21_07_10345.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.37299180030822754 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 20:48:42.467971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/19/19/image_11042025_19_20_06_9453.jpg', '/home/pi/Desktop/images/11042025/19/20/image_11042025_19_20_17_10375.jpg', '/home/pi/Desktop/images/11042025/19/20/image_11042025_19_20_27_10426.jpg', '/home/pi/Desktop/images/11042025/19/20/image_11042025_19_20_37_9423.jpg', '/home/pi/Desktop/images/11042025/19/20/image_11042025_19_20_47_10356.jpg', '/home/pi/Desktop/images/11042025/19/20/image_11042025_19_21_07_10345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/19/19/image_11042025_19_20_06_9453.jpg
/home/pi/Desktop/images/11042025/19/20/image_11042025_19_20_17_10375.jpg
/home/pi/Desktop/images/11042025/19/20/image_11042025_19_20_27_10426.jpg
/home/pi/Desktop/images/11042025/19/20/image_11042025_19_20_37_9423.jpg
/home/pi/Desktop/images/11042025/19/20/image_11042025_19_20_47_10356.jpg
/home/pi/Desktop/images/11042025/19/20/image_11042025_19_21_07_10345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351886648","1351886689","1351886599","1351886566","1351886539","1351886716"],"photo_ids_order":["1351886539","1351886566","1351886599","1351886648","1351886689","1351886716"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e29ff30ff61f66c4d8defeda4af28ebd.jpg","text":"TemporaryFile(/tmp/multipartBody6360621085745544761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744397382935,"filename":"image_11042025_19_20_37_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/11/9aadbe672bf507ba9ad1ed2c442acc22.jpg","text":"TemporaryFile(/tmp/multipartBody3968641233866283266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744397382935,"filename":"image_11042025_19_20_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/11/e46895f39972c6778519309c5be102a9.jpg","text":"TemporaryFile(/tmp/multipartBody5392428360251573062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744397382935,"filename":"image_11042025_19_20_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/11/41769f9ebd4b4c0f8047830ab919349e.jpg","text":"TemporaryFile(/tmp/multipartBody5627904446720993879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744397382935,"filename":"image_11042025_19_20_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/11/1f9275a2998101cbba71f7396c88f406.jpg","text":"TemporaryFile(/tmp/multipartBody675204219494271940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744397382935,"filename":"image_11042025_19_20_06_9453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0a731c10d657aec9f986454cc71522f3.jpg","text":"TemporaryFile(/tmp/multipartBody6078819704492732243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744397382935,"filename":"image_11042025_19_21_07_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351886599","file1":"1351886566","file0":"1351886539","file4":"1351886689","file5":"1351886716","file3":"1351886648"},"map_files_photo_id_array":[{"photo_id":"1351886716","filename":"file5"},{"photo_id":"1351886599","filename":"file2"},{"photo_id":"1351886689","filename":"file4"},{"photo_id":"1351886566","filename":"file1"},{"photo_id":"1351886539","filename":"file0"},{"photo_id":"1351886648","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351886648":["hashtag1","hashtag2"]},{"1351886689":["hashtag1","hashtag2"]},{"1351886599":["hashtag1","hashtag2"]},{"1351886566":["hashtag1","hashtag2"]},{"1351886539":["hashtag1","hashtag2"]},{"1351886716":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351886648, 1351886689, 1351886599, 1351886566, 1351886539, 1351886716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.292715549468994 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 20:49:32.644151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/19/21/image_11042025_19_21_17_10455.jpg', '/home/pi/Desktop/images/11042025/19/21/image_11042025_19_21_26_9349.jpg', '/home/pi/Desktop/images/11042025/19/21/image_11042025_19_21_37_10364.jpg', '/home/pi/Desktop/images/11042025/19/21/image_11042025_19_21_46_9470.jpg', '/home/pi/Desktop/images/11042025/19/21/image_11042025_19_21_57_10350.jpg', '/home/pi/Desktop/images/11042025/19/21/image_11042025_19_22_07_10454.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/19/21/image_11042025_19_21_17_10455.jpg
/home/pi/Desktop/images/11042025/19/21/image_11042025_19_21_26_9349.jpg
/home/pi/Desktop/images/11042025/19/21/image_11042025_19_21_37_10364.jpg
/home/pi/Desktop/images/11042025/19/21/image_11042025_19_21_46_9470.jpg
/home/pi/Desktop/images/11042025/19/21/image_11042025_19_21_57_10350.jpg
/home/pi/Desktop/images/11042025/19/21/image_11042025_19_22_07_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":["1351886913","1351887196","1351887178","1351887160","1351887103","1351886941"],"photo_ids_order":["1351886913","1351886941","1351887103","1351887160","1351887178","1351887196"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e7463e86943bd0941e8e03a8fd0a3996.jpg","text":"TemporaryFile(/tmp/multipartBody7436412064915505869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744397433107,"filename":"image_11042025_19_21_17_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/11/8226f0d12b854ede149a4a8d5d384e39.jpg","text":"TemporaryFile(/tmp/multipartBody1548579909284417148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744397433107,"filename":"image_11042025_19_22_07_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/11/6786ac32bd2fc281285c63bd60c1d665.jpg","text":"TemporaryFile(/tmp/multipartBody6817626994431989476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744397433107,"filename":"image_11042025_19_21_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/11/b4a77822cdbae5da02726cd7962d6010.jpg","text":"TemporaryFile(/tmp/multipartBody6236273867112825937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744397433107,"filename":"image_11042025_19_21_46_9470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/fd5c487e6d984cff0763a030715e0687.jpg","text":"TemporaryFile(/tmp/multipartBody4274404010336505291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744397433107,"filename":"image_11042025_19_21_37_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/be302599b477f774660c2975149728a5.jpg","text":"TemporaryFile(/tmp/multipartBody4515236329783347568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744397433107,"filename":"image_11042025_19_21_26_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351887103","file1":"1351886941","file0":"1351886913","file4":"1351887178","file5":"1351887196","file3":"1351887160"},"map_files_photo_id_array":[{"photo_id":"1351887196","filename":"file5"},{"photo_id":"1351887103","filename":"file2"},{"photo_id":"1351887178","filename":"file4"},{"photo_id":"1351886941","filename":"file1"},{"photo_id":"1351886913","filename":"file0"},{"photo_id":"1351887160","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351886913":["hashtag1","hashtag2"]},{"1351887196":["hashtag1","hashtag2"]},{"1351887178":["hashtag1","hashtag2"]},{"1351887160":["hashtag1","hashtag2"]},{"1351887103":["hashtag1","hashtag2"]},{"1351886941":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351886913, 1351887196, 1351887178, 1351887160, 1351887103, 1351886941)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.69729924201965 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 20:50:34.465341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/19/22/image_11042025_19_22_16_9369.jpg', '/home/pi/Desktop/images/11042025/19/22/image_11042025_19_22_26_9960.jpg', '/home/pi/Desktop/images/11042025/19/22/image_11042025_19_22_37_10361.jpg', '/home/pi/Desktop/images/11042025/19/22/image_11042025_19_22_46_9508.jpg', '/home/pi/Desktop/images/11042025/19/22/image_11042025_19_22_57_10345.jpg', '/home/pi/Desktop/images/11042025/19/22/image_11042025_19_23_07_10423.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/19/22/image_11042025_19_22_16_9369.jpg
/home/pi/Desktop/images/11042025/19/22/image_11042025_19_22_26_9960.jpg
/home/pi/Desktop/images/11042025/19/22/image_11042025_19_22_37_10361.jpg
/home/pi/Desktop/images/11042025/19/22/image_11042025_19_22_46_9508.jpg
/home/pi/Desktop/images/11042025/19/22/image_11042025_19_22_57_10345.jpg
/home/pi/Desktop/images/11042025/19/22/image_11042025_19_23_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":["1351887368","1351887416","1351887396","1351887402","1351887303","1351887327"],"photo_ids_order":["1351887303","1351887327","1351887368","1351887396","1351887402","1351887416"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e3ecd7f18cc42e5a4554e3b13a406d2b.jpg","text":"TemporaryFile(/tmp/multipartBody4924888780665614891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744397494918,"filename":"image_11042025_19_22_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/11/b2634575c46c42e5919afebd7e136eeb.jpg","text":"TemporaryFile(/tmp/multipartBody8894659958662000445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744397494918,"filename":"image_11042025_19_23_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/11/78557887cfde6001fec0ed9c113e932e.jpg","text":"TemporaryFile(/tmp/multipartBody7151589370496192251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744397494918,"filename":"image_11042025_19_22_46_9508.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5308dafd1ec2971554de07c0a35c4b5a.jpg","text":"TemporaryFile(/tmp/multipartBody7390122145234000166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744397494918,"filename":"image_11042025_19_22_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/11/d4ccfb1303a3c9a79e993bcdedc47956.jpg","text":"TemporaryFile(/tmp/multipartBody7340392063080841808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744397494918,"filename":"image_11042025_19_22_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/11/5f2e07bb95834a9d65e84cb29d82ccf1.jpg","text":"TemporaryFile(/tmp/multipartBody8956299412703877888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744397494918,"filename":"image_11042025_19_22_26_9960.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351887368","file1":"1351887327","file0":"1351887303","file4":"1351887402","file5":"1351887416","file3":"1351887396"},"map_files_photo_id_array":[{"photo_id":"1351887416","filename":"file5"},{"photo_id":"1351887368","filename":"file2"},{"photo_id":"1351887402","filename":"file4"},{"photo_id":"1351887327","filename":"file1"},{"photo_id":"1351887303","filename":"file0"},{"photo_id":"1351887396","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351887368":["hashtag1","hashtag2"]},{"1351887416":["hashtag1","hashtag2"]},{"1351887396":["hashtag1","hashtag2"]},{"1351887402":["hashtag1","hashtag2"]},{"1351887303":["hashtag1","hashtag2"]},{"1351887327":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351887368, 1351887416, 1351887396, 1351887402, 1351887303, 1351887327)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.58304715156555 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 20:51:32.828519
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/19/23/image_11042025_19_23_16_9352.jpg', '/home/pi/Desktop/images/11042025/19/23/image_11042025_19_23_27_10452.jpg', '/home/pi/Desktop/images/11042025/19/23/image_11042025_19_23_36_9440.jpg', '/home/pi/Desktop/images/11042025/19/23/image_11042025_19_23_47_10353.jpg', '/home/pi/Desktop/images/11042025/19/23/image_11042025_19_23_57_10500.jpg', '/home/pi/Desktop/images/11042025/19/23/image_11042025_19_24_06_9334.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/19/23/image_11042025_19_23_16_9352.jpg
/home/pi/Desktop/images/11042025/19/23/image_11042025_19_23_27_10452.jpg
/home/pi/Desktop/images/11042025/19/23/image_11042025_19_23_36_9440.jpg
/home/pi/Desktop/images/11042025/19/23/image_11042025_19_23_47_10353.jpg
/home/pi/Desktop/images/11042025/19/23/image_11042025_19_23_57_10500.jpg
/home/pi/Desktop/images/11042025/19/23/image_11042025_19_24_06_9334.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351887491","1351887566","1351887538","1351887439","1351887514","1351887465"],"photo_ids_order":["1351887439","1351887465","1351887491","1351887514","1351887538","1351887566"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/fc0ac17b799e115f0f0da1388bfa7f08.jpg","text":"TemporaryFile(/tmp/multipartBody2128386055563316605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744397553290,"filename":"image_11042025_19_23_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/11/0929e91629e779187539d6d83675238f.jpg","text":"TemporaryFile(/tmp/multipartBody361171687829979567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744397553290,"filename":"image_11042025_19_24_06_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d1dbb7aafafc6766fb2d258292fc9873.jpg","text":"TemporaryFile(/tmp/multipartBody7648905157255848239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744397553290,"filename":"image_11042025_19_23_57_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/11/4ac765667f8095787711ae9c97eaa584.jpg","text":"TemporaryFile(/tmp/multipartBody7683253797236254414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744397553290,"filename":"image_11042025_19_23_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/11/bf7c0762766e34db7a1aa3d9e00ca2b0.jpg","text":"TemporaryFile(/tmp/multipartBody1123476437705404942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744397553290,"filename":"image_11042025_19_23_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/11/8b19349b9ed64d0ef5d1ddbddf33f018.jpg","text":"TemporaryFile(/tmp/multipartBody2195218163076196193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744397553290,"filename":"image_11042025_19_23_27_10452.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351887491","file1":"1351887465","file0":"1351887439","file4":"1351887538","file5":"1351887566","file3":"1351887514"},"map_files_photo_id_array":[{"photo_id":"1351887566","filename":"file5"},{"photo_id":"1351887491","filename":"file2"},{"photo_id":"1351887538","filename":"file4"},{"photo_id":"1351887465","filename":"file1"},{"photo_id":"1351887439","filename":"file0"},{"photo_id":"1351887514","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351887491":["hashtag1","hashtag2"]},{"1351887566":["hashtag1","hashtag2"]},{"1351887538":["hashtag1","hashtag2"]},{"1351887439":["hashtag1","hashtag2"]},{"1351887514":["hashtag1","hashtag2"]},{"1351887465":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351887491, 1351887566, 1351887538, 1351887439, 1351887514, 1351887465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.058998823165894 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 20:52:33.052636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/19/24/image_11042025_19_24_17_10343.jpg', '/home/pi/Desktop/images/11042025/19/24/image_11042025_19_24_26_9448.jpg', '/home/pi/Desktop/images/11042025/19/24/image_11042025_19_24_37_10382.jpg', '/home/pi/Desktop/images/11042025/19/24/image_11042025_19_24_47_10472.jpg', '/home/pi/Desktop/images/11042025/19/24/image_11042025_19_24_56_9351.jpg', '/home/pi/Desktop/images/11042025/19/24/image_11042025_19_25_07_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/19/24/image_11042025_19_24_17_10343.jpg
/home/pi/Desktop/images/11042025/19/24/image_11042025_19_24_26_9448.jpg
/home/pi/Desktop/images/11042025/19/24/image_11042025_19_24_37_10382.jpg
/home/pi/Desktop/images/11042025/19/24/image_11042025_19_24_47_10472.jpg
/home/pi/Desktop/images/11042025/19/24/image_11042025_19_24_56_9351.jpg
/home/pi/Desktop/images/11042025/19/24/image_11042025_19_25_07_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":["1351887719","1351887691","1351887727","1351887732","1351887735","1351887723"],"photo_ids_order":["1351887691","1351887719","1351887723","1351887727","1351887732","1351887735"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c27609a0dc750af3f1dabe0dfbe54b32.jpg","text":"TemporaryFile(/tmp/multipartBody888946165877836837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744397613511,"filename":"image_11042025_19_24_26_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/23aa9c513ae0282cf4b9d806ff0fbc3b.jpg","text":"TemporaryFile(/tmp/multipartBody5360561479067948349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744397613511,"filename":"image_11042025_19_24_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/11/b57ec7453b5746ff72d9cf7c1ef07add.jpg","text":"TemporaryFile(/tmp/multipartBody7026363489018767929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744397613511,"filename":"image_11042025_19_24_47_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/fbfd6e00900d21f9460318f58165dbd0.jpg","text":"TemporaryFile(/tmp/multipartBody3416130937584733551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744397613511,"filename":"image_11042025_19_24_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/11/04f20721eb7bc4e8356d5404431d75cb.jpg","text":"TemporaryFile(/tmp/multipartBody976051364008734617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744397613511,"filename":"image_11042025_19_25_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/11/05694a84ca5751e0fbed69bb0ee0d07b.jpg","text":"TemporaryFile(/tmp/multipartBody4024717865027905706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744397613511,"filename":"image_11042025_19_24_37_10382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351887723","file1":"1351887719","file0":"1351887691","file4":"1351887732","file5":"1351887735","file3":"1351887727"},"map_files_photo_id_array":[{"photo_id":"1351887735","filename":"file5"},{"photo_id":"1351887723","filename":"file2"},{"photo_id":"1351887732","filename":"file4"},{"photo_id":"1351887719","filename":"file1"},{"photo_id":"1351887691","filename":"file0"},{"photo_id":"1351887727","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351887719":["hashtag1","hashtag2"]},{"1351887691":["hashtag1","hashtag2"]},{"1351887727":["hashtag1","hashtag2"]},{"1351887732":["hashtag1","hashtag2"]},{"1351887735":["hashtag1","hashtag2"]},{"1351887723":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351887719, 1351887691, 1351887727, 1351887732, 1351887735, 1351887723)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.746267795562744 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 20:53:32.291249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/19/25/image_11042025_19_25_16_9436.jpg', '/home/pi/Desktop/images/11042025/19/25/image_11042025_19_25_27_10352.jpg', '/home/pi/Desktop/images/11042025/19/25/image_11042025_19_25_37_10460.jpg', '/home/pi/Desktop/images/11042025/19/25/image_11042025_19_25_57_10364.jpg', '/home/pi/Desktop/images/11042025/19/26/image_11042025_19_26_17_10379.jpg', '/home/pi/Desktop/images/11042025/19/26/image_11042025_19_26_27_10400.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/19/25/image_11042025_19_25_16_9436.jpg
/home/pi/Desktop/images/11042025/19/25/image_11042025_19_25_27_10352.jpg
/home/pi/Desktop/images/11042025/19/25/image_11042025_19_25_37_10460.jpg
/home/pi/Desktop/images/11042025/19/25/image_11042025_19_25_57_10364.jpg
/home/pi/Desktop/images/11042025/19/26/image_11042025_19_26_17_10379.jpg
/home/pi/Desktop/images/11042025/19/26/image_11042025_19_26_27_10400.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":["1351887851","1351887799","1351888089","1351888035","1351887972","1351887942"],"photo_ids_order":["1351887799","1351887851","1351887942","1351887972","1351888035","1351888089"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2a799328eeb3907bf83257edea510263.jpg","text":"TemporaryFile(/tmp/multipartBody1738549548379309698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744397672751,"filename":"image_11042025_19_25_27_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a24c46d8b684f83955bb968e43ed0100.jpg","text":"TemporaryFile(/tmp/multipartBody7021169769464333817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744397672751,"filename":"image_11042025_19_25_16_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/093dd44ca47a5c52016b87d4517efe1a.jpg","text":"TemporaryFile(/tmp/multipartBody3586318280259488873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744397672751,"filename":"image_11042025_19_26_27_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/42afb7f92dfd1bb76cfae7b1c444e8d8.jpg","text":"TemporaryFile(/tmp/multipartBody3368236299660508474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744397672751,"filename":"image_11042025_19_26_17_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/860204b023251675426f4a19540d93ad.jpg","text":"TemporaryFile(/tmp/multipartBody5977975868481300170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744397672751,"filename":"image_11042025_19_25_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/11/f719aae8cc7ac4fa8dcb78f29d5e73f5.jpg","text":"TemporaryFile(/tmp/multipartBody5709478459601218944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744397672751,"filename":"image_11042025_19_25_37_10460.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351887942","file1":"1351887851","file0":"1351887799","file4":"1351888035","file5":"1351888089","file3":"1351887972"},"map_files_photo_id_array":[{"photo_id":"1351888089","filename":"file5"},{"photo_id":"1351887942","filename":"file2"},{"photo_id":"1351888035","filename":"file4"},{"photo_id":"1351887851","filename":"file1"},{"photo_id":"1351887799","filename":"file0"},{"photo_id":"1351887972","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351887851":["hashtag1","hashtag2"]},{"1351887799":["hashtag1","hashtag2"]},{"1351888089":["hashtag1","hashtag2"]},{"1351888035":["hashtag1","hashtag2"]},{"1351887972":["hashtag1","hashtag2"]},{"1351887942":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351887851, 1351887799, 1351888089, 1351888035, 1351887972, 1351887942)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.17059087753296 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 20:54:42.478846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/19/26/image_11042025_19_26_36_9402.jpg', '/home/pi/Desktop/images/11042025/19/26/image_11042025_19_26_56_9396.jpg', '/home/pi/Desktop/images/11042025/19/26/image_11042025_19_27_06_10353.jpg', '/home/pi/Desktop/images/11042025/19/27/image_11042025_19_27_17_10347.jpg', '/home/pi/Desktop/images/11042025/19/27/image_11042025_19_27_47_10370.jpg', '/home/pi/Desktop/images/11042025/19/27/image_11042025_19_27_56_9484.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/19/26/image_11042025_19_26_36_9402.jpg
/home/pi/Desktop/images/11042025/19/26/image_11042025_19_26_56_9396.jpg
/home/pi/Desktop/images/11042025/19/26/image_11042025_19_27_06_10353.jpg
/home/pi/Desktop/images/11042025/19/27/image_11042025_19_27_17_10347.jpg
/home/pi/Desktop/images/11042025/19/27/image_11042025_19_27_47_10370.jpg
/home/pi/Desktop/images/11042025/19/27/image_11042025_19_27_56_9484.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351888291","1351888321","1351888303","1351888225","1351888257","1351888175"],"photo_ids_order":["1351888175","1351888225","1351888257","1351888291","1351888303","1351888321"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d0f3fb32b30366fc197121ce46645a98.jpg","text":"TemporaryFile(/tmp/multipartBody4240317212003017665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744397742946,"filename":"image_11042025_19_27_17_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/eda14338443458cb3555ba9dd280827f.jpg","text":"TemporaryFile(/tmp/multipartBody6615231616163932932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744397742946,"filename":"image_11042025_19_27_56_9484.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/abeb6447e4b7adfe4401bf4569d2ada0.jpg","text":"TemporaryFile(/tmp/multipartBody1933578269410441193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744397742946,"filename":"image_11042025_19_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/11/3a84c0622278aa3a49d168a8ad88c74f.jpg","text":"TemporaryFile(/tmp/multipartBody717497640856801856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744397742946,"filename":"image_11042025_19_26_56_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/63219c7160f8369be52b9ef768f34e95.jpg","text":"TemporaryFile(/tmp/multipartBody169857492799487369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744397742946,"filename":"image_11042025_19_27_06_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/186ee63a1d4ffa056d79f0653d1b94d1.jpg","text":"TemporaryFile(/tmp/multipartBody9177287626345037260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744397742946,"filename":"image_11042025_19_26_36_9402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351888257","file1":"1351888225","file0":"1351888175","file4":"1351888303","file5":"1351888321","file3":"1351888291"},"map_files_photo_id_array":[{"photo_id":"1351888321","filename":"file5"},{"photo_id":"1351888257","filename":"file2"},{"photo_id":"1351888303","filename":"file4"},{"photo_id":"1351888225","filename":"file1"},{"photo_id":"1351888175","filename":"file0"},{"photo_id":"1351888291","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351888291":["hashtag1","hashtag2"]},{"1351888321":["hashtag1","hashtag2"]},{"1351888303":["hashtag1","hashtag2"]},{"1351888225":["hashtag1","hashtag2"]},{"1351888257":["hashtag1","hashtag2"]},{"1351888175":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351888291, 1351888321, 1351888303, 1351888225, 1351888257, 1351888175)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.0456759929657 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 20:55:32.757248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/19/27/image_11042025_19_28_07_10435.jpg', '/home/pi/Desktop/images/11042025/19/28/image_11042025_19_28_16_9362.jpg', '/home/pi/Desktop/images/11042025/19/28/image_11042025_19_28_27_10358.jpg', '/home/pi/Desktop/images/11042025/19/28/image_11042025_19_28_37_10433.jpg', '/home/pi/Desktop/images/11042025/19/28/image_11042025_19_28_46_9420.jpg', '/home/pi/Desktop/images/11042025/19/28/image_11042025_19_29_06_9404.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/19/27/image_11042025_19_28_07_10435.jpg
/home/pi/Desktop/images/11042025/19/28/image_11042025_19_28_16_9362.jpg
/home/pi/Desktop/images/11042025/19/28/image_11042025_19_28_27_10358.jpg
/home/pi/Desktop/images/11042025/19/28/image_11042025_19_28_37_10433.jpg
/home/pi/Desktop/images/11042025/19/28/image_11042025_19_28_46_9420.jpg
/home/pi/Desktop/images/11042025/19/28/image_11042025_19_29_06_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":["1351888465","1351888491","1351888452","1351888431","1351888422","1351888475"],"photo_ids_order":["1351888422","1351888431","1351888452","1351888465","1351888475","1351888491"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e8b9a320e934482d4b10efc3db5ce31a.jpg","text":"TemporaryFile(/tmp/multipartBody8220637191791689745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744397793224,"filename":"image_11042025_19_28_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/11/b303737c4a60a0438120155bafc9585d.jpg","text":"TemporaryFile(/tmp/multipartBody3979781889837322810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744397793224,"filename":"image_11042025_19_29_06_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2f1371502093ad3e57bb18a013185fcf.jpg","text":"TemporaryFile(/tmp/multipartBody851956998929074192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744397793224,"filename":"image_11042025_19_28_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/11/1b38910a6d1aea99d1a4be9c116740b8.jpg","text":"TemporaryFile(/tmp/multipartBody4971036599679172320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744397793224,"filename":"image_11042025_19_28_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/11/97c8c1825b3ec5835d91782dd4abd8d8.jpg","text":"TemporaryFile(/tmp/multipartBody3150078148798129988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744397793224,"filename":"image_11042025_19_28_07_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/efdc239d0a00ed6b42356ddd4e4ec753.jpg","text":"TemporaryFile(/tmp/multipartBody3651789149923167292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744397793224,"filename":"image_11042025_19_28_46_9420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351888452","file1":"1351888431","file0":"1351888422","file4":"1351888475","file5":"1351888491","file3":"1351888465"},"map_files_photo_id_array":[{"photo_id":"1351888491","filename":"file5"},{"photo_id":"1351888452","filename":"file2"},{"photo_id":"1351888475","filename":"file4"},{"photo_id":"1351888431","filename":"file1"},{"photo_id":"1351888422","filename":"file0"},{"photo_id":"1351888465","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351888465":["hashtag1","hashtag2"]},{"1351888491":["hashtag1","hashtag2"]},{"1351888452":["hashtag1","hashtag2"]},{"1351888431":["hashtag1","hashtag2"]},{"1351888422":["hashtag1","hashtag2"]},{"1351888475":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351888465, 1351888491, 1351888452, 1351888431, 1351888422, 1351888475)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.065614461898804 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 20:56:33.039627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/19/29/image_11042025_19_29_17_10350.jpg', '/home/pi/Desktop/images/11042025/19/29/image_11042025_19_29_27_10376.jpg', '/home/pi/Desktop/images/11042025/19/29/image_11042025_19_29_36_9473.jpg', '/home/pi/Desktop/images/11042025/19/29/image_11042025_19_29_47_10367.jpg', '/home/pi/Desktop/images/11042025/19/29/image_11042025_19_29_56_9494.jpg', '/home/pi/Desktop/images/11042025/19/29/image_11042025_19_30_07_10389.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/19/29/image_11042025_19_29_17_10350.jpg
/home/pi/Desktop/images/11042025/19/29/image_11042025_19_29_27_10376.jpg
/home/pi/Desktop/images/11042025/19/29/image_11042025_19_29_36_9473.jpg
/home/pi/Desktop/images/11042025/19/29/image_11042025_19_29_47_10367.jpg
/home/pi/Desktop/images/11042025/19/29/image_11042025_19_29_56_9494.jpg
/home/pi/Desktop/images/11042025/19/29/image_11042025_19_30_07_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":["1351888610","1351888594","1351888601","1351888591","1351888605","1351888598"],"photo_ids_order":["1351888591","1351888594","1351888598","1351888601","1351888605","1351888610"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/dc8e79ce9a8e6519fc40733e154e40f0.jpg","text":"TemporaryFile(/tmp/multipartBody310147421896221700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744397853501,"filename":"image_11042025_19_30_07_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/24c356d0bf120df6b55caa567244ad34.jpg","text":"TemporaryFile(/tmp/multipartBody5501703951677694279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744397853501,"filename":"image_11042025_19_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/11/84ca3c1390a3ff440947ac0d90f62f69.jpg","text":"TemporaryFile(/tmp/multipartBody675436606962605651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744397853501,"filename":"image_11042025_19_29_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/11/b00c2c45c09ad17a3a01c535f705a1b9.jpg","text":"TemporaryFile(/tmp/multipartBody4790765610979209074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744397853501,"filename":"image_11042025_19_29_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/11/528ae16659d6279e7b6f949732d2b153.jpg","text":"TemporaryFile(/tmp/multipartBody3442191972559509828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744397853501,"filename":"image_11042025_19_29_56_9494.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/782f4479730e088f25762169280d38a0.jpg","text":"TemporaryFile(/tmp/multipartBody2304135329183474137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744397853501,"filename":"image_11042025_19_29_36_9473.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351888598","file1":"1351888594","file0":"1351888591","file4":"1351888605","file5":"1351888610","file3":"1351888601"},"map_files_photo_id_array":[{"photo_id":"1351888610","filename":"file5"},{"photo_id":"1351888598","filename":"file2"},{"photo_id":"1351888605","filename":"file4"},{"photo_id":"1351888594","filename":"file1"},{"photo_id":"1351888591","filename":"file0"},{"photo_id":"1351888601","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351888610":["hashtag1","hashtag2"]},{"1351888594":["hashtag1","hashtag2"]},{"1351888601":["hashtag1","hashtag2"]},{"1351888591":["hashtag1","hashtag2"]},{"1351888605":["hashtag1","hashtag2"]},{"1351888598":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351888610, 1351888594, 1351888601, 1351888591, 1351888605, 1351888598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.414494037628174 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 20:57:32.308811
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/19/30/image_11042025_19_30_16_9535.jpg', '/home/pi/Desktop/images/11042025/19/30/image_11042025_19_30_27_10379.jpg', '/home/pi/Desktop/images/11042025/19/30/image_11042025_19_30_37_10441.jpg', '/home/pi/Desktop/images/11042025/19/30/image_11042025_19_30_46_9342.jpg', '/home/pi/Desktop/images/11042025/19/30/image_11042025_19_30_57_10375.jpg', '/home/pi/Desktop/images/11042025/19/30/image_11042025_19_31_06_9476.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/19/30/image_11042025_19_30_16_9535.jpg
/home/pi/Desktop/images/11042025/19/30/image_11042025_19_30_27_10379.jpg
/home/pi/Desktop/images/11042025/19/30/image_11042025_19_30_37_10441.jpg
/home/pi/Desktop/images/11042025/19/30/image_11042025_19_30_46_9342.jpg
/home/pi/Desktop/images/11042025/19/30/image_11042025_19_30_57_10375.jpg
/home/pi/Desktop/images/11042025/19/30/image_11042025_19_31_06_9476.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-11 20:59:04.005894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/19/30/image_11042025_19_30_16_9535.jpg', '/home/pi/Desktop/images/11042025/19/30/image_11042025_19_30_27_10379.jpg', '/home/pi/Desktop/images/11042025/19/30/image_11042025_19_30_37_10441.jpg', '/home/pi/Desktop/images/11042025/19/30/image_11042025_19_30_46_9342.jpg', '/home/pi/Desktop/images/11042025/19/30/image_11042025_19_30_57_10375.jpg', '/home/pi/Desktop/images/11042025/19/30/image_11042025_19_31_06_9476.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/19/30/image_11042025_19_30_16_9535.jpg
/home/pi/Desktop/images/11042025/19/30/image_11042025_19_30_27_10379.jpg
/home/pi/Desktop/images/11042025/19/30/image_11042025_19_30_37_10441.jpg
/home/pi/Desktop/images/11042025/19/30/image_11042025_19_30_46_9342.jpg
/home/pi/Desktop/images/11042025/19/30/image_11042025_19_30_57_10375.jpg
/home/pi/Desktop/images/11042025/19/30/image_11042025_19_31_06_9476.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351888975","1351888963","1351888957","1351888945","1351888950","1351888970"],"photo_ids_order":["1351888945","1351888950","1351888957","1351888963","1351888970","1351888975"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/74e22d1b29c41755fb74f21f7fc1004f.jpg","text":"TemporaryFile(/tmp/multipartBody4083587011016844537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398004574,"filename":"image_11042025_19_31_06_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/11/6ea690bb39d1161b99280617bae52c4a.jpg","text":"TemporaryFile(/tmp/multipartBody1696456251553883380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398004574,"filename":"image_11042025_19_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/11/a7dba41f738a6ed67531cb3be14b0cc6.jpg","text":"TemporaryFile(/tmp/multipartBody1166424618616826625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398004574,"filename":"image_11042025_19_30_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/11/5a0d3b69fde225d71d9b93a9efd7ede7.jpg","text":"TemporaryFile(/tmp/multipartBody7557395163564596587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398004574,"filename":"image_11042025_19_30_16_9535.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0a9943f3ebc2bb4ddf31a02960f97130.jpg","text":"TemporaryFile(/tmp/multipartBody8088219327422753112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398004574,"filename":"image_11042025_19_30_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/11/7ea75df3433972b2017b9c7f305a17b3.jpg","text":"TemporaryFile(/tmp/multipartBody884127101021719742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398004574,"filename":"image_11042025_19_30_57_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351888957","file1":"1351888950","file0":"1351888945","file4":"1351888970","file5":"1351888975","file3":"1351888963"},"map_files_photo_id_array":[{"photo_id":"1351888975","filename":"file5"},{"photo_id":"1351888957","filename":"file2"},{"photo_id":"1351888970","filename":"file4"},{"photo_id":"1351888950","filename":"file1"},{"photo_id":"1351888945","filename":"file0"},{"photo_id":"1351888963","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351888975":["hashtag1","hashtag2"]},{"1351888963":["hashtag1","hashtag2"]},{"1351888957":["hashtag1","hashtag2"]},{"1351888945":["hashtag1","hashtag2"]},{"1351888950":["hashtag1","hashtag2"]},{"1351888970":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351888975, 1351888963, 1351888957, 1351888945, 1351888950, 1351888970)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.155020236968994 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 20:59:43.055218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/19/31/image_11042025_19_31_17_10347.jpg', '/home/pi/Desktop/images/11042025/19/31/image_11042025_19_31_27_10369.jpg', '/home/pi/Desktop/images/11042025/19/31/image_11042025_19_31_36_9457.jpg', '/home/pi/Desktop/images/11042025/19/31/image_11042025_19_31_47_10394.jpg', '/home/pi/Desktop/images/11042025/19/31/image_11042025_19_31_56_9483.jpg', '/home/pi/Desktop/images/11042025/19/31/image_11042025_19_32_07_10397.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/19/31/image_11042025_19_31_17_10347.jpg
/home/pi/Desktop/images/11042025/19/31/image_11042025_19_31_27_10369.jpg
/home/pi/Desktop/images/11042025/19/31/image_11042025_19_31_36_9457.jpg
/home/pi/Desktop/images/11042025/19/31/image_11042025_19_31_47_10394.jpg
/home/pi/Desktop/images/11042025/19/31/image_11042025_19_31_56_9483.jpg
/home/pi/Desktop/images/11042025/19/31/image_11042025_19_32_07_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":["1351889089","1351889053","1351889119","1351889030","1351889033","1351889027"],"photo_ids_order":["1351889027","1351889030","1351889033","1351889053","1351889089","1351889119"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9505f2f9515c053e11c1a25c81bc15a2.jpg","text":"TemporaryFile(/tmp/multipartBody7609358534795410045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398043532,"filename":"image_11042025_19_31_56_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/11/8c98e855c48727a997ca6318881fa427.jpg","text":"TemporaryFile(/tmp/multipartBody2203479867848683380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398043532,"filename":"image_11042025_19_31_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/11/fbe3d6dd168141e9f7807a40a8d0e405.jpg","text":"TemporaryFile(/tmp/multipartBody6124161766090657122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398043532,"filename":"image_11042025_19_32_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/11/1f5ab6af368330a3594c80cb95228ac9.jpg","text":"TemporaryFile(/tmp/multipartBody2176719574194539989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398043532,"filename":"image_11042025_19_31_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/11/b00559e66b9f5f5791da6b37130b882a.jpg","text":"TemporaryFile(/tmp/multipartBody9006795771561784606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398043532,"filename":"image_11042025_19_31_36_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/18b2848a4cb5fd371d95939acf0a0b2d.jpg","text":"TemporaryFile(/tmp/multipartBody6444082195235222305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398043532,"filename":"image_11042025_19_31_17_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351889033","file1":"1351889030","file0":"1351889027","file4":"1351889089","file5":"1351889119","file3":"1351889053"},"map_files_photo_id_array":[{"photo_id":"1351889119","filename":"file5"},{"photo_id":"1351889033","filename":"file2"},{"photo_id":"1351889089","filename":"file4"},{"photo_id":"1351889030","filename":"file1"},{"photo_id":"1351889027","filename":"file0"},{"photo_id":"1351889053","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351889089":["hashtag1","hashtag2"]},{"1351889053":["hashtag1","hashtag2"]},{"1351889119":["hashtag1","hashtag2"]},{"1351889030":["hashtag1","hashtag2"]},{"1351889033":["hashtag1","hashtag2"]},{"1351889027":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351889089, 1351889053, 1351889119, 1351889030, 1351889033, 1351889027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.573646068573 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 21:00:32.282168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/19/32/image_11042025_19_32_17_10399.jpg', '/home/pi/Desktop/images/11042025/19/32/image_11042025_19_32_26_9358.jpg', '/home/pi/Desktop/images/11042025/19/32/image_11042025_19_32_37_10439.jpg', '/home/pi/Desktop/images/11042025/19/32/image_11042025_19_32_46_9432.jpg', '/home/pi/Desktop/images/11042025/19/32/image_11042025_19_32_57_10462.jpg', '/home/pi/Desktop/images/11042025/19/32/image_11042025_19_33_06_9361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/19/32/image_11042025_19_32_17_10399.jpg
/home/pi/Desktop/images/11042025/19/32/image_11042025_19_32_26_9358.jpg
/home/pi/Desktop/images/11042025/19/32/image_11042025_19_32_37_10439.jpg
/home/pi/Desktop/images/11042025/19/32/image_11042025_19_32_46_9432.jpg
/home/pi/Desktop/images/11042025/19/32/image_11042025_19_32_57_10462.jpg
/home/pi/Desktop/images/11042025/19/32/image_11042025_19_33_06_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":["1351889278","1351889227","1351889239","1351889220","1351889296","1351889207"],"photo_ids_order":["1351889207","1351889220","1351889227","1351889239","1351889278","1351889296"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8512a42a59afe43b173fb4c85daae7d3.jpg","text":"TemporaryFile(/tmp/multipartBody5657131450242418313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398092759,"filename":"image_11042025_19_32_57_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4dca4471701eec8014380d5878082494.jpg","text":"TemporaryFile(/tmp/multipartBody7454385183803200494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398092759,"filename":"image_11042025_19_32_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/11/e420f6ce4363d174cb3481a8dded2c23.jpg","text":"TemporaryFile(/tmp/multipartBody4174133396718851957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398092759,"filename":"image_11042025_19_32_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/11/56da8f1d03b46c92a0843c9f5b24844b.jpg","text":"TemporaryFile(/tmp/multipartBody5246192952185797376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398092759,"filename":"image_11042025_19_32_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/11/445695a2e3ec97c48b0dad4f751a3eeb.jpg","text":"TemporaryFile(/tmp/multipartBody6669682488055418134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398092759,"filename":"image_11042025_19_33_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/11/5fe6b88b953b0dc564a38385c8cfc865.jpg","text":"TemporaryFile(/tmp/multipartBody3866054729249281609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398092759,"filename":"image_11042025_19_32_17_10399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351889227","file1":"1351889220","file0":"1351889207","file4":"1351889278","file5":"1351889296","file3":"1351889239"},"map_files_photo_id_array":[{"photo_id":"1351889296","filename":"file5"},{"photo_id":"1351889227","filename":"file2"},{"photo_id":"1351889278","filename":"file4"},{"photo_id":"1351889220","filename":"file1"},{"photo_id":"1351889207","filename":"file0"},{"photo_id":"1351889239","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351889278":["hashtag1","hashtag2"]},{"1351889227":["hashtag1","hashtag2"]},{"1351889239":["hashtag1","hashtag2"]},{"1351889220":["hashtag1","hashtag2"]},{"1351889296":["hashtag1","hashtag2"]},{"1351889207":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351889278, 1351889227, 1351889239, 1351889220, 1351889296, 1351889207)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.642231941223145 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 21:01:32.469116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/19/33/image_11042025_19_33_16_10364.jpg', '/home/pi/Desktop/images/11042025/19/33/image_11042025_19_33_27_10275.jpg', '/home/pi/Desktop/images/11042025/19/33/image_11042025_19_33_36_9411.jpg', '/home/pi/Desktop/images/11042025/19/33/image_11042025_19_33_47_10373.jpg', '/home/pi/Desktop/images/11042025/19/33/image_11042025_19_33_57_10514.jpg', '/home/pi/Desktop/images/11042025/19/33/image_11042025_19_34_06_9352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/19/33/image_11042025_19_33_16_10364.jpg
/home/pi/Desktop/images/11042025/19/33/image_11042025_19_33_27_10275.jpg
/home/pi/Desktop/images/11042025/19/33/image_11042025_19_33_36_9411.jpg
/home/pi/Desktop/images/11042025/19/33/image_11042025_19_33_47_10373.jpg
/home/pi/Desktop/images/11042025/19/33/image_11042025_19_33_57_10514.jpg
/home/pi/Desktop/images/11042025/19/33/image_11042025_19_34_06_9352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351889782","1351889821","1351889731","1351889407","1351889834","1351889828"],"photo_ids_order":["1351889407","1351889731","1351889782","1351889821","1351889828","1351889834"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/939be7f25c6133db2283e3465293c1dd.jpg","text":"TemporaryFile(/tmp/multipartBody3861202375381745031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398152937,"filename":"image_11042025_19_33_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/11/b251a822c43513ae9a1b284c9fab06c3.jpg","text":"TemporaryFile(/tmp/multipartBody3453328843478659002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398152937,"filename":"image_11042025_19_33_47_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ab6d44bd6dcedee7671b249976f70535.jpg","text":"TemporaryFile(/tmp/multipartBody1003396016697716334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398152937,"filename":"image_11042025_19_33_27_10275.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0a44a2ac6984b577dc13d74460a26d6b.jpg","text":"TemporaryFile(/tmp/multipartBody7605886628433135883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398152937,"filename":"image_11042025_19_33_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/11/48cd63c8b4c85b2ad10a2d8e4a99d585.jpg","text":"TemporaryFile(/tmp/multipartBody7931638020013979298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398152937,"filename":"image_11042025_19_34_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/11/dc57ce0d85273e4988baf21ada2aed6f.jpg","text":"TemporaryFile(/tmp/multipartBody437706245452505000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398152937,"filename":"image_11042025_19_33_57_10514.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351889782","file1":"1351889731","file0":"1351889407","file4":"1351889828","file5":"1351889834","file3":"1351889821"},"map_files_photo_id_array":[{"photo_id":"1351889834","filename":"file5"},{"photo_id":"1351889782","filename":"file2"},{"photo_id":"1351889828","filename":"file4"},{"photo_id":"1351889731","filename":"file1"},{"photo_id":"1351889407","filename":"file0"},{"photo_id":"1351889821","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351889782":["hashtag1","hashtag2"]},{"1351889821":["hashtag1","hashtag2"]},{"1351889731":["hashtag1","hashtag2"]},{"1351889407":["hashtag1","hashtag2"]},{"1351889834":["hashtag1","hashtag2"]},{"1351889828":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351889782, 1351889821, 1351889731, 1351889407, 1351889834, 1351889828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 70.84983372688293 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 21:02:52.597889
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/19/34/image_11042025_19_34_17_10366.jpg', '/home/pi/Desktop/images/11042025/19/34/image_11042025_19_34_37_10437.jpg', '/home/pi/Desktop/images/11042025/19/34/image_11042025_19_34_56_9361.jpg', '/home/pi/Desktop/images/11042025/19/35/image_11042025_19_35_16_9453.jpg', '/home/pi/Desktop/images/11042025/19/35/image_11042025_19_35_27_10374.jpg', '/home/pi/Desktop/images/11042025/19/35/image_11042025_19_35_37_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/19/34/image_11042025_19_34_17_10366.jpg
/home/pi/Desktop/images/11042025/19/34/image_11042025_19_34_37_10437.jpg
/home/pi/Desktop/images/11042025/19/34/image_11042025_19_34_56_9361.jpg
/home/pi/Desktop/images/11042025/19/35/image_11042025_19_35_16_9453.jpg
/home/pi/Desktop/images/11042025/19/35/image_11042025_19_35_27_10374.jpg
/home/pi/Desktop/images/11042025/19/35/image_11042025_19_35_37_10362.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351889881","1351889875","1351889886","1351889871","1351889874","1351889873"],"photo_ids_order":["1351889871","1351889873","1351889874","1351889875","1351889881","1351889886"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5fa549f6ea6f789ee91b2e86c29fb4be.jpg","text":"TemporaryFile(/tmp/multipartBody5163985264272276449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398233059,"filename":"image_11042025_19_35_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/11/51045079fc535d07ebad69498aa16ccf.jpg","text":"TemporaryFile(/tmp/multipartBody4422104035469571893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398233059,"filename":"image_11042025_19_35_16_9453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8b14b5ad776ebcacd239967cccfff0f8.jpg","text":"TemporaryFile(/tmp/multipartBody4996464567752676998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398233059,"filename":"image_11042025_19_35_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/11/96bca16e264da9846e0e99e4574edf58.jpg","text":"TemporaryFile(/tmp/multipartBody6270393984122918460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398233059,"filename":"image_11042025_19_34_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/11/9d3c9d679345673eafd9cf50369ab749.jpg","text":"TemporaryFile(/tmp/multipartBody3381329314403128769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398233059,"filename":"image_11042025_19_34_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/11/8b2c864397237a036261872efcff6142.jpg","text":"TemporaryFile(/tmp/multipartBody7702501863901338763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398233059,"filename":"image_11042025_19_34_37_10437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351889874","file1":"1351889873","file0":"1351889871","file4":"1351889881","file5":"1351889886","file3":"1351889875"},"map_files_photo_id_array":[{"photo_id":"1351889886","filename":"file5"},{"photo_id":"1351889874","filename":"file2"},{"photo_id":"1351889881","filename":"file4"},{"photo_id":"1351889873","filename":"file1"},{"photo_id":"1351889871","filename":"file0"},{"photo_id":"1351889875","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351889881":["hashtag1","hashtag2"]},{"1351889875":["hashtag1","hashtag2"]},{"1351889886":["hashtag1","hashtag2"]},{"1351889871":["hashtag1","hashtag2"]},{"1351889874":["hashtag1","hashtag2"]},{"1351889873":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351889881, 1351889875, 1351889886, 1351889871, 1351889874, 1351889873)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.11319375038147 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 21:03:32.946129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/19/35/image_11042025_19_35_57_10419.jpg', '/home/pi/Desktop/images/11042025/19/35/image_11042025_19_36_06_9485.jpg', '/home/pi/Desktop/images/11042025/19/36/image_11042025_19_36_27_10371.jpg', '/home/pi/Desktop/images/11042025/19/36/image_11042025_19_36_36_9414.jpg', '/home/pi/Desktop/images/11042025/19/36/image_11042025_19_36_47_10375.jpg', '/home/pi/Desktop/images/11042025/19/36/image_11042025_19_36_56_9509.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/19/35/image_11042025_19_35_57_10419.jpg
/home/pi/Desktop/images/11042025/19/35/image_11042025_19_36_06_9485.jpg
/home/pi/Desktop/images/11042025/19/36/image_11042025_19_36_27_10371.jpg
/home/pi/Desktop/images/11042025/19/36/image_11042025_19_36_36_9414.jpg
/home/pi/Desktop/images/11042025/19/36/image_11042025_19_36_47_10375.jpg
/home/pi/Desktop/images/11042025/19/36/image_11042025_19_36_56_9509.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351890143","1351890011","1351889985","1351890118","1351889946","1351890092"],"photo_ids_order":["1351889946","1351889985","1351890011","1351890092","1351890118","1351890143"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/73f9ccee97ad1dac6a41bfd715a8ed04.jpg","text":"TemporaryFile(/tmp/multipartBody9079885393983631699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398273397,"filename":"image_11042025_19_36_56_9509.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5c09c8b555dbcb22f599737eda99a022.jpg","text":"TemporaryFile(/tmp/multipartBody8452734257660431971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398273397,"filename":"image_11042025_19_36_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/11/a68f395850a65863ba3f3852bd3d442f.jpg","text":"TemporaryFile(/tmp/multipartBody687244492349399851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398273397,"filename":"image_11042025_19_36_06_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/11/b99b2a8f4aa3835d628b73ab345023a3.jpg","text":"TemporaryFile(/tmp/multipartBody4824595826707271080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398273397,"filename":"image_11042025_19_36_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/11/8d116d23aadd5f61684008ee9bd5b3a4.jpg","text":"TemporaryFile(/tmp/multipartBody3185102903709102729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398273397,"filename":"image_11042025_19_35_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/11/591276083eccc651bafe0bf78bb6f287.jpg","text":"TemporaryFile(/tmp/multipartBody3905561040986924795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398273397,"filename":"image_11042025_19_36_36_9414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351890011","file1":"1351889985","file0":"1351889946","file4":"1351890118","file5":"1351890143","file3":"1351890092"},"map_files_photo_id_array":[{"photo_id":"1351890143","filename":"file5"},{"photo_id":"1351890011","filename":"file2"},{"photo_id":"1351890118","filename":"file4"},{"photo_id":"1351889985","filename":"file1"},{"photo_id":"1351889946","filename":"file0"},{"photo_id":"1351890092","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351890143":["hashtag1","hashtag2"]},{"1351890011":["hashtag1","hashtag2"]},{"1351889985":["hashtag1","hashtag2"]},{"1351890118":["hashtag1","hashtag2"]},{"1351889946":["hashtag1","hashtag2"]},{"1351890092":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351890143, 1351890011, 1351889985, 1351890118, 1351889946, 1351890092)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.12625432014465 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 21:04:33.073062
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/19/36/image_11042025_19_37_07_10407.jpg', '/home/pi/Desktop/images/11042025/19/37/image_11042025_19_37_17_10348.jpg', '/home/pi/Desktop/images/11042025/19/37/image_11042025_19_37_26_9363.jpg', '/home/pi/Desktop/images/11042025/19/37/image_11042025_19_37_37_10369.jpg', '/home/pi/Desktop/images/11042025/19/37/image_11042025_19_37_47_10444.jpg', '/home/pi/Desktop/images/11042025/19/37/image_11042025_19_37_57_9445.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/19/36/image_11042025_19_37_07_10407.jpg
/home/pi/Desktop/images/11042025/19/37/image_11042025_19_37_17_10348.jpg
/home/pi/Desktop/images/11042025/19/37/image_11042025_19_37_26_9363.jpg
/home/pi/Desktop/images/11042025/19/37/image_11042025_19_37_37_10369.jpg
/home/pi/Desktop/images/11042025/19/37/image_11042025_19_37_47_10444.jpg
/home/pi/Desktop/images/11042025/19/37/image_11042025_19_37_57_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":["1351890242","1351890230","1351890289","1351890294","1351890219","1351890278"],"photo_ids_order":["1351890219","1351890230","1351890242","1351890278","1351890289","1351890294"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/71344a979a1312c17f530814000c1f9f.jpg","text":"TemporaryFile(/tmp/multipartBody30134968580591755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398333525,"filename":"image_11042025_19_37_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/11/5b9fc9f3345e1e55abba753dc77ab18e.jpg","text":"TemporaryFile(/tmp/multipartBody6522588440235937977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398333525,"filename":"image_11042025_19_37_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/11/586914d1e15419779d77a00d46e13353.jpg","text":"TemporaryFile(/tmp/multipartBody1017211988396434463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398333525,"filename":"image_11042025_19_37_47_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d097ad84c58adfc5cd01ad7aaa24daa6.jpg","text":"TemporaryFile(/tmp/multipartBody3186014894850559570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398333525,"filename":"image_11042025_19_37_57_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/11/a16f38c8f8754ef881ffc60cf41789b9.jpg","text":"TemporaryFile(/tmp/multipartBody8049838741253746358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398333525,"filename":"image_11042025_19_37_07_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a4da023365ff511a421efb361e3f27a6.jpg","text":"TemporaryFile(/tmp/multipartBody4889590391449335388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398333525,"filename":"image_11042025_19_37_37_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351890242","file1":"1351890230","file0":"1351890219","file4":"1351890289","file5":"1351890294","file3":"1351890278"},"map_files_photo_id_array":[{"photo_id":"1351890294","filename":"file5"},{"photo_id":"1351890242","filename":"file2"},{"photo_id":"1351890289","filename":"file4"},{"photo_id":"1351890230","filename":"file1"},{"photo_id":"1351890219","filename":"file0"},{"photo_id":"1351890278","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351890242":["hashtag1","hashtag2"]},{"1351890230":["hashtag1","hashtag2"]},{"1351890289":["hashtag1","hashtag2"]},{"1351890294":["hashtag1","hashtag2"]},{"1351890219":["hashtag1","hashtag2"]},{"1351890278":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351890242, 1351890230, 1351890289, 1351890294, 1351890219, 1351890278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.00848650932312 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 21:05:32.320306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/19/37/image_11042025_19_38_07_10444.jpg', '/home/pi/Desktop/images/11042025/19/38/image_11042025_19_38_16_9398.jpg', '/home/pi/Desktop/images/11042025/19/38/image_11042025_19_38_27_10431.jpg', '/home/pi/Desktop/images/11042025/19/38/image_11042025_19_38_36_9427.jpg', '/home/pi/Desktop/images/11042025/19/38/image_11042025_19_38_47_10373.jpg', '/home/pi/Desktop/images/11042025/19/38/image_11042025_19_38_57_10413.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/19/37/image_11042025_19_38_07_10444.jpg
/home/pi/Desktop/images/11042025/19/38/image_11042025_19_38_16_9398.jpg
/home/pi/Desktop/images/11042025/19/38/image_11042025_19_38_27_10431.jpg
/home/pi/Desktop/images/11042025/19/38/image_11042025_19_38_36_9427.jpg
/home/pi/Desktop/images/11042025/19/38/image_11042025_19_38_47_10373.jpg
/home/pi/Desktop/images/11042025/19/38/image_11042025_19_38_57_10413.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351890417","1351890377","1351890392","1351890371","1351890365","1351890380"],"photo_ids_order":["1351890365","1351890371","1351890377","1351890380","1351890392","1351890417"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/bccc5708195d46804669a289dcc0fbbd.jpg","text":"TemporaryFile(/tmp/multipartBody1735251543626431001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398392774,"filename":"image_11042025_19_38_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/11/09633b447825003856a99c5cec4aa8cc.jpg","text":"TemporaryFile(/tmp/multipartBody5054346673753351087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398392774,"filename":"image_11042025_19_38_27_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6c659ef0442be09b61d61a6f0e237359.jpg","text":"TemporaryFile(/tmp/multipartBody3305173828898439775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398392774,"filename":"image_11042025_19_38_47_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/994366c75059ac203d42afb65e5ec501.jpg","text":"TemporaryFile(/tmp/multipartBody1962359495237347721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398392774,"filename":"image_11042025_19_38_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/11/90d336d9105b28552b3af8a3bcfd4cf5.jpg","text":"TemporaryFile(/tmp/multipartBody2313689021904285746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398392774,"filename":"image_11042025_19_38_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/11/8c078cc2cc3c7a60077f004903a80ad4.jpg","text":"TemporaryFile(/tmp/multipartBody2096871523811027411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398392774,"filename":"image_11042025_19_38_36_9427.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351890377","file1":"1351890371","file0":"1351890365","file4":"1351890392","file5":"1351890417","file3":"1351890380"},"map_files_photo_id_array":[{"photo_id":"1351890417","filename":"file5"},{"photo_id":"1351890377","filename":"file2"},{"photo_id":"1351890392","filename":"file4"},{"photo_id":"1351890371","filename":"file1"},{"photo_id":"1351890365","filename":"file0"},{"photo_id":"1351890380","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351890417":["hashtag1","hashtag2"]},{"1351890377":["hashtag1","hashtag2"]},{"1351890392":["hashtag1","hashtag2"]},{"1351890371":["hashtag1","hashtag2"]},{"1351890365":["hashtag1","hashtag2"]},{"1351890380":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351890417, 1351890377, 1351890392, 1351890371, 1351890365, 1351890380)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.48575520515442 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 21:06:32.593318
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/19/38/image_11042025_19_39_06_9404.jpg', '/home/pi/Desktop/images/11042025/19/39/image_11042025_19_39_17_10337.jpg', '/home/pi/Desktop/images/11042025/19/39/image_11042025_19_39_26_9362.jpg', '/home/pi/Desktop/images/11042025/19/39/image_11042025_19_39_37_10355.jpg', '/home/pi/Desktop/images/11042025/19/39/image_11042025_19_39_47_10351.jpg', '/home/pi/Desktop/images/11042025/19/39/image_11042025_19_39_56_9358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/19/38/image_11042025_19_39_06_9404.jpg
/home/pi/Desktop/images/11042025/19/39/image_11042025_19_39_17_10337.jpg
/home/pi/Desktop/images/11042025/19/39/image_11042025_19_39_26_9362.jpg
/home/pi/Desktop/images/11042025/19/39/image_11042025_19_39_37_10355.jpg
/home/pi/Desktop/images/11042025/19/39/image_11042025_19_39_47_10351.jpg
/home/pi/Desktop/images/11042025/19/39/image_11042025_19_39_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":["1351891258","1351891054","1351891458","1351891394","1351891343","1351891142"],"photo_ids_order":["1351891054","1351891142","1351891258","1351891343","1351891394","1351891458"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3021ac81310e6c3b5a8c2ed5a38a63b3.jpg","text":"TemporaryFile(/tmp/multipartBody3918048192091444867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398453042,"filename":"image_11042025_19_39_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/11/1c37ba9f6a170dc202a9e261b06c7e82.jpg","text":"TemporaryFile(/tmp/multipartBody8510012839706597436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398453042,"filename":"image_11042025_19_39_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/11/a5bd0218212d2169f74ebf67f9ecd442.jpg","text":"TemporaryFile(/tmp/multipartBody7902849058766352282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398453042,"filename":"image_11042025_19_39_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/11/8477ea4c8337a59e0b480e22eca34039.jpg","text":"TemporaryFile(/tmp/multipartBody4859483273365716289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398453042,"filename":"image_11042025_19_39_47_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d8ceb97a496864f8986eede4ef9ee261.jpg","text":"TemporaryFile(/tmp/multipartBody55883813746721283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398453042,"filename":"image_11042025_19_39_37_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/195a9023b63329ae018a7a37f1f38a26.jpg","text":"TemporaryFile(/tmp/multipartBody6137189458680089670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398453042,"filename":"image_11042025_19_39_17_10337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351891258","file1":"1351891142","file0":"1351891054","file4":"1351891394","file5":"1351891458","file3":"1351891343"},"map_files_photo_id_array":[{"photo_id":"1351891458","filename":"file5"},{"photo_id":"1351891258","filename":"file2"},{"photo_id":"1351891394","filename":"file4"},{"photo_id":"1351891142","filename":"file1"},{"photo_id":"1351891054","filename":"file0"},{"photo_id":"1351891343","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351891258":["hashtag1","hashtag2"]},{"1351891054":["hashtag1","hashtag2"]},{"1351891458":["hashtag1","hashtag2"]},{"1351891394":["hashtag1","hashtag2"]},{"1351891343":["hashtag1","hashtag2"]},{"1351891142":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351891258, 1351891054, 1351891458, 1351891394, 1351891343, 1351891142)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.4538996219635 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 21:07:32.832953
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/19/39/image_11042025_19_40_07_10390.jpg', '/home/pi/Desktop/images/11042025/19/40/image_11042025_19_40_17_10380.jpg', '/home/pi/Desktop/images/11042025/19/40/image_11042025_19_40_26_9358.jpg', '/home/pi/Desktop/images/11042025/19/40/image_11042025_19_40_37_10346.jpg', '/home/pi/Desktop/images/11042025/19/40/image_11042025_19_40_47_10415.jpg', '/home/pi/Desktop/images/11042025/19/40/image_11042025_19_40_56_9337.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/19/39/image_11042025_19_40_07_10390.jpg
/home/pi/Desktop/images/11042025/19/40/image_11042025_19_40_17_10380.jpg
/home/pi/Desktop/images/11042025/19/40/image_11042025_19_40_26_9358.jpg
/home/pi/Desktop/images/11042025/19/40/image_11042025_19_40_37_10346.jpg
/home/pi/Desktop/images/11042025/19/40/image_11042025_19_40_47_10415.jpg
/home/pi/Desktop/images/11042025/19/40/image_11042025_19_40_56_9337.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351892047","1351891927","1351892291","1351891806","1351892363","1351892234"],"photo_ids_order":["1351891806","1351891927","1351892047","1351892234","1351892291","1351892363"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f27969bcb1bb64c8261e62a224e675c4.jpg","text":"TemporaryFile(/tmp/multipartBody238518722623959753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398513290,"filename":"image_11042025_19_40_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/11/6a8d06cae7c8dc520353daf85cc4850c.jpg","text":"TemporaryFile(/tmp/multipartBody2778485797067838515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398513290,"filename":"image_11042025_19_40_17_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9457b153a370cf26b229cf2d53abf38c.jpg","text":"TemporaryFile(/tmp/multipartBody5407082707129269335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398513290,"filename":"image_11042025_19_40_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/11/c6c6bf304f4331c9aafc7592d49c6943.jpg","text":"TemporaryFile(/tmp/multipartBody8850465515436764011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398513290,"filename":"image_11042025_19_40_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/11/3c75dc89473df9ccb239b6c86b57456b.jpg","text":"TemporaryFile(/tmp/multipartBody6560980872501614025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398513290,"filename":"image_11042025_19_40_56_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4778727aef6a22d196bbb4ded0b869e0.jpg","text":"TemporaryFile(/tmp/multipartBody399865384098067296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398513290,"filename":"image_11042025_19_40_37_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351892047","file1":"1351891927","file0":"1351891806","file4":"1351892291","file5":"1351892363","file3":"1351892234"},"map_files_photo_id_array":[{"photo_id":"1351892363","filename":"file5"},{"photo_id":"1351892047","filename":"file2"},{"photo_id":"1351892291","filename":"file4"},{"photo_id":"1351891927","filename":"file1"},{"photo_id":"1351891806","filename":"file0"},{"photo_id":"1351892234","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351892047":["hashtag1","hashtag2"]},{"1351891927":["hashtag1","hashtag2"]},{"1351892291":["hashtag1","hashtag2"]},{"1351891806":["hashtag1","hashtag2"]},{"1351892363":["hashtag1","hashtag2"]},{"1351892234":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351892047, 1351891927, 1351892291, 1351891806, 1351892363, 1351892234)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.37003493309021 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 21:08:33.082344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/19/40/image_11042025_19_41_07_10353.jpg', '/home/pi/Desktop/images/11042025/19/41/image_11042025_19_41_16_9458.jpg', '/home/pi/Desktop/images/11042025/19/41/image_11042025_19_41_27_10433.jpg', '/home/pi/Desktop/images/11042025/19/41/image_11042025_19_41_36_9444.jpg', '/home/pi/Desktop/images/11042025/19/41/image_11042025_19_41_47_10363.jpg', '/home/pi/Desktop/images/11042025/19/41/image_11042025_19_41_57_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/19/40/image_11042025_19_41_07_10353.jpg
/home/pi/Desktop/images/11042025/19/41/image_11042025_19_41_16_9458.jpg
/home/pi/Desktop/images/11042025/19/41/image_11042025_19_41_27_10433.jpg
/home/pi/Desktop/images/11042025/19/41/image_11042025_19_41_36_9444.jpg
/home/pi/Desktop/images/11042025/19/41/image_11042025_19_41_47_10363.jpg
/home/pi/Desktop/images/11042025/19/41/image_11042025_19_41_57_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":["1351892850","1351892765","1351892747","1351892797","1351892900","1351892875"],"photo_ids_order":["1351892747","1351892765","1351892797","1351892850","1351892875","1351892900"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c8a846812e501a27fbdff5a4bf4892bd.jpg","text":"TemporaryFile(/tmp/multipartBody8304957579692928998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398573550,"filename":"image_11042025_19_41_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/11/f1dd4a017d05dc9563d65de862ca76c6.jpg","text":"TemporaryFile(/tmp/multipartBody4717007065607646044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398573550,"filename":"image_11042025_19_41_16_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/11/0e7633bf5bf0658aeea9253aa13d3273.jpg","text":"TemporaryFile(/tmp/multipartBody7802199262336038281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398573550,"filename":"image_11042025_19_41_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/11/6cc1843d5a3e1b10c319b60f10e90e6f.jpg","text":"TemporaryFile(/tmp/multipartBody8887319875515270176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398573550,"filename":"image_11042025_19_41_27_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/11/d9dc62f5b8e0f8133d7fd03d972951f1.jpg","text":"TemporaryFile(/tmp/multipartBody7532340014254381220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398573550,"filename":"image_11042025_19_41_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/11/d78a16769bac46f92be3e133aabf6de9.jpg","text":"TemporaryFile(/tmp/multipartBody5073760278723415062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398573550,"filename":"image_11042025_19_41_47_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351892797","file1":"1351892765","file0":"1351892747","file4":"1351892875","file5":"1351892900","file3":"1351892850"},"map_files_photo_id_array":[{"photo_id":"1351892900","filename":"file5"},{"photo_id":"1351892797","filename":"file2"},{"photo_id":"1351892875","filename":"file4"},{"photo_id":"1351892765","filename":"file1"},{"photo_id":"1351892747","filename":"file0"},{"photo_id":"1351892850","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351892850":["hashtag1","hashtag2"]},{"1351892765":["hashtag1","hashtag2"]},{"1351892747":["hashtag1","hashtag2"]},{"1351892797":["hashtag1","hashtag2"]},{"1351892900":["hashtag1","hashtag2"]},{"1351892875":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351892850, 1351892765, 1351892747, 1351892797, 1351892900, 1351892875)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.60961961746216 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 21:09:32.384306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/19/41/image_11042025_19_42_06_9350.jpg', '/home/pi/Desktop/images/11042025/19/42/image_11042025_19_42_17_10363.jpg', '/home/pi/Desktop/images/11042025/19/42/image_11042025_19_42_27_10501.jpg', '/home/pi/Desktop/images/11042025/19/42/image_11042025_19_42_36_9358.jpg', '/home/pi/Desktop/images/11042025/19/42/image_11042025_19_42_47_10363.jpg', '/home/pi/Desktop/images/11042025/19/42/image_11042025_19_42_56_9371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/19/41/image_11042025_19_42_06_9350.jpg
/home/pi/Desktop/images/11042025/19/42/image_11042025_19_42_17_10363.jpg
/home/pi/Desktop/images/11042025/19/42/image_11042025_19_42_27_10501.jpg
/home/pi/Desktop/images/11042025/19/42/image_11042025_19_42_36_9358.jpg
/home/pi/Desktop/images/11042025/19/42/image_11042025_19_42_47_10363.jpg
/home/pi/Desktop/images/11042025/19/42/image_11042025_19_42_56_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":["1351893272","1351893233","1351893236","1351893239","1351893163","1351893211"],"photo_ids_order":["1351893163","1351893211","1351893233","1351893236","1351893239","1351893272"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/efa0ee96fd8f2385a116b7195cd958c3.jpg","text":"TemporaryFile(/tmp/multipartBody9066132515736218425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398632848,"filename":"image_11042025_19_42_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/11/d70cbc91af796499693019bc49ad3cab.jpg","text":"TemporaryFile(/tmp/multipartBody7744544530787763635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398632848,"filename":"image_11042025_19_42_27_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/11/87901031f39397c6a7e54d09eb513f13.jpg","text":"TemporaryFile(/tmp/multipartBody1491647125720546919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398632848,"filename":"image_11042025_19_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/11/047b436f3824f2c1a2b72bdc2d32bbf0.jpg","text":"TemporaryFile(/tmp/multipartBody6296922292006989520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398632848,"filename":"image_11042025_19_42_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/11/e91550f4e498e46a119c51414512e401.jpg","text":"TemporaryFile(/tmp/multipartBody2386704278446569797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398632848,"filename":"image_11042025_19_42_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/11/447854b7e448a48152a43451f16588ec.jpg","text":"TemporaryFile(/tmp/multipartBody790972442799167818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398632848,"filename":"image_11042025_19_42_17_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351893233","file1":"1351893211","file0":"1351893163","file4":"1351893239","file5":"1351893272","file3":"1351893236"},"map_files_photo_id_array":[{"photo_id":"1351893272","filename":"file5"},{"photo_id":"1351893233","filename":"file2"},{"photo_id":"1351893239","filename":"file4"},{"photo_id":"1351893211","filename":"file1"},{"photo_id":"1351893163","filename":"file0"},{"photo_id":"1351893236","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351893272":["hashtag1","hashtag2"]},{"1351893233":["hashtag1","hashtag2"]},{"1351893236":["hashtag1","hashtag2"]},{"1351893239":["hashtag1","hashtag2"]},{"1351893163":["hashtag1","hashtag2"]},{"1351893211":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351893272, 1351893233, 1351893236, 1351893239, 1351893163, 1351893211)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.50689625740051 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 21:10:32.584366
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/19/42/image_11042025_19_43_07_10413.jpg', '/home/pi/Desktop/images/11042025/19/43/image_11042025_19_43_17_10481.jpg', '/home/pi/Desktop/images/11042025/19/43/image_11042025_19_43_26_9345.jpg', '/home/pi/Desktop/images/11042025/19/43/image_11042025_19_43_37_10378.jpg', '/home/pi/Desktop/images/11042025/19/43/image_11042025_19_43_46_9403.jpg', '/home/pi/Desktop/images/11042025/19/43/image_11042025_19_43_57_10428.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/19/42/image_11042025_19_43_07_10413.jpg
/home/pi/Desktop/images/11042025/19/43/image_11042025_19_43_17_10481.jpg
/home/pi/Desktop/images/11042025/19/43/image_11042025_19_43_26_9345.jpg
/home/pi/Desktop/images/11042025/19/43/image_11042025_19_43_37_10378.jpg
/home/pi/Desktop/images/11042025/19/43/image_11042025_19_43_46_9403.jpg
/home/pi/Desktop/images/11042025/19/43/image_11042025_19_43_57_10428.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.37938380241394043 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 21:10:42.644473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/19/42/image_11042025_19_43_07_10413.jpg', '/home/pi/Desktop/images/11042025/19/43/image_11042025_19_43_17_10481.jpg', '/home/pi/Desktop/images/11042025/19/43/image_11042025_19_43_26_9345.jpg', '/home/pi/Desktop/images/11042025/19/43/image_11042025_19_43_37_10378.jpg', '/home/pi/Desktop/images/11042025/19/43/image_11042025_19_43_46_9403.jpg', '/home/pi/Desktop/images/11042025/19/43/image_11042025_19_43_57_10428.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/19/42/image_11042025_19_43_07_10413.jpg
/home/pi/Desktop/images/11042025/19/43/image_11042025_19_43_17_10481.jpg
/home/pi/Desktop/images/11042025/19/43/image_11042025_19_43_26_9345.jpg
/home/pi/Desktop/images/11042025/19/43/image_11042025_19_43_37_10378.jpg
/home/pi/Desktop/images/11042025/19/43/image_11042025_19_43_46_9403.jpg
/home/pi/Desktop/images/11042025/19/43/image_11042025_19_43_57_10428.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351893381","1351893398","1351893479","1351893473","1351893428","1351893451"],"photo_ids_order":["1351893381","1351893398","1351893428","1351893451","1351893473","1351893479"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/841c7ba48a9e59abb35d383b569b0f45.jpg","text":"TemporaryFile(/tmp/multipartBody3118956025563205636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398703094,"filename":"image_11042025_19_43_07_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b528ffaa8cf20222548e5cfc49a527d7.jpg","text":"TemporaryFile(/tmp/multipartBody7570468423364222968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398703094,"filename":"image_11042025_19_43_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/11/e7cdb2d0f17ddf5940de052a6088fafa.jpg","text":"TemporaryFile(/tmp/multipartBody3130499098482468873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398703094,"filename":"image_11042025_19_43_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/11/4c55aba138cc300754a7ec656b5664d8.jpg","text":"TemporaryFile(/tmp/multipartBody5916483262440652933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398703094,"filename":"image_11042025_19_43_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/11/a50ec4a62db3970852008def31c28f60.jpg","text":"TemporaryFile(/tmp/multipartBody2612577560174146363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398703094,"filename":"image_11042025_19_43_26_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0f341921a5cd988a1a81fa8837bdb9b3.jpg","text":"TemporaryFile(/tmp/multipartBody3570797415428809471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398703094,"filename":"image_11042025_19_43_37_10378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351893428","file1":"1351893398","file0":"1351893381","file4":"1351893473","file5":"1351893479","file3":"1351893451"},"map_files_photo_id_array":[{"photo_id":"1351893479","filename":"file5"},{"photo_id":"1351893428","filename":"file2"},{"photo_id":"1351893473","filename":"file4"},{"photo_id":"1351893398","filename":"file1"},{"photo_id":"1351893381","filename":"file0"},{"photo_id":"1351893451","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351893381":["hashtag1","hashtag2"]},{"1351893398":["hashtag1","hashtag2"]},{"1351893479":["hashtag1","hashtag2"]},{"1351893473":["hashtag1","hashtag2"]},{"1351893428":["hashtag1","hashtag2"]},{"1351893451":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351893381, 1351893398, 1351893479, 1351893473, 1351893428, 1351893451)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.49177026748657 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 21:11:32.858553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/19/43/image_11042025_19_44_07_10478.jpg', '/home/pi/Desktop/images/11042025/19/44/image_11042025_19_44_16_9328.jpg', '/home/pi/Desktop/images/11042025/19/44/image_11042025_19_44_36_9472.jpg', '/home/pi/Desktop/images/11042025/19/44/image_11042025_19_44_47_10397.jpg', '/home/pi/Desktop/images/11042025/19/44/image_11042025_19_44_56_9413.jpg', '/home/pi/Desktop/images/11042025/19/44/image_11042025_19_45_07_10420.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/19/43/image_11042025_19_44_07_10478.jpg
/home/pi/Desktop/images/11042025/19/44/image_11042025_19_44_16_9328.jpg
/home/pi/Desktop/images/11042025/19/44/image_11042025_19_44_36_9472.jpg
/home/pi/Desktop/images/11042025/19/44/image_11042025_19_44_47_10397.jpg
/home/pi/Desktop/images/11042025/19/44/image_11042025_19_44_56_9413.jpg
/home/pi/Desktop/images/11042025/19/44/image_11042025_19_45_07_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":["1351893587","1351893623","1351893652","1351893577","1351893675","1351893613"],"photo_ids_order":["1351893577","1351893587","1351893613","1351893623","1351893652","1351893675"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1a9d79541f6ffee9f808cfcbbf8a5213.jpg","text":"TemporaryFile(/tmp/multipartBody6687512273016363118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398753329,"filename":"image_11042025_19_44_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/11/304d8db3b7abb2d0e8edffefb8e00a9c.jpg","text":"TemporaryFile(/tmp/multipartBody658710977891643455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398753329,"filename":"image_11042025_19_44_47_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a714005e8e642274347d07c443647291.jpg","text":"TemporaryFile(/tmp/multipartBody2561908048603694326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398753329,"filename":"image_11042025_19_44_56_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/dd5ee361ec068347cfba236e4c341927.jpg","text":"TemporaryFile(/tmp/multipartBody485191295028281726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398753329,"filename":"image_11042025_19_44_07_10478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a05101c7ac3aac448f2fa6c0c309a57a.jpg","text":"TemporaryFile(/tmp/multipartBody480734670213369257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398753329,"filename":"image_11042025_19_45_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/11/36672b26471703021b0b14284e853547.jpg","text":"TemporaryFile(/tmp/multipartBody169059776290663354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398753329,"filename":"image_11042025_19_44_36_9472.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351893613","file1":"1351893587","file0":"1351893577","file4":"1351893652","file5":"1351893675","file3":"1351893623"},"map_files_photo_id_array":[{"photo_id":"1351893675","filename":"file5"},{"photo_id":"1351893613","filename":"file2"},{"photo_id":"1351893652","filename":"file4"},{"photo_id":"1351893587","filename":"file1"},{"photo_id":"1351893577","filename":"file0"},{"photo_id":"1351893623","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351893587":["hashtag1","hashtag2"]},{"1351893623":["hashtag1","hashtag2"]},{"1351893652":["hashtag1","hashtag2"]},{"1351893577":["hashtag1","hashtag2"]},{"1351893675":["hashtag1","hashtag2"]},{"1351893613":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351893587, 1351893623, 1351893652, 1351893577, 1351893675, 1351893613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.57997393608093 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 21:12:33.024819
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/19/45/image_11042025_19_45_17_10447.jpg', '/home/pi/Desktop/images/11042025/19/45/image_11042025_19_45_26_9365.jpg', '/home/pi/Desktop/images/11042025/19/45/image_11042025_19_45_37_10396.jpg', '/home/pi/Desktop/images/11042025/19/45/image_11042025_19_45_46_9370.jpg', '/home/pi/Desktop/images/11042025/19/45/image_11042025_19_45_57_10357.jpg', '/home/pi/Desktop/images/11042025/19/45/image_11042025_19_46_07_10355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/19/45/image_11042025_19_45_17_10447.jpg
/home/pi/Desktop/images/11042025/19/45/image_11042025_19_45_26_9365.jpg
/home/pi/Desktop/images/11042025/19/45/image_11042025_19_45_37_10396.jpg
/home/pi/Desktop/images/11042025/19/45/image_11042025_19_45_46_9370.jpg
/home/pi/Desktop/images/11042025/19/45/image_11042025_19_45_57_10357.jpg
/home/pi/Desktop/images/11042025/19/45/image_11042025_19_46_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":["1351893974","1351894033","1351894114","1351894009","1351894071","1351893966"],"photo_ids_order":["1351893966","1351893974","1351894009","1351894033","1351894071","1351894114"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/96170ba521f1b7577d02d4b10dbd0cd9.jpg","text":"TemporaryFile(/tmp/multipartBody6337919075518267578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398813484,"filename":"image_11042025_19_45_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/11/d0d568b71537da5ba9099287da5eaeca.jpg","text":"TemporaryFile(/tmp/multipartBody6406309204680135672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398813484,"filename":"image_11042025_19_45_46_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/dc0db74b4ee025b65ad01922ee5ea0da.jpg","text":"TemporaryFile(/tmp/multipartBody6569155126881364793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398813484,"filename":"image_11042025_19_46_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/11/162550b49c7201b3153ec39f6d0aadce.jpg","text":"TemporaryFile(/tmp/multipartBody4424788062514917859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398813484,"filename":"image_11042025_19_45_37_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/dbc501ea99dd942d7d7ad81110727cbd.jpg","text":"TemporaryFile(/tmp/multipartBody5683222731720436858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398813484,"filename":"image_11042025_19_45_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/11/b5156736365525482aaaba3608323c8d.jpg","text":"TemporaryFile(/tmp/multipartBody5250323954601679567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398813484,"filename":"image_11042025_19_45_17_10447.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351894009","file1":"1351893974","file0":"1351893966","file4":"1351894071","file5":"1351894114","file3":"1351894033"},"map_files_photo_id_array":[{"photo_id":"1351894114","filename":"file5"},{"photo_id":"1351894009","filename":"file2"},{"photo_id":"1351894071","filename":"file4"},{"photo_id":"1351893974","filename":"file1"},{"photo_id":"1351893966","filename":"file0"},{"photo_id":"1351894033","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351893974":["hashtag1","hashtag2"]},{"1351894033":["hashtag1","hashtag2"]},{"1351894114":["hashtag1","hashtag2"]},{"1351894009":["hashtag1","hashtag2"]},{"1351894071":["hashtag1","hashtag2"]},{"1351893966":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351893974, 1351894033, 1351894114, 1351894009, 1351894071, 1351893966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.68676137924194 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 21:13:32.247865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/19/46/image_11042025_19_46_16_9391.jpg', '/home/pi/Desktop/images/11042025/19/46/image_11042025_19_46_27_10446.jpg', '/home/pi/Desktop/images/11042025/19/46/image_11042025_19_46_36_9423.jpg', '/home/pi/Desktop/images/11042025/19/46/image_11042025_19_46_47_10360.jpg', '/home/pi/Desktop/images/11042025/19/46/image_11042025_19_46_57_10384.jpg', '/home/pi/Desktop/images/11042025/19/46/image_11042025_19_47_06_9429.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/19/46/image_11042025_19_46_16_9391.jpg
/home/pi/Desktop/images/11042025/19/46/image_11042025_19_46_27_10446.jpg
/home/pi/Desktop/images/11042025/19/46/image_11042025_19_46_36_9423.jpg
/home/pi/Desktop/images/11042025/19/46/image_11042025_19_46_47_10360.jpg
/home/pi/Desktop/images/11042025/19/46/image_11042025_19_46_57_10384.jpg
/home/pi/Desktop/images/11042025/19/46/image_11042025_19_47_06_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":["1351894449","1351894483","1351894415","1351894369","1351894423","1351894395"],"photo_ids_order":["1351894369","1351894395","1351894415","1351894423","1351894449","1351894483"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/21525e62ad0b7cefffde89292d28da88.jpg","text":"TemporaryFile(/tmp/multipartBody590227454271883839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398872707,"filename":"image_11042025_19_46_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/11/57790e996287676acb907229d282ab9f.jpg","text":"TemporaryFile(/tmp/multipartBody3901633901937400504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398872707,"filename":"image_11042025_19_47_06_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/11/d79ab90e531c459fcd94bc714856b761.jpg","text":"TemporaryFile(/tmp/multipartBody5547466010452085781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398872707,"filename":"image_11042025_19_46_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/11/eb80818053b7f110b2ae27c212d6d976.jpg","text":"TemporaryFile(/tmp/multipartBody5107226522428040060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398872707,"filename":"image_11042025_19_46_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/11/a2fa1cb0c3d0c2562c0b40fd54c324fc.jpg","text":"TemporaryFile(/tmp/multipartBody8840131967745057870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398872707,"filename":"image_11042025_19_46_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/11/540219ee771f7a042a53f7bfba79be2d.jpg","text":"TemporaryFile(/tmp/multipartBody3316074889521651666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398872707,"filename":"image_11042025_19_46_27_10446.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351894415","file1":"1351894395","file0":"1351894369","file4":"1351894449","file5":"1351894483","file3":"1351894423"},"map_files_photo_id_array":[{"photo_id":"1351894483","filename":"file5"},{"photo_id":"1351894415","filename":"file2"},{"photo_id":"1351894449","filename":"file4"},{"photo_id":"1351894395","filename":"file1"},{"photo_id":"1351894369","filename":"file0"},{"photo_id":"1351894423","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351894449":["hashtag1","hashtag2"]},{"1351894483":["hashtag1","hashtag2"]},{"1351894415":["hashtag1","hashtag2"]},{"1351894369":["hashtag1","hashtag2"]},{"1351894423":["hashtag1","hashtag2"]},{"1351894395":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351894449, 1351894483, 1351894415, 1351894369, 1351894423, 1351894395)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.83768439292908 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 21:14:32.511344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/19/47/image_11042025_19_47_17_10363.jpg', '/home/pi/Desktop/images/11042025/19/47/image_11042025_19_47_27_10405.jpg', '/home/pi/Desktop/images/11042025/19/47/image_11042025_19_47_37_9467.jpg', '/home/pi/Desktop/images/11042025/19/47/image_11042025_19_47_47_10356.jpg', '/home/pi/Desktop/images/11042025/19/47/image_11042025_19_47_56_9404.jpg', '/home/pi/Desktop/images/11042025/19/47/image_11042025_19_48_07_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/19/47/image_11042025_19_47_17_10363.jpg
/home/pi/Desktop/images/11042025/19/47/image_11042025_19_47_27_10405.jpg
/home/pi/Desktop/images/11042025/19/47/image_11042025_19_47_37_9467.jpg
/home/pi/Desktop/images/11042025/19/47/image_11042025_19_47_47_10356.jpg
/home/pi/Desktop/images/11042025/19/47/image_11042025_19_47_56_9404.jpg
/home/pi/Desktop/images/11042025/19/47/image_11042025_19_48_07_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351894601","1351894594","1351894597","1351894621","1351894600","1351894590"],"photo_ids_order":["1351894590","1351894594","1351894597","1351894600","1351894601","1351894621"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1d602db81d878516fb57f6e699d46745.jpg","text":"TemporaryFile(/tmp/multipartBody5371319209539744522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398932969,"filename":"image_11042025_19_47_56_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/67c91093b763a351d76cb6f371523b75.jpg","text":"TemporaryFile(/tmp/multipartBody1412097440503927414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398932969,"filename":"image_11042025_19_47_27_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6680880bc798022dba3a8036eb1015a3.jpg","text":"TemporaryFile(/tmp/multipartBody1954161059831883569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398932969,"filename":"image_11042025_19_47_37_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/11/4338884059358b60b2e2a9deb1a8c2f8.jpg","text":"TemporaryFile(/tmp/multipartBody3478620960778982482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398932969,"filename":"image_11042025_19_48_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/11/d1d1600518f6028090dfa43dc04aad60.jpg","text":"TemporaryFile(/tmp/multipartBody7805138005123770019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398932969,"filename":"image_11042025_19_47_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/11/e27e9b8031fe0c2174816dbdb6a3980c.jpg","text":"TemporaryFile(/tmp/multipartBody217427244246273859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398932969,"filename":"image_11042025_19_47_17_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351894597","file1":"1351894594","file0":"1351894590","file4":"1351894601","file5":"1351894621","file3":"1351894600"},"map_files_photo_id_array":[{"photo_id":"1351894621","filename":"file5"},{"photo_id":"1351894597","filename":"file2"},{"photo_id":"1351894601","filename":"file4"},{"photo_id":"1351894594","filename":"file1"},{"photo_id":"1351894590","filename":"file0"},{"photo_id":"1351894600","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351894601":["hashtag1","hashtag2"]},{"1351894594":["hashtag1","hashtag2"]},{"1351894597":["hashtag1","hashtag2"]},{"1351894621":["hashtag1","hashtag2"]},{"1351894600":["hashtag1","hashtag2"]},{"1351894590":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351894601, 1351894594, 1351894597, 1351894621, 1351894600, 1351894590)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.623874187469482 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 21:15:32.703071
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/19/48/image_11042025_19_48_16_9474.jpg', '/home/pi/Desktop/images/11042025/19/48/image_11042025_19_48_27_10405.jpg', '/home/pi/Desktop/images/11042025/19/48/image_11042025_19_48_37_10489.jpg', '/home/pi/Desktop/images/11042025/19/48/image_11042025_19_48_46_9363.jpg', '/home/pi/Desktop/images/11042025/19/48/image_11042025_19_48_57_10357.jpg', '/home/pi/Desktop/images/11042025/19/48/image_11042025_19_49_07_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/19/48/image_11042025_19_48_16_9474.jpg
/home/pi/Desktop/images/11042025/19/48/image_11042025_19_48_27_10405.jpg
/home/pi/Desktop/images/11042025/19/48/image_11042025_19_48_37_10489.jpg
/home/pi/Desktop/images/11042025/19/48/image_11042025_19_48_46_9363.jpg
/home/pi/Desktop/images/11042025/19/48/image_11042025_19_48_57_10357.jpg
/home/pi/Desktop/images/11042025/19/48/image_11042025_19_49_07_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":["1351894725","1351894713","1351894709","1351894718","1351894706","1351894702"],"photo_ids_order":["1351894702","1351894706","1351894709","1351894713","1351894718","1351894725"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d7526a8e9958da071b1b36975308364c.jpg","text":"TemporaryFile(/tmp/multipartBody126009730978273966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398993167,"filename":"image_11042025_19_49_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/11/f9aa1353bdf16524256673c949efbc43.jpg","text":"TemporaryFile(/tmp/multipartBody8951490846621150999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398993167,"filename":"image_11042025_19_48_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/11/0ed7341cf150e7bdf13ad90a7276b958.jpg","text":"TemporaryFile(/tmp/multipartBody7836720598673332024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398993167,"filename":"image_11042025_19_48_37_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/11/ccc16a8acd189463229fdfc507dfb024.jpg","text":"TemporaryFile(/tmp/multipartBody1473622483829741261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398993167,"filename":"image_11042025_19_48_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/11/bccbc0a81ac478fd92caf94f135393ef.jpg","text":"TemporaryFile(/tmp/multipartBody7064179178522883220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398993167,"filename":"image_11042025_19_48_27_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d11ad600f8050903392326eeaebfaf5c.jpg","text":"TemporaryFile(/tmp/multipartBody4296441404561313151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744398993167,"filename":"image_11042025_19_48_16_9474.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351894709","file1":"1351894706","file0":"1351894702","file4":"1351894718","file5":"1351894725","file3":"1351894713"},"map_files_photo_id_array":[{"photo_id":"1351894725","filename":"file5"},{"photo_id":"1351894709","filename":"file2"},{"photo_id":"1351894718","filename":"file4"},{"photo_id":"1351894706","filename":"file1"},{"photo_id":"1351894702","filename":"file0"},{"photo_id":"1351894713","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351894725":["hashtag1","hashtag2"]},{"1351894713":["hashtag1","hashtag2"]},{"1351894709":["hashtag1","hashtag2"]},{"1351894718":["hashtag1","hashtag2"]},{"1351894706":["hashtag1","hashtag2"]},{"1351894702":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351894725, 1351894713, 1351894709, 1351894718, 1351894706, 1351894702)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.07317066192627 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 21:16:32.929731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/19/49/image_11042025_19_49_17_9378.jpg', '/home/pi/Desktop/images/11042025/19/49/image_11042025_19_49_27_10374.jpg', '/home/pi/Desktop/images/11042025/19/49/image_11042025_19_49_36_9352.jpg', '/home/pi/Desktop/images/11042025/19/49/image_11042025_19_49_47_10413.jpg', '/home/pi/Desktop/images/11042025/19/49/image_11042025_19_49_57_10479.jpg', '/home/pi/Desktop/images/11042025/19/49/image_11042025_19_50_06_9360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/19/49/image_11042025_19_49_17_9378.jpg
/home/pi/Desktop/images/11042025/19/49/image_11042025_19_49_27_10374.jpg
/home/pi/Desktop/images/11042025/19/49/image_11042025_19_49_36_9352.jpg
/home/pi/Desktop/images/11042025/19/49/image_11042025_19_49_47_10413.jpg
/home/pi/Desktop/images/11042025/19/49/image_11042025_19_49_57_10479.jpg
/home/pi/Desktop/images/11042025/19/49/image_11042025_19_50_06_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":["1351894967","1351894913","1351895017","1351894998","1351894950","1351894947"],"photo_ids_order":["1351894913","1351894947","1351894950","1351894967","1351894998","1351895017"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d803ab18e135eac46b6b0c08e0d3821e.jpg","text":"TemporaryFile(/tmp/multipartBody2915431989499824077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399053387,"filename":"image_11042025_19_49_47_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ca5ebffed816769e0ba3c2d51bc5b0ef.jpg","text":"TemporaryFile(/tmp/multipartBody7725977848115651129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399053387,"filename":"image_11042025_19_49_17_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/11/78fc94c7c57b82381cdd7d94f15d5d78.jpg","text":"TemporaryFile(/tmp/multipartBody2719146982065059070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399053387,"filename":"image_11042025_19_50_06_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c016f6ceddf6181d4ab6147fff80c705.jpg","text":"TemporaryFile(/tmp/multipartBody8509593274857120757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399053387,"filename":"image_11042025_19_49_57_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/11/393c10e21a88d88275327ac9251bc89c.jpg","text":"TemporaryFile(/tmp/multipartBody6662550769070994193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399053387,"filename":"image_11042025_19_49_36_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7a3733424e7f4fa51a85bda2f1b8ab61.jpg","text":"TemporaryFile(/tmp/multipartBody8979226060468515119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399053387,"filename":"image_11042025_19_49_27_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351894950","file1":"1351894947","file0":"1351894913","file4":"1351894998","file5":"1351895017","file3":"1351894967"},"map_files_photo_id_array":[{"photo_id":"1351895017","filename":"file5"},{"photo_id":"1351894950","filename":"file2"},{"photo_id":"1351894998","filename":"file4"},{"photo_id":"1351894947","filename":"file1"},{"photo_id":"1351894913","filename":"file0"},{"photo_id":"1351894967","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351894967":["hashtag1","hashtag2"]},{"1351894913":["hashtag1","hashtag2"]},{"1351895017":["hashtag1","hashtag2"]},{"1351894998":["hashtag1","hashtag2"]},{"1351894950":["hashtag1","hashtag2"]},{"1351894947":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351894967, 1351894913, 1351895017, 1351894998, 1351894950, 1351894947)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.748194456100464 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 21:17:33.025407
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/19/50/image_11042025_19_50_17_10351.jpg', '/home/pi/Desktop/images/11042025/19/50/image_11042025_19_50_26_9450.jpg', '/home/pi/Desktop/images/11042025/19/50/image_11042025_19_50_37_10355.jpg', '/home/pi/Desktop/images/11042025/19/50/image_11042025_19_50_47_10476.jpg', '/home/pi/Desktop/images/11042025/19/50/image_11042025_19_50_56_9367.jpg', '/home/pi/Desktop/images/11042025/19/50/image_11042025_19_51_07_10429.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/19/50/image_11042025_19_50_17_10351.jpg
/home/pi/Desktop/images/11042025/19/50/image_11042025_19_50_26_9450.jpg
/home/pi/Desktop/images/11042025/19/50/image_11042025_19_50_37_10355.jpg
/home/pi/Desktop/images/11042025/19/50/image_11042025_19_50_47_10476.jpg
/home/pi/Desktop/images/11042025/19/50/image_11042025_19_50_56_9367.jpg
/home/pi/Desktop/images/11042025/19/50/image_11042025_19_51_07_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":["1351895267","1351895315","1351895263","1351895332","1351895256","1351895271"],"photo_ids_order":["1351895256","1351895263","1351895267","1351895271","1351895315","1351895332"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/65bb166c07d47466bac8431b7fd786c8.jpg","text":"TemporaryFile(/tmp/multipartBody4902174265976383560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399113494,"filename":"image_11042025_19_50_37_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2293279cd73da01feff69a470cd9b393.jpg","text":"TemporaryFile(/tmp/multipartBody1670469531316194759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399113494,"filename":"image_11042025_19_50_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/11/f4ab43c8196571480157ecd50cfae1b7.jpg","text":"TemporaryFile(/tmp/multipartBody3348579247888724057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399113494,"filename":"image_11042025_19_50_26_9450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/24927b0acc3d52fd00695c6b9947d2b4.jpg","text":"TemporaryFile(/tmp/multipartBody5208479226501249382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399113494,"filename":"image_11042025_19_51_07_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c84ae3a27b7a6051ee3078a27fd82093.jpg","text":"TemporaryFile(/tmp/multipartBody7394663027599064638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399113494,"filename":"image_11042025_19_50_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/11/7331fa7d7ffd246fb190ff5749542862.jpg","text":"TemporaryFile(/tmp/multipartBody2299163740075260745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399113494,"filename":"image_11042025_19_50_47_10476.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351895267","file1":"1351895263","file0":"1351895256","file4":"1351895315","file5":"1351895332","file3":"1351895271"},"map_files_photo_id_array":[{"photo_id":"1351895332","filename":"file5"},{"photo_id":"1351895267","filename":"file2"},{"photo_id":"1351895315","filename":"file4"},{"photo_id":"1351895263","filename":"file1"},{"photo_id":"1351895256","filename":"file0"},{"photo_id":"1351895271","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351895267":["hashtag1","hashtag2"]},{"1351895315":["hashtag1","hashtag2"]},{"1351895263":["hashtag1","hashtag2"]},{"1351895332":["hashtag1","hashtag2"]},{"1351895256":["hashtag1","hashtag2"]},{"1351895271":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351895267, 1351895315, 1351895263, 1351895332, 1351895256, 1351895271)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.98369264602661 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 21:18:32.400622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/19/51/image_11042025_19_51_16_9428.jpg', '/home/pi/Desktop/images/11042025/19/51/image_11042025_19_51_27_10373.jpg', '/home/pi/Desktop/images/11042025/19/51/image_11042025_19_51_36_9468.jpg', '/home/pi/Desktop/images/11042025/19/51/image_11042025_19_51_47_10413.jpg', '/home/pi/Desktop/images/11042025/19/51/image_11042025_19_51_57_10493.jpg', '/home/pi/Desktop/images/11042025/19/51/image_11042025_19_52_06_9334.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/19/51/image_11042025_19_51_16_9428.jpg
/home/pi/Desktop/images/11042025/19/51/image_11042025_19_51_27_10373.jpg
/home/pi/Desktop/images/11042025/19/51/image_11042025_19_51_36_9468.jpg
/home/pi/Desktop/images/11042025/19/51/image_11042025_19_51_47_10413.jpg
/home/pi/Desktop/images/11042025/19/51/image_11042025_19_51_57_10493.jpg
/home/pi/Desktop/images/11042025/19/51/image_11042025_19_52_06_9334.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351895564","1351895558","1351895567","1351895464","1351895541","1351895532"],"photo_ids_order":["1351895464","1351895532","1351895541","1351895558","1351895564","1351895567"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f575ee28e63e1a7b4be85eb48fa0914c.jpg","text":"TemporaryFile(/tmp/multipartBody7660502042166026694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399172874,"filename":"image_11042025_19_51_57_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/11/7542bb6784fb6434a4f987bcb56d7db1.jpg","text":"TemporaryFile(/tmp/multipartBody3086687356704413953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399172874,"filename":"image_11042025_19_51_47_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/cc8721b2afbb9b2121781398e5b5f4e4.jpg","text":"TemporaryFile(/tmp/multipartBody1752645797919588628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399172874,"filename":"image_11042025_19_52_06_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1d4cddba4cd32b026e13a8dad1cb8b8e.jpg","text":"TemporaryFile(/tmp/multipartBody8452242584718402202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399172874,"filename":"image_11042025_19_51_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/11/f6319aee784eec1871ae39d81e4889e5.jpg","text":"TemporaryFile(/tmp/multipartBody7704244952501215847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399172874,"filename":"image_11042025_19_51_36_9468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7a7f62ac6f445e582050f21fa360a611.jpg","text":"TemporaryFile(/tmp/multipartBody4239265197792418815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399172874,"filename":"image_11042025_19_51_27_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351895541","file1":"1351895532","file0":"1351895464","file4":"1351895564","file5":"1351895567","file3":"1351895558"},"map_files_photo_id_array":[{"photo_id":"1351895567","filename":"file5"},{"photo_id":"1351895541","filename":"file2"},{"photo_id":"1351895564","filename":"file4"},{"photo_id":"1351895532","filename":"file1"},{"photo_id":"1351895464","filename":"file0"},{"photo_id":"1351895558","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351895564":["hashtag1","hashtag2"]},{"1351895558":["hashtag1","hashtag2"]},{"1351895567":["hashtag1","hashtag2"]},{"1351895464":["hashtag1","hashtag2"]},{"1351895541":["hashtag1","hashtag2"]},{"1351895532":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351895564, 1351895558, 1351895567, 1351895464, 1351895541, 1351895532)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.82332372665405 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 21:19:32.668606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/19/52/image_11042025_19_52_17_10416.jpg', '/home/pi/Desktop/images/11042025/19/52/image_11042025_19_52_26_9375.jpg', '/home/pi/Desktop/images/11042025/19/52/image_11042025_19_52_37_10345.jpg', '/home/pi/Desktop/images/11042025/19/52/image_11042025_19_52_47_10391.jpg', '/home/pi/Desktop/images/11042025/19/52/image_11042025_19_52_56_9359.jpg', '/home/pi/Desktop/images/11042025/19/52/image_11042025_19_53_07_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/19/52/image_11042025_19_52_17_10416.jpg
/home/pi/Desktop/images/11042025/19/52/image_11042025_19_52_26_9375.jpg
/home/pi/Desktop/images/11042025/19/52/image_11042025_19_52_37_10345.jpg
/home/pi/Desktop/images/11042025/19/52/image_11042025_19_52_47_10391.jpg
/home/pi/Desktop/images/11042025/19/52/image_11042025_19_52_56_9359.jpg
/home/pi/Desktop/images/11042025/19/52/image_11042025_19_53_07_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":["1351895719","1351895682","1351895784","1351895859","1351895910","1351895817"],"photo_ids_order":["1351895682","1351895719","1351895784","1351895817","1351895859","1351895910"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/78052cb2f6f6f1524b03e1f5d2d08c1c.jpg","text":"TemporaryFile(/tmp/multipartBody5810570867876411580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399233141,"filename":"image_11042025_19_52_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/11/8da5ac4dd899b1e25c922683f0b5de28.jpg","text":"TemporaryFile(/tmp/multipartBody1618720406986402025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399233141,"filename":"image_11042025_19_52_17_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/62b1daa8d7fb1e47c9b14e0648be90a8.jpg","text":"TemporaryFile(/tmp/multipartBody4243830422606532512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399233141,"filename":"image_11042025_19_52_37_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/302d5c47cd8fa80e409f4ad238f31a02.jpg","text":"TemporaryFile(/tmp/multipartBody3627564312799184347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399233141,"filename":"image_11042025_19_52_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/11/28c2451e0b95ef6ef807ac3465f7160e.jpg","text":"TemporaryFile(/tmp/multipartBody8392305060720879061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399233141,"filename":"image_11042025_19_53_07_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/67e74ee8934fd072e205de4345f28222.jpg","text":"TemporaryFile(/tmp/multipartBody7142630286800898079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399233141,"filename":"image_11042025_19_52_47_10391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351895784","file1":"1351895719","file0":"1351895682","file4":"1351895859","file5":"1351895910","file3":"1351895817"},"map_files_photo_id_array":[{"photo_id":"1351895910","filename":"file5"},{"photo_id":"1351895784","filename":"file2"},{"photo_id":"1351895859","filename":"file4"},{"photo_id":"1351895719","filename":"file1"},{"photo_id":"1351895682","filename":"file0"},{"photo_id":"1351895817","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351895719":["hashtag1","hashtag2"]},{"1351895682":["hashtag1","hashtag2"]},{"1351895784":["hashtag1","hashtag2"]},{"1351895859":["hashtag1","hashtag2"]},{"1351895910":["hashtag1","hashtag2"]},{"1351895817":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351895719, 1351895682, 1351895784, 1351895859, 1351895910, 1351895817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.74998927116394 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 21:20:32.885723
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/19/53/image_11042025_19_53_17_10394.jpg', '/home/pi/Desktop/images/11042025/19/53/image_11042025_19_53_26_9354.jpg', '/home/pi/Desktop/images/11042025/19/53/image_11042025_19_53_37_10346.jpg', '/home/pi/Desktop/images/11042025/19/53/image_11042025_19_53_46_9350.jpg', '/home/pi/Desktop/images/11042025/19/53/image_11042025_19_53_57_10355.jpg', '/home/pi/Desktop/images/11042025/19/53/image_11042025_19_54_07_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/19/53/image_11042025_19_53_17_10394.jpg
/home/pi/Desktop/images/11042025/19/53/image_11042025_19_53_26_9354.jpg
/home/pi/Desktop/images/11042025/19/53/image_11042025_19_53_37_10346.jpg
/home/pi/Desktop/images/11042025/19/53/image_11042025_19_53_46_9350.jpg
/home/pi/Desktop/images/11042025/19/53/image_11042025_19_53_57_10355.jpg
/home/pi/Desktop/images/11042025/19/53/image_11042025_19_54_07_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":["1351896475","1351896382","1351896262","1351896562","1351896310","1351896437"],"photo_ids_order":["1351896262","1351896310","1351896382","1351896437","1351896475","1351896562"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f7bec51f52ec8cd4755162f320ec3f7e.jpg","text":"TemporaryFile(/tmp/multipartBody4910067601159986446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399293349,"filename":"image_11042025_19_53_57_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d807d124687c9df0d372abad3531d25d.jpg","text":"TemporaryFile(/tmp/multipartBody6200755834991716426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399293349,"filename":"image_11042025_19_53_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/11/f61db0618d2f2ee6009c41261afad02f.jpg","text":"TemporaryFile(/tmp/multipartBody3116271822552349173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399293349,"filename":"image_11042025_19_53_17_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2d6600e3e16343e31cb271c61bfc3719.jpg","text":"TemporaryFile(/tmp/multipartBody8014610054789376561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399293349,"filename":"image_11042025_19_54_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/11/4a53d80257d25683061846e3724cfa17.jpg","text":"TemporaryFile(/tmp/multipartBody6290348262375625456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399293349,"filename":"image_11042025_19_53_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/11/c6d08459b5b36195aa4e3abccc242dda.jpg","text":"TemporaryFile(/tmp/multipartBody301102539841622889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399293349,"filename":"image_11042025_19_53_46_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351896382","file1":"1351896310","file0":"1351896262","file4":"1351896475","file5":"1351896562","file3":"1351896437"},"map_files_photo_id_array":[{"photo_id":"1351896562","filename":"file5"},{"photo_id":"1351896382","filename":"file2"},{"photo_id":"1351896475","filename":"file4"},{"photo_id":"1351896310","filename":"file1"},{"photo_id":"1351896262","filename":"file0"},{"photo_id":"1351896437","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351896475":["hashtag1","hashtag2"]},{"1351896382":["hashtag1","hashtag2"]},{"1351896262":["hashtag1","hashtag2"]},{"1351896562":["hashtag1","hashtag2"]},{"1351896310":["hashtag1","hashtag2"]},{"1351896437":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351896475, 1351896382, 1351896262, 1351896562, 1351896310, 1351896437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.239105224609375 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 21:21:33.092662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/19/54/image_11042025_19_54_16_9449.jpg', '/home/pi/Desktop/images/11042025/19/54/image_11042025_19_54_27_10364.jpg', '/home/pi/Desktop/images/11042025/19/54/image_11042025_19_54_37_10422.jpg', '/home/pi/Desktop/images/11042025/19/54/image_11042025_19_54_47_9414.jpg', '/home/pi/Desktop/images/11042025/19/54/image_11042025_19_54_57_10351.jpg', '/home/pi/Desktop/images/11042025/19/54/image_11042025_19_55_06_9354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/19/54/image_11042025_19_54_16_9449.jpg
/home/pi/Desktop/images/11042025/19/54/image_11042025_19_54_27_10364.jpg
/home/pi/Desktop/images/11042025/19/54/image_11042025_19_54_37_10422.jpg
/home/pi/Desktop/images/11042025/19/54/image_11042025_19_54_47_9414.jpg
/home/pi/Desktop/images/11042025/19/54/image_11042025_19_54_57_10351.jpg
/home/pi/Desktop/images/11042025/19/54/image_11042025_19_55_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":["1351897189","1351897114","1351897185","1351897035","1351896972","1351897157"],"photo_ids_order":["1351896972","1351897035","1351897114","1351897157","1351897185","1351897189"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4b1b6ab211a1f3386da5f11f02ae37a5.jpg","text":"TemporaryFile(/tmp/multipartBody4211885477768677068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399353570,"filename":"image_11042025_19_55_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/11/9071990a4766ff7ef64a5e4397ca1685.jpg","text":"TemporaryFile(/tmp/multipartBody6202097829070567137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399353570,"filename":"image_11042025_19_54_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/11/a19ebae6ffe5e9ef3092e4653eec391c.jpg","text":"TemporaryFile(/tmp/multipartBody1662671041453242634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399353570,"filename":"image_11042025_19_54_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/11/1d36fef22aaef5467f436b130a8a4281.jpg","text":"TemporaryFile(/tmp/multipartBody1252191856226406141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399353570,"filename":"image_11042025_19_54_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/11/a2316c63ab1babfb47b557023402df8f.jpg","text":"TemporaryFile(/tmp/multipartBody3832708715224225120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399353570,"filename":"image_11042025_19_54_16_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4629a4209a66ecfa83e8d34ad1ab6fe9.jpg","text":"TemporaryFile(/tmp/multipartBody3352508455375428846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399353570,"filename":"image_11042025_19_54_47_9414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351897114","file1":"1351897035","file0":"1351896972","file4":"1351897185","file5":"1351897189","file3":"1351897157"},"map_files_photo_id_array":[{"photo_id":"1351897189","filename":"file5"},{"photo_id":"1351897114","filename":"file2"},{"photo_id":"1351897185","filename":"file4"},{"photo_id":"1351897035","filename":"file1"},{"photo_id":"1351896972","filename":"file0"},{"photo_id":"1351897157","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351897189":["hashtag1","hashtag2"]},{"1351897114":["hashtag1","hashtag2"]},{"1351897185":["hashtag1","hashtag2"]},{"1351897035":["hashtag1","hashtag2"]},{"1351896972":["hashtag1","hashtag2"]},{"1351897157":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351897189, 1351897114, 1351897185, 1351897035, 1351896972, 1351897157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.97818374633789 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 21:22:32.213992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/19/55/image_11042025_19_55_17_10420.jpg', '/home/pi/Desktop/images/11042025/19/55/image_11042025_19_55_27_10483.jpg', '/home/pi/Desktop/images/11042025/19/55/image_11042025_19_55_36_9351.jpg', '/home/pi/Desktop/images/11042025/19/55/image_11042025_19_55_47_10376.jpg', '/home/pi/Desktop/images/11042025/19/55/image_11042025_19_55_56_9436.jpg', '/home/pi/Desktop/images/11042025/19/55/image_11042025_19_56_07_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/19/55/image_11042025_19_55_17_10420.jpg
/home/pi/Desktop/images/11042025/19/55/image_11042025_19_55_27_10483.jpg
/home/pi/Desktop/images/11042025/19/55/image_11042025_19_55_36_9351.jpg
/home/pi/Desktop/images/11042025/19/55/image_11042025_19_55_47_10376.jpg
/home/pi/Desktop/images/11042025/19/55/image_11042025_19_55_56_9436.jpg
/home/pi/Desktop/images/11042025/19/55/image_11042025_19_56_07_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":["1351897945","1351897735","1351898073","1351898031","1351898106","1351897872"],"photo_ids_order":["1351897735","1351897872","1351897945","1351898031","1351898073","1351898106"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/89daa94eda325587d6c98be57e087781.jpg","text":"TemporaryFile(/tmp/multipartBody8357959814750128942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399412705,"filename":"image_11042025_19_55_36_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9eae1f321b9a0cb543b5cbc4e28bde28.jpg","text":"TemporaryFile(/tmp/multipartBody2027052654708084550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399412705,"filename":"image_11042025_19_55_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/11/537496732f0619fb33d324796cb72920.jpg","text":"TemporaryFile(/tmp/multipartBody8123233903846278853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399412705,"filename":"image_11042025_19_55_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/11/5a0eb65ebf77a532e380933a27ae9255.jpg","text":"TemporaryFile(/tmp/multipartBody7495598213785432265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399412705,"filename":"image_11042025_19_55_47_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/efb36d225828b6f0b1f8627bfeedd1ee.jpg","text":"TemporaryFile(/tmp/multipartBody4872017910757961085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399412705,"filename":"image_11042025_19_56_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/11/6085633e2bc48ade4c27ff0399e5c06b.jpg","text":"TemporaryFile(/tmp/multipartBody5637886566102290168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399412705,"filename":"image_11042025_19_55_27_10483.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351897945","file1":"1351897872","file0":"1351897735","file4":"1351898073","file5":"1351898106","file3":"1351898031"},"map_files_photo_id_array":[{"photo_id":"1351898106","filename":"file5"},{"photo_id":"1351897945","filename":"file2"},{"photo_id":"1351898073","filename":"file4"},{"photo_id":"1351897872","filename":"file1"},{"photo_id":"1351897735","filename":"file0"},{"photo_id":"1351898031","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351897945":["hashtag1","hashtag2"]},{"1351897735":["hashtag1","hashtag2"]},{"1351898073":["hashtag1","hashtag2"]},{"1351898031":["hashtag1","hashtag2"]},{"1351898106":["hashtag1","hashtag2"]},{"1351897872":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351897945, 1351897735, 1351898073, 1351898031, 1351898106, 1351897872)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.62299728393555 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 21:23:32.623381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/19/56/image_11042025_19_56_17_10446.jpg', '/home/pi/Desktop/images/11042025/19/56/image_11042025_19_56_26_9360.jpg', '/home/pi/Desktop/images/11042025/19/56/image_11042025_19_56_37_10363.jpg', '/home/pi/Desktop/images/11042025/19/56/image_11042025_19_56_46_9353.jpg', '/home/pi/Desktop/images/11042025/19/56/image_11042025_19_56_57_10391.jpg', '/home/pi/Desktop/images/11042025/19/56/image_11042025_19_57_07_10474.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/19/56/image_11042025_19_56_17_10446.jpg
/home/pi/Desktop/images/11042025/19/56/image_11042025_19_56_26_9360.jpg
/home/pi/Desktop/images/11042025/19/56/image_11042025_19_56_37_10363.jpg
/home/pi/Desktop/images/11042025/19/56/image_11042025_19_56_46_9353.jpg
/home/pi/Desktop/images/11042025/19/56/image_11042025_19_56_57_10391.jpg
/home/pi/Desktop/images/11042025/19/56/image_11042025_19_57_07_10474.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":["1351898422","1351898503","1351898466","1351898502","1351898459","1351898365"],"photo_ids_order":["1351898365","1351898422","1351898459","1351898466","1351898502","1351898503"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/73022ad08858e96ab764a154f3d332ce.jpg","text":"TemporaryFile(/tmp/multipartBody3202988055583080001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399473090,"filename":"image_11042025_19_56_26_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8391518bd29aebbf8942821af4e8714f.jpg","text":"TemporaryFile(/tmp/multipartBody4286620878817884657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399473090,"filename":"image_11042025_19_57_07_10474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/796ef7621b823e192c9018a0c57d6a50.jpg","text":"TemporaryFile(/tmp/multipartBody978281931513946901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399473090,"filename":"image_11042025_19_56_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/11/770af64c40c2abc5f6607d0f02536f2d.jpg","text":"TemporaryFile(/tmp/multipartBody2376585498614117227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399473090,"filename":"image_11042025_19_56_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/11/79c64053e44bf99d5d1b4b026b47c2d8.jpg","text":"TemporaryFile(/tmp/multipartBody4474501966991047938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399473090,"filename":"image_11042025_19_56_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/11/585b0003bb1b2f5ec974cc68cd5a7b14.jpg","text":"TemporaryFile(/tmp/multipartBody8101884129788394122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399473090,"filename":"image_11042025_19_56_17_10446.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351898459","file1":"1351898422","file0":"1351898365","file4":"1351898502","file5":"1351898503","file3":"1351898466"},"map_files_photo_id_array":[{"photo_id":"1351898503","filename":"file5"},{"photo_id":"1351898459","filename":"file2"},{"photo_id":"1351898502","filename":"file4"},{"photo_id":"1351898422","filename":"file1"},{"photo_id":"1351898365","filename":"file0"},{"photo_id":"1351898466","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351898422":["hashtag1","hashtag2"]},{"1351898503":["hashtag1","hashtag2"]},{"1351898466":["hashtag1","hashtag2"]},{"1351898502":["hashtag1","hashtag2"]},{"1351898459":["hashtag1","hashtag2"]},{"1351898365":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351898422, 1351898503, 1351898466, 1351898502, 1351898459, 1351898365)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 66.46584558486938 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 21:24:42.831638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/19/57/image_11042025_19_57_16_9460.jpg', '/home/pi/Desktop/images/11042025/19/57/image_11042025_19_57_27_10379.jpg', '/home/pi/Desktop/images/11042025/19/57/image_11042025_19_57_36_9449.jpg', '/home/pi/Desktop/images/11042025/19/57/image_11042025_19_57_47_10358.jpg', '/home/pi/Desktop/images/11042025/19/57/image_11042025_19_57_56_9496.jpg', '/home/pi/Desktop/images/11042025/19/57/image_11042025_19_58_07_10377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/19/57/image_11042025_19_57_16_9460.jpg
/home/pi/Desktop/images/11042025/19/57/image_11042025_19_57_27_10379.jpg
/home/pi/Desktop/images/11042025/19/57/image_11042025_19_57_36_9449.jpg
/home/pi/Desktop/images/11042025/19/57/image_11042025_19_57_47_10358.jpg
/home/pi/Desktop/images/11042025/19/57/image_11042025_19_57_56_9496.jpg
/home/pi/Desktop/images/11042025/19/57/image_11042025_19_58_07_10377.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351898713","1351898898","1351898736","1351898783","1351898651","1351898842"],"photo_ids_order":["1351898651","1351898713","1351898736","1351898783","1351898842","1351898898"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9a2461e49c140745872c7c40e2f30cf7.jpg","text":"TemporaryFile(/tmp/multipartBody1700335754021713902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399543300,"filename":"image_11042025_19_57_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/11/8a8446778024f9d8461936374b59150d.jpg","text":"TemporaryFile(/tmp/multipartBody1765420693340657861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399543300,"filename":"image_11042025_19_58_07_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/19d6111eb9b3d42a321905e37fff5fbb.jpg","text":"TemporaryFile(/tmp/multipartBody1552575611957516347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399543300,"filename":"image_11042025_19_57_36_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/71366d8c0512c7f2c37863734802ef7b.jpg","text":"TemporaryFile(/tmp/multipartBody351466767665031061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399543300,"filename":"image_11042025_19_57_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/11/0165e6eee667420cb54f30f59c53b10a.jpg","text":"TemporaryFile(/tmp/multipartBody5060844631319285487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399543300,"filename":"image_11042025_19_57_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/11/19589910f17ea45a92bbb18ef9432de6.jpg","text":"TemporaryFile(/tmp/multipartBody5046038765361321997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399543300,"filename":"image_11042025_19_57_56_9496.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351898736","file1":"1351898713","file0":"1351898651","file4":"1351898842","file5":"1351898898","file3":"1351898783"},"map_files_photo_id_array":[{"photo_id":"1351898898","filename":"file5"},{"photo_id":"1351898736","filename":"file2"},{"photo_id":"1351898842","filename":"file4"},{"photo_id":"1351898713","filename":"file1"},{"photo_id":"1351898651","filename":"file0"},{"photo_id":"1351898783","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351898713":["hashtag1","hashtag2"]},{"1351898898":["hashtag1","hashtag2"]},{"1351898736":["hashtag1","hashtag2"]},{"1351898783":["hashtag1","hashtag2"]},{"1351898651":["hashtag1","hashtag2"]},{"1351898842":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351898713, 1351898898, 1351898736, 1351898783, 1351898651, 1351898842)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.148520946502686 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 21:25:33.083941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/19/58/image_11042025_19_58_17_10475.jpg', '/home/pi/Desktop/images/11042025/19/58/image_11042025_19_58_26_9417.jpg', '/home/pi/Desktop/images/11042025/19/58/image_11042025_19_58_37_10413.jpg', '/home/pi/Desktop/images/11042025/19/58/image_11042025_19_58_46_9350.jpg', '/home/pi/Desktop/images/11042025/19/58/image_11042025_19_59_07_10394.jpg', '/home/pi/Desktop/images/11042025/19/59/image_11042025_19_59_16_9374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/19/58/image_11042025_19_58_17_10475.jpg
/home/pi/Desktop/images/11042025/19/58/image_11042025_19_58_26_9417.jpg
/home/pi/Desktop/images/11042025/19/58/image_11042025_19_58_37_10413.jpg
/home/pi/Desktop/images/11042025/19/58/image_11042025_19_58_46_9350.jpg
/home/pi/Desktop/images/11042025/19/58/image_11042025_19_59_07_10394.jpg
/home/pi/Desktop/images/11042025/19/59/image_11042025_19_59_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":["1351899225","1351899377","1351899320","1351899184","1351899172","1351899439"],"photo_ids_order":["1351899172","1351899184","1351899225","1351899320","1351899377","1351899439"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/721ad98f146e87e7d2c54ccfeb92a567.jpg","text":"TemporaryFile(/tmp/multipartBody1165187362678049905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399593563,"filename":"image_11042025_19_58_37_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d12e19ef8f521a0cff2e1d83a66f2d4f.jpg","text":"TemporaryFile(/tmp/multipartBody2859822849287515221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399593563,"filename":"image_11042025_19_59_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/11/6fbadfcad3a7ad1983c8170bf8703d1e.jpg","text":"TemporaryFile(/tmp/multipartBody6704613183493621190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399593563,"filename":"image_11042025_19_58_46_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ca80bf5845ef14477ad311d5e32f7bdf.jpg","text":"TemporaryFile(/tmp/multipartBody7567382826609258901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399593563,"filename":"image_11042025_19_58_26_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e2b5618bee90b0d67ab20e712076aace.jpg","text":"TemporaryFile(/tmp/multipartBody1218685771133861403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399593563,"filename":"image_11042025_19_58_17_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/11/9dd7a9821db07217025e125e4b72d199.jpg","text":"TemporaryFile(/tmp/multipartBody1104575964761680406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399593563,"filename":"image_11042025_19_59_16_9374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351899225","file1":"1351899184","file0":"1351899172","file4":"1351899377","file5":"1351899439","file3":"1351899320"},"map_files_photo_id_array":[{"photo_id":"1351899439","filename":"file5"},{"photo_id":"1351899225","filename":"file2"},{"photo_id":"1351899377","filename":"file4"},{"photo_id":"1351899184","filename":"file1"},{"photo_id":"1351899172","filename":"file0"},{"photo_id":"1351899320","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351899225":["hashtag1","hashtag2"]},{"1351899377":["hashtag1","hashtag2"]},{"1351899320":["hashtag1","hashtag2"]},{"1351899184":["hashtag1","hashtag2"]},{"1351899172":["hashtag1","hashtag2"]},{"1351899439":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351899225, 1351899377, 1351899320, 1351899184, 1351899172, 1351899439)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.26003551483154 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 21:26:32.503277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/19/59/image_11042025_19_59_27_10401.jpg', '/home/pi/Desktop/images/11042025/19/59/image_11042025_19_59_36_9422.jpg', '/home/pi/Desktop/images/11042025/19/59/image_11042025_19_59_47_10374.jpg', '/home/pi/Desktop/images/11042025/19/59/image_11042025_19_59_57_10380.jpg', '/home/pi/Desktop/images/11042025/20/00/image_11042025_20_00_37_10424.jpg', '/home/pi/Desktop/images/11042025/20/00/image_11042025_20_00_46_9352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/19/59/image_11042025_19_59_27_10401.jpg
/home/pi/Desktop/images/11042025/19/59/image_11042025_19_59_36_9422.jpg
/home/pi/Desktop/images/11042025/19/59/image_11042025_19_59_47_10374.jpg
/home/pi/Desktop/images/11042025/19/59/image_11042025_19_59_57_10380.jpg
/home/pi/Desktop/images/11042025/20/00/image_11042025_20_00_37_10424.jpg
/home/pi/Desktop/images/11042025/20/00/image_11042025_20_00_46_9352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351899698","1351899764","1351899953","1351899623","1351899824","1351899654"],"photo_ids_order":["1351899623","1351899654","1351899698","1351899764","1351899824","1351899953"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d6b9d023d52ac4baef85b0a47070ecf6.jpg","text":"TemporaryFile(/tmp/multipartBody7684592704783320434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399652977,"filename":"image_11042025_19_59_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/11/a01eaa8647517567a4c6c319af1de2e5.jpg","text":"TemporaryFile(/tmp/multipartBody158867902677928833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399652977,"filename":"image_11042025_19_59_57_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/cd57f461d70b3d10ba3d566692727863.jpg","text":"TemporaryFile(/tmp/multipartBody2796558895825741741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399652977,"filename":"image_11042025_20_00_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/11/d046723590306f1046ded5dd66d186a7.jpg","text":"TemporaryFile(/tmp/multipartBody7819312531707272338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399652977,"filename":"image_11042025_19_59_27_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ce4c8325ece782e221f3750caa32cbe9.jpg","text":"TemporaryFile(/tmp/multipartBody6226273770041856199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399652977,"filename":"image_11042025_20_00_37_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ce44b56457fa08f358a8b71351a8d673.jpg","text":"TemporaryFile(/tmp/multipartBody3752260953846237665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399652977,"filename":"image_11042025_19_59_36_9422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351899698","file1":"1351899654","file0":"1351899623","file4":"1351899824","file5":"1351899953","file3":"1351899764"},"map_files_photo_id_array":[{"photo_id":"1351899953","filename":"file5"},{"photo_id":"1351899698","filename":"file2"},{"photo_id":"1351899824","filename":"file4"},{"photo_id":"1351899654","filename":"file1"},{"photo_id":"1351899623","filename":"file0"},{"photo_id":"1351899764","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351899698":["hashtag1","hashtag2"]},{"1351899764":["hashtag1","hashtag2"]},{"1351899953":["hashtag1","hashtag2"]},{"1351899623":["hashtag1","hashtag2"]},{"1351899824":["hashtag1","hashtag2"]},{"1351899654":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351899698, 1351899764, 1351899953, 1351899623, 1351899824, 1351899654)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.61393117904663 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 21:27:32.637458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/20/00/image_11042025_20_00_56_10455.jpg', '/home/pi/Desktop/images/11042025/20/00/image_11042025_20_01_06_9390.jpg', '/home/pi/Desktop/images/11042025/20/01/image_11042025_20_01_16_10505.jpg', '/home/pi/Desktop/images/11042025/20/01/image_11042025_20_01_26_9451.jpg', '/home/pi/Desktop/images/11042025/20/01/image_11042025_20_01_36_10418.jpg', '/home/pi/Desktop/images/11042025/20/01/image_11042025_20_01_47_10434.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/20/00/image_11042025_20_00_56_10455.jpg
/home/pi/Desktop/images/11042025/20/00/image_11042025_20_01_06_9390.jpg
/home/pi/Desktop/images/11042025/20/01/image_11042025_20_01_16_10505.jpg
/home/pi/Desktop/images/11042025/20/01/image_11042025_20_01_26_9451.jpg
/home/pi/Desktop/images/11042025/20/01/image_11042025_20_01_36_10418.jpg
/home/pi/Desktop/images/11042025/20/01/image_11042025_20_01_47_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":["1351900271","1351900070","1351900043","1351900103","1351900208","1351900348"],"photo_ids_order":["1351900043","1351900070","1351900103","1351900208","1351900271","1351900348"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e84ed85ede7fa0aa3c3433d61d6995fe.jpg","text":"TemporaryFile(/tmp/multipartBody7506178207568788555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399713102,"filename":"image_11042025_20_01_36_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4461d507ec5072b725b5908369eb2dcd.jpg","text":"TemporaryFile(/tmp/multipartBody4263481916656618793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399713102,"filename":"image_11042025_20_01_06_9390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/182f5f3420f35f2e96ddd54193d7af2c.jpg","text":"TemporaryFile(/tmp/multipartBody164567819129483365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399713102,"filename":"image_11042025_20_00_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/11/22ce81db3ed21702a4fc6cc2fd062bf3.jpg","text":"TemporaryFile(/tmp/multipartBody5323322326000084705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399713102,"filename":"image_11042025_20_01_16_10505.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3bc542bd1eb3361b07c6894b2f39e64a.jpg","text":"TemporaryFile(/tmp/multipartBody7059622092896633149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399713102,"filename":"image_11042025_20_01_26_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/bdab6522476cce5d11cae7cdd7ee2778.jpg","text":"TemporaryFile(/tmp/multipartBody5530300085234394570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399713102,"filename":"image_11042025_20_01_47_10434.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351900103","file1":"1351900070","file0":"1351900043","file4":"1351900271","file5":"1351900348","file3":"1351900208"},"map_files_photo_id_array":[{"photo_id":"1351900348","filename":"file5"},{"photo_id":"1351900103","filename":"file2"},{"photo_id":"1351900271","filename":"file4"},{"photo_id":"1351900070","filename":"file1"},{"photo_id":"1351900043","filename":"file0"},{"photo_id":"1351900208","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351900271":["hashtag1","hashtag2"]},{"1351900070":["hashtag1","hashtag2"]},{"1351900043":["hashtag1","hashtag2"]},{"1351900103":["hashtag1","hashtag2"]},{"1351900208":["hashtag1","hashtag2"]},{"1351900348":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351900271, 1351900070, 1351900043, 1351900103, 1351900208, 1351900348)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.61305809020996 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 21:28:32.892574
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/20/01/image_11042025_20_01_56_9388.jpg', '/home/pi/Desktop/images/11042025/20/02/image_11042025_20_02_16_9416.jpg', '/home/pi/Desktop/images/11042025/20/02/image_11042025_20_02_26_10427.jpg', '/home/pi/Desktop/images/11042025/20/02/image_11042025_20_02_56_10380.jpg', '/home/pi/Desktop/images/11042025/20/02/image_11042025_20_03_06_9374.jpg', '/home/pi/Desktop/images/11042025/20/03/image_11042025_20_03_16_10458.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/20/01/image_11042025_20_01_56_9388.jpg
/home/pi/Desktop/images/11042025/20/02/image_11042025_20_02_16_9416.jpg
/home/pi/Desktop/images/11042025/20/02/image_11042025_20_02_26_10427.jpg
/home/pi/Desktop/images/11042025/20/02/image_11042025_20_02_56_10380.jpg
/home/pi/Desktop/images/11042025/20/02/image_11042025_20_03_06_9374.jpg
/home/pi/Desktop/images/11042025/20/03/image_11042025_20_03_16_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":["1351900586","1351900730","1351900659","1351900767","1351900827","1351900784"],"photo_ids_order":["1351900586","1351900659","1351900730","1351900767","1351900784","1351900827"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b8501ca647d91351e9feceb54ac572cd.jpg","text":"TemporaryFile(/tmp/multipartBody4543545907902481344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399773363,"filename":"image_11042025_20_01_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/11/4ee04b63b1b061545f44eaa98bfba741.jpg","text":"TemporaryFile(/tmp/multipartBody5203277852219768239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399773363,"filename":"image_11042025_20_02_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/11/497c0eb209a4a9a782f8200568e81abe.jpg","text":"TemporaryFile(/tmp/multipartBody9184743589431861087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399773363,"filename":"image_11042025_20_02_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/11/c3d79bdba8b9c712692ab14b9e5817a9.jpg","text":"TemporaryFile(/tmp/multipartBody2593536127313755081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399773363,"filename":"image_11042025_20_02_56_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d7f43e503798f8df0e106c5be4a28edf.jpg","text":"TemporaryFile(/tmp/multipartBody7820062388961856355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399773363,"filename":"image_11042025_20_03_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/11/d469a132c9b92f4f64e5e76da0bf4bab.jpg","text":"TemporaryFile(/tmp/multipartBody5615611256744808348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399773363,"filename":"image_11042025_20_03_06_9374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351900730","file1":"1351900659","file0":"1351900586","file4":"1351900784","file5":"1351900827","file3":"1351900767"},"map_files_photo_id_array":[{"photo_id":"1351900827","filename":"file5"},{"photo_id":"1351900730","filename":"file2"},{"photo_id":"1351900784","filename":"file4"},{"photo_id":"1351900659","filename":"file1"},{"photo_id":"1351900586","filename":"file0"},{"photo_id":"1351900767","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351900586":["hashtag1","hashtag2"]},{"1351900730":["hashtag1","hashtag2"]},{"1351900659":["hashtag1","hashtag2"]},{"1351900767":["hashtag1","hashtag2"]},{"1351900827":["hashtag1","hashtag2"]},{"1351900784":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351900586, 1351900730, 1351900659, 1351900767, 1351900827, 1351900784)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.20234990119934 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 21:29:33.159503
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/20/03/image_11042025_20_03_36_9378.jpg', '/home/pi/Desktop/images/11042025/20/03/image_11042025_20_03_46_10452.jpg', '/home/pi/Desktop/images/11042025/20/03/image_11042025_20_03_56_9464.jpg', '/home/pi/Desktop/images/11042025/20/03/image_11042025_20_04_06_10541.jpg', '/home/pi/Desktop/images/11042025/20/04/image_11042025_20_04_16_9348.jpg', '/home/pi/Desktop/images/11042025/20/04/image_11042025_20_04_26_10416.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/20/03/image_11042025_20_03_36_9378.jpg
/home/pi/Desktop/images/11042025/20/03/image_11042025_20_03_46_10452.jpg
/home/pi/Desktop/images/11042025/20/03/image_11042025_20_03_56_9464.jpg
/home/pi/Desktop/images/11042025/20/03/image_11042025_20_04_06_10541.jpg
/home/pi/Desktop/images/11042025/20/04/image_11042025_20_04_16_9348.jpg
/home/pi/Desktop/images/11042025/20/04/image_11042025_20_04_26_10416.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351901190","1351901076","1351901031","1351901106","1351901153","1351901054"],"photo_ids_order":["1351901031","1351901054","1351901076","1351901106","1351901153","1351901190"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e9d6d5cf1cde8189846960ecf40a4821.jpg","text":"TemporaryFile(/tmp/multipartBody8629183112129738929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399833619,"filename":"image_11042025_20_04_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/11/ad9a3981c74719320ae690759be04c49.jpg","text":"TemporaryFile(/tmp/multipartBody6059098938084747368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399833619,"filename":"image_11042025_20_03_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/11/30c7ffd908fe85835d7bcdf0ed3da61d.jpg","text":"TemporaryFile(/tmp/multipartBody313121182067239819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399833619,"filename":"image_11042025_20_03_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/11/cf2b986581f150d045a5c1cb0535106b.jpg","text":"TemporaryFile(/tmp/multipartBody2198345729902363087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399833619,"filename":"image_11042025_20_04_06_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/11/d8781a3729dd6e227938c79509f02f22.jpg","text":"TemporaryFile(/tmp/multipartBody4951614014079879648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399833619,"filename":"image_11042025_20_04_16_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6d98c16564c42f7595b8a9ae2228c985.jpg","text":"TemporaryFile(/tmp/multipartBody3940963524675397578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399833619,"filename":"image_11042025_20_03_46_10452.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351901076","file1":"1351901054","file0":"1351901031","file4":"1351901153","file5":"1351901190","file3":"1351901106"},"map_files_photo_id_array":[{"photo_id":"1351901190","filename":"file5"},{"photo_id":"1351901076","filename":"file2"},{"photo_id":"1351901153","filename":"file4"},{"photo_id":"1351901054","filename":"file1"},{"photo_id":"1351901031","filename":"file0"},{"photo_id":"1351901106","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351901190":["hashtag1","hashtag2"]},{"1351901076":["hashtag1","hashtag2"]},{"1351901031":["hashtag1","hashtag2"]},{"1351901106":["hashtag1","hashtag2"]},{"1351901153":["hashtag1","hashtag2"]},{"1351901054":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351901190, 1351901076, 1351901031, 1351901106, 1351901153, 1351901054)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.38616108894348 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 21:30:32.341169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/20/04/image_11042025_20_04_46_9365.jpg', '/home/pi/Desktop/images/11042025/20/04/image_11042025_20_04_56_10446.jpg', '/home/pi/Desktop/images/11042025/20/04/image_11042025_20_05_06_9359.jpg', '/home/pi/Desktop/images/11042025/20/05/image_11042025_20_05_26_9368.jpg', '/home/pi/Desktop/images/11042025/20/05/image_11042025_20_05_36_10387.jpg', '/home/pi/Desktop/images/11042025/20/05/image_11042025_20_05_56_9362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/20/04/image_11042025_20_04_46_9365.jpg
/home/pi/Desktop/images/11042025/20/04/image_11042025_20_04_56_10446.jpg
/home/pi/Desktop/images/11042025/20/04/image_11042025_20_05_06_9359.jpg
/home/pi/Desktop/images/11042025/20/05/image_11042025_20_05_26_9368.jpg
/home/pi/Desktop/images/11042025/20/05/image_11042025_20_05_36_10387.jpg
/home/pi/Desktop/images/11042025/20/05/image_11042025_20_05_56_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":["1351901702","1351901606","1351901401","1351901394","1351901517","1351901828"],"photo_ids_order":["1351901394","1351901401","1351901517","1351901606","1351901702","1351901828"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7ee8532f4d4383db7443e38635347da9.jpg","text":"TemporaryFile(/tmp/multipartBody3443077634972827471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399892812,"filename":"image_11042025_20_05_36_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4fb9ae976290133d6c1e3f398139acdb.jpg","text":"TemporaryFile(/tmp/multipartBody8538558126333028641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399892812,"filename":"image_11042025_20_05_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/11/be0511d42f5af51854eca431689ca464.jpg","text":"TemporaryFile(/tmp/multipartBody3548641631898148624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399892812,"filename":"image_11042025_20_04_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/11/bb081dc518befd5f9965a60a1b023a01.jpg","text":"TemporaryFile(/tmp/multipartBody7109304705703358338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399892812,"filename":"image_11042025_20_04_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/11/34236e1376b10b67f53c4e8e7678b7a0.jpg","text":"TemporaryFile(/tmp/multipartBody7796616473813038939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399892812,"filename":"image_11042025_20_05_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/11/2feaa1de66f1090acc73ae7b0244686e.jpg","text":"TemporaryFile(/tmp/multipartBody7159239501876088688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399892812,"filename":"image_11042025_20_05_56_9362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351901517","file1":"1351901401","file0":"1351901394","file4":"1351901702","file5":"1351901828","file3":"1351901606"},"map_files_photo_id_array":[{"photo_id":"1351901828","filename":"file5"},{"photo_id":"1351901517","filename":"file2"},{"photo_id":"1351901702","filename":"file4"},{"photo_id":"1351901401","filename":"file1"},{"photo_id":"1351901394","filename":"file0"},{"photo_id":"1351901606","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351901702":["hashtag1","hashtag2"]},{"1351901606":["hashtag1","hashtag2"]},{"1351901401":["hashtag1","hashtag2"]},{"1351901394":["hashtag1","hashtag2"]},{"1351901517":["hashtag1","hashtag2"]},{"1351901828":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351901702, 1351901606, 1351901401, 1351901394, 1351901517, 1351901828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.519649505615234 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 21:31:32.646736
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/20/05/image_11042025_20_06_06_10395.jpg', '/home/pi/Desktop/images/11042025/20/06/image_11042025_20_06_17_10449.jpg', '/home/pi/Desktop/images/11042025/20/06/image_11042025_20_06_26_9415.jpg', '/home/pi/Desktop/images/11042025/20/06/image_11042025_20_06_36_10374.jpg', '/home/pi/Desktop/images/11042025/20/06/image_11042025_20_06_46_9474.jpg', '/home/pi/Desktop/images/11042025/20/06/image_11042025_20_07_06_9357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/20/05/image_11042025_20_06_06_10395.jpg
/home/pi/Desktop/images/11042025/20/06/image_11042025_20_06_17_10449.jpg
/home/pi/Desktop/images/11042025/20/06/image_11042025_20_06_26_9415.jpg
/home/pi/Desktop/images/11042025/20/06/image_11042025_20_06_36_10374.jpg
/home/pi/Desktop/images/11042025/20/06/image_11042025_20_06_46_9474.jpg
/home/pi/Desktop/images/11042025/20/06/image_11042025_20_07_06_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":["1351902202","1351902261","1351902270","1351902210","1351902251","1351902230"],"photo_ids_order":["1351902202","1351902210","1351902230","1351902251","1351902261","1351902270"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6d98483e701909634fac09796a8d1bc1.jpg","text":"TemporaryFile(/tmp/multipartBody7217201855738163705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399953114,"filename":"image_11042025_20_06_06_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/11/b2a0f8c8ce50defbe9e09af742d7c0da.jpg","text":"TemporaryFile(/tmp/multipartBody1812874232988662873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399953114,"filename":"image_11042025_20_06_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/11/e177543c329af55755843f974dbddbf5.jpg","text":"TemporaryFile(/tmp/multipartBody5363295476454692279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399953114,"filename":"image_11042025_20_07_06_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/bb93aa8f535ddf46c99d023c919e67c8.jpg","text":"TemporaryFile(/tmp/multipartBody4184560242638902062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399953114,"filename":"image_11042025_20_06_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/11/5677d70945677275953a41c37371d184.jpg","text":"TemporaryFile(/tmp/multipartBody1693198626710777672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399953114,"filename":"image_11042025_20_06_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/11/d32ab573bb6bff6e9cd9444d5332fbff.jpg","text":"TemporaryFile(/tmp/multipartBody3272052651809396605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744399953114,"filename":"image_11042025_20_06_26_9415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351902230","file1":"1351902210","file0":"1351902202","file4":"1351902261","file5":"1351902270","file3":"1351902251"},"map_files_photo_id_array":[{"photo_id":"1351902270","filename":"file5"},{"photo_id":"1351902230","filename":"file2"},{"photo_id":"1351902261","filename":"file4"},{"photo_id":"1351902210","filename":"file1"},{"photo_id":"1351902202","filename":"file0"},{"photo_id":"1351902251","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351902202":["hashtag1","hashtag2"]},{"1351902261":["hashtag1","hashtag2"]},{"1351902270":["hashtag1","hashtag2"]},{"1351902210":["hashtag1","hashtag2"]},{"1351902251":["hashtag1","hashtag2"]},{"1351902230":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351902202, 1351902261, 1351902270, 1351902210, 1351902251, 1351902230)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.426249980926514 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 21:32:32.783638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/20/07/image_11042025_20_07_16_10497.jpg', '/home/pi/Desktop/images/11042025/20/07/image_11042025_20_07_27_10377.jpg', '/home/pi/Desktop/images/11042025/20/07/image_11042025_20_07_36_9359.jpg', '/home/pi/Desktop/images/11042025/20/07/image_11042025_20_07_46_10450.jpg', '/home/pi/Desktop/images/11042025/20/07/image_11042025_20_07_56_9363.jpg', '/home/pi/Desktop/images/11042025/20/07/image_11042025_20_08_06_10448.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/20/07/image_11042025_20_07_16_10497.jpg
/home/pi/Desktop/images/11042025/20/07/image_11042025_20_07_27_10377.jpg
/home/pi/Desktop/images/11042025/20/07/image_11042025_20_07_36_9359.jpg
/home/pi/Desktop/images/11042025/20/07/image_11042025_20_07_46_10450.jpg
/home/pi/Desktop/images/11042025/20/07/image_11042025_20_07_56_9363.jpg
/home/pi/Desktop/images/11042025/20/07/image_11042025_20_08_06_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":["1351902460","1351902678","1351902633","1351902434","1351902509","1351902475"],"photo_ids_order":["1351902434","1351902460","1351902475","1351902509","1351902633","1351902678"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/52ffc8bd2403b6cb79ae76a70ae19bfd.jpg","text":"TemporaryFile(/tmp/multipartBody1718467365916094283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400013266,"filename":"image_11042025_20_07_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/11/8a4ba94ced4413109ecffdaadb0478b6.jpg","text":"TemporaryFile(/tmp/multipartBody2497978315927007513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400013266,"filename":"image_11042025_20_08_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/11/0e84888f0a8d7eed676b7cfe24d11c14.jpg","text":"TemporaryFile(/tmp/multipartBody8362711125913306240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400013266,"filename":"image_11042025_20_07_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/11/c95bfd7edee87d4a051e54420d0ccd2a.jpg","text":"TemporaryFile(/tmp/multipartBody1347062971979884810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400013266,"filename":"image_11042025_20_07_16_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/11/de7df94323746e915128990dfaefe54e.jpg","text":"TemporaryFile(/tmp/multipartBody3074937497635500597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400013266,"filename":"image_11042025_20_07_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/11/c101c498a5e88b84db62e5b03275ea4d.jpg","text":"TemporaryFile(/tmp/multipartBody3168558199178204455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400013266,"filename":"image_11042025_20_07_36_9359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351902475","file1":"1351902460","file0":"1351902434","file4":"1351902633","file5":"1351902678","file3":"1351902509"},"map_files_photo_id_array":[{"photo_id":"1351902678","filename":"file5"},{"photo_id":"1351902475","filename":"file2"},{"photo_id":"1351902633","filename":"file4"},{"photo_id":"1351902460","filename":"file1"},{"photo_id":"1351902434","filename":"file0"},{"photo_id":"1351902509","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351902460":["hashtag1","hashtag2"]},{"1351902678":["hashtag1","hashtag2"]},{"1351902633":["hashtag1","hashtag2"]},{"1351902434":["hashtag1","hashtag2"]},{"1351902509":["hashtag1","hashtag2"]},{"1351902475":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351902460, 1351902678, 1351902633, 1351902434, 1351902509, 1351902475)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.24831509590149 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 21:33:32.922820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/20/08/image_11042025_20_08_17_10369.jpg', '/home/pi/Desktop/images/11042025/20/08/image_11042025_20_08_26_9398.jpg', '/home/pi/Desktop/images/11042025/20/08/image_11042025_20_08_36_10371.jpg', '/home/pi/Desktop/images/11042025/20/08/image_11042025_20_08_46_9351.jpg', '/home/pi/Desktop/images/11042025/20/08/image_11042025_20_08_56_10439.jpg', '/home/pi/Desktop/images/11042025/20/08/image_11042025_20_09_06_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/20/08/image_11042025_20_08_17_10369.jpg
/home/pi/Desktop/images/11042025/20/08/image_11042025_20_08_26_9398.jpg
/home/pi/Desktop/images/11042025/20/08/image_11042025_20_08_36_10371.jpg
/home/pi/Desktop/images/11042025/20/08/image_11042025_20_08_46_9351.jpg
/home/pi/Desktop/images/11042025/20/08/image_11042025_20_08_56_10439.jpg
/home/pi/Desktop/images/11042025/20/08/image_11042025_20_09_06_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":["1351902829","1351902808","1351902909","1351902854","1351902884","1351902784"],"photo_ids_order":["1351902784","1351902808","1351902829","1351902854","1351902884","1351902909"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f685959ab794cee96782463aacfc061c.jpg","text":"TemporaryFile(/tmp/multipartBody8769582026027654881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400073404,"filename":"image_11042025_20_08_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/11/19edfa3187a481a6126880d6147181f4.jpg","text":"TemporaryFile(/tmp/multipartBody2130738124541747837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400073404,"filename":"image_11042025_20_08_26_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/14cf53dab874c3947076aa2c750a2713.jpg","text":"TemporaryFile(/tmp/multipartBody7531593728968025728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400073404,"filename":"image_11042025_20_09_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/11/80ab7a60e4e2a3c320565f5376f3aec0.jpg","text":"TemporaryFile(/tmp/multipartBody4882115750196698057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400073404,"filename":"image_11042025_20_08_46_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/02aa8142ca400300604b6d8791c0aac4.jpg","text":"TemporaryFile(/tmp/multipartBody2213420359257281205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400073404,"filename":"image_11042025_20_08_56_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/db16affac576ef3731569d4b1980a78e.jpg","text":"TemporaryFile(/tmp/multipartBody4130988330556565517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400073404,"filename":"image_11042025_20_08_17_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351902829","file1":"1351902808","file0":"1351902784","file4":"1351902884","file5":"1351902909","file3":"1351902854"},"map_files_photo_id_array":[{"photo_id":"1351902909","filename":"file5"},{"photo_id":"1351902829","filename":"file2"},{"photo_id":"1351902884","filename":"file4"},{"photo_id":"1351902808","filename":"file1"},{"photo_id":"1351902784","filename":"file0"},{"photo_id":"1351902854","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351902829":["hashtag1","hashtag2"]},{"1351902808":["hashtag1","hashtag2"]},{"1351902909":["hashtag1","hashtag2"]},{"1351902854":["hashtag1","hashtag2"]},{"1351902884":["hashtag1","hashtag2"]},{"1351902784":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351902829, 1351902808, 1351902909, 1351902854, 1351902884, 1351902784)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.175111055374146 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 21:34:32.163594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/20/09/image_11042025_20_09_16_9402.jpg', '/home/pi/Desktop/images/11042025/20/09/image_11042025_20_09_26_10482.jpg', '/home/pi/Desktop/images/11042025/20/09/image_11042025_20_09_36_9365.jpg', '/home/pi/Desktop/images/11042025/20/09/image_11042025_20_09_46_10517.jpg', '/home/pi/Desktop/images/11042025/20/09/image_11042025_20_09_57_10359.jpg', '/home/pi/Desktop/images/11042025/20/09/image_11042025_20_10_06_9366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/20/09/image_11042025_20_09_16_9402.jpg
/home/pi/Desktop/images/11042025/20/09/image_11042025_20_09_26_10482.jpg
/home/pi/Desktop/images/11042025/20/09/image_11042025_20_09_36_9365.jpg
/home/pi/Desktop/images/11042025/20/09/image_11042025_20_09_46_10517.jpg
/home/pi/Desktop/images/11042025/20/09/image_11042025_20_09_57_10359.jpg
/home/pi/Desktop/images/11042025/20/09/image_11042025_20_10_06_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":["1351903227","1351903187","1351903067","1351903268","1351903145","1351903384"],"photo_ids_order":["1351903067","1351903145","1351903187","1351903227","1351903268","1351903384"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6183c95ade5e5721fd90234ac5ab0970.jpg","text":"TemporaryFile(/tmp/multipartBody8188398816740172970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400132641,"filename":"image_11042025_20_09_46_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/11/dfed3cc48887101ca7b3480993a546b1.jpg","text":"TemporaryFile(/tmp/multipartBody4261714553471726689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400132641,"filename":"image_11042025_20_09_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/11/7e826b0fb1487373ccf44fbb2bc5ddd3.jpg","text":"TemporaryFile(/tmp/multipartBody7507276551805547127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400132641,"filename":"image_11042025_20_09_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/11/520850d6a183add499f878b7383540db.jpg","text":"TemporaryFile(/tmp/multipartBody4831136896626683292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400132641,"filename":"image_11042025_20_09_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/11/148b0b072c4111b4d3bdeae99adb4987.jpg","text":"TemporaryFile(/tmp/multipartBody4515595636294741476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400132641,"filename":"image_11042025_20_09_26_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/11/cbc3c2ffed01bf2ebe734713d9df8754.jpg","text":"TemporaryFile(/tmp/multipartBody7487766751422381353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400132641,"filename":"image_11042025_20_10_06_9366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351903187","file1":"1351903145","file0":"1351903067","file4":"1351903268","file5":"1351903384","file3":"1351903227"},"map_files_photo_id_array":[{"photo_id":"1351903384","filename":"file5"},{"photo_id":"1351903187","filename":"file2"},{"photo_id":"1351903268","filename":"file4"},{"photo_id":"1351903145","filename":"file1"},{"photo_id":"1351903067","filename":"file0"},{"photo_id":"1351903227","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351903227":["hashtag1","hashtag2"]},{"1351903187":["hashtag1","hashtag2"]},{"1351903067":["hashtag1","hashtag2"]},{"1351903268":["hashtag1","hashtag2"]},{"1351903145":["hashtag1","hashtag2"]},{"1351903384":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351903227, 1351903187, 1351903067, 1351903268, 1351903145, 1351903384)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.937766313552856 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 21:35:32.657531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/20/10/image_11042025_20_10_16_10356.jpg', '/home/pi/Desktop/images/11042025/20/10/image_11042025_20_10_26_9352.jpg', '/home/pi/Desktop/images/11042025/20/10/image_11042025_20_10_36_10426.jpg', '/home/pi/Desktop/images/11042025/20/10/image_11042025_20_10_46_10395.jpg', '/home/pi/Desktop/images/11042025/20/10/image_11042025_20_10_56_9376.jpg', '/home/pi/Desktop/images/11042025/20/10/image_11042025_20_11_06_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/20/10/image_11042025_20_10_16_10356.jpg
/home/pi/Desktop/images/11042025/20/10/image_11042025_20_10_26_9352.jpg
/home/pi/Desktop/images/11042025/20/10/image_11042025_20_10_36_10426.jpg
/home/pi/Desktop/images/11042025/20/10/image_11042025_20_10_46_10395.jpg
/home/pi/Desktop/images/11042025/20/10/image_11042025_20_10_56_9376.jpg
/home/pi/Desktop/images/11042025/20/10/image_11042025_20_11_06_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":["1351903761","1351903853","1351903796","1351903697","1351903556","1351903913"],"photo_ids_order":["1351903556","1351903697","1351903761","1351903796","1351903853","1351903913"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9cf49e6f4657a2520ce2c3bf55093310.jpg","text":"TemporaryFile(/tmp/multipartBody6673693669096675470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400193129,"filename":"image_11042025_20_10_36_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1f52b9c128aadda2cc9fe8af979da5cb.jpg","text":"TemporaryFile(/tmp/multipartBody4872267107544323921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400193129,"filename":"image_11042025_20_10_56_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/11/d3aa2604073796dab2d0368cbe2aecd8.jpg","text":"TemporaryFile(/tmp/multipartBody3962835303134643767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400193129,"filename":"image_11042025_20_10_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/11/49257639670a9c3dece65c4cd596f3bf.jpg","text":"TemporaryFile(/tmp/multipartBody4948438268745241791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400193129,"filename":"image_11042025_20_10_26_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b2b6742e766739662503239a3fc2cc76.jpg","text":"TemporaryFile(/tmp/multipartBody9035115907443041786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400193129,"filename":"image_11042025_20_10_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/11/d763c0d385e8dca4bce8a7dfb9df39a0.jpg","text":"TemporaryFile(/tmp/multipartBody331606207323982449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400193129,"filename":"image_11042025_20_11_06_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351903761","file1":"1351903697","file0":"1351903556","file4":"1351903853","file5":"1351903913","file3":"1351903796"},"map_files_photo_id_array":[{"photo_id":"1351903913","filename":"file5"},{"photo_id":"1351903761","filename":"file2"},{"photo_id":"1351903853","filename":"file4"},{"photo_id":"1351903697","filename":"file1"},{"photo_id":"1351903556","filename":"file0"},{"photo_id":"1351903796","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351903761":["hashtag1","hashtag2"]},{"1351903853":["hashtag1","hashtag2"]},{"1351903796":["hashtag1","hashtag2"]},{"1351903697":["hashtag1","hashtag2"]},{"1351903556":["hashtag1","hashtag2"]},{"1351903913":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351903761, 1351903853, 1351903796, 1351903697, 1351903556, 1351903913)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.98641633987427 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 21:36:32.774114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/20/11/image_11042025_20_11_16_9431.jpg', '/home/pi/Desktop/images/11042025/20/11/image_11042025_20_11_26_10534.jpg', '/home/pi/Desktop/images/11042025/20/11/image_11042025_20_11_37_10374.jpg', '/home/pi/Desktop/images/11042025/20/11/image_11042025_20_11_46_9361.jpg', '/home/pi/Desktop/images/11042025/20/11/image_11042025_20_11_56_10457.jpg', '/home/pi/Desktop/images/11042025/20/11/image_11042025_20_12_06_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/20/11/image_11042025_20_11_16_9431.jpg
/home/pi/Desktop/images/11042025/20/11/image_11042025_20_11_26_10534.jpg
/home/pi/Desktop/images/11042025/20/11/image_11042025_20_11_37_10374.jpg
/home/pi/Desktop/images/11042025/20/11/image_11042025_20_11_46_9361.jpg
/home/pi/Desktop/images/11042025/20/11/image_11042025_20_11_56_10457.jpg
/home/pi/Desktop/images/11042025/20/11/image_11042025_20_12_06_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":["1351904064","1351904112","1351904100","1351904048","1351904014","1351904079"],"photo_ids_order":["1351904014","1351904048","1351904064","1351904079","1351904100","1351904112"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/525f1beaa042e2929a0f2328bbe4034e.jpg","text":"TemporaryFile(/tmp/multipartBody6686984553377148324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400253250,"filename":"image_11042025_20_11_37_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/11/39530f0fcd7c087ab9ef36cb6a4d9aae.jpg","text":"TemporaryFile(/tmp/multipartBody2065447610756396069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400253250,"filename":"image_11042025_20_12_06_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/11db04ca86edc33d7ef4aa75529b6091.jpg","text":"TemporaryFile(/tmp/multipartBody734904119631116403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400253250,"filename":"image_11042025_20_11_56_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5e83d0d681c66556735a6bc1723474e3.jpg","text":"TemporaryFile(/tmp/multipartBody7536826126725494959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400253250,"filename":"image_11042025_20_11_26_10534.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/18b2a3096d0401062b2426dbabb3e049.jpg","text":"TemporaryFile(/tmp/multipartBody4073403717550762838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400253250,"filename":"image_11042025_20_11_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/11/ab379f9b55c49e8ec9b232eb50a56e55.jpg","text":"TemporaryFile(/tmp/multipartBody5831657988188861959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400253250,"filename":"image_11042025_20_11_46_9361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351904064","file1":"1351904048","file0":"1351904014","file4":"1351904100","file5":"1351904112","file3":"1351904079"},"map_files_photo_id_array":[{"photo_id":"1351904112","filename":"file5"},{"photo_id":"1351904064","filename":"file2"},{"photo_id":"1351904100","filename":"file4"},{"photo_id":"1351904048","filename":"file1"},{"photo_id":"1351904014","filename":"file0"},{"photo_id":"1351904079","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351904064":["hashtag1","hashtag2"]},{"1351904112":["hashtag1","hashtag2"]},{"1351904100":["hashtag1","hashtag2"]},{"1351904048":["hashtag1","hashtag2"]},{"1351904014":["hashtag1","hashtag2"]},{"1351904079":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351904064, 1351904112, 1351904100, 1351904048, 1351904014, 1351904079)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.69122552871704 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 21:37:32.888018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/20/12/image_11042025_20_12_16_10449.jpg', '/home/pi/Desktop/images/11042025/20/12/image_11042025_20_12_26_9439.jpg', '/home/pi/Desktop/images/11042025/20/12/image_11042025_20_12_36_10447.jpg', '/home/pi/Desktop/images/11042025/20/12/image_11042025_20_12_46_10357.jpg', '/home/pi/Desktop/images/11042025/20/12/image_11042025_20_12_56_9415.jpg', '/home/pi/Desktop/images/11042025/20/12/image_11042025_20_13_06_10426.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/20/12/image_11042025_20_12_16_10449.jpg
/home/pi/Desktop/images/11042025/20/12/image_11042025_20_12_26_9439.jpg
/home/pi/Desktop/images/11042025/20/12/image_11042025_20_12_36_10447.jpg
/home/pi/Desktop/images/11042025/20/12/image_11042025_20_12_46_10357.jpg
/home/pi/Desktop/images/11042025/20/12/image_11042025_20_12_56_9415.jpg
/home/pi/Desktop/images/11042025/20/12/image_11042025_20_13_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":["1351904391","1351904370","1351904373","1351904318","1351904329","1351904323"],"photo_ids_order":["1351904318","1351904323","1351904329","1351904370","1351904373","1351904391"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c8b8d03657490b6d3f3b713f9c5d8ee9.jpg","text":"TemporaryFile(/tmp/multipartBody3659638128089455424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400313375,"filename":"image_11042025_20_13_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/11/7c63113b7ede32449e8e00ef61b92b13.jpg","text":"TemporaryFile(/tmp/multipartBody5104822904967439832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400313375,"filename":"image_11042025_20_12_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/11/ebfef3125075f3bbdfc4ff4e98838434.jpg","text":"TemporaryFile(/tmp/multipartBody1738414156370071010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400313375,"filename":"image_11042025_20_12_56_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b67021781d66af7221a875d6bf053f67.jpg","text":"TemporaryFile(/tmp/multipartBody1149000287768347581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400313375,"filename":"image_11042025_20_12_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/11/b9e159a29308205ae172b2abcd6d17f9.jpg","text":"TemporaryFile(/tmp/multipartBody461541612537089539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400313375,"filename":"image_11042025_20_12_36_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/12eae8091e4254eab9a7b6eb50fe51df.jpg","text":"TemporaryFile(/tmp/multipartBody5977714371180836949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400313375,"filename":"image_11042025_20_12_26_9439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351904329","file1":"1351904323","file0":"1351904318","file4":"1351904373","file5":"1351904391","file3":"1351904370"},"map_files_photo_id_array":[{"photo_id":"1351904391","filename":"file5"},{"photo_id":"1351904329","filename":"file2"},{"photo_id":"1351904373","filename":"file4"},{"photo_id":"1351904323","filename":"file1"},{"photo_id":"1351904318","filename":"file0"},{"photo_id":"1351904370","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351904391":["hashtag1","hashtag2"]},{"1351904370":["hashtag1","hashtag2"]},{"1351904373":["hashtag1","hashtag2"]},{"1351904318":["hashtag1","hashtag2"]},{"1351904329":["hashtag1","hashtag2"]},{"1351904323":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351904391, 1351904370, 1351904373, 1351904318, 1351904329, 1351904323)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.095618963241577 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 21:38:33.156069
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/20/13/image_11042025_20_13_16_9373.jpg', '/home/pi/Desktop/images/11042025/20/13/image_11042025_20_13_26_10550.jpg', '/home/pi/Desktop/images/11042025/20/13/image_11042025_20_13_37_10373.jpg', '/home/pi/Desktop/images/11042025/20/13/image_11042025_20_13_46_9493.jpg', '/home/pi/Desktop/images/11042025/20/13/image_11042025_20_13_56_10373.jpg', '/home/pi/Desktop/images/11042025/20/13/image_11042025_20_14_06_9374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/20/13/image_11042025_20_13_16_9373.jpg
/home/pi/Desktop/images/11042025/20/13/image_11042025_20_13_26_10550.jpg
/home/pi/Desktop/images/11042025/20/13/image_11042025_20_13_37_10373.jpg
/home/pi/Desktop/images/11042025/20/13/image_11042025_20_13_46_9493.jpg
/home/pi/Desktop/images/11042025/20/13/image_11042025_20_13_56_10373.jpg
/home/pi/Desktop/images/11042025/20/13/image_11042025_20_14_06_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":["1351905000","1351904756","1351904836","1351904647","1351904614","1351904929"],"photo_ids_order":["1351904614","1351904647","1351904756","1351904836","1351904929","1351905000"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/aea6aa2b8e9fa6940c0910332f8aa68b.jpg","text":"TemporaryFile(/tmp/multipartBody9071592905880164187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400373632,"filename":"image_11042025_20_14_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/11/a2a6a7eac482b19534fe1e736588c800.jpg","text":"TemporaryFile(/tmp/multipartBody2884480789279755891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400373632,"filename":"image_11042025_20_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/11/5e2ffcd2c9192e9b01af478db369b186.jpg","text":"TemporaryFile(/tmp/multipartBody396707828077934165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400373632,"filename":"image_11042025_20_13_46_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/11/1d8cab3e00386e1a1ba8da7e1b75518a.jpg","text":"TemporaryFile(/tmp/multipartBody4281349525100042382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400373632,"filename":"image_11042025_20_13_26_10550.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/556fcb38fcefd60c89c5bb120d810ebe.jpg","text":"TemporaryFile(/tmp/multipartBody7267897897826087957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400373632,"filename":"image_11042025_20_13_16_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/44e783fd24a22ff5e4a653b10bdeee2a.jpg","text":"TemporaryFile(/tmp/multipartBody5311413064768172970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400373632,"filename":"image_11042025_20_13_56_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351904756","file1":"1351904647","file0":"1351904614","file4":"1351904929","file5":"1351905000","file3":"1351904836"},"map_files_photo_id_array":[{"photo_id":"1351905000","filename":"file5"},{"photo_id":"1351904756","filename":"file2"},{"photo_id":"1351904929","filename":"file4"},{"photo_id":"1351904647","filename":"file1"},{"photo_id":"1351904614","filename":"file0"},{"photo_id":"1351904836","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351905000":["hashtag1","hashtag2"]},{"1351904756":["hashtag1","hashtag2"]},{"1351904836":["hashtag1","hashtag2"]},{"1351904647":["hashtag1","hashtag2"]},{"1351904614":["hashtag1","hashtag2"]},{"1351904929":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351905000, 1351904756, 1351904836, 1351904647, 1351904614, 1351904929)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.80539798736572 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 21:39:32.500684
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/20/14/image_11042025_20_14_16_10409.jpg', '/home/pi/Desktop/images/11042025/20/14/image_11042025_20_14_26_9369.jpg', '/home/pi/Desktop/images/11042025/20/14/image_11042025_20_14_36_10365.jpg', '/home/pi/Desktop/images/11042025/20/14/image_11042025_20_14_46_10395.jpg', '/home/pi/Desktop/images/11042025/20/14/image_11042025_20_14_56_9368.jpg', '/home/pi/Desktop/images/11042025/20/14/image_11042025_20_15_06_10403.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/20/14/image_11042025_20_14_16_10409.jpg
/home/pi/Desktop/images/11042025/20/14/image_11042025_20_14_26_9369.jpg
/home/pi/Desktop/images/11042025/20/14/image_11042025_20_14_36_10365.jpg
/home/pi/Desktop/images/11042025/20/14/image_11042025_20_14_46_10395.jpg
/home/pi/Desktop/images/11042025/20/14/image_11042025_20_14_56_9368.jpg
/home/pi/Desktop/images/11042025/20/14/image_11042025_20_15_06_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":["1351905249","1351905431","1351905143","1351905487","1351905202","1351905375"],"photo_ids_order":["1351905143","1351905202","1351905249","1351905375","1351905431","1351905487"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/da230c0ae8a7b31635d53db36016f5b9.jpg","text":"TemporaryFile(/tmp/multipartBody6000416862541245479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400432958,"filename":"image_11042025_20_14_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/11/42e5f5bbbf1cf87d1b5d2ba156323c18.jpg","text":"TemporaryFile(/tmp/multipartBody445765446551307267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400432958,"filename":"image_11042025_20_14_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/11/626ce2c84cb53d5bc7db524269cec4ba.jpg","text":"TemporaryFile(/tmp/multipartBody3835525987254625755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400432958,"filename":"image_11042025_20_14_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/11/e6d593602a033c7deb6800142f2fa0f6.jpg","text":"TemporaryFile(/tmp/multipartBody6398142330930079494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400432958,"filename":"image_11042025_20_15_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/11/23f2754241384a05b8c221c4816b9350.jpg","text":"TemporaryFile(/tmp/multipartBody8717382518802866406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400432958,"filename":"image_11042025_20_14_26_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8c51ae60a0c3b5cf5b82b3c5f37c1bb9.jpg","text":"TemporaryFile(/tmp/multipartBody4586374606547558154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400432958,"filename":"image_11042025_20_14_46_10395.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351905249","file1":"1351905202","file0":"1351905143","file4":"1351905431","file5":"1351905487","file3":"1351905375"},"map_files_photo_id_array":[{"photo_id":"1351905487","filename":"file5"},{"photo_id":"1351905249","filename":"file2"},{"photo_id":"1351905431","filename":"file4"},{"photo_id":"1351905202","filename":"file1"},{"photo_id":"1351905143","filename":"file0"},{"photo_id":"1351905375","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351905249":["hashtag1","hashtag2"]},{"1351905431":["hashtag1","hashtag2"]},{"1351905143":["hashtag1","hashtag2"]},{"1351905487":["hashtag1","hashtag2"]},{"1351905202":["hashtag1","hashtag2"]},{"1351905375":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351905249, 1351905431, 1351905143, 1351905487, 1351905202, 1351905375)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.7715744972229 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 21:40:32.626922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/20/15/image_11042025_20_15_16_10362.jpg', '/home/pi/Desktop/images/11042025/20/15/image_11042025_20_15_26_9372.jpg', '/home/pi/Desktop/images/11042025/20/15/image_11042025_20_15_36_10472.jpg', '/home/pi/Desktop/images/11042025/20/15/image_11042025_20_15_46_9414.jpg', '/home/pi/Desktop/images/11042025/20/15/image_11042025_20_15_56_10374.jpg', '/home/pi/Desktop/images/11042025/20/15/image_11042025_20_16_06_10345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/20/15/image_11042025_20_15_16_10362.jpg
/home/pi/Desktop/images/11042025/20/15/image_11042025_20_15_26_9372.jpg
/home/pi/Desktop/images/11042025/20/15/image_11042025_20_15_36_10472.jpg
/home/pi/Desktop/images/11042025/20/15/image_11042025_20_15_46_9414.jpg
/home/pi/Desktop/images/11042025/20/15/image_11042025_20_15_56_10374.jpg
/home/pi/Desktop/images/11042025/20/15/image_11042025_20_16_06_10345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351905695","1351905806","1351905964","1351905892","1351905751","1351905993"],"photo_ids_order":["1351905695","1351905751","1351905806","1351905892","1351905964","1351905993"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/cc661f9f0eaa1ce359d02cc821e03724.jpg","text":"TemporaryFile(/tmp/multipartBody2764007273767373866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400493091,"filename":"image_11042025_20_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/11/d5987ad8cdf897bbe436e30b1789a78e.jpg","text":"TemporaryFile(/tmp/multipartBody3557646156321458319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400493091,"filename":"image_11042025_20_15_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/11/a576d96e507833b5ddcbdabbebdf4e4b.jpg","text":"TemporaryFile(/tmp/multipartBody3436348139267094857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400493091,"filename":"image_11042025_20_15_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/11/768cf363ea57eb3e5d029ceb26865e5b.jpg","text":"TemporaryFile(/tmp/multipartBody617371920610548703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400493091,"filename":"image_11042025_20_15_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/11/586cfa1a64be65725e9c67c71d5757d0.jpg","text":"TemporaryFile(/tmp/multipartBody4977946900256727392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400493091,"filename":"image_11042025_20_15_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/11/f3dce7d4f4abbb89735df76eb5be8f0b.jpg","text":"TemporaryFile(/tmp/multipartBody9022851163868670470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400493091,"filename":"image_11042025_20_16_06_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351905806","file1":"1351905751","file0":"1351905695","file4":"1351905964","file5":"1351905993","file3":"1351905892"},"map_files_photo_id_array":[{"photo_id":"1351905993","filename":"file5"},{"photo_id":"1351905806","filename":"file2"},{"photo_id":"1351905964","filename":"file4"},{"photo_id":"1351905751","filename":"file1"},{"photo_id":"1351905695","filename":"file0"},{"photo_id":"1351905892","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351905695":["hashtag1","hashtag2"]},{"1351905806":["hashtag1","hashtag2"]},{"1351905964":["hashtag1","hashtag2"]},{"1351905892":["hashtag1","hashtag2"]},{"1351905751":["hashtag1","hashtag2"]},{"1351905993":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351905695, 1351905806, 1351905964, 1351905892, 1351905751, 1351905993)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.96747279167175 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 21:41:33.032868
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/20/16/image_11042025_20_16_16_9414.jpg', '/home/pi/Desktop/images/11042025/20/16/image_11042025_20_16_26_10478.jpg', '/home/pi/Desktop/images/11042025/20/16/image_11042025_20_16_36_9361.jpg', '/home/pi/Desktop/images/11042025/20/16/image_11042025_20_16_46_10453.jpg', '/home/pi/Desktop/images/11042025/20/16/image_11042025_20_16_57_10383.jpg', '/home/pi/Desktop/images/11042025/20/16/image_11042025_20_17_06_9350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/20/16/image_11042025_20_16_16_9414.jpg
/home/pi/Desktop/images/11042025/20/16/image_11042025_20_16_26_10478.jpg
/home/pi/Desktop/images/11042025/20/16/image_11042025_20_16_36_9361.jpg
/home/pi/Desktop/images/11042025/20/16/image_11042025_20_16_46_10453.jpg
/home/pi/Desktop/images/11042025/20/16/image_11042025_20_16_57_10383.jpg
/home/pi/Desktop/images/11042025/20/16/image_11042025_20_17_06_9350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351906381","1351906452","1351906344","1351906524","1351906589","1351906308"],"photo_ids_order":["1351906308","1351906344","1351906381","1351906452","1351906524","1351906589"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c4213c816ddbfb4d21dc01a630d2844e.jpg","text":"TemporaryFile(/tmp/multipartBody5337532546171838322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400553508,"filename":"image_11042025_20_16_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/11/df4da3debb2d830cd749dcd89068d2fd.jpg","text":"TemporaryFile(/tmp/multipartBody6387980022458801267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400553508,"filename":"image_11042025_20_16_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/11/a96822e7675458bfd383dc39c0298e6d.jpg","text":"TemporaryFile(/tmp/multipartBody4452305564139160020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400553508,"filename":"image_11042025_20_16_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/11/af3c831b05e07b27f403d75f653e9305.jpg","text":"TemporaryFile(/tmp/multipartBody7885112550126299411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400553508,"filename":"image_11042025_20_16_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/11/8329f380348c13dd2947083c0014a21e.jpg","text":"TemporaryFile(/tmp/multipartBody2107454154724681922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400553508,"filename":"image_11042025_20_17_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/11/84e56153e69f1ce5003134885857502e.jpg","text":"TemporaryFile(/tmp/multipartBody1545148635627482348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400553508,"filename":"image_11042025_20_16_16_9414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351906381","file1":"1351906344","file0":"1351906308","file4":"1351906524","file5":"1351906589","file3":"1351906452"},"map_files_photo_id_array":[{"photo_id":"1351906589","filename":"file5"},{"photo_id":"1351906381","filename":"file2"},{"photo_id":"1351906524","filename":"file4"},{"photo_id":"1351906344","filename":"file1"},{"photo_id":"1351906308","filename":"file0"},{"photo_id":"1351906452","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351906381":["hashtag1","hashtag2"]},{"1351906452":["hashtag1","hashtag2"]},{"1351906344":["hashtag1","hashtag2"]},{"1351906524":["hashtag1","hashtag2"]},{"1351906589":["hashtag1","hashtag2"]},{"1351906308":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351906381, 1351906452, 1351906344, 1351906524, 1351906589, 1351906308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.23121380805969 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 21:42:32.354593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/20/17/image_11042025_20_17_16_10366.jpg', '/home/pi/Desktop/images/11042025/20/17/image_11042025_20_17_26_9425.jpg', '/home/pi/Desktop/images/11042025/20/17/image_11042025_20_17_36_10490.jpg', '/home/pi/Desktop/images/11042025/20/17/image_11042025_20_17_46_9380.jpg', '/home/pi/Desktop/images/11042025/20/17/image_11042025_20_17_56_10378.jpg', '/home/pi/Desktop/images/11042025/20/17/image_11042025_20_18_06_10416.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/20/17/image_11042025_20_17_16_10366.jpg
/home/pi/Desktop/images/11042025/20/17/image_11042025_20_17_26_9425.jpg
/home/pi/Desktop/images/11042025/20/17/image_11042025_20_17_36_10490.jpg
/home/pi/Desktop/images/11042025/20/17/image_11042025_20_17_46_9380.jpg
/home/pi/Desktop/images/11042025/20/17/image_11042025_20_17_56_10378.jpg
/home/pi/Desktop/images/11042025/20/17/image_11042025_20_18_06_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":["1351906913","1351906963","1351906813","1351906989","1351906896","1351906857"],"photo_ids_order":["1351906813","1351906857","1351906896","1351906913","1351906963","1351906989"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6c2fef90d6074bd3dcb84fdcd700f9c3.jpg","text":"TemporaryFile(/tmp/multipartBody4346892447730849920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400612814,"filename":"image_11042025_20_17_46_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/12e035410dfab490f6b9c8151556379e.jpg","text":"TemporaryFile(/tmp/multipartBody1163699245751062620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400612814,"filename":"image_11042025_20_17_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/11/0c4a3002828a3e964a87a666af13cbc4.jpg","text":"TemporaryFile(/tmp/multipartBody7430586892404832476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400612814,"filename":"image_11042025_20_17_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/11/83bdd726a98ff8fa30537056b7185d79.jpg","text":"TemporaryFile(/tmp/multipartBody3959592792185423853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400612814,"filename":"image_11042025_20_18_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/11/4ea34e15a79e1cbeeefd17243da3bd69.jpg","text":"TemporaryFile(/tmp/multipartBody1817674602871647680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400612814,"filename":"image_11042025_20_17_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/11/226a2d6d644fc3807890381d3dcc24aa.jpg","text":"TemporaryFile(/tmp/multipartBody7830458206033166798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400612814,"filename":"image_11042025_20_17_26_9425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351906896","file1":"1351906857","file0":"1351906813","file4":"1351906963","file5":"1351906989","file3":"1351906913"},"map_files_photo_id_array":[{"photo_id":"1351906989","filename":"file5"},{"photo_id":"1351906896","filename":"file2"},{"photo_id":"1351906963","filename":"file4"},{"photo_id":"1351906857","filename":"file1"},{"photo_id":"1351906813","filename":"file0"},{"photo_id":"1351906913","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351906913":["hashtag1","hashtag2"]},{"1351906963":["hashtag1","hashtag2"]},{"1351906813":["hashtag1","hashtag2"]},{"1351906989":["hashtag1","hashtag2"]},{"1351906896":["hashtag1","hashtag2"]},{"1351906857":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351906913, 1351906963, 1351906813, 1351906989, 1351906896, 1351906857)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.266815185546875 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 21:43:32.515387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/20/18/image_11042025_20_18_16_9454.jpg', '/home/pi/Desktop/images/11042025/20/18/image_11042025_20_18_26_10369.jpg', '/home/pi/Desktop/images/11042025/20/18/image_11042025_20_18_37_10364.jpg', '/home/pi/Desktop/images/11042025/20/18/image_11042025_20_18_46_9436.jpg', '/home/pi/Desktop/images/11042025/20/18/image_11042025_20_18_56_10403.jpg', '/home/pi/Desktop/images/11042025/20/18/image_11042025_20_19_06_9421.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/20/18/image_11042025_20_18_16_9454.jpg
/home/pi/Desktop/images/11042025/20/18/image_11042025_20_18_26_10369.jpg
/home/pi/Desktop/images/11042025/20/18/image_11042025_20_18_37_10364.jpg
/home/pi/Desktop/images/11042025/20/18/image_11042025_20_18_46_9436.jpg
/home/pi/Desktop/images/11042025/20/18/image_11042025_20_18_56_10403.jpg
/home/pi/Desktop/images/11042025/20/18/image_11042025_20_19_06_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":["1351907170","1351907117","1351907148","1351907192","1351907195","1351907198"],"photo_ids_order":["1351907117","1351907148","1351907170","1351907192","1351907195","1351907198"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c2baf1e8e2754a3c17d4597799fa5641.jpg","text":"TemporaryFile(/tmp/multipartBody8571346988663681688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400672986,"filename":"image_11042025_20_18_37_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b2310fd40ae176b80b575fd171ee0ff9.jpg","text":"TemporaryFile(/tmp/multipartBody8382923156975821135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400672986,"filename":"image_11042025_20_18_16_9454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/599fe1555e597895074722ff838d6f8b.jpg","text":"TemporaryFile(/tmp/multipartBody7724659929182132859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400672986,"filename":"image_11042025_20_18_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/11/56f5835e5858e0d9b9c6ee99309f1c3a.jpg","text":"TemporaryFile(/tmp/multipartBody6685937787057083557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400672986,"filename":"image_11042025_20_18_46_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/90d3befac78ba469f84f7a4ae873c54b.jpg","text":"TemporaryFile(/tmp/multipartBody2580097463060843947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400672986,"filename":"image_11042025_20_18_56_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/51998d7bdf39deef1e7ad8a300acc352.jpg","text":"TemporaryFile(/tmp/multipartBody2409958475520499006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400672986,"filename":"image_11042025_20_19_06_9421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351907170","file1":"1351907148","file0":"1351907117","file4":"1351907195","file5":"1351907198","file3":"1351907192"},"map_files_photo_id_array":[{"photo_id":"1351907198","filename":"file5"},{"photo_id":"1351907170","filename":"file2"},{"photo_id":"1351907195","filename":"file4"},{"photo_id":"1351907148","filename":"file1"},{"photo_id":"1351907117","filename":"file0"},{"photo_id":"1351907192","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351907170":["hashtag1","hashtag2"]},{"1351907117":["hashtag1","hashtag2"]},{"1351907148":["hashtag1","hashtag2"]},{"1351907192":["hashtag1","hashtag2"]},{"1351907195":["hashtag1","hashtag2"]},{"1351907198":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351907170, 1351907117, 1351907148, 1351907192, 1351907195, 1351907198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.49713468551636 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 21:44:32.732844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/20/19/image_11042025_20_19_16_10475.jpg', '/home/pi/Desktop/images/11042025/20/19/image_11042025_20_19_26_10194.jpg', '/home/pi/Desktop/images/11042025/20/19/image_11042025_20_19_36_9814.jpg', '/home/pi/Desktop/images/11042025/20/19/image_11042025_20_19_46_9353.jpg', '/home/pi/Desktop/images/11042025/20/19/image_11042025_20_19_56_10486.jpg', '/home/pi/Desktop/images/11042025/20/20/image_11042025_20_20_16_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/20/19/image_11042025_20_19_16_10475.jpg
/home/pi/Desktop/images/11042025/20/19/image_11042025_20_19_26_10194.jpg
/home/pi/Desktop/images/11042025/20/19/image_11042025_20_19_36_9814.jpg
/home/pi/Desktop/images/11042025/20/19/image_11042025_20_19_46_9353.jpg
/home/pi/Desktop/images/11042025/20/19/image_11042025_20_19_56_10486.jpg
/home/pi/Desktop/images/11042025/20/20/image_11042025_20_20_16_10365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351907431","1351907404","1351907454","1351907508","1351907549","1351907477"],"photo_ids_order":["1351907404","1351907431","1351907454","1351907477","1351907508","1351907549"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/eae961eff99d6d79c9e2f7232601908e.jpg","text":"TemporaryFile(/tmp/multipartBody7796766924495749219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400733197,"filename":"image_11042025_20_19_26_10194.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/eab8502f4227cb436f89f399e3e368d8.jpg","text":"TemporaryFile(/tmp/multipartBody2021058061324182469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400733197,"filename":"image_11042025_20_19_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/11/e8bdf8ed980d4291061216bd376ed17d.jpg","text":"TemporaryFile(/tmp/multipartBody8044364211628583271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400733197,"filename":"image_11042025_20_19_36_9814.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/184fd357c2c4935e67cbc42d9b13b9ee.jpg","text":"TemporaryFile(/tmp/multipartBody2219767303623995354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400733197,"filename":"image_11042025_20_19_56_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/11/4ea068e223dc00ee09488b7162a4f569.jpg","text":"TemporaryFile(/tmp/multipartBody4448340224366770217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400733197,"filename":"image_11042025_20_20_16_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/42231fe84a71e7c195b80078d11e7d0c.jpg","text":"TemporaryFile(/tmp/multipartBody211276757665944039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400733197,"filename":"image_11042025_20_19_46_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351907454","file1":"1351907431","file0":"1351907404","file4":"1351907508","file5":"1351907549","file3":"1351907477"},"map_files_photo_id_array":[{"photo_id":"1351907549","filename":"file5"},{"photo_id":"1351907454","filename":"file2"},{"photo_id":"1351907508","filename":"file4"},{"photo_id":"1351907431","filename":"file1"},{"photo_id":"1351907404","filename":"file0"},{"photo_id":"1351907477","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351907431":["hashtag1","hashtag2"]},{"1351907404":["hashtag1","hashtag2"]},{"1351907454":["hashtag1","hashtag2"]},{"1351907508":["hashtag1","hashtag2"]},{"1351907549":["hashtag1","hashtag2"]},{"1351907477":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351907431, 1351907404, 1351907454, 1351907508, 1351907549, 1351907477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.30078721046448 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 21:45:33.154195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/20/20/image_11042025_20_20_26_10369.jpg', '/home/pi/Desktop/images/11042025/20/20/image_11042025_20_20_36_9421.jpg', '/home/pi/Desktop/images/11042025/20/20/image_11042025_20_20_46_10490.jpg', '/home/pi/Desktop/images/11042025/20/20/image_11042025_20_20_56_9368.jpg', '/home/pi/Desktop/images/11042025/20/21/image_11042025_20_21_17_10369.jpg', '/home/pi/Desktop/images/11042025/20/21/image_11042025_20_21_26_9376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/20/20/image_11042025_20_20_26_10369.jpg
/home/pi/Desktop/images/11042025/20/20/image_11042025_20_20_36_9421.jpg
/home/pi/Desktop/images/11042025/20/20/image_11042025_20_20_46_10490.jpg
/home/pi/Desktop/images/11042025/20/20/image_11042025_20_20_56_9368.jpg
/home/pi/Desktop/images/11042025/20/21/image_11042025_20_21_17_10369.jpg
/home/pi/Desktop/images/11042025/20/21/image_11042025_20_21_26_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":["1351908133","1351908100","1351907987","1351908038","1351908146","1351908131"],"photo_ids_order":["1351907987","1351908038","1351908100","1351908131","1351908133","1351908146"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e8556e973fa79ac13d92abf9d94e1c1b.jpg","text":"TemporaryFile(/tmp/multipartBody9090682990079828223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400793613,"filename":"image_11042025_20_21_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/11/dd622ca9264dcb9a68ea6a81437dbb97.jpg","text":"TemporaryFile(/tmp/multipartBody6900320092001819636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400793613,"filename":"image_11042025_20_20_46_10490.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/53dbaaef3e995b8456687423a1185285.jpg","text":"TemporaryFile(/tmp/multipartBody1691519066585530629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400793613,"filename":"image_11042025_20_20_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/11/8d7768c6cec8b002bc1db472e60336d3.jpg","text":"TemporaryFile(/tmp/multipartBody25177999509002487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400793613,"filename":"image_11042025_20_20_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/11/266ad0e7831f74f721fb5625722005a1.jpg","text":"TemporaryFile(/tmp/multipartBody7194813860021501646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400793613,"filename":"image_11042025_20_21_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/11/d3ee2192661958bb931f86fe6c93910c.jpg","text":"TemporaryFile(/tmp/multipartBody657044146496407810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400793613,"filename":"image_11042025_20_20_56_9368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351908100","file1":"1351908038","file0":"1351907987","file4":"1351908133","file5":"1351908146","file3":"1351908131"},"map_files_photo_id_array":[{"photo_id":"1351908146","filename":"file5"},{"photo_id":"1351908100","filename":"file2"},{"photo_id":"1351908133","filename":"file4"},{"photo_id":"1351908038","filename":"file1"},{"photo_id":"1351907987","filename":"file0"},{"photo_id":"1351908131","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351908133":["hashtag1","hashtag2"]},{"1351908100":["hashtag1","hashtag2"]},{"1351907987":["hashtag1","hashtag2"]},{"1351908038":["hashtag1","hashtag2"]},{"1351908146":["hashtag1","hashtag2"]},{"1351908131":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351908133, 1351908100, 1351907987, 1351908038, 1351908146, 1351908131)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.97624158859253 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 21:46:32.267327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/20/21/image_11042025_20_21_36_10446.jpg', '/home/pi/Desktop/images/11042025/20/21/image_11042025_20_21_46_9350.jpg', '/home/pi/Desktop/images/11042025/20/21/image_11042025_20_21_56_10509.jpg', '/home/pi/Desktop/images/11042025/20/21/image_11042025_20_22_06_9392.jpg', '/home/pi/Desktop/images/11042025/20/22/image_11042025_20_22_16_10478.jpg', '/home/pi/Desktop/images/11042025/20/22/image_11042025_20_22_26_10383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/20/21/image_11042025_20_21_36_10446.jpg
/home/pi/Desktop/images/11042025/20/21/image_11042025_20_21_46_9350.jpg
/home/pi/Desktop/images/11042025/20/21/image_11042025_20_21_56_10509.jpg
/home/pi/Desktop/images/11042025/20/21/image_11042025_20_22_06_9392.jpg
/home/pi/Desktop/images/11042025/20/22/image_11042025_20_22_16_10478.jpg
/home/pi/Desktop/images/11042025/20/22/image_11042025_20_22_26_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":["1351908570","1351908447","1351908600","1351908545","1351908413","1351908416"],"photo_ids_order":["1351908413","1351908416","1351908447","1351908545","1351908570","1351908600"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/af5dc66522462c75a9f32c792cfdcfce.jpg","text":"TemporaryFile(/tmp/multipartBody6769414397233619323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400852726,"filename":"image_11042025_20_22_16_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/11/5a8c0d754b72e24513b81b62849e48a6.jpg","text":"TemporaryFile(/tmp/multipartBody3670378482891507879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400852726,"filename":"image_11042025_20_21_56_10509.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c4c8860ad5fdacffce09eddec6040b81.jpg","text":"TemporaryFile(/tmp/multipartBody8793433375970039685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400852726,"filename":"image_11042025_20_22_26_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0f7b30a5fee50d24f687787eb7c63c3b.jpg","text":"TemporaryFile(/tmp/multipartBody4363712608689839916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400852726,"filename":"image_11042025_20_22_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/11/61d30dc5377f88f594219c8f6f73bd7a.jpg","text":"TemporaryFile(/tmp/multipartBody3491306888252837935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400852726,"filename":"image_11042025_20_21_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/11/9dcfa00fec42216ec805fc33efa9bc86.jpg","text":"TemporaryFile(/tmp/multipartBody5188038169521824416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400852726,"filename":"image_11042025_20_21_46_9350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351908447","file1":"1351908416","file0":"1351908413","file4":"1351908570","file5":"1351908600","file3":"1351908545"},"map_files_photo_id_array":[{"photo_id":"1351908600","filename":"file5"},{"photo_id":"1351908447","filename":"file2"},{"photo_id":"1351908570","filename":"file4"},{"photo_id":"1351908416","filename":"file1"},{"photo_id":"1351908413","filename":"file0"},{"photo_id":"1351908545","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351908570":["hashtag1","hashtag2"]},{"1351908447":["hashtag1","hashtag2"]},{"1351908600":["hashtag1","hashtag2"]},{"1351908545":["hashtag1","hashtag2"]},{"1351908413":["hashtag1","hashtag2"]},{"1351908416":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351908570, 1351908447, 1351908600, 1351908545, 1351908413, 1351908416)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.82989525794983 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 21:47:32.471685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/20/22/image_11042025_20_22_36_9370.jpg', '/home/pi/Desktop/images/11042025/20/22/image_11042025_20_22_46_10380.jpg', '/home/pi/Desktop/images/11042025/20/22/image_11042025_20_22_56_9418.jpg', '/home/pi/Desktop/images/11042025/20/22/image_11042025_20_23_06_10352.jpg', '/home/pi/Desktop/images/11042025/20/23/image_11042025_20_23_16_10347.jpg', '/home/pi/Desktop/images/11042025/20/23/image_11042025_20_23_26_9379.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/20/22/image_11042025_20_22_36_9370.jpg
/home/pi/Desktop/images/11042025/20/22/image_11042025_20_22_46_10380.jpg
/home/pi/Desktop/images/11042025/20/22/image_11042025_20_22_56_9418.jpg
/home/pi/Desktop/images/11042025/20/22/image_11042025_20_23_06_10352.jpg
/home/pi/Desktop/images/11042025/20/23/image_11042025_20_23_16_10347.jpg
/home/pi/Desktop/images/11042025/20/23/image_11042025_20_23_26_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":["1351908736","1351908703","1351908727","1351908744","1351908741","1351908731"],"photo_ids_order":["1351908703","1351908727","1351908731","1351908736","1351908741","1351908744"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/709d3bd807cb67cb661a88d31846e78f.jpg","text":"TemporaryFile(/tmp/multipartBody3501028320178999112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400912936,"filename":"image_11042025_20_23_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/11/ebbf44c4e5c1fa550934164ec0417320.jpg","text":"TemporaryFile(/tmp/multipartBody7640373402264236541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400912936,"filename":"image_11042025_20_22_36_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/33c0e7e6ec8aa8b7bacb53bd37139351.jpg","text":"TemporaryFile(/tmp/multipartBody6151797776738508318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400912936,"filename":"image_11042025_20_22_46_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f6944637220f7c1c0c1001048bc676be.jpg","text":"TemporaryFile(/tmp/multipartBody2325194832884257283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400912936,"filename":"image_11042025_20_23_26_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/11/fea348d5a57fc181c0b8e7d2040257f3.jpg","text":"TemporaryFile(/tmp/multipartBody5847481892666633299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400912936,"filename":"image_11042025_20_23_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/11/3f9ba82f59b9021989de78457d615ecc.jpg","text":"TemporaryFile(/tmp/multipartBody7453505858790469330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400912936,"filename":"image_11042025_20_22_56_9418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351908731","file1":"1351908727","file0":"1351908703","file4":"1351908741","file5":"1351908744","file3":"1351908736"},"map_files_photo_id_array":[{"photo_id":"1351908744","filename":"file5"},{"photo_id":"1351908731","filename":"file2"},{"photo_id":"1351908741","filename":"file4"},{"photo_id":"1351908727","filename":"file1"},{"photo_id":"1351908703","filename":"file0"},{"photo_id":"1351908736","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351908736":["hashtag1","hashtag2"]},{"1351908703":["hashtag1","hashtag2"]},{"1351908727":["hashtag1","hashtag2"]},{"1351908744":["hashtag1","hashtag2"]},{"1351908741":["hashtag1","hashtag2"]},{"1351908731":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351908736, 1351908703, 1351908727, 1351908744, 1351908741, 1351908731)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.63492774963379 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 21:48:32.699449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/20/23/image_11042025_20_23_36_10534.jpg', '/home/pi/Desktop/images/11042025/20/23/image_11042025_20_23_46_9353.jpg', '/home/pi/Desktop/images/11042025/20/23/image_11042025_20_23_56_10373.jpg', '/home/pi/Desktop/images/11042025/20/23/image_11042025_20_24_06_10466.jpg', '/home/pi/Desktop/images/11042025/20/24/image_11042025_20_24_16_9361.jpg', '/home/pi/Desktop/images/11042025/20/24/image_11042025_20_24_26_10399.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/20/23/image_11042025_20_23_36_10534.jpg
/home/pi/Desktop/images/11042025/20/23/image_11042025_20_23_46_9353.jpg
/home/pi/Desktop/images/11042025/20/23/image_11042025_20_23_56_10373.jpg
/home/pi/Desktop/images/11042025/20/23/image_11042025_20_24_06_10466.jpg
/home/pi/Desktop/images/11042025/20/24/image_11042025_20_24_16_9361.jpg
/home/pi/Desktop/images/11042025/20/24/image_11042025_20_24_26_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":["1351908826","1351908823","1351908825","1351908819","1351908804","1351908815"],"photo_ids_order":["1351908804","1351908815","1351908819","1351908823","1351908825","1351908826"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d5a35c9e9a21f620995a06c44b77fca1.jpg","text":"TemporaryFile(/tmp/multipartBody5746167348658136143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400973164,"filename":"image_11042025_20_24_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/11/e12f932ce8c28c981725fc1b9dd73ea5.jpg","text":"TemporaryFile(/tmp/multipartBody4486193951825904759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400973164,"filename":"image_11042025_20_24_06_10466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/dbaa648b8e415c853cd7b2ff71053e34.jpg","text":"TemporaryFile(/tmp/multipartBody5189418631692763235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400973164,"filename":"image_11042025_20_24_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/11/84315ccffac7071726a3e64c1789ff1a.jpg","text":"TemporaryFile(/tmp/multipartBody2690874407597469449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400973164,"filename":"image_11042025_20_23_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/11/6b4f230424611d2e35bf7d94e03d2821.jpg","text":"TemporaryFile(/tmp/multipartBody4453721994320204553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400973164,"filename":"image_11042025_20_23_36_10534.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0070c64ff37486453fa0849421d2b973.jpg","text":"TemporaryFile(/tmp/multipartBody1880636322456997162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744400973164,"filename":"image_11042025_20_23_46_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351908819","file1":"1351908815","file0":"1351908804","file4":"1351908825","file5":"1351908826","file3":"1351908823"},"map_files_photo_id_array":[{"photo_id":"1351908826","filename":"file5"},{"photo_id":"1351908819","filename":"file2"},{"photo_id":"1351908825","filename":"file4"},{"photo_id":"1351908815","filename":"file1"},{"photo_id":"1351908804","filename":"file0"},{"photo_id":"1351908823","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351908826":["hashtag1","hashtag2"]},{"1351908823":["hashtag1","hashtag2"]},{"1351908825":["hashtag1","hashtag2"]},{"1351908819":["hashtag1","hashtag2"]},{"1351908804":["hashtag1","hashtag2"]},{"1351908815":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351908826, 1351908823, 1351908825, 1351908819, 1351908804, 1351908815)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.07510566711426 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 21:49:32.999998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/20/24/image_11042025_20_24_37_10389.jpg', '/home/pi/Desktop/images/11042025/20/24/image_11042025_20_24_46_9366.jpg', '/home/pi/Desktop/images/11042025/20/24/image_11042025_20_24_56_10377.jpg', '/home/pi/Desktop/images/11042025/20/24/image_11042025_20_25_06_9385.jpg', '/home/pi/Desktop/images/11042025/20/25/image_11042025_20_25_16_10404.jpg', '/home/pi/Desktop/images/11042025/20/25/image_11042025_20_25_27_10447.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/20/24/image_11042025_20_24_37_10389.jpg
/home/pi/Desktop/images/11042025/20/24/image_11042025_20_24_46_9366.jpg
/home/pi/Desktop/images/11042025/20/24/image_11042025_20_24_56_10377.jpg
/home/pi/Desktop/images/11042025/20/24/image_11042025_20_25_06_9385.jpg
/home/pi/Desktop/images/11042025/20/25/image_11042025_20_25_16_10404.jpg
/home/pi/Desktop/images/11042025/20/25/image_11042025_20_25_27_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":["1351909017","1351908996","1351909026","1351909020","1351908966","1351908939"],"photo_ids_order":["1351908939","1351908966","1351908996","1351909017","1351909020","1351909026"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/57744cfde349abf3b0c80c9567b45171.jpg","text":"TemporaryFile(/tmp/multipartBody1318939251364056253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744401033457,"filename":"image_11042025_20_25_06_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f452daba42743056bbdaff1043bc0472.jpg","text":"TemporaryFile(/tmp/multipartBody3446925287264055224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744401033457,"filename":"image_11042025_20_24_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/11/7527537352cf0102f71bb4db2a83ffb3.jpg","text":"TemporaryFile(/tmp/multipartBody3245381943358745041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744401033457,"filename":"image_11042025_20_25_27_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/86b686874cdff82c6adcbc6fbc38d923.jpg","text":"TemporaryFile(/tmp/multipartBody477220427152921302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744401033457,"filename":"image_11042025_20_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/11/65cacadc6fdeca37d7a6a12ae092608d.jpg","text":"TemporaryFile(/tmp/multipartBody4054531447423100336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744401033457,"filename":"image_11042025_20_24_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/11/f274d24044cdcbdedb28cd481f167db2.jpg","text":"TemporaryFile(/tmp/multipartBody1247556153462949750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744401033457,"filename":"image_11042025_20_24_37_10389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351908996","file1":"1351908966","file0":"1351908939","file4":"1351909020","file5":"1351909026","file3":"1351909017"},"map_files_photo_id_array":[{"photo_id":"1351909026","filename":"file5"},{"photo_id":"1351908996","filename":"file2"},{"photo_id":"1351909020","filename":"file4"},{"photo_id":"1351908966","filename":"file1"},{"photo_id":"1351908939","filename":"file0"},{"photo_id":"1351909017","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351909017":["hashtag1","hashtag2"]},{"1351908996":["hashtag1","hashtag2"]},{"1351909026":["hashtag1","hashtag2"]},{"1351909020":["hashtag1","hashtag2"]},{"1351908966":["hashtag1","hashtag2"]},{"1351908939":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351909017, 1351908996, 1351909026, 1351909020, 1351908966, 1351908939)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.46916174888611 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 21:50:33.100348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/20/25/image_11042025_20_25_36_9352.jpg', '/home/pi/Desktop/images/11042025/20/25/image_11042025_20_25_46_10361.jpg', '/home/pi/Desktop/images/11042025/20/25/image_11042025_20_25_56_9456.jpg', '/home/pi/Desktop/images/11042025/20/25/image_11042025_20_26_06_10505.jpg', '/home/pi/Desktop/images/11042025/20/26/image_11042025_20_26_16_9355.jpg', '/home/pi/Desktop/images/11042025/20/26/image_11042025_20_26_26_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/20/25/image_11042025_20_25_36_9352.jpg
/home/pi/Desktop/images/11042025/20/25/image_11042025_20_25_46_10361.jpg
/home/pi/Desktop/images/11042025/20/25/image_11042025_20_25_56_9456.jpg
/home/pi/Desktop/images/11042025/20/25/image_11042025_20_26_06_10505.jpg
/home/pi/Desktop/images/11042025/20/26/image_11042025_20_26_16_9355.jpg
/home/pi/Desktop/images/11042025/20/26/image_11042025_20_26_26_10365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351909804","1351909362","1351909572","1351909473","1351909664","1351909601"],"photo_ids_order":["1351909362","1351909473","1351909572","1351909601","1351909664","1351909804"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/17c52dd6ea1b873233c8706f7d179d43.jpg","text":"TemporaryFile(/tmp/multipartBody5786647141030238367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744401093583,"filename":"image_11042025_20_26_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/11/5ab6e1d7cb765697f590ce6094c756e2.jpg","text":"TemporaryFile(/tmp/multipartBody6610316165666833004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744401093583,"filename":"image_11042025_20_25_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/11/56830c3064a4ebcbc0ab4c873a409491.jpg","text":"TemporaryFile(/tmp/multipartBody5997231851287697736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744401093583,"filename":"image_11042025_20_25_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/11/3f5d33184d8e08be50a21a0d50b901e4.jpg","text":"TemporaryFile(/tmp/multipartBody448419286564448241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744401093583,"filename":"image_11042025_20_25_46_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/44dfb9cb647a1dfcc9077accfba17fa6.jpg","text":"TemporaryFile(/tmp/multipartBody5649766309945319356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744401093583,"filename":"image_11042025_20_26_16_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f6a1a0db46d136498e2d2cf577c98810.jpg","text":"TemporaryFile(/tmp/multipartBody5457524642062003014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744401093583,"filename":"image_11042025_20_26_06_10505.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351909572","file1":"1351909473","file0":"1351909362","file4":"1351909664","file5":"1351909804","file3":"1351909601"},"map_files_photo_id_array":[{"photo_id":"1351909804","filename":"file5"},{"photo_id":"1351909572","filename":"file2"},{"photo_id":"1351909664","filename":"file4"},{"photo_id":"1351909473","filename":"file1"},{"photo_id":"1351909362","filename":"file0"},{"photo_id":"1351909601","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351909804":["hashtag1","hashtag2"]},{"1351909362":["hashtag1","hashtag2"]},{"1351909572":["hashtag1","hashtag2"]},{"1351909473":["hashtag1","hashtag2"]},{"1351909664":["hashtag1","hashtag2"]},{"1351909601":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351909804, 1351909362, 1351909572, 1351909473, 1351909664, 1351909601)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.60905909538269 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 21:51:32.330555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/20/26/image_11042025_20_26_36_10492.jpg', '/home/pi/Desktop/images/11042025/20/26/image_11042025_20_26_46_9428.jpg', '/home/pi/Desktop/images/11042025/20/26/image_11042025_20_27_06_9357.jpg', '/home/pi/Desktop/images/11042025/20/27/image_11042025_20_27_16_10479.jpg', '/home/pi/Desktop/images/11042025/20/27/image_11042025_20_27_26_10387.jpg', '/home/pi/Desktop/images/11042025/20/27/image_11042025_20_27_36_9356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/20/26/image_11042025_20_26_36_10492.jpg
/home/pi/Desktop/images/11042025/20/26/image_11042025_20_26_46_9428.jpg
/home/pi/Desktop/images/11042025/20/26/image_11042025_20_27_06_9357.jpg
/home/pi/Desktop/images/11042025/20/27/image_11042025_20_27_16_10479.jpg
/home/pi/Desktop/images/11042025/20/27/image_11042025_20_27_26_10387.jpg
/home/pi/Desktop/images/11042025/20/27/image_11042025_20_27_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":["1351910707","1351910524","1351910843","1351910378","1351911067","1351910321"],"photo_ids_order":["1351910321","1351910378","1351910524","1351910707","1351910843","1351911067"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/654dc28626437be13906ab93fed9c505.jpg","text":"TemporaryFile(/tmp/multipartBody6246770050116385297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744401152791,"filename":"image_11042025_20_27_16_10479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a373d50be117dc778db3efb4891ce0ee.jpg","text":"TemporaryFile(/tmp/multipartBody7966340219714626392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744401152791,"filename":"image_11042025_20_27_06_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3c50b825b02d5a717b6c827c3181f151.jpg","text":"TemporaryFile(/tmp/multipartBody4595177854283635658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744401152791,"filename":"image_11042025_20_27_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/11/67c12121b69c7ebd308e3d280d5a2a5b.jpg","text":"TemporaryFile(/tmp/multipartBody1420573384182270851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744401152791,"filename":"image_11042025_20_26_46_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5c773b0ccf829d8fe1cdfce3c48aea8f.jpg","text":"TemporaryFile(/tmp/multipartBody124156414908952513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744401152791,"filename":"image_11042025_20_27_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/11/07382ad0d6bdf4f68312b202a23328f0.jpg","text":"TemporaryFile(/tmp/multipartBody2071800666825814732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744401152791,"filename":"image_11042025_20_26_36_10492.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351910524","file1":"1351910378","file0":"1351910321","file4":"1351910843","file5":"1351911067","file3":"1351910707"},"map_files_photo_id_array":[{"photo_id":"1351911067","filename":"file5"},{"photo_id":"1351910524","filename":"file2"},{"photo_id":"1351910843","filename":"file4"},{"photo_id":"1351910378","filename":"file1"},{"photo_id":"1351910321","filename":"file0"},{"photo_id":"1351910707","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351910707":["hashtag1","hashtag2"]},{"1351910524":["hashtag1","hashtag2"]},{"1351910843":["hashtag1","hashtag2"]},{"1351910378":["hashtag1","hashtag2"]},{"1351911067":["hashtag1","hashtag2"]},{"1351910321":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351910707, 1351910524, 1351910843, 1351910378, 1351911067, 1351910321)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.92409610748291 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 21:52:32.687934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/20/27/image_11042025_20_27_46_10400.jpg', '/home/pi/Desktop/images/11042025/20/27/image_11042025_20_27_56_9465.jpg', '/home/pi/Desktop/images/11042025/20/27/image_11042025_20_28_06_10509.jpg', '/home/pi/Desktop/images/11042025/20/28/image_11042025_20_28_16_9375.jpg', '/home/pi/Desktop/images/11042025/20/28/image_11042025_20_28_26_10377.jpg', '/home/pi/Desktop/images/11042025/20/28/image_11042025_20_28_36_9904.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/20/27/image_11042025_20_27_46_10400.jpg
/home/pi/Desktop/images/11042025/20/27/image_11042025_20_27_56_9465.jpg
/home/pi/Desktop/images/11042025/20/27/image_11042025_20_28_06_10509.jpg
/home/pi/Desktop/images/11042025/20/28/image_11042025_20_28_16_9375.jpg
/home/pi/Desktop/images/11042025/20/28/image_11042025_20_28_26_10377.jpg
/home/pi/Desktop/images/11042025/20/28/image_11042025_20_28_36_9904.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351911675","1351912139","1351911824","1351912255","1351912021","1351911868"],"photo_ids_order":["1351911675","1351911824","1351911868","1351912021","1351912139","1351912255"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/67558f1163024628d047adfa0de8ec0e.jpg","text":"TemporaryFile(/tmp/multipartBody7969968173154360293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744401213152,"filename":"image_11042025_20_27_46_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/911df301f9d9e03df2577caa5fd8116a.jpg","text":"TemporaryFile(/tmp/multipartBody2623150757319858385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744401213152,"filename":"image_11042025_20_28_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/11/d2cef77a46af44ad5866da3ef796d72c.jpg","text":"TemporaryFile(/tmp/multipartBody2831304461521416613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744401213152,"filename":"image_11042025_20_27_56_9465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/74829092545b256e0cefa8824b442b68.jpg","text":"TemporaryFile(/tmp/multipartBody1176635713961672532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744401213152,"filename":"image_11042025_20_28_36_9904.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/08b3a1fb5469a514eb7843c20d856abe.jpg","text":"TemporaryFile(/tmp/multipartBody8635433517751689795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744401213152,"filename":"image_11042025_20_28_16_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a0dbbc73fbab8314909e54be5a502af7.jpg","text":"TemporaryFile(/tmp/multipartBody3700081964850460864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744401213152,"filename":"image_11042025_20_28_06_10509.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351911868","file1":"1351911824","file0":"1351911675","file4":"1351912139","file5":"1351912255","file3":"1351912021"},"map_files_photo_id_array":[{"photo_id":"1351912255","filename":"file5"},{"photo_id":"1351911868","filename":"file2"},{"photo_id":"1351912139","filename":"file4"},{"photo_id":"1351911824","filename":"file1"},{"photo_id":"1351911675","filename":"file0"},{"photo_id":"1351912021","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351911675":["hashtag1","hashtag2"]},{"1351912139":["hashtag1","hashtag2"]},{"1351911824":["hashtag1","hashtag2"]},{"1351912255":["hashtag1","hashtag2"]},{"1351912021":["hashtag1","hashtag2"]},{"1351911868":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351911675, 1351912139, 1351911824, 1351912255, 1351912021, 1351911868)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.00178623199463 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 21:53:32.838348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/20/28/image_11042025_20_28_46_10367.jpg', '/home/pi/Desktop/images/11042025/20/28/image_11042025_20_28_56_9445.jpg', '/home/pi/Desktop/images/11042025/20/28/image_11042025_20_29_06_10493.jpg', '/home/pi/Desktop/images/11042025/20/29/image_11042025_20_29_17_10362.jpg', '/home/pi/Desktop/images/11042025/20/29/image_11042025_20_29_26_9368.jpg', '/home/pi/Desktop/images/11042025/20/29/image_11042025_20_29_36_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/20/28/image_11042025_20_28_46_10367.jpg
/home/pi/Desktop/images/11042025/20/28/image_11042025_20_28_56_9445.jpg
/home/pi/Desktop/images/11042025/20/28/image_11042025_20_29_06_10493.jpg
/home/pi/Desktop/images/11042025/20/29/image_11042025_20_29_17_10362.jpg
/home/pi/Desktop/images/11042025/20/29/image_11042025_20_29_26_9368.jpg
/home/pi/Desktop/images/11042025/20/29/image_11042025_20_29_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":["1351912764","1351912719","1351912841","1351912658","1351913190","1351913088"],"photo_ids_order":["1351912658","1351912719","1351912764","1351912841","1351913088","1351913190"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/76a0f5519ef7ca2e79bfffc525d155eb.jpg","text":"TemporaryFile(/tmp/multipartBody5525479438522531285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744401273301,"filename":"image_11042025_20_29_06_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/11/f7e03beabbbc20ffa54df15c3a21f0b0.jpg","text":"TemporaryFile(/tmp/multipartBody3753530156281640224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744401273301,"filename":"image_11042025_20_28_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/11/de82709eb47ec7cdfb98e105ccc514b2.jpg","text":"TemporaryFile(/tmp/multipartBody6587669827957793638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744401273301,"filename":"image_11042025_20_29_17_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8f0938da6179d7021309c4d2db2dd56d.jpg","text":"TemporaryFile(/tmp/multipartBody4542904992298245957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744401273301,"filename":"image_11042025_20_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/11/c44214b8a0b810dd710666256544d710.jpg","text":"TemporaryFile(/tmp/multipartBody2442597413273091657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744401273301,"filename":"image_11042025_20_29_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/11/c5b2c59772d451470accd5d4a37a5f8f.jpg","text":"TemporaryFile(/tmp/multipartBody7400520162065609622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744401273301,"filename":"image_11042025_20_29_26_9368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351912764","file1":"1351912719","file0":"1351912658","file4":"1351913088","file5":"1351913190","file3":"1351912841"},"map_files_photo_id_array":[{"photo_id":"1351913190","filename":"file5"},{"photo_id":"1351912764","filename":"file2"},{"photo_id":"1351913088","filename":"file4"},{"photo_id":"1351912719","filename":"file1"},{"photo_id":"1351912658","filename":"file0"},{"photo_id":"1351912841","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351912764":["hashtag1","hashtag2"]},{"1351912719":["hashtag1","hashtag2"]},{"1351912841":["hashtag1","hashtag2"]},{"1351912658":["hashtag1","hashtag2"]},{"1351913190":["hashtag1","hashtag2"]},{"1351913088":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351912764, 1351912719, 1351912841, 1351912658, 1351913190, 1351913088)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.1951105594635 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 21:54:33.049760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/20/29/image_11042025_20_29_46_9349.jpg', '/home/pi/Desktop/images/11042025/20/29/image_11042025_20_29_56_10434.jpg', '/home/pi/Desktop/images/11042025/20/29/image_11042025_20_30_07_10460.jpg', '/home/pi/Desktop/images/11042025/20/30/image_11042025_20_30_16_9346.jpg', '/home/pi/Desktop/images/11042025/20/30/image_11042025_20_30_26_10408.jpg', '/home/pi/Desktop/images/11042025/20/30/image_11042025_20_30_36_9346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/20/29/image_11042025_20_29_46_9349.jpg
/home/pi/Desktop/images/11042025/20/29/image_11042025_20_29_56_10434.jpg
/home/pi/Desktop/images/11042025/20/29/image_11042025_20_30_07_10460.jpg
/home/pi/Desktop/images/11042025/20/30/image_11042025_20_30_16_9346.jpg
/home/pi/Desktop/images/11042025/20/30/image_11042025_20_30_26_10408.jpg
/home/pi/Desktop/images/11042025/20/30/image_11042025_20_30_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":["1351913888","1351913837","1351913925","1351913868","1351913826","1351913754"],"photo_ids_order":["1351913754","1351913826","1351913837","1351913868","1351913888","1351913925"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2c5fd4e3ed86f1307d860f5deaabcdea.jpg","text":"TemporaryFile(/tmp/multipartBody695794973744589875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744401333514,"filename":"image_11042025_20_30_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/11/f1ba82e9b9b6ae4f9c6208d05435d1e2.jpg","text":"TemporaryFile(/tmp/multipartBody7187356151456361578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744401333514,"filename":"image_11042025_20_30_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/11/3225ce45a0436283d3a8d3c42c1292ba.jpg","text":"TemporaryFile(/tmp/multipartBody5770257976634307399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744401333514,"filename":"image_11042025_20_30_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/11/c0feb97c548686c9ec573b66c8603981.jpg","text":"TemporaryFile(/tmp/multipartBody2846399802819963927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744401333514,"filename":"image_11042025_20_30_16_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1f4bb2766c67eac92d6bf8f0d4ef7998.jpg","text":"TemporaryFile(/tmp/multipartBody9147775258346278259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744401333514,"filename":"image_11042025_20_29_56_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6105468233a71b2580db819d50545eb4.jpg","text":"TemporaryFile(/tmp/multipartBody504579834620629488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744401333514,"filename":"image_11042025_20_29_46_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351913837","file1":"1351913826","file0":"1351913754","file4":"1351913888","file5":"1351913925","file3":"1351913868"},"map_files_photo_id_array":[{"photo_id":"1351913925","filename":"file5"},{"photo_id":"1351913837","filename":"file2"},{"photo_id":"1351913888","filename":"file4"},{"photo_id":"1351913826","filename":"file1"},{"photo_id":"1351913754","filename":"file0"},{"photo_id":"1351913868","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351913888":["hashtag1","hashtag2"]},{"1351913837":["hashtag1","hashtag2"]},{"1351913925":["hashtag1","hashtag2"]},{"1351913868":["hashtag1","hashtag2"]},{"1351913826":["hashtag1","hashtag2"]},{"1351913754":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351913888, 1351913837, 1351913925, 1351913868, 1351913826, 1351913754)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.88119578361511 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 21:55:32.191450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/20/30/image_11042025_20_30_46_10478.jpg', '/home/pi/Desktop/images/11042025/20/30/image_11042025_20_30_57_10400.jpg', '/home/pi/Desktop/images/11042025/20/30/image_11042025_20_31_06_9374.jpg', '/home/pi/Desktop/images/11042025/20/31/image_11042025_20_31_16_10477.jpg', '/home/pi/Desktop/images/11042025/20/31/image_11042025_20_31_26_9360.jpg', '/home/pi/Desktop/images/11042025/20/31/image_11042025_20_31_36_10459.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/20/30/image_11042025_20_30_46_10478.jpg
/home/pi/Desktop/images/11042025/20/30/image_11042025_20_30_57_10400.jpg
/home/pi/Desktop/images/11042025/20/30/image_11042025_20_31_06_9374.jpg
/home/pi/Desktop/images/11042025/20/31/image_11042025_20_31_16_10477.jpg
/home/pi/Desktop/images/11042025/20/31/image_11042025_20_31_26_9360.jpg
/home/pi/Desktop/images/11042025/20/31/image_11042025_20_31_36_10459.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":["1351914347","1351914298","1351914402","1351914383","1351914263","1351914458"],"photo_ids_order":["1351914263","1351914298","1351914347","1351914383","1351914402","1351914458"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9b49bae26daf9419c9d2e0b5123f4cd2.jpg","text":"TemporaryFile(/tmp/multipartBody8876071228247222133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744401392672,"filename":"image_11042025_20_31_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/11/b49580fae4f5459b49eb01fe642ab622.jpg","text":"TemporaryFile(/tmp/multipartBody9052078993185505874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744401392672,"filename":"image_11042025_20_30_57_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b24eee03ddd9a75a5bfb677f13705899.jpg","text":"TemporaryFile(/tmp/multipartBody775453297727449113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744401392672,"filename":"image_11042025_20_31_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/11/4a7fe2f7af177a384ab4642bc5f69dc3.jpg","text":"TemporaryFile(/tmp/multipartBody1087004047853513403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744401392672,"filename":"image_11042025_20_31_16_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/11/d0c5b303caa62bfb209b3c19f7dc5063.jpg","text":"TemporaryFile(/tmp/multipartBody2388250743461532009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744401392672,"filename":"image_11042025_20_30_46_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/11/7208777056894ca693c1db0012b518d9.jpg","text":"TemporaryFile(/tmp/multipartBody5450058066638188985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744401392672,"filename":"image_11042025_20_31_36_10459.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351914347","file1":"1351914298","file0":"1351914263","file4":"1351914402","file5":"1351914458","file3":"1351914383"},"map_files_photo_id_array":[{"photo_id":"1351914458","filename":"file5"},{"photo_id":"1351914347","filename":"file2"},{"photo_id":"1351914402","filename":"file4"},{"photo_id":"1351914298","filename":"file1"},{"photo_id":"1351914263","filename":"file0"},{"photo_id":"1351914383","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351914347":["hashtag1","hashtag2"]},{"1351914298":["hashtag1","hashtag2"]},{"1351914402":["hashtag1","hashtag2"]},{"1351914383":["hashtag1","hashtag2"]},{"1351914263":["hashtag1","hashtag2"]},{"1351914458":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351914347, 1351914298, 1351914402, 1351914383, 1351914263, 1351914458)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 67.39605212211609 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 21:56:42.531018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/20/31/image_11042025_20_31_47_10382.jpg', '/home/pi/Desktop/images/11042025/20/31/image_11042025_20_31_56_9432.jpg', '/home/pi/Desktop/images/11042025/20/31/image_11042025_20_32_06_10426.jpg', '/home/pi/Desktop/images/11042025/20/32/image_11042025_20_32_16_9346.jpg', '/home/pi/Desktop/images/11042025/20/32/image_11042025_20_32_26_10366.jpg', '/home/pi/Desktop/images/11042025/20/32/image_11042025_20_32_37_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/20/31/image_11042025_20_31_47_10382.jpg
/home/pi/Desktop/images/11042025/20/31/image_11042025_20_31_56_9432.jpg
/home/pi/Desktop/images/11042025/20/31/image_11042025_20_32_06_10426.jpg
/home/pi/Desktop/images/11042025/20/32/image_11042025_20_32_16_9346.jpg
/home/pi/Desktop/images/11042025/20/32/image_11042025_20_32_26_10366.jpg
/home/pi/Desktop/images/11042025/20/32/image_11042025_20_32_37_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":["1351915090","1351915123","1351914853","1351914919","1351915032","1351914971"],"photo_ids_order":["1351914853","1351914919","1351914971","1351915032","1351915090","1351915123"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/41c680216606348c4d0b2e77f7deaf50.jpg","text":"TemporaryFile(/tmp/multipartBody5642840633294139471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744401463011,"filename":"image_11042025_20_32_26_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/73ef6f565e4db6dcf20f4fa5183f8fb6.jpg","text":"TemporaryFile(/tmp/multipartBody6934398334735770524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744401463011,"filename":"image_11042025_20_32_37_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/de0a9d19fb93a4c472227b82f34875fd.jpg","text":"TemporaryFile(/tmp/multipartBody1379377006763765914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744401463011,"filename":"image_11042025_20_31_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/11/1fc9ef3df123d993c1f41da47f657909.jpg","text":"TemporaryFile(/tmp/multipartBody2272617895550199046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744401463011,"filename":"image_11042025_20_31_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/11/802b7a30a441e1a5aae77a09888dfc87.jpg","text":"TemporaryFile(/tmp/multipartBody8718411220142708731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744401463011,"filename":"image_11042025_20_32_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/11/e7b1c2326ced9a210fd4333e3a095d08.jpg","text":"TemporaryFile(/tmp/multipartBody6481549130890963375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744401463011,"filename":"image_11042025_20_32_06_10426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351914971","file1":"1351914919","file0":"1351914853","file4":"1351915090","file5":"1351915123","file3":"1351915032"},"map_files_photo_id_array":[{"photo_id":"1351915123","filename":"file5"},{"photo_id":"1351914971","filename":"file2"},{"photo_id":"1351915090","filename":"file4"},{"photo_id":"1351914919","filename":"file1"},{"photo_id":"1351914853","filename":"file0"},{"photo_id":"1351915032","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351915090":["hashtag1","hashtag2"]},{"1351915123":["hashtag1","hashtag2"]},{"1351914853":["hashtag1","hashtag2"]},{"1351914919":["hashtag1","hashtag2"]},{"1351915032":["hashtag1","hashtag2"]},{"1351914971":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351915090, 1351915123, 1351914853, 1351914919, 1351915032, 1351914971)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.64409923553467 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 21:57:32.826379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/20/32/image_11042025_20_32_46_9347.jpg', '/home/pi/Desktop/images/11042025/20/32/image_11042025_20_32_56_10446.jpg', '/home/pi/Desktop/images/11042025/20/32/image_11042025_20_33_06_9363.jpg', '/home/pi/Desktop/images/11042025/20/33/image_11042025_20_33_16_10451.jpg', '/home/pi/Desktop/images/11042025/20/33/image_11042025_20_33_36_10415.jpg', '/home/pi/Desktop/images/11042025/20/33/image_11042025_20_33_56_9351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/20/32/image_11042025_20_32_46_9347.jpg
/home/pi/Desktop/images/11042025/20/32/image_11042025_20_32_56_10446.jpg
/home/pi/Desktop/images/11042025/20/32/image_11042025_20_33_06_9363.jpg
/home/pi/Desktop/images/11042025/20/33/image_11042025_20_33_16_10451.jpg
/home/pi/Desktop/images/11042025/20/33/image_11042025_20_33_36_10415.jpg
/home/pi/Desktop/images/11042025/20/33/image_11042025_20_33_56_9351.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-11 21:59:03.959555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/20/32/image_11042025_20_32_46_9347.jpg', '/home/pi/Desktop/images/11042025/20/32/image_11042025_20_32_56_10446.jpg', '/home/pi/Desktop/images/11042025/20/32/image_11042025_20_33_06_9363.jpg', '/home/pi/Desktop/images/11042025/20/33/image_11042025_20_33_16_10451.jpg', '/home/pi/Desktop/images/11042025/20/33/image_11042025_20_33_36_10415.jpg', '/home/pi/Desktop/images/11042025/20/33/image_11042025_20_33_56_9351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/20/32/image_11042025_20_32_46_9347.jpg
/home/pi/Desktop/images/11042025/20/32/image_11042025_20_32_56_10446.jpg
/home/pi/Desktop/images/11042025/20/32/image_11042025_20_33_06_9363.jpg
/home/pi/Desktop/images/11042025/20/33/image_11042025_20_33_16_10451.jpg
/home/pi/Desktop/images/11042025/20/33/image_11042025_20_33_36_10415.jpg
/home/pi/Desktop/images/11042025/20/33/image_11042025_20_33_56_9351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351917390","1351917153","1351916889","1351917284","1351916981","1351917082"],"photo_ids_order":["1351916889","1351916981","1351917082","1351917153","1351917284","1351917390"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/40187005b9ace9705d6c358f8fda1d94.jpg","text":"TemporaryFile(/tmp/multipartBody2029864520892496895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744401604631,"filename":"image_11042025_20_33_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/11/42eb175ead130aacfb0cc68068eaaa14.jpg","text":"TemporaryFile(/tmp/multipartBody1082708255646946503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744401604631,"filename":"image_11042025_20_33_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/11/63c8ec64765954868f0d115e0f8ff5c6.jpg","text":"TemporaryFile(/tmp/multipartBody3368078860092954596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744401604631,"filename":"image_11042025_20_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/11/206b42eb42a380131f4d0a6e623dc9d5.jpg","text":"TemporaryFile(/tmp/multipartBody1380850310146723040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744401604631,"filename":"image_11042025_20_33_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/11/c42b3e95392d2bf57b5b32ef461a1d8e.jpg","text":"TemporaryFile(/tmp/multipartBody2914798519887125826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744401604631,"filename":"image_11042025_20_32_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/11/93f201ada4a7a07e082fa21a6b9cd4a4.jpg","text":"TemporaryFile(/tmp/multipartBody4102839602264112266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744401604631,"filename":"image_11042025_20_33_06_9363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351917082","file1":"1351916981","file0":"1351916889","file4":"1351917284","file5":"1351917390","file3":"1351917153"},"map_files_photo_id_array":[{"photo_id":"1351917390","filename":"file5"},{"photo_id":"1351917082","filename":"file2"},{"photo_id":"1351917284","filename":"file4"},{"photo_id":"1351916981","filename":"file1"},{"photo_id":"1351916889","filename":"file0"},{"photo_id":"1351917153","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351917390":["hashtag1","hashtag2"]},{"1351917153":["hashtag1","hashtag2"]},{"1351916889":["hashtag1","hashtag2"]},{"1351917284":["hashtag1","hashtag2"]},{"1351916981":["hashtag1","hashtag2"]},{"1351917082":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351917390, 1351917153, 1351916889, 1351917284, 1351916981, 1351917082)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.79635977745056 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 21:59:52.491186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/20/34/image_11042025_20_34_16_10345.jpg', '/home/pi/Desktop/images/11042025/20/34/image_11042025_20_34_26_9350.jpg', '/home/pi/Desktop/images/11042025/20/34/image_11042025_20_35_07_10421.jpg', '/home/pi/Desktop/images/11042025/20/35/image_11042025_20_35_16_9350.jpg', '/home/pi/Desktop/images/11042025/20/35/image_11042025_20_35_26_10461.jpg', '/home/pi/Desktop/images/11042025/20/35/image_11042025_20_35_46_10489.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/20/34/image_11042025_20_34_16_10345.jpg
/home/pi/Desktop/images/11042025/20/34/image_11042025_20_34_26_9350.jpg
/home/pi/Desktop/images/11042025/20/34/image_11042025_20_35_07_10421.jpg
/home/pi/Desktop/images/11042025/20/35/image_11042025_20_35_16_9350.jpg
/home/pi/Desktop/images/11042025/20/35/image_11042025_20_35_26_10461.jpg
/home/pi/Desktop/images/11042025/20/35/image_11042025_20_35_46_10489.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351917884","1351918135","1351918194","1351918015","1351918245","1351918080"],"photo_ids_order":["1351917884","1351918015","1351918080","1351918135","1351918194","1351918245"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/cdd0f5bad8c33e96f9b2991bf9c5869a.jpg","text":"TemporaryFile(/tmp/multipartBody5021676167338605188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744401652964,"filename":"image_11042025_20_34_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/11/4aab25d646a7b03fd7fb6c5aaa97577e.jpg","text":"TemporaryFile(/tmp/multipartBody6878336109165185878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744401652964,"filename":"image_11042025_20_35_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/11/4c968483330599c14f09777aaa9756a2.jpg","text":"TemporaryFile(/tmp/multipartBody45026258548825131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744401652964,"filename":"image_11042025_20_35_26_10461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/913454ddbea92e6b1a1567ad60080b6d.jpg","text":"TemporaryFile(/tmp/multipartBody4896188791863182869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744401652964,"filename":"image_11042025_20_34_26_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/89b65dfd4367ff6817009a79c987daff.jpg","text":"TemporaryFile(/tmp/multipartBody4572524809930776642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744401652964,"filename":"image_11042025_20_35_46_10489.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/88b8505775c838f70cc47564dcf9f565.jpg","text":"TemporaryFile(/tmp/multipartBody2832587778529092148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744401652964,"filename":"image_11042025_20_35_07_10421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351918080","file1":"1351918015","file0":"1351917884","file4":"1351918194","file5":"1351918245","file3":"1351918135"},"map_files_photo_id_array":[{"photo_id":"1351918245","filename":"file5"},{"photo_id":"1351918080","filename":"file2"},{"photo_id":"1351918194","filename":"file4"},{"photo_id":"1351918015","filename":"file1"},{"photo_id":"1351917884","filename":"file0"},{"photo_id":"1351918135","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351917884":["hashtag1","hashtag2"]},{"1351918135":["hashtag1","hashtag2"]},{"1351918194":["hashtag1","hashtag2"]},{"1351918015":["hashtag1","hashtag2"]},{"1351918245":["hashtag1","hashtag2"]},{"1351918080":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351917884, 1351918135, 1351918194, 1351918015, 1351918245, 1351918080)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.75708031654358 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 22:00:32.698749
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/20/35/image_11042025_20_35_56_9368.jpg', '/home/pi/Desktop/images/11042025/20/35/image_11042025_20_36_06_10374.jpg', '/home/pi/Desktop/images/11042025/20/36/image_11042025_20_36_16_10405.jpg', '/home/pi/Desktop/images/11042025/20/36/image_11042025_20_36_26_9368.jpg', '/home/pi/Desktop/images/11042025/20/36/image_11042025_20_36_36_10438.jpg', '/home/pi/Desktop/images/11042025/20/36/image_11042025_20_36_47_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/20/35/image_11042025_20_35_56_9368.jpg
/home/pi/Desktop/images/11042025/20/35/image_11042025_20_36_06_10374.jpg
/home/pi/Desktop/images/11042025/20/36/image_11042025_20_36_16_10405.jpg
/home/pi/Desktop/images/11042025/20/36/image_11042025_20_36_26_9368.jpg
/home/pi/Desktop/images/11042025/20/36/image_11042025_20_36_36_10438.jpg
/home/pi/Desktop/images/11042025/20/36/image_11042025_20_36_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":["1351918487","1351918646","1351918364","1351918744","1351918405","1351918557"],"photo_ids_order":["1351918364","1351918405","1351918487","1351918557","1351918646","1351918744"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e49914b1a948eaa7b1af9472f6bd3f74.jpg","text":"TemporaryFile(/tmp/multipartBody1877699255323674884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744401693226,"filename":"image_11042025_20_36_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/11/9f7aeba888166d21ea1cc6155b841521.jpg","text":"TemporaryFile(/tmp/multipartBody4905669553321359574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744401693226,"filename":"image_11042025_20_36_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/11/96b50050e2d92831fbb29c9daadd1e50.jpg","text":"TemporaryFile(/tmp/multipartBody5400038319371507872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744401693226,"filename":"image_11042025_20_35_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/11/4da1400e3ecfed0f9ec7e1e8745ffeec.jpg","text":"TemporaryFile(/tmp/multipartBody8265387978887064581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744401693226,"filename":"image_11042025_20_36_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/11/759ae4e2b94afbf2e628163501b97146.jpg","text":"TemporaryFile(/tmp/multipartBody4914770760693474165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744401693226,"filename":"image_11042025_20_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/11/a8f51f6382432a805635695c8720ba3b.jpg","text":"TemporaryFile(/tmp/multipartBody8771637814785133095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744401693226,"filename":"image_11042025_20_36_26_9368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351918487","file1":"1351918405","file0":"1351918364","file4":"1351918646","file5":"1351918744","file3":"1351918557"},"map_files_photo_id_array":[{"photo_id":"1351918744","filename":"file5"},{"photo_id":"1351918487","filename":"file2"},{"photo_id":"1351918646","filename":"file4"},{"photo_id":"1351918405","filename":"file1"},{"photo_id":"1351918364","filename":"file0"},{"photo_id":"1351918557","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351918487":["hashtag1","hashtag2"]},{"1351918646":["hashtag1","hashtag2"]},{"1351918364":["hashtag1","hashtag2"]},{"1351918744":["hashtag1","hashtag2"]},{"1351918405":["hashtag1","hashtag2"]},{"1351918557":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351918487, 1351918646, 1351918364, 1351918744, 1351918405, 1351918557)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.38133096694946 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 22:01:33.040616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/20/36/image_11042025_20_36_56_9399.jpg', '/home/pi/Desktop/images/11042025/20/36/image_11042025_20_37_06_10445.jpg', '/home/pi/Desktop/images/11042025/20/37/image_11042025_20_37_46_9382.jpg', '/home/pi/Desktop/images/11042025/20/37/image_11042025_20_37_56_10452.jpg', '/home/pi/Desktop/images/11042025/20/37/image_11042025_20_38_06_9355.jpg', '/home/pi/Desktop/images/11042025/20/38/image_11042025_20_38_16_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/20/36/image_11042025_20_36_56_9399.jpg
/home/pi/Desktop/images/11042025/20/36/image_11042025_20_37_06_10445.jpg
/home/pi/Desktop/images/11042025/20/37/image_11042025_20_37_46_9382.jpg
/home/pi/Desktop/images/11042025/20/37/image_11042025_20_37_56_10452.jpg
/home/pi/Desktop/images/11042025/20/37/image_11042025_20_38_06_9355.jpg
/home/pi/Desktop/images/11042025/20/38/image_11042025_20_38_16_10365.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":["1351919708","1351919524","1351919218","1351919745","1351919424","1351919604"],"photo_ids_order":["1351919218","1351919424","1351919524","1351919604","1351919708","1351919745"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a5adc25a7c15355138640691cab409a4.jpg","text":"TemporaryFile(/tmp/multipartBody3930934463998207137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744401753523,"filename":"image_11042025_20_38_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/11/ab2d1b6bd056405fc0c3986419daa916.jpg","text":"TemporaryFile(/tmp/multipartBody6348705007746610490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744401753523,"filename":"image_11042025_20_37_46_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/11/084b38b05d1ea74c4d99ef7b4c936de4.jpg","text":"TemporaryFile(/tmp/multipartBody388272652987248803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744401753523,"filename":"image_11042025_20_36_56_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/757fbbe65dc8dc3ea99709d36d295317.jpg","text":"TemporaryFile(/tmp/multipartBody6393840723900835045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744401753523,"filename":"image_11042025_20_38_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/11/b7504d700d44040f7998efe8f8a7b175.jpg","text":"TemporaryFile(/tmp/multipartBody1670259721067264803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744401753523,"filename":"image_11042025_20_37_06_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/af5a1ec5ee942ca6324e322a54336cd2.jpg","text":"TemporaryFile(/tmp/multipartBody9093377429898775351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744401753523,"filename":"image_11042025_20_37_56_10452.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351919524","file1":"1351919424","file0":"1351919218","file4":"1351919708","file5":"1351919745","file3":"1351919604"},"map_files_photo_id_array":[{"photo_id":"1351919745","filename":"file5"},{"photo_id":"1351919524","filename":"file2"},{"photo_id":"1351919708","filename":"file4"},{"photo_id":"1351919424","filename":"file1"},{"photo_id":"1351919218","filename":"file0"},{"photo_id":"1351919604","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351919708":["hashtag1","hashtag2"]},{"1351919524":["hashtag1","hashtag2"]},{"1351919218":["hashtag1","hashtag2"]},{"1351919745":["hashtag1","hashtag2"]},{"1351919424":["hashtag1","hashtag2"]},{"1351919604":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351919708, 1351919524, 1351919218, 1351919745, 1351919424, 1351919604)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.41259217262268 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 22:02:43.174704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/20/38/image_11042025_20_38_26_10365.jpg', '/home/pi/Desktop/images/11042025/20/38/image_11042025_20_39_06_10441.jpg', '/home/pi/Desktop/images/11042025/20/39/image_11042025_20_39_17_10347.jpg', '/home/pi/Desktop/images/11042025/20/39/image_11042025_20_39_26_9460.jpg', '/home/pi/Desktop/images/11042025/20/39/image_11042025_20_39_36_10437.jpg', '/home/pi/Desktop/images/11042025/20/39/image_11042025_20_39_46_9362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/20/38/image_11042025_20_38_26_10365.jpg
/home/pi/Desktop/images/11042025/20/38/image_11042025_20_39_06_10441.jpg
/home/pi/Desktop/images/11042025/20/39/image_11042025_20_39_17_10347.jpg
/home/pi/Desktop/images/11042025/20/39/image_11042025_20_39_26_9460.jpg
/home/pi/Desktop/images/11042025/20/39/image_11042025_20_39_36_10437.jpg
/home/pi/Desktop/images/11042025/20/39/image_11042025_20_39_46_9362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351920159","1351920102","1351920253","1351920208","1351920060","1351920078"],"photo_ids_order":["1351920060","1351920078","1351920102","1351920159","1351920208","1351920253"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4374e907a867ec2b455a56763c9f9af8.jpg","text":"TemporaryFile(/tmp/multipartBody488439923976534905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744401823659,"filename":"image_11042025_20_39_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/11/e1b0b52009b82795a8947c44bda9c228.jpg","text":"TemporaryFile(/tmp/multipartBody121035154388997753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744401823659,"filename":"image_11042025_20_39_17_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0ceef2fbfc5ab435e4761d61c1f3e627.jpg","text":"TemporaryFile(/tmp/multipartBody4325276336712628354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744401823659,"filename":"image_11042025_20_39_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/11/017f632ec785f27a438ffed0515201a8.jpg","text":"TemporaryFile(/tmp/multipartBody8422729900956040023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744401823659,"filename":"image_11042025_20_39_36_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/304f9dbcf96edae98d291655902b85c6.jpg","text":"TemporaryFile(/tmp/multipartBody910246381720821854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744401823659,"filename":"image_11042025_20_38_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/11/8edfaafd51d2e52fa743c87d922b88aa.jpg","text":"TemporaryFile(/tmp/multipartBody5917162399663849764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744401823659,"filename":"image_11042025_20_39_06_10441.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351920102","file1":"1351920078","file0":"1351920060","file4":"1351920208","file5":"1351920253","file3":"1351920159"},"map_files_photo_id_array":[{"photo_id":"1351920253","filename":"file5"},{"photo_id":"1351920102","filename":"file2"},{"photo_id":"1351920208","filename":"file4"},{"photo_id":"1351920078","filename":"file1"},{"photo_id":"1351920060","filename":"file0"},{"photo_id":"1351920159","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351920159":["hashtag1","hashtag2"]},{"1351920102":["hashtag1","hashtag2"]},{"1351920253":["hashtag1","hashtag2"]},{"1351920208":["hashtag1","hashtag2"]},{"1351920060":["hashtag1","hashtag2"]},{"1351920078":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351920159, 1351920102, 1351920253, 1351920208, 1351920060, 1351920078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.28622841835022 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 22:03:32.510549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/20/39/image_11042025_20_40_06_9466.jpg', '/home/pi/Desktop/images/11042025/20/40/image_11042025_20_40_16_10424.jpg', '/home/pi/Desktop/images/11042025/20/40/image_11042025_20_40_27_10380.jpg', '/home/pi/Desktop/images/11042025/20/40/image_11042025_20_40_46_10415.jpg', '/home/pi/Desktop/images/11042025/20/40/image_11042025_20_41_06_10416.jpg', '/home/pi/Desktop/images/11042025/20/41/image_11042025_20_41_16_10345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/20/39/image_11042025_20_40_06_9466.jpg
/home/pi/Desktop/images/11042025/20/40/image_11042025_20_40_16_10424.jpg
/home/pi/Desktop/images/11042025/20/40/image_11042025_20_40_27_10380.jpg
/home/pi/Desktop/images/11042025/20/40/image_11042025_20_40_46_10415.jpg
/home/pi/Desktop/images/11042025/20/40/image_11042025_20_41_06_10416.jpg
/home/pi/Desktop/images/11042025/20/41/image_11042025_20_41_16_10345.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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351920507","1351920458","1351920467","1351920484","1351920404","1351920430"],"photo_ids_order":["1351920404","1351920430","1351920458","1351920467","1351920484","1351920507"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/77e9a4fa8e15a6031cb4697a0549d94f.jpg","text":"TemporaryFile(/tmp/multipartBody4742289990739036807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744401872988,"filename":"image_11042025_20_41_16_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/144acfe9de01b3c7691a669aed7cd2a9.jpg","text":"TemporaryFile(/tmp/multipartBody5798714435686126806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744401872988,"filename":"image_11042025_20_40_27_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b3c816710dd3e6675aac0f444f4944f2.jpg","text":"TemporaryFile(/tmp/multipartBody6647564273692475936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744401872988,"filename":"image_11042025_20_40_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/11/b8942f2646491b9ee1111939f47639e6.jpg","text":"TemporaryFile(/tmp/multipartBody2836450572627075912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744401872988,"filename":"image_11042025_20_41_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/11/0203ab0a3d880a924af673cc4e84af00.jpg","text":"TemporaryFile(/tmp/multipartBody5483811689366290643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744401872988,"filename":"image_11042025_20_40_06_9466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/bba2f47dcc3e81a9048426c28f3e6113.jpg","text":"TemporaryFile(/tmp/multipartBody6228329343168035583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744401872988,"filename":"image_11042025_20_40_16_10424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351920458","file1":"1351920430","file0":"1351920404","file4":"1351920484","file5":"1351920507","file3":"1351920467"},"map_files_photo_id_array":[{"photo_id":"1351920507","filename":"file5"},{"photo_id":"1351920458","filename":"file2"},{"photo_id":"1351920484","filename":"file4"},{"photo_id":"1351920430","filename":"file1"},{"photo_id":"1351920404","filename":"file0"},{"photo_id":"1351920467","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351920507":["hashtag1","hashtag2"]},{"1351920458":["hashtag1","hashtag2"]},{"1351920467":["hashtag1","hashtag2"]},{"1351920484":["hashtag1","hashtag2"]},{"1351920404":["hashtag1","hashtag2"]},{"1351920430":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351920507, 1351920458, 1351920467, 1351920484, 1351920404, 1351920430)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 85.72875761985779 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 22:05:04.452742
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/20/41/image_11042025_20_41_26_9356.jpg', '/home/pi/Desktop/images/11042025/20/41/image_11042025_20_41_36_10359.jpg', '/home/pi/Desktop/images/11042025/20/42/image_11042025_20_42_16_9345.jpg', '/home/pi/Desktop/images/11042025/20/42/image_11042025_20_42_26_10468.jpg', '/home/pi/Desktop/images/11042025/20/42/image_11042025_20_42_56_10366.jpg', '/home/pi/Desktop/images/11042025/20/42/image_11042025_20_43_06_9360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/20/41/image_11042025_20_41_26_9356.jpg
/home/pi/Desktop/images/11042025/20/41/image_11042025_20_41_36_10359.jpg
/home/pi/Desktop/images/11042025/20/42/image_11042025_20_42_16_9345.jpg
/home/pi/Desktop/images/11042025/20/42/image_11042025_20_42_26_10468.jpg
/home/pi/Desktop/images/11042025/20/42/image_11042025_20_42_56_10366.jpg
/home/pi/Desktop/images/11042025/20/42/image_11042025_20_43_06_9360.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351921022","1351920911","1351920880","1351920993","1351920969","1351920942"],"photo_ids_order":["1351920880","1351920911","1351920942","1351920969","1351920993","1351921022"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c4203d1b1259cc45bc2433124aaae9e7.jpg","text":"TemporaryFile(/tmp/multipartBody6758031704383943642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744401965081,"filename":"image_11042025_20_43_06_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2ba702ea48b06a8b957b2decdbd0e9b6.jpg","text":"TemporaryFile(/tmp/multipartBody5647660894975200260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744401965081,"filename":"image_11042025_20_41_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/11/dde1f86f814677782d9e172f73bfb8fa.jpg","text":"TemporaryFile(/tmp/multipartBody3307263560395637816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744401965081,"filename":"image_11042025_20_41_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/11/bbd97579ed32338f39fed6c6281a37cc.jpg","text":"TemporaryFile(/tmp/multipartBody6520999133261948458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744401965081,"filename":"image_11042025_20_42_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/11/795f76c211b273588bb40efe5e2e1d4f.jpg","text":"TemporaryFile(/tmp/multipartBody1388755017986608569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744401965081,"filename":"image_11042025_20_42_26_10468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ec9429606063f9a386ed084753201e17.jpg","text":"TemporaryFile(/tmp/multipartBody4919282600737626267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744401965081,"filename":"image_11042025_20_42_16_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351920942","file1":"1351920911","file0":"1351920880","file4":"1351920993","file5":"1351921022","file3":"1351920969"},"map_files_photo_id_array":[{"photo_id":"1351921022","filename":"file5"},{"photo_id":"1351920942","filename":"file2"},{"photo_id":"1351920993","filename":"file4"},{"photo_id":"1351920911","filename":"file1"},{"photo_id":"1351920880","filename":"file0"},{"photo_id":"1351920969","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351921022":["hashtag1","hashtag2"]},{"1351920911":["hashtag1","hashtag2"]},{"1351920880":["hashtag1","hashtag2"]},{"1351920993":["hashtag1","hashtag2"]},{"1351920969":["hashtag1","hashtag2"]},{"1351920942":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351921022, 1351920911, 1351920880, 1351920993, 1351920969, 1351920942)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.51840281486511 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 22:05:42.935217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/20/43/image_11042025_20_43_26_10425.jpg', '/home/pi/Desktop/images/11042025/20/43/image_11042025_20_43_46_9830.jpg', '/home/pi/Desktop/images/11042025/20/43/image_11042025_20_43_56_10359.jpg', '/home/pi/Desktop/images/11042025/20/43/image_11042025_20_44_06_10466.jpg', '/home/pi/Desktop/images/11042025/20/44/image_11042025_20_44_16_9358.jpg', '/home/pi/Desktop/images/11042025/20/44/image_11042025_20_44_26_10419.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/20/43/image_11042025_20_43_26_10425.jpg
/home/pi/Desktop/images/11042025/20/43/image_11042025_20_43_46_9830.jpg
/home/pi/Desktop/images/11042025/20/43/image_11042025_20_43_56_10359.jpg
/home/pi/Desktop/images/11042025/20/43/image_11042025_20_44_06_10466.jpg
/home/pi/Desktop/images/11042025/20/44/image_11042025_20_44_16_9358.jpg
/home/pi/Desktop/images/11042025/20/44/image_11042025_20_44_26_10419.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351921145","1351921316","1351921279","1351921240","1351921188","1351921341"],"photo_ids_order":["1351921145","1351921188","1351921240","1351921279","1351921316","1351921341"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/967eedb8429a26ac0b887bf7f95d0744.jpg","text":"TemporaryFile(/tmp/multipartBody1333249223781108062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744402003404,"filename":"image_11042025_20_43_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/11/343221ac1a105ead1fae545251f7f78b.jpg","text":"TemporaryFile(/tmp/multipartBody5784961561808735621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744402003404,"filename":"image_11042025_20_44_16_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/dc4fd62d9f841cbf36609cafddd87d67.jpg","text":"TemporaryFile(/tmp/multipartBody4526560862708657003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744402003404,"filename":"image_11042025_20_44_06_10466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9a2c0b29cafd74aea5505e69770b4ed2.jpg","text":"TemporaryFile(/tmp/multipartBody7918878905082215721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744402003404,"filename":"image_11042025_20_43_56_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c52c7ba5a93a2686fd87475df3e81585.jpg","text":"TemporaryFile(/tmp/multipartBody1569179146355776038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744402003404,"filename":"image_11042025_20_43_46_9830.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/26eeb817dfd8aa22dfb3a225f68b69e7.jpg","text":"TemporaryFile(/tmp/multipartBody6655009278555247372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744402003404,"filename":"image_11042025_20_44_26_10419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351921240","file1":"1351921188","file0":"1351921145","file4":"1351921316","file5":"1351921341","file3":"1351921279"},"map_files_photo_id_array":[{"photo_id":"1351921341","filename":"file5"},{"photo_id":"1351921240","filename":"file2"},{"photo_id":"1351921316","filename":"file4"},{"photo_id":"1351921188","filename":"file1"},{"photo_id":"1351921145","filename":"file0"},{"photo_id":"1351921279","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351921145":["hashtag1","hashtag2"]},{"1351921316":["hashtag1","hashtag2"]},{"1351921279":["hashtag1","hashtag2"]},{"1351921240":["hashtag1","hashtag2"]},{"1351921188":["hashtag1","hashtag2"]},{"1351921341":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351921145, 1351921316, 1351921279, 1351921240, 1351921188, 1351921341)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.29965281486511 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 22:06:33.249899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/20/44/image_11042025_20_44_36_9376.jpg', '/home/pi/Desktop/images/11042025/20/44/image_11042025_20_44_46_10370.jpg', '/home/pi/Desktop/images/11042025/20/44/image_11042025_20_44_56_10375.jpg', '/home/pi/Desktop/images/11042025/20/44/image_11042025_20_45_06_9365.jpg', '/home/pi/Desktop/images/11042025/20/45/image_11042025_20_45_16_10425.jpg', '/home/pi/Desktop/images/11042025/20/45/image_11042025_20_45_27_10376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/20/44/image_11042025_20_44_36_9376.jpg
/home/pi/Desktop/images/11042025/20/44/image_11042025_20_44_46_10370.jpg
/home/pi/Desktop/images/11042025/20/44/image_11042025_20_44_56_10375.jpg
/home/pi/Desktop/images/11042025/20/44/image_11042025_20_45_06_9365.jpg
/home/pi/Desktop/images/11042025/20/45/image_11042025_20_45_16_10425.jpg
/home/pi/Desktop/images/11042025/20/45/image_11042025_20_45_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":["1351921661","1351921576","1351921531","1351921473","1351921638","1351921500"],"photo_ids_order":["1351921473","1351921500","1351921531","1351921576","1351921638","1351921661"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9c68ad197f93feabc75836a9b84fa236.jpg","text":"TemporaryFile(/tmp/multipartBody3384451231071567064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744402053730,"filename":"image_11042025_20_45_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/11/a700071fb96f2cc577b3132c115268f1.jpg","text":"TemporaryFile(/tmp/multipartBody8192374705871337184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744402053730,"filename":"image_11042025_20_45_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/11/25bf4f12d05a4a58e3f6a1c671ec89dd.jpg","text":"TemporaryFile(/tmp/multipartBody6608436582596453841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744402053730,"filename":"image_11042025_20_44_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/11/05f3711d806098c5073b380bc4555d33.jpg","text":"TemporaryFile(/tmp/multipartBody2645593387701200096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744402053730,"filename":"image_11042025_20_44_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/11/9275d11c7f6f41761c63ff96797a32d7.jpg","text":"TemporaryFile(/tmp/multipartBody8520918695860770776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744402053730,"filename":"image_11042025_20_45_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/11/52acf41fa07b72fd31c769480c5bde68.jpg","text":"TemporaryFile(/tmp/multipartBody5648829997450714374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744402053730,"filename":"image_11042025_20_44_46_10370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351921531","file1":"1351921500","file0":"1351921473","file4":"1351921638","file5":"1351921661","file3":"1351921576"},"map_files_photo_id_array":[{"photo_id":"1351921661","filename":"file5"},{"photo_id":"1351921531","filename":"file2"},{"photo_id":"1351921638","filename":"file4"},{"photo_id":"1351921500","filename":"file1"},{"photo_id":"1351921473","filename":"file0"},{"photo_id":"1351921576","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351921661":["hashtag1","hashtag2"]},{"1351921576":["hashtag1","hashtag2"]},{"1351921531":["hashtag1","hashtag2"]},{"1351921473":["hashtag1","hashtag2"]},{"1351921638":["hashtag1","hashtag2"]},{"1351921500":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351921661, 1351921576, 1351921531, 1351921473, 1351921638, 1351921500)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.504302740097046 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 22:07:32.480103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/20/45/image_11042025_20_45_36_9363.jpg', '/home/pi/Desktop/images/11042025/20/45/image_11042025_20_45_46_10419.jpg', '/home/pi/Desktop/images/11042025/20/45/image_11042025_20_45_56_9436.jpg', '/home/pi/Desktop/images/11042025/20/45/image_11042025_20_46_06_10417.jpg', '/home/pi/Desktop/images/11042025/20/46/image_11042025_20_46_17_10421.jpg', '/home/pi/Desktop/images/11042025/20/46/image_11042025_20_46_26_9361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/20/45/image_11042025_20_45_36_9363.jpg
/home/pi/Desktop/images/11042025/20/45/image_11042025_20_45_46_10419.jpg
/home/pi/Desktop/images/11042025/20/45/image_11042025_20_45_56_9436.jpg
/home/pi/Desktop/images/11042025/20/45/image_11042025_20_46_06_10417.jpg
/home/pi/Desktop/images/11042025/20/46/image_11042025_20_46_17_10421.jpg
/home/pi/Desktop/images/11042025/20/46/image_11042025_20_46_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":["1351921982","1351922089","1351922199","1351922148","1351922034","1351922060"],"photo_ids_order":["1351921982","1351922034","1351922060","1351922089","1351922148","1351922199"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/61035cb9e542d41e499277bd32b3273d.jpg","text":"TemporaryFile(/tmp/multipartBody5754748444391811091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744402112943,"filename":"image_11042025_20_45_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/11/3104111260482e15ef8d77f8659449bc.jpg","text":"TemporaryFile(/tmp/multipartBody5340430747188381365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744402112943,"filename":"image_11042025_20_46_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/11/606b38c02fb9135c4f82c41e23c92371.jpg","text":"TemporaryFile(/tmp/multipartBody4849847836056025052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744402112943,"filename":"image_11042025_20_46_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/11/b16764affa56fd8c412c45cb2b809350.jpg","text":"TemporaryFile(/tmp/multipartBody4714642549099520699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744402112943,"filename":"image_11042025_20_46_17_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/dfd556c912282dd07286f09f667a3377.jpg","text":"TemporaryFile(/tmp/multipartBody3898950380004493707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744402112943,"filename":"image_11042025_20_45_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/11/89b8354f9d16c0f90bdae3c2ec57486f.jpg","text":"TemporaryFile(/tmp/multipartBody5979195769351836947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744402112943,"filename":"image_11042025_20_45_56_9436.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351922060","file1":"1351922034","file0":"1351921982","file4":"1351922148","file5":"1351922199","file3":"1351922089"},"map_files_photo_id_array":[{"photo_id":"1351922199","filename":"file5"},{"photo_id":"1351922060","filename":"file2"},{"photo_id":"1351922148","filename":"file4"},{"photo_id":"1351922034","filename":"file1"},{"photo_id":"1351921982","filename":"file0"},{"photo_id":"1351922089","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351921982":["hashtag1","hashtag2"]},{"1351922089":["hashtag1","hashtag2"]},{"1351922199":["hashtag1","hashtag2"]},{"1351922148":["hashtag1","hashtag2"]},{"1351922034":["hashtag1","hashtag2"]},{"1351922060":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351921982, 1351922089, 1351922199, 1351922148, 1351922034, 1351922060)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.06015396118164 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 22:08:32.749302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/20/46/image_11042025_20_46_36_10376.jpg', '/home/pi/Desktop/images/11042025/20/46/image_11042025_20_46_46_9345.jpg', '/home/pi/Desktop/images/11042025/20/46/image_11042025_20_46_56_10436.jpg', '/home/pi/Desktop/images/11042025/20/46/image_11042025_20_47_06_10364.jpg', '/home/pi/Desktop/images/11042025/20/47/image_11042025_20_47_16_9432.jpg', '/home/pi/Desktop/images/11042025/20/47/image_11042025_20_47_26_10425.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/20/46/image_11042025_20_46_36_10376.jpg
/home/pi/Desktop/images/11042025/20/46/image_11042025_20_46_46_9345.jpg
/home/pi/Desktop/images/11042025/20/46/image_11042025_20_46_56_10436.jpg
/home/pi/Desktop/images/11042025/20/46/image_11042025_20_47_06_10364.jpg
/home/pi/Desktop/images/11042025/20/47/image_11042025_20_47_16_9432.jpg
/home/pi/Desktop/images/11042025/20/47/image_11042025_20_47_26_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":["1351922671","1351922618","1351922644","1351922592","1351922571","1351922699"],"photo_ids_order":["1351922571","1351922592","1351922618","1351922644","1351922671","1351922699"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b3b59393574203150b121c779d6d81f2.jpg","text":"TemporaryFile(/tmp/multipartBody7979315376969987809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744402173214,"filename":"image_11042025_20_47_16_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2675cd91c4c9807e2b009a8744b75b32.jpg","text":"TemporaryFile(/tmp/multipartBody9007415462852891371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744402173214,"filename":"image_11042025_20_46_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/11/e85071065a37bb77233cdd49acdca418.jpg","text":"TemporaryFile(/tmp/multipartBody4183493586166812215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744402173214,"filename":"image_11042025_20_47_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/11/05fca0efce6f006cdb3fe512f839fca4.jpg","text":"TemporaryFile(/tmp/multipartBody7365599542487941203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744402173214,"filename":"image_11042025_20_46_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/11/1aaf4fbea0eb4a49bd0929a187040dc4.jpg","text":"TemporaryFile(/tmp/multipartBody3185335575244603482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744402173214,"filename":"image_11042025_20_46_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/11/08308ca93cd9d9974e69dc3518468af0.jpg","text":"TemporaryFile(/tmp/multipartBody1846395564900260374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744402173214,"filename":"image_11042025_20_47_26_10425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351922618","file1":"1351922592","file0":"1351922571","file4":"1351922671","file5":"1351922699","file3":"1351922644"},"map_files_photo_id_array":[{"photo_id":"1351922699","filename":"file5"},{"photo_id":"1351922618","filename":"file2"},{"photo_id":"1351922671","filename":"file4"},{"photo_id":"1351922592","filename":"file1"},{"photo_id":"1351922571","filename":"file0"},{"photo_id":"1351922644","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351922671":["hashtag1","hashtag2"]},{"1351922618":["hashtag1","hashtag2"]},{"1351922644":["hashtag1","hashtag2"]},{"1351922592":["hashtag1","hashtag2"]},{"1351922571":["hashtag1","hashtag2"]},{"1351922699":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351922671, 1351922618, 1351922644, 1351922592, 1351922571, 1351922699)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.64527416229248 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 22:09:33.010538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/20/47/image_11042025_20_47_36_9364.jpg', '/home/pi/Desktop/images/11042025/20/47/image_11042025_20_47_46_10439.jpg', '/home/pi/Desktop/images/11042025/20/48/image_11042025_20_48_16_10452.jpg', '/home/pi/Desktop/images/11042025/20/48/image_11042025_20_48_26_9352.jpg', '/home/pi/Desktop/images/11042025/20/48/image_11042025_20_48_36_10472.jpg', '/home/pi/Desktop/images/11042025/20/48/image_11042025_20_48_46_9450.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/20/47/image_11042025_20_47_36_9364.jpg
/home/pi/Desktop/images/11042025/20/47/image_11042025_20_47_46_10439.jpg
/home/pi/Desktop/images/11042025/20/48/image_11042025_20_48_16_10452.jpg
/home/pi/Desktop/images/11042025/20/48/image_11042025_20_48_26_9352.jpg
/home/pi/Desktop/images/11042025/20/48/image_11042025_20_48_36_10472.jpg
/home/pi/Desktop/images/11042025/20/48/image_11042025_20_48_46_9450.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351923181","1351923112","1351923225","1351923278","1351923074","1351923026"],"photo_ids_order":["1351923026","1351923074","1351923112","1351923181","1351923225","1351923278"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/197fbee7280f3517adf3921fa27a2ddb.jpg","text":"TemporaryFile(/tmp/multipartBody2900940851862504880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744402233477,"filename":"image_11042025_20_48_26_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b531974d9b2089e52a233c0d1f6039aa.jpg","text":"TemporaryFile(/tmp/multipartBody7277958797247434004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744402233477,"filename":"image_11042025_20_48_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/11/acdba78e047dc1036fda8a6657676acc.jpg","text":"TemporaryFile(/tmp/multipartBody6940297432871263296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744402233477,"filename":"image_11042025_20_48_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/11/5fd830f005f7c3d94b335b003f59eeae.jpg","text":"TemporaryFile(/tmp/multipartBody2658403555203873760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744402233477,"filename":"image_11042025_20_48_46_9450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c7c89f87da6f157fb87259ed458e353f.jpg","text":"TemporaryFile(/tmp/multipartBody5288731081854926102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744402233477,"filename":"image_11042025_20_47_46_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/69d301395c6254a53a8e560904374064.jpg","text":"TemporaryFile(/tmp/multipartBody34356541059276719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744402233477,"filename":"image_11042025_20_47_36_9364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351923112","file1":"1351923074","file0":"1351923026","file4":"1351923225","file5":"1351923278","file3":"1351923181"},"map_files_photo_id_array":[{"photo_id":"1351923278","filename":"file5"},{"photo_id":"1351923112","filename":"file2"},{"photo_id":"1351923225","filename":"file4"},{"photo_id":"1351923074","filename":"file1"},{"photo_id":"1351923026","filename":"file0"},{"photo_id":"1351923181","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351923181":["hashtag1","hashtag2"]},{"1351923112":["hashtag1","hashtag2"]},{"1351923225":["hashtag1","hashtag2"]},{"1351923278":["hashtag1","hashtag2"]},{"1351923074":["hashtag1","hashtag2"]},{"1351923026":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351923181, 1351923112, 1351923225, 1351923278, 1351923074, 1351923026)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.94448733329773 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 22:10:32.200977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/20/48/image_11042025_20_48_56_10504.jpg', '/home/pi/Desktop/images/11042025/20/48/image_11042025_20_49_07_10476.jpg', '/home/pi/Desktop/images/11042025/20/49/image_11042025_20_49_16_9374.jpg', '/home/pi/Desktop/images/11042025/20/49/image_11042025_20_49_26_10477.jpg', '/home/pi/Desktop/images/11042025/20/49/image_11042025_20_49_36_9360.jpg', '/home/pi/Desktop/images/11042025/20/49/image_11042025_20_49_46_10561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/20/48/image_11042025_20_48_56_10504.jpg
/home/pi/Desktop/images/11042025/20/48/image_11042025_20_49_07_10476.jpg
/home/pi/Desktop/images/11042025/20/49/image_11042025_20_49_16_9374.jpg
/home/pi/Desktop/images/11042025/20/49/image_11042025_20_49_26_10477.jpg
/home/pi/Desktop/images/11042025/20/49/image_11042025_20_49_36_9360.jpg
/home/pi/Desktop/images/11042025/20/49/image_11042025_20_49_46_10561.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351923739","1351923768","1351923861","1351923810","1351924028","1351923932"],"photo_ids_order":["1351923739","1351923768","1351923810","1351923861","1351923932","1351924028"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4b9c1c7b5562c318cf0ba7ecd0b159fd.jpg","text":"TemporaryFile(/tmp/multipartBody4074861709116601144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744402292688,"filename":"image_11042025_20_48_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/11/77aaf887e22061b1f79e4e32e88ac8ea.jpg","text":"TemporaryFile(/tmp/multipartBody4286751760705526852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744402292688,"filename":"image_11042025_20_49_07_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/11/2a56664736d6348a19622beafbea5b1e.jpg","text":"TemporaryFile(/tmp/multipartBody5737437809367532083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744402292688,"filename":"image_11042025_20_49_26_10477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ccb5bcfcc4ff1100694be9c5963476dc.jpg","text":"TemporaryFile(/tmp/multipartBody4415481668063751110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744402292688,"filename":"image_11042025_20_49_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/11/873d0bc17b1b43a2d2661c3c1f1ddb3c.jpg","text":"TemporaryFile(/tmp/multipartBody5293113086596384328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744402292688,"filename":"image_11042025_20_49_46_10561.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/cd0bdf80cfd84dcd5bc5e82c455dd915.jpg","text":"TemporaryFile(/tmp/multipartBody6534783662892886675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744402292688,"filename":"image_11042025_20_49_36_9360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351923810","file1":"1351923768","file0":"1351923739","file4":"1351923932","file5":"1351924028","file3":"1351923861"},"map_files_photo_id_array":[{"photo_id":"1351924028","filename":"file5"},{"photo_id":"1351923810","filename":"file2"},{"photo_id":"1351923932","filename":"file4"},{"photo_id":"1351923768","filename":"file1"},{"photo_id":"1351923739","filename":"file0"},{"photo_id":"1351923861","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351923739":["hashtag1","hashtag2"]},{"1351923768":["hashtag1","hashtag2"]},{"1351923861":["hashtag1","hashtag2"]},{"1351923810":["hashtag1","hashtag2"]},{"1351924028":["hashtag1","hashtag2"]},{"1351923932":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351923739, 1351923768, 1351923861, 1351923810, 1351924028, 1351923932)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.7746639251709 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 22:11:32.403490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/20/49/image_11042025_20_49_56_9433.jpg', '/home/pi/Desktop/images/11042025/20/49/image_11042025_20_50_06_10470.jpg', '/home/pi/Desktop/images/11042025/20/50/image_11042025_20_50_16_9365.jpg', '/home/pi/Desktop/images/11042025/20/50/image_11042025_20_50_26_10348.jpg', '/home/pi/Desktop/images/11042025/20/50/image_11042025_20_50_36_10053.jpg', '/home/pi/Desktop/images/11042025/20/50/image_11042025_20_50_46_10430.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/20/49/image_11042025_20_49_56_9433.jpg
/home/pi/Desktop/images/11042025/20/49/image_11042025_20_50_06_10470.jpg
/home/pi/Desktop/images/11042025/20/50/image_11042025_20_50_16_9365.jpg
/home/pi/Desktop/images/11042025/20/50/image_11042025_20_50_26_10348.jpg
/home/pi/Desktop/images/11042025/20/50/image_11042025_20_50_36_10053.jpg
/home/pi/Desktop/images/11042025/20/50/image_11042025_20_50_46_10430.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351924918","1351924810","1351925133","1351925093","1351924655","1351925005"],"photo_ids_order":["1351924655","1351924810","1351924918","1351925005","1351925093","1351925133"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6741c7e06939777b9d24533e4666a945.jpg","text":"TemporaryFile(/tmp/multipartBody4128410066079571765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744402352866,"filename":"image_11042025_20_50_16_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4b9d36335b9c2feb0c0c275e2f293746.jpg","text":"TemporaryFile(/tmp/multipartBody3835221432840964992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744402352866,"filename":"image_11042025_20_50_06_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/11/eee7bc6da985f005ebce695183b48af1.jpg","text":"TemporaryFile(/tmp/multipartBody6393502602530130559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744402352866,"filename":"image_11042025_20_50_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/11/836de87fdfbbd8377e8e54659f26c10c.jpg","text":"TemporaryFile(/tmp/multipartBody1968485338604250884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744402352866,"filename":"image_11042025_20_50_36_10053.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/75e206890599bb1e3ff782579e3bfd95.jpg","text":"TemporaryFile(/tmp/multipartBody8386174230818772212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744402352866,"filename":"image_11042025_20_49_56_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/efdb2003cc8c3af00332ef2f74b776d7.jpg","text":"TemporaryFile(/tmp/multipartBody164023985536991696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744402352866,"filename":"image_11042025_20_50_26_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351924918","file1":"1351924810","file0":"1351924655","file4":"1351925093","file5":"1351925133","file3":"1351925005"},"map_files_photo_id_array":[{"photo_id":"1351925133","filename":"file5"},{"photo_id":"1351924918","filename":"file2"},{"photo_id":"1351925093","filename":"file4"},{"photo_id":"1351924810","filename":"file1"},{"photo_id":"1351924655","filename":"file0"},{"photo_id":"1351925005","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351924918":["hashtag1","hashtag2"]},{"1351924810":["hashtag1","hashtag2"]},{"1351925133":["hashtag1","hashtag2"]},{"1351925093":["hashtag1","hashtag2"]},{"1351924655":["hashtag1","hashtag2"]},{"1351925005":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351924918, 1351924810, 1351925133, 1351925093, 1351924655, 1351925005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 155.85724878311157 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 22:14:32.255810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/20/50/image_11042025_20_50_56_9370.jpg', '/home/pi/Desktop/images/11042025/20/50/image_11042025_20_51_06_10411.jpg', '/home/pi/Desktop/images/11042025/20/51/image_11042025_20_51_17_10355.jpg', '/home/pi/Desktop/images/11042025/20/51/image_11042025_20_51_26_9354.jpg', '/home/pi/Desktop/images/11042025/20/51/image_11042025_20_51_36_10419.jpg', '/home/pi/Desktop/images/11042025/20/51/image_11042025_20_51_46_9415.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/20/50/image_11042025_20_50_56_9370.jpg
/home/pi/Desktop/images/11042025/20/50/image_11042025_20_51_06_10411.jpg
/home/pi/Desktop/images/11042025/20/51/image_11042025_20_51_17_10355.jpg
/home/pi/Desktop/images/11042025/20/51/image_11042025_20_51_26_9354.jpg
/home/pi/Desktop/images/11042025/20/51/image_11042025_20_51_36_10419.jpg
/home/pi/Desktop/images/11042025/20/51/image_11042025_20_51_46_9415.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351926569","1351926793","1351926745","1351926706","1351926690","1351926637"],"photo_ids_order":["1351926569","1351926637","1351926690","1351926706","1351926745","1351926793"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/972d5ff24e6f101f6923120938c31773.jpg","text":"TemporaryFile(/tmp/multipartBody4759057617540115190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744402532753,"filename":"image_11042025_20_50_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/11/f9fbc91b135b7fdc0addb62ebd51105a.jpg","text":"TemporaryFile(/tmp/multipartBody4169851082227798909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744402532753,"filename":"image_11042025_20_51_46_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7a2d0b0720c83478dccf4ef16ac4f3b5.jpg","text":"TemporaryFile(/tmp/multipartBody6896662799051582765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744402532753,"filename":"image_11042025_20_51_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/11/d8c3a9761ece9bdcf7cd47c52b4f3771.jpg","text":"TemporaryFile(/tmp/multipartBody980571899853221033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744402532753,"filename":"image_11042025_20_51_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/11/063823f4be61c82262aa3863b488ab30.jpg","text":"TemporaryFile(/tmp/multipartBody8633393955098537970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744402532753,"filename":"image_11042025_20_51_17_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c6d9d161fff79a0dd4f4a598226852b0.jpg","text":"TemporaryFile(/tmp/multipartBody5143839489518872758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744402532753,"filename":"image_11042025_20_51_06_10411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351926690","file1":"1351926637","file0":"1351926569","file4":"1351926745","file5":"1351926793","file3":"1351926706"},"map_files_photo_id_array":[{"photo_id":"1351926793","filename":"file5"},{"photo_id":"1351926690","filename":"file2"},{"photo_id":"1351926745","filename":"file4"},{"photo_id":"1351926637","filename":"file1"},{"photo_id":"1351926569","filename":"file0"},{"photo_id":"1351926706","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351926569":["hashtag1","hashtag2"]},{"1351926793":["hashtag1","hashtag2"]},{"1351926745":["hashtag1","hashtag2"]},{"1351926706":["hashtag1","hashtag2"]},{"1351926690":["hashtag1","hashtag2"]},{"1351926637":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351926569, 1351926793, 1351926745, 1351926706, 1351926690, 1351926637)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.231364250183105 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 22:15:32.435866
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/20/51/image_11042025_20_51_56_10390.jpg', '/home/pi/Desktop/images/11042025/20/51/image_11042025_20_52_06_10340.jpg', '/home/pi/Desktop/images/11042025/20/52/image_11042025_20_52_16_9356.jpg', '/home/pi/Desktop/images/11042025/20/52/image_11042025_20_52_36_9341.jpg', '/home/pi/Desktop/images/11042025/20/52/image_11042025_20_52_46_10375.jpg', '/home/pi/Desktop/images/11042025/20/52/image_11042025_20_53_06_9342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/20/51/image_11042025_20_51_56_10390.jpg
/home/pi/Desktop/images/11042025/20/51/image_11042025_20_52_06_10340.jpg
/home/pi/Desktop/images/11042025/20/52/image_11042025_20_52_16_9356.jpg
/home/pi/Desktop/images/11042025/20/52/image_11042025_20_52_36_9341.jpg
/home/pi/Desktop/images/11042025/20/52/image_11042025_20_52_46_10375.jpg
/home/pi/Desktop/images/11042025/20/52/image_11042025_20_53_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":["1351927445","1351927619","1351927642","1351927552","1351927488","1351927589"],"photo_ids_order":["1351927445","1351927488","1351927552","1351927589","1351927619","1351927642"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ac1929de2a36f722651461fb45f67f14.jpg","text":"TemporaryFile(/tmp/multipartBody5057946131451576105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744402592937,"filename":"image_11042025_20_51_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/11/6280cb8364f5ae85e89299cb3265be96.jpg","text":"TemporaryFile(/tmp/multipartBody500995061060328566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744402592937,"filename":"image_11042025_20_52_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/11/f32a50904fc0e6c52bf9151f7af078c3.jpg","text":"TemporaryFile(/tmp/multipartBody6877844901390160984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744402592937,"filename":"image_11042025_20_53_06_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f2a336ccb89467cc4843f6c0df3ee859.jpg","text":"TemporaryFile(/tmp/multipartBody621624365694908428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744402592937,"filename":"image_11042025_20_52_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/11/4cf0c6c16ee361af1760aa1b13e79206.jpg","text":"TemporaryFile(/tmp/multipartBody7054257364511507840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744402592937,"filename":"image_11042025_20_52_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/11/651e82495553e03b5f3090d45f5efad1.jpg","text":"TemporaryFile(/tmp/multipartBody4650226378432656593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744402592937,"filename":"image_11042025_20_52_36_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351927552","file1":"1351927488","file0":"1351927445","file4":"1351927619","file5":"1351927642","file3":"1351927589"},"map_files_photo_id_array":[{"photo_id":"1351927642","filename":"file5"},{"photo_id":"1351927552","filename":"file2"},{"photo_id":"1351927619","filename":"file4"},{"photo_id":"1351927488","filename":"file1"},{"photo_id":"1351927445","filename":"file0"},{"photo_id":"1351927589","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351927445":["hashtag1","hashtag2"]},{"1351927619":["hashtag1","hashtag2"]},{"1351927642":["hashtag1","hashtag2"]},{"1351927552":["hashtag1","hashtag2"]},{"1351927488":["hashtag1","hashtag2"]},{"1351927589":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351927445, 1351927619, 1351927642, 1351927552, 1351927488, 1351927589)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.32693338394165 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 22:16:32.711713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/20/53/image_11042025_20_53_27_10374.jpg', '/home/pi/Desktop/images/11042025/20/53/image_11042025_20_53_56_9408.jpg', '/home/pi/Desktop/images/11042025/20/53/image_11042025_20_54_06_10481.jpg', '/home/pi/Desktop/images/11042025/20/54/image_11042025_20_54_16_9449.jpg', '/home/pi/Desktop/images/11042025/20/54/image_11042025_20_54_26_10481.jpg', '/home/pi/Desktop/images/11042025/20/54/image_11042025_20_54_37_10410.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/20/53/image_11042025_20_53_27_10374.jpg
/home/pi/Desktop/images/11042025/20/53/image_11042025_20_53_56_9408.jpg
/home/pi/Desktop/images/11042025/20/53/image_11042025_20_54_06_10481.jpg
/home/pi/Desktop/images/11042025/20/54/image_11042025_20_54_16_9449.jpg
/home/pi/Desktop/images/11042025/20/54/image_11042025_20_54_26_10481.jpg
/home/pi/Desktop/images/11042025/20/54/image_11042025_20_54_37_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":["1351928000","1351927924","1351927872","1351927827","1351928054","1351927970"],"photo_ids_order":["1351927827","1351927872","1351927924","1351927970","1351928000","1351928054"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/47d5d9a0d3f6ad3e8c86bf1284b4f594.jpg","text":"TemporaryFile(/tmp/multipartBody5852058607623437884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744402653177,"filename":"image_11042025_20_54_26_10481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/607fddb08d521bbe22ce650293459f15.jpg","text":"TemporaryFile(/tmp/multipartBody3593930917302398301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744402653177,"filename":"image_11042025_20_54_06_10481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b2eb08367954104a9113f659ae8f9c9b.jpg","text":"TemporaryFile(/tmp/multipartBody5963595425921226260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744402653177,"filename":"image_11042025_20_53_56_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3ec8695b6e455894a82e7c94cb83bc04.jpg","text":"TemporaryFile(/tmp/multipartBody364852633895429801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744402653177,"filename":"image_11042025_20_53_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/11/f9dbf2a92119f81ca720c3e35ca5e2bf.jpg","text":"TemporaryFile(/tmp/multipartBody2676154935867349845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744402653177,"filename":"image_11042025_20_54_37_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/65c50e64e25938d278b470d182038cb0.jpg","text":"TemporaryFile(/tmp/multipartBody2371044073755979837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744402653177,"filename":"image_11042025_20_54_16_9449.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351927924","file1":"1351927872","file0":"1351927827","file4":"1351928000","file5":"1351928054","file3":"1351927970"},"map_files_photo_id_array":[{"photo_id":"1351928054","filename":"file5"},{"photo_id":"1351927924","filename":"file2"},{"photo_id":"1351928000","filename":"file4"},{"photo_id":"1351927872","filename":"file1"},{"photo_id":"1351927827","filename":"file0"},{"photo_id":"1351927970","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351928000":["hashtag1","hashtag2"]},{"1351927924":["hashtag1","hashtag2"]},{"1351927872":["hashtag1","hashtag2"]},{"1351927827":["hashtag1","hashtag2"]},{"1351928054":["hashtag1","hashtag2"]},{"1351927970":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351928000, 1351927924, 1351927872, 1351927827, 1351928054, 1351927970)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.846006870269775 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 22:17:32.920295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/20/54/image_11042025_20_54_56_10416.jpg', '/home/pi/Desktop/images/11042025/20/55/image_11042025_20_55_16_10591.jpg', '/home/pi/Desktop/images/11042025/20/55/image_11042025_20_55_26_9381.jpg', '/home/pi/Desktop/images/11042025/20/55/image_11042025_20_55_36_10457.jpg', '/home/pi/Desktop/images/11042025/20/55/image_11042025_20_55_46_9363.jpg', '/home/pi/Desktop/images/11042025/20/55/image_11042025_20_55_56_10427.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/20/54/image_11042025_20_54_56_10416.jpg
/home/pi/Desktop/images/11042025/20/55/image_11042025_20_55_16_10591.jpg
/home/pi/Desktop/images/11042025/20/55/image_11042025_20_55_26_9381.jpg
/home/pi/Desktop/images/11042025/20/55/image_11042025_20_55_36_10457.jpg
/home/pi/Desktop/images/11042025/20/55/image_11042025_20_55_46_9363.jpg
/home/pi/Desktop/images/11042025/20/55/image_11042025_20_55_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":["1351928262","1351928399","1351928438","1351928372","1351928345","1351928468"],"photo_ids_order":["1351928262","1351928345","1351928372","1351928399","1351928438","1351928468"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f768df248e26f0dcb5c8d443634d9b03.jpg","text":"TemporaryFile(/tmp/multipartBody7631207960771418113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744402713387,"filename":"image_11042025_20_54_56_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e70d91c35108a9649d222f47c0337bba.jpg","text":"TemporaryFile(/tmp/multipartBody1353167418401469053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744402713387,"filename":"image_11042025_20_55_36_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0e4bbd3db8ab854fbd9ef3d9cbdac971.jpg","text":"TemporaryFile(/tmp/multipartBody8190450049814132985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744402713387,"filename":"image_11042025_20_55_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/11/304fc5ddb9501c70d8a00ae942adb8ea.jpg","text":"TemporaryFile(/tmp/multipartBody3088635007708554732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744402713387,"filename":"image_11042025_20_55_26_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3770187a2394e88f675ebe18abec6f95.jpg","text":"TemporaryFile(/tmp/multipartBody7364039420161404868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744402713387,"filename":"image_11042025_20_55_16_10591.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5752aa8538b353a09fd62fd4e579d631.jpg","text":"TemporaryFile(/tmp/multipartBody6940960655028696337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744402713387,"filename":"image_11042025_20_55_56_10427.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351928372","file1":"1351928345","file0":"1351928262","file4":"1351928438","file5":"1351928468","file3":"1351928399"},"map_files_photo_id_array":[{"photo_id":"1351928468","filename":"file5"},{"photo_id":"1351928372","filename":"file2"},{"photo_id":"1351928438","filename":"file4"},{"photo_id":"1351928345","filename":"file1"},{"photo_id":"1351928262","filename":"file0"},{"photo_id":"1351928399","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351928262":["hashtag1","hashtag2"]},{"1351928399":["hashtag1","hashtag2"]},{"1351928438":["hashtag1","hashtag2"]},{"1351928372":["hashtag1","hashtag2"]},{"1351928345":["hashtag1","hashtag2"]},{"1351928468":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351928262, 1351928399, 1351928438, 1351928372, 1351928345, 1351928468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.45582628250122 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 22:18:33.176520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/20/55/image_11042025_20_56_06_10353.jpg', '/home/pi/Desktop/images/11042025/20/56/image_11042025_20_56_16_9426.jpg', '/home/pi/Desktop/images/11042025/20/56/image_11042025_20_56_26_10360.jpg', '/home/pi/Desktop/images/11042025/20/56/image_11042025_20_56_36_9359.jpg', '/home/pi/Desktop/images/11042025/20/56/image_11042025_20_56_46_10486.jpg', '/home/pi/Desktop/images/11042025/20/56/image_11042025_20_56_56_10406.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/20/55/image_11042025_20_56_06_10353.jpg
/home/pi/Desktop/images/11042025/20/56/image_11042025_20_56_16_9426.jpg
/home/pi/Desktop/images/11042025/20/56/image_11042025_20_56_26_10360.jpg
/home/pi/Desktop/images/11042025/20/56/image_11042025_20_56_36_9359.jpg
/home/pi/Desktop/images/11042025/20/56/image_11042025_20_56_46_10486.jpg
/home/pi/Desktop/images/11042025/20/56/image_11042025_20_56_56_10406.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351928806","1351928922","1351928901","1351928873","1351928846","1351928828"],"photo_ids_order":["1351928806","1351928828","1351928846","1351928873","1351928901","1351928922"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6b3f3f58d2d007bb6e0a1dfa218c0239.jpg","text":"TemporaryFile(/tmp/multipartBody8627019144194857702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744402773662,"filename":"image_11042025_20_56_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/11/8c6d0d8bd59b36faa2c9941bfdc6e2ff.jpg","text":"TemporaryFile(/tmp/multipartBody8972151170532196231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744402773662,"filename":"image_11042025_20_56_56_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e0a85157f1defe0bf9e2b07319f9cc15.jpg","text":"TemporaryFile(/tmp/multipartBody4136943439225323040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744402773662,"filename":"image_11042025_20_56_46_10486.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/cf2e2e3488b7237863bb78f0a71987a7.jpg","text":"TemporaryFile(/tmp/multipartBody7499526067143392644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744402773662,"filename":"image_11042025_20_56_36_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c44a726ea877a23dfea7b9b434c7c87c.jpg","text":"TemporaryFile(/tmp/multipartBody4577515968104338008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744402773662,"filename":"image_11042025_20_56_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/11/80da915640df8544b055eae899f0d03d.jpg","text":"TemporaryFile(/tmp/multipartBody6114166812896640443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744402773662,"filename":"image_11042025_20_56_16_9426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351928846","file1":"1351928828","file0":"1351928806","file4":"1351928901","file5":"1351928922","file3":"1351928873"},"map_files_photo_id_array":[{"photo_id":"1351928922","filename":"file5"},{"photo_id":"1351928846","filename":"file2"},{"photo_id":"1351928901","filename":"file4"},{"photo_id":"1351928828","filename":"file1"},{"photo_id":"1351928806","filename":"file0"},{"photo_id":"1351928873","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351928806":["hashtag1","hashtag2"]},{"1351928922":["hashtag1","hashtag2"]},{"1351928901":["hashtag1","hashtag2"]},{"1351928873":["hashtag1","hashtag2"]},{"1351928846":["hashtag1","hashtag2"]},{"1351928828":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351928806, 1351928922, 1351928901, 1351928873, 1351928846, 1351928828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.763521671295166 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 22:19:32.383129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/20/56/image_11042025_20_57_06_9421.jpg', '/home/pi/Desktop/images/11042025/20/57/image_11042025_20_57_16_10413.jpg', '/home/pi/Desktop/images/11042025/20/57/image_11042025_20_57_26_9357.jpg', '/home/pi/Desktop/images/11042025/20/57/image_11042025_20_57_36_10446.jpg', '/home/pi/Desktop/images/11042025/20/57/image_11042025_20_57_47_10369.jpg', '/home/pi/Desktop/images/11042025/20/57/image_11042025_20_57_56_9361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/20/56/image_11042025_20_57_06_9421.jpg
/home/pi/Desktop/images/11042025/20/57/image_11042025_20_57_16_10413.jpg
/home/pi/Desktop/images/11042025/20/57/image_11042025_20_57_26_9357.jpg
/home/pi/Desktop/images/11042025/20/57/image_11042025_20_57_36_10446.jpg
/home/pi/Desktop/images/11042025/20/57/image_11042025_20_57_47_10369.jpg
/home/pi/Desktop/images/11042025/20/57/image_11042025_20_57_56_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":["1351929249","1351929156","1351929102","1351929341","1351929292","1351929203"],"photo_ids_order":["1351929102","1351929156","1351929203","1351929249","1351929292","1351929341"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a55e2b8399c1dc8f0e8c1de3bd28101e.jpg","text":"TemporaryFile(/tmp/multipartBody2720273415013726399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744402832951,"filename":"image_11042025_20_57_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/11/fe85ee8a2ee7ae8a7ace28a6ca3c036d.jpg","text":"TemporaryFile(/tmp/multipartBody8494202549207898489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744402832951,"filename":"image_11042025_20_57_16_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8c1c7d025c6a1b5a7e496d428afba5c6.jpg","text":"TemporaryFile(/tmp/multipartBody3831019415576070716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744402832951,"filename":"image_11042025_20_57_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/11/78cbb74dda1d4605fb4c35ac079b830f.jpg","text":"TemporaryFile(/tmp/multipartBody7802009595497138710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744402832951,"filename":"image_11042025_20_57_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/11/390ac4ed5860eb95e7adc56414b0b267.jpg","text":"TemporaryFile(/tmp/multipartBody3508516467966906910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744402832951,"filename":"image_11042025_20_57_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/11/236034e3f95f54683e9492710420577c.jpg","text":"TemporaryFile(/tmp/multipartBody3719430451733661068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744402832951,"filename":"image_11042025_20_57_26_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351929203","file1":"1351929156","file0":"1351929102","file4":"1351929292","file5":"1351929341","file3":"1351929249"},"map_files_photo_id_array":[{"photo_id":"1351929341","filename":"file5"},{"photo_id":"1351929203","filename":"file2"},{"photo_id":"1351929292","filename":"file4"},{"photo_id":"1351929156","filename":"file1"},{"photo_id":"1351929102","filename":"file0"},{"photo_id":"1351929249","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351929249":["hashtag1","hashtag2"]},{"1351929156":["hashtag1","hashtag2"]},{"1351929102":["hashtag1","hashtag2"]},{"1351929341":["hashtag1","hashtag2"]},{"1351929292":["hashtag1","hashtag2"]},{"1351929203":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351929249, 1351929156, 1351929102, 1351929341, 1351929292, 1351929203)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.72687315940857 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 22:20:34.190696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/20/58/image_11042025_20_58_16_9352.jpg', '/home/pi/Desktop/images/11042025/20/58/image_11042025_20_58_26_10453.jpg', '/home/pi/Desktop/images/11042025/20/58/image_11042025_20_58_37_10362.jpg', '/home/pi/Desktop/images/11042025/20/58/image_11042025_20_58_46_9372.jpg', '/home/pi/Desktop/images/11042025/20/58/image_11042025_20_58_56_10469.jpg', '/home/pi/Desktop/images/11042025/20/58/image_11042025_20_59_06_9347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/20/58/image_11042025_20_58_16_9352.jpg
/home/pi/Desktop/images/11042025/20/58/image_11042025_20_58_26_10453.jpg
/home/pi/Desktop/images/11042025/20/58/image_11042025_20_58_37_10362.jpg
/home/pi/Desktop/images/11042025/20/58/image_11042025_20_58_46_9372.jpg
/home/pi/Desktop/images/11042025/20/58/image_11042025_20_58_56_10469.jpg
/home/pi/Desktop/images/11042025/20/58/image_11042025_20_59_06_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":["1351930437","1351930317","1351930493","1351930376","1351930043","1351930244"],"photo_ids_order":["1351930043","1351930244","1351930317","1351930376","1351930437","1351930493"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/13b3ab68222ab918d73cf6bb5a06b531.jpg","text":"TemporaryFile(/tmp/multipartBody9143920573803478477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744402894687,"filename":"image_11042025_20_58_56_10469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8b7a08c5c5eaf847871c38d1ab4ea757.jpg","text":"TemporaryFile(/tmp/multipartBody1509502165235121392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744402894687,"filename":"image_11042025_20_58_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/11/a10ac146dd79aa2a39178a364f70c5bc.jpg","text":"TemporaryFile(/tmp/multipartBody9020132011050487681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744402894687,"filename":"image_11042025_20_59_06_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/179c701bac6119aeb4a25a61a3217415.jpg","text":"TemporaryFile(/tmp/multipartBody1061350848497728856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744402894687,"filename":"image_11042025_20_58_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/11/6ea2796180fb0c55432498c024be7aa7.jpg","text":"TemporaryFile(/tmp/multipartBody2823614580565514219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744402894687,"filename":"image_11042025_20_58_16_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/44e6b791ed79dd3a5b5baadaf0c9c45e.jpg","text":"TemporaryFile(/tmp/multipartBody6525523425161754650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744402894687,"filename":"image_11042025_20_58_26_10453.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351930317","file1":"1351930244","file0":"1351930043","file4":"1351930437","file5":"1351930493","file3":"1351930376"},"map_files_photo_id_array":[{"photo_id":"1351930493","filename":"file5"},{"photo_id":"1351930317","filename":"file2"},{"photo_id":"1351930437","filename":"file4"},{"photo_id":"1351930244","filename":"file1"},{"photo_id":"1351930043","filename":"file0"},{"photo_id":"1351930376","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351930437":["hashtag1","hashtag2"]},{"1351930317":["hashtag1","hashtag2"]},{"1351930493":["hashtag1","hashtag2"]},{"1351930376":["hashtag1","hashtag2"]},{"1351930043":["hashtag1","hashtag2"]},{"1351930244":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351930437, 1351930317, 1351930493, 1351930376, 1351930043, 1351930244)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.60413455963135 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 22:21:32.887435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/20/59/image_11042025_20_59_16_10415.jpg', '/home/pi/Desktop/images/11042025/20/59/image_11042025_20_59_26_10362.jpg', '/home/pi/Desktop/images/11042025/20/59/image_11042025_20_59_36_9358.jpg', '/home/pi/Desktop/images/11042025/20/59/image_11042025_20_59_46_10453.jpg', '/home/pi/Desktop/images/11042025/20/59/image_11042025_20_59_56_9392.jpg', '/home/pi/Desktop/images/11042025/21/01/image_11042025_21_01_14_10077.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/20/59/image_11042025_20_59_16_10415.jpg
/home/pi/Desktop/images/11042025/20/59/image_11042025_20_59_26_10362.jpg
/home/pi/Desktop/images/11042025/20/59/image_11042025_20_59_36_9358.jpg
/home/pi/Desktop/images/11042025/20/59/image_11042025_20_59_46_10453.jpg
/home/pi/Desktop/images/11042025/20/59/image_11042025_20_59_56_9392.jpg
/home/pi/Desktop/images/11042025/21/01/image_11042025_21_01_14_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":["1351931542","1351931458","1351931499","1351931148","1351931360","1351931030"],"photo_ids_order":["1351931030","1351931148","1351931360","1351931458","1351931499","1351931542"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/121adb731f1a5881e0311a077bde4771.jpg","text":"TemporaryFile(/tmp/multipartBody2297340221100435478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744402953374,"filename":"image_11042025_21_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/11/5ff0394989c7c8555916ccaadfb76423.jpg","text":"TemporaryFile(/tmp/multipartBody4784836010386153929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744402953374,"filename":"image_11042025_20_59_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/11/5e8910de92db91dd60529ec37e63c911.jpg","text":"TemporaryFile(/tmp/multipartBody190047641711237026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744402953374,"filename":"image_11042025_20_59_56_9392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d5f0042edbe797fe7a8d474bcb640499.jpg","text":"TemporaryFile(/tmp/multipartBody8890861677424979512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744402953374,"filename":"image_11042025_20_59_26_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5327e2bda4406fb6d591ad841977bb62.jpg","text":"TemporaryFile(/tmp/multipartBody7570001198485149831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744402953374,"filename":"image_11042025_20_59_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/11/fad815512bdf5bfa476de13125ac22fb.jpg","text":"TemporaryFile(/tmp/multipartBody9037397087384021459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744402953374,"filename":"image_11042025_20_59_16_10415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351931360","file1":"1351931148","file0":"1351931030","file4":"1351931499","file5":"1351931542","file3":"1351931458"},"map_files_photo_id_array":[{"photo_id":"1351931542","filename":"file5"},{"photo_id":"1351931360","filename":"file2"},{"photo_id":"1351931499","filename":"file4"},{"photo_id":"1351931148","filename":"file1"},{"photo_id":"1351931030","filename":"file0"},{"photo_id":"1351931458","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351931542":["hashtag1","hashtag2"]},{"1351931458":["hashtag1","hashtag2"]},{"1351931499":["hashtag1","hashtag2"]},{"1351931148":["hashtag1","hashtag2"]},{"1351931360":["hashtag1","hashtag2"]},{"1351931030":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351931542, 1351931458, 1351931499, 1351931148, 1351931360, 1351931030)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.79974365234375 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 22:22:32.974279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/21/01/image_11042025_21_01_24_10375.jpg', '/home/pi/Desktop/images/11042025/21/01/image_11042025_21_01_35_10450.jpg', '/home/pi/Desktop/images/11042025/21/01/image_11042025_21_01_44_9372.jpg', '/home/pi/Desktop/images/11042025/21/01/image_11042025_21_02_05_10359.jpg', '/home/pi/Desktop/images/11042025/21/02/image_11042025_21_02_14_9406.jpg', '/home/pi/Desktop/images/11042025/21/02/image_11042025_21_02_34_9385.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/21/01/image_11042025_21_01_24_10375.jpg
/home/pi/Desktop/images/11042025/21/01/image_11042025_21_01_35_10450.jpg
/home/pi/Desktop/images/11042025/21/01/image_11042025_21_01_44_9372.jpg
/home/pi/Desktop/images/11042025/21/01/image_11042025_21_02_05_10359.jpg
/home/pi/Desktop/images/11042025/21/02/image_11042025_21_02_14_9406.jpg
/home/pi/Desktop/images/11042025/21/02/image_11042025_21_02_34_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":["1351931965","1351931803","1351931760","1351931820","1351931891","1351931852"],"photo_ids_order":["1351931760","1351931803","1351931820","1351931852","1351931891","1351931965"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/65c42705c51f4c310ed136df626118da.jpg","text":"TemporaryFile(/tmp/multipartBody6412655141058154774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403013452,"filename":"image_11042025_21_02_34_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e84d5dfd4f673e7ad88ff6ad11610f8d.jpg","text":"TemporaryFile(/tmp/multipartBody4682198773128301749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403013452,"filename":"image_11042025_21_01_35_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ae60c1dfebfa963b12def57f80d249be.jpg","text":"TemporaryFile(/tmp/multipartBody8813939166143625522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403013452,"filename":"image_11042025_21_01_24_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6ca222064a2a2c23915026fcc837ec9d.jpg","text":"TemporaryFile(/tmp/multipartBody4374664959969398240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403013452,"filename":"image_11042025_21_01_44_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4dde9f4b1c1cb56dc5cacab2b7de5060.jpg","text":"TemporaryFile(/tmp/multipartBody6153515062344443385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403013452,"filename":"image_11042025_21_02_14_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0891fc48e687285aa29c5d2040df9b14.jpg","text":"TemporaryFile(/tmp/multipartBody9047950985941661433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403013452,"filename":"image_11042025_21_02_05_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351931820","file1":"1351931803","file0":"1351931760","file4":"1351931891","file5":"1351931965","file3":"1351931852"},"map_files_photo_id_array":[{"photo_id":"1351931965","filename":"file5"},{"photo_id":"1351931820","filename":"file2"},{"photo_id":"1351931891","filename":"file4"},{"photo_id":"1351931803","filename":"file1"},{"photo_id":"1351931760","filename":"file0"},{"photo_id":"1351931852","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351931965":["hashtag1","hashtag2"]},{"1351931803":["hashtag1","hashtag2"]},{"1351931760":["hashtag1","hashtag2"]},{"1351931820":["hashtag1","hashtag2"]},{"1351931891":["hashtag1","hashtag2"]},{"1351931852":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351931965, 1351931803, 1351931760, 1351931820, 1351931891, 1351931852)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.186034202575684 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 22:23:32.296469
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/21/02/image_11042025_21_02_44_10367.jpg', '/home/pi/Desktop/images/11042025/21/02/image_11042025_21_02_55_10379.jpg', '/home/pi/Desktop/images/11042025/21/02/image_11042025_21_03_04_9436.jpg', '/home/pi/Desktop/images/11042025/21/03/image_11042025_21_03_15_10406.jpg', '/home/pi/Desktop/images/11042025/21/03/image_11042025_21_03_24_9375.jpg', '/home/pi/Desktop/images/11042025/21/03/image_11042025_21_04_05_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/21/02/image_11042025_21_02_44_10367.jpg
/home/pi/Desktop/images/11042025/21/02/image_11042025_21_02_55_10379.jpg
/home/pi/Desktop/images/11042025/21/02/image_11042025_21_03_04_9436.jpg
/home/pi/Desktop/images/11042025/21/03/image_11042025_21_03_15_10406.jpg
/home/pi/Desktop/images/11042025/21/03/image_11042025_21_03_24_9375.jpg
/home/pi/Desktop/images/11042025/21/03/image_11042025_21_04_05_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.3883965015411377 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 22:23:42.171885
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/21/02/image_11042025_21_02_44_10367.jpg', '/home/pi/Desktop/images/11042025/21/02/image_11042025_21_02_55_10379.jpg', '/home/pi/Desktop/images/11042025/21/02/image_11042025_21_03_04_9436.jpg', '/home/pi/Desktop/images/11042025/21/03/image_11042025_21_03_15_10406.jpg', '/home/pi/Desktop/images/11042025/21/03/image_11042025_21_03_24_9375.jpg', '/home/pi/Desktop/images/11042025/21/03/image_11042025_21_04_05_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/21/02/image_11042025_21_02_44_10367.jpg
/home/pi/Desktop/images/11042025/21/02/image_11042025_21_02_55_10379.jpg
/home/pi/Desktop/images/11042025/21/02/image_11042025_21_03_04_9436.jpg
/home/pi/Desktop/images/11042025/21/03/image_11042025_21_03_15_10406.jpg
/home/pi/Desktop/images/11042025/21/03/image_11042025_21_03_24_9375.jpg
/home/pi/Desktop/images/11042025/21/03/image_11042025_21_04_05_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":["1351932966","1351933157","1351932797","1351932902","1351932682","1351932568"],"photo_ids_order":["1351932568","1351932682","1351932797","1351932902","1351932966","1351933157"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ceab3282a567c9f75aa19a5069696278.jpg","text":"TemporaryFile(/tmp/multipartBody4071618558448463646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403082692,"filename":"image_11042025_21_03_24_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e9932dcfbf24dedddb6b05325b7d9759.jpg","text":"TemporaryFile(/tmp/multipartBody1911523451244681409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403082692,"filename":"image_11042025_21_04_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/11/b9fc42a5b6c687aaf821fab3a2e9a3b6.jpg","text":"TemporaryFile(/tmp/multipartBody6455049445836296972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403082692,"filename":"image_11042025_21_03_04_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/11/9bec7c0a809ff4d32a7ed5cd81b1b867.jpg","text":"TemporaryFile(/tmp/multipartBody5874273814282554109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403082692,"filename":"image_11042025_21_03_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/11/c9d3b38b91729d8f56049accd9a57c32.jpg","text":"TemporaryFile(/tmp/multipartBody5781881182402709260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403082692,"filename":"image_11042025_21_02_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/11/ba289ed81f6ed0a69c73986cf6b80b63.jpg","text":"TemporaryFile(/tmp/multipartBody576948898685287047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403082692,"filename":"image_11042025_21_02_44_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351932797","file1":"1351932682","file0":"1351932568","file4":"1351932966","file5":"1351933157","file3":"1351932902"},"map_files_photo_id_array":[{"photo_id":"1351933157","filename":"file5"},{"photo_id":"1351932797","filename":"file2"},{"photo_id":"1351932966","filename":"file4"},{"photo_id":"1351932682","filename":"file1"},{"photo_id":"1351932568","filename":"file0"},{"photo_id":"1351932902","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351932966":["hashtag1","hashtag2"]},{"1351933157":["hashtag1","hashtag2"]},{"1351932797":["hashtag1","hashtag2"]},{"1351932902":["hashtag1","hashtag2"]},{"1351932682":["hashtag1","hashtag2"]},{"1351932568":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351932966, 1351933157, 1351932797, 1351932902, 1351932682, 1351932568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.0327205657959 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 22:24:32.340784
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/21/04/image_11042025_21_04_24_10380.jpg', '/home/pi/Desktop/images/11042025/21/04/image_11042025_21_04_35_10369.jpg', '/home/pi/Desktop/images/11042025/21/04/image_11042025_21_04_54_10369.jpg', '/home/pi/Desktop/images/11042025/21/04/image_11042025_21_05_05_10376.jpg', '/home/pi/Desktop/images/11042025/21/05/image_11042025_21_05_25_10382.jpg', '/home/pi/Desktop/images/11042025/21/05/image_11042025_21_05_34_9467.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/21/04/image_11042025_21_04_24_10380.jpg
/home/pi/Desktop/images/11042025/21/04/image_11042025_21_04_35_10369.jpg
/home/pi/Desktop/images/11042025/21/04/image_11042025_21_04_54_10369.jpg
/home/pi/Desktop/images/11042025/21/04/image_11042025_21_05_05_10376.jpg
/home/pi/Desktop/images/11042025/21/05/image_11042025_21_05_25_10382.jpg
/home/pi/Desktop/images/11042025/21/05/image_11042025_21_05_34_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":["1351934258","1351934174","1351934089","1351933904","1351933729","1351933974"],"photo_ids_order":["1351933729","1351933904","1351933974","1351934089","1351934174","1351934258"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5f184b87896750ca181a9dfe77181056.jpg","text":"TemporaryFile(/tmp/multipartBody5886830856411673804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403132831,"filename":"image_11042025_21_05_34_9467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/283909fd6d933cfa12ce5b53bb6252f0.jpg","text":"TemporaryFile(/tmp/multipartBody4231801018144668122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403132831,"filename":"image_11042025_21_05_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/11/055a4d43a4a85fbac276833912014de3.jpg","text":"TemporaryFile(/tmp/multipartBody6857561799394649267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403132831,"filename":"image_11042025_21_05_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/11/4f6aae45463bab1a7b12dfe0f7e662ca.jpg","text":"TemporaryFile(/tmp/multipartBody4555825508921797259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403132831,"filename":"image_11042025_21_04_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/11/0f01de4fa290749009b3cb7a1b6882fa.jpg","text":"TemporaryFile(/tmp/multipartBody4873750452802065680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403132831,"filename":"image_11042025_21_04_24_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/11/35783e4e5c21f9a792f1eaa59444c78a.jpg","text":"TemporaryFile(/tmp/multipartBody1606627713658428667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403132831,"filename":"image_11042025_21_04_54_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351933974","file1":"1351933904","file0":"1351933729","file4":"1351934174","file5":"1351934258","file3":"1351934089"},"map_files_photo_id_array":[{"photo_id":"1351934258","filename":"file5"},{"photo_id":"1351933974","filename":"file2"},{"photo_id":"1351934174","filename":"file4"},{"photo_id":"1351933904","filename":"file1"},{"photo_id":"1351933729","filename":"file0"},{"photo_id":"1351934089","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351934258":["hashtag1","hashtag2"]},{"1351934174":["hashtag1","hashtag2"]},{"1351934089":["hashtag1","hashtag2"]},{"1351933904":["hashtag1","hashtag2"]},{"1351933729":["hashtag1","hashtag2"]},{"1351933974":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351934258, 1351934174, 1351934089, 1351933904, 1351933729, 1351933974)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.872594594955444 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 22:25:32.623795
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/21/05/image_11042025_21_05_45_10457.jpg', '/home/pi/Desktop/images/11042025/21/05/image_11042025_21_05_55_10346.jpg', '/home/pi/Desktop/images/11042025/21/05/image_11042025_21_06_04_9444.jpg', '/home/pi/Desktop/images/11042025/21/06/image_11042025_21_06_15_10353.jpg', '/home/pi/Desktop/images/11042025/21/06/image_11042025_21_06_24_9470.jpg', '/home/pi/Desktop/images/11042025/21/06/image_11042025_21_06_44_9360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/21/05/image_11042025_21_05_45_10457.jpg
/home/pi/Desktop/images/11042025/21/05/image_11042025_21_05_55_10346.jpg
/home/pi/Desktop/images/11042025/21/05/image_11042025_21_06_04_9444.jpg
/home/pi/Desktop/images/11042025/21/06/image_11042025_21_06_15_10353.jpg
/home/pi/Desktop/images/11042025/21/06/image_11042025_21_06_24_9470.jpg
/home/pi/Desktop/images/11042025/21/06/image_11042025_21_06_44_9360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351935373","1351934875","1351935310","1351935208","1351935009","1351934805"],"photo_ids_order":["1351934805","1351934875","1351935009","1351935208","1351935310","1351935373"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/64f7acc4b437076c591550d623cfc9c7.jpg","text":"TemporaryFile(/tmp/multipartBody6452779085012157011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403193113,"filename":"image_11042025_21_06_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/11/e840dac79b7d14e777fdacd4610709c8.jpg","text":"TemporaryFile(/tmp/multipartBody7862137604306408221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403193113,"filename":"image_11042025_21_05_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/11/77017ad7694f10d37bde4816be89aee2.jpg","text":"TemporaryFile(/tmp/multipartBody2851117928547259839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403193113,"filename":"image_11042025_21_06_24_9470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0695a7d913e277947cc9f306a073c4f0.jpg","text":"TemporaryFile(/tmp/multipartBody116936044447039833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403193113,"filename":"image_11042025_21_06_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/11/8f0d88a2305c886e09a17b549cba217a.jpg","text":"TemporaryFile(/tmp/multipartBody7321513190564741707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403193113,"filename":"image_11042025_21_06_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/11/a06e0ca2e2dd80bf22755d2b7b5f203d.jpg","text":"TemporaryFile(/tmp/multipartBody2716758080960095209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403193113,"filename":"image_11042025_21_05_45_10457.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351935009","file1":"1351934875","file0":"1351934805","file4":"1351935310","file5":"1351935373","file3":"1351935208"},"map_files_photo_id_array":[{"photo_id":"1351935373","filename":"file5"},{"photo_id":"1351935009","filename":"file2"},{"photo_id":"1351935310","filename":"file4"},{"photo_id":"1351934875","filename":"file1"},{"photo_id":"1351934805","filename":"file0"},{"photo_id":"1351935208","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351935373":["hashtag1","hashtag2"]},{"1351934875":["hashtag1","hashtag2"]},{"1351935310":["hashtag1","hashtag2"]},{"1351935208":["hashtag1","hashtag2"]},{"1351935009":["hashtag1","hashtag2"]},{"1351934805":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351935373, 1351934875, 1351935310, 1351935208, 1351935009, 1351934805)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.82727098464966 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 22:26:32.954894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/21/07/image_11042025_21_07_14_9461.jpg', '/home/pi/Desktop/images/11042025/21/07/image_11042025_21_07_25_10376.jpg', '/home/pi/Desktop/images/11042025/21/07/image_11042025_21_07_34_9371.jpg', '/home/pi/Desktop/images/11042025/21/07/image_11042025_21_07_44_10440.jpg', '/home/pi/Desktop/images/11042025/21/07/image_11042025_21_07_55_10362.jpg', '/home/pi/Desktop/images/11042025/21/08/image_11042025_21_08_15_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/21/07/image_11042025_21_07_14_9461.jpg
/home/pi/Desktop/images/11042025/21/07/image_11042025_21_07_25_10376.jpg
/home/pi/Desktop/images/11042025/21/07/image_11042025_21_07_34_9371.jpg
/home/pi/Desktop/images/11042025/21/07/image_11042025_21_07_44_10440.jpg
/home/pi/Desktop/images/11042025/21/07/image_11042025_21_07_55_10362.jpg
/home/pi/Desktop/images/11042025/21/08/image_11042025_21_08_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":["1351935967","1351936053","1351936107","1351935831","1351935995","1351935906"],"photo_ids_order":["1351935831","1351935906","1351935967","1351935995","1351936053","1351936107"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/182e40f02f87302bf6e851418e443042.jpg","text":"TemporaryFile(/tmp/multipartBody4849572059628923770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403253427,"filename":"image_11042025_21_07_34_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8a3e73c4bb3c647d38284a28fda36e5d.jpg","text":"TemporaryFile(/tmp/multipartBody6160160361806146332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403253427,"filename":"image_11042025_21_07_55_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/47ce85c1cdaeee397e4f983a642305ce.jpg","text":"TemporaryFile(/tmp/multipartBody5832292753196551926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403253427,"filename":"image_11042025_21_08_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/11/6b1ee5a7793ce834fb9b923c89a2a25d.jpg","text":"TemporaryFile(/tmp/multipartBody6146802895697604525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403253427,"filename":"image_11042025_21_07_14_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/11/9e855340f057bc2adc12a20837ef47c8.jpg","text":"TemporaryFile(/tmp/multipartBody7173285171740477671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403253427,"filename":"image_11042025_21_07_44_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8a0eeac0706303a6d0608f6994d720f9.jpg","text":"TemporaryFile(/tmp/multipartBody3338323134834726523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403253427,"filename":"image_11042025_21_07_25_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351935967","file1":"1351935906","file0":"1351935831","file4":"1351936053","file5":"1351936107","file3":"1351935995"},"map_files_photo_id_array":[{"photo_id":"1351936107","filename":"file5"},{"photo_id":"1351935967","filename":"file2"},{"photo_id":"1351936053","filename":"file4"},{"photo_id":"1351935906","filename":"file1"},{"photo_id":"1351935831","filename":"file0"},{"photo_id":"1351935995","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351935967":["hashtag1","hashtag2"]},{"1351936053":["hashtag1","hashtag2"]},{"1351936107":["hashtag1","hashtag2"]},{"1351935831":["hashtag1","hashtag2"]},{"1351935995":["hashtag1","hashtag2"]},{"1351935906":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351935967, 1351936053, 1351936107, 1351935831, 1351935995, 1351935906)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.72705292701721 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 22:27:33.155299
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/21/08/image_11042025_21_08_25_10368.jpg', '/home/pi/Desktop/images/11042025/21/08/image_11042025_21_08_34_9457.jpg', '/home/pi/Desktop/images/11042025/21/08/image_11042025_21_08_45_10363.jpg', '/home/pi/Desktop/images/11042025/21/08/image_11042025_21_08_54_9413.jpg', '/home/pi/Desktop/images/11042025/21/08/image_11042025_21_09_05_10443.jpg', '/home/pi/Desktop/images/11042025/21/09/image_11042025_21_09_24_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/21/08/image_11042025_21_08_25_10368.jpg
/home/pi/Desktop/images/11042025/21/08/image_11042025_21_08_34_9457.jpg
/home/pi/Desktop/images/11042025/21/08/image_11042025_21_08_45_10363.jpg
/home/pi/Desktop/images/11042025/21/08/image_11042025_21_08_54_9413.jpg
/home/pi/Desktop/images/11042025/21/08/image_11042025_21_09_05_10443.jpg
/home/pi/Desktop/images/11042025/21/09/image_11042025_21_09_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":["1351936174","1351936309","1351936260","1351936362","1351936227","1351936199"],"photo_ids_order":["1351936174","1351936199","1351936227","1351936260","1351936309","1351936362"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3b11a533e59692f5cb9e46f31c298a8a.jpg","text":"TemporaryFile(/tmp/multipartBody1190900864938809884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403313621,"filename":"image_11042025_21_08_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/11/9d93c72b9f3c041e04b5cc936b47ca12.jpg","text":"TemporaryFile(/tmp/multipartBody2637727274576112217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403313621,"filename":"image_11042025_21_09_05_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a1d4cd79a699ea03f0a31f7713b3c4b1.jpg","text":"TemporaryFile(/tmp/multipartBody3096549585388146656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403313621,"filename":"image_11042025_21_08_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/11/68fce14ff234373be7a4b5c49b420c14.jpg","text":"TemporaryFile(/tmp/multipartBody3238585902238380085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403313621,"filename":"image_11042025_21_09_24_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ae3279b47b1f3c3d0a065a9c1ffcec4a.jpg","text":"TemporaryFile(/tmp/multipartBody5355715035722113101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403313621,"filename":"image_11042025_21_08_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/11/9d2b5f25fefaa0bb9e0d8bcfc88d33b6.jpg","text":"TemporaryFile(/tmp/multipartBody4691056587204405070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403313621,"filename":"image_11042025_21_08_34_9457.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351936227","file1":"1351936199","file0":"1351936174","file4":"1351936309","file5":"1351936362","file3":"1351936260"},"map_files_photo_id_array":[{"photo_id":"1351936362","filename":"file5"},{"photo_id":"1351936227","filename":"file2"},{"photo_id":"1351936309","filename":"file4"},{"photo_id":"1351936199","filename":"file1"},{"photo_id":"1351936174","filename":"file0"},{"photo_id":"1351936260","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351936174":["hashtag1","hashtag2"]},{"1351936309":["hashtag1","hashtag2"]},{"1351936260":["hashtag1","hashtag2"]},{"1351936362":["hashtag1","hashtag2"]},{"1351936227":["hashtag1","hashtag2"]},{"1351936199":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351936174, 1351936309, 1351936260, 1351936362, 1351936227, 1351936199)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.372674226760864 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 22:28:32.421193
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/21/09/image_11042025_21_09_35_10353.jpg', '/home/pi/Desktop/images/11042025/21/09/image_11042025_21_09_44_9425.jpg', '/home/pi/Desktop/images/11042025/21/09/image_11042025_21_10_04_9479.jpg', '/home/pi/Desktop/images/11042025/21/10/image_11042025_21_10_14_10357.jpg', '/home/pi/Desktop/images/11042025/21/10/image_11042025_21_10_45_10363.jpg', '/home/pi/Desktop/images/11042025/21/10/image_11042025_21_10_54_9342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/21/09/image_11042025_21_09_35_10353.jpg
/home/pi/Desktop/images/11042025/21/09/image_11042025_21_09_44_9425.jpg
/home/pi/Desktop/images/11042025/21/09/image_11042025_21_10_04_9479.jpg
/home/pi/Desktop/images/11042025/21/10/image_11042025_21_10_14_10357.jpg
/home/pi/Desktop/images/11042025/21/10/image_11042025_21_10_45_10363.jpg
/home/pi/Desktop/images/11042025/21/10/image_11042025_21_10_54_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":["1351936504","1351936482","1351936491","1351936500","1351936506","1351936496"],"photo_ids_order":["1351936482","1351936491","1351936496","1351936500","1351936504","1351936506"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/864732f133b8019b9a15b0220e9505af.jpg","text":"TemporaryFile(/tmp/multipartBody8219175929484671971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403372912,"filename":"image_11042025_21_10_45_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/fa250325f59607a81635c81975fa139c.jpg","text":"TemporaryFile(/tmp/multipartBody8713221114448019121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403372912,"filename":"image_11042025_21_09_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/11/3f022e988627e372a7137158faba4cfe.jpg","text":"TemporaryFile(/tmp/multipartBody7082546595419193630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403372912,"filename":"image_11042025_21_09_44_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1e76a6a7d61822005a27f8a7c6307182.jpg","text":"TemporaryFile(/tmp/multipartBody3480696975773315761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403372912,"filename":"image_11042025_21_10_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/11/3d9837edb144d651df089765f98f9d8b.jpg","text":"TemporaryFile(/tmp/multipartBody5312052367923683761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403372912,"filename":"image_11042025_21_10_54_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2de225a3e0ccaa419450cd9d5e217e31.jpg","text":"TemporaryFile(/tmp/multipartBody1070881688167781329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403372912,"filename":"image_11042025_21_10_04_9479.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351936496","file1":"1351936491","file0":"1351936482","file4":"1351936504","file5":"1351936506","file3":"1351936500"},"map_files_photo_id_array":[{"photo_id":"1351936506","filename":"file5"},{"photo_id":"1351936496","filename":"file2"},{"photo_id":"1351936504","filename":"file4"},{"photo_id":"1351936491","filename":"file1"},{"photo_id":"1351936482","filename":"file0"},{"photo_id":"1351936500","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351936504":["hashtag1","hashtag2"]},{"1351936482":["hashtag1","hashtag2"]},{"1351936491":["hashtag1","hashtag2"]},{"1351936500":["hashtag1","hashtag2"]},{"1351936506":["hashtag1","hashtag2"]},{"1351936496":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351936504, 1351936482, 1351936491, 1351936500, 1351936506, 1351936496)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.08352565765381 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 22:29:32.706346
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/21/10/image_11042025_21_11_04_10433.jpg', '/home/pi/Desktop/images/11042025/21/11/image_11042025_21_11_54_9331.jpg', '/home/pi/Desktop/images/11042025/21/11/image_11042025_21_12_05_10361.jpg', '/home/pi/Desktop/images/11042025/21/12/image_11042025_21_12_14_9502.jpg', '/home/pi/Desktop/images/11042025/21/12/image_11042025_21_12_25_10435.jpg', '/home/pi/Desktop/images/11042025/21/12/image_11042025_21_12_44_9355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/21/10/image_11042025_21_11_04_10433.jpg
/home/pi/Desktop/images/11042025/21/11/image_11042025_21_11_54_9331.jpg
/home/pi/Desktop/images/11042025/21/11/image_11042025_21_12_05_10361.jpg
/home/pi/Desktop/images/11042025/21/12/image_11042025_21_12_14_9502.jpg
/home/pi/Desktop/images/11042025/21/12/image_11042025_21_12_25_10435.jpg
/home/pi/Desktop/images/11042025/21/12/image_11042025_21_12_44_9355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351936579","1351936584","1351936554","1351936548","1351936574","1351936565"],"photo_ids_order":["1351936548","1351936554","1351936565","1351936574","1351936579","1351936584"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/60318606e9d6ff9f78017e935a2c3c13.jpg","text":"TemporaryFile(/tmp/multipartBody1369115936494036855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403433200,"filename":"image_11042025_21_12_25_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2522d3495fe415345c8ff356897fb79f.jpg","text":"TemporaryFile(/tmp/multipartBody7273649463933623855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403433200,"filename":"image_11042025_21_12_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/11/8b47278f2826f1e87c67332ef99b5e8b.jpg","text":"TemporaryFile(/tmp/multipartBody1775664493984926428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403433200,"filename":"image_11042025_21_11_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/11/71ab262495337ccec80aa547367d9f32.jpg","text":"TemporaryFile(/tmp/multipartBody5414546930739003401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403433200,"filename":"image_11042025_21_11_04_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5f1d61f76c5cb28483f1c3167775484f.jpg","text":"TemporaryFile(/tmp/multipartBody798121426376766301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403433200,"filename":"image_11042025_21_12_14_9502.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/09dfe57fcb8b3c5ae4ba27fbc16faa66.jpg","text":"TemporaryFile(/tmp/multipartBody8029795753919521702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403433200,"filename":"image_11042025_21_12_05_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351936565","file1":"1351936554","file0":"1351936548","file4":"1351936579","file5":"1351936584","file3":"1351936574"},"map_files_photo_id_array":[{"photo_id":"1351936584","filename":"file5"},{"photo_id":"1351936565","filename":"file2"},{"photo_id":"1351936579","filename":"file4"},{"photo_id":"1351936554","filename":"file1"},{"photo_id":"1351936548","filename":"file0"},{"photo_id":"1351936574","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351936579":["hashtag1","hashtag2"]},{"1351936584":["hashtag1","hashtag2"]},{"1351936554":["hashtag1","hashtag2"]},{"1351936548":["hashtag1","hashtag2"]},{"1351936574":["hashtag1","hashtag2"]},{"1351936565":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351936579, 1351936584, 1351936554, 1351936548, 1351936574, 1351936565)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.02952814102173 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 22:30:32.795775
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/21/12/image_11042025_21_12_55_10461.jpg', '/home/pi/Desktop/images/11042025/21/12/image_11042025_21_13_04_9458.jpg', '/home/pi/Desktop/images/11042025/21/13/image_11042025_21_13_15_10360.jpg', '/home/pi/Desktop/images/11042025/21/13/image_11042025_21_13_24_9373.jpg', '/home/pi/Desktop/images/11042025/21/13/image_11042025_21_13_34_10490.jpg', '/home/pi/Desktop/images/11042025/21/13/image_11042025_21_13_45_10383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/21/12/image_11042025_21_12_55_10461.jpg
/home/pi/Desktop/images/11042025/21/12/image_11042025_21_13_04_9458.jpg
/home/pi/Desktop/images/11042025/21/13/image_11042025_21_13_15_10360.jpg
/home/pi/Desktop/images/11042025/21/13/image_11042025_21_13_24_9373.jpg
/home/pi/Desktop/images/11042025/21/13/image_11042025_21_13_34_10490.jpg
/home/pi/Desktop/images/11042025/21/13/image_11042025_21_13_45_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":["1351936705","1351936799","1351936638","1351936617","1351936611","1351936605"],"photo_ids_order":["1351936605","1351936611","1351936617","1351936638","1351936705","1351936799"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/fb2d3d3dfab90a7b18713edfe3087fb9.jpg","text":"TemporaryFile(/tmp/multipartBody8972766754707268773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403493265,"filename":"image_11042025_21_13_34_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/11/1ca01ed83992196754b4b687ce7ab8b1.jpg","text":"TemporaryFile(/tmp/multipartBody2109995141894862845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403493265,"filename":"image_11042025_21_13_45_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/dc30c946b8ba0925e071be3a018012dc.jpg","text":"TemporaryFile(/tmp/multipartBody461113948780589675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403493265,"filename":"image_11042025_21_13_24_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5970f1daed9a1927e75e0e582456c0d3.jpg","text":"TemporaryFile(/tmp/multipartBody4649132369237345182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403493265,"filename":"image_11042025_21_13_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/11/be748c2d0904a308ec28835f7962e67f.jpg","text":"TemporaryFile(/tmp/multipartBody6696118773132426318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403493265,"filename":"image_11042025_21_13_04_9458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7f4857f981315b56c162e6eee4580a7e.jpg","text":"TemporaryFile(/tmp/multipartBody700858390719821108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403493265,"filename":"image_11042025_21_12_55_10461.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351936617","file1":"1351936611","file0":"1351936605","file4":"1351936705","file5":"1351936799","file3":"1351936638"},"map_files_photo_id_array":[{"photo_id":"1351936799","filename":"file5"},{"photo_id":"1351936617","filename":"file2"},{"photo_id":"1351936705","filename":"file4"},{"photo_id":"1351936611","filename":"file1"},{"photo_id":"1351936605","filename":"file0"},{"photo_id":"1351936638","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351936705":["hashtag1","hashtag2"]},{"1351936799":["hashtag1","hashtag2"]},{"1351936638":["hashtag1","hashtag2"]},{"1351936617":["hashtag1","hashtag2"]},{"1351936611":["hashtag1","hashtag2"]},{"1351936605":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351936705, 1351936799, 1351936638, 1351936617, 1351936611, 1351936605)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.91260743141174 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 22:31:32.987406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/21/13/image_11042025_21_13_54_9416.jpg', '/home/pi/Desktop/images/11042025/21/13/image_11042025_21_14_05_10382.jpg', '/home/pi/Desktop/images/11042025/21/14/image_11042025_21_14_14_9495.jpg', '/home/pi/Desktop/images/11042025/21/14/image_11042025_21_14_24_10386.jpg', '/home/pi/Desktop/images/11042025/21/14/image_11042025_21_14_35_10374.jpg', '/home/pi/Desktop/images/11042025/21/14/image_11042025_21_14_44_9457.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/21/13/image_11042025_21_13_54_9416.jpg
/home/pi/Desktop/images/11042025/21/13/image_11042025_21_14_05_10382.jpg
/home/pi/Desktop/images/11042025/21/14/image_11042025_21_14_14_9495.jpg
/home/pi/Desktop/images/11042025/21/14/image_11042025_21_14_24_10386.jpg
/home/pi/Desktop/images/11042025/21/14/image_11042025_21_14_35_10374.jpg
/home/pi/Desktop/images/11042025/21/14/image_11042025_21_14_44_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":["1351936858","1351936873","1351936881","1351936866","1351936854","1351936848"],"photo_ids_order":["1351936848","1351936854","1351936858","1351936866","1351936873","1351936881"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3dc07c374f26dcabe96d30a363425882.jpg","text":"TemporaryFile(/tmp/multipartBody1838929882831646956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403553456,"filename":"image_11042025_21_14_14_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/11/b81669ccb6b5541e7f47ab802223ea81.jpg","text":"TemporaryFile(/tmp/multipartBody354093013669754057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403553456,"filename":"image_11042025_21_14_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/11/cd339198c285bcb3f9438630224432a7.jpg","text":"TemporaryFile(/tmp/multipartBody8737619363690972234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403553456,"filename":"image_11042025_21_14_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/11/e458848e830797e486d2322ae69e2dcb.jpg","text":"TemporaryFile(/tmp/multipartBody1345109213207366273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403553456,"filename":"image_11042025_21_14_24_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b27a7279ff3fbd16499e0f62c8e1da31.jpg","text":"TemporaryFile(/tmp/multipartBody2690945856099592352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403553456,"filename":"image_11042025_21_14_05_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3bc7a86e0d539125122e6fc347bcc36e.jpg","text":"TemporaryFile(/tmp/multipartBody2796771068729887686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403553456,"filename":"image_11042025_21_13_54_9416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351936858","file1":"1351936854","file0":"1351936848","file4":"1351936873","file5":"1351936881","file3":"1351936866"},"map_files_photo_id_array":[{"photo_id":"1351936881","filename":"file5"},{"photo_id":"1351936858","filename":"file2"},{"photo_id":"1351936873","filename":"file4"},{"photo_id":"1351936854","filename":"file1"},{"photo_id":"1351936848","filename":"file0"},{"photo_id":"1351936866","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351936858":["hashtag1","hashtag2"]},{"1351936873":["hashtag1","hashtag2"]},{"1351936881":["hashtag1","hashtag2"]},{"1351936866":["hashtag1","hashtag2"]},{"1351936854":["hashtag1","hashtag2"]},{"1351936848":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351936858, 1351936873, 1351936881, 1351936866, 1351936854, 1351936848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.893192291259766 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 22:32:32.237679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/21/14/image_11042025_21_14_55_10439.jpg', '/home/pi/Desktop/images/11042025/21/14/image_11042025_21_15_04_9459.jpg', '/home/pi/Desktop/images/11042025/21/15/image_11042025_21_15_15_10365.jpg', '/home/pi/Desktop/images/11042025/21/15/image_11042025_21_15_24_9356.jpg', '/home/pi/Desktop/images/11042025/21/15/image_11042025_21_15_34_10402.jpg', '/home/pi/Desktop/images/11042025/21/15/image_11042025_21_15_45_10374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/21/14/image_11042025_21_14_55_10439.jpg
/home/pi/Desktop/images/11042025/21/14/image_11042025_21_15_04_9459.jpg
/home/pi/Desktop/images/11042025/21/15/image_11042025_21_15_15_10365.jpg
/home/pi/Desktop/images/11042025/21/15/image_11042025_21_15_24_9356.jpg
/home/pi/Desktop/images/11042025/21/15/image_11042025_21_15_34_10402.jpg
/home/pi/Desktop/images/11042025/21/15/image_11042025_21_15_45_10374.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351937011","1351936990","1351936957","1351936969","1351936953","1351936947"],"photo_ids_order":["1351936947","1351936953","1351936957","1351936969","1351936990","1351937011"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b1227f9193709c4f86bf00eb425d99f1.jpg","text":"TemporaryFile(/tmp/multipartBody7131565889375069138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403612714,"filename":"image_11042025_21_15_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/11/ffc3dd9e407292e22b28dae6757ed0d9.jpg","text":"TemporaryFile(/tmp/multipartBody562395780400458556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403612714,"filename":"image_11042025_21_15_34_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/11/4800dcd638f817fa2e7073de4cf9be6c.jpg","text":"TemporaryFile(/tmp/multipartBody1919398482519962339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403612714,"filename":"image_11042025_21_15_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/11/b7218437f559f744e05a5993126b1fd2.jpg","text":"TemporaryFile(/tmp/multipartBody7824300237177280832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403612714,"filename":"image_11042025_21_15_24_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/241dcc2c2050a6fbfa0bce0843425cca.jpg","text":"TemporaryFile(/tmp/multipartBody1714654352755143107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403612714,"filename":"image_11042025_21_15_04_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/11/64d9fd987ddf5a6ab37c89dd58687386.jpg","text":"TemporaryFile(/tmp/multipartBody9168375599497894188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403612714,"filename":"image_11042025_21_14_55_10439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351936957","file1":"1351936953","file0":"1351936947","file4":"1351936990","file5":"1351937011","file3":"1351936969"},"map_files_photo_id_array":[{"photo_id":"1351937011","filename":"file5"},{"photo_id":"1351936957","filename":"file2"},{"photo_id":"1351936990","filename":"file4"},{"photo_id":"1351936953","filename":"file1"},{"photo_id":"1351936947","filename":"file0"},{"photo_id":"1351936969","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351937011":["hashtag1","hashtag2"]},{"1351936990":["hashtag1","hashtag2"]},{"1351936957":["hashtag1","hashtag2"]},{"1351936969":["hashtag1","hashtag2"]},{"1351936953":["hashtag1","hashtag2"]},{"1351936947":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351937011, 1351936990, 1351936957, 1351936969, 1351936953, 1351936947)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.32511377334595 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 22:33:32.408798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/21/15/image_11042025_21_15_54_9491.jpg', '/home/pi/Desktop/images/11042025/21/15/image_11042025_21_16_05_10375.jpg', '/home/pi/Desktop/images/11042025/21/16/image_11042025_21_16_14_9368.jpg', '/home/pi/Desktop/images/11042025/21/16/image_11042025_21_16_24_10419.jpg', '/home/pi/Desktop/images/11042025/21/16/image_11042025_21_16_35_10359.jpg', '/home/pi/Desktop/images/11042025/21/16/image_11042025_21_16_44_9475.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/21/15/image_11042025_21_15_54_9491.jpg
/home/pi/Desktop/images/11042025/21/15/image_11042025_21_16_05_10375.jpg
/home/pi/Desktop/images/11042025/21/16/image_11042025_21_16_14_9368.jpg
/home/pi/Desktop/images/11042025/21/16/image_11042025_21_16_24_10419.jpg
/home/pi/Desktop/images/11042025/21/16/image_11042025_21_16_35_10359.jpg
/home/pi/Desktop/images/11042025/21/16/image_11042025_21_16_44_9475.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351937140","1351937116","1351937073","1351937067","1351937090","1351937060"],"photo_ids_order":["1351937060","1351937067","1351937073","1351937090","1351937116","1351937140"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a8e725122821e00283f04e931726ee27.jpg","text":"TemporaryFile(/tmp/multipartBody5880360468343976492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403672886,"filename":"image_11042025_21_16_44_9475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d3603fa25c02fd343435ccff86bb25d1.jpg","text":"TemporaryFile(/tmp/multipartBody6016601063226077848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403672886,"filename":"image_11042025_21_16_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/11/59b4572d157dfac746ae74ac20ca3b60.jpg","text":"TemporaryFile(/tmp/multipartBody5697928418453574508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403672886,"filename":"image_11042025_21_16_14_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/11/d2ad8fc4700ed8ee4ebf015b45d53f5a.jpg","text":"TemporaryFile(/tmp/multipartBody8267848111106191517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403672886,"filename":"image_11042025_21_16_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/11/e66363937874409b51fdb8303a175f3b.jpg","text":"TemporaryFile(/tmp/multipartBody5538124017890291332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403672886,"filename":"image_11042025_21_16_24_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/dd15471cd46643ca5c9e15240a0fb82f.jpg","text":"TemporaryFile(/tmp/multipartBody2759773178503791933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403672886,"filename":"image_11042025_21_15_54_9491.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351937073","file1":"1351937067","file0":"1351937060","file4":"1351937116","file5":"1351937140","file3":"1351937090"},"map_files_photo_id_array":[{"photo_id":"1351937140","filename":"file5"},{"photo_id":"1351937073","filename":"file2"},{"photo_id":"1351937116","filename":"file4"},{"photo_id":"1351937067","filename":"file1"},{"photo_id":"1351937060","filename":"file0"},{"photo_id":"1351937090","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351937140":["hashtag1","hashtag2"]},{"1351937116":["hashtag1","hashtag2"]},{"1351937073":["hashtag1","hashtag2"]},{"1351937067":["hashtag1","hashtag2"]},{"1351937090":["hashtag1","hashtag2"]},{"1351937060":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351937140, 1351937116, 1351937073, 1351937067, 1351937090, 1351937060)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.130436420440674 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 22:34:32.668142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/21/16/image_11042025_21_16_55_10446.jpg', '/home/pi/Desktop/images/11042025/21/16/image_11042025_21_17_04_9469.jpg', '/home/pi/Desktop/images/11042025/21/17/image_11042025_21_17_14_10345.jpg', '/home/pi/Desktop/images/11042025/21/17/image_11042025_21_17_25_10371.jpg', '/home/pi/Desktop/images/11042025/21/17/image_11042025_21_17_34_9368.jpg', '/home/pi/Desktop/images/11042025/21/19/image_11042025_21_19_34_9482.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/21/16/image_11042025_21_16_55_10446.jpg
/home/pi/Desktop/images/11042025/21/16/image_11042025_21_17_04_9469.jpg
/home/pi/Desktop/images/11042025/21/17/image_11042025_21_17_14_10345.jpg
/home/pi/Desktop/images/11042025/21/17/image_11042025_21_17_25_10371.jpg
/home/pi/Desktop/images/11042025/21/17/image_11042025_21_17_34_9368.jpg
/home/pi/Desktop/images/11042025/21/19/image_11042025_21_19_34_9482.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351937326","1351937233","1351937250","1351937331","1351937273","1351937293"],"photo_ids_order":["1351937233","1351937250","1351937273","1351937293","1351937326","1351937331"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6cab984338ccb98c2a080c4f35afa575.jpg","text":"TemporaryFile(/tmp/multipartBody4472047115716473809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403733153,"filename":"image_11042025_21_17_34_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d351fa31e24650a3dcfb076eb6661074.jpg","text":"TemporaryFile(/tmp/multipartBody6246335055206365614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403733153,"filename":"image_11042025_21_16_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/11/7a5944c78df2ccd54071981ddb3f1e32.jpg","text":"TemporaryFile(/tmp/multipartBody6669465139946723238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403733153,"filename":"image_11042025_21_17_04_9469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5b9817567d550ad6121d55ceeccfc2d2.jpg","text":"TemporaryFile(/tmp/multipartBody2303048957031292362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403733153,"filename":"image_11042025_21_19_34_9482.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/01a0b2daece15de1829f6917bfe4daae.jpg","text":"TemporaryFile(/tmp/multipartBody3191285749230011163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403733153,"filename":"image_11042025_21_17_14_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f5ec2313617764e0047e803716bce0b3.jpg","text":"TemporaryFile(/tmp/multipartBody1582366369895653281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403733153,"filename":"image_11042025_21_17_25_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351937273","file1":"1351937250","file0":"1351937233","file4":"1351937326","file5":"1351937331","file3":"1351937293"},"map_files_photo_id_array":[{"photo_id":"1351937331","filename":"file5"},{"photo_id":"1351937273","filename":"file2"},{"photo_id":"1351937326","filename":"file4"},{"photo_id":"1351937250","filename":"file1"},{"photo_id":"1351937233","filename":"file0"},{"photo_id":"1351937293","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351937326":["hashtag1","hashtag2"]},{"1351937233":["hashtag1","hashtag2"]},{"1351937250":["hashtag1","hashtag2"]},{"1351937331":["hashtag1","hashtag2"]},{"1351937273":["hashtag1","hashtag2"]},{"1351937293":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351937326, 1351937233, 1351937250, 1351937331, 1351937273, 1351937293)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.080828428268433 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 22:35:32.795805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/21/19/image_11042025_21_19_54_9356.jpg', '/home/pi/Desktop/images/11042025/21/19/image_11042025_21_20_04_10406.jpg', '/home/pi/Desktop/images/11042025/21/20/image_11042025_21_20_15_10322.jpg', '/home/pi/Desktop/images/11042025/21/21/image_11042025_21_21_35_10432.jpg', '/home/pi/Desktop/images/11042025/21/21/image_11042025_21_21_44_9446.jpg', '/home/pi/Desktop/images/11042025/21/22/image_11042025_21_22_14_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/21/19/image_11042025_21_19_54_9356.jpg
/home/pi/Desktop/images/11042025/21/19/image_11042025_21_20_04_10406.jpg
/home/pi/Desktop/images/11042025/21/20/image_11042025_21_20_15_10322.jpg
/home/pi/Desktop/images/11042025/21/21/image_11042025_21_21_35_10432.jpg
/home/pi/Desktop/images/11042025/21/21/image_11042025_21_21_44_9446.jpg
/home/pi/Desktop/images/11042025/21/22/image_11042025_21_22_14_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":["1351937904","1351937795","1351937834","1351937909","1351937822","1351937924"],"photo_ids_order":["1351937795","1351937822","1351937834","1351937904","1351937909","1351937924"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/fdc7ac501b8c713b089fe0f91c3dc0ee.jpg","text":"TemporaryFile(/tmp/multipartBody3003155813826143791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403793282,"filename":"image_11042025_21_21_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/11/1a1290cd895ea09ef84b381e91717292.jpg","text":"TemporaryFile(/tmp/multipartBody1351507069405134823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403793282,"filename":"image_11042025_21_19_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/11/49c636a66841c4b737376c3b0c46efc2.jpg","text":"TemporaryFile(/tmp/multipartBody6622863529786296203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403793282,"filename":"image_11042025_21_20_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/11/e9411c2269364dd88182f1d50dee38a8.jpg","text":"TemporaryFile(/tmp/multipartBody1974385258376597370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403793282,"filename":"image_11042025_21_21_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/11/bb91f8eb1c1a80d32bd1853906c264f9.jpg","text":"TemporaryFile(/tmp/multipartBody4064949137862156114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403793282,"filename":"image_11042025_21_20_04_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/11/5622248126c8ba2508cbeb7d0126f450.jpg","text":"TemporaryFile(/tmp/multipartBody534829992456012069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403793282,"filename":"image_11042025_21_22_14_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351937834","file1":"1351937822","file0":"1351937795","file4":"1351937909","file5":"1351937924","file3":"1351937904"},"map_files_photo_id_array":[{"photo_id":"1351937924","filename":"file5"},{"photo_id":"1351937834","filename":"file2"},{"photo_id":"1351937909","filename":"file4"},{"photo_id":"1351937822","filename":"file1"},{"photo_id":"1351937795","filename":"file0"},{"photo_id":"1351937904","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351937904":["hashtag1","hashtag2"]},{"1351937795":["hashtag1","hashtag2"]},{"1351937834":["hashtag1","hashtag2"]},{"1351937909":["hashtag1","hashtag2"]},{"1351937822":["hashtag1","hashtag2"]},{"1351937924":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351937904, 1351937795, 1351937834, 1351937909, 1351937822, 1351937924)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.321922302246094 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 22:36:33.143747
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/21/22/image_11042025_21_22_25_10382.jpg', '/home/pi/Desktop/images/11042025/21/22/image_11042025_21_22_34_9347.jpg', '/home/pi/Desktop/images/11042025/21/22/image_11042025_21_22_45_10443.jpg', '/home/pi/Desktop/images/11042025/21/22/image_11042025_21_22_54_9466.jpg', '/home/pi/Desktop/images/11042025/21/22/image_11042025_21_23_04_10358.jpg', '/home/pi/Desktop/images/11042025/21/23/image_11042025_21_23_15_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/21/22/image_11042025_21_22_25_10382.jpg
/home/pi/Desktop/images/11042025/21/22/image_11042025_21_22_34_9347.jpg
/home/pi/Desktop/images/11042025/21/22/image_11042025_21_22_45_10443.jpg
/home/pi/Desktop/images/11042025/21/22/image_11042025_21_22_54_9466.jpg
/home/pi/Desktop/images/11042025/21/22/image_11042025_21_23_04_10358.jpg
/home/pi/Desktop/images/11042025/21/23/image_11042025_21_23_15_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351938048","1351938030","1351938014","1351938023","1351938043","1351938037"],"photo_ids_order":["1351938014","1351938023","1351938030","1351938037","1351938043","1351938048"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/bdb9444abb70ebe1da3520af6ebe6d11.jpg","text":"TemporaryFile(/tmp/multipartBody38766200918892333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403853610,"filename":"image_11042025_21_23_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/11/faf8bdab7afd4ae6e4d61282fed0163a.jpg","text":"TemporaryFile(/tmp/multipartBody2219844298596216801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403853610,"filename":"image_11042025_21_22_45_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/94287119b07b463932fc420f38f42367.jpg","text":"TemporaryFile(/tmp/multipartBody3052521885850507539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403853610,"filename":"image_11042025_21_22_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/11/d02094cfed972c9a906341dfeb327ed1.jpg","text":"TemporaryFile(/tmp/multipartBody5686570638681697262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403853610,"filename":"image_11042025_21_22_34_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/eb30c13d18401774a0fab30cf994e7f7.jpg","text":"TemporaryFile(/tmp/multipartBody3985387742380907564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403853610,"filename":"image_11042025_21_23_04_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/cf7fe7db8119759ce1229e2c51ef2964.jpg","text":"TemporaryFile(/tmp/multipartBody1948609112396642611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403853610,"filename":"image_11042025_21_22_54_9466.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351938030","file1":"1351938023","file0":"1351938014","file4":"1351938043","file5":"1351938048","file3":"1351938037"},"map_files_photo_id_array":[{"photo_id":"1351938048","filename":"file5"},{"photo_id":"1351938030","filename":"file2"},{"photo_id":"1351938043","filename":"file4"},{"photo_id":"1351938023","filename":"file1"},{"photo_id":"1351938014","filename":"file0"},{"photo_id":"1351938037","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351938048":["hashtag1","hashtag2"]},{"1351938030":["hashtag1","hashtag2"]},{"1351938014":["hashtag1","hashtag2"]},{"1351938023":["hashtag1","hashtag2"]},{"1351938043":["hashtag1","hashtag2"]},{"1351938037":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351938048, 1351938030, 1351938014, 1351938023, 1351938043, 1351938037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.55011320114136 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 22:37:32.275875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/21/23/image_11042025_21_23_24_9478.jpg', '/home/pi/Desktop/images/11042025/21/23/image_11042025_21_23_35_10467.jpg', '/home/pi/Desktop/images/11042025/21/23/image_11042025_21_23_44_9409.jpg', '/home/pi/Desktop/images/11042025/21/23/image_11042025_21_23_55_10449.jpg', '/home/pi/Desktop/images/11042025/21/23/image_11042025_21_24_04_9352.jpg', '/home/pi/Desktop/images/11042025/21/24/image_11042025_21_24_14_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/21/23/image_11042025_21_23_24_9478.jpg
/home/pi/Desktop/images/11042025/21/23/image_11042025_21_23_35_10467.jpg
/home/pi/Desktop/images/11042025/21/23/image_11042025_21_23_44_9409.jpg
/home/pi/Desktop/images/11042025/21/23/image_11042025_21_23_55_10449.jpg
/home/pi/Desktop/images/11042025/21/23/image_11042025_21_24_04_9352.jpg
/home/pi/Desktop/images/11042025/21/24/image_11042025_21_24_14_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.3861210346221924 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 22:37:42.313339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/21/23/image_11042025_21_23_24_9478.jpg', '/home/pi/Desktop/images/11042025/21/23/image_11042025_21_23_35_10467.jpg', '/home/pi/Desktop/images/11042025/21/23/image_11042025_21_23_44_9409.jpg', '/home/pi/Desktop/images/11042025/21/23/image_11042025_21_23_55_10449.jpg', '/home/pi/Desktop/images/11042025/21/23/image_11042025_21_24_04_9352.jpg', '/home/pi/Desktop/images/11042025/21/24/image_11042025_21_24_14_10375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/21/23/image_11042025_21_23_24_9478.jpg
/home/pi/Desktop/images/11042025/21/23/image_11042025_21_23_35_10467.jpg
/home/pi/Desktop/images/11042025/21/23/image_11042025_21_23_44_9409.jpg
/home/pi/Desktop/images/11042025/21/23/image_11042025_21_23_55_10449.jpg
/home/pi/Desktop/images/11042025/21/23/image_11042025_21_24_04_9352.jpg
/home/pi/Desktop/images/11042025/21/24/image_11042025_21_24_14_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":["1351938084","1351938126","1351938123","1351938119","1351938113","1351938107"],"photo_ids_order":["1351938084","1351938107","1351938113","1351938119","1351938123","1351938126"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/bbc18472140de30dd3d599543b5ee7f8.jpg","text":"TemporaryFile(/tmp/multipartBody1036135915251949698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403922790,"filename":"image_11042025_21_23_24_9478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5ad5b4e2bb96a04f56a467774b95c818.jpg","text":"TemporaryFile(/tmp/multipartBody5793135786601849568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403922790,"filename":"image_11042025_21_24_14_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a91c32e8563322f5a2269299b9600997.jpg","text":"TemporaryFile(/tmp/multipartBody6648638824551459900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403922790,"filename":"image_11042025_21_24_04_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/22866b2ed42949ee9f0afe9314c3a67d.jpg","text":"TemporaryFile(/tmp/multipartBody4428458860522662628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403922790,"filename":"image_11042025_21_23_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/11/100f36b0e033327439df0d1bbe3564c0.jpg","text":"TemporaryFile(/tmp/multipartBody2662337863647311526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403922790,"filename":"image_11042025_21_23_44_9409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/791c45812b1ed380921b98522cd04fd5.jpg","text":"TemporaryFile(/tmp/multipartBody180902944401099428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403922790,"filename":"image_11042025_21_23_35_10467.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351938113","file1":"1351938107","file0":"1351938084","file4":"1351938123","file5":"1351938126","file3":"1351938119"},"map_files_photo_id_array":[{"photo_id":"1351938126","filename":"file5"},{"photo_id":"1351938113","filename":"file2"},{"photo_id":"1351938123","filename":"file4"},{"photo_id":"1351938107","filename":"file1"},{"photo_id":"1351938084","filename":"file0"},{"photo_id":"1351938119","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351938084":["hashtag1","hashtag2"]},{"1351938126":["hashtag1","hashtag2"]},{"1351938123":["hashtag1","hashtag2"]},{"1351938119":["hashtag1","hashtag2"]},{"1351938113":["hashtag1","hashtag2"]},{"1351938107":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351938084, 1351938126, 1351938123, 1351938119, 1351938113, 1351938107)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.53974914550781 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 22:38:32.442994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/21/24/image_11042025_21_24_25_10450.jpg', '/home/pi/Desktop/images/11042025/21/24/image_11042025_21_24_34_9398.jpg', '/home/pi/Desktop/images/11042025/21/24/image_11042025_21_24_45_10354.jpg', '/home/pi/Desktop/images/11042025/21/24/image_11042025_21_24_54_9343.jpg', '/home/pi/Desktop/images/11042025/21/24/image_11042025_21_25_04_10453.jpg', '/home/pi/Desktop/images/11042025/21/25/image_11042025_21_25_15_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/21/24/image_11042025_21_24_25_10450.jpg
/home/pi/Desktop/images/11042025/21/24/image_11042025_21_24_34_9398.jpg
/home/pi/Desktop/images/11042025/21/24/image_11042025_21_24_45_10354.jpg
/home/pi/Desktop/images/11042025/21/24/image_11042025_21_24_54_9343.jpg
/home/pi/Desktop/images/11042025/21/24/image_11042025_21_25_04_10453.jpg
/home/pi/Desktop/images/11042025/21/25/image_11042025_21_25_15_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":["1351938198","1351938213","1351938210","1351938221","1351938206","1351938202"],"photo_ids_order":["1351938198","1351938202","1351938206","1351938210","1351938213","1351938221"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/314c6c0abd979f26c8d97c0639d580c4.jpg","text":"TemporaryFile(/tmp/multipartBody6966031360424842931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403972912,"filename":"image_11042025_21_24_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/11/e330b05446535b26eb996fb6e49bdb11.jpg","text":"TemporaryFile(/tmp/multipartBody7902202500143276833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403972912,"filename":"image_11042025_21_25_04_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a58fd926dc6fda52ac04b672b8db2272.jpg","text":"TemporaryFile(/tmp/multipartBody7688487804126070879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403972912,"filename":"image_11042025_21_24_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/11/d1e3105e20ac2ca76438fd397c09ebbd.jpg","text":"TemporaryFile(/tmp/multipartBody3507704622951640056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403972912,"filename":"image_11042025_21_25_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/11/f146bc88184ca1b9e9b02ef9ac393306.jpg","text":"TemporaryFile(/tmp/multipartBody7942896279408103135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403972912,"filename":"image_11042025_21_24_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/11/fc035a88046a961aea9d2c1e0db548e8.jpg","text":"TemporaryFile(/tmp/multipartBody4420175449463761720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744403972912,"filename":"image_11042025_21_24_34_9398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351938206","file1":"1351938202","file0":"1351938198","file4":"1351938213","file5":"1351938221","file3":"1351938210"},"map_files_photo_id_array":[{"photo_id":"1351938221","filename":"file5"},{"photo_id":"1351938206","filename":"file2"},{"photo_id":"1351938213","filename":"file4"},{"photo_id":"1351938202","filename":"file1"},{"photo_id":"1351938198","filename":"file0"},{"photo_id":"1351938210","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351938198":["hashtag1","hashtag2"]},{"1351938213":["hashtag1","hashtag2"]},{"1351938210":["hashtag1","hashtag2"]},{"1351938221":["hashtag1","hashtag2"]},{"1351938206":["hashtag1","hashtag2"]},{"1351938202":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351938198, 1351938213, 1351938210, 1351938221, 1351938206, 1351938202)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.89020919799805 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 22:39:32.693913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/21/25/image_11042025_21_25_35_10363.jpg', '/home/pi/Desktop/images/11042025/21/25/image_11042025_21_25_44_9359.jpg', '/home/pi/Desktop/images/11042025/21/25/image_11042025_21_25_54_10363.jpg', '/home/pi/Desktop/images/11042025/21/25/image_11042025_21_26_05_10373.jpg', '/home/pi/Desktop/images/11042025/21/26/image_11042025_21_26_14_9414.jpg', '/home/pi/Desktop/images/11042025/21/26/image_11042025_21_26_25_10394.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/21/25/image_11042025_21_25_35_10363.jpg
/home/pi/Desktop/images/11042025/21/25/image_11042025_21_25_44_9359.jpg
/home/pi/Desktop/images/11042025/21/25/image_11042025_21_25_54_10363.jpg
/home/pi/Desktop/images/11042025/21/25/image_11042025_21_26_05_10373.jpg
/home/pi/Desktop/images/11042025/21/26/image_11042025_21_26_14_9414.jpg
/home/pi/Desktop/images/11042025/21/26/image_11042025_21_26_25_10394.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351938483","1351938459","1351938426","1351938513","1351938386","1351938538"],"photo_ids_order":["1351938386","1351938426","1351938459","1351938483","1351938513","1351938538"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/099f1dc80d1de39506f978617136c99b.jpg","text":"TemporaryFile(/tmp/multipartBody5311669055800801842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744404033166,"filename":"image_11042025_21_26_05_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d687e0a3506301733427e2359c429e06.jpg","text":"TemporaryFile(/tmp/multipartBody8822226832727276686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744404033166,"filename":"image_11042025_21_25_54_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2a2bcbe1c078c175441d8bfe47d079a2.jpg","text":"TemporaryFile(/tmp/multipartBody2211364122268449258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744404033166,"filename":"image_11042025_21_25_44_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/11/6acd6aa454d3978fb47428d92477158a.jpg","text":"TemporaryFile(/tmp/multipartBody7978900871614138031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744404033166,"filename":"image_11042025_21_26_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/11/e434fcead3ab4f2961b2a6d4f41adbab.jpg","text":"TemporaryFile(/tmp/multipartBody2425971159228715800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744404033166,"filename":"image_11042025_21_25_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/11/66fa32f088b18168ddf0cd092c3c2558.jpg","text":"TemporaryFile(/tmp/multipartBody73227774572588185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744404033166,"filename":"image_11042025_21_26_25_10394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351938459","file1":"1351938426","file0":"1351938386","file4":"1351938513","file5":"1351938538","file3":"1351938483"},"map_files_photo_id_array":[{"photo_id":"1351938538","filename":"file5"},{"photo_id":"1351938459","filename":"file2"},{"photo_id":"1351938513","filename":"file4"},{"photo_id":"1351938426","filename":"file1"},{"photo_id":"1351938386","filename":"file0"},{"photo_id":"1351938483","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351938483":["hashtag1","hashtag2"]},{"1351938459":["hashtag1","hashtag2"]},{"1351938426":["hashtag1","hashtag2"]},{"1351938513":["hashtag1","hashtag2"]},{"1351938386":["hashtag1","hashtag2"]},{"1351938538":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351938483, 1351938459, 1351938426, 1351938513, 1351938386, 1351938538)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 187.80549240112305 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 22:42:42.304155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/21/26/image_11042025_21_26_35_10362.jpg', '/home/pi/Desktop/images/11042025/21/26/image_11042025_21_26_44_9382.jpg', '/home/pi/Desktop/images/11042025/21/26/image_11042025_21_26_55_10365.jpg', '/home/pi/Desktop/images/11042025/21/26/image_11042025_21_27_04_9349.jpg', '/home/pi/Desktop/images/11042025/21/27/image_11042025_21_27_25_10368.jpg', '/home/pi/Desktop/images/11042025/21/27/image_11042025_21_27_45_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/21/26/image_11042025_21_26_35_10362.jpg
/home/pi/Desktop/images/11042025/21/26/image_11042025_21_26_44_9382.jpg
/home/pi/Desktop/images/11042025/21/26/image_11042025_21_26_55_10365.jpg
/home/pi/Desktop/images/11042025/21/26/image_11042025_21_27_04_9349.jpg
/home/pi/Desktop/images/11042025/21/27/image_11042025_21_27_25_10368.jpg
/home/pi/Desktop/images/11042025/21/27/image_11042025_21_27_45_10363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351938700","1351938675","1351938705","1351938683","1351938710","1351938697"],"photo_ids_order":["1351938675","1351938683","1351938697","1351938700","1351938705","1351938710"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3634100a175b5754c4db7d6af53d2da1.jpg","text":"TemporaryFile(/tmp/multipartBody364613082405838339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744404222772,"filename":"image_11042025_21_27_04_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c7feef3e2a8d0371a6808541e6136e74.jpg","text":"TemporaryFile(/tmp/multipartBody5288196950461552114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744404222772,"filename":"image_11042025_21_26_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/11/e44d4b166f810adf897c60c2695a5bb3.jpg","text":"TemporaryFile(/tmp/multipartBody6394456338684046110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744404222772,"filename":"image_11042025_21_27_25_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8c2526c8cc13eb4afc0713c8401f1f13.jpg","text":"TemporaryFile(/tmp/multipartBody5746628879962441524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744404222772,"filename":"image_11042025_21_26_44_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3766e741b015462daa79797f3ebca941.jpg","text":"TemporaryFile(/tmp/multipartBody6642303566973002338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744404222772,"filename":"image_11042025_21_27_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/11/5080e938a105d7c2549e728835b66afc.jpg","text":"TemporaryFile(/tmp/multipartBody1472370067684437652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744404222772,"filename":"image_11042025_21_26_55_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351938697","file1":"1351938683","file0":"1351938675","file4":"1351938705","file5":"1351938710","file3":"1351938700"},"map_files_photo_id_array":[{"photo_id":"1351938710","filename":"file5"},{"photo_id":"1351938697","filename":"file2"},{"photo_id":"1351938705","filename":"file4"},{"photo_id":"1351938683","filename":"file1"},{"photo_id":"1351938675","filename":"file0"},{"photo_id":"1351938700","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351938700":["hashtag1","hashtag2"]},{"1351938675":["hashtag1","hashtag2"]},{"1351938705":["hashtag1","hashtag2"]},{"1351938683":["hashtag1","hashtag2"]},{"1351938710":["hashtag1","hashtag2"]},{"1351938697":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351938700, 1351938675, 1351938705, 1351938683, 1351938710, 1351938697)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.84959006309509 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 22:43:32.512201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/21/27/image_11042025_21_27_55_10360.jpg', '/home/pi/Desktop/images/11042025/21/28/image_11042025_21_28_15_10435.jpg', '/home/pi/Desktop/images/11042025/21/28/image_11042025_21_28_35_10373.jpg', '/home/pi/Desktop/images/11042025/21/28/image_11042025_21_28_44_9457.jpg', '/home/pi/Desktop/images/11042025/21/28/image_11042025_21_28_54_10469.jpg', '/home/pi/Desktop/images/11042025/21/28/image_11042025_21_29_05_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/21/27/image_11042025_21_27_55_10360.jpg
/home/pi/Desktop/images/11042025/21/28/image_11042025_21_28_15_10435.jpg
/home/pi/Desktop/images/11042025/21/28/image_11042025_21_28_35_10373.jpg
/home/pi/Desktop/images/11042025/21/28/image_11042025_21_28_44_9457.jpg
/home/pi/Desktop/images/11042025/21/28/image_11042025_21_28_54_10469.jpg
/home/pi/Desktop/images/11042025/21/28/image_11042025_21_29_05_10360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351938906","1351938900","1351938903","1351938797","1351938848","1351938910"],"photo_ids_order":["1351938797","1351938848","1351938900","1351938903","1351938906","1351938910"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/30a1c184e4d3a72ece436d1cd8adbe3d.jpg","text":"TemporaryFile(/tmp/multipartBody1142932260542050636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744404272979,"filename":"image_11042025_21_28_54_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/11/cd200ed701c06d496f0f69204eecbf82.jpg","text":"TemporaryFile(/tmp/multipartBody795348327477900051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744404272979,"filename":"image_11042025_21_28_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/11/ec3d2d40e86044033f7534ef1777a07a.jpg","text":"TemporaryFile(/tmp/multipartBody682027720307183285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744404272979,"filename":"image_11042025_21_28_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/11/7ad57fd1d595bbd03857ca2747a0b6bc.jpg","text":"TemporaryFile(/tmp/multipartBody6459707752196127732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744404272979,"filename":"image_11042025_21_27_55_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/90cc9d0ca8d7fe962e01138474a6b024.jpg","text":"TemporaryFile(/tmp/multipartBody707065430382270883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744404272979,"filename":"image_11042025_21_28_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/11/4b512eb91e9e0e705f1c885ef9a592cd.jpg","text":"TemporaryFile(/tmp/multipartBody307722447444045502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744404272979,"filename":"image_11042025_21_29_05_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351938900","file1":"1351938848","file0":"1351938797","file4":"1351938906","file5":"1351938910","file3":"1351938903"},"map_files_photo_id_array":[{"photo_id":"1351938910","filename":"file5"},{"photo_id":"1351938900","filename":"file2"},{"photo_id":"1351938906","filename":"file4"},{"photo_id":"1351938848","filename":"file1"},{"photo_id":"1351938797","filename":"file0"},{"photo_id":"1351938903","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351938906":["hashtag1","hashtag2"]},{"1351938900":["hashtag1","hashtag2"]},{"1351938903":["hashtag1","hashtag2"]},{"1351938797":["hashtag1","hashtag2"]},{"1351938848":["hashtag1","hashtag2"]},{"1351938910":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351938906, 1351938900, 1351938903, 1351938797, 1351938848, 1351938910)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.6013822555542 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 22:44:32.673956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/21/29/image_11042025_21_29_14_9345.jpg', '/home/pi/Desktop/images/11042025/21/29/image_11042025_21_29_25_10378.jpg', '/home/pi/Desktop/images/11042025/21/29/image_11042025_21_29_34_9361.jpg', '/home/pi/Desktop/images/11042025/21/29/image_11042025_21_29_44_10377.jpg', '/home/pi/Desktop/images/11042025/21/29/image_11042025_21_29_55_10361.jpg', '/home/pi/Desktop/images/11042025/21/29/image_11042025_21_30_04_9441.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/21/29/image_11042025_21_29_14_9345.jpg
/home/pi/Desktop/images/11042025/21/29/image_11042025_21_29_25_10378.jpg
/home/pi/Desktop/images/11042025/21/29/image_11042025_21_29_34_9361.jpg
/home/pi/Desktop/images/11042025/21/29/image_11042025_21_29_44_10377.jpg
/home/pi/Desktop/images/11042025/21/29/image_11042025_21_29_55_10361.jpg
/home/pi/Desktop/images/11042025/21/29/image_11042025_21_30_04_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":["1351939121","1351939192","1351939096","1351939177","1351939150","1351939072"],"photo_ids_order":["1351939072","1351939096","1351939121","1351939150","1351939177","1351939192"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8582c34b8087dd7ccbc631f2986b9594.jpg","text":"TemporaryFile(/tmp/multipartBody1952247852851089571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744404333142,"filename":"image_11042025_21_29_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/11/5b178290bc310742bad793e8b3caadc1.jpg","text":"TemporaryFile(/tmp/multipartBody3734902880405197991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744404333142,"filename":"image_11042025_21_30_04_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0e9c47fb4e59572b3fda02d8f4dd6662.jpg","text":"TemporaryFile(/tmp/multipartBody5589604335649050215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744404333142,"filename":"image_11042025_21_29_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/11/117d2b6aef618d06d7c65adc6d32fefe.jpg","text":"TemporaryFile(/tmp/multipartBody7355113088216068376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744404333142,"filename":"image_11042025_21_29_55_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c3233f3d54284876d1ea5d7fa780dfe9.jpg","text":"TemporaryFile(/tmp/multipartBody4663836854247815673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744404333142,"filename":"image_11042025_21_29_44_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/11/373bdcf702c2ef1e485a718a90dc05b4.jpg","text":"TemporaryFile(/tmp/multipartBody8658496042337658463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744404333142,"filename":"image_11042025_21_29_14_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351939121","file1":"1351939096","file0":"1351939072","file4":"1351939177","file5":"1351939192","file3":"1351939150"},"map_files_photo_id_array":[{"photo_id":"1351939192","filename":"file5"},{"photo_id":"1351939121","filename":"file2"},{"photo_id":"1351939177","filename":"file4"},{"photo_id":"1351939096","filename":"file1"},{"photo_id":"1351939072","filename":"file0"},{"photo_id":"1351939150","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351939121":["hashtag1","hashtag2"]},{"1351939192":["hashtag1","hashtag2"]},{"1351939096":["hashtag1","hashtag2"]},{"1351939177":["hashtag1","hashtag2"]},{"1351939150":["hashtag1","hashtag2"]},{"1351939072":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351939121, 1351939192, 1351939096, 1351939177, 1351939150, 1351939072)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.60940217971802 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 22:45:32.975379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/21/30/image_11042025_21_30_15_10413.jpg', '/home/pi/Desktop/images/11042025/21/30/image_11042025_21_30_24_9447.jpg', '/home/pi/Desktop/images/11042025/21/30/image_11042025_21_30_34_10436.jpg', '/home/pi/Desktop/images/11042025/21/30/image_11042025_21_30_45_10376.jpg', '/home/pi/Desktop/images/11042025/21/30/image_11042025_21_30_54_9374.jpg', '/home/pi/Desktop/images/11042025/21/30/image_11042025_21_31_05_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/21/30/image_11042025_21_30_15_10413.jpg
/home/pi/Desktop/images/11042025/21/30/image_11042025_21_30_24_9447.jpg
/home/pi/Desktop/images/11042025/21/30/image_11042025_21_30_34_10436.jpg
/home/pi/Desktop/images/11042025/21/30/image_11042025_21_30_45_10376.jpg
/home/pi/Desktop/images/11042025/21/30/image_11042025_21_30_54_9374.jpg
/home/pi/Desktop/images/11042025/21/30/image_11042025_21_31_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":["1351939397","1351939430","1351939418","1351939483","1351939351","1351939371"],"photo_ids_order":["1351939351","1351939371","1351939397","1351939418","1351939430","1351939483"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2744c639a8e4e6a50524e1e48f70b099.jpg","text":"TemporaryFile(/tmp/multipartBody8369798434416284351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744404393447,"filename":"image_11042025_21_30_34_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/11/1f0376b7e27ea744e25f2d01ce7c9323.jpg","text":"TemporaryFile(/tmp/multipartBody8277550954581734731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744404393447,"filename":"image_11042025_21_30_54_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/16ad22a7dd7adcb5a1d0eb36a8fe0a40.jpg","text":"TemporaryFile(/tmp/multipartBody3717744858831436509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744404393447,"filename":"image_11042025_21_30_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/11/47826a1c2b87f86fc771c63509d4c9fb.jpg","text":"TemporaryFile(/tmp/multipartBody8684762951829968539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744404393447,"filename":"image_11042025_21_31_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/11/b75100d7f9786523c4de505c429525c8.jpg","text":"TemporaryFile(/tmp/multipartBody6705115939280212673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744404393447,"filename":"image_11042025_21_30_15_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/73dbc1d3248b56cdda68f74b06d3b56a.jpg","text":"TemporaryFile(/tmp/multipartBody904050449023910500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744404393447,"filename":"image_11042025_21_30_24_9447.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351939397","file1":"1351939371","file0":"1351939351","file4":"1351939430","file5":"1351939483","file3":"1351939418"},"map_files_photo_id_array":[{"photo_id":"1351939483","filename":"file5"},{"photo_id":"1351939397","filename":"file2"},{"photo_id":"1351939430","filename":"file4"},{"photo_id":"1351939371","filename":"file1"},{"photo_id":"1351939351","filename":"file0"},{"photo_id":"1351939418","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351939397":["hashtag1","hashtag2"]},{"1351939430":["hashtag1","hashtag2"]},{"1351939418":["hashtag1","hashtag2"]},{"1351939483":["hashtag1","hashtag2"]},{"1351939351":["hashtag1","hashtag2"]},{"1351939371":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351939397, 1351939430, 1351939418, 1351939483, 1351939351, 1351939371)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.836445569992065 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 22:46:32.181737
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/21/31/image_11042025_21_31_15_10372.jpg', '/home/pi/Desktop/images/11042025/21/31/image_11042025_21_31_24_9365.jpg', '/home/pi/Desktop/images/11042025/21/31/image_11042025_21_31_35_10365.jpg', '/home/pi/Desktop/images/11042025/21/31/image_11042025_21_31_44_9369.jpg', '/home/pi/Desktop/images/11042025/21/31/image_11042025_21_31_54_10367.jpg', '/home/pi/Desktop/images/11042025/21/31/image_11042025_21_32_05_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/21/31/image_11042025_21_31_15_10372.jpg
/home/pi/Desktop/images/11042025/21/31/image_11042025_21_31_24_9365.jpg
/home/pi/Desktop/images/11042025/21/31/image_11042025_21_31_35_10365.jpg
/home/pi/Desktop/images/11042025/21/31/image_11042025_21_31_44_9369.jpg
/home/pi/Desktop/images/11042025/21/31/image_11042025_21_31_54_10367.jpg
/home/pi/Desktop/images/11042025/21/31/image_11042025_21_32_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":["1351939707","1351939809","1351939870","1351939900","1351939822","1351939686"],"photo_ids_order":["1351939686","1351939707","1351939809","1351939822","1351939870","1351939900"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d449901e9729246030eba9769675a366.jpg","text":"TemporaryFile(/tmp/multipartBody6057993830979766694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744404452668,"filename":"image_11042025_21_31_24_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f59e76ec5eed0c5f58d25775d87ece01.jpg","text":"TemporaryFile(/tmp/multipartBody7341881301662541591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744404452668,"filename":"image_11042025_21_31_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/11/7acc714609ea93d665bca20b8949845a.jpg","text":"TemporaryFile(/tmp/multipartBody7258633193440192100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744404452668,"filename":"image_11042025_21_31_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/11/8a8bdefa32b4cefed4b65a9093317809.jpg","text":"TemporaryFile(/tmp/multipartBody2715536492856306735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744404452668,"filename":"image_11042025_21_32_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/11/6254beb0085fc1b09e0e354142ecc0a9.jpg","text":"TemporaryFile(/tmp/multipartBody2189529294768499235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744404452668,"filename":"image_11042025_21_31_44_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0398d7e1169297755f37248721cf6489.jpg","text":"TemporaryFile(/tmp/multipartBody3832153852569333455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744404452668,"filename":"image_11042025_21_31_15_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351939809","file1":"1351939707","file0":"1351939686","file4":"1351939870","file5":"1351939900","file3":"1351939822"},"map_files_photo_id_array":[{"photo_id":"1351939900","filename":"file5"},{"photo_id":"1351939809","filename":"file2"},{"photo_id":"1351939870","filename":"file4"},{"photo_id":"1351939707","filename":"file1"},{"photo_id":"1351939686","filename":"file0"},{"photo_id":"1351939822","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351939707":["hashtag1","hashtag2"]},{"1351939809":["hashtag1","hashtag2"]},{"1351939870":["hashtag1","hashtag2"]},{"1351939900":["hashtag1","hashtag2"]},{"1351939822":["hashtag1","hashtag2"]},{"1351939686":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351939707, 1351939809, 1351939870, 1351939900, 1351939822, 1351939686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.013811349868774 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 22:47:32.308008
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/21/32/image_11042025_21_32_14_9454.jpg', '/home/pi/Desktop/images/11042025/21/32/image_11042025_21_32_25_10400.jpg', '/home/pi/Desktop/images/11042025/21/32/image_11042025_21_32_34_9361.jpg', '/home/pi/Desktop/images/11042025/21/32/image_11042025_21_32_44_10375.jpg', '/home/pi/Desktop/images/11042025/21/32/image_11042025_21_32_55_10438.jpg', '/home/pi/Desktop/images/11042025/21/32/image_11042025_21_33_04_9432.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/21/32/image_11042025_21_32_14_9454.jpg
/home/pi/Desktop/images/11042025/21/32/image_11042025_21_32_25_10400.jpg
/home/pi/Desktop/images/11042025/21/32/image_11042025_21_32_34_9361.jpg
/home/pi/Desktop/images/11042025/21/32/image_11042025_21_32_44_10375.jpg
/home/pi/Desktop/images/11042025/21/32/image_11042025_21_32_55_10438.jpg
/home/pi/Desktop/images/11042025/21/32/image_11042025_21_33_04_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":["1351940492","1351940537","1351940366","1351940519","1351940284","1351940431"],"photo_ids_order":["1351940284","1351940366","1351940431","1351940492","1351940519","1351940537"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c3314ec0d77c3b7617e710515ba9b5f5.jpg","text":"TemporaryFile(/tmp/multipartBody2621324570321263540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744404512790,"filename":"image_11042025_21_32_44_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/11/60143dc2e22b370a983eff47f045c98f.jpg","text":"TemporaryFile(/tmp/multipartBody408928596618336015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744404512790,"filename":"image_11042025_21_33_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/11/5c55dee5b32bca42dc35fd8481d1a218.jpg","text":"TemporaryFile(/tmp/multipartBody8972151360000680169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744404512790,"filename":"image_11042025_21_32_25_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/710fb51d1e7e62e0ba0e384bd2dc24ff.jpg","text":"TemporaryFile(/tmp/multipartBody3014595221976192778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744404512790,"filename":"image_11042025_21_32_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/11/9f6392d9dfe3b46294360caf5b8bafe1.jpg","text":"TemporaryFile(/tmp/multipartBody2245281099866935044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744404512790,"filename":"image_11042025_21_32_14_9454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a84be8cdaf627bd1d9ede5b84467f8ee.jpg","text":"TemporaryFile(/tmp/multipartBody2748556148907128243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744404512790,"filename":"image_11042025_21_32_34_9361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351940431","file1":"1351940366","file0":"1351940284","file4":"1351940519","file5":"1351940537","file3":"1351940492"},"map_files_photo_id_array":[{"photo_id":"1351940537","filename":"file5"},{"photo_id":"1351940431","filename":"file2"},{"photo_id":"1351940519","filename":"file4"},{"photo_id":"1351940366","filename":"file1"},{"photo_id":"1351940284","filename":"file0"},{"photo_id":"1351940492","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351940492":["hashtag1","hashtag2"]},{"1351940537":["hashtag1","hashtag2"]},{"1351940366":["hashtag1","hashtag2"]},{"1351940519":["hashtag1","hashtag2"]},{"1351940284":["hashtag1","hashtag2"]},{"1351940431":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351940492, 1351940537, 1351940366, 1351940519, 1351940284, 1351940431)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.09470081329346 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 22:48:32.527265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/21/33/image_11042025_21_33_15_10349.jpg', '/home/pi/Desktop/images/11042025/21/33/image_11042025_21_33_34_9436.jpg', '/home/pi/Desktop/images/11042025/21/33/image_11042025_21_33_45_10372.jpg', '/home/pi/Desktop/images/11042025/21/33/image_11042025_21_33_54_9418.jpg', '/home/pi/Desktop/images/11042025/21/34/image_11042025_21_34_15_10373.jpg', '/home/pi/Desktop/images/11042025/21/34/image_11042025_21_34_24_9466.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/21/33/image_11042025_21_33_15_10349.jpg
/home/pi/Desktop/images/11042025/21/33/image_11042025_21_33_34_9436.jpg
/home/pi/Desktop/images/11042025/21/33/image_11042025_21_33_45_10372.jpg
/home/pi/Desktop/images/11042025/21/33/image_11042025_21_33_54_9418.jpg
/home/pi/Desktop/images/11042025/21/34/image_11042025_21_34_15_10373.jpg
/home/pi/Desktop/images/11042025/21/34/image_11042025_21_34_24_9466.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351940781","1351940760","1351940733","1351940789","1351940705","1351940797"],"photo_ids_order":["1351940705","1351940733","1351940760","1351940781","1351940789","1351940797"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/78e9302415dbc3b04ccdbba8a8e15998.jpg","text":"TemporaryFile(/tmp/multipartBody4346690913727202293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744404572996,"filename":"image_11042025_21_33_54_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/29f3a8b89b813c63de300b941f56ab30.jpg","text":"TemporaryFile(/tmp/multipartBody1823272966738946798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744404572996,"filename":"image_11042025_21_33_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/11/f715019219e9d108f5caf543181bd562.jpg","text":"TemporaryFile(/tmp/multipartBody8272750280917583954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744404572996,"filename":"image_11042025_21_33_34_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/11/d48a3552d38e5360f7ba418826d7035c.jpg","text":"TemporaryFile(/tmp/multipartBody311988271843915259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744404572996,"filename":"image_11042025_21_34_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/11/4d7947577e4a80a1968016215d532913.jpg","text":"TemporaryFile(/tmp/multipartBody8861890777703035852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744404572996,"filename":"image_11042025_21_33_15_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7e45f816f31992deeb5a1d368dc0639e.jpg","text":"TemporaryFile(/tmp/multipartBody4915832891318255002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744404572996,"filename":"image_11042025_21_34_24_9466.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351940760","file1":"1351940733","file0":"1351940705","file4":"1351940789","file5":"1351940797","file3":"1351940781"},"map_files_photo_id_array":[{"photo_id":"1351940797","filename":"file5"},{"photo_id":"1351940760","filename":"file2"},{"photo_id":"1351940789","filename":"file4"},{"photo_id":"1351940733","filename":"file1"},{"photo_id":"1351940705","filename":"file0"},{"photo_id":"1351940781","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351940781":["hashtag1","hashtag2"]},{"1351940760":["hashtag1","hashtag2"]},{"1351940733":["hashtag1","hashtag2"]},{"1351940789":["hashtag1","hashtag2"]},{"1351940705":["hashtag1","hashtag2"]},{"1351940797":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351940781, 1351940760, 1351940733, 1351940789, 1351940705, 1351940797)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.87239980697632 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 22:49:32.776426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/21/34/image_11042025_21_34_35_10361.jpg', '/home/pi/Desktop/images/11042025/21/34/image_11042025_21_34_55_10375.jpg', '/home/pi/Desktop/images/11042025/21/34/image_11042025_21_35_05_10360.jpg', '/home/pi/Desktop/images/11042025/21/35/image_11042025_21_35_14_9429.jpg', '/home/pi/Desktop/images/11042025/21/35/image_11042025_21_35_25_10452.jpg', '/home/pi/Desktop/images/11042025/21/35/image_11042025_21_35_34_9432.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/21/34/image_11042025_21_34_35_10361.jpg
/home/pi/Desktop/images/11042025/21/34/image_11042025_21_34_55_10375.jpg
/home/pi/Desktop/images/11042025/21/34/image_11042025_21_35_05_10360.jpg
/home/pi/Desktop/images/11042025/21/35/image_11042025_21_35_14_9429.jpg
/home/pi/Desktop/images/11042025/21/35/image_11042025_21_35_25_10452.jpg
/home/pi/Desktop/images/11042025/21/35/image_11042025_21_35_34_9432.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3882474899291992 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 22:49:42.741536
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/21/34/image_11042025_21_34_35_10361.jpg', '/home/pi/Desktop/images/11042025/21/34/image_11042025_21_34_55_10375.jpg', '/home/pi/Desktop/images/11042025/21/34/image_11042025_21_35_05_10360.jpg', '/home/pi/Desktop/images/11042025/21/35/image_11042025_21_35_14_9429.jpg', '/home/pi/Desktop/images/11042025/21/35/image_11042025_21_35_25_10452.jpg', '/home/pi/Desktop/images/11042025/21/35/image_11042025_21_35_34_9432.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/21/34/image_11042025_21_34_35_10361.jpg
/home/pi/Desktop/images/11042025/21/34/image_11042025_21_34_55_10375.jpg
/home/pi/Desktop/images/11042025/21/34/image_11042025_21_35_05_10360.jpg
/home/pi/Desktop/images/11042025/21/35/image_11042025_21_35_14_9429.jpg
/home/pi/Desktop/images/11042025/21/35/image_11042025_21_35_25_10452.jpg
/home/pi/Desktop/images/11042025/21/35/image_11042025_21_35_34_9432.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351941009","1351941000","1351940990","1351941014","1351941004","1351940965"],"photo_ids_order":["1351940965","1351940990","1351941000","1351941004","1351941009","1351941014"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/85698aa0114b04475b7593b4fafc15b9.jpg","text":"TemporaryFile(/tmp/multipartBody6793032887351179407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744404643231,"filename":"image_11042025_21_35_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/11/4e6dfa80d4aaf07b4f2e105a78e37197.jpg","text":"TemporaryFile(/tmp/multipartBody1553658223248539552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744404643231,"filename":"image_11042025_21_35_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/11/0065293f1a89795b231cbf545888ed15.jpg","text":"TemporaryFile(/tmp/multipartBody659616542466194358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744404643231,"filename":"image_11042025_21_34_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/11/1982226e7012bb04a77308487bbf6aea.jpg","text":"TemporaryFile(/tmp/multipartBody7260151424531390517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744404643231,"filename":"image_11042025_21_35_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/11/a33cd76ffd56caac984c4f343bd86af4.jpg","text":"TemporaryFile(/tmp/multipartBody1039699296606842806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744404643231,"filename":"image_11042025_21_35_14_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/11/282c55ddb6df8c480d2ec01981e3e72f.jpg","text":"TemporaryFile(/tmp/multipartBody3807044365477538802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744404643231,"filename":"image_11042025_21_34_35_10361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351941000","file1":"1351940990","file0":"1351940965","file4":"1351941009","file5":"1351941014","file3":"1351941004"},"map_files_photo_id_array":[{"photo_id":"1351941014","filename":"file5"},{"photo_id":"1351941000","filename":"file2"},{"photo_id":"1351941009","filename":"file4"},{"photo_id":"1351940990","filename":"file1"},{"photo_id":"1351940965","filename":"file0"},{"photo_id":"1351941004","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351941009":["hashtag1","hashtag2"]},{"1351941000":["hashtag1","hashtag2"]},{"1351940990":["hashtag1","hashtag2"]},{"1351941014":["hashtag1","hashtag2"]},{"1351941004":["hashtag1","hashtag2"]},{"1351940965":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351941009, 1351941000, 1351940990, 1351941014, 1351941004, 1351940965)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.98696732521057 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 22:50:32.265856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/21/35/image_11042025_21_35_45_10382.jpg', '/home/pi/Desktop/images/11042025/21/35/image_11042025_21_35_54_9341.jpg', '/home/pi/Desktop/images/11042025/21/35/image_11042025_21_36_04_10433.jpg', '/home/pi/Desktop/images/11042025/21/36/image_11042025_21_36_15_10359.jpg', '/home/pi/Desktop/images/11042025/21/36/image_11042025_21_36_24_9434.jpg', '/home/pi/Desktop/images/11042025/21/36/image_11042025_21_36_35_10417.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/21/35/image_11042025_21_35_45_10382.jpg
/home/pi/Desktop/images/11042025/21/35/image_11042025_21_35_54_9341.jpg
/home/pi/Desktop/images/11042025/21/35/image_11042025_21_36_04_10433.jpg
/home/pi/Desktop/images/11042025/21/36/image_11042025_21_36_15_10359.jpg
/home/pi/Desktop/images/11042025/21/36/image_11042025_21_36_24_9434.jpg
/home/pi/Desktop/images/11042025/21/36/image_11042025_21_36_35_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":["1351941048","1351941036","1351941041","1351941052","1351941061","1351941055"],"photo_ids_order":["1351941036","1351941041","1351941048","1351941052","1351941055","1351941061"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0b5e9eda791e36b63fc9a71eeae7fa1f.jpg","text":"TemporaryFile(/tmp/multipartBody3255483904566687269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744404692732,"filename":"image_11042025_21_36_04_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/dc71611ce86dd72a5980bb5732c57c38.jpg","text":"TemporaryFile(/tmp/multipartBody1186244007959072126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744404692732,"filename":"image_11042025_21_35_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/11/6dea84b33416142fbeb83175b5c64aa3.jpg","text":"TemporaryFile(/tmp/multipartBody5489009766810241490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744404692732,"filename":"image_11042025_21_35_54_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1663316c0f6152a1bc3a9d4b9affcee6.jpg","text":"TemporaryFile(/tmp/multipartBody5459573118859337496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744404692732,"filename":"image_11042025_21_36_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/11/b42457ee5c02c8c73bf9599408e200e8.jpg","text":"TemporaryFile(/tmp/multipartBody6190117518242349619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744404692732,"filename":"image_11042025_21_36_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/11/08564718693717f6a251670f43a42b4a.jpg","text":"TemporaryFile(/tmp/multipartBody7830986432093718372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744404692732,"filename":"image_11042025_21_36_24_9434.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351941048","file1":"1351941041","file0":"1351941036","file4":"1351941055","file5":"1351941061","file3":"1351941052"},"map_files_photo_id_array":[{"photo_id":"1351941061","filename":"file5"},{"photo_id":"1351941048","filename":"file2"},{"photo_id":"1351941055","filename":"file4"},{"photo_id":"1351941041","filename":"file1"},{"photo_id":"1351941036","filename":"file0"},{"photo_id":"1351941052","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351941048":["hashtag1","hashtag2"]},{"1351941036":["hashtag1","hashtag2"]},{"1351941041":["hashtag1","hashtag2"]},{"1351941052":["hashtag1","hashtag2"]},{"1351941061":["hashtag1","hashtag2"]},{"1351941055":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351941048, 1351941036, 1351941041, 1351941052, 1351941061, 1351941055)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.920459032058716 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 22:51:32.302898
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/21/36/image_11042025_21_36_44_9367.jpg', '/home/pi/Desktop/images/11042025/21/36/image_11042025_21_36_54_10456.jpg', '/home/pi/Desktop/images/11042025/21/36/image_11042025_21_37_05_10447.jpg', '/home/pi/Desktop/images/11042025/21/37/image_11042025_21_37_14_9359.jpg', '/home/pi/Desktop/images/11042025/21/37/image_11042025_21_37_25_10360.jpg', '/home/pi/Desktop/images/11042025/21/37/image_11042025_21_37_34_9353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/21/36/image_11042025_21_36_44_9367.jpg
/home/pi/Desktop/images/11042025/21/36/image_11042025_21_36_54_10456.jpg
/home/pi/Desktop/images/11042025/21/36/image_11042025_21_37_05_10447.jpg
/home/pi/Desktop/images/11042025/21/37/image_11042025_21_37_14_9359.jpg
/home/pi/Desktop/images/11042025/21/37/image_11042025_21_37_25_10360.jpg
/home/pi/Desktop/images/11042025/21/37/image_11042025_21_37_34_9353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351941230","1351941107","1351941104","1351941096","1351941100","1351941171"],"photo_ids_order":["1351941096","1351941100","1351941104","1351941107","1351941171","1351941230"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/cf15fa95b0c203dfbb600212b3860d7c.jpg","text":"TemporaryFile(/tmp/multipartBody8657471079739173617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744404752766,"filename":"image_11042025_21_37_34_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9ad17f62a2b65f6a58dc0b75341c12a5.jpg","text":"TemporaryFile(/tmp/multipartBody8710054049769944994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744404752766,"filename":"image_11042025_21_37_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/11/63d0df77afe1d93f92bfbc6166c7be56.jpg","text":"TemporaryFile(/tmp/multipartBody1175679290647253413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744404752766,"filename":"image_11042025_21_37_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/11/ef951a7bfc9dea5aca8140c8a360a0f4.jpg","text":"TemporaryFile(/tmp/multipartBody401409748569432444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744404752766,"filename":"image_11042025_21_36_44_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ca307fc3ea7a401cac0d0c1a63e77499.jpg","text":"TemporaryFile(/tmp/multipartBody7806100793771194721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744404752766,"filename":"image_11042025_21_36_54_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/11/96dc4656c31afc524da449d4eb86ac96.jpg","text":"TemporaryFile(/tmp/multipartBody2762963893683239667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744404752766,"filename":"image_11042025_21_37_25_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351941104","file1":"1351941100","file0":"1351941096","file4":"1351941171","file5":"1351941230","file3":"1351941107"},"map_files_photo_id_array":[{"photo_id":"1351941230","filename":"file5"},{"photo_id":"1351941104","filename":"file2"},{"photo_id":"1351941171","filename":"file4"},{"photo_id":"1351941100","filename":"file1"},{"photo_id":"1351941096","filename":"file0"},{"photo_id":"1351941107","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351941230":["hashtag1","hashtag2"]},{"1351941107":["hashtag1","hashtag2"]},{"1351941104":["hashtag1","hashtag2"]},{"1351941096":["hashtag1","hashtag2"]},{"1351941100":["hashtag1","hashtag2"]},{"1351941171":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351941230, 1351941107, 1351941104, 1351941096, 1351941100, 1351941171)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.02505445480347 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 22:52:32.530456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/21/37/image_11042025_21_37_44_10443.jpg', '/home/pi/Desktop/images/11042025/21/37/image_11042025_21_37_55_10408.jpg', '/home/pi/Desktop/images/11042025/21/37/image_11042025_21_38_04_9435.jpg', '/home/pi/Desktop/images/11042025/21/38/image_11042025_21_38_15_10363.jpg', '/home/pi/Desktop/images/11042025/21/38/image_11042025_21_38_24_9366.jpg', '/home/pi/Desktop/images/11042025/21/38/image_11042025_21_38_34_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/21/37/image_11042025_21_37_44_10443.jpg
/home/pi/Desktop/images/11042025/21/37/image_11042025_21_37_55_10408.jpg
/home/pi/Desktop/images/11042025/21/37/image_11042025_21_38_04_9435.jpg
/home/pi/Desktop/images/11042025/21/38/image_11042025_21_38_15_10363.jpg
/home/pi/Desktop/images/11042025/21/38/image_11042025_21_38_24_9366.jpg
/home/pi/Desktop/images/11042025/21/38/image_11042025_21_38_34_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":["1351941860","1351941866","1351941920","1351941908","1351941925","1351941870"],"photo_ids_order":["1351941860","1351941866","1351941870","1351941908","1351941920","1351941925"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4be049b14494c3a2d718694e86055ff5.jpg","text":"TemporaryFile(/tmp/multipartBody6453955100658874793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744404812995,"filename":"image_11042025_21_37_44_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8e2f1a491b91b3a1562bf91081c52e8f.jpg","text":"TemporaryFile(/tmp/multipartBody6588797732999026884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744404812995,"filename":"image_11042025_21_37_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/11/bf0d1ead311be5c1885d9ad70568399f.jpg","text":"TemporaryFile(/tmp/multipartBody6025564824781895879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744404812995,"filename":"image_11042025_21_38_24_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/15f71fea4f047a1fa1734e3c0c9be4c1.jpg","text":"TemporaryFile(/tmp/multipartBody799198937922836727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744404812995,"filename":"image_11042025_21_38_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/11/42dd18f579adba88c465d0643f7693d2.jpg","text":"TemporaryFile(/tmp/multipartBody1329831857373413133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744404812995,"filename":"image_11042025_21_38_34_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/74ce1461023fe15543436e1e95a406c0.jpg","text":"TemporaryFile(/tmp/multipartBody4602928589136110030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744404812995,"filename":"image_11042025_21_38_04_9435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351941870","file1":"1351941866","file0":"1351941860","file4":"1351941920","file5":"1351941925","file3":"1351941908"},"map_files_photo_id_array":[{"photo_id":"1351941925","filename":"file5"},{"photo_id":"1351941870","filename":"file2"},{"photo_id":"1351941920","filename":"file4"},{"photo_id":"1351941866","filename":"file1"},{"photo_id":"1351941860","filename":"file0"},{"photo_id":"1351941908","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351941860":["hashtag1","hashtag2"]},{"1351941866":["hashtag1","hashtag2"]},{"1351941920":["hashtag1","hashtag2"]},{"1351941908":["hashtag1","hashtag2"]},{"1351941925":["hashtag1","hashtag2"]},{"1351941870":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351941860, 1351941866, 1351941920, 1351941908, 1351941925, 1351941870)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.568111658096313 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 22:53:32.826927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/21/38/image_11042025_21_38_45_10381.jpg', '/home/pi/Desktop/images/11042025/21/38/image_11042025_21_38_54_9398.jpg', '/home/pi/Desktop/images/11042025/21/38/image_11042025_21_39_05_10417.jpg', '/home/pi/Desktop/images/11042025/21/39/image_11042025_21_39_15_10359.jpg', '/home/pi/Desktop/images/11042025/21/39/image_11042025_21_39_24_9473.jpg', '/home/pi/Desktop/images/11042025/21/39/image_11042025_21_39_35_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/21/38/image_11042025_21_38_45_10381.jpg
/home/pi/Desktop/images/11042025/21/38/image_11042025_21_38_54_9398.jpg
/home/pi/Desktop/images/11042025/21/38/image_11042025_21_39_05_10417.jpg
/home/pi/Desktop/images/11042025/21/39/image_11042025_21_39_15_10359.jpg
/home/pi/Desktop/images/11042025/21/39/image_11042025_21_39_24_9473.jpg
/home/pi/Desktop/images/11042025/21/39/image_11042025_21_39_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":["1351942184","1351942172","1351942195","1351942189","1351942198","1351942192"],"photo_ids_order":["1351942172","1351942184","1351942189","1351942192","1351942195","1351942198"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/1ba7d6a9df58cd37e530578e73d46842.jpg","text":"TemporaryFile(/tmp/multipartBody5165889747667581242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744404873290,"filename":"image_11042025_21_38_54_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c24bbb1485de0bb87ee52ad32dd48b5e.jpg","text":"TemporaryFile(/tmp/multipartBody12721934321455652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744404873290,"filename":"image_11042025_21_38_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/11/2c9f39541a1fcc0a73d15f53a9e804d6.jpg","text":"TemporaryFile(/tmp/multipartBody7948307373281537238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744404873290,"filename":"image_11042025_21_39_24_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/11/83a05925d9ffc01060e1049cf9753888.jpg","text":"TemporaryFile(/tmp/multipartBody2359312445876824283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744404873290,"filename":"image_11042025_21_39_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/11/3f3575670a3879f80ba60a500c787356.jpg","text":"TemporaryFile(/tmp/multipartBody9097550255172029751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744404873290,"filename":"image_11042025_21_39_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/11/da7774daa0ac4f2264c53000fbe63ae6.jpg","text":"TemporaryFile(/tmp/multipartBody8623051270435346762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744404873290,"filename":"image_11042025_21_39_15_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351942189","file1":"1351942184","file0":"1351942172","file4":"1351942195","file5":"1351942198","file3":"1351942192"},"map_files_photo_id_array":[{"photo_id":"1351942198","filename":"file5"},{"photo_id":"1351942189","filename":"file2"},{"photo_id":"1351942195","filename":"file4"},{"photo_id":"1351942184","filename":"file1"},{"photo_id":"1351942172","filename":"file0"},{"photo_id":"1351942192","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351942184":["hashtag1","hashtag2"]},{"1351942172":["hashtag1","hashtag2"]},{"1351942195":["hashtag1","hashtag2"]},{"1351942189":["hashtag1","hashtag2"]},{"1351942198":["hashtag1","hashtag2"]},{"1351942192":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351942184, 1351942172, 1351942195, 1351942189, 1351942198, 1351942192)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.07352638244629 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 22:54:33.015791
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/21/39/image_11042025_21_39_44_9510.jpg', '/home/pi/Desktop/images/11042025/21/39/image_11042025_21_39_55_10373.jpg', '/home/pi/Desktop/images/11042025/21/39/image_11042025_21_40_04_9375.jpg', '/home/pi/Desktop/images/11042025/21/40/image_11042025_21_40_14_10470.jpg', '/home/pi/Desktop/images/11042025/21/40/image_11042025_21_40_25_10369.jpg', '/home/pi/Desktop/images/11042025/21/40/image_11042025_21_40_34_9348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/21/39/image_11042025_21_39_44_9510.jpg
/home/pi/Desktop/images/11042025/21/39/image_11042025_21_39_55_10373.jpg
/home/pi/Desktop/images/11042025/21/39/image_11042025_21_40_04_9375.jpg
/home/pi/Desktop/images/11042025/21/40/image_11042025_21_40_14_10470.jpg
/home/pi/Desktop/images/11042025/21/40/image_11042025_21_40_25_10369.jpg
/home/pi/Desktop/images/11042025/21/40/image_11042025_21_40_34_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":["1351942232","1351942238","1351942226","1351942243","1351942246","1351942230"],"photo_ids_order":["1351942226","1351942230","1351942232","1351942238","1351942243","1351942246"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/57662be00922e6127678a0b395f379cd.jpg","text":"TemporaryFile(/tmp/multipartBody137373298995293095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744404933482,"filename":"image_11042025_21_40_04_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0c952444a75d3fb2d96d6ad4adeb2232.jpg","text":"TemporaryFile(/tmp/multipartBody839487532173256507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744404933482,"filename":"image_11042025_21_40_14_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/11/eaeac842967d24dc46295dc2a0677b20.jpg","text":"TemporaryFile(/tmp/multipartBody2549234675789247615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744404933482,"filename":"image_11042025_21_39_44_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/11/b64e35822e2536a7c36c8f9007ba598b.jpg","text":"TemporaryFile(/tmp/multipartBody3956741428792752522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744404933482,"filename":"image_11042025_21_40_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/11/4cb9cea2fef3d53a5c57bb1ffc6be363.jpg","text":"TemporaryFile(/tmp/multipartBody4721911794812849201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744404933482,"filename":"image_11042025_21_40_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/11/bd869e9dc13ef724a326279212291870.jpg","text":"TemporaryFile(/tmp/multipartBody8311572128055091937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744404933482,"filename":"image_11042025_21_39_55_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351942232","file1":"1351942230","file0":"1351942226","file4":"1351942243","file5":"1351942246","file3":"1351942238"},"map_files_photo_id_array":[{"photo_id":"1351942246","filename":"file5"},{"photo_id":"1351942232","filename":"file2"},{"photo_id":"1351942243","filename":"file4"},{"photo_id":"1351942230","filename":"file1"},{"photo_id":"1351942226","filename":"file0"},{"photo_id":"1351942238","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351942232":["hashtag1","hashtag2"]},{"1351942238":["hashtag1","hashtag2"]},{"1351942226":["hashtag1","hashtag2"]},{"1351942243":["hashtag1","hashtag2"]},{"1351942246":["hashtag1","hashtag2"]},{"1351942230":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351942232, 1351942238, 1351942226, 1351942243, 1351942246, 1351942230)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.49423813819885 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 22:55:32.246457
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/21/40/image_11042025_21_40_45_10446.jpg', '/home/pi/Desktop/images/11042025/21/40/image_11042025_21_40_54_9352.jpg', '/home/pi/Desktop/images/11042025/21/41/image_11042025_21_41_15_10399.jpg', '/home/pi/Desktop/images/11042025/21/41/image_11042025_21_41_24_9494.jpg', '/home/pi/Desktop/images/11042025/21/41/image_11042025_21_41_35_10444.jpg', '/home/pi/Desktop/images/11042025/21/41/image_11042025_21_41_44_9477.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/21/40/image_11042025_21_40_45_10446.jpg
/home/pi/Desktop/images/11042025/21/40/image_11042025_21_40_54_9352.jpg
/home/pi/Desktop/images/11042025/21/41/image_11042025_21_41_15_10399.jpg
/home/pi/Desktop/images/11042025/21/41/image_11042025_21_41_24_9494.jpg
/home/pi/Desktop/images/11042025/21/41/image_11042025_21_41_35_10444.jpg
/home/pi/Desktop/images/11042025/21/41/image_11042025_21_41_44_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":["1351942415","1351942354","1351942384","1351942444","1351942327","1351942302"],"photo_ids_order":["1351942302","1351942327","1351942354","1351942384","1351942415","1351942444"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b0baa1d1281e8472eb407a808a81e959.jpg","text":"TemporaryFile(/tmp/multipartBody4604373912761105532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744404992719,"filename":"image_11042025_21_41_35_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2b18be111ecf42e7bfb871e65c55e094.jpg","text":"TemporaryFile(/tmp/multipartBody1483705730130762027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744404992719,"filename":"image_11042025_21_41_15_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/bb79b5ba04b60e65edf76cebfa957cba.jpg","text":"TemporaryFile(/tmp/multipartBody9130408189709698311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744404992719,"filename":"image_11042025_21_41_24_9494.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c2bda2aca0ac031c9c03a8025479b4be.jpg","text":"TemporaryFile(/tmp/multipartBody7693168744395060414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744404992719,"filename":"image_11042025_21_41_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/11/9c6e4309445a7fbe3feaff49d95913e8.jpg","text":"TemporaryFile(/tmp/multipartBody4054125193061671548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744404992719,"filename":"image_11042025_21_40_54_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8e5563e0ca972e5c300b930ff73ef66d.jpg","text":"TemporaryFile(/tmp/multipartBody3559864124638029783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744404992719,"filename":"image_11042025_21_40_45_10446.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351942354","file1":"1351942327","file0":"1351942302","file4":"1351942415","file5":"1351942444","file3":"1351942384"},"map_files_photo_id_array":[{"photo_id":"1351942444","filename":"file5"},{"photo_id":"1351942354","filename":"file2"},{"photo_id":"1351942415","filename":"file4"},{"photo_id":"1351942327","filename":"file1"},{"photo_id":"1351942302","filename":"file0"},{"photo_id":"1351942384","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351942415":["hashtag1","hashtag2"]},{"1351942354":["hashtag1","hashtag2"]},{"1351942384":["hashtag1","hashtag2"]},{"1351942444":["hashtag1","hashtag2"]},{"1351942327":["hashtag1","hashtag2"]},{"1351942302":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351942415, 1351942354, 1351942384, 1351942444, 1351942327, 1351942302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.972900390625 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 22:56:32.498315
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/21/41/image_11042025_21_41_55_10471.jpg', '/home/pi/Desktop/images/11042025/21/41/image_11042025_21_42_04_9345.jpg', '/home/pi/Desktop/images/11042025/21/42/image_11042025_21_42_14_10446.jpg', '/home/pi/Desktop/images/11042025/21/42/image_11042025_21_42_25_10387.jpg', '/home/pi/Desktop/images/11042025/21/42/image_11042025_21_42_34_9448.jpg', '/home/pi/Desktop/images/11042025/21/42/image_11042025_21_42_45_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/21/41/image_11042025_21_41_55_10471.jpg
/home/pi/Desktop/images/11042025/21/41/image_11042025_21_42_04_9345.jpg
/home/pi/Desktop/images/11042025/21/42/image_11042025_21_42_14_10446.jpg
/home/pi/Desktop/images/11042025/21/42/image_11042025_21_42_25_10387.jpg
/home/pi/Desktop/images/11042025/21/42/image_11042025_21_42_34_9448.jpg
/home/pi/Desktop/images/11042025/21/42/image_11042025_21_42_45_10358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351942769","1351942678","1351942741","1351942791","1351942711","1351942650"],"photo_ids_order":["1351942650","1351942678","1351942711","1351942741","1351942769","1351942791"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a327dfd9a0cb3973d34c59491ebe2ae7.jpg","text":"TemporaryFile(/tmp/multipartBody2523576959814253216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744405052961,"filename":"image_11042025_21_42_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/11/64cf42780c66aa3c8cb1f213fe289838.jpg","text":"TemporaryFile(/tmp/multipartBody4248020093537544083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744405052961,"filename":"image_11042025_21_42_04_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/95f31bc815a5f8d181ccc2bdeefe8be5.jpg","text":"TemporaryFile(/tmp/multipartBody5131055512691890678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744405052961,"filename":"image_11042025_21_42_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/11/68916aaec9da699fae967b0da3983ad6.jpg","text":"TemporaryFile(/tmp/multipartBody3692884780999986103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744405052961,"filename":"image_11042025_21_42_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/11/f5580a2968d328f1c3c044e7b2c73f93.jpg","text":"TemporaryFile(/tmp/multipartBody8673599158390398932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744405052961,"filename":"image_11042025_21_42_14_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7e8a8c33b24f7a45d824721d539baa1a.jpg","text":"TemporaryFile(/tmp/multipartBody6470917983534962315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744405052961,"filename":"image_11042025_21_41_55_10471.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351942711","file1":"1351942678","file0":"1351942650","file4":"1351942769","file5":"1351942791","file3":"1351942741"},"map_files_photo_id_array":[{"photo_id":"1351942791","filename":"file5"},{"photo_id":"1351942711","filename":"file2"},{"photo_id":"1351942769","filename":"file4"},{"photo_id":"1351942678","filename":"file1"},{"photo_id":"1351942650","filename":"file0"},{"photo_id":"1351942741","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351942769":["hashtag1","hashtag2"]},{"1351942678":["hashtag1","hashtag2"]},{"1351942741":["hashtag1","hashtag2"]},{"1351942791":["hashtag1","hashtag2"]},{"1351942711":["hashtag1","hashtag2"]},{"1351942650":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351942769, 1351942678, 1351942741, 1351942791, 1351942711, 1351942650)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.033711671829224 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 22:57:32.757884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/21/42/image_11042025_21_42_54_9441.jpg', '/home/pi/Desktop/images/11042025/21/42/image_11042025_21_43_04_10373.jpg', '/home/pi/Desktop/images/11042025/21/43/image_11042025_21_43_15_10371.jpg', '/home/pi/Desktop/images/11042025/21/43/image_11042025_21_43_24_9438.jpg', '/home/pi/Desktop/images/11042025/21/43/image_11042025_21_43_35_10361.jpg', '/home/pi/Desktop/images/11042025/21/43/image_11042025_21_43_44_9500.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/21/42/image_11042025_21_42_54_9441.jpg
/home/pi/Desktop/images/11042025/21/42/image_11042025_21_43_04_10373.jpg
/home/pi/Desktop/images/11042025/21/43/image_11042025_21_43_15_10371.jpg
/home/pi/Desktop/images/11042025/21/43/image_11042025_21_43_24_9438.jpg
/home/pi/Desktop/images/11042025/21/43/image_11042025_21_43_35_10361.jpg
/home/pi/Desktop/images/11042025/21/43/image_11042025_21_43_44_9500.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-11 22:59:04.457825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/21/42/image_11042025_21_42_54_9441.jpg', '/home/pi/Desktop/images/11042025/21/42/image_11042025_21_43_04_10373.jpg', '/home/pi/Desktop/images/11042025/21/43/image_11042025_21_43_15_10371.jpg', '/home/pi/Desktop/images/11042025/21/43/image_11042025_21_43_24_9438.jpg', '/home/pi/Desktop/images/11042025/21/43/image_11042025_21_43_35_10361.jpg', '/home/pi/Desktop/images/11042025/21/43/image_11042025_21_43_44_9500.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/21/42/image_11042025_21_42_54_9441.jpg
/home/pi/Desktop/images/11042025/21/42/image_11042025_21_43_04_10373.jpg
/home/pi/Desktop/images/11042025/21/43/image_11042025_21_43_15_10371.jpg
/home/pi/Desktop/images/11042025/21/43/image_11042025_21_43_24_9438.jpg
/home/pi/Desktop/images/11042025/21/43/image_11042025_21_43_35_10361.jpg
/home/pi/Desktop/images/11042025/21/43/image_11042025_21_43_44_9500.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351943546","1351943566","1351943620","1351943614","1351943598","1351943604"],"photo_ids_order":["1351943546","1351943566","1351943598","1351943604","1351943614","1351943620"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ed12405d7f5ba4da898a5e162f7fa5f4.jpg","text":"TemporaryFile(/tmp/multipartBody8185468976965769385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744405205016,"filename":"image_11042025_21_42_54_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/11/0c41d85b9e60536036cf7df1018a212f.jpg","text":"TemporaryFile(/tmp/multipartBody7610053159093361450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744405205016,"filename":"image_11042025_21_43_04_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e5dea0a84c284e30b84277cee29ae2f8.jpg","text":"TemporaryFile(/tmp/multipartBody7721137013666408097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744405205016,"filename":"image_11042025_21_43_44_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/11/65900e0ce714bdf68506090343304e33.jpg","text":"TemporaryFile(/tmp/multipartBody4143195181205849726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744405205016,"filename":"image_11042025_21_43_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/11/0504d8f3fea5a8df00b7e3d63dd79446.jpg","text":"TemporaryFile(/tmp/multipartBody9214806848514401329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744405205016,"filename":"image_11042025_21_43_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/11/a1fb8919bdb19505aa0c9a82b5c79cae.jpg","text":"TemporaryFile(/tmp/multipartBody2990652134126331756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744405205016,"filename":"image_11042025_21_43_24_9438.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351943598","file1":"1351943566","file0":"1351943546","file4":"1351943614","file5":"1351943620","file3":"1351943604"},"map_files_photo_id_array":[{"photo_id":"1351943620","filename":"file5"},{"photo_id":"1351943598","filename":"file2"},{"photo_id":"1351943614","filename":"file4"},{"photo_id":"1351943566","filename":"file1"},{"photo_id":"1351943546","filename":"file0"},{"photo_id":"1351943604","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351943546":["hashtag1","hashtag2"]},{"1351943566":["hashtag1","hashtag2"]},{"1351943620":["hashtag1","hashtag2"]},{"1351943614":["hashtag1","hashtag2"]},{"1351943598":["hashtag1","hashtag2"]},{"1351943604":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351943546, 1351943566, 1351943620, 1351943614, 1351943598, 1351943604)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.146018505096436 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 22:59:43.246573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/21/43/image_11042025_21_43_55_10426.jpg', '/home/pi/Desktop/images/11042025/21/43/image_11042025_21_44_04_9351.jpg', '/home/pi/Desktop/images/11042025/21/44/image_11042025_21_44_14_10372.jpg', '/home/pi/Desktop/images/11042025/21/44/image_11042025_21_44_25_10381.jpg', '/home/pi/Desktop/images/11042025/21/44/image_11042025_21_44_34_9476.jpg', '/home/pi/Desktop/images/11042025/21/44/image_11042025_21_44_45_10418.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/21/43/image_11042025_21_43_55_10426.jpg
/home/pi/Desktop/images/11042025/21/43/image_11042025_21_44_04_9351.jpg
/home/pi/Desktop/images/11042025/21/44/image_11042025_21_44_14_10372.jpg
/home/pi/Desktop/images/11042025/21/44/image_11042025_21_44_25_10381.jpg
/home/pi/Desktop/images/11042025/21/44/image_11042025_21_44_34_9476.jpg
/home/pi/Desktop/images/11042025/21/44/image_11042025_21_44_45_10418.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351943773","1351943680","1351943650","1351943644","1351943629","1351943732"],"photo_ids_order":["1351943629","1351943644","1351943650","1351943680","1351943732","1351943773"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e4dc49071b808ff5aa76befde2a70878.jpg","text":"TemporaryFile(/tmp/multipartBody6842722658210603848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744405243717,"filename":"image_11042025_21_44_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/11/bce02d14725929ce38edeaf4da777b0c.jpg","text":"TemporaryFile(/tmp/multipartBody7801772468316377963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744405243717,"filename":"image_11042025_21_44_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/11/63c1a831de3f0b9014d35c7a000495a2.jpg","text":"TemporaryFile(/tmp/multipartBody3233697158250944128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744405243717,"filename":"image_11042025_21_44_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/11/7ab8fee3441c64dea6300805beb648e1.jpg","text":"TemporaryFile(/tmp/multipartBody6467252160097803475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744405243717,"filename":"image_11042025_21_44_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/11/c721baa62f00ab07f8dd03c6e0dc6afa.jpg","text":"TemporaryFile(/tmp/multipartBody3354534938554240396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744405243717,"filename":"image_11042025_21_43_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/11/730ccca448a802c301ef603714c14f81.jpg","text":"TemporaryFile(/tmp/multipartBody8463189443251877165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744405243717,"filename":"image_11042025_21_44_34_9476.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351943650","file1":"1351943644","file0":"1351943629","file4":"1351943732","file5":"1351943773","file3":"1351943680"},"map_files_photo_id_array":[{"photo_id":"1351943773","filename":"file5"},{"photo_id":"1351943650","filename":"file2"},{"photo_id":"1351943732","filename":"file4"},{"photo_id":"1351943644","filename":"file1"},{"photo_id":"1351943629","filename":"file0"},{"photo_id":"1351943680","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351943773":["hashtag1","hashtag2"]},{"1351943680":["hashtag1","hashtag2"]},{"1351943650":["hashtag1","hashtag2"]},{"1351943644":["hashtag1","hashtag2"]},{"1351943629":["hashtag1","hashtag2"]},{"1351943732":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351943773, 1351943680, 1351943650, 1351943644, 1351943629, 1351943732)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.549394845962524 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 23:00:32.449893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/21/44/image_11042025_21_44_54_9405.jpg', '/home/pi/Desktop/images/11042025/21/44/image_11042025_21_45_04_10349.jpg', '/home/pi/Desktop/images/11042025/21/45/image_11042025_21_45_15_10426.jpg', '/home/pi/Desktop/images/11042025/21/45/image_11042025_21_45_24_9471.jpg', '/home/pi/Desktop/images/11042025/21/45/image_11042025_21_45_35_10385.jpg', '/home/pi/Desktop/images/11042025/21/45/image_11042025_21_45_44_9427.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/21/44/image_11042025_21_44_54_9405.jpg
/home/pi/Desktop/images/11042025/21/44/image_11042025_21_45_04_10349.jpg
/home/pi/Desktop/images/11042025/21/45/image_11042025_21_45_15_10426.jpg
/home/pi/Desktop/images/11042025/21/45/image_11042025_21_45_24_9471.jpg
/home/pi/Desktop/images/11042025/21/45/image_11042025_21_45_35_10385.jpg
/home/pi/Desktop/images/11042025/21/45/image_11042025_21_45_44_9427.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":["1351944067","1351944031","1351943965","1351944090","1351944237","1351944206"],"photo_ids_order":["1351943965","1351944031","1351944067","1351944090","1351944206","1351944237"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f9c96416743a592f6c273170b430eb68.jpg","text":"TemporaryFile(/tmp/multipartBody2836677190530003838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744405292930,"filename":"image_11042025_21_45_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/11/81e423706b6792e18a69261924fca82e.jpg","text":"TemporaryFile(/tmp/multipartBody595218505407477286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744405292930,"filename":"image_11042025_21_45_04_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/56226984089bd60954f68e05a9f9f9fa.jpg","text":"TemporaryFile(/tmp/multipartBody3595709382588397697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744405292930,"filename":"image_11042025_21_44_54_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/11/83a3e1ccfef29b3d0adfc7165f7f8319.jpg","text":"TemporaryFile(/tmp/multipartBody1351755422271779941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744405292930,"filename":"image_11042025_21_45_24_9471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d8ed5c1f56e8ff70b0a8a7a0838d0a1e.jpg","text":"TemporaryFile(/tmp/multipartBody2891786310536930115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744405292930,"filename":"image_11042025_21_45_44_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f71050147311a395b8e8a71bb3402be3.jpg","text":"TemporaryFile(/tmp/multipartBody2241532525709293289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744405292930,"filename":"image_11042025_21_45_35_10385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351944067","file1":"1351944031","file0":"1351943965","file4":"1351944206","file5":"1351944237","file3":"1351944090"},"map_files_photo_id_array":[{"photo_id":"1351944237","filename":"file5"},{"photo_id":"1351944067","filename":"file2"},{"photo_id":"1351944206","filename":"file4"},{"photo_id":"1351944031","filename":"file1"},{"photo_id":"1351943965","filename":"file0"},{"photo_id":"1351944090","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351944067":["hashtag1","hashtag2"]},{"1351944031":["hashtag1","hashtag2"]},{"1351943965":["hashtag1","hashtag2"]},{"1351944090":["hashtag1","hashtag2"]},{"1351944237":["hashtag1","hashtag2"]},{"1351944206":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351944067, 1351944031, 1351943965, 1351944090, 1351944237, 1351944206)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 67.76206398010254 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 23:01:42.706818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/21/45/image_11042025_21_45_54_10411.jpg', '/home/pi/Desktop/images/11042025/21/45/image_11042025_21_46_05_10426.jpg', '/home/pi/Desktop/images/11042025/21/46/image_11042025_21_46_14_9427.jpg', '/home/pi/Desktop/images/11042025/21/46/image_11042025_21_46_25_10368.jpg', '/home/pi/Desktop/images/11042025/21/46/image_11042025_21_46_34_9428.jpg', '/home/pi/Desktop/images/11042025/21/46/image_11042025_21_46_44_10373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/21/45/image_11042025_21_45_54_10411.jpg
/home/pi/Desktop/images/11042025/21/45/image_11042025_21_46_05_10426.jpg
/home/pi/Desktop/images/11042025/21/46/image_11042025_21_46_14_9427.jpg
/home/pi/Desktop/images/11042025/21/46/image_11042025_21_46_25_10368.jpg
/home/pi/Desktop/images/11042025/21/46/image_11042025_21_46_34_9428.jpg
/home/pi/Desktop/images/11042025/21/46/image_11042025_21_46_44_10373.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351944277","1351944424","1351944427","1351944398","1351944311","1351944280"],"photo_ids_order":["1351944277","1351944280","1351944311","1351944398","1351944424","1351944427"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0c9890468348e15adc2a9c7570444963.jpg","text":"TemporaryFile(/tmp/multipartBody7195843471635747130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744405363173,"filename":"image_11042025_21_45_54_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6a4cf3ed4f31859a3e45af365cdb9319.jpg","text":"TemporaryFile(/tmp/multipartBody4848420473601993221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744405363173,"filename":"image_11042025_21_46_34_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/756cadd626462618482dd76650f6eca9.jpg","text":"TemporaryFile(/tmp/multipartBody486040651339076638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744405363173,"filename":"image_11042025_21_46_44_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/11/738c1ce117a53dd52a60264d08b9bbbd.jpg","text":"TemporaryFile(/tmp/multipartBody6839663679741274870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744405363173,"filename":"image_11042025_21_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/11/5c172d8b8a12da42640aecc16a1c36df.jpg","text":"TemporaryFile(/tmp/multipartBody3889149885514892153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744405363173,"filename":"image_11042025_21_46_14_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4d9fabe8c0ba6f7324168823edf9dda4.jpg","text":"TemporaryFile(/tmp/multipartBody1037288384813824086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744405363173,"filename":"image_11042025_21_46_05_10426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351944311","file1":"1351944280","file0":"1351944277","file4":"1351944424","file5":"1351944427","file3":"1351944398"},"map_files_photo_id_array":[{"photo_id":"1351944427","filename":"file5"},{"photo_id":"1351944311","filename":"file2"},{"photo_id":"1351944424","filename":"file4"},{"photo_id":"1351944280","filename":"file1"},{"photo_id":"1351944277","filename":"file0"},{"photo_id":"1351944398","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351944277":["hashtag1","hashtag2"]},{"1351944424":["hashtag1","hashtag2"]},{"1351944427":["hashtag1","hashtag2"]},{"1351944398":["hashtag1","hashtag2"]},{"1351944311":["hashtag1","hashtag2"]},{"1351944280":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351944277, 1351944424, 1351944427, 1351944398, 1351944311, 1351944280)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.71648073196411 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 23:02:32.888991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/21/46/image_11042025_21_46_55_10397.jpg', '/home/pi/Desktop/images/11042025/21/46/image_11042025_21_47_04_9433.jpg', '/home/pi/Desktop/images/11042025/21/47/image_11042025_21_47_34_10363.jpg', '/home/pi/Desktop/images/11042025/21/47/image_11042025_21_47_45_10371.jpg', '/home/pi/Desktop/images/11042025/21/47/image_11042025_21_47_54_9439.jpg', '/home/pi/Desktop/images/11042025/21/47/image_11042025_21_48_05_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/21/46/image_11042025_21_46_55_10397.jpg
/home/pi/Desktop/images/11042025/21/46/image_11042025_21_47_04_9433.jpg
/home/pi/Desktop/images/11042025/21/47/image_11042025_21_47_34_10363.jpg
/home/pi/Desktop/images/11042025/21/47/image_11042025_21_47_45_10371.jpg
/home/pi/Desktop/images/11042025/21/47/image_11042025_21_47_54_9439.jpg
/home/pi/Desktop/images/11042025/21/47/image_11042025_21_48_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":["1351944442","1351944439","1351944468","1351944435","1351944476","1351944487"],"photo_ids_order":["1351944435","1351944439","1351944442","1351944468","1351944476","1351944487"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a1541d5632256fd6026e48c607d6f679.jpg","text":"TemporaryFile(/tmp/multipartBody2958208594992012117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744405413378,"filename":"image_11042025_21_47_34_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ff2b190fc3d64fd0648793cf4c40d2ec.jpg","text":"TemporaryFile(/tmp/multipartBody3536279370810558874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744405413378,"filename":"image_11042025_21_47_04_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6bb46552e6553c74895a3246dcee7bb1.jpg","text":"TemporaryFile(/tmp/multipartBody3753348225108080444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744405413378,"filename":"image_11042025_21_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/11/932ad6939dc671a8726494714ccc2708.jpg","text":"TemporaryFile(/tmp/multipartBody7006396164810487671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744405413378,"filename":"image_11042025_21_46_55_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/67c210b82aafdf16eea0ce7b1ae209e7.jpg","text":"TemporaryFile(/tmp/multipartBody1736669874059982585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744405413378,"filename":"image_11042025_21_47_54_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/93401a130228d6bcd0c723b9b7cd96e0.jpg","text":"TemporaryFile(/tmp/multipartBody645466657458902823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744405413378,"filename":"image_11042025_21_48_05_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351944442","file1":"1351944439","file0":"1351944435","file4":"1351944476","file5":"1351944487","file3":"1351944468"},"map_files_photo_id_array":[{"photo_id":"1351944487","filename":"file5"},{"photo_id":"1351944442","filename":"file2"},{"photo_id":"1351944476","filename":"file4"},{"photo_id":"1351944439","filename":"file1"},{"photo_id":"1351944435","filename":"file0"},{"photo_id":"1351944468","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351944442":["hashtag1","hashtag2"]},{"1351944439":["hashtag1","hashtag2"]},{"1351944468":["hashtag1","hashtag2"]},{"1351944435":["hashtag1","hashtag2"]},{"1351944476":["hashtag1","hashtag2"]},{"1351944487":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351944442, 1351944439, 1351944468, 1351944435, 1351944476, 1351944487)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.821584701538086 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 23:03:33.227971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/21/48/image_11042025_21_48_14_9355.jpg', '/home/pi/Desktop/images/11042025/21/48/image_11042025_21_48_35_10476.jpg', '/home/pi/Desktop/images/11042025/21/48/image_11042025_21_48_44_9422.jpg', '/home/pi/Desktop/images/11042025/21/48/image_11042025_21_48_55_10353.jpg', '/home/pi/Desktop/images/11042025/21/48/image_11042025_21_49_04_9346.jpg', '/home/pi/Desktop/images/11042025/21/49/image_11042025_21_49_14_10431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/21/48/image_11042025_21_48_14_9355.jpg
/home/pi/Desktop/images/11042025/21/48/image_11042025_21_48_35_10476.jpg
/home/pi/Desktop/images/11042025/21/48/image_11042025_21_48_44_9422.jpg
/home/pi/Desktop/images/11042025/21/48/image_11042025_21_48_55_10353.jpg
/home/pi/Desktop/images/11042025/21/48/image_11042025_21_49_04_9346.jpg
/home/pi/Desktop/images/11042025/21/49/image_11042025_21_49_14_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":["1351944506","1351944555","1351944636","1351944510","1351944596","1351944521"],"photo_ids_order":["1351944506","1351944510","1351944521","1351944555","1351944596","1351944636"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3337d7cff16376fca116fac8c19c9f43.jpg","text":"TemporaryFile(/tmp/multipartBody6137969716982362514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744405473699,"filename":"image_11042025_21_48_14_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e629bdae5b5c09bd8b8979fc0de89d5f.jpg","text":"TemporaryFile(/tmp/multipartBody4933671833165423016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744405473699,"filename":"image_11042025_21_48_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/11/1374fb2df2c0fb6dbb92c446022c5b20.jpg","text":"TemporaryFile(/tmp/multipartBody2221543885464845354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744405473699,"filename":"image_11042025_21_49_14_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e023c9a8b68223caa180e301c3e973b3.jpg","text":"TemporaryFile(/tmp/multipartBody7572390435149620231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744405473699,"filename":"image_11042025_21_48_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/11/d7501c6a8822ad25befa6bfea52cdbff.jpg","text":"TemporaryFile(/tmp/multipartBody6254062552458221916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744405473699,"filename":"image_11042025_21_49_04_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d651c13a6b5d6c4dc4ac98dacb541029.jpg","text":"TemporaryFile(/tmp/multipartBody4887098239818950150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744405473699,"filename":"image_11042025_21_48_44_9422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351944521","file1":"1351944510","file0":"1351944506","file4":"1351944596","file5":"1351944636","file3":"1351944555"},"map_files_photo_id_array":[{"photo_id":"1351944636","filename":"file5"},{"photo_id":"1351944521","filename":"file2"},{"photo_id":"1351944596","filename":"file4"},{"photo_id":"1351944510","filename":"file1"},{"photo_id":"1351944506","filename":"file0"},{"photo_id":"1351944555","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351944506":["hashtag1","hashtag2"]},{"1351944555":["hashtag1","hashtag2"]},{"1351944636":["hashtag1","hashtag2"]},{"1351944510":["hashtag1","hashtag2"]},{"1351944596":["hashtag1","hashtag2"]},{"1351944521":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351944506, 1351944555, 1351944636, 1351944510, 1351944596, 1351944521)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.91717791557312 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 23:04:32.349809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/21/49/image_11042025_21_49_25_10383.jpg', '/home/pi/Desktop/images/11042025/21/49/image_11042025_21_49_34_9404.jpg', '/home/pi/Desktop/images/11042025/21/49/image_11042025_21_49_45_10378.jpg', '/home/pi/Desktop/images/11042025/21/49/image_11042025_21_49_54_9362.jpg', '/home/pi/Desktop/images/11042025/21/49/image_11042025_21_50_04_10441.jpg', '/home/pi/Desktop/images/11042025/21/50/image_11042025_21_50_15_10396.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/21/49/image_11042025_21_49_25_10383.jpg
/home/pi/Desktop/images/11042025/21/49/image_11042025_21_49_34_9404.jpg
/home/pi/Desktop/images/11042025/21/49/image_11042025_21_49_45_10378.jpg
/home/pi/Desktop/images/11042025/21/49/image_11042025_21_49_54_9362.jpg
/home/pi/Desktop/images/11042025/21/49/image_11042025_21_50_04_10441.jpg
/home/pi/Desktop/images/11042025/21/50/image_11042025_21_50_15_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":["1351944969","1351944891","1351944870","1351945002","1351944915","1351945031"],"photo_ids_order":["1351944870","1351944891","1351944915","1351944969","1351945002","1351945031"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7b19d9a13f036b3a77b49b4fba1caa58.jpg","text":"TemporaryFile(/tmp/multipartBody4136363056275981270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744405532831,"filename":"image_11042025_21_49_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/11/1dcc669d00f6a65786a642990a8b28ef.jpg","text":"TemporaryFile(/tmp/multipartBody1987527167616224828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744405532831,"filename":"image_11042025_21_49_34_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/47d85affcd3e16fbab15868aa52f973e.jpg","text":"TemporaryFile(/tmp/multipartBody6950839790727581168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744405532831,"filename":"image_11042025_21_49_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/11/dd1a66027deeaaee35c2fc12215fbc6b.jpg","text":"TemporaryFile(/tmp/multipartBody5747164164529740742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744405532831,"filename":"image_11042025_21_50_04_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/11/fea5f27c2b7996f9fc0cbb157a200c07.jpg","text":"TemporaryFile(/tmp/multipartBody395978502177791723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744405532831,"filename":"image_11042025_21_49_45_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/16dbcb41be7748f1ea2ddc52d75f160c.jpg","text":"TemporaryFile(/tmp/multipartBody2940054437487499414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744405532831,"filename":"image_11042025_21_50_15_10396.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351944915","file1":"1351944891","file0":"1351944870","file4":"1351945002","file5":"1351945031","file3":"1351944969"},"map_files_photo_id_array":[{"photo_id":"1351945031","filename":"file5"},{"photo_id":"1351944915","filename":"file2"},{"photo_id":"1351945002","filename":"file4"},{"photo_id":"1351944891","filename":"file1"},{"photo_id":"1351944870","filename":"file0"},{"photo_id":"1351944969","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351944969":["hashtag1","hashtag2"]},{"1351944891":["hashtag1","hashtag2"]},{"1351944870":["hashtag1","hashtag2"]},{"1351945002":["hashtag1","hashtag2"]},{"1351944915":["hashtag1","hashtag2"]},{"1351945031":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351944969, 1351944891, 1351944870, 1351945002, 1351944915, 1351945031)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.2373628616333 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 23:05:32.677843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/21/50/image_11042025_21_50_24_9404.jpg', '/home/pi/Desktop/images/11042025/21/50/image_11042025_21_50_35_10359.jpg', '/home/pi/Desktop/images/11042025/21/50/image_11042025_21_50_45_10374.jpg', '/home/pi/Desktop/images/11042025/21/50/image_11042025_21_50_54_9363.jpg', '/home/pi/Desktop/images/11042025/21/50/image_11042025_21_51_05_10367.jpg', '/home/pi/Desktop/images/11042025/21/51/image_11042025_21_51_14_9397.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/21/50/image_11042025_21_50_24_9404.jpg
/home/pi/Desktop/images/11042025/21/50/image_11042025_21_50_35_10359.jpg
/home/pi/Desktop/images/11042025/21/50/image_11042025_21_50_45_10374.jpg
/home/pi/Desktop/images/11042025/21/50/image_11042025_21_50_54_9363.jpg
/home/pi/Desktop/images/11042025/21/50/image_11042025_21_51_05_10367.jpg
/home/pi/Desktop/images/11042025/21/51/image_11042025_21_51_14_9397.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351945459","1351945423","1351945350","1351945373","1351945325","1351945399"],"photo_ids_order":["1351945325","1351945350","1351945373","1351945399","1351945423","1351945459"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/63463affe11f05bbebddcedf4226f649.jpg","text":"TemporaryFile(/tmp/multipartBody4568613848487557774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744405593150,"filename":"image_11042025_21_51_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/11/a84d99c827ca611d6bf229c8dc04775e.jpg","text":"TemporaryFile(/tmp/multipartBody2267908558299521745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744405593150,"filename":"image_11042025_21_51_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/11/43dc031c409e30e8241dd7f5c9c0c533.jpg","text":"TemporaryFile(/tmp/multipartBody5709972787123498182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744405593150,"filename":"image_11042025_21_50_35_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/44ec81217774dabb7318eea88c7337ab.jpg","text":"TemporaryFile(/tmp/multipartBody6265622389097126936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744405593150,"filename":"image_11042025_21_50_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/11/3bab856d2da5494dd1c721a62b0f038a.jpg","text":"TemporaryFile(/tmp/multipartBody229968443087835702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744405593150,"filename":"image_11042025_21_50_24_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5d5f57a142974b5cc98b61048735e24e.jpg","text":"TemporaryFile(/tmp/multipartBody8927148408930069246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744405593150,"filename":"image_11042025_21_50_54_9363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351945373","file1":"1351945350","file0":"1351945325","file4":"1351945423","file5":"1351945459","file3":"1351945399"},"map_files_photo_id_array":[{"photo_id":"1351945459","filename":"file5"},{"photo_id":"1351945373","filename":"file2"},{"photo_id":"1351945423","filename":"file4"},{"photo_id":"1351945350","filename":"file1"},{"photo_id":"1351945325","filename":"file0"},{"photo_id":"1351945399","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351945459":["hashtag1","hashtag2"]},{"1351945423":["hashtag1","hashtag2"]},{"1351945350":["hashtag1","hashtag2"]},{"1351945373":["hashtag1","hashtag2"]},{"1351945325":["hashtag1","hashtag2"]},{"1351945399":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351945459, 1351945423, 1351945350, 1351945373, 1351945325, 1351945399)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.768905878067017 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 23:06:32.851683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/21/51/image_11042025_21_51_25_10484.jpg', '/home/pi/Desktop/images/11042025/21/51/image_11042025_21_51_34_9428.jpg', '/home/pi/Desktop/images/11042025/21/51/image_11042025_21_51_44_10463.jpg', '/home/pi/Desktop/images/11042025/21/51/image_11042025_21_51_55_10403.jpg', '/home/pi/Desktop/images/11042025/21/51/image_11042025_21_52_04_9432.jpg', '/home/pi/Desktop/images/11042025/21/52/image_11042025_21_52_15_10385.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/21/51/image_11042025_21_51_25_10484.jpg
/home/pi/Desktop/images/11042025/21/51/image_11042025_21_51_34_9428.jpg
/home/pi/Desktop/images/11042025/21/51/image_11042025_21_51_44_10463.jpg
/home/pi/Desktop/images/11042025/21/51/image_11042025_21_51_55_10403.jpg
/home/pi/Desktop/images/11042025/21/51/image_11042025_21_52_04_9432.jpg
/home/pi/Desktop/images/11042025/21/52/image_11042025_21_52_15_10385.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351945695","1351945749","1351945743","1351945737","1351945746","1351945719"],"photo_ids_order":["1351945695","1351945719","1351945737","1351945743","1351945746","1351945749"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d9309f2af7cb89a3251a34fe5879a703.jpg","text":"TemporaryFile(/tmp/multipartBody4997647669911086305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744405653335,"filename":"image_11042025_21_51_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/11/c16dfb275709824d7068355f2eadb47d.jpg","text":"TemporaryFile(/tmp/multipartBody836565312739528048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744405653335,"filename":"image_11042025_21_52_15_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f139b41d7c76722a3b94582be9b0c7a9.jpg","text":"TemporaryFile(/tmp/multipartBody8137327429749514794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744405653335,"filename":"image_11042025_21_51_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/11/8e272b21c352a7b9be2a07182f8abafc.jpg","text":"TemporaryFile(/tmp/multipartBody9213002952142183197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744405653335,"filename":"image_11042025_21_51_44_10463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b2a0ff31d668ef60e75beefcf66add5c.jpg","text":"TemporaryFile(/tmp/multipartBody2275710962856307031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744405653335,"filename":"image_11042025_21_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/11/7c791e9463bf236a2ff767fb54558acf.jpg","text":"TemporaryFile(/tmp/multipartBody5072569727733401351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744405653335,"filename":"image_11042025_21_51_34_9428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351945737","file1":"1351945719","file0":"1351945695","file4":"1351945746","file5":"1351945749","file3":"1351945743"},"map_files_photo_id_array":[{"photo_id":"1351945749","filename":"file5"},{"photo_id":"1351945737","filename":"file2"},{"photo_id":"1351945746","filename":"file4"},{"photo_id":"1351945719","filename":"file1"},{"photo_id":"1351945695","filename":"file0"},{"photo_id":"1351945743","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351945695":["hashtag1","hashtag2"]},{"1351945749":["hashtag1","hashtag2"]},{"1351945743":["hashtag1","hashtag2"]},{"1351945737":["hashtag1","hashtag2"]},{"1351945746":["hashtag1","hashtag2"]},{"1351945719":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351945695, 1351945749, 1351945743, 1351945737, 1351945746, 1351945719)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.92987823486328 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 23:07:32.985149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/21/52/image_11042025_21_52_34_10371.jpg', '/home/pi/Desktop/images/11042025/21/52/image_11042025_21_52_45_10375.jpg', '/home/pi/Desktop/images/11042025/21/52/image_11042025_21_52_54_9412.jpg', '/home/pi/Desktop/images/11042025/21/52/image_11042025_21_53_05_10467.jpg', '/home/pi/Desktop/images/11042025/21/53/image_11042025_21_53_14_9341.jpg', '/home/pi/Desktop/images/11042025/21/53/image_11042025_21_53_24_10418.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/21/52/image_11042025_21_52_34_10371.jpg
/home/pi/Desktop/images/11042025/21/52/image_11042025_21_52_45_10375.jpg
/home/pi/Desktop/images/11042025/21/52/image_11042025_21_52_54_9412.jpg
/home/pi/Desktop/images/11042025/21/52/image_11042025_21_53_05_10467.jpg
/home/pi/Desktop/images/11042025/21/53/image_11042025_21_53_14_9341.jpg
/home/pi/Desktop/images/11042025/21/53/image_11042025_21_53_24_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":["1351946232","1351946043","1351946174","1351946129","1351946000","1351946305"],"photo_ids_order":["1351946000","1351946043","1351946129","1351946174","1351946232","1351946305"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2ae5b28e773ad955cab6c15ba9d97e39.jpg","text":"TemporaryFile(/tmp/multipartBody9104610886832036168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744405713455,"filename":"image_11042025_21_53_14_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/eabeda84bb2f18edc50b72471b75c325.jpg","text":"TemporaryFile(/tmp/multipartBody6335600141205105664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744405713455,"filename":"image_11042025_21_52_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/11/e6bc9562f287049cb3e3670c892f0855.jpg","text":"TemporaryFile(/tmp/multipartBody4334301372485670852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744405713455,"filename":"image_11042025_21_53_05_10467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/cc693d79e94628cf9676d8f488a2c871.jpg","text":"TemporaryFile(/tmp/multipartBody6436761544565401517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744405713455,"filename":"image_11042025_21_52_54_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c1aaad9f0718c630ef5662542c38917c.jpg","text":"TemporaryFile(/tmp/multipartBody4334598248621940150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744405713455,"filename":"image_11042025_21_52_34_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2a18a0503326f85607f13c9994035293.jpg","text":"TemporaryFile(/tmp/multipartBody5525038952627124190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744405713455,"filename":"image_11042025_21_53_24_10418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351946129","file1":"1351946043","file0":"1351946000","file4":"1351946232","file5":"1351946305","file3":"1351946174"},"map_files_photo_id_array":[{"photo_id":"1351946305","filename":"file5"},{"photo_id":"1351946129","filename":"file2"},{"photo_id":"1351946232","filename":"file4"},{"photo_id":"1351946043","filename":"file1"},{"photo_id":"1351946000","filename":"file0"},{"photo_id":"1351946174","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351946232":["hashtag1","hashtag2"]},{"1351946043":["hashtag1","hashtag2"]},{"1351946174":["hashtag1","hashtag2"]},{"1351946129":["hashtag1","hashtag2"]},{"1351946000":["hashtag1","hashtag2"]},{"1351946305":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351946232, 1351946043, 1351946174, 1351946129, 1351946000, 1351946305)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.483704328536987 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 23:08:32.238982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/21/53/image_11042025_21_53_44_9429.jpg', '/home/pi/Desktop/images/11042025/21/53/image_11042025_21_54_04_9372.jpg', '/home/pi/Desktop/images/11042025/21/54/image_11042025_21_54_14_10357.jpg', '/home/pi/Desktop/images/11042025/21/54/image_11042025_21_54_25_10238.jpg', '/home/pi/Desktop/images/11042025/21/54/image_11042025_21_54_34_9426.jpg', '/home/pi/Desktop/images/11042025/21/54/image_11042025_21_54_44_10410.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/21/53/image_11042025_21_53_44_9429.jpg
/home/pi/Desktop/images/11042025/21/53/image_11042025_21_54_04_9372.jpg
/home/pi/Desktop/images/11042025/21/54/image_11042025_21_54_14_10357.jpg
/home/pi/Desktop/images/11042025/21/54/image_11042025_21_54_25_10238.jpg
/home/pi/Desktop/images/11042025/21/54/image_11042025_21_54_34_9426.jpg
/home/pi/Desktop/images/11042025/21/54/image_11042025_21_54_44_10410.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351946777","1351946678","1351946879","1351946834","1351946708","1351946806"],"photo_ids_order":["1351946678","1351946708","1351946777","1351946806","1351946834","1351946879"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0884b2fab3f32aab07dc448fd210a529.jpg","text":"TemporaryFile(/tmp/multipartBody5767732201034430133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744405772709,"filename":"image_11042025_21_54_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/11/ba8813524311ffea948c7a216ebc155f.jpg","text":"TemporaryFile(/tmp/multipartBody4767593208366894733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744405772709,"filename":"image_11042025_21_53_44_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7c50134491040b3d4de64730e75e7457.jpg","text":"TemporaryFile(/tmp/multipartBody4796918875121399471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744405772709,"filename":"image_11042025_21_54_44_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9cef2f72ff38ac1bbcafe321425ebbe3.jpg","text":"TemporaryFile(/tmp/multipartBody6066477755817840590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744405772709,"filename":"image_11042025_21_54_34_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2b7c479ad19ed089981d17f8ee3e21c0.jpg","text":"TemporaryFile(/tmp/multipartBody4301473272225885489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744405772709,"filename":"image_11042025_21_54_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/11/92c2a4f9937d42ac5339cac11d465647.jpg","text":"TemporaryFile(/tmp/multipartBody6251004394726945943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744405772709,"filename":"image_11042025_21_54_25_10238.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351946777","file1":"1351946708","file0":"1351946678","file4":"1351946834","file5":"1351946879","file3":"1351946806"},"map_files_photo_id_array":[{"photo_id":"1351946879","filename":"file5"},{"photo_id":"1351946777","filename":"file2"},{"photo_id":"1351946834","filename":"file4"},{"photo_id":"1351946708","filename":"file1"},{"photo_id":"1351946678","filename":"file0"},{"photo_id":"1351946806","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351946777":["hashtag1","hashtag2"]},{"1351946678":["hashtag1","hashtag2"]},{"1351946879":["hashtag1","hashtag2"]},{"1351946834":["hashtag1","hashtag2"]},{"1351946708":["hashtag1","hashtag2"]},{"1351946806":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351946777, 1351946678, 1351946879, 1351946834, 1351946708, 1351946806)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.28775644302368 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 23:09:32.474063
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/21/54/image_11042025_21_54_55_10374.jpg', '/home/pi/Desktop/images/11042025/21/54/image_11042025_21_55_04_9358.jpg', '/home/pi/Desktop/images/11042025/21/55/image_11042025_21_55_15_10362.jpg', '/home/pi/Desktop/images/11042025/21/55/image_11042025_21_55_24_9451.jpg', '/home/pi/Desktop/images/11042025/21/55/image_11042025_21_55_34_10453.jpg', '/home/pi/Desktop/images/11042025/21/55/image_11042025_21_55_45_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/21/54/image_11042025_21_54_55_10374.jpg
/home/pi/Desktop/images/11042025/21/54/image_11042025_21_55_04_9358.jpg
/home/pi/Desktop/images/11042025/21/55/image_11042025_21_55_15_10362.jpg
/home/pi/Desktop/images/11042025/21/55/image_11042025_21_55_24_9451.jpg
/home/pi/Desktop/images/11042025/21/55/image_11042025_21_55_34_10453.jpg
/home/pi/Desktop/images/11042025/21/55/image_11042025_21_55_45_10370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351947345","1351947207","1351947245","1351947407","1351947297","1351947177"],"photo_ids_order":["1351947177","1351947207","1351947245","1351947297","1351947345","1351947407"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/34cff31908219a13d6225fb2862ae793.jpg","text":"TemporaryFile(/tmp/multipartBody127896082096136439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744405832950,"filename":"image_11042025_21_55_34_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b1bd926a1a3341e1b2ac9dc111ca8de1.jpg","text":"TemporaryFile(/tmp/multipartBody2902263359555370753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744405832950,"filename":"image_11042025_21_55_04_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/993b5a84e90a22d41e336167291d83df.jpg","text":"TemporaryFile(/tmp/multipartBody6831564795406564461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744405832950,"filename":"image_11042025_21_55_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/11/7d7b61a0e9b5bbfb3c26507c2773637d.jpg","text":"TemporaryFile(/tmp/multipartBody8945339557050393689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744405832950,"filename":"image_11042025_21_55_45_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c8efdbcad8e8b7b49813fe0793bfaaae.jpg","text":"TemporaryFile(/tmp/multipartBody7573290592526699232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744405832950,"filename":"image_11042025_21_55_24_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/86d2ecbc017bb7bc8dfd929cc1abd2e5.jpg","text":"TemporaryFile(/tmp/multipartBody1656501202840025270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744405832950,"filename":"image_11042025_21_54_55_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351947245","file1":"1351947207","file0":"1351947177","file4":"1351947345","file5":"1351947407","file3":"1351947297"},"map_files_photo_id_array":[{"photo_id":"1351947407","filename":"file5"},{"photo_id":"1351947245","filename":"file2"},{"photo_id":"1351947345","filename":"file4"},{"photo_id":"1351947207","filename":"file1"},{"photo_id":"1351947177","filename":"file0"},{"photo_id":"1351947297","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351947345":["hashtag1","hashtag2"]},{"1351947207":["hashtag1","hashtag2"]},{"1351947245":["hashtag1","hashtag2"]},{"1351947407":["hashtag1","hashtag2"]},{"1351947297":["hashtag1","hashtag2"]},{"1351947177":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351947345, 1351947207, 1351947245, 1351947407, 1351947297, 1351947177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.79725122451782 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 23:10:32.697113
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/21/55/image_11042025_21_55_54_9363.jpg', '/home/pi/Desktop/images/11042025/21/55/image_11042025_21_56_05_10371.jpg', '/home/pi/Desktop/images/11042025/21/56/image_11042025_21_56_14_9370.jpg', '/home/pi/Desktop/images/11042025/21/56/image_11042025_21_56_24_10474.jpg', '/home/pi/Desktop/images/11042025/21/56/image_11042025_21_56_35_10348.jpg', '/home/pi/Desktop/images/11042025/21/56/image_11042025_21_56_44_9476.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/21/55/image_11042025_21_55_54_9363.jpg
/home/pi/Desktop/images/11042025/21/55/image_11042025_21_56_05_10371.jpg
/home/pi/Desktop/images/11042025/21/56/image_11042025_21_56_14_9370.jpg
/home/pi/Desktop/images/11042025/21/56/image_11042025_21_56_24_10474.jpg
/home/pi/Desktop/images/11042025/21/56/image_11042025_21_56_35_10348.jpg
/home/pi/Desktop/images/11042025/21/56/image_11042025_21_56_44_9476.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351947899","1351947986","1351947902","1351947922","1351947894","1351947957"],"photo_ids_order":["1351947894","1351947899","1351947902","1351947922","1351947957","1351947986"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a3471941031203e8b02c68bd8b81ef7e.jpg","text":"TemporaryFile(/tmp/multipartBody333985540256664236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744405893258,"filename":"image_11042025_21_56_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/11/c345406408575d449c4f8e6fa5bac6b1.jpg","text":"TemporaryFile(/tmp/multipartBody6216650798930704604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744405893258,"filename":"image_11042025_21_56_44_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/11/c568c00fd0d6830950e4b773a95e3f8d.jpg","text":"TemporaryFile(/tmp/multipartBody5261777126781908441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744405893258,"filename":"image_11042025_21_56_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/11/18c5a9d19beb20cc9147579e84d89684.jpg","text":"TemporaryFile(/tmp/multipartBody5283213175959773986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744405893258,"filename":"image_11042025_21_56_24_10474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ab270f261140a15ab755c167ea8f29aa.jpg","text":"TemporaryFile(/tmp/multipartBody6728134880404926524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744405893258,"filename":"image_11042025_21_55_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/11/397c85a1ec72344887fc4da7096067c6.jpg","text":"TemporaryFile(/tmp/multipartBody6922628169180324984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744405893258,"filename":"image_11042025_21_56_35_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351947902","file1":"1351947899","file0":"1351947894","file4":"1351947957","file5":"1351947986","file3":"1351947922"},"map_files_photo_id_array":[{"photo_id":"1351947986","filename":"file5"},{"photo_id":"1351947902","filename":"file2"},{"photo_id":"1351947957","filename":"file4"},{"photo_id":"1351947899","filename":"file1"},{"photo_id":"1351947894","filename":"file0"},{"photo_id":"1351947922","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351947899":["hashtag1","hashtag2"]},{"1351947986":["hashtag1","hashtag2"]},{"1351947902":["hashtag1","hashtag2"]},{"1351947922":["hashtag1","hashtag2"]},{"1351947894":["hashtag1","hashtag2"]},{"1351947957":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351947899, 1351947986, 1351947902, 1351947922, 1351947894, 1351947957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.3827338218689 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 23:11:32.901675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/21/56/image_11042025_21_56_55_10440.jpg', '/home/pi/Desktop/images/11042025/21/56/image_11042025_21_57_04_9462.jpg', '/home/pi/Desktop/images/11042025/21/57/image_11042025_21_57_14_10348.jpg', '/home/pi/Desktop/images/11042025/21/57/image_11042025_21_57_24_9430.jpg', '/home/pi/Desktop/images/11042025/21/57/image_11042025_21_57_34_10458.jpg', '/home/pi/Desktop/images/11042025/21/57/image_11042025_21_57_45_10376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/21/56/image_11042025_21_56_55_10440.jpg
/home/pi/Desktop/images/11042025/21/56/image_11042025_21_57_04_9462.jpg
/home/pi/Desktop/images/11042025/21/57/image_11042025_21_57_14_10348.jpg
/home/pi/Desktop/images/11042025/21/57/image_11042025_21_57_24_9430.jpg
/home/pi/Desktop/images/11042025/21/57/image_11042025_21_57_34_10458.jpg
/home/pi/Desktop/images/11042025/21/57/image_11042025_21_57_45_10376.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351948157","1351948118","1351948112","1351948106","1351948102","1351948095"],"photo_ids_order":["1351948095","1351948102","1351948106","1351948112","1351948118","1351948157"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4a4ae0be1574010cbd67e4fefaf96b97.jpg","text":"TemporaryFile(/tmp/multipartBody2991270761401246104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744405953370,"filename":"image_11042025_21_57_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/11/2cfe83d21272f0aa894a1768ef7104aa.jpg","text":"TemporaryFile(/tmp/multipartBody2509003199446538388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744405953370,"filename":"image_11042025_21_57_34_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b96af34bc8eb77f1e7f6f870c994a8ed.jpg","text":"TemporaryFile(/tmp/multipartBody4818562164300095100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744405953370,"filename":"image_11042025_21_57_24_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/11/4376aced926044636b0dd024d2d671c9.jpg","text":"TemporaryFile(/tmp/multipartBody6780301224290905311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744405953370,"filename":"image_11042025_21_57_14_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/986c68fdb8b12bcdfd09928085f7ed06.jpg","text":"TemporaryFile(/tmp/multipartBody7387317454006790691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744405953370,"filename":"image_11042025_21_57_04_9462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/186f2cb7173ba03db191452e1829a7c5.jpg","text":"TemporaryFile(/tmp/multipartBody2650831791212839223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744405953370,"filename":"image_11042025_21_56_55_10440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351948106","file1":"1351948102","file0":"1351948095","file4":"1351948118","file5":"1351948157","file3":"1351948112"},"map_files_photo_id_array":[{"photo_id":"1351948157","filename":"file5"},{"photo_id":"1351948106","filename":"file2"},{"photo_id":"1351948118","filename":"file4"},{"photo_id":"1351948102","filename":"file1"},{"photo_id":"1351948095","filename":"file0"},{"photo_id":"1351948112","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351948157":["hashtag1","hashtag2"]},{"1351948118":["hashtag1","hashtag2"]},{"1351948112":["hashtag1","hashtag2"]},{"1351948106":["hashtag1","hashtag2"]},{"1351948102":["hashtag1","hashtag2"]},{"1351948095":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351948157, 1351948118, 1351948112, 1351948106, 1351948102, 1351948095)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.21869969367981 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 23:12:33.207080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/21/57/image_11042025_21_57_54_9407.jpg', '/home/pi/Desktop/images/11042025/21/57/image_11042025_21_58_05_10438.jpg', '/home/pi/Desktop/images/11042025/21/58/image_11042025_21_58_14_9418.jpg', '/home/pi/Desktop/images/11042025/21/58/image_11042025_21_58_24_10428.jpg', '/home/pi/Desktop/images/11042025/21/58/image_11042025_21_58_44_9479.jpg', '/home/pi/Desktop/images/11042025/21/58/image_11042025_21_58_55_10372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/21/57/image_11042025_21_57_54_9407.jpg
/home/pi/Desktop/images/11042025/21/57/image_11042025_21_58_05_10438.jpg
/home/pi/Desktop/images/11042025/21/58/image_11042025_21_58_14_9418.jpg
/home/pi/Desktop/images/11042025/21/58/image_11042025_21_58_24_10428.jpg
/home/pi/Desktop/images/11042025/21/58/image_11042025_21_58_44_9479.jpg
/home/pi/Desktop/images/11042025/21/58/image_11042025_21_58_55_10372.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351948442","1351948508","1351948477","1351948531","1351948578","1351948557"],"photo_ids_order":["1351948442","1351948477","1351948508","1351948531","1351948557","1351948578"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/26804b99c6cf63ad44749ededf1d5fd0.jpg","text":"TemporaryFile(/tmp/multipartBody4122650903945484989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406013678,"filename":"image_11042025_21_57_54_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2a3d5b8973ab67c45ce1e567762bc8d8.jpg","text":"TemporaryFile(/tmp/multipartBody2007822949993884009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406013678,"filename":"image_11042025_21_58_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/11/9b709684b30c56b3a6b6d9b637f938c0.jpg","text":"TemporaryFile(/tmp/multipartBody8789896137216459790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406013678,"filename":"image_11042025_21_58_05_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/41984b70b7cf235db6d17764b7d567b3.jpg","text":"TemporaryFile(/tmp/multipartBody884455617181888964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406013678,"filename":"image_11042025_21_58_24_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/99c953fa2d0136e423a3346dde34821d.jpg","text":"TemporaryFile(/tmp/multipartBody7068560429608582810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406013678,"filename":"image_11042025_21_58_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/11/349aaec918638408758d320666c9da57.jpg","text":"TemporaryFile(/tmp/multipartBody6692608859791789779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406013678,"filename":"image_11042025_21_58_44_9479.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351948508","file1":"1351948477","file0":"1351948442","file4":"1351948557","file5":"1351948578","file3":"1351948531"},"map_files_photo_id_array":[{"photo_id":"1351948578","filename":"file5"},{"photo_id":"1351948508","filename":"file2"},{"photo_id":"1351948557","filename":"file4"},{"photo_id":"1351948477","filename":"file1"},{"photo_id":"1351948442","filename":"file0"},{"photo_id":"1351948531","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351948442":["hashtag1","hashtag2"]},{"1351948508":["hashtag1","hashtag2"]},{"1351948477":["hashtag1","hashtag2"]},{"1351948531":["hashtag1","hashtag2"]},{"1351948578":["hashtag1","hashtag2"]},{"1351948557":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351948442, 1351948508, 1351948477, 1351948531, 1351948578, 1351948557)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.702863454818726 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 23:13:32.527939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/21/58/image_11042025_21_59_04_9355.jpg', '/home/pi/Desktop/images/11042025/21/59/image_11042025_21_59_14_10418.jpg', '/home/pi/Desktop/images/11042025/21/59/image_11042025_21_59_34_9381.jpg', '/home/pi/Desktop/images/11042025/21/59/image_11042025_21_59_45_10366.jpg', '/home/pi/Desktop/images/11042025/21/59/image_11042025_21_59_54_9352.jpg', '/home/pi/Desktop/images/11042025/22/00/image_11042025_22_00_16_10078.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/21/58/image_11042025_21_59_04_9355.jpg
/home/pi/Desktop/images/11042025/21/59/image_11042025_21_59_14_10418.jpg
/home/pi/Desktop/images/11042025/21/59/image_11042025_21_59_34_9381.jpg
/home/pi/Desktop/images/11042025/21/59/image_11042025_21_59_45_10366.jpg
/home/pi/Desktop/images/11042025/21/59/image_11042025_21_59_54_9352.jpg
/home/pi/Desktop/images/11042025/22/00/image_11042025_22_00_16_10078.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351949003","1351948934","1351949047","1351948885","1351949166","1351949118"],"photo_ids_order":["1351948885","1351948934","1351949003","1351949047","1351949118","1351949166"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/dd4d727c2151b6b4b98d842561725db2.jpg","text":"TemporaryFile(/tmp/multipartBody7454432413058211771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406072997,"filename":"image_11042025_21_59_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/11/dff0f3530a67021f178e453201ef9846.jpg","text":"TemporaryFile(/tmp/multipartBody5956515576510972400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406072997,"filename":"image_11042025_21_59_14_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/aede38d7ca7fea19c13a189e6654ef13.jpg","text":"TemporaryFile(/tmp/multipartBody2153831370678901411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406072997,"filename":"image_11042025_21_59_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/11/f2950b1c77939e1bd16b6b57fb1ac5fe.jpg","text":"TemporaryFile(/tmp/multipartBody711342225428818096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406072997,"filename":"image_11042025_21_59_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/11/75c74240ecfce7ee86aa9e650068138a.jpg","text":"TemporaryFile(/tmp/multipartBody1714574136691727743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406072997,"filename":"image_11042025_22_00_16_10078.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ad715148acf640c9b35917abaeefcb7c.jpg","text":"TemporaryFile(/tmp/multipartBody4955467718539697512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406072997,"filename":"image_11042025_21_59_54_9352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351949003","file1":"1351948934","file0":"1351948885","file4":"1351949118","file5":"1351949166","file3":"1351949047"},"map_files_photo_id_array":[{"photo_id":"1351949166","filename":"file5"},{"photo_id":"1351949003","filename":"file2"},{"photo_id":"1351949118","filename":"file4"},{"photo_id":"1351948934","filename":"file1"},{"photo_id":"1351948885","filename":"file0"},{"photo_id":"1351949047","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351949003":["hashtag1","hashtag2"]},{"1351948934":["hashtag1","hashtag2"]},{"1351949047":["hashtag1","hashtag2"]},{"1351948885":["hashtag1","hashtag2"]},{"1351949166":["hashtag1","hashtag2"]},{"1351949118":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351949003, 1351948934, 1351949047, 1351948885, 1351949166, 1351949118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.183826208114624 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 23:14:32.773167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/22/00/image_11042025_22_00_26_10365.jpg', '/home/pi/Desktop/images/11042025/22/00/image_11042025_22_00_36_10376.jpg', '/home/pi/Desktop/images/11042025/22/00/image_11042025_22_00_56_10440.jpg', '/home/pi/Desktop/images/11042025/22/00/image_11042025_22_01_06_9359.jpg', '/home/pi/Desktop/images/11042025/22/01/image_11042025_22_01_16_10352.jpg', '/home/pi/Desktop/images/11042025/22/01/image_11042025_22_01_36_9358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/22/00/image_11042025_22_00_26_10365.jpg
/home/pi/Desktop/images/11042025/22/00/image_11042025_22_00_36_10376.jpg
/home/pi/Desktop/images/11042025/22/00/image_11042025_22_00_56_10440.jpg
/home/pi/Desktop/images/11042025/22/00/image_11042025_22_01_06_9359.jpg
/home/pi/Desktop/images/11042025/22/01/image_11042025_22_01_16_10352.jpg
/home/pi/Desktop/images/11042025/22/01/image_11042025_22_01_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":["1351950020","1351950187","1351949799","1351949937","1351949888","1351950114"],"photo_ids_order":["1351949799","1351949888","1351949937","1351950020","1351950114","1351950187"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/cb6e074548bf6e563aca623bfc4f4a7d.jpg","text":"TemporaryFile(/tmp/multipartBody6631373070822362118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406133267,"filename":"image_11042025_22_01_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/11/82a2f638487716c6fe3969da97783729.jpg","text":"TemporaryFile(/tmp/multipartBody5300302380194202670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406133267,"filename":"image_11042025_22_01_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/11/0f9e07e2f421f683b3be2af6169fe14f.jpg","text":"TemporaryFile(/tmp/multipartBody5056588797109333655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406133267,"filename":"image_11042025_22_00_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/11/f3df782b7620b9ae0cdbbb9e58d5fde5.jpg","text":"TemporaryFile(/tmp/multipartBody5841857421760558303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406133267,"filename":"image_11042025_22_00_56_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b7c5ed066f28508d15a87424cfeb6cda.jpg","text":"TemporaryFile(/tmp/multipartBody7459821783439745830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406133267,"filename":"image_11042025_22_00_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/11/ec92581dd545fe7a0f13b0daaee75527.jpg","text":"TemporaryFile(/tmp/multipartBody2110628464312069866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406133267,"filename":"image_11042025_22_01_16_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351949937","file1":"1351949888","file0":"1351949799","file4":"1351950114","file5":"1351950187","file3":"1351950020"},"map_files_photo_id_array":[{"photo_id":"1351950187","filename":"file5"},{"photo_id":"1351949937","filename":"file2"},{"photo_id":"1351950114","filename":"file4"},{"photo_id":"1351949888","filename":"file1"},{"photo_id":"1351949799","filename":"file0"},{"photo_id":"1351950020","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351950020":["hashtag1","hashtag2"]},{"1351950187":["hashtag1","hashtag2"]},{"1351949799":["hashtag1","hashtag2"]},{"1351949937":["hashtag1","hashtag2"]},{"1351949888":["hashtag1","hashtag2"]},{"1351950114":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351950020, 1351950187, 1351949799, 1351949937, 1351949888, 1351950114)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.67266821861267 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 23:15:33.024871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/22/01/image_11042025_22_01_56_10357.jpg', '/home/pi/Desktop/images/11042025/22/01/image_11042025_22_02_06_9348.jpg', '/home/pi/Desktop/images/11042025/22/02/image_11042025_22_02_16_10454.jpg', '/home/pi/Desktop/images/11042025/22/02/image_11042025_22_02_26_9478.jpg', '/home/pi/Desktop/images/11042025/22/02/image_11042025_22_02_36_10470.jpg', '/home/pi/Desktop/images/11042025/22/02/image_11042025_22_02_46_9503.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/22/01/image_11042025_22_01_56_10357.jpg
/home/pi/Desktop/images/11042025/22/01/image_11042025_22_02_06_9348.jpg
/home/pi/Desktop/images/11042025/22/02/image_11042025_22_02_16_10454.jpg
/home/pi/Desktop/images/11042025/22/02/image_11042025_22_02_26_9478.jpg
/home/pi/Desktop/images/11042025/22/02/image_11042025_22_02_36_10470.jpg
/home/pi/Desktop/images/11042025/22/02/image_11042025_22_02_46_9503.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351950974","1351952047","1351951870","1351951153","1351951338","1351951469"],"photo_ids_order":["1351950974","1351951153","1351951338","1351951469","1351951870","1351952047"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ccfb8221125891faa5c3632d13fe0d49.jpg","text":"TemporaryFile(/tmp/multipartBody2551207855783393701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406193490,"filename":"image_11042025_22_01_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/11/295649f9ecc05c76c29e6b3305fbb2bd.jpg","text":"TemporaryFile(/tmp/multipartBody5619463645616386389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406193490,"filename":"image_11042025_22_02_46_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/11/e7be9fb626b5529a96c954455ec8b6aa.jpg","text":"TemporaryFile(/tmp/multipartBody4199959189222644345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406193490,"filename":"image_11042025_22_02_36_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/11/203a205898dd1e38689d43a551a3557b.jpg","text":"TemporaryFile(/tmp/multipartBody1413607213031730300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406193490,"filename":"image_11042025_22_02_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/11/35f15f61b333a3dd8e1bdc8df86e27ef.jpg","text":"TemporaryFile(/tmp/multipartBody5351020392037323576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406193490,"filename":"image_11042025_22_02_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/11/2e4777340613d326ffb2958d61ccace4.jpg","text":"TemporaryFile(/tmp/multipartBody3264374298259114024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406193490,"filename":"image_11042025_22_02_26_9478.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351951338","file1":"1351951153","file0":"1351950974","file4":"1351951870","file5":"1351952047","file3":"1351951469"},"map_files_photo_id_array":[{"photo_id":"1351952047","filename":"file5"},{"photo_id":"1351951338","filename":"file2"},{"photo_id":"1351951870","filename":"file4"},{"photo_id":"1351951153","filename":"file1"},{"photo_id":"1351950974","filename":"file0"},{"photo_id":"1351951469","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351950974":["hashtag1","hashtag2"]},{"1351952047":["hashtag1","hashtag2"]},{"1351951870":["hashtag1","hashtag2"]},{"1351951153":["hashtag1","hashtag2"]},{"1351951338":["hashtag1","hashtag2"]},{"1351951469":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351950974, 1351952047, 1351951870, 1351951153, 1351951338, 1351951469)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.23795986175537 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 23:16:32.261624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/22/02/image_11042025_22_02_56_10516.jpg', '/home/pi/Desktop/images/11042025/22/02/image_11042025_22_03_06_9412.jpg', '/home/pi/Desktop/images/11042025/22/03/image_11042025_22_03_26_9483.jpg', '/home/pi/Desktop/images/11042025/22/03/image_11042025_22_03_36_10374.jpg', '/home/pi/Desktop/images/11042025/22/03/image_11042025_22_03_46_10410.jpg', '/home/pi/Desktop/images/11042025/22/03/image_11042025_22_03_56_9373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/22/02/image_11042025_22_02_56_10516.jpg
/home/pi/Desktop/images/11042025/22/02/image_11042025_22_03_06_9412.jpg
/home/pi/Desktop/images/11042025/22/03/image_11042025_22_03_26_9483.jpg
/home/pi/Desktop/images/11042025/22/03/image_11042025_22_03_36_10374.jpg
/home/pi/Desktop/images/11042025/22/03/image_11042025_22_03_46_10410.jpg
/home/pi/Desktop/images/11042025/22/03/image_11042025_22_03_56_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":["1351952776","1351952832","1351952940","1351952984","1351952936","1351952884"],"photo_ids_order":["1351952776","1351952832","1351952884","1351952936","1351952940","1351952984"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7c048ea26685d1f098df1e3634326020.jpg","text":"TemporaryFile(/tmp/multipartBody8370157873559823829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406252745,"filename":"image_11042025_22_02_56_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/11/133db568d866092129acf41b7fec236d.jpg","text":"TemporaryFile(/tmp/multipartBody8532727005146482341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406252745,"filename":"image_11042025_22_03_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/11/4d39e5f615282b26e665b7de86e1f159.jpg","text":"TemporaryFile(/tmp/multipartBody9034926310399301534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406252745,"filename":"image_11042025_22_03_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/11/bb2fcaa3a0232eed4b47917f6e734e11.jpg","text":"TemporaryFile(/tmp/multipartBody5862869389184590514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406252745,"filename":"image_11042025_22_03_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/11/5ab34a6e7f551522c5f47a8afbc7150f.jpg","text":"TemporaryFile(/tmp/multipartBody4105444785530104404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406252745,"filename":"image_11042025_22_03_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/11/46e57c8f07ce3f8c4ffe52d5d8bc9f0d.jpg","text":"TemporaryFile(/tmp/multipartBody1968832420440470803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406252745,"filename":"image_11042025_22_03_26_9483.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351952884","file1":"1351952832","file0":"1351952776","file4":"1351952940","file5":"1351952984","file3":"1351952936"},"map_files_photo_id_array":[{"photo_id":"1351952984","filename":"file5"},{"photo_id":"1351952884","filename":"file2"},{"photo_id":"1351952940","filename":"file4"},{"photo_id":"1351952832","filename":"file1"},{"photo_id":"1351952776","filename":"file0"},{"photo_id":"1351952936","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351952776":["hashtag1","hashtag2"]},{"1351952832":["hashtag1","hashtag2"]},{"1351952940":["hashtag1","hashtag2"]},{"1351952984":["hashtag1","hashtag2"]},{"1351952936":["hashtag1","hashtag2"]},{"1351952884":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351952776, 1351952832, 1351952940, 1351952984, 1351952936, 1351952884)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.13099408149719 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 23:17:32.480305
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/22/03/image_11042025_22_04_06_10395.jpg', '/home/pi/Desktop/images/11042025/22/04/image_11042025_22_04_16_9351.jpg', '/home/pi/Desktop/images/11042025/22/04/image_11042025_22_04_36_10440.jpg', '/home/pi/Desktop/images/11042025/22/04/image_11042025_22_04_46_9353.jpg', '/home/pi/Desktop/images/11042025/22/04/image_11042025_22_04_56_10468.jpg', '/home/pi/Desktop/images/11042025/22/04/image_11042025_22_05_06_9334.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/22/03/image_11042025_22_04_06_10395.jpg
/home/pi/Desktop/images/11042025/22/04/image_11042025_22_04_16_9351.jpg
/home/pi/Desktop/images/11042025/22/04/image_11042025_22_04_36_10440.jpg
/home/pi/Desktop/images/11042025/22/04/image_11042025_22_04_46_9353.jpg
/home/pi/Desktop/images/11042025/22/04/image_11042025_22_04_56_10468.jpg
/home/pi/Desktop/images/11042025/22/04/image_11042025_22_05_06_9334.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351953687","1351953583","1351953602","1351953751","1351953748","1351953640"],"photo_ids_order":["1351953583","1351953602","1351953640","1351953687","1351953748","1351953751"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a8c493556581cfdb0c4f52fc03c2997a.jpg","text":"TemporaryFile(/tmp/multipartBody574307303963125904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406312951,"filename":"image_11042025_22_04_46_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/612eb77771dc6d7943f041c2d1a67f23.jpg","text":"TemporaryFile(/tmp/multipartBody2845289493320931702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406312951,"filename":"image_11042025_22_04_06_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/11/202d5eafb10ae259ded08f0672ac9c9c.jpg","text":"TemporaryFile(/tmp/multipartBody5505930176521519622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406312951,"filename":"image_11042025_22_04_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/11/d295ac2fadaa0640bbf6a814d99af9f9.jpg","text":"TemporaryFile(/tmp/multipartBody832598046689698227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406312951,"filename":"image_11042025_22_05_06_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ec052122057f32ef8ffa0491b863f1e9.jpg","text":"TemporaryFile(/tmp/multipartBody2559262980765488702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406312951,"filename":"image_11042025_22_04_56_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/11/5a4df5c2a19de4613e4c1df10ff8b85f.jpg","text":"TemporaryFile(/tmp/multipartBody1109052203414103406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406312951,"filename":"image_11042025_22_04_36_10440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351953640","file1":"1351953602","file0":"1351953583","file4":"1351953748","file5":"1351953751","file3":"1351953687"},"map_files_photo_id_array":[{"photo_id":"1351953751","filename":"file5"},{"photo_id":"1351953640","filename":"file2"},{"photo_id":"1351953748","filename":"file4"},{"photo_id":"1351953602","filename":"file1"},{"photo_id":"1351953583","filename":"file0"},{"photo_id":"1351953687","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351953687":["hashtag1","hashtag2"]},{"1351953583":["hashtag1","hashtag2"]},{"1351953602":["hashtag1","hashtag2"]},{"1351953751":["hashtag1","hashtag2"]},{"1351953748":["hashtag1","hashtag2"]},{"1351953640":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351953687, 1351953583, 1351953602, 1351953751, 1351953748, 1351953640)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.05286955833435 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 23:18:32.608685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/22/05/image_11042025_22_05_16_10366.jpg', '/home/pi/Desktop/images/11042025/22/05/image_11042025_22_05_26_10412.jpg', '/home/pi/Desktop/images/11042025/22/05/image_11042025_22_05_36_9380.jpg', '/home/pi/Desktop/images/11042025/22/05/image_11042025_22_05_46_10487.jpg', '/home/pi/Desktop/images/11042025/22/05/image_11042025_22_05_56_9367.jpg', '/home/pi/Desktop/images/11042025/22/05/image_11042025_22_06_06_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/22/05/image_11042025_22_05_16_10366.jpg
/home/pi/Desktop/images/11042025/22/05/image_11042025_22_05_26_10412.jpg
/home/pi/Desktop/images/11042025/22/05/image_11042025_22_05_36_9380.jpg
/home/pi/Desktop/images/11042025/22/05/image_11042025_22_05_46_10487.jpg
/home/pi/Desktop/images/11042025/22/05/image_11042025_22_05_56_9367.jpg
/home/pi/Desktop/images/11042025/22/05/image_11042025_22_06_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":["1351954233","1351954320","1351954390","1351954276","1351954342","1351954182"],"photo_ids_order":["1351954182","1351954233","1351954276","1351954320","1351954342","1351954390"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4ae951c25488dcedad9e8654389e753d.jpg","text":"TemporaryFile(/tmp/multipartBody3009261240330078344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406373082,"filename":"image_11042025_22_05_26_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a9c9d70b08779e85c3cb8e8c47c9fe7a.jpg","text":"TemporaryFile(/tmp/multipartBody783136068846701515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406373082,"filename":"image_11042025_22_05_46_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/11/975c9a74af368a59393cb97cb1736196.jpg","text":"TemporaryFile(/tmp/multipartBody7892609540650091484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406373082,"filename":"image_11042025_22_06_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/11/b64261b441232dec403b446205860a12.jpg","text":"TemporaryFile(/tmp/multipartBody4415905621736984549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406373082,"filename":"image_11042025_22_05_36_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2c606a77ae0592ae17cdc438ce19c494.jpg","text":"TemporaryFile(/tmp/multipartBody8249089689644971594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406373082,"filename":"image_11042025_22_05_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/11/20379f4405995626bfc4ff024c617047.jpg","text":"TemporaryFile(/tmp/multipartBody2447615404905185863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406373082,"filename":"image_11042025_22_05_16_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351954276","file1":"1351954233","file0":"1351954182","file4":"1351954342","file5":"1351954390","file3":"1351954320"},"map_files_photo_id_array":[{"photo_id":"1351954390","filename":"file5"},{"photo_id":"1351954276","filename":"file2"},{"photo_id":"1351954342","filename":"file4"},{"photo_id":"1351954233","filename":"file1"},{"photo_id":"1351954182","filename":"file0"},{"photo_id":"1351954320","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351954233":["hashtag1","hashtag2"]},{"1351954320":["hashtag1","hashtag2"]},{"1351954390":["hashtag1","hashtag2"]},{"1351954276":["hashtag1","hashtag2"]},{"1351954342":["hashtag1","hashtag2"]},{"1351954182":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351954233, 1351954320, 1351954390, 1351954276, 1351954342, 1351954182)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.96583580970764 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 23:19:32.831212
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/22/06/image_11042025_22_06_16_10429.jpg', '/home/pi/Desktop/images/11042025/22/06/image_11042025_22_06_26_9371.jpg', '/home/pi/Desktop/images/11042025/22/06/image_11042025_22_06_46_9390.jpg', '/home/pi/Desktop/images/11042025/22/06/image_11042025_22_06_56_10367.jpg', '/home/pi/Desktop/images/11042025/22/07/image_11042025_22_07_16_9346.jpg', '/home/pi/Desktop/images/11042025/22/07/image_11042025_22_07_26_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/22/06/image_11042025_22_06_16_10429.jpg
/home/pi/Desktop/images/11042025/22/06/image_11042025_22_06_26_9371.jpg
/home/pi/Desktop/images/11042025/22/06/image_11042025_22_06_46_9390.jpg
/home/pi/Desktop/images/11042025/22/06/image_11042025_22_06_56_10367.jpg
/home/pi/Desktop/images/11042025/22/07/image_11042025_22_07_16_9346.jpg
/home/pi/Desktop/images/11042025/22/07/image_11042025_22_07_26_10368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351954617","1351954647","1351954626","1351954697","1351954693","1351954581"],"photo_ids_order":["1351954581","1351954617","1351954626","1351954647","1351954693","1351954697"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7aac145dff475c3c58f28eef6769f78f.jpg","text":"TemporaryFile(/tmp/multipartBody4919235059008391617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406433303,"filename":"image_11042025_22_06_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/11/f4eb8b1050f2b0626573e2e35f51edc9.jpg","text":"TemporaryFile(/tmp/multipartBody1339969396845026072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406433303,"filename":"image_11042025_22_06_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/11/efbd22ac7991a3e8598fc4e89ba9db16.jpg","text":"TemporaryFile(/tmp/multipartBody5917268781727759203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406433303,"filename":"image_11042025_22_06_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/11/bd7cad64e5ab9367df753b52d36eaae3.jpg","text":"TemporaryFile(/tmp/multipartBody3437549348786130542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406433303,"filename":"image_11042025_22_07_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/11/1db4534a756d7873cbc9aee1ebd3f380.jpg","text":"TemporaryFile(/tmp/multipartBody4253172723992004498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406433303,"filename":"image_11042025_22_07_16_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ce2a3422fe1709efb2f62afeab1c2616.jpg","text":"TemporaryFile(/tmp/multipartBody4996187809614917334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406433303,"filename":"image_11042025_22_06_16_10429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351954626","file1":"1351954617","file0":"1351954581","file4":"1351954693","file5":"1351954697","file3":"1351954647"},"map_files_photo_id_array":[{"photo_id":"1351954697","filename":"file5"},{"photo_id":"1351954626","filename":"file2"},{"photo_id":"1351954693","filename":"file4"},{"photo_id":"1351954617","filename":"file1"},{"photo_id":"1351954581","filename":"file0"},{"photo_id":"1351954647","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351954617":["hashtag1","hashtag2"]},{"1351954647":["hashtag1","hashtag2"]},{"1351954626":["hashtag1","hashtag2"]},{"1351954697":["hashtag1","hashtag2"]},{"1351954693":["hashtag1","hashtag2"]},{"1351954581":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351954617, 1351954647, 1351954626, 1351954697, 1351954693, 1351954581)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.23623037338257 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 23:20:33.073279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/22/07/image_11042025_22_07_36_10419.jpg', '/home/pi/Desktop/images/11042025/22/07/image_11042025_22_07_46_9430.jpg', '/home/pi/Desktop/images/11042025/22/07/image_11042025_22_08_06_9358.jpg', '/home/pi/Desktop/images/11042025/22/08/image_11042025_22_08_26_10404.jpg', '/home/pi/Desktop/images/11042025/22/08/image_11042025_22_08_36_9355.jpg', '/home/pi/Desktop/images/11042025/22/08/image_11042025_22_08_46_10474.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/22/07/image_11042025_22_07_36_10419.jpg
/home/pi/Desktop/images/11042025/22/07/image_11042025_22_07_46_9430.jpg
/home/pi/Desktop/images/11042025/22/07/image_11042025_22_08_06_9358.jpg
/home/pi/Desktop/images/11042025/22/08/image_11042025_22_08_26_10404.jpg
/home/pi/Desktop/images/11042025/22/08/image_11042025_22_08_36_9355.jpg
/home/pi/Desktop/images/11042025/22/08/image_11042025_22_08_46_10474.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.3905191421508789 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 23:20:43.097704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/22/07/image_11042025_22_07_36_10419.jpg', '/home/pi/Desktop/images/11042025/22/07/image_11042025_22_07_46_9430.jpg', '/home/pi/Desktop/images/11042025/22/07/image_11042025_22_08_06_9358.jpg', '/home/pi/Desktop/images/11042025/22/08/image_11042025_22_08_26_10404.jpg', '/home/pi/Desktop/images/11042025/22/08/image_11042025_22_08_36_9355.jpg', '/home/pi/Desktop/images/11042025/22/08/image_11042025_22_08_46_10474.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/22/07/image_11042025_22_07_36_10419.jpg
/home/pi/Desktop/images/11042025/22/07/image_11042025_22_07_46_9430.jpg
/home/pi/Desktop/images/11042025/22/07/image_11042025_22_08_06_9358.jpg
/home/pi/Desktop/images/11042025/22/08/image_11042025_22_08_26_10404.jpg
/home/pi/Desktop/images/11042025/22/08/image_11042025_22_08_36_9355.jpg
/home/pi/Desktop/images/11042025/22/08/image_11042025_22_08_46_10474.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351954862","1351954844","1351954835","1351954891","1351954864","1351954858"],"photo_ids_order":["1351954835","1351954844","1351954858","1351954862","1351954864","1351954891"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a910faa6aff7d790edf5a2c96419c535.jpg","text":"TemporaryFile(/tmp/multipartBody6394652447244739650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406503594,"filename":"image_11042025_22_08_26_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/584068ba5b730d29bcb67eee045cf28c.jpg","text":"TemporaryFile(/tmp/multipartBody3143382746454342562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406503594,"filename":"image_11042025_22_07_46_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f488d8b079a2b91fbc80ff0e2a06b990.jpg","text":"TemporaryFile(/tmp/multipartBody6756070234533528649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406503594,"filename":"image_11042025_22_07_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/11/8ef1562a7e973f5ae5672ff0db2a2439.jpg","text":"TemporaryFile(/tmp/multipartBody245737901635848498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406503594,"filename":"image_11042025_22_08_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/11/958d81c0cd5369e73d4e4738a01220d3.jpg","text":"TemporaryFile(/tmp/multipartBody8484608477974540521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406503594,"filename":"image_11042025_22_08_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/11/c260f58cbdef61908fd47b1f11e78917.jpg","text":"TemporaryFile(/tmp/multipartBody986605834068962022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406503594,"filename":"image_11042025_22_08_06_9358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351954858","file1":"1351954844","file0":"1351954835","file4":"1351954864","file5":"1351954891","file3":"1351954862"},"map_files_photo_id_array":[{"photo_id":"1351954891","filename":"file5"},{"photo_id":"1351954858","filename":"file2"},{"photo_id":"1351954864","filename":"file4"},{"photo_id":"1351954844","filename":"file1"},{"photo_id":"1351954835","filename":"file0"},{"photo_id":"1351954862","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351954862":["hashtag1","hashtag2"]},{"1351954844":["hashtag1","hashtag2"]},{"1351954835":["hashtag1","hashtag2"]},{"1351954891":["hashtag1","hashtag2"]},{"1351954864":["hashtag1","hashtag2"]},{"1351954858":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351954862, 1351954844, 1351954835, 1351954891, 1351954864, 1351954858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.877843141555786 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 23:21:32.213425
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/22/08/image_11042025_22_08_56_9368.jpg', '/home/pi/Desktop/images/11042025/22/08/image_11042025_22_09_06_10483.jpg', '/home/pi/Desktop/images/11042025/22/09/image_11042025_22_09_17_10371.jpg', '/home/pi/Desktop/images/11042025/22/09/image_11042025_22_09_26_9360.jpg', '/home/pi/Desktop/images/11042025/22/09/image_11042025_22_09_36_10413.jpg', '/home/pi/Desktop/images/11042025/22/09/image_11042025_22_09_46_9357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/22/08/image_11042025_22_08_56_9368.jpg
/home/pi/Desktop/images/11042025/22/08/image_11042025_22_09_06_10483.jpg
/home/pi/Desktop/images/11042025/22/09/image_11042025_22_09_17_10371.jpg
/home/pi/Desktop/images/11042025/22/09/image_11042025_22_09_26_9360.jpg
/home/pi/Desktop/images/11042025/22/09/image_11042025_22_09_36_10413.jpg
/home/pi/Desktop/images/11042025/22/09/image_11042025_22_09_46_9357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351955039","1351955054","1351955056","1351955050","1351955052","1351955046"],"photo_ids_order":["1351955039","1351955046","1351955050","1351955052","1351955054","1351955056"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b60baa1310e1f0c32f47ed2fcbabd809.jpg","text":"TemporaryFile(/tmp/multipartBody1897574135708201796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406552712,"filename":"image_11042025_22_08_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/11/78b5603f1aaf187454edbdb1ac7dc075.jpg","text":"TemporaryFile(/tmp/multipartBody2362056015866361288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406552712,"filename":"image_11042025_22_09_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/11/194fce92c64ae88a711e3e3f88c74a57.jpg","text":"TemporaryFile(/tmp/multipartBody5305446325982330387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406552712,"filename":"image_11042025_22_09_46_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ab9a6cdc3b900dcc69238b81d69ba59e.jpg","text":"TemporaryFile(/tmp/multipartBody896708152377232812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406552712,"filename":"image_11042025_22_09_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/11/083149f3fa8a96d5b669d224752703db.jpg","text":"TemporaryFile(/tmp/multipartBody2590751720705740285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406552712,"filename":"image_11042025_22_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/11/4073e6ac8114756ba27eea4a0f7e6c52.jpg","text":"TemporaryFile(/tmp/multipartBody2021411276518423193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406552712,"filename":"image_11042025_22_09_06_10483.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351955050","file1":"1351955046","file0":"1351955039","file4":"1351955054","file5":"1351955056","file3":"1351955052"},"map_files_photo_id_array":[{"photo_id":"1351955056","filename":"file5"},{"photo_id":"1351955050","filename":"file2"},{"photo_id":"1351955054","filename":"file4"},{"photo_id":"1351955046","filename":"file1"},{"photo_id":"1351955039","filename":"file0"},{"photo_id":"1351955052","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351955039":["hashtag1","hashtag2"]},{"1351955054":["hashtag1","hashtag2"]},{"1351955056":["hashtag1","hashtag2"]},{"1351955050":["hashtag1","hashtag2"]},{"1351955052":["hashtag1","hashtag2"]},{"1351955046":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351955039, 1351955054, 1351955056, 1351955050, 1351955052, 1351955046)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.211283922195435 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 23:22:32.506602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/22/09/image_11042025_22_09_56_10508.jpg', '/home/pi/Desktop/images/11042025/22/09/image_11042025_22_10_06_9428.jpg', '/home/pi/Desktop/images/11042025/22/10/image_11042025_22_10_16_10397.jpg', '/home/pi/Desktop/images/11042025/22/10/image_11042025_22_10_26_10407.jpg', '/home/pi/Desktop/images/11042025/22/10/image_11042025_22_10_46_10418.jpg', '/home/pi/Desktop/images/11042025/22/10/image_11042025_22_10_56_9382.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/22/09/image_11042025_22_09_56_10508.jpg
/home/pi/Desktop/images/11042025/22/09/image_11042025_22_10_06_9428.jpg
/home/pi/Desktop/images/11042025/22/10/image_11042025_22_10_16_10397.jpg
/home/pi/Desktop/images/11042025/22/10/image_11042025_22_10_26_10407.jpg
/home/pi/Desktop/images/11042025/22/10/image_11042025_22_10_46_10418.jpg
/home/pi/Desktop/images/11042025/22/10/image_11042025_22_10_56_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":["1351955124","1351955153","1351955167","1351955169","1351955139","1351955148"],"photo_ids_order":["1351955124","1351955139","1351955148","1351955153","1351955167","1351955169"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/fcf5efb9bbef46a812085b5d1472f554.jpg","text":"TemporaryFile(/tmp/multipartBody5585172588454428753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406612972,"filename":"image_11042025_22_09_56_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/11/cb8994e6c2cfe9a31e57578a9d68c4fb.jpg","text":"TemporaryFile(/tmp/multipartBody3842702115174613287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406612972,"filename":"image_11042025_22_10_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/11/c16c91b1afa9b65a6ce83618989d3ac9.jpg","text":"TemporaryFile(/tmp/multipartBody2974480580844563556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406612972,"filename":"image_11042025_22_10_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/11/61856cbc8bcad3180ca301e70778c456.jpg","text":"TemporaryFile(/tmp/multipartBody9189291924437325114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406612972,"filename":"image_11042025_22_10_56_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/bfe29f689eaa86216e5af3a8d2c115c1.jpg","text":"TemporaryFile(/tmp/multipartBody6512044500468990376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406612972,"filename":"image_11042025_22_10_06_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6c20d0d5d09068d87edfe8f32fcea9f6.jpg","text":"TemporaryFile(/tmp/multipartBody7158580216633276870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406612972,"filename":"image_11042025_22_10_16_10397.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351955148","file1":"1351955139","file0":"1351955124","file4":"1351955167","file5":"1351955169","file3":"1351955153"},"map_files_photo_id_array":[{"photo_id":"1351955169","filename":"file5"},{"photo_id":"1351955148","filename":"file2"},{"photo_id":"1351955167","filename":"file4"},{"photo_id":"1351955139","filename":"file1"},{"photo_id":"1351955124","filename":"file0"},{"photo_id":"1351955153","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351955124":["hashtag1","hashtag2"]},{"1351955153":["hashtag1","hashtag2"]},{"1351955167":["hashtag1","hashtag2"]},{"1351955169":["hashtag1","hashtag2"]},{"1351955139":["hashtag1","hashtag2"]},{"1351955148":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351955124, 1351955153, 1351955167, 1351955169, 1351955139, 1351955148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.04016876220703 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 23:23:32.683505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/22/11/image_11042025_22_11_26_9365.jpg', '/home/pi/Desktop/images/11042025/22/11/image_11042025_22_11_36_10413.jpg', '/home/pi/Desktop/images/11042025/22/11/image_11042025_22_12_06_10355.jpg', '/home/pi/Desktop/images/11042025/22/12/image_11042025_22_12_16_9357.jpg', '/home/pi/Desktop/images/11042025/22/12/image_11042025_22_12_26_10365.jpg', '/home/pi/Desktop/images/11042025/22/12/image_11042025_22_12_46_9350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/22/11/image_11042025_22_11_26_9365.jpg
/home/pi/Desktop/images/11042025/22/11/image_11042025_22_11_36_10413.jpg
/home/pi/Desktop/images/11042025/22/11/image_11042025_22_12_06_10355.jpg
/home/pi/Desktop/images/11042025/22/12/image_11042025_22_12_16_9357.jpg
/home/pi/Desktop/images/11042025/22/12/image_11042025_22_12_26_10365.jpg
/home/pi/Desktop/images/11042025/22/12/image_11042025_22_12_46_9350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351955328","1351955345","1351955395","1351955368","1351955338","1351955302"],"photo_ids_order":["1351955302","1351955328","1351955338","1351955345","1351955368","1351955395"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/cecac0d913f822738d4187ce2d800a66.jpg","text":"TemporaryFile(/tmp/multipartBody5474465181021120268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406673166,"filename":"image_11042025_22_11_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/11/bd18f0f42783af5e93ed1395eda3abe3.jpg","text":"TemporaryFile(/tmp/multipartBody5159384683448218863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406673166,"filename":"image_11042025_22_12_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/11/7ff30703d58bf03447a049437893fdce.jpg","text":"TemporaryFile(/tmp/multipartBody3461023970167314591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406673166,"filename":"image_11042025_22_12_46_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b817437be8611fbd4a555346ee50214a.jpg","text":"TemporaryFile(/tmp/multipartBody4677834234107793672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406673166,"filename":"image_11042025_22_12_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/11/9c55be4f16ab3649249d421a94914a47.jpg","text":"TemporaryFile(/tmp/multipartBody3876273464761628352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406673166,"filename":"image_11042025_22_12_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/11/cb314d9e896277806f6853cdc54bb9b2.jpg","text":"TemporaryFile(/tmp/multipartBody4324775435552923302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406673166,"filename":"image_11042025_22_11_26_9365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351955338","file1":"1351955328","file0":"1351955302","file4":"1351955368","file5":"1351955395","file3":"1351955345"},"map_files_photo_id_array":[{"photo_id":"1351955395","filename":"file5"},{"photo_id":"1351955338","filename":"file2"},{"photo_id":"1351955368","filename":"file4"},{"photo_id":"1351955328","filename":"file1"},{"photo_id":"1351955302","filename":"file0"},{"photo_id":"1351955345","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351955328":["hashtag1","hashtag2"]},{"1351955345":["hashtag1","hashtag2"]},{"1351955395":["hashtag1","hashtag2"]},{"1351955368":["hashtag1","hashtag2"]},{"1351955338":["hashtag1","hashtag2"]},{"1351955302":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351955328, 1351955345, 1351955395, 1351955368, 1351955338, 1351955302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.49383211135864 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 23:24:32.879428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/22/12/image_11042025_22_12_56_10416.jpg', '/home/pi/Desktop/images/11042025/22/13/image_11042025_22_13_26_10377.jpg', '/home/pi/Desktop/images/11042025/22/13/image_11042025_22_13_56_9361.jpg', '/home/pi/Desktop/images/11042025/22/13/image_11042025_22_14_06_10364.jpg', '/home/pi/Desktop/images/11042025/22/14/image_11042025_22_14_16_10409.jpg', '/home/pi/Desktop/images/11042025/22/14/image_11042025_22_14_26_9445.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/22/12/image_11042025_22_12_56_10416.jpg
/home/pi/Desktop/images/11042025/22/13/image_11042025_22_13_26_10377.jpg
/home/pi/Desktop/images/11042025/22/13/image_11042025_22_13_56_9361.jpg
/home/pi/Desktop/images/11042025/22/13/image_11042025_22_14_06_10364.jpg
/home/pi/Desktop/images/11042025/22/14/image_11042025_22_14_16_10409.jpg
/home/pi/Desktop/images/11042025/22/14/image_11042025_22_14_26_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":["1351955579","1351955570","1351955573","1351955567","1351955577","1351955562"],"photo_ids_order":["1351955562","1351955567","1351955570","1351955573","1351955577","1351955579"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/28f6671219d62a9c8427f43f9007da14.jpg","text":"TemporaryFile(/tmp/multipartBody3084856358757583684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406733351,"filename":"image_11042025_22_14_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/11/c543458928a882f4e2bd16b762f7fd80.jpg","text":"TemporaryFile(/tmp/multipartBody854946612856250631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406733351,"filename":"image_11042025_22_13_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/11/a46c149b0f087e810256fc7feda3eb88.jpg","text":"TemporaryFile(/tmp/multipartBody6162591021118175680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406733351,"filename":"image_11042025_22_14_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/11/454c8585cd3d04c998e4fead50da653d.jpg","text":"TemporaryFile(/tmp/multipartBody7154883223403849312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406733351,"filename":"image_11042025_22_13_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/11/fff28064f0cada05a906f15f867bfdf6.jpg","text":"TemporaryFile(/tmp/multipartBody2173024769184828022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406733351,"filename":"image_11042025_22_14_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/11/28ca8b6525a1cc03cc177b3954e7733b.jpg","text":"TemporaryFile(/tmp/multipartBody1063630606479287897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406733351,"filename":"image_11042025_22_12_56_10416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351955570","file1":"1351955567","file0":"1351955562","file4":"1351955577","file5":"1351955579","file3":"1351955573"},"map_files_photo_id_array":[{"photo_id":"1351955579","filename":"file5"},{"photo_id":"1351955570","filename":"file2"},{"photo_id":"1351955577","filename":"file4"},{"photo_id":"1351955567","filename":"file1"},{"photo_id":"1351955562","filename":"file0"},{"photo_id":"1351955573","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351955579":["hashtag1","hashtag2"]},{"1351955570":["hashtag1","hashtag2"]},{"1351955573":["hashtag1","hashtag2"]},{"1351955567":["hashtag1","hashtag2"]},{"1351955577":["hashtag1","hashtag2"]},{"1351955562":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351955579, 1351955570, 1351955573, 1351955567, 1351955577, 1351955562)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.60665941238403 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 23:25:33.120438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/22/14/image_11042025_22_14_36_10483.jpg', '/home/pi/Desktop/images/11042025/22/14/image_11042025_22_14_46_9351.jpg', '/home/pi/Desktop/images/11042025/22/14/image_11042025_22_14_56_10383.jpg', '/home/pi/Desktop/images/11042025/22/14/image_11042025_22_15_06_10419.jpg', '/home/pi/Desktop/images/11042025/22/15/image_11042025_22_15_16_9449.jpg', '/home/pi/Desktop/images/11042025/22/15/image_11042025_22_15_26_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/22/14/image_11042025_22_14_36_10483.jpg
/home/pi/Desktop/images/11042025/22/14/image_11042025_22_14_46_9351.jpg
/home/pi/Desktop/images/11042025/22/14/image_11042025_22_14_56_10383.jpg
/home/pi/Desktop/images/11042025/22/14/image_11042025_22_15_06_10419.jpg
/home/pi/Desktop/images/11042025/22/15/image_11042025_22_15_16_9449.jpg
/home/pi/Desktop/images/11042025/22/15/image_11042025_22_15_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":["1351955610","1351955604","1351955606","1351955611","1351955608","1351955601"],"photo_ids_order":["1351955601","1351955604","1351955606","1351955608","1351955610","1351955611"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3dce068fbc177b7b6645e6509a307583.jpg","text":"TemporaryFile(/tmp/multipartBody7729785360745169023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406793595,"filename":"image_11042025_22_15_16_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8e0e301125399b730468461724e0e09c.jpg","text":"TemporaryFile(/tmp/multipartBody3015475276326668241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406793595,"filename":"image_11042025_22_14_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/11/52e187d829c3c2bc9783c33675131583.jpg","text":"TemporaryFile(/tmp/multipartBody6577974413735537187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406793595,"filename":"image_11042025_22_14_56_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2a61a122c953e724bdadff17f50439f9.jpg","text":"TemporaryFile(/tmp/multipartBody105336665502042347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406793595,"filename":"image_11042025_22_15_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/11/82bbf895556aed2bb1ad2ba9df910568.jpg","text":"TemporaryFile(/tmp/multipartBody7464156775518358307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406793595,"filename":"image_11042025_22_15_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/11/59d2e4656c0392b641c96cb8a42a156c.jpg","text":"TemporaryFile(/tmp/multipartBody2330255727308459973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406793595,"filename":"image_11042025_22_14_36_10483.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351955606","file1":"1351955604","file0":"1351955601","file4":"1351955610","file5":"1351955611","file3":"1351955608"},"map_files_photo_id_array":[{"photo_id":"1351955611","filename":"file5"},{"photo_id":"1351955606","filename":"file2"},{"photo_id":"1351955610","filename":"file4"},{"photo_id":"1351955604","filename":"file1"},{"photo_id":"1351955601","filename":"file0"},{"photo_id":"1351955608","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351955610":["hashtag1","hashtag2"]},{"1351955604":["hashtag1","hashtag2"]},{"1351955606":["hashtag1","hashtag2"]},{"1351955611":["hashtag1","hashtag2"]},{"1351955608":["hashtag1","hashtag2"]},{"1351955601":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351955610, 1351955604, 1351955606, 1351955611, 1351955608, 1351955601)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.65115404129028 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 23:26:32.311671
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/22/15/image_11042025_22_15_36_9349.jpg', '/home/pi/Desktop/images/11042025/22/15/image_11042025_22_15_46_10378.jpg', '/home/pi/Desktop/images/11042025/22/15/image_11042025_22_15_56_10444.jpg', '/home/pi/Desktop/images/11042025/22/15/image_11042025_22_16_06_9351.jpg', '/home/pi/Desktop/images/11042025/22/16/image_11042025_22_16_16_10400.jpg', '/home/pi/Desktop/images/11042025/22/16/image_11042025_22_16_26_9346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/22/15/image_11042025_22_15_36_9349.jpg
/home/pi/Desktop/images/11042025/22/15/image_11042025_22_15_46_10378.jpg
/home/pi/Desktop/images/11042025/22/15/image_11042025_22_15_56_10444.jpg
/home/pi/Desktop/images/11042025/22/15/image_11042025_22_16_06_9351.jpg
/home/pi/Desktop/images/11042025/22/16/image_11042025_22_16_16_10400.jpg
/home/pi/Desktop/images/11042025/22/16/image_11042025_22_16_26_9346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351955774","1351955706","1351955729","1351955779","1351955719","1351955769"],"photo_ids_order":["1351955706","1351955719","1351955729","1351955769","1351955774","1351955779"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d1deb2c09533901f6e7add6d4f6ffac7.jpg","text":"TemporaryFile(/tmp/multipartBody3497340401773287102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406852782,"filename":"image_11042025_22_16_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/11/ab0a23ee6b9a0f1dd01e6082792de92d.jpg","text":"TemporaryFile(/tmp/multipartBody6271771560477266385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406852782,"filename":"image_11042025_22_15_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/11/f17118393f9e6024829b1d96323facf5.jpg","text":"TemporaryFile(/tmp/multipartBody6981853294873184994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406852782,"filename":"image_11042025_22_15_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/11/2828af4a162b0ab1a89fddd53b896b95.jpg","text":"TemporaryFile(/tmp/multipartBody6686004645724230492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406852782,"filename":"image_11042025_22_16_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/11/a4371af90a6b24f61a0ad492a779c8a1.jpg","text":"TemporaryFile(/tmp/multipartBody2208839559925984465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406852782,"filename":"image_11042025_22_15_46_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b25e95e2cccd64c8788a5774ce79682e.jpg","text":"TemporaryFile(/tmp/multipartBody2301926669210366208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406852782,"filename":"image_11042025_22_16_06_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351955729","file1":"1351955719","file0":"1351955706","file4":"1351955774","file5":"1351955779","file3":"1351955769"},"map_files_photo_id_array":[{"photo_id":"1351955779","filename":"file5"},{"photo_id":"1351955729","filename":"file2"},{"photo_id":"1351955774","filename":"file4"},{"photo_id":"1351955719","filename":"file1"},{"photo_id":"1351955706","filename":"file0"},{"photo_id":"1351955769","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351955774":["hashtag1","hashtag2"]},{"1351955706":["hashtag1","hashtag2"]},{"1351955729":["hashtag1","hashtag2"]},{"1351955779":["hashtag1","hashtag2"]},{"1351955719":["hashtag1","hashtag2"]},{"1351955769":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351955774, 1351955706, 1351955729, 1351955779, 1351955719, 1351955769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.83198404312134 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 23:27:32.610213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/22/16/image_11042025_22_16_46_10453.jpg', '/home/pi/Desktop/images/11042025/22/16/image_11042025_22_16_56_9358.jpg', '/home/pi/Desktop/images/11042025/22/16/image_11042025_22_17_06_10448.jpg', '/home/pi/Desktop/images/11042025/22/17/image_11042025_22_17_36_10377.jpg', '/home/pi/Desktop/images/11042025/22/17/image_11042025_22_17_46_9354.jpg', '/home/pi/Desktop/images/11042025/22/18/image_11042025_22_18_36_10374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/22/16/image_11042025_22_16_46_10453.jpg
/home/pi/Desktop/images/11042025/22/16/image_11042025_22_16_56_9358.jpg
/home/pi/Desktop/images/11042025/22/16/image_11042025_22_17_06_10448.jpg
/home/pi/Desktop/images/11042025/22/17/image_11042025_22_17_36_10377.jpg
/home/pi/Desktop/images/11042025/22/17/image_11042025_22_17_46_9354.jpg
/home/pi/Desktop/images/11042025/22/18/image_11042025_22_18_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":["1351956266","1351956167","1351956236","1351956193","1351956199","1351956290"],"photo_ids_order":["1351956167","1351956193","1351956199","1351956236","1351956266","1351956290"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0814c5c8f57d6bdbc0e7fde5f898425f.jpg","text":"TemporaryFile(/tmp/multipartBody5468929946332790873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406913087,"filename":"image_11042025_22_17_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/11/208dc574e8a6ef68933a1a6a1cdf3286.jpg","text":"TemporaryFile(/tmp/multipartBody5475824500422788767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406913087,"filename":"image_11042025_22_16_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/11/c6ef2e9f5ac6d8c063f0c7ffc6a72f33.jpg","text":"TemporaryFile(/tmp/multipartBody7977981865024612700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406913087,"filename":"image_11042025_22_17_36_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/616171707742b9177225617b5f73342c.jpg","text":"TemporaryFile(/tmp/multipartBody2016597277009134695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406913087,"filename":"image_11042025_22_16_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/11/27f181b8dd9e88317cd0efbe81459f62.jpg","text":"TemporaryFile(/tmp/multipartBody496698153109303731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406913087,"filename":"image_11042025_22_17_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/11/1c279ec5f9ec943a5b097d322e9d3d4b.jpg","text":"TemporaryFile(/tmp/multipartBody1300634650282572310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406913087,"filename":"image_11042025_22_18_36_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351956199","file1":"1351956193","file0":"1351956167","file4":"1351956266","file5":"1351956290","file3":"1351956236"},"map_files_photo_id_array":[{"photo_id":"1351956290","filename":"file5"},{"photo_id":"1351956199","filename":"file2"},{"photo_id":"1351956266","filename":"file4"},{"photo_id":"1351956193","filename":"file1"},{"photo_id":"1351956167","filename":"file0"},{"photo_id":"1351956236","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351956266":["hashtag1","hashtag2"]},{"1351956167":["hashtag1","hashtag2"]},{"1351956236":["hashtag1","hashtag2"]},{"1351956193":["hashtag1","hashtag2"]},{"1351956199":["hashtag1","hashtag2"]},{"1351956290":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351956266, 1351956167, 1351956236, 1351956193, 1351956199, 1351956290)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.72977638244629 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 23:28:32.757520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/22/18/image_11042025_22_18_46_10447.jpg', '/home/pi/Desktop/images/11042025/22/19/image_11042025_22_19_36_10429.jpg', '/home/pi/Desktop/images/11042025/22/19/image_11042025_22_19_46_9377.jpg', '/home/pi/Desktop/images/11042025/22/19/image_11042025_22_19_56_10361.jpg', '/home/pi/Desktop/images/11042025/22/19/image_11042025_22_20_06_10403.jpg', '/home/pi/Desktop/images/11042025/22/20/image_11042025_22_20_16_9351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/22/18/image_11042025_22_18_46_10447.jpg
/home/pi/Desktop/images/11042025/22/19/image_11042025_22_19_36_10429.jpg
/home/pi/Desktop/images/11042025/22/19/image_11042025_22_19_46_9377.jpg
/home/pi/Desktop/images/11042025/22/19/image_11042025_22_19_56_10361.jpg
/home/pi/Desktop/images/11042025/22/19/image_11042025_22_20_06_10403.jpg
/home/pi/Desktop/images/11042025/22/20/image_11042025_22_20_16_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":["1351956458","1351956443","1351956467","1351956463","1351956427","1351956453"],"photo_ids_order":["1351956427","1351956443","1351956453","1351956458","1351956463","1351956467"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/0c799404049005faaa4a56b0188eea41.jpg","text":"TemporaryFile(/tmp/multipartBody2595610549978291509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406973230,"filename":"image_11042025_22_19_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/11/2b2e8abe7b36ba7fd5ef18609ab7589e.jpg","text":"TemporaryFile(/tmp/multipartBody3580445108378804321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406973230,"filename":"image_11042025_22_19_36_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/32069b9b62763fc40467313219a8aef7.jpg","text":"TemporaryFile(/tmp/multipartBody5309717984108273420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406973230,"filename":"image_11042025_22_20_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/11/ed91e107afc526ac537826410d834bb0.jpg","text":"TemporaryFile(/tmp/multipartBody2106735004137473508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406973230,"filename":"image_11042025_22_20_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/11/d3e8cce52459df13cb914451d445263e.jpg","text":"TemporaryFile(/tmp/multipartBody782055253942508157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406973230,"filename":"image_11042025_22_18_46_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3f67b8c043e5bcf1e1a73a419da04c46.jpg","text":"TemporaryFile(/tmp/multipartBody2847020575449920945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744406973230,"filename":"image_11042025_22_19_46_9377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351956453","file1":"1351956443","file0":"1351956427","file4":"1351956463","file5":"1351956467","file3":"1351956458"},"map_files_photo_id_array":[{"photo_id":"1351956467","filename":"file5"},{"photo_id":"1351956453","filename":"file2"},{"photo_id":"1351956463","filename":"file4"},{"photo_id":"1351956443","filename":"file1"},{"photo_id":"1351956427","filename":"file0"},{"photo_id":"1351956458","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351956458":["hashtag1","hashtag2"]},{"1351956443":["hashtag1","hashtag2"]},{"1351956467":["hashtag1","hashtag2"]},{"1351956463":["hashtag1","hashtag2"]},{"1351956427":["hashtag1","hashtag2"]},{"1351956453":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351956458, 1351956443, 1351956467, 1351956463, 1351956427, 1351956453)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.46009588241577 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 23:29:33.039862
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/22/20/image_11042025_22_20_26_10402.jpg', '/home/pi/Desktop/images/11042025/22/20/image_11042025_22_20_36_9377.jpg', '/home/pi/Desktop/images/11042025/22/20/image_11042025_22_20_56_10385.jpg', '/home/pi/Desktop/images/11042025/22/20/image_11042025_22_21_06_9351.jpg', '/home/pi/Desktop/images/11042025/22/21/image_11042025_22_21_16_10446.jpg', '/home/pi/Desktop/images/11042025/22/22/image_11042025_22_22_46_9382.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/22/20/image_11042025_22_20_26_10402.jpg
/home/pi/Desktop/images/11042025/22/20/image_11042025_22_20_36_9377.jpg
/home/pi/Desktop/images/11042025/22/20/image_11042025_22_20_56_10385.jpg
/home/pi/Desktop/images/11042025/22/20/image_11042025_22_21_06_9351.jpg
/home/pi/Desktop/images/11042025/22/21/image_11042025_22_21_16_10446.jpg
/home/pi/Desktop/images/11042025/22/22/image_11042025_22_22_46_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":["1351956512","1351956481","1351956478","1351956486","1351956507","1351956504"],"photo_ids_order":["1351956478","1351956481","1351956486","1351956504","1351956507","1351956512"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6f1cb624e70be361e5b0ec1e293a8a53.jpg","text":"TemporaryFile(/tmp/multipartBody5130202808127749229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407033512,"filename":"image_11042025_22_22_46_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/11/28f54dd850eff4d08654f8839c666e44.jpg","text":"TemporaryFile(/tmp/multipartBody3729677328800634150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407033512,"filename":"image_11042025_22_20_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/11/1f8c374a5cc592e58131bb515a567f64.jpg","text":"TemporaryFile(/tmp/multipartBody4632596305194029973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407033512,"filename":"image_11042025_22_20_26_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f72864ec13e490f5fa9c076511c429c5.jpg","text":"TemporaryFile(/tmp/multipartBody2647471286227101877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407033512,"filename":"image_11042025_22_20_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/11/af5e90efb617176bd430dbf08927cee7.jpg","text":"TemporaryFile(/tmp/multipartBody8975270471175523227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407033512,"filename":"image_11042025_22_21_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/11/259c4116cd96ee0fb1199bf24a481657.jpg","text":"TemporaryFile(/tmp/multipartBody8615956156391409093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407033512,"filename":"image_11042025_22_21_06_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351956486","file1":"1351956481","file0":"1351956478","file4":"1351956507","file5":"1351956512","file3":"1351956504"},"map_files_photo_id_array":[{"photo_id":"1351956512","filename":"file5"},{"photo_id":"1351956486","filename":"file2"},{"photo_id":"1351956507","filename":"file4"},{"photo_id":"1351956481","filename":"file1"},{"photo_id":"1351956478","filename":"file0"},{"photo_id":"1351956504","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351956512":["hashtag1","hashtag2"]},{"1351956481":["hashtag1","hashtag2"]},{"1351956478":["hashtag1","hashtag2"]},{"1351956486":["hashtag1","hashtag2"]},{"1351956507":["hashtag1","hashtag2"]},{"1351956504":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351956512, 1351956481, 1351956478, 1351956486, 1351956507, 1351956504)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.73910164833069 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 23:30:32.209087
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/22/22/image_11042025_22_22_56_10382.jpg', '/home/pi/Desktop/images/11042025/22/22/image_11042025_22_23_06_10366.jpg', '/home/pi/Desktop/images/11042025/22/23/image_11042025_22_23_16_9368.jpg', '/home/pi/Desktop/images/11042025/22/23/image_11042025_22_23_56_10459.jpg', '/home/pi/Desktop/images/11042025/22/24/image_11042025_22_24_16_10479.jpg', '/home/pi/Desktop/images/11042025/22/24/image_11042025_22_24_26_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/22/22/image_11042025_22_22_56_10382.jpg
/home/pi/Desktop/images/11042025/22/22/image_11042025_22_23_06_10366.jpg
/home/pi/Desktop/images/11042025/22/23/image_11042025_22_23_16_9368.jpg
/home/pi/Desktop/images/11042025/22/23/image_11042025_22_23_56_10459.jpg
/home/pi/Desktop/images/11042025/22/24/image_11042025_22_24_16_10479.jpg
/home/pi/Desktop/images/11042025/22/24/image_11042025_22_24_26_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":["1351956781","1351956718","1351956753","1351956732","1351956609","1351956801"],"photo_ids_order":["1351956609","1351956718","1351956732","1351956753","1351956781","1351956801"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/384213cc65e1aacad198d1c0c9f6a280.jpg","text":"TemporaryFile(/tmp/multipartBody7809720566258930076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407092884,"filename":"image_11042025_22_24_16_10479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6aee125dfa62907e65598665e23a6a72.jpg","text":"TemporaryFile(/tmp/multipartBody1238645083176223167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407092884,"filename":"image_11042025_22_23_06_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5b5dd46e41d22e960f1865eaea66aad5.jpg","text":"TemporaryFile(/tmp/multipartBody5112402270033373443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407092884,"filename":"image_11042025_22_23_56_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/30d66aca42883f3faf66ce0b4ec7ded8.jpg","text":"TemporaryFile(/tmp/multipartBody8441529434864409364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407092884,"filename":"image_11042025_22_23_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/11/af3687f439289674296a5f8c75e2f492.jpg","text":"TemporaryFile(/tmp/multipartBody5938022660593003074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407092884,"filename":"image_11042025_22_22_56_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8413917e4536503bf15f5862f7becce3.jpg","text":"TemporaryFile(/tmp/multipartBody6425587493159489832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407092884,"filename":"image_11042025_22_24_26_9383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351956732","file1":"1351956718","file0":"1351956609","file4":"1351956781","file5":"1351956801","file3":"1351956753"},"map_files_photo_id_array":[{"photo_id":"1351956801","filename":"file5"},{"photo_id":"1351956732","filename":"file2"},{"photo_id":"1351956781","filename":"file4"},{"photo_id":"1351956718","filename":"file1"},{"photo_id":"1351956609","filename":"file0"},{"photo_id":"1351956753","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351956781":["hashtag1","hashtag2"]},{"1351956718":["hashtag1","hashtag2"]},{"1351956753":["hashtag1","hashtag2"]},{"1351956732":["hashtag1","hashtag2"]},{"1351956609":["hashtag1","hashtag2"]},{"1351956801":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351956781, 1351956718, 1351956753, 1351956732, 1351956609, 1351956801)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.92709445953369 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 23:31:32.369051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/22/24/image_11042025_22_24_36_10371.jpg', '/home/pi/Desktop/images/11042025/22/24/image_11042025_22_24_47_10456.jpg', '/home/pi/Desktop/images/11042025/22/24/image_11042025_22_24_56_9366.jpg', '/home/pi/Desktop/images/11042025/22/24/image_11042025_22_25_06_10420.jpg', '/home/pi/Desktop/images/11042025/22/25/image_11042025_22_25_16_9357.jpg', '/home/pi/Desktop/images/11042025/22/25/image_11042025_22_25_46_9394.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/22/24/image_11042025_22_24_36_10371.jpg
/home/pi/Desktop/images/11042025/22/24/image_11042025_22_24_47_10456.jpg
/home/pi/Desktop/images/11042025/22/24/image_11042025_22_24_56_9366.jpg
/home/pi/Desktop/images/11042025/22/24/image_11042025_22_25_06_10420.jpg
/home/pi/Desktop/images/11042025/22/25/image_11042025_22_25_16_9357.jpg
/home/pi/Desktop/images/11042025/22/25/image_11042025_22_25_46_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":["1351956892","1351956952","1351956913","1351956978","1351956975","1351956899"],"photo_ids_order":["1351956892","1351956899","1351956913","1351956952","1351956975","1351956978"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/fc1274b080ed160476cf5c4a5aea4eae.jpg","text":"TemporaryFile(/tmp/multipartBody6089915994151215056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407152846,"filename":"image_11042025_22_24_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/11/7160985271a617e7ff1e7a5603ac2d94.jpg","text":"TemporaryFile(/tmp/multipartBody1450580197804240242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407152846,"filename":"image_11042025_22_25_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/11/4f6ff3e43d93b18cf60910038cd562c4.jpg","text":"TemporaryFile(/tmp/multipartBody982640481345166672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407152846,"filename":"image_11042025_22_24_56_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/620c4c50966ea52cd459f8df07ffebfc.jpg","text":"TemporaryFile(/tmp/multipartBody9135062338319327475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407152846,"filename":"image_11042025_22_25_46_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8bba2a55e043b4fbd62213ef7ae9ac2d.jpg","text":"TemporaryFile(/tmp/multipartBody5217686620076450621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407152846,"filename":"image_11042025_22_25_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/11/a2fd0200f214b224f894e7d9c114465f.jpg","text":"TemporaryFile(/tmp/multipartBody6991029095029032009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407152846,"filename":"image_11042025_22_24_47_10456.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351956913","file1":"1351956899","file0":"1351956892","file4":"1351956975","file5":"1351956978","file3":"1351956952"},"map_files_photo_id_array":[{"photo_id":"1351956978","filename":"file5"},{"photo_id":"1351956913","filename":"file2"},{"photo_id":"1351956975","filename":"file4"},{"photo_id":"1351956899","filename":"file1"},{"photo_id":"1351956892","filename":"file0"},{"photo_id":"1351956952","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351956892":["hashtag1","hashtag2"]},{"1351956952":["hashtag1","hashtag2"]},{"1351956913":["hashtag1","hashtag2"]},{"1351956978":["hashtag1","hashtag2"]},{"1351956975":["hashtag1","hashtag2"]},{"1351956899":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351956892, 1351956952, 1351956913, 1351956978, 1351956975, 1351956899)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.70500636100769 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 23:32:32.587732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/22/25/image_11042025_22_26_06_9341.jpg', '/home/pi/Desktop/images/11042025/22/26/image_11042025_22_26_16_10409.jpg', '/home/pi/Desktop/images/11042025/22/26/image_11042025_22_26_26_10457.jpg', '/home/pi/Desktop/images/11042025/22/26/image_11042025_22_26_36_9351.jpg', '/home/pi/Desktop/images/11042025/22/26/image_11042025_22_26_46_10491.jpg', '/home/pi/Desktop/images/11042025/22/26/image_11042025_22_26_56_9354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/22/25/image_11042025_22_26_06_9341.jpg
/home/pi/Desktop/images/11042025/22/26/image_11042025_22_26_16_10409.jpg
/home/pi/Desktop/images/11042025/22/26/image_11042025_22_26_26_10457.jpg
/home/pi/Desktop/images/11042025/22/26/image_11042025_22_26_36_9351.jpg
/home/pi/Desktop/images/11042025/22/26/image_11042025_22_26_46_10491.jpg
/home/pi/Desktop/images/11042025/22/26/image_11042025_22_26_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":["1351957072","1351957012","1351957120","1351957098","1351957025","1351957049"],"photo_ids_order":["1351957012","1351957025","1351957049","1351957072","1351957098","1351957120"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/739391107f5859ad49887cc600c0ff5f.jpg","text":"TemporaryFile(/tmp/multipartBody1227811159656713934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407213097,"filename":"image_11042025_22_26_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/11/30241ab9e82b9092bb915f18fe0ff76c.jpg","text":"TemporaryFile(/tmp/multipartBody7647628944901335707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407213097,"filename":"image_11042025_22_26_06_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f2caacd689f0451154e936da633a40eb.jpg","text":"TemporaryFile(/tmp/multipartBody3601196116274150596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407213097,"filename":"image_11042025_22_26_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/11/47f8444b65530e9277c82ff91be11de5.jpg","text":"TemporaryFile(/tmp/multipartBody678346343402402616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407213097,"filename":"image_11042025_22_26_46_10491.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/6ef2e0f9e76f34627c34060561c52c11.jpg","text":"TemporaryFile(/tmp/multipartBody5124584111239271361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407213097,"filename":"image_11042025_22_26_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/11/4f18772b9243ba3e70697d0593cbcba9.jpg","text":"TemporaryFile(/tmp/multipartBody7885296639056851888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407213097,"filename":"image_11042025_22_26_26_10457.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351957049","file1":"1351957025","file0":"1351957012","file4":"1351957098","file5":"1351957120","file3":"1351957072"},"map_files_photo_id_array":[{"photo_id":"1351957120","filename":"file5"},{"photo_id":"1351957049","filename":"file2"},{"photo_id":"1351957098","filename":"file4"},{"photo_id":"1351957025","filename":"file1"},{"photo_id":"1351957012","filename":"file0"},{"photo_id":"1351957072","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351957072":["hashtag1","hashtag2"]},{"1351957012":["hashtag1","hashtag2"]},{"1351957120":["hashtag1","hashtag2"]},{"1351957098":["hashtag1","hashtag2"]},{"1351957025":["hashtag1","hashtag2"]},{"1351957049":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351957072, 1351957012, 1351957120, 1351957098, 1351957025, 1351957049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.504859924316406 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 23:33:32.829327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/22/26/image_11042025_22_27_06_10388.jpg', '/home/pi/Desktop/images/11042025/22/27/image_11042025_22_27_16_10365.jpg', '/home/pi/Desktop/images/11042025/22/27/image_11042025_22_27_26_9387.jpg', '/home/pi/Desktop/images/11042025/22/27/image_11042025_22_27_36_10520.jpg', '/home/pi/Desktop/images/11042025/22/27/image_11042025_22_27_46_9360.jpg', '/home/pi/Desktop/images/11042025/22/27/image_11042025_22_27_56_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/22/26/image_11042025_22_27_06_10388.jpg
/home/pi/Desktop/images/11042025/22/27/image_11042025_22_27_16_10365.jpg
/home/pi/Desktop/images/11042025/22/27/image_11042025_22_27_26_9387.jpg
/home/pi/Desktop/images/11042025/22/27/image_11042025_22_27_36_10520.jpg
/home/pi/Desktop/images/11042025/22/27/image_11042025_22_27_46_9360.jpg
/home/pi/Desktop/images/11042025/22/27/image_11042025_22_27_56_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351957625","1351957618","1351957446","1351957605","1351957580","1351957331"],"photo_ids_order":["1351957331","1351957446","1351957580","1351957605","1351957618","1351957625"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a0d5e33b63d1a443f0c27b145ca2bad6.jpg","text":"TemporaryFile(/tmp/multipartBody3371036631258929893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407273299,"filename":"image_11042025_22_27_56_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/a33c13c08109fa1f631823cdf193b875.jpg","text":"TemporaryFile(/tmp/multipartBody3189693445021785191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407273299,"filename":"image_11042025_22_27_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/11/ecda3328605e7a63cd1bc5f7f8e001ca.jpg","text":"TemporaryFile(/tmp/multipartBody4925226667744656380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407273299,"filename":"image_11042025_22_27_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/11/a0ba3809a4b5caa0d5967432345e9ccc.jpg","text":"TemporaryFile(/tmp/multipartBody6724126824525835852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407273299,"filename":"image_11042025_22_27_36_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/11/898b861c2705c3db5ada9ad88d18a7e1.jpg","text":"TemporaryFile(/tmp/multipartBody4632996184619939774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407273299,"filename":"image_11042025_22_27_26_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/765d3478e4c38f53898dd05fd5df488d.jpg","text":"TemporaryFile(/tmp/multipartBody5811291536049678197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407273299,"filename":"image_11042025_22_27_06_10388.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351957580","file1":"1351957446","file0":"1351957331","file4":"1351957618","file5":"1351957625","file3":"1351957605"},"map_files_photo_id_array":[{"photo_id":"1351957625","filename":"file5"},{"photo_id":"1351957580","filename":"file2"},{"photo_id":"1351957618","filename":"file4"},{"photo_id":"1351957446","filename":"file1"},{"photo_id":"1351957331","filename":"file0"},{"photo_id":"1351957605","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351957625":["hashtag1","hashtag2"]},{"1351957618":["hashtag1","hashtag2"]},{"1351957446":["hashtag1","hashtag2"]},{"1351957605":["hashtag1","hashtag2"]},{"1351957580":["hashtag1","hashtag2"]},{"1351957331":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351957625, 1351957618, 1351957446, 1351957605, 1351957580, 1351957331)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.59174823760986 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 23:34:32.985063
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/22/27/image_11042025_22_28_06_10359.jpg', '/home/pi/Desktop/images/11042025/22/28/image_11042025_22_28_16_9369.jpg', '/home/pi/Desktop/images/11042025/22/28/image_11042025_22_28_26_10379.jpg', '/home/pi/Desktop/images/11042025/22/28/image_11042025_22_28_36_9427.jpg', '/home/pi/Desktop/images/11042025/22/28/image_11042025_22_28_46_10361.jpg', '/home/pi/Desktop/images/11042025/22/28/image_11042025_22_28_56_10374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/22/27/image_11042025_22_28_06_10359.jpg
/home/pi/Desktop/images/11042025/22/28/image_11042025_22_28_16_9369.jpg
/home/pi/Desktop/images/11042025/22/28/image_11042025_22_28_26_10379.jpg
/home/pi/Desktop/images/11042025/22/28/image_11042025_22_28_36_9427.jpg
/home/pi/Desktop/images/11042025/22/28/image_11042025_22_28_46_10361.jpg
/home/pi/Desktop/images/11042025/22/28/image_11042025_22_28_56_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":["1351957768","1351957696","1351957672","1351957735","1351957752","1351957790"],"photo_ids_order":["1351957672","1351957696","1351957735","1351957752","1351957768","1351957790"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7e61080e46029196e033b31d9f75ebf8.jpg","text":"TemporaryFile(/tmp/multipartBody7841921044473387710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407333479,"filename":"image_11042025_22_28_46_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/bd7a19626e56621f02e8e0eabb0ddad7.jpg","text":"TemporaryFile(/tmp/multipartBody2772906119447229295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407333479,"filename":"image_11042025_22_28_16_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/bcbcc1289c7150e970a4ffa3e69c2e7f.jpg","text":"TemporaryFile(/tmp/multipartBody647968984392747074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407333479,"filename":"image_11042025_22_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/11/1a36345040a832617dccbbbe3722b0b7.jpg","text":"TemporaryFile(/tmp/multipartBody1806199580048032189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407333479,"filename":"image_11042025_22_28_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/11/ab025c1794be72ea9835451f79ada051.jpg","text":"TemporaryFile(/tmp/multipartBody1377016036270943880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407333479,"filename":"image_11042025_22_28_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/11/a604f6dbb61361c8052325cc40b4ffb0.jpg","text":"TemporaryFile(/tmp/multipartBody5768490370423100691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407333479,"filename":"image_11042025_22_28_56_10374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351957735","file1":"1351957696","file0":"1351957672","file4":"1351957768","file5":"1351957790","file3":"1351957752"},"map_files_photo_id_array":[{"photo_id":"1351957790","filename":"file5"},{"photo_id":"1351957735","filename":"file2"},{"photo_id":"1351957768","filename":"file4"},{"photo_id":"1351957696","filename":"file1"},{"photo_id":"1351957672","filename":"file0"},{"photo_id":"1351957752","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351957768":["hashtag1","hashtag2"]},{"1351957696":["hashtag1","hashtag2"]},{"1351957672":["hashtag1","hashtag2"]},{"1351957735":["hashtag1","hashtag2"]},{"1351957752":["hashtag1","hashtag2"]},{"1351957790":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351957768, 1351957696, 1351957672, 1351957735, 1351957752, 1351957790)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.70208191871643 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 23:35:32.213028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/22/28/image_11042025_22_29_06_9396.jpg', '/home/pi/Desktop/images/11042025/22/29/image_11042025_22_29_26_9492.jpg', '/home/pi/Desktop/images/11042025/22/29/image_11042025_22_29_36_10383.jpg', '/home/pi/Desktop/images/11042025/22/30/image_11042025_22_30_16_9431.jpg', '/home/pi/Desktop/images/11042025/22/30/image_11042025_22_30_37_10436.jpg', '/home/pi/Desktop/images/11042025/22/30/image_11042025_22_30_46_9369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/22/28/image_11042025_22_29_06_9396.jpg
/home/pi/Desktop/images/11042025/22/29/image_11042025_22_29_26_9492.jpg
/home/pi/Desktop/images/11042025/22/29/image_11042025_22_29_36_10383.jpg
/home/pi/Desktop/images/11042025/22/30/image_11042025_22_30_16_9431.jpg
/home/pi/Desktop/images/11042025/22/30/image_11042025_22_30_37_10436.jpg
/home/pi/Desktop/images/11042025/22/30/image_11042025_22_30_46_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":["1351957963","1351957924","1351957903","1351957989","1351957912","1351957994"],"photo_ids_order":["1351957903","1351957912","1351957924","1351957963","1351957989","1351957994"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/594d3d83fd8cde14572bead766315192.jpg","text":"TemporaryFile(/tmp/multipartBody9101874019652146928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407392685,"filename":"image_11042025_22_30_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/11/f2a640554ece6b9d3d0f44311ae04760.jpg","text":"TemporaryFile(/tmp/multipartBody7630029147852343994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407392685,"filename":"image_11042025_22_29_36_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/bec9e1afabceeb9823a858b38bf4479b.jpg","text":"TemporaryFile(/tmp/multipartBody3929569125313376124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407392685,"filename":"image_11042025_22_29_06_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2b5af937984a3e05df894fd1dcee1643.jpg","text":"TemporaryFile(/tmp/multipartBody3134045654997499849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407392685,"filename":"image_11042025_22_30_37_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/11/ca5d3d11a96f4434dd3141ea0e5832b3.jpg","text":"TemporaryFile(/tmp/multipartBody131521562027218455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407392685,"filename":"image_11042025_22_29_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/11/6f0e195a5bd19332e19db0e7739d954c.jpg","text":"TemporaryFile(/tmp/multipartBody9099768439231165731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407392685,"filename":"image_11042025_22_30_46_9369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351957924","file1":"1351957912","file0":"1351957903","file4":"1351957989","file5":"1351957994","file3":"1351957963"},"map_files_photo_id_array":[{"photo_id":"1351957994","filename":"file5"},{"photo_id":"1351957924","filename":"file2"},{"photo_id":"1351957989","filename":"file4"},{"photo_id":"1351957912","filename":"file1"},{"photo_id":"1351957903","filename":"file0"},{"photo_id":"1351957963","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351957963":["hashtag1","hashtag2"]},{"1351957924":["hashtag1","hashtag2"]},{"1351957903":["hashtag1","hashtag2"]},{"1351957989":["hashtag1","hashtag2"]},{"1351957912":["hashtag1","hashtag2"]},{"1351957994":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351957963, 1351957924, 1351957903, 1351957989, 1351957912, 1351957994)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.30283331871033 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 23:36:32.495708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/22/30/image_11042025_22_30_56_10361.jpg', '/home/pi/Desktop/images/11042025/22/30/image_11042025_22_31_06_9362.jpg', '/home/pi/Desktop/images/11042025/22/31/image_11042025_22_31_26_10462.jpg', '/home/pi/Desktop/images/11042025/22/31/image_11042025_22_31_36_9376.jpg', '/home/pi/Desktop/images/11042025/22/31/image_11042025_22_31_46_10434.jpg', '/home/pi/Desktop/images/11042025/22/31/image_11042025_22_31_56_9351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/22/30/image_11042025_22_30_56_10361.jpg
/home/pi/Desktop/images/11042025/22/30/image_11042025_22_31_06_9362.jpg
/home/pi/Desktop/images/11042025/22/31/image_11042025_22_31_26_10462.jpg
/home/pi/Desktop/images/11042025/22/31/image_11042025_22_31_36_9376.jpg
/home/pi/Desktop/images/11042025/22/31/image_11042025_22_31_46_10434.jpg
/home/pi/Desktop/images/11042025/22/31/image_11042025_22_31_56_9351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351958099","1351958051","1351958105","1351958095","1351958114","1351958065"],"photo_ids_order":["1351958051","1351958065","1351958095","1351958099","1351958105","1351958114"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/84eab7ff3f43adfa3b2fcaa0a1520da3.jpg","text":"TemporaryFile(/tmp/multipartBody5483204701647687992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407452966,"filename":"image_11042025_22_31_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/11/971f9d02a9cc8922fe7564b12af1ac9e.jpg","text":"TemporaryFile(/tmp/multipartBody4778095820547591266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407452966,"filename":"image_11042025_22_30_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/11/2f45d85f19d5dc9100941ce380211583.jpg","text":"TemporaryFile(/tmp/multipartBody6474665168476800547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407452966,"filename":"image_11042025_22_31_46_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/737f5362a2d5b28eea20c23b4c092842.jpg","text":"TemporaryFile(/tmp/multipartBody4149494391128168086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407452966,"filename":"image_11042025_22_31_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/11/4076070f92201ea5395cf0248614d0ad.jpg","text":"TemporaryFile(/tmp/multipartBody3234663520470402325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407452966,"filename":"image_11042025_22_31_56_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/239d6a3daf285b52a8bb0e1967fca302.jpg","text":"TemporaryFile(/tmp/multipartBody6421831228133909130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407452966,"filename":"image_11042025_22_31_06_9362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351958095","file1":"1351958065","file0":"1351958051","file4":"1351958105","file5":"1351958114","file3":"1351958099"},"map_files_photo_id_array":[{"photo_id":"1351958114","filename":"file5"},{"photo_id":"1351958095","filename":"file2"},{"photo_id":"1351958105","filename":"file4"},{"photo_id":"1351958065","filename":"file1"},{"photo_id":"1351958051","filename":"file0"},{"photo_id":"1351958099","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351958099":["hashtag1","hashtag2"]},{"1351958051":["hashtag1","hashtag2"]},{"1351958105":["hashtag1","hashtag2"]},{"1351958095":["hashtag1","hashtag2"]},{"1351958114":["hashtag1","hashtag2"]},{"1351958065":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351958099, 1351958051, 1351958105, 1351958095, 1351958114, 1351958065)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.493518114089966 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 23:37:32.712143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/22/31/image_11042025_22_32_06_10367.jpg', '/home/pi/Desktop/images/11042025/22/32/image_11042025_22_32_16_10428.jpg', '/home/pi/Desktop/images/11042025/22/32/image_11042025_22_32_36_10436.jpg', '/home/pi/Desktop/images/11042025/22/32/image_11042025_22_32_46_9356.jpg', '/home/pi/Desktop/images/11042025/22/32/image_11042025_22_32_56_10358.jpg', '/home/pi/Desktop/images/11042025/22/32/image_11042025_22_33_06_10389.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/22/31/image_11042025_22_32_06_10367.jpg
/home/pi/Desktop/images/11042025/22/32/image_11042025_22_32_16_10428.jpg
/home/pi/Desktop/images/11042025/22/32/image_11042025_22_32_36_10436.jpg
/home/pi/Desktop/images/11042025/22/32/image_11042025_22_32_46_9356.jpg
/home/pi/Desktop/images/11042025/22/32/image_11042025_22_32_56_10358.jpg
/home/pi/Desktop/images/11042025/22/32/image_11042025_22_33_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":["1351958286","1351958256","1351958220","1351958318","1351958201","1351958179"],"photo_ids_order":["1351958179","1351958201","1351958220","1351958256","1351958286","1351958318"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f3dfc4d0b5ac0da5daeca351a90d173c.jpg","text":"TemporaryFile(/tmp/multipartBody3800169141498742318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407513180,"filename":"image_11042025_22_32_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/11/bf150f87e0c4134f7ce4a45bff53cc02.jpg","text":"TemporaryFile(/tmp/multipartBody7707123019275512484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407513180,"filename":"image_11042025_22_32_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/11/b37ca857792d3d1eb707f4b62d079a95.jpg","text":"TemporaryFile(/tmp/multipartBody4073267696473118478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407513180,"filename":"image_11042025_22_32_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/11/5899abb3440c09be0dbca9d7a7ed8669.jpg","text":"TemporaryFile(/tmp/multipartBody3058577088315183780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407513180,"filename":"image_11042025_22_33_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/11/a7395041723fc3892561420e67646926.jpg","text":"TemporaryFile(/tmp/multipartBody906971132158100110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407513180,"filename":"image_11042025_22_32_16_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/382330bcd7485a9504a110b96b9629f4.jpg","text":"TemporaryFile(/tmp/multipartBody6236749801897456936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407513180,"filename":"image_11042025_22_32_06_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351958220","file1":"1351958201","file0":"1351958179","file4":"1351958286","file5":"1351958318","file3":"1351958256"},"map_files_photo_id_array":[{"photo_id":"1351958318","filename":"file5"},{"photo_id":"1351958220","filename":"file2"},{"photo_id":"1351958286","filename":"file4"},{"photo_id":"1351958201","filename":"file1"},{"photo_id":"1351958179","filename":"file0"},{"photo_id":"1351958256","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351958286":["hashtag1","hashtag2"]},{"1351958256":["hashtag1","hashtag2"]},{"1351958220":["hashtag1","hashtag2"]},{"1351958318":["hashtag1","hashtag2"]},{"1351958201":["hashtag1","hashtag2"]},{"1351958179":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351958286, 1351958256, 1351958220, 1351958318, 1351958201, 1351958179)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.27518272399902 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 23:38:32.978627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/22/33/image_11042025_22_33_16_9353.jpg', '/home/pi/Desktop/images/11042025/22/33/image_11042025_22_33_26_10355.jpg', '/home/pi/Desktop/images/11042025/22/33/image_11042025_22_33_36_10377.jpg', '/home/pi/Desktop/images/11042025/22/33/image_11042025_22_33_46_9396.jpg', '/home/pi/Desktop/images/11042025/22/33/image_11042025_22_33_56_10421.jpg', '/home/pi/Desktop/images/11042025/22/33/image_11042025_22_34_06_9406.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/22/33/image_11042025_22_33_16_9353.jpg
/home/pi/Desktop/images/11042025/22/33/image_11042025_22_33_26_10355.jpg
/home/pi/Desktop/images/11042025/22/33/image_11042025_22_33_36_10377.jpg
/home/pi/Desktop/images/11042025/22/33/image_11042025_22_33_46_9396.jpg
/home/pi/Desktop/images/11042025/22/33/image_11042025_22_33_56_10421.jpg
/home/pi/Desktop/images/11042025/22/33/image_11042025_22_34_06_9406.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351958650","1351958634","1351958607","1351958567","1351958753","1351958717"],"photo_ids_order":["1351958567","1351958607","1351958634","1351958650","1351958717","1351958753"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d1b66bb46641b908874d661770f63ff1.jpg","text":"TemporaryFile(/tmp/multipartBody7493820792153509493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407573453,"filename":"image_11042025_22_33_46_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f490a2d52896f3a7f902e9407aaf07bb.jpg","text":"TemporaryFile(/tmp/multipartBody4771416985835087798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407573453,"filename":"image_11042025_22_33_36_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/bf65a1332ec630d0081deff166423450.jpg","text":"TemporaryFile(/tmp/multipartBody4688587081011498065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407573453,"filename":"image_11042025_22_33_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/11/8c782b9858cb5eee81c51e4ba9158feb.jpg","text":"TemporaryFile(/tmp/multipartBody1733489873622809643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407573453,"filename":"image_11042025_22_33_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/11/6c0162b465e4fd54545e5f4084884427.jpg","text":"TemporaryFile(/tmp/multipartBody7815431623896319619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407573453,"filename":"image_11042025_22_34_06_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/748280141eafae888fedb0a41a0543c3.jpg","text":"TemporaryFile(/tmp/multipartBody3531969353310158530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407573453,"filename":"image_11042025_22_33_56_10421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351958634","file1":"1351958607","file0":"1351958567","file4":"1351958717","file5":"1351958753","file3":"1351958650"},"map_files_photo_id_array":[{"photo_id":"1351958753","filename":"file5"},{"photo_id":"1351958634","filename":"file2"},{"photo_id":"1351958717","filename":"file4"},{"photo_id":"1351958607","filename":"file1"},{"photo_id":"1351958567","filename":"file0"},{"photo_id":"1351958650","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351958650":["hashtag1","hashtag2"]},{"1351958634":["hashtag1","hashtag2"]},{"1351958607":["hashtag1","hashtag2"]},{"1351958567":["hashtag1","hashtag2"]},{"1351958753":["hashtag1","hashtag2"]},{"1351958717":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351958650, 1351958634, 1351958607, 1351958567, 1351958753, 1351958717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.420247077941895 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 23:39:32.165227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/22/34/image_11042025_22_34_16_10407.jpg', '/home/pi/Desktop/images/11042025/22/34/image_11042025_22_34_26_10375.jpg', '/home/pi/Desktop/images/11042025/22/34/image_11042025_22_34_36_9357.jpg', '/home/pi/Desktop/images/11042025/22/34/image_11042025_22_34_46_10433.jpg', '/home/pi/Desktop/images/11042025/22/34/image_11042025_22_34_56_9449.jpg', '/home/pi/Desktop/images/11042025/22/34/image_11042025_22_35_06_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/22/34/image_11042025_22_34_16_10407.jpg
/home/pi/Desktop/images/11042025/22/34/image_11042025_22_34_26_10375.jpg
/home/pi/Desktop/images/11042025/22/34/image_11042025_22_34_36_9357.jpg
/home/pi/Desktop/images/11042025/22/34/image_11042025_22_34_46_10433.jpg
/home/pi/Desktop/images/11042025/22/34/image_11042025_22_34_56_9449.jpg
/home/pi/Desktop/images/11042025/22/34/image_11042025_22_35_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":["1351959004","1351959009","1351958879","1351958995","1351958927","1351958962"],"photo_ids_order":["1351958879","1351958927","1351958962","1351958995","1351959004","1351959009"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/8ab710771b7df73593042301dfbba084.jpg","text":"TemporaryFile(/tmp/multipartBody8813254683338947735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407632634,"filename":"image_11042025_22_34_56_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4fc87a2196bb2f50b07b0c2e42503c3c.jpg","text":"TemporaryFile(/tmp/multipartBody8337373234373253768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407632634,"filename":"image_11042025_22_35_06_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/42291b9b186b50fc971174082bad9ace.jpg","text":"TemporaryFile(/tmp/multipartBody6830326685644362169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407632634,"filename":"image_11042025_22_34_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/11/2c3fea4211707cf8466fe86710b2d2f8.jpg","text":"TemporaryFile(/tmp/multipartBody2391007442799364435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407632634,"filename":"image_11042025_22_34_46_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b99ef256ae6ccfddda6367e6098bd401.jpg","text":"TemporaryFile(/tmp/multipartBody1369790339346955893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407632634,"filename":"image_11042025_22_34_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/11/2553b0f022fe49c64dd27961f4ee398e.jpg","text":"TemporaryFile(/tmp/multipartBody6534740434655381715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407632634,"filename":"image_11042025_22_34_36_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351958962","file1":"1351958927","file0":"1351958879","file4":"1351959004","file5":"1351959009","file3":"1351958995"},"map_files_photo_id_array":[{"photo_id":"1351959009","filename":"file5"},{"photo_id":"1351958962","filename":"file2"},{"photo_id":"1351959004","filename":"file4"},{"photo_id":"1351958927","filename":"file1"},{"photo_id":"1351958879","filename":"file0"},{"photo_id":"1351958995","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351959004":["hashtag1","hashtag2"]},{"1351959009":["hashtag1","hashtag2"]},{"1351958879":["hashtag1","hashtag2"]},{"1351958995":["hashtag1","hashtag2"]},{"1351958927":["hashtag1","hashtag2"]},{"1351958962":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351959004, 1351959009, 1351958879, 1351958995, 1351958927, 1351958962)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.04263138771057 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 23:40:32.293986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/22/35/image_11042025_22_35_16_10424.jpg', '/home/pi/Desktop/images/11042025/22/35/image_11042025_22_35_26_9365.jpg', '/home/pi/Desktop/images/11042025/22/35/image_11042025_22_35_36_10501.jpg', '/home/pi/Desktop/images/11042025/22/35/image_11042025_22_35_46_9358.jpg', '/home/pi/Desktop/images/11042025/22/35/image_11042025_22_35_56_10350.jpg', '/home/pi/Desktop/images/11042025/22/35/image_11042025_22_36_06_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/22/35/image_11042025_22_35_16_10424.jpg
/home/pi/Desktop/images/11042025/22/35/image_11042025_22_35_26_9365.jpg
/home/pi/Desktop/images/11042025/22/35/image_11042025_22_35_36_10501.jpg
/home/pi/Desktop/images/11042025/22/35/image_11042025_22_35_46_9358.jpg
/home/pi/Desktop/images/11042025/22/35/image_11042025_22_35_56_10350.jpg
/home/pi/Desktop/images/11042025/22/35/image_11042025_22_36_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":["1351959121","1351959126","1351959128","1351959175","1351959097","1351959154"],"photo_ids_order":["1351959097","1351959121","1351959126","1351959128","1351959154","1351959175"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/b5c8304ca91ee683927af32f47def99c.jpg","text":"TemporaryFile(/tmp/multipartBody7740019227129202038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407692761,"filename":"image_11042025_22_35_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/11/c3de95ea6bd159d0a24cb0f36476b0e4.jpg","text":"TemporaryFile(/tmp/multipartBody3154718155726935136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407692761,"filename":"image_11042025_22_35_36_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/11/259f3bf3bd17b4d2df58a78007908fa9.jpg","text":"TemporaryFile(/tmp/multipartBody64863110201949877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407692761,"filename":"image_11042025_22_35_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/11/6bdd26ac70e8d1378430d203337f1a48.jpg","text":"TemporaryFile(/tmp/multipartBody592080328217180883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407692761,"filename":"image_11042025_22_36_06_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/db6e7358662d8ba3434b530eaff64b62.jpg","text":"TemporaryFile(/tmp/multipartBody5704133498485449763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407692761,"filename":"image_11042025_22_35_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/11/2422ac1c59ef67f574923ae0f1e3c5b8.jpg","text":"TemporaryFile(/tmp/multipartBody8435559528713775737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407692761,"filename":"image_11042025_22_35_56_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351959126","file1":"1351959121","file0":"1351959097","file4":"1351959154","file5":"1351959175","file3":"1351959128"},"map_files_photo_id_array":[{"photo_id":"1351959175","filename":"file5"},{"photo_id":"1351959126","filename":"file2"},{"photo_id":"1351959154","filename":"file4"},{"photo_id":"1351959121","filename":"file1"},{"photo_id":"1351959097","filename":"file0"},{"photo_id":"1351959128","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351959121":["hashtag1","hashtag2"]},{"1351959126":["hashtag1","hashtag2"]},{"1351959128":["hashtag1","hashtag2"]},{"1351959175":["hashtag1","hashtag2"]},{"1351959097":["hashtag1","hashtag2"]},{"1351959154":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351959121, 1351959126, 1351959128, 1351959175, 1351959097, 1351959154)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.593007802963257 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 23:41:32.489157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/22/36/image_11042025_22_36_16_9337.jpg', '/home/pi/Desktop/images/11042025/22/36/image_11042025_22_36_26_10499.jpg', '/home/pi/Desktop/images/11042025/22/36/image_11042025_22_36_36_9350.jpg', '/home/pi/Desktop/images/11042025/22/36/image_11042025_22_36_46_10442.jpg', '/home/pi/Desktop/images/11042025/22/36/image_11042025_22_36_56_10372.jpg', '/home/pi/Desktop/images/11042025/22/36/image_11042025_22_37_06_9357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/22/36/image_11042025_22_36_16_9337.jpg
/home/pi/Desktop/images/11042025/22/36/image_11042025_22_36_26_10499.jpg
/home/pi/Desktop/images/11042025/22/36/image_11042025_22_36_36_9350.jpg
/home/pi/Desktop/images/11042025/22/36/image_11042025_22_36_46_10442.jpg
/home/pi/Desktop/images/11042025/22/36/image_11042025_22_36_56_10372.jpg
/home/pi/Desktop/images/11042025/22/36/image_11042025_22_37_06_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":["1351959285","1351959273","1351959267","1351959281","1351959287","1351959269"],"photo_ids_order":["1351959267","1351959269","1351959273","1351959281","1351959285","1351959287"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/c66e337511afba855c62d800a32993c2.jpg","text":"TemporaryFile(/tmp/multipartBody2170568732987634224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407752962,"filename":"image_11042025_22_36_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/11/ab8f16ea6b980013e79992b6460b27b9.jpg","text":"TemporaryFile(/tmp/multipartBody6607825097624982746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407752962,"filename":"image_11042025_22_36_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/11/736700c2d4bc406a8cd0f74d470014b9.jpg","text":"TemporaryFile(/tmp/multipartBody2091244690662038872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407752962,"filename":"image_11042025_22_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/11/e978c2902d3d959f6f1f21f06c3a6ed4.jpg","text":"TemporaryFile(/tmp/multipartBody7468132378208361041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407752962,"filename":"image_11042025_22_36_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/11/1f778c269bb83f2b2a10835aac8987f1.jpg","text":"TemporaryFile(/tmp/multipartBody6388928885581275612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407752962,"filename":"image_11042025_22_37_06_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ad53f572214d613eee8f676a45cdc209.jpg","text":"TemporaryFile(/tmp/multipartBody3360246262589544111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407752962,"filename":"image_11042025_22_36_26_10499.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351959273","file1":"1351959269","file0":"1351959267","file4":"1351959285","file5":"1351959287","file3":"1351959281"},"map_files_photo_id_array":[{"photo_id":"1351959287","filename":"file5"},{"photo_id":"1351959273","filename":"file2"},{"photo_id":"1351959285","filename":"file4"},{"photo_id":"1351959269","filename":"file1"},{"photo_id":"1351959267","filename":"file0"},{"photo_id":"1351959281","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351959285":["hashtag1","hashtag2"]},{"1351959273":["hashtag1","hashtag2"]},{"1351959267":["hashtag1","hashtag2"]},{"1351959281":["hashtag1","hashtag2"]},{"1351959287":["hashtag1","hashtag2"]},{"1351959269":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351959285, 1351959273, 1351959267, 1351959281, 1351959287, 1351959269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.99706244468689 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 23:42:32.705473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/22/37/image_11042025_22_37_26_9377.jpg', '/home/pi/Desktop/images/11042025/22/37/image_11042025_22_37_36_10378.jpg', '/home/pi/Desktop/images/11042025/22/37/image_11042025_22_37_46_10413.jpg', '/home/pi/Desktop/images/11042025/22/37/image_11042025_22_37_56_9357.jpg', '/home/pi/Desktop/images/11042025/22/37/image_11042025_22_38_06_10446.jpg', '/home/pi/Desktop/images/11042025/22/38/image_11042025_22_38_16_9391.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/22/37/image_11042025_22_37_26_9377.jpg
/home/pi/Desktop/images/11042025/22/37/image_11042025_22_37_36_10378.jpg
/home/pi/Desktop/images/11042025/22/37/image_11042025_22_37_46_10413.jpg
/home/pi/Desktop/images/11042025/22/37/image_11042025_22_37_56_9357.jpg
/home/pi/Desktop/images/11042025/22/37/image_11042025_22_38_06_10446.jpg
/home/pi/Desktop/images/11042025/22/38/image_11042025_22_38_16_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":["1351959333","1351959342","1351959336","1351959329","1351959340","1351959325"],"photo_ids_order":["1351959325","1351959329","1351959333","1351959336","1351959340","1351959342"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e1f58d0ba2022ce03127ddea5c1cbfcb.jpg","text":"TemporaryFile(/tmp/multipartBody8486168718212246624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407813178,"filename":"image_11042025_22_37_46_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/cc3c6a9d97418f0234520f114cc6705c.jpg","text":"TemporaryFile(/tmp/multipartBody3792697781167935992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407813178,"filename":"image_11042025_22_38_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/11/43666f6830d2818d4773577902e0c4db.jpg","text":"TemporaryFile(/tmp/multipartBody81564166515817754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407813178,"filename":"image_11042025_22_37_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/11/ac84e506aef1a95ee5620753bb20cdad.jpg","text":"TemporaryFile(/tmp/multipartBody8687187690163995517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407813178,"filename":"image_11042025_22_37_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/11/548057222fee43fba091d927a2be55be.jpg","text":"TemporaryFile(/tmp/multipartBody666453867006837303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407813178,"filename":"image_11042025_22_38_06_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5ad3029dd921b091a16632076a7fa266.jpg","text":"TemporaryFile(/tmp/multipartBody945179274363100845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407813178,"filename":"image_11042025_22_37_26_9377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351959333","file1":"1351959329","file0":"1351959325","file4":"1351959340","file5":"1351959342","file3":"1351959336"},"map_files_photo_id_array":[{"photo_id":"1351959342","filename":"file5"},{"photo_id":"1351959333","filename":"file2"},{"photo_id":"1351959340","filename":"file4"},{"photo_id":"1351959329","filename":"file1"},{"photo_id":"1351959325","filename":"file0"},{"photo_id":"1351959336","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351959333":["hashtag1","hashtag2"]},{"1351959342":["hashtag1","hashtag2"]},{"1351959336":["hashtag1","hashtag2"]},{"1351959329":["hashtag1","hashtag2"]},{"1351959340":["hashtag1","hashtag2"]},{"1351959325":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351959333, 1351959342, 1351959336, 1351959329, 1351959340, 1351959325)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.45558762550354 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 23:43:32.910343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/22/38/image_11042025_22_38_26_10379.jpg', '/home/pi/Desktop/images/11042025/22/38/image_11042025_22_38_36_10423.jpg', '/home/pi/Desktop/images/11042025/22/38/image_11042025_22_38_46_9358.jpg', '/home/pi/Desktop/images/11042025/22/38/image_11042025_22_38_56_10444.jpg', '/home/pi/Desktop/images/11042025/22/38/image_11042025_22_39_06_9344.jpg', '/home/pi/Desktop/images/11042025/22/39/image_11042025_22_39_16_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/22/38/image_11042025_22_38_26_10379.jpg
/home/pi/Desktop/images/11042025/22/38/image_11042025_22_38_36_10423.jpg
/home/pi/Desktop/images/11042025/22/38/image_11042025_22_38_46_9358.jpg
/home/pi/Desktop/images/11042025/22/38/image_11042025_22_38_56_10444.jpg
/home/pi/Desktop/images/11042025/22/38/image_11042025_22_39_06_9344.jpg
/home/pi/Desktop/images/11042025/22/39/image_11042025_22_39_16_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":["1351959396","1351959399","1351959389","1351959422","1351959385","1351959424"],"photo_ids_order":["1351959385","1351959389","1351959396","1351959399","1351959422","1351959424"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4fef3867bd212a452e9bc66b305dd803.jpg","text":"TemporaryFile(/tmp/multipartBody3976995176626956473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407873395,"filename":"image_11042025_22_38_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/11/0671515eded4681084caa9fc0a5e44f3.jpg","text":"TemporaryFile(/tmp/multipartBody7991839362130253970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407873395,"filename":"image_11042025_22_38_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/11/9d3f5faf802e80948894634430d396c4.jpg","text":"TemporaryFile(/tmp/multipartBody548908490703088551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407873395,"filename":"image_11042025_22_38_36_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/045879fd2155bb821cde5825ff453940.jpg","text":"TemporaryFile(/tmp/multipartBody4189884820845094866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407873395,"filename":"image_11042025_22_39_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/11/e8af88e68daf9b8433ffbf6a6ba0742f.jpg","text":"TemporaryFile(/tmp/multipartBody4381737602208309164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407873395,"filename":"image_11042025_22_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/11/5efaa6a0f1d10eb0cd1611067be06467.jpg","text":"TemporaryFile(/tmp/multipartBody6800622233655630458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407873395,"filename":"image_11042025_22_39_16_10369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351959396","file1":"1351959389","file0":"1351959385","file4":"1351959422","file5":"1351959424","file3":"1351959399"},"map_files_photo_id_array":[{"photo_id":"1351959424","filename":"file5"},{"photo_id":"1351959396","filename":"file2"},{"photo_id":"1351959422","filename":"file4"},{"photo_id":"1351959389","filename":"file1"},{"photo_id":"1351959385","filename":"file0"},{"photo_id":"1351959399","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351959396":["hashtag1","hashtag2"]},{"1351959399":["hashtag1","hashtag2"]},{"1351959389":["hashtag1","hashtag2"]},{"1351959422":["hashtag1","hashtag2"]},{"1351959385":["hashtag1","hashtag2"]},{"1351959424":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351959396, 1351959399, 1351959389, 1351959422, 1351959385, 1351959424)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.16863417625427 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 23:44:32.273731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/22/39/image_11042025_22_39_26_10451.jpg', '/home/pi/Desktop/images/11042025/22/39/image_11042025_22_39_36_9355.jpg', '/home/pi/Desktop/images/11042025/22/39/image_11042025_22_39_46_10476.jpg', '/home/pi/Desktop/images/11042025/22/39/image_11042025_22_39_56_9395.jpg', '/home/pi/Desktop/images/11042025/22/39/image_11042025_22_40_06_10373.jpg', '/home/pi/Desktop/images/11042025/22/40/image_11042025_22_40_16_10444.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/22/39/image_11042025_22_39_26_10451.jpg
/home/pi/Desktop/images/11042025/22/39/image_11042025_22_39_36_9355.jpg
/home/pi/Desktop/images/11042025/22/39/image_11042025_22_39_46_10476.jpg
/home/pi/Desktop/images/11042025/22/39/image_11042025_22_39_56_9395.jpg
/home/pi/Desktop/images/11042025/22/39/image_11042025_22_40_06_10373.jpg
/home/pi/Desktop/images/11042025/22/40/image_11042025_22_40_16_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":["1351959489","1351959482","1351959496","1351959493","1351959475","1351959460"],"photo_ids_order":["1351959460","1351959475","1351959482","1351959489","1351959493","1351959496"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/85e9e9dcd099738f468f3038108e48c1.jpg","text":"TemporaryFile(/tmp/multipartBody7962195049198446169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407932739,"filename":"image_11042025_22_39_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/11/c90d50d5ff49cf635b996fce85547ed1.jpg","text":"TemporaryFile(/tmp/multipartBody2761294236498118390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407932739,"filename":"image_11042025_22_39_46_10476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/48df2b76945b78b958ef3519ed9c6a3e.jpg","text":"TemporaryFile(/tmp/multipartBody6545021720802085675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407932739,"filename":"image_11042025_22_40_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/11/e139c4acf7261400cab6c5dc11c53c22.jpg","text":"TemporaryFile(/tmp/multipartBody3878837778883119433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407932739,"filename":"image_11042025_22_40_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/11/9e6e0aac12ee6b64812eeeb82bb56a53.jpg","text":"TemporaryFile(/tmp/multipartBody934361975869035332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407932739,"filename":"image_11042025_22_39_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/11/cabd910f8f33b86b6dc7c8518ab89d42.jpg","text":"TemporaryFile(/tmp/multipartBody8526652392221538746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407932739,"filename":"image_11042025_22_39_26_10451.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351959482","file1":"1351959475","file0":"1351959460","file4":"1351959493","file5":"1351959496","file3":"1351959489"},"map_files_photo_id_array":[{"photo_id":"1351959496","filename":"file5"},{"photo_id":"1351959482","filename":"file2"},{"photo_id":"1351959493","filename":"file4"},{"photo_id":"1351959475","filename":"file1"},{"photo_id":"1351959460","filename":"file0"},{"photo_id":"1351959489","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351959489":["hashtag1","hashtag2"]},{"1351959482":["hashtag1","hashtag2"]},{"1351959496":["hashtag1","hashtag2"]},{"1351959493":["hashtag1","hashtag2"]},{"1351959475":["hashtag1","hashtag2"]},{"1351959460":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351959489, 1351959482, 1351959496, 1351959493, 1351959475, 1351959460)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.8747034072876 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 23:45:32.662776
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/22/40/image_11042025_22_40_26_9348.jpg', '/home/pi/Desktop/images/11042025/22/40/image_11042025_22_40_36_10477.jpg', '/home/pi/Desktop/images/11042025/22/40/image_11042025_22_40_46_9343.jpg', '/home/pi/Desktop/images/11042025/22/40/image_11042025_22_40_56_10343.jpg', '/home/pi/Desktop/images/11042025/22/40/image_11042025_22_41_06_10437.jpg', '/home/pi/Desktop/images/11042025/22/41/image_11042025_22_41_16_9356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/22/40/image_11042025_22_40_26_9348.jpg
/home/pi/Desktop/images/11042025/22/40/image_11042025_22_40_36_10477.jpg
/home/pi/Desktop/images/11042025/22/40/image_11042025_22_40_46_9343.jpg
/home/pi/Desktop/images/11042025/22/40/image_11042025_22_40_56_10343.jpg
/home/pi/Desktop/images/11042025/22/40/image_11042025_22_41_06_10437.jpg
/home/pi/Desktop/images/11042025/22/41/image_11042025_22_41_16_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":["1351959609","1351959603","1351959614","1351959592","1351959634","1351959637"],"photo_ids_order":["1351959592","1351959603","1351959609","1351959614","1351959634","1351959637"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f78a4e8a8b93f5f77348133718861fca.jpg","text":"TemporaryFile(/tmp/multipartBody4854612835075826388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407993123,"filename":"image_11042025_22_40_46_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5e1e541df34871d89a69276960974db3.jpg","text":"TemporaryFile(/tmp/multipartBody3363602297945856930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407993123,"filename":"image_11042025_22_40_36_10477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e1893970fdd2abddf671c1df842abed4.jpg","text":"TemporaryFile(/tmp/multipartBody1240234814919183988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407993123,"filename":"image_11042025_22_40_56_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/2d86da247b931d1093680b4561207e6e.jpg","text":"TemporaryFile(/tmp/multipartBody3874524935217082708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407993123,"filename":"image_11042025_22_40_26_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5b9f2496b7c9c42c511685085a454b30.jpg","text":"TemporaryFile(/tmp/multipartBody6509240217352281123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407993123,"filename":"image_11042025_22_41_06_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/728b7eb533d5293a986dd5ba62cb96ae.jpg","text":"TemporaryFile(/tmp/multipartBody1670033987895054435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744407993123,"filename":"image_11042025_22_41_16_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351959609","file1":"1351959603","file0":"1351959592","file4":"1351959634","file5":"1351959637","file3":"1351959614"},"map_files_photo_id_array":[{"photo_id":"1351959637","filename":"file5"},{"photo_id":"1351959609","filename":"file2"},{"photo_id":"1351959634","filename":"file4"},{"photo_id":"1351959603","filename":"file1"},{"photo_id":"1351959592","filename":"file0"},{"photo_id":"1351959614","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351959609":["hashtag1","hashtag2"]},{"1351959603":["hashtag1","hashtag2"]},{"1351959614":["hashtag1","hashtag2"]},{"1351959592":["hashtag1","hashtag2"]},{"1351959634":["hashtag1","hashtag2"]},{"1351959637":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351959609, 1351959603, 1351959614, 1351959592, 1351959634, 1351959637)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.08107614517212 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 23:46:32.641353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/22/41/image_11042025_22_41_26_10454.jpg', '/home/pi/Desktop/images/11042025/22/41/image_11042025_22_41_37_10358.jpg', '/home/pi/Desktop/images/11042025/22/41/image_11042025_22_41_46_9344.jpg', '/home/pi/Desktop/images/11042025/22/41/image_11042025_22_41_56_10495.jpg', '/home/pi/Desktop/images/11042025/22/41/image_11042025_22_42_06_9349.jpg', '/home/pi/Desktop/images/11042025/22/42/image_11042025_22_42_16_10420.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/22/41/image_11042025_22_41_26_10454.jpg
/home/pi/Desktop/images/11042025/22/41/image_11042025_22_41_37_10358.jpg
/home/pi/Desktop/images/11042025/22/41/image_11042025_22_41_46_9344.jpg
/home/pi/Desktop/images/11042025/22/41/image_11042025_22_41_56_10495.jpg
/home/pi/Desktop/images/11042025/22/41/image_11042025_22_42_06_9349.jpg
/home/pi/Desktop/images/11042025/22/42/image_11042025_22_42_16_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":["1351959663","1351959657","1351959651","1351959647","1351959644","1351959661"],"photo_ids_order":["1351959644","1351959647","1351959651","1351959657","1351959661","1351959663"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f700b038bfccc3d37fd61d0c3013ab4c.jpg","text":"TemporaryFile(/tmp/multipartBody3804411731014544355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744408053122,"filename":"image_11042025_22_42_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/11/fa25d430a13746f3698c7f154270d631.jpg","text":"TemporaryFile(/tmp/multipartBody2517990165422365506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744408053122,"filename":"image_11042025_22_41_56_10495.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e608e86fe955d220a2cb9ecce27ca200.jpg","text":"TemporaryFile(/tmp/multipartBody6915750536898876828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744408053122,"filename":"image_11042025_22_41_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/11/a899c77d4ebb62121824b4479d23a85a.jpg","text":"TemporaryFile(/tmp/multipartBody4274494602063840995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744408053122,"filename":"image_11042025_22_41_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/11/748138ddf5fafc5626c6c98657b8fbeb.jpg","text":"TemporaryFile(/tmp/multipartBody6412160109636702895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744408053122,"filename":"image_11042025_22_41_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/11/9c9563cbfd71e225fcf539990757dd8d.jpg","text":"TemporaryFile(/tmp/multipartBody847651800640911448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744408053122,"filename":"image_11042025_22_42_06_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351959651","file1":"1351959647","file0":"1351959644","file4":"1351959661","file5":"1351959663","file3":"1351959657"},"map_files_photo_id_array":[{"photo_id":"1351959663","filename":"file5"},{"photo_id":"1351959651","filename":"file2"},{"photo_id":"1351959661","filename":"file4"},{"photo_id":"1351959647","filename":"file1"},{"photo_id":"1351959644","filename":"file0"},{"photo_id":"1351959657","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351959663":["hashtag1","hashtag2"]},{"1351959657":["hashtag1","hashtag2"]},{"1351959651":["hashtag1","hashtag2"]},{"1351959647":["hashtag1","hashtag2"]},{"1351959644":["hashtag1","hashtag2"]},{"1351959661":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351959663, 1351959657, 1351959651, 1351959647, 1351959644, 1351959661)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.33544063568115 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 23:47:32.867460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/22/42/image_11042025_22_42_26_10359.jpg', '/home/pi/Desktop/images/11042025/22/42/image_11042025_22_42_36_9338.jpg', '/home/pi/Desktop/images/11042025/22/42/image_11042025_22_42_46_10452.jpg', '/home/pi/Desktop/images/11042025/22/42/image_11042025_22_42_56_9409.jpg', '/home/pi/Desktop/images/11042025/22/42/image_11042025_22_43_06_10372.jpg', '/home/pi/Desktop/images/11042025/22/43/image_11042025_22_43_16_10418.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/22/42/image_11042025_22_42_26_10359.jpg
/home/pi/Desktop/images/11042025/22/42/image_11042025_22_42_36_9338.jpg
/home/pi/Desktop/images/11042025/22/42/image_11042025_22_42_46_10452.jpg
/home/pi/Desktop/images/11042025/22/42/image_11042025_22_42_56_9409.jpg
/home/pi/Desktop/images/11042025/22/42/image_11042025_22_43_06_10372.jpg
/home/pi/Desktop/images/11042025/22/43/image_11042025_22_43_16_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":["1351959771","1351959753","1351959777","1351959746","1351959749","1351959798"],"photo_ids_order":["1351959746","1351959749","1351959753","1351959771","1351959777","1351959798"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e5cf9a1c031d208416b2a8af625e07bc.jpg","text":"TemporaryFile(/tmp/multipartBody6287695333118098362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744408113349,"filename":"image_11042025_22_42_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/11/68ddb6ad8bdbcb7c27b06ad9aeb48b12.jpg","text":"TemporaryFile(/tmp/multipartBody5466074949739078163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744408113349,"filename":"image_11042025_22_42_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/11/5a3fa6989996af289126214e0f361b66.jpg","text":"TemporaryFile(/tmp/multipartBody5735031988630682020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744408113349,"filename":"image_11042025_22_43_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/11/43df7fe0015049ff930583ac75f39ba5.jpg","text":"TemporaryFile(/tmp/multipartBody6789088794203093847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744408113349,"filename":"image_11042025_22_42_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/11/1bac04ae914666db9b917b168d71fd12.jpg","text":"TemporaryFile(/tmp/multipartBody6237679433626772654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744408113349,"filename":"image_11042025_22_42_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/11/05b6b2d85efb0668ed10ae54900a14d3.jpg","text":"TemporaryFile(/tmp/multipartBody1224553267570176726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744408113349,"filename":"image_11042025_22_43_16_10418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351959753","file1":"1351959749","file0":"1351959746","file4":"1351959777","file5":"1351959798","file3":"1351959771"},"map_files_photo_id_array":[{"photo_id":"1351959798","filename":"file5"},{"photo_id":"1351959753","filename":"file2"},{"photo_id":"1351959777","filename":"file4"},{"photo_id":"1351959749","filename":"file1"},{"photo_id":"1351959746","filename":"file0"},{"photo_id":"1351959771","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351959771":["hashtag1","hashtag2"]},{"1351959753":["hashtag1","hashtag2"]},{"1351959777":["hashtag1","hashtag2"]},{"1351959746":["hashtag1","hashtag2"]},{"1351959749":["hashtag1","hashtag2"]},{"1351959798":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351959771, 1351959753, 1351959777, 1351959746, 1351959749, 1351959798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.907076597213745 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 23:48:33.086264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/22/43/image_11042025_22_43_26_9388.jpg', '/home/pi/Desktop/images/11042025/22/43/image_11042025_22_43_36_10469.jpg', '/home/pi/Desktop/images/11042025/22/43/image_11042025_22_43_46_9357.jpg', '/home/pi/Desktop/images/11042025/22/43/image_11042025_22_44_07_10436.jpg', '/home/pi/Desktop/images/11042025/22/44/image_11042025_22_44_16_9357.jpg', '/home/pi/Desktop/images/11042025/22/44/image_11042025_22_44_26_10448.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/22/43/image_11042025_22_43_26_9388.jpg
/home/pi/Desktop/images/11042025/22/43/image_11042025_22_43_36_10469.jpg
/home/pi/Desktop/images/11042025/22/43/image_11042025_22_43_46_9357.jpg
/home/pi/Desktop/images/11042025/22/43/image_11042025_22_44_07_10436.jpg
/home/pi/Desktop/images/11042025/22/44/image_11042025_22_44_16_9357.jpg
/home/pi/Desktop/images/11042025/22/44/image_11042025_22_44_26_10448.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351960024","1351960129","1351959977","1351960064","1351960100","1351960001"],"photo_ids_order":["1351959977","1351960001","1351960024","1351960064","1351960100","1351960129"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/eaf63010537213ae5435c7c77edb5466.jpg","text":"TemporaryFile(/tmp/multipartBody6471553610622684001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744408173551,"filename":"image_11042025_22_43_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/11/7e8cf0b5ab12e532f13e72c78174cbb2.jpg","text":"TemporaryFile(/tmp/multipartBody7947590795907157778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744408173551,"filename":"image_11042025_22_44_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/11/a4216c32b3911002dadae4afc8b25d20.jpg","text":"TemporaryFile(/tmp/multipartBody8953867096490473265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744408173551,"filename":"image_11042025_22_43_26_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/f0b0557c1ff1f9233dcd2daf51ddd015.jpg","text":"TemporaryFile(/tmp/multipartBody646541784728898668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744408173551,"filename":"image_11042025_22_44_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/11/607454b53d8d732c64697b16e2d78e79.jpg","text":"TemporaryFile(/tmp/multipartBody1702416996013989841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744408173551,"filename":"image_11042025_22_44_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/11/3ac6c9d42bc115c0392981814b0bf735.jpg","text":"TemporaryFile(/tmp/multipartBody4123807756105287657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744408173551,"filename":"image_11042025_22_43_36_10469.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351960024","file1":"1351960001","file0":"1351959977","file4":"1351960100","file5":"1351960129","file3":"1351960064"},"map_files_photo_id_array":[{"photo_id":"1351960129","filename":"file5"},{"photo_id":"1351960024","filename":"file2"},{"photo_id":"1351960100","filename":"file4"},{"photo_id":"1351960001","filename":"file1"},{"photo_id":"1351959977","filename":"file0"},{"photo_id":"1351960064","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351960024":["hashtag1","hashtag2"]},{"1351960129":["hashtag1","hashtag2"]},{"1351959977":["hashtag1","hashtag2"]},{"1351960064":["hashtag1","hashtag2"]},{"1351960100":["hashtag1","hashtag2"]},{"1351960001":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351960024, 1351960129, 1351959977, 1351960064, 1351960100, 1351960001)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.3965048789978 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 23:49:32.425455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/22/44/image_11042025_22_44_36_9357.jpg', '/home/pi/Desktop/images/11042025/22/44/image_11042025_22_44_46_10397.jpg', '/home/pi/Desktop/images/11042025/22/44/image_11042025_22_44_56_10414.jpg', '/home/pi/Desktop/images/11042025/22/44/image_11042025_22_45_06_9340.jpg', '/home/pi/Desktop/images/11042025/22/45/image_11042025_22_45_16_10472.jpg', '/home/pi/Desktop/images/11042025/22/45/image_11042025_22_45_36_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/22/44/image_11042025_22_44_36_9357.jpg
/home/pi/Desktop/images/11042025/22/44/image_11042025_22_44_46_10397.jpg
/home/pi/Desktop/images/11042025/22/44/image_11042025_22_44_56_10414.jpg
/home/pi/Desktop/images/11042025/22/44/image_11042025_22_45_06_9340.jpg
/home/pi/Desktop/images/11042025/22/45/image_11042025_22_45_16_10472.jpg
/home/pi/Desktop/images/11042025/22/45/image_11042025_22_45_36_10369.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351960525","1351960447","1351960363","1351960494","1351960482","1351960347"],"photo_ids_order":["1351960347","1351960363","1351960447","1351960482","1351960494","1351960525"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/e78b30e032c6bcebf143472c741a6009.jpg","text":"TemporaryFile(/tmp/multipartBody3424507603807321321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744408232914,"filename":"image_11042025_22_45_36_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/89540c771ddb3c7bd297263441c11537.jpg","text":"TemporaryFile(/tmp/multipartBody2290060316675355862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744408232914,"filename":"image_11042025_22_44_56_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/5d83f8b4cf56f3f76282f7d3b41dfabd.jpg","text":"TemporaryFile(/tmp/multipartBody4472524000322330587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744408232914,"filename":"image_11042025_22_44_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/11/d2bd480f5d45bd29ddb1436b944ad0b9.jpg","text":"TemporaryFile(/tmp/multipartBody248689220802969730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744408232914,"filename":"image_11042025_22_45_16_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/11/e5ad54f6a8007c23d159a60122218d63.jpg","text":"TemporaryFile(/tmp/multipartBody7848308560251816828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744408232914,"filename":"image_11042025_22_45_06_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/42119370a0d651d534ddfa9eddbc2814.jpg","text":"TemporaryFile(/tmp/multipartBody2003760295704131460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744408232914,"filename":"image_11042025_22_44_36_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351960447","file1":"1351960363","file0":"1351960347","file4":"1351960494","file5":"1351960525","file3":"1351960482"},"map_files_photo_id_array":[{"photo_id":"1351960525","filename":"file5"},{"photo_id":"1351960447","filename":"file2"},{"photo_id":"1351960494","filename":"file4"},{"photo_id":"1351960363","filename":"file1"},{"photo_id":"1351960347","filename":"file0"},{"photo_id":"1351960482","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351960525":["hashtag1","hashtag2"]},{"1351960447":["hashtag1","hashtag2"]},{"1351960363":["hashtag1","hashtag2"]},{"1351960494":["hashtag1","hashtag2"]},{"1351960482":["hashtag1","hashtag2"]},{"1351960347":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351960525, 1351960447, 1351960363, 1351960494, 1351960482, 1351960347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.502156257629395 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 23:50:32.671312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/22/45/image_11042025_22_45_46_10385.jpg', '/home/pi/Desktop/images/11042025/22/45/image_11042025_22_45_56_9356.jpg', '/home/pi/Desktop/images/11042025/22/46/image_11042025_22_46_16_9340.jpg', '/home/pi/Desktop/images/11042025/22/46/image_11042025_22_46_26_10370.jpg', '/home/pi/Desktop/images/11042025/22/46/image_11042025_22_46_36_10482.jpg', '/home/pi/Desktop/images/11042025/22/46/image_11042025_22_46_46_9371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/22/45/image_11042025_22_45_46_10385.jpg
/home/pi/Desktop/images/11042025/22/45/image_11042025_22_45_56_9356.jpg
/home/pi/Desktop/images/11042025/22/46/image_11042025_22_46_16_9340.jpg
/home/pi/Desktop/images/11042025/22/46/image_11042025_22_46_26_10370.jpg
/home/pi/Desktop/images/11042025/22/46/image_11042025_22_46_36_10482.jpg
/home/pi/Desktop/images/11042025/22/46/image_11042025_22_46_46_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":["1351960961","1351960886","1351960832","1351960928","1351960802","1351960792"],"photo_ids_order":["1351960792","1351960802","1351960832","1351960886","1351960928","1351960961"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/ad60ce3cb2578c305eee1cac33863b85.jpg","text":"TemporaryFile(/tmp/multipartBody1594387152907115698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744408293146,"filename":"image_11042025_22_46_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/11/0d4bbbabe6edf3d336739e6d6625da96.jpg","text":"TemporaryFile(/tmp/multipartBody6925515826618920688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744408293146,"filename":"image_11042025_22_46_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/11/e9a928bb1d083bdd237ced11b5364d10.jpg","text":"TemporaryFile(/tmp/multipartBody2086659189529905117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744408293146,"filename":"image_11042025_22_46_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/11/e243a6c52815d3a05eeb8df9e3fdd75d.jpg","text":"TemporaryFile(/tmp/multipartBody3540648567532156746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744408293146,"filename":"image_11042025_22_46_36_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/11/ba23890e4702a37c62c6a60f42dcb8b0.jpg","text":"TemporaryFile(/tmp/multipartBody7563002202058880107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744408293146,"filename":"image_11042025_22_45_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/11/d3457239a8dcaeb6ef39d0cc4c596cbb.jpg","text":"TemporaryFile(/tmp/multipartBody6569224443561631219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744408293146,"filename":"image_11042025_22_45_46_10385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351960832","file1":"1351960802","file0":"1351960792","file4":"1351960928","file5":"1351960961","file3":"1351960886"},"map_files_photo_id_array":[{"photo_id":"1351960961","filename":"file5"},{"photo_id":"1351960832","filename":"file2"},{"photo_id":"1351960928","filename":"file4"},{"photo_id":"1351960802","filename":"file1"},{"photo_id":"1351960792","filename":"file0"},{"photo_id":"1351960886","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351960961":["hashtag1","hashtag2"]},{"1351960886":["hashtag1","hashtag2"]},{"1351960832":["hashtag1","hashtag2"]},{"1351960928":["hashtag1","hashtag2"]},{"1351960802":["hashtag1","hashtag2"]},{"1351960792":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351960961, 1351960886, 1351960832, 1351960928, 1351960802, 1351960792)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.03905701637268 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 23:51:32.836026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/22/46/image_11042025_22_46_56_10524.jpg', '/home/pi/Desktop/images/11042025/22/46/image_11042025_22_47_06_9372.jpg', '/home/pi/Desktop/images/11042025/22/47/image_11042025_22_47_16_10363.jpg', '/home/pi/Desktop/images/11042025/22/47/image_11042025_22_47_26_10374.jpg', '/home/pi/Desktop/images/11042025/22/47/image_11042025_22_47_36_9336.jpg', '/home/pi/Desktop/images/11042025/22/47/image_11042025_22_47_46_10440.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/22/46/image_11042025_22_46_56_10524.jpg
/home/pi/Desktop/images/11042025/22/46/image_11042025_22_47_06_9372.jpg
/home/pi/Desktop/images/11042025/22/47/image_11042025_22_47_16_10363.jpg
/home/pi/Desktop/images/11042025/22/47/image_11042025_22_47_26_10374.jpg
/home/pi/Desktop/images/11042025/22/47/image_11042025_22_47_36_9336.jpg
/home/pi/Desktop/images/11042025/22/47/image_11042025_22_47_46_10440.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351961076","1351961073","1351961087","1351961084","1351961092","1351961080"],"photo_ids_order":["1351961073","1351961076","1351961080","1351961084","1351961087","1351961092"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/fbdbc61e6dde275772254b73d66b135e.jpg","text":"TemporaryFile(/tmp/multipartBody3493900787615576442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744408353300,"filename":"image_11042025_22_47_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/11/8c2c558ecc404a5f86acc39111a2cc5a.jpg","text":"TemporaryFile(/tmp/multipartBody2612752665025726641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744408353300,"filename":"image_11042025_22_46_56_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/11/9d1cbb0eef79d77f5b05dda83a239166.jpg","text":"TemporaryFile(/tmp/multipartBody839690375684098794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744408353300,"filename":"image_11042025_22_47_36_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/48b5291df72ad7472ebdac3038fa9028.jpg","text":"TemporaryFile(/tmp/multipartBody2341423328675151982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744408353300,"filename":"image_11042025_22_47_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/11/107e1a75558aafe42a8bba69c0a59e73.jpg","text":"TemporaryFile(/tmp/multipartBody6546875155649090545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744408353300,"filename":"image_11042025_22_47_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/11/2d71cc3b974f9736183ecd2756edd227.jpg","text":"TemporaryFile(/tmp/multipartBody8990934646611941034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744408353300,"filename":"image_11042025_22_47_16_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351961080","file1":"1351961076","file0":"1351961073","file4":"1351961087","file5":"1351961092","file3":"1351961084"},"map_files_photo_id_array":[{"photo_id":"1351961092","filename":"file5"},{"photo_id":"1351961080","filename":"file2"},{"photo_id":"1351961087","filename":"file4"},{"photo_id":"1351961076","filename":"file1"},{"photo_id":"1351961073","filename":"file0"},{"photo_id":"1351961084","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351961076":["hashtag1","hashtag2"]},{"1351961073":["hashtag1","hashtag2"]},{"1351961087":["hashtag1","hashtag2"]},{"1351961084":["hashtag1","hashtag2"]},{"1351961092":["hashtag1","hashtag2"]},{"1351961080":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351961076, 1351961073, 1351961087, 1351961084, 1351961092, 1351961080)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.60669255256653 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 23:52:32.996610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/22/47/image_11042025_22_47_56_9384.jpg', '/home/pi/Desktop/images/11042025/22/47/image_11042025_22_48_06_10352.jpg', '/home/pi/Desktop/images/11042025/22/48/image_11042025_22_48_26_9359.jpg', '/home/pi/Desktop/images/11042025/22/48/image_11042025_22_48_36_10507.jpg', '/home/pi/Desktop/images/11042025/22/48/image_11042025_22_48_46_9437.jpg', '/home/pi/Desktop/images/11042025/22/48/image_11042025_22_48_56_10406.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/22/47/image_11042025_22_47_56_9384.jpg
/home/pi/Desktop/images/11042025/22/47/image_11042025_22_48_06_10352.jpg
/home/pi/Desktop/images/11042025/22/48/image_11042025_22_48_26_9359.jpg
/home/pi/Desktop/images/11042025/22/48/image_11042025_22_48_36_10507.jpg
/home/pi/Desktop/images/11042025/22/48/image_11042025_22_48_46_9437.jpg
/home/pi/Desktop/images/11042025/22/48/image_11042025_22_48_56_10406.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3858046531677246 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.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-11 23:52:42.982020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/22/47/image_11042025_22_47_56_9384.jpg', '/home/pi/Desktop/images/11042025/22/47/image_11042025_22_48_06_10352.jpg', '/home/pi/Desktop/images/11042025/22/48/image_11042025_22_48_26_9359.jpg', '/home/pi/Desktop/images/11042025/22/48/image_11042025_22_48_36_10507.jpg', '/home/pi/Desktop/images/11042025/22/48/image_11042025_22_48_46_9437.jpg', '/home/pi/Desktop/images/11042025/22/48/image_11042025_22_48_56_10406.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/22/47/image_11042025_22_47_56_9384.jpg
/home/pi/Desktop/images/11042025/22/47/image_11042025_22_48_06_10352.jpg
/home/pi/Desktop/images/11042025/22/48/image_11042025_22_48_26_9359.jpg
/home/pi/Desktop/images/11042025/22/48/image_11042025_22_48_36_10507.jpg
/home/pi/Desktop/images/11042025/22/48/image_11042025_22_48_46_9437.jpg
/home/pi/Desktop/images/11042025/22/48/image_11042025_22_48_56_10406.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351961119","1351961139","1351961136","1351961132","1351961126","1351961114"],"photo_ids_order":["1351961114","1351961119","1351961126","1351961132","1351961136","1351961139"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/3ba6e6f9b9c79543e7c1f8ac5286a048.jpg","text":"TemporaryFile(/tmp/multipartBody995355807434201491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744408423476,"filename":"image_11042025_22_48_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/11/e306bdbfc9c7ec75678d820dc4f08656.jpg","text":"TemporaryFile(/tmp/multipartBody5381229389572156963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744408423476,"filename":"image_11042025_22_48_56_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/4980298c852384de52c91ac469573a8c.jpg","text":"TemporaryFile(/tmp/multipartBody4643124784722159094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744408423476,"filename":"image_11042025_22_48_46_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/dbc9971decc426af91acc460b4024265.jpg","text":"TemporaryFile(/tmp/multipartBody2131067878765822965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744408423476,"filename":"image_11042025_22_48_36_10507.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/fe1f7117be0d01862d2027d33fa9bc03.jpg","text":"TemporaryFile(/tmp/multipartBody2407636153650196190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744408423476,"filename":"image_11042025_22_48_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/11/e593025e393646f28a39fb63d7220add.jpg","text":"TemporaryFile(/tmp/multipartBody6708208722332431267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744408423476,"filename":"image_11042025_22_47_56_9384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351961126","file1":"1351961119","file0":"1351961114","file4":"1351961136","file5":"1351961139","file3":"1351961132"},"map_files_photo_id_array":[{"photo_id":"1351961139","filename":"file5"},{"photo_id":"1351961126","filename":"file2"},{"photo_id":"1351961136","filename":"file4"},{"photo_id":"1351961119","filename":"file1"},{"photo_id":"1351961114","filename":"file0"},{"photo_id":"1351961132","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351961119":["hashtag1","hashtag2"]},{"1351961139":["hashtag1","hashtag2"]},{"1351961136":["hashtag1","hashtag2"]},{"1351961132":["hashtag1","hashtag2"]},{"1351961126":["hashtag1","hashtag2"]},{"1351961114":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351961119, 1351961139, 1351961136, 1351961132, 1351961126, 1351961114)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.69425702095032 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 23:53:32.291640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/22/48/image_11042025_22_49_06_10434.jpg', '/home/pi/Desktop/images/11042025/22/49/image_11042025_22_49_16_9360.jpg', '/home/pi/Desktop/images/11042025/22/49/image_11042025_22_49_26_10498.jpg', '/home/pi/Desktop/images/11042025/22/49/image_11042025_22_49_36_9347.jpg', '/home/pi/Desktop/images/11042025/22/49/image_11042025_22_49_46_10374.jpg', '/home/pi/Desktop/images/11042025/22/49/image_11042025_22_49_56_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/22/48/image_11042025_22_49_06_10434.jpg
/home/pi/Desktop/images/11042025/22/49/image_11042025_22_49_16_9360.jpg
/home/pi/Desktop/images/11042025/22/49/image_11042025_22_49_26_10498.jpg
/home/pi/Desktop/images/11042025/22/49/image_11042025_22_49_36_9347.jpg
/home/pi/Desktop/images/11042025/22/49/image_11042025_22_49_46_10374.jpg
/home/pi/Desktop/images/11042025/22/49/image_11042025_22_49_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":["1351961203","1351961193","1351961196","1351961189","1351961201","1351961185"],"photo_ids_order":["1351961185","1351961189","1351961193","1351961196","1351961201","1351961203"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/321478d79d04bb08b6b4728d07e55e81.jpg","text":"TemporaryFile(/tmp/multipartBody3838885558152927824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744408472759,"filename":"image_11042025_22_49_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/11/76953d5856fabf58280b756ee0e7f608.jpg","text":"TemporaryFile(/tmp/multipartBody6698043276608535258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744408472759,"filename":"image_11042025_22_49_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/11/32fbc74c49a1c93e757fcab1f06e1af8.jpg","text":"TemporaryFile(/tmp/multipartBody1374830241826166605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744408472759,"filename":"image_11042025_22_49_36_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/d8cb667b015f7aa513cb3f87c1856a87.jpg","text":"TemporaryFile(/tmp/multipartBody3650865647789939259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744408472759,"filename":"image_11042025_22_49_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/11/c349116f4695193a61772f8c955138bc.jpg","text":"TemporaryFile(/tmp/multipartBody4006200677135509649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744408472759,"filename":"image_11042025_22_49_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/11/d8684c554996137f1e49f14e9b91422f.jpg","text":"TemporaryFile(/tmp/multipartBody75805719368249960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744408472759,"filename":"image_11042025_22_49_06_10434.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351961193","file1":"1351961189","file0":"1351961185","file4":"1351961201","file5":"1351961203","file3":"1351961196"},"map_files_photo_id_array":[{"photo_id":"1351961203","filename":"file5"},{"photo_id":"1351961193","filename":"file2"},{"photo_id":"1351961201","filename":"file4"},{"photo_id":"1351961189","filename":"file1"},{"photo_id":"1351961185","filename":"file0"},{"photo_id":"1351961196","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351961203":["hashtag1","hashtag2"]},{"1351961193":["hashtag1","hashtag2"]},{"1351961196":["hashtag1","hashtag2"]},{"1351961189":["hashtag1","hashtag2"]},{"1351961201":["hashtag1","hashtag2"]},{"1351961185":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351961203, 1351961193, 1351961196, 1351961189, 1351961201, 1351961185)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.764649391174316 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 23:54:32.414561
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/22/49/image_11042025_22_50_06_9340.jpg', '/home/pi/Desktop/images/11042025/22/50/image_11042025_22_50_16_10347.jpg', '/home/pi/Desktop/images/11042025/22/50/image_11042025_22_50_26_10431.jpg', '/home/pi/Desktop/images/11042025/22/50/image_11042025_22_50_36_9354.jpg', '/home/pi/Desktop/images/11042025/22/50/image_11042025_22_50_46_10388.jpg', '/home/pi/Desktop/images/11042025/22/50/image_11042025_22_50_56_9435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/22/49/image_11042025_22_50_06_9340.jpg
/home/pi/Desktop/images/11042025/22/50/image_11042025_22_50_16_10347.jpg
/home/pi/Desktop/images/11042025/22/50/image_11042025_22_50_26_10431.jpg
/home/pi/Desktop/images/11042025/22/50/image_11042025_22_50_36_9354.jpg
/home/pi/Desktop/images/11042025/22/50/image_11042025_22_50_46_10388.jpg
/home/pi/Desktop/images/11042025/22/50/image_11042025_22_50_56_9435.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351961241","1351961238","1351961232","1351961237","1351961225","1351961228"],"photo_ids_order":["1351961225","1351961228","1351961232","1351961237","1351961238","1351961241"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/9393fc643042ce778e5c9c1f37677be1.jpg","text":"TemporaryFile(/tmp/multipartBody2063649315846403300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744408532879,"filename":"image_11042025_22_50_56_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/29d23e45ec7cb9e6232da04dd591ac6f.jpg","text":"TemporaryFile(/tmp/multipartBody6291962389856693294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744408532879,"filename":"image_11042025_22_50_46_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/71207cf43b3b34fca6903cd29f2ed18c.jpg","text":"TemporaryFile(/tmp/multipartBody771659950170729309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744408532879,"filename":"image_11042025_22_50_26_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/54546cadabbb8ebf4e0b7ea6d2b6d13d.jpg","text":"TemporaryFile(/tmp/multipartBody2605910556512851802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744408532879,"filename":"image_11042025_22_50_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/11/985ccc047356427cf18822f01be530f6.jpg","text":"TemporaryFile(/tmp/multipartBody4097829516058556193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744408532879,"filename":"image_11042025_22_50_06_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/cde3b9fc59e1a0a2a85f4b4efa2969be.jpg","text":"TemporaryFile(/tmp/multipartBody5518022667155832775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744408532879,"filename":"image_11042025_22_50_16_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351961232","file1":"1351961228","file0":"1351961225","file4":"1351961238","file5":"1351961241","file3":"1351961237"},"map_files_photo_id_array":[{"photo_id":"1351961241","filename":"file5"},{"photo_id":"1351961232","filename":"file2"},{"photo_id":"1351961238","filename":"file4"},{"photo_id":"1351961228","filename":"file1"},{"photo_id":"1351961225","filename":"file0"},{"photo_id":"1351961237","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351961241":["hashtag1","hashtag2"]},{"1351961238":["hashtag1","hashtag2"]},{"1351961232":["hashtag1","hashtag2"]},{"1351961237":["hashtag1","hashtag2"]},{"1351961225":["hashtag1","hashtag2"]},{"1351961228":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351961241, 1351961238, 1351961232, 1351961237, 1351961225, 1351961228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.27340602874756 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 23:55:32.592395
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/22/50/image_11042025_22_51_06_10366.jpg', '/home/pi/Desktop/images/11042025/22/51/image_11042025_22_51_16_10370.jpg', '/home/pi/Desktop/images/11042025/22/51/image_11042025_22_51_26_9367.jpg', '/home/pi/Desktop/images/11042025/22/51/image_11042025_22_51_36_10426.jpg', '/home/pi/Desktop/images/11042025/22/51/image_11042025_22_51_46_9397.jpg', '/home/pi/Desktop/images/11042025/22/51/image_11042025_22_51_56_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/22/50/image_11042025_22_51_06_10366.jpg
/home/pi/Desktop/images/11042025/22/51/image_11042025_22_51_16_10370.jpg
/home/pi/Desktop/images/11042025/22/51/image_11042025_22_51_26_9367.jpg
/home/pi/Desktop/images/11042025/22/51/image_11042025_22_51_36_10426.jpg
/home/pi/Desktop/images/11042025/22/51/image_11042025_22_51_46_9397.jpg
/home/pi/Desktop/images/11042025/22/51/image_11042025_22_51_56_10368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1351961355","1351961349","1351961345","1351961357","1351961359","1351961353"],"photo_ids_order":["1351961345","1351961349","1351961353","1351961355","1351961357","1351961359"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/25edaa87191271025f113aef99136d4c.jpg","text":"TemporaryFile(/tmp/multipartBody851726999114987900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744408593057,"filename":"image_11042025_22_51_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/11/c6687db1afd4d1cea3b9b6c71edc3898.jpg","text":"TemporaryFile(/tmp/multipartBody4713658435953788983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744408593057,"filename":"image_11042025_22_51_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/11/4f5f692b7feec8c1b0b42254b074f777.jpg","text":"TemporaryFile(/tmp/multipartBody589472529760021485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744408593057,"filename":"image_11042025_22_51_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/11/8d9b633c8612323ffb7af35998d1647a.jpg","text":"TemporaryFile(/tmp/multipartBody8662135778248703037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744408593057,"filename":"image_11042025_22_51_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/11/51b51ad69b998090d38171b72cf73010.jpg","text":"TemporaryFile(/tmp/multipartBody5304593877918958466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744408593057,"filename":"image_11042025_22_51_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/11/82e761f071a327a5a5fb7f515fd45f0f.jpg","text":"TemporaryFile(/tmp/multipartBody4894595733078806855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744408593057,"filename":"image_11042025_22_51_26_9367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351961353","file1":"1351961349","file0":"1351961345","file4":"1351961357","file5":"1351961359","file3":"1351961355"},"map_files_photo_id_array":[{"photo_id":"1351961359","filename":"file5"},{"photo_id":"1351961353","filename":"file2"},{"photo_id":"1351961357","filename":"file4"},{"photo_id":"1351961349","filename":"file1"},{"photo_id":"1351961345","filename":"file0"},{"photo_id":"1351961355","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351961355":["hashtag1","hashtag2"]},{"1351961349":["hashtag1","hashtag2"]},{"1351961345":["hashtag1","hashtag2"]},{"1351961357":["hashtag1","hashtag2"]},{"1351961359":["hashtag1","hashtag2"]},{"1351961353":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351961355, 1351961349, 1351961345, 1351961357, 1351961359, 1351961353)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.29455828666687 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 23:56:32.883895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/22/51/image_11042025_22_52_06_10345.jpg', '/home/pi/Desktop/images/11042025/22/52/image_11042025_22_52_16_9355.jpg', '/home/pi/Desktop/images/11042025/22/52/image_11042025_22_52_26_10350.jpg', '/home/pi/Desktop/images/11042025/22/52/image_11042025_22_52_36_10370.jpg', '/home/pi/Desktop/images/11042025/22/52/image_11042025_22_52_46_9363.jpg', '/home/pi/Desktop/images/11042025/22/52/image_11042025_22_52_56_10442.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/22/51/image_11042025_22_52_06_10345.jpg
/home/pi/Desktop/images/11042025/22/52/image_11042025_22_52_16_9355.jpg
/home/pi/Desktop/images/11042025/22/52/image_11042025_22_52_26_10350.jpg
/home/pi/Desktop/images/11042025/22/52/image_11042025_22_52_36_10370.jpg
/home/pi/Desktop/images/11042025/22/52/image_11042025_22_52_46_9363.jpg
/home/pi/Desktop/images/11042025/22/52/image_11042025_22_52_56_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":["1351961388","1351961403","1351961406","1351961396","1351961400","1351961377"],"photo_ids_order":["1351961377","1351961388","1351961396","1351961400","1351961403","1351961406"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/7162ae7fb6b0ecd13344418001630119.jpg","text":"TemporaryFile(/tmp/multipartBody3243999242319469752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744408653348,"filename":"image_11042025_22_52_16_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/11/13c19d6ec85119fcf10d605cda13a371.jpg","text":"TemporaryFile(/tmp/multipartBody3891147413782585947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744408653348,"filename":"image_11042025_22_52_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/11/18cfa95ebd59c47236d638844920f4e6.jpg","text":"TemporaryFile(/tmp/multipartBody6055454665813122420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744408653348,"filename":"image_11042025_22_52_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/11/662278401987a05bdee404015467ddf9.jpg","text":"TemporaryFile(/tmp/multipartBody2818098360836580094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744408653348,"filename":"image_11042025_22_52_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/11/84ced5bf4902a2a1cc9148facf4eaea2.jpg","text":"TemporaryFile(/tmp/multipartBody8743363461820986553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744408653348,"filename":"image_11042025_22_52_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/11/f2db2492d5256dc5ec7a06c05768875d.jpg","text":"TemporaryFile(/tmp/multipartBody5955970194865240893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1744408653348,"filename":"image_11042025_22_52_06_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1351961396","file1":"1351961388","file0":"1351961377","file4":"1351961403","file5":"1351961406","file3":"1351961400"},"map_files_photo_id_array":[{"photo_id":"1351961406","filename":"file5"},{"photo_id":"1351961396","filename":"file2"},{"photo_id":"1351961403","filename":"file4"},{"photo_id":"1351961388","filename":"file1"},{"photo_id":"1351961377","filename":"file0"},{"photo_id":"1351961400","filename":"file3"}],"portfolio_id":22249849,"hashtag_by_photo_ids":[{"1351961388":["hashtag1","hashtag2"]},{"1351961403":["hashtag1","hashtag2"]},{"1351961406":["hashtag1","hashtag2"]},{"1351961396":["hashtag1","hashtag2"]},{"1351961400":["hashtag1","hashtag2"]},{"1351961377":["hashtag1","hashtag2"]}],"comms":"Portfolio 22249849 used, photo_id : ArrayBuffer(1351961388, 1351961403, 1351961406, 1351961396, 1351961400, 1351961377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.04735827445984 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-04-11 23:57:33.040408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local ASC LIMIT 6;
  port_id : 22249849
  datou_current_id : 2741936
in upload_from_sqlite, uploading in 22249849
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11042025/22/52/image_11042025_22_53_06_9372.jpg', '/home/pi/Desktop/images/11042025/22/53/image_11042025_22_53_16_10399.jpg', '/home/pi/Desktop/images/11042025/22/53/image_11042025_22_53_26_10469.jpg', '/home/pi/Desktop/images/11042025/22/53/image_11042025_22_53_36_9391.jpg', '/home/pi/Desktop/images/11042025/22/53/image_11042025_22_53_46_10434.jpg', '/home/pi/Desktop/images/11042025/22/53/image_11042025_22_53_56_9365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2741936&datou=0
/home/pi/Desktop/images/11042025/22/52/image_11042025_22_53_06_9372.jpg
/home/pi/Desktop/images/11042025/22/53/image_11042025_22_53_16_10399.jpg
/home/pi/Desktop/images/11042025/22/53/image_11042025_22_53_26_10469.jpg
/home/pi/Desktop/images/11042025/22/53/image_11042025_22_53_36_9391.jpg
/home/pi/Desktop/images/11042025/22/53/image_11042025_22_53_46_10434.jpg
/home/pi/Desktop/images/11042025/22/53/image_11042025_22_53_56_9365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
